@sapui5/sap.ushell 1.127.1 → 1.128.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 (370) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +3 -3
  3. package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/guiResolution.js +4 -4
  4. package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/ui5Resolution.js +1 -1
  5. package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/urlResolution.js +2 -2
  6. package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/urlTemplateResolution.js +11 -7
  7. package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/utils.js +1 -1
  8. package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/wcfResolution.js +2 -2
  9. package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/wdaResolution.js +2 -2
  10. package/src/main/js/sap/ushell/ApplicationType.js +8 -8
  11. package/src/main/js/sap/ushell/Config.js +1 -1
  12. package/src/main/js/sap/ushell/Container.js +14 -6
  13. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  14. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  15. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  16. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  17. package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/DefinitionParameterSetBuilder.js +4 -4
  18. package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/DependencyGraph.js +1 -1
  19. package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/Functions.js +2 -2
  20. package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/Resolvers.js +3 -3
  21. package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/TemplateParameterParser.js +2 -2
  22. package/src/main/js/sap/ushell/{_URLTemplateProcessor → URLTemplateProcessor}/utils.js +1 -1
  23. package/src/main/js/sap/ushell/URLTemplateProcessor.js +6 -6
  24. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  25. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +60 -61
  30. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +2 -2
  53. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +4 -8
  59. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +2 -2
  63. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  69. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  70. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  71. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  72. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  73. package/src/main/js/sap/ushell/api/Inbox.js +222 -0
  74. package/src/main/js/sap/ushell/api/workpage/Runtime.js +1 -1
  75. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +32 -27
  76. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +15 -0
  77. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +7 -3
  78. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +1 -1
  79. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +19 -12
  80. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  81. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  98. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  103. package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/EventProcessor.js +1 -1
  104. package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/FLPScheduler.js +3 -3
  105. package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/logger.js +2 -2
  106. package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/state.js +3 -3
  107. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +5 -5
  108. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  109. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandbox.js +433 -0
  110. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxBoot.json +4 -0
  111. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxBootTask.js +16 -0
  112. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +35 -430
  113. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  114. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +62 -10
  115. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +1 -1
  116. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  117. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +2 -2
  118. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +1 -1
  119. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  120. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.css +2 -2
  121. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +4 -4
  122. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +32 -3
  123. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +1 -1
  124. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +193 -0
  125. package/src/main/js/sap/ushell/components/contentFinder/Component.js +71 -18
  126. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +62 -18
  127. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  128. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +1 -1
  129. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  130. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +9 -1
  131. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -1
  132. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +9 -9
  133. package/src/main/js/sap/ushell/components/contentFinder/view/{AppSearchCategoryTree.view.xml → AppSearchCategoryTree.fragment.xml} +12 -12
  134. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
  135. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +66 -4
  136. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +8 -1
  137. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifestAppSearch.json +1 -1
  138. package/src/main/js/sap/ushell/components/contentFinderStandalone/resources/resources.properties +9 -0
  139. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  140. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +4 -1
  141. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +4 -1
  142. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -1
  143. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  144. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  145. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  146. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  147. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  148. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  149. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  150. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  151. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +2 -3
  152. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  153. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +2 -3
  154. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  155. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  156. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
  157. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  158. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  159. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  160. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  161. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  162. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  163. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  164. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  165. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  166. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  167. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +1 -1
  168. package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +1 -1
  169. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +26 -38
  170. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  171. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  172. package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +5 -6
  173. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +7 -7
  174. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +1 -1
  175. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +4 -7
  176. package/src/main/js/sap/ushell/components/tiles/utils.js +1 -1
  177. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  178. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  179. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  180. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
  181. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  182. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  183. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  184. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  185. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  186. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  187. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  188. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  189. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +3 -4
  190. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  191. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  192. package/src/main/js/sap/ushell/iconfonts.js +776 -363
  193. package/src/main/js/sap/ushell/library.js +1 -1
  194. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  195. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  196. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  197. package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +28 -39
  198. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  199. package/src/main/js/sap/ushell/plugins/rta/Component.js +45 -60
  200. package/src/main/js/sap/ushell/renderer/History.js +1 -11
  201. package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +0 -8
  202. package/src/main/js/sap/ushell/renderer/Renderer.js +9 -6
  203. package/src/main/js/sap/ushell/renderer/Shell.controller.js +19 -2
  204. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +4 -2
  205. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +0 -8
  206. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  207. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +1 -1
  208. package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +4 -0
  209. package/src/main/js/sap/ushell/services/AppLifeCycle.js +1 -1
  210. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  211. package/src/main/js/sap/ushell/services/AppType.js +5 -0
  212. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  213. package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
  214. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/Formatter.js +1 -1
  215. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/InboundIndex.js +1 -1
  216. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/InboundProvider.js +3 -3
  217. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/PrelaunchOperations.js +1 -1
  218. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/Search.js +4 -4
  219. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/StagedLogger.js +1 -1
  220. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/SystemContext.js +1 -1
  221. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/Utils.js +1 -1
  222. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/VirtualInbounds.js +1 -1
  223. package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/XAppStateProcessing.js +2 -2
  224. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +12 -12
  225. package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/SiteConverter.js +1 -1
  226. package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/vizTypeDefaults/VizTypeDefaults.js +2 -2
  227. package/src/main/js/sap/ushell/services/CommonDataModel.js +4 -4
  228. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  229. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  230. package/src/main/js/sap/ushell/services/Container.js +4 -0
  231. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +2 -1
  232. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +4 -4
  233. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -3
  234. package/src/main/js/sap/ushell/services/EndUserFeedback.js +1 -0
  235. package/src/main/js/sap/ushell/services/Extension/Item.js +22 -3
  236. package/src/main/js/sap/ushell/services/Extension.js +9 -4
  237. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
  238. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
  239. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
  240. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +23 -4
  241. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +5 -2
  242. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +5 -2
  243. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +11 -5
  244. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  245. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  246. package/src/main/js/sap/ushell/services/Message.js +1 -1
  247. package/src/main/js/sap/ushell/services/{_MessageBroker → MessageBroker}/MessageBrokerEngine.js +1 -1
  248. package/src/main/js/sap/ushell/services/MessageBroker.js +2 -2
  249. package/src/main/js/sap/ushell/services/MessageInternal.js +2 -6
  250. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
  251. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  252. package/src/main/js/sap/ushell/services/Navigation.js +4 -143
  253. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  254. package/src/main/js/sap/ushell/services/NotificationsV2.js +3 -1
  255. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  256. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  257. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  258. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  259. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  260. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  261. package/src/main/js/sap/ushell/services/{_PluginManager → PluginManager}/Extensions.js +5 -5
  262. package/src/main/js/sap/ushell/services/{_PluginManager → PluginManager}/HeaderExtensions.js +1 -1
  263. package/src/main/js/sap/ushell/services/{_PluginManager → PluginManager}/MenuExtensions.js +1 -1
  264. package/src/main/js/sap/ushell/services/PluginManager.js +2 -2
  265. package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -3
  266. package/src/main/js/sap/ushell/services/Search.js +1 -1
  267. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  268. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  269. package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
  270. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +7 -101
  271. package/src/main/js/sap/ushell/services/SmartNavigation.js +3 -1
  272. package/src/main/js/sap/ushell/services/SpaceContent.js +2 -6
  273. package/src/main/js/sap/ushell/services/UITracer.js +1 -1
  274. package/src/main/js/sap/ushell/services/URLParsing.js +4 -3
  275. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  276. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  277. package/src/main/js/sap/ushell/services/{_Ui5ComponentLoader → Ui5ComponentLoader}/utils.js +1 -1
  278. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +2 -2
  279. package/src/main/js/sap/ushell/services/UsageAnalytics.js +1 -0
  280. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +55 -99
  281. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +82 -119
  282. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  283. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  284. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  285. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  286. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  287. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  288. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  289. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  290. package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +1 -0
  291. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +1 -0
  292. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +1 -0
  293. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +1 -0
  294. package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +1 -0
  295. package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +1 -0
  296. package/src/main/js/sap/ushell/services/_Personalization/Variant.js +1 -0
  297. package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +1 -0
  298. package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +5 -0
  299. package/src/main/js/sap/ushell/state/ControlManager.js +38 -3
  300. package/src/main/js/sap/ushell/state/StateManager.js +43 -1
  301. package/src/main/js/sap/ushell/state/StateRules.js +0 -20
  302. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  303. package/src/main/js/sap/ushell/themes/base/IconFonts.less +23 -15
  304. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +333 -331
  305. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  306. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  307. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  308. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  309. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  310. package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.woff +0 -0
  311. package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.woff2 +0 -0
  312. package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +0 -13
  313. package/src/main/js/sap/ushell/themes/sap_belize_base/IconFonts.less +23 -15
  314. package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +0 -13
  315. package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +0 -13
  316. package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +0 -14
  317. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/IconFonts.less +23 -15
  318. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +0 -12
  319. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +0 -12
  320. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -13
  321. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -13
  322. package/src/main/js/sap/ushell/themes/sap_hcb/base_IconFonts.less +23 -15
  323. package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +0 -12
  324. package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +0 -12
  325. package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +0 -12
  326. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +1 -13
  327. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +1 -13
  328. package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +4 -1
  329. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  330. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  331. package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +2 -1
  332. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  333. package/src/main/js/sap/ushell/ui/launchpad/TileState.js +2 -1
  334. package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +4 -0
  335. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  336. package/src/main/js/sap/ushell/ui/shell/ShellFloatingActions.js +7 -1
  337. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  338. package/src/main/js/sap/ushell/ui/tile/StaticTile.js +1 -1
  339. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  340. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  341. package/src/main/js/sap/ushell/ui5service/UserStatus.js +2 -1
  342. package/src/main/js/sap/ushell/utils/UrlParsing.js +127 -5
  343. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  344. package/src/main/js/sap/ushell/utils/WindowUtils.js +3 -3
  345. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  346. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +47 -8
  347. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +2 -2
  348. package/src/main/js/sap/ushell/utils.js +4 -2
  349. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  350. package/ui5.yaml +13 -6
  351. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTileTmp.view.js +0 -58
  352. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTileTmp.view.js +0 -104
  353. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
  354. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  355. package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.eot +0 -0
  356. package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.ttf +0 -0
  357. package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.woff +0 -0
  358. package/src/main/js/sap/ushell/themes/base/fonts/SAP-icons.woff2 +0 -0
  359. package/src/main/js/sap/ushell/themes/base/fonts/SmileIconFont.ttf +0 -0
  360. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
  361. package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.eot +0 -0
  362. package/src/main/js/sap/ushell/themes/base/fonts/sap-fiori-inapp-icons.ttf +0 -0
  363. /package/src/main/js/sap/ushell/{_ApplicationType → ApplicationType}/systemAlias.js +0 -0
  364. /package/src/main/js/sap/ushell/{_Config → Config}/utils.js +0 -0
  365. /package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/FLPLoader.js +0 -0
  366. /package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/LoadingConfiguration.json +0 -0
  367. /package/src/main/js/sap/ushell/bootstrap/{_SchedulingAgent → SchedulingAgent}/StepConfiguration.json +0 -0
  368. /package/src/main/js/sap/ushell/services/{_ClientSideTargetResolution → ClientSideTargetResolution}/ParameterMapping.js +0 -0
  369. /package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/PersonalizationProcessor.js +0 -0
  370. /package/src/main/js/sap/ushell/services/{_CommonDataModel → CommonDataModel}/vizTypeDefaults/cardManifest.json +0 -0
@@ -4,7 +4,7 @@
4
4
  * @fileOverview The Unified Shell's UI5 component loader service.
5
5
  * This is a shell-internal service and no public or application facing API!
6
6
  *
7
- * @version 1.127.1
7
+ * @version 1.128.0
8
8
  */
9
9
  sap.ui.define([
10
10
  "sap/base/Log",
@@ -12,7 +12,7 @@ sap.ui.define([
12
12
  "sap/ushell/Config",
13
13
  "sap/ushell/utils",
14
14
  "sap/ushell/services/Ui5ComponentHandle",
15
- "sap/ushell/services/_Ui5ComponentLoader/utils",
15
+ "sap/ushell/services/Ui5ComponentLoader/utils",
16
16
  "sap/ushell/EventHub",
17
17
  "sap/ui/thirdparty/jquery",
18
18
  "sap/ui/thirdparty/URI"
@@ -1,6 +1,7 @@
1
1
  // Copyright (c) 2009-2023 SAP SE, All Rights Reserved
2
2
 
3
3
  /**
4
+ * @fileoverview The UsageAnalytics service.
4
5
  * @deprecated since 1.120.0. The corresponding cloud service "SAP Web Analytics" has been retired,
5
6
  * therefore this client-side service API cannot be used any longer.
6
7
  */
@@ -14,20 +14,18 @@
14
14
  *
15
15
  * This is *not* an application facing service, but for Shell Internal usage.
16
16
  *
17
- * @version 1.127.1
17
+ * @version 1.128.0
18
18
  */
19
19
  sap.ui.define([
20
20
  "sap/base/Log",
21
21
  "sap/base/util/deepExtend",
22
22
  "sap/base/util/ObjectPath",
23
- "sap/ui/thirdparty/jquery",
24
23
  "sap/ushell/Container",
25
24
  "sap/ushell/utils"
26
25
  ], function (
27
26
  Log,
28
27
  deepExtend,
29
28
  ObjectPath,
30
- jQuery,
31
29
  Container,
32
30
  ushellUtils
33
31
  ) {
@@ -84,21 +82,17 @@ sap.ui.define([
84
82
 
85
83
  /**
86
84
  * Returns a systemContext and defaults to the default systemContext
87
- * @param {object} [oSystemContext] The systemContext or undefined
88
85
  * @returns {Promise<object>} A promise resolving to a systemContext
89
86
  *
90
87
  * @since 1.81.0
91
88
  * @private
92
89
  */
93
- UserDefaultParameterPersistence.prototype._getSystemContextPromise = async function (oSystemContext) {
94
- if (!oSystemContext) {
95
- Log.warning("UserDefaultParameterPersistence: The systemContext was not provided, using defaultSystemContext as fallback");
90
+ UserDefaultParameterPersistence.prototype._getSystemContextFallback = async function () {
91
+ Log.warning("UserDefaultParameterPersistence: The systemContext was not provided, using defaultSystemContext as fallback");
96
92
 
97
- const ClientSideTargetResolution = await Container.getServiceAsync("ClientSideTargetResolution");
93
+ const ClientSideTargetResolution = await Container.getServiceAsync("ClientSideTargetResolution");
98
94
 
99
- return ClientSideTargetResolution.getSystemContext();
100
- }
101
- return Promise.resolve(oSystemContext);
95
+ return ClientSideTargetResolution.getSystemContext();
102
96
  };
103
97
 
104
98
  /**
@@ -107,41 +101,31 @@ sap.ui.define([
107
101
  *
108
102
  * @param {string} sParameterName parameter name to be loaded
109
103
  * @param {object} [oSystemContext] the used system context
110
- * @returns {jQuery.Promise} Resolves a rich parameter object containing a value,
104
+ * @returns {Promise<object>} Resolves a rich parameter object containing a value,
111
105
  * e.g. <code>{ value : "value" }</code>. Its fail handler receives a message string as first argument.
112
106
  *
113
107
  * @since 1.32.0
114
108
  * @private
115
109
  */
116
- UserDefaultParameterPersistence.prototype.loadParameterValue = function (sParameterName, oSystemContext) {
117
- const oDeferred = new jQuery.Deferred();
118
-
119
- this._getSystemContextPromise(oSystemContext)
120
- .then(async (oSystemContext) => {
121
- const sValue = ObjectPath.get([oSystemContext.id, sParameterName], this._oData);
110
+ UserDefaultParameterPersistence.prototype.loadParameterValue = async function (sParameterName, oSystemContext) {
111
+ if (!oSystemContext) {
112
+ oSystemContext = await this._getSystemContextFallback();
113
+ }
122
114
 
123
- if (sValue !== undefined) {
124
- return sValue;
125
- }
115
+ const sValue = ObjectPath.get([oSystemContext.id, sParameterName], this._oData);
126
116
 
127
- return ushellUtils.promisify(this._oAdapter.loadParameterValue(sParameterName, oSystemContext)).then((oValue) => {
128
- const oCleansedValue = this._cleanseValue(oValue);
117
+ if (sValue !== undefined) {
118
+ return sValue;
119
+ }
129
120
 
130
- ObjectPath.set([oSystemContext.id, sParameterName], oCleansedValue, this._oData);
121
+ const oValue = await ushellUtils.promisify(this._oAdapter.loadParameterValue(sParameterName, oSystemContext));
122
+ const oCleansedValue = this._cleanseValue(oValue);
131
123
 
132
- Log.debug(`[UserDefaults] Fetched "${ sParameterName }" for SystemContext=${ oSystemContext.id } from Persistence`, JSON.stringify(oCleansedValue, null, 2));
124
+ ObjectPath.set([oSystemContext.id, sParameterName], oCleansedValue, this._oData);
133
125
 
134
- return oCleansedValue;
135
- });
136
- })
137
- .then((oValue) => {
138
- oDeferred.resolve(oValue);
139
- })
140
- .catch((sError) => {
141
- oDeferred.reject(sError);
142
- });
126
+ Log.debug(`[UserDefaults] Fetched "${ sParameterName }" for SystemContext=${ oSystemContext.id } from Persistence`, JSON.stringify(oCleansedValue, null, 2));
143
127
 
144
- return oDeferred.promise();
128
+ return oCleansedValue;
145
129
  };
146
130
 
147
131
  /**
@@ -151,42 +135,32 @@ sap.ui.define([
151
135
  * @param {string} sParameterName Parameter name
152
136
  * @param {object} oValueObject Parameter value object, contains at least <code>{ value :... }</code>
153
137
  * @param {object} [oSystemContext] The used system context
154
- * @returns {jQuery.Promise} Resolves once the parameter was saved or rejects with an error message.
138
+ * @returns {Promise} Resolves once the parameter was saved or rejects with an error message.
155
139
  *
156
140
  * @since 1.32.0
157
141
  * @public
158
142
  */
159
- UserDefaultParameterPersistence.prototype.saveParameterValue = function (sParameterName, oValueObject, oSystemContext) {
160
- const oDeferred = new jQuery.Deferred();
161
- let oCleansedValueObject;
162
-
163
- this._getSystemContextPromise(oSystemContext)
164
- .then((oSystemContext) => {
165
- if (!oValueObject) {
166
- return ushellUtils.promisify(this.deleteParameter(sParameterName, oSystemContext));
167
- }
143
+ UserDefaultParameterPersistence.prototype.saveParameterValue = async function (sParameterName, oValueObject, oSystemContext) {
144
+ if (!oSystemContext) {
145
+ oSystemContext = await this._getSystemContextFallback();
146
+ }
168
147
 
169
- oCleansedValueObject = this._cleanseValue(oValueObject);
148
+ if (!oValueObject) {
149
+ return ushellUtils.promisify(this.deleteParameter(sParameterName, oSystemContext));
150
+ }
170
151
 
171
- if (oValueObject && oValueObject.noStore === true) {
172
- Log.debug(`[UserDefaults] Skipped Save "${ sParameterName }" for SystemContext=${ oSystemContext.id}`, "noStore=true");
152
+ const oCleansedValueObject = this._cleanseValue(oValueObject);
173
153
 
174
- return;
175
- }
154
+ if (oValueObject && oValueObject.noStore === true) {
155
+ Log.debug(`[UserDefaults] Skipped Save "${ sParameterName }" for SystemContext=${ oSystemContext.id}`, "noStore=true");
176
156
 
177
- Log.debug(`[UserDefaults] Saving "${ sParameterName }" for SystemContext=${ oSystemContext.id } to Persistence`, JSON.stringify(oCleansedValueObject, null, 2));
157
+ return;
158
+ }
178
159
 
179
- ObjectPath.set([oSystemContext.id, sParameterName], oCleansedValueObject, this._oData);
180
- return ushellUtils.promisify(this._oAdapter.saveParameterValue(sParameterName, oCleansedValueObject, oSystemContext));
181
- })
182
- .then((oValue) => {
183
- oDeferred.resolve(oValue);
184
- })
185
- .catch((sError) => {
186
- oDeferred.reject(sError);
187
- });
160
+ Log.debug(`[UserDefaults] Saving "${ sParameterName }" for SystemContext=${ oSystemContext.id } to Persistence`, JSON.stringify(oCleansedValueObject, null, 2));
188
161
 
189
- return oDeferred.promise();
162
+ ObjectPath.set([oSystemContext.id, sParameterName], oCleansedValueObject, this._oData);
163
+ return ushellUtils.promisify(this._oAdapter.saveParameterValue(sParameterName, oCleansedValueObject, oSystemContext));
190
164
  };
191
165
 
192
166
  /**
@@ -195,58 +169,40 @@ sap.ui.define([
195
169
  *
196
170
  * @param {string} sParameterName Parameter name to be deleted
197
171
  * @param {object} [oSystemContext] The system context to be used
198
- * @returns {jQuery.Promise} Resolves once the parameter was deleted or rejects with an error message.
172
+ * @returns {Promise} Resolves once the parameter was deleted or rejects with an error message.
199
173
  *
200
174
  * @since 1.32.0
201
175
  * @public
202
176
  */
203
- UserDefaultParameterPersistence.prototype.deleteParameter = function (sParameterName, oSystemContext) {
204
- const oDeferred = new jQuery.Deferred();
205
-
206
- this._getSystemContextPromise(oSystemContext)
207
- .then((oSystemContext) => {
208
- if (this._oData[oSystemContext.id]) {
209
- Log.debug(`[UserDefaults] Deleting "${ sParameterName }" for SystemContext=${ oSystemContext.id } from Persistence`);
210
-
211
- delete this._oData[oSystemContext.id][sParameterName];
212
- }
213
- return ushellUtils.promisify(this._oAdapter.deleteParameter(sParameterName, oSystemContext));
214
- })
215
- .then((oValue) => {
216
- oDeferred.resolve(oValue);
217
- })
218
- .catch((sError) => {
219
- oDeferred.reject(sError);
220
- });
221
-
222
- return oDeferred.promise();
177
+ UserDefaultParameterPersistence.prototype.deleteParameter = async function (sParameterName, oSystemContext) {
178
+ if (!oSystemContext) {
179
+ oSystemContext = await this._getSystemContextFallback();
180
+ }
181
+
182
+ if (this._oData[oSystemContext.id]) {
183
+ Log.debug(`[UserDefaults] Deleting "${ sParameterName }" for SystemContext=${ oSystemContext.id } from Persistence`);
184
+
185
+ delete this._oData[oSystemContext.id][sParameterName];
186
+ }
187
+ return ushellUtils.promisify(this._oAdapter.deleteParameter(sParameterName, oSystemContext));
223
188
  };
224
189
 
225
190
  /**
226
191
  * Method to obtain an array of string containing all Stored parameter names
227
192
  *
228
193
  * @param {object} oSystemContext the system context to be used
229
- * @returns {jQuery.Promise} Resolves an array of sorted strings.
194
+ * @returns {Promise<string[]>} Resolves an array of sorted strings.
230
195
  *
231
196
  * @since 1.32.0
232
197
  * @private
233
198
  */
234
- UserDefaultParameterPersistence.prototype.getStoredParameterNames = function (oSystemContext) {
235
- const oDeferred = new jQuery.Deferred();
236
-
237
- this._getSystemContextPromise(oSystemContext)
238
- .then((oSystemContext) => {
239
- return ushellUtils.promisify(this._oAdapter.getStoredParameterNames(oSystemContext));
240
- })
241
- .then((aRes) => {
242
- aRes.sort();
243
- oDeferred.resolve(aRes);
244
- })
245
- .catch((sError) => {
246
- oDeferred.reject(sError);
247
- });
248
-
249
- return oDeferred.promise();
199
+ UserDefaultParameterPersistence.prototype.getStoredParameterNames = async function (oSystemContext) {
200
+ if (!oSystemContext) {
201
+ oSystemContext = await this._getSystemContextFallback();
202
+ }
203
+
204
+ const aResult = await ushellUtils.promisify(this._oAdapter.getStoredParameterNames(oSystemContext));
205
+ return aResult.sort();
250
206
  };
251
207
 
252
208
  UserDefaultParameterPersistence.hasNoAdapter = false;
@@ -7,7 +7,7 @@
7
7
  * This service should be accessed by the application
8
8
  * via the CrossApplicationNavigation service.
9
9
  *
10
- * @version 1.127.1
10
+ * @version 1.128.0
11
11
  */
12
12
  sap.ui.define([
13
13
  "sap/base/Log",
@@ -16,7 +16,6 @@ sap.ui.define([
16
16
  "sap/base/util/deepExtend",
17
17
  "sap/base/util/isEmptyObject",
18
18
  "sap/ui/base/EventProvider",
19
- "sap/ui/thirdparty/jquery",
20
19
  "sap/ushell/utils",
21
20
  "sap/ushell/Container"
22
21
  ], function (
@@ -26,7 +25,6 @@ sap.ui.define([
26
25
  deepExtend,
27
26
  isEmptyObject,
28
27
  EventProvider,
29
- jQuery,
30
28
  ushellUtils,
31
29
  Container
32
30
  ) {
@@ -181,16 +179,9 @@ sap.ui.define([
181
179
  this._iterateOverPluginsToGetDefaultValue = async function (sParameterName, oStartValue, oSystemContext) {
182
180
  // Main promise chain construction: a plugin will only be called once the previous one's promise has resolved
183
181
  // so that we have access to the value returned by that promise.
184
- const PluginManager = await Container.getServiceAsync("PluginManager");
185
-
186
- try {
187
- await ushellUtils.promisify(PluginManager.loadPlugins("UserDefaults"));
188
- } catch {
189
- Log.error(`Cannot get value for ${ sParameterName }. One or more plugins could not be loaded.`);
190
- return Promise.reject("Initialization of plugins failed");
191
- }
182
+ await this._loadPlugins();
192
183
 
193
- return this._aPlugins.reduce(async (oPromise, oPlugin) =>{
184
+ return this._aPlugins.reduce(async (oPromise, oPlugin) => {
194
185
  const oPreviousValue = await oPromise;
195
186
  return this._getUserDefaultValueFromPlugin(oPlugin, sParameterName, oSystemContext, oPreviousValue);
196
187
  }, Promise.resolve(oStartValue));
@@ -261,8 +252,7 @@ sap.ui.define([
261
252
 
262
253
  try {
263
254
  const UserDefaultParameterPersistence = await Container.getServiceAsync("UserDefaultParameterPersistence");
264
- const oDeferred = UserDefaultParameterPersistence.saveParameterValue(sParameterName, oValueObject, oSystemContext);
265
- await ushellUtils.promisify(oDeferred);
255
+ await UserDefaultParameterPersistence.saveParameterValue(sParameterName, oValueObject, oSystemContext);
266
256
  } catch { /* always resolve */ }
267
257
 
268
258
  const oStoreValue = {
@@ -293,9 +283,7 @@ sap.ui.define([
293
283
  */
294
284
  this._getPersistedValue = async function (sParameterName, oSystemContext) {
295
285
  const UserDefaultParameterPersistence = await Container.getServiceAsync("UserDefaultParameterPersistence");
296
- const oDeferred = UserDefaultParameterPersistence.loadParameterValue(sParameterName, oSystemContext);
297
-
298
- return ushellUtils.promisify(oDeferred);
286
+ return UserDefaultParameterPersistence.loadParameterValue(sParameterName, oSystemContext);
299
287
  };
300
288
 
301
289
  /**
@@ -375,13 +363,14 @@ sap.ui.define([
375
363
  return this._oUserDefaultParametersNames[systemContext.id];
376
364
  };
377
365
 
378
- this._isRelevantParameter = function (sParamName, oSystemContext) {
379
- return this._getUserDefaultParameterNames(oSystemContext)
380
- .then((oResult) => {
381
- if (!oResult.aAllParameterNames || oResult.aAllParameterNames.indexOf(sParamName) === -1) {
382
- throw new Error(`The given parameter "${ sParamName }" is not part of the list of parameters for the given system context.`);
383
- }
384
- });
366
+ this._isSupportedParameterName = async function (sParamName, oSystemContext) {
367
+ const oResult = await this._getUserDefaultParameterNames(oSystemContext);
368
+
369
+ if (!oResult.aAllParameterNames || oResult.aAllParameterNames.indexOf(sParamName) === -1) {
370
+ Log.error(`The given parameter "${ sParamName }" is not part of the list of parameters for the given system context.`);
371
+ return false;
372
+ }
373
+ return true;
385
374
  };
386
375
 
387
376
  /**
@@ -403,7 +392,7 @@ sap.ui.define([
403
392
  if (!isEmptyObject(oParameterNames) && oParameterNames.aAllParameterNames) {
404
393
  const aHasRelevantParameters = await Promise.all(oParameterNames.aAllParameterNames.map(async (sParameterName) => {
405
394
  try {
406
- const oValue = await ushellUtils.promisify(this.getValue(sParameterName, systemContext));
395
+ const oValue = await this.getValue(sParameterName, systemContext);
407
396
 
408
397
  if (oValue && !oValue.hasOwnProperty("noEdit")) {
409
398
  return true;
@@ -427,13 +416,13 @@ sap.ui.define([
427
416
  *
428
417
  * @param {string} sParameterName The parameter name
429
418
  * @param {object} oSystemContext The system context object
430
- * @returns {jQuery.Promise} Resolves a rich parameter
419
+ * @returns {Promise<object>} Resolves a rich parameter
431
420
  * object containing a value, e.g. <code>{ value : "value" }</code>.
432
421
  * The promise will typically always be resolved.
433
422
  * Note: It will always return an object, the value property may be
434
423
  * <code>undefined</code> if no value could be retrieved.
435
424
  */
436
- this.getValue = function (sParameterName, oSystemContext) {
425
+ this.getValue = async function (sParameterName, oSystemContext) {
437
426
  // Strategy is as follows
438
427
  // a) get value from persistence,
439
428
  // b) if required ask all plugins in order whether they want to alter value
@@ -441,58 +430,47 @@ sap.ui.define([
441
430
  // c2) if value was altered, including set to undefined,
442
431
  // [not on critical path] update value in remote persistence
443
432
  // (potentially deleting value if set to undefined!)
444
- const oDeferred = new jQuery.Deferred();
445
-
446
- this._isRelevantParameter(sParameterName, oSystemContext)
447
- // no relevant parameter -> no value
448
- // This is handled at the end of the chain, as all "then" will
449
- // be ignored in case of a rejection in _isRelevantParameter
450
- .then(() => {
451
- return this._getPersistedValue(sParameterName, oSystemContext)
452
- .then((oPersistedValue) => {
453
- this._oWasParameterPersisted[sParameterName] = true;
454
-
455
- return oPersistedValue || {};
456
- })
457
- // If the server call fails, this ensures that the plugins get called.
458
- .catch(() => {
459
- return { value: undefined };
460
- });
461
- })
462
- .then((oPersistedValue) => {
463
- const oValueClone = deepClone(oPersistedValue);
464
433
 
465
- const bAskValueToPlugins =
466
- (!oPersistedValue._shellData && this._valueIsEmpty(oPersistedValue)) // _shellData is added by the shell when the parameter is stored
467
- || oPersistedValue.noStore // i.e., don't use the stored value
468
- || oPersistedValue.alwaysAskPlugin;
434
+ const bSupportedParameterName = await this._isSupportedParameterName(sParameterName, oSystemContext);
469
435
 
470
- if (!bAskValueToPlugins) {
471
- oDeferred.resolve(oPersistedValue);
472
- return;
473
- }
436
+ if (!bSupportedParameterName) {
437
+ return { value: undefined };
438
+ }
474
439
 
475
- return this._iterateOverPluginsToGetDefaultValue(sParameterName, oPersistedValue, oSystemContext)
476
- .then((oNewValue) => {
477
- if (!this._oWasParameterPersisted[sParameterName] || !this._haveSameMembersValue(oValueClone, oNewValue, aStoreMembers)) {
478
- // avoid multiple calls result in storing a parameter, as we fire and forget via _storeValue below.
479
- this._oWasParameterPersisted[sParameterName] = true;
480
-
481
- this._storeValue(sParameterName, oNewValue, false, oSystemContext)
482
- .then(() => {
483
- oDeferred.resolve(oNewValue);
484
- });
485
- } else {
486
- oDeferred.resolve(oNewValue);
487
- }
488
- })
489
- .catch(oDeferred.reject);
440
+ const oPersistedValue = await this._getPersistedValue(sParameterName, oSystemContext)
441
+ .then((oValue) => {
442
+ this._oWasParameterPersisted[sParameterName] = true;
443
+ return oValue || { };
490
444
  })
491
445
  .catch(() => {
492
- oDeferred.resolve({ value: undefined });
446
+ // If the server call fails, this ensures that the plugins get called.
447
+ return { value: undefined };
493
448
  });
494
449
 
495
- return oDeferred.promise();
450
+ const oValueClone = deepClone(oPersistedValue);
451
+
452
+ const bAskValueToPlugins =
453
+ (!oValueClone._shellData && this._valueIsEmpty(oValueClone)) // _shellData is added by the shell when the parameter is stored
454
+ || oValueClone.noStore // i.e., don't use the stored value
455
+ || oValueClone.alwaysAskPlugin;
456
+
457
+ if (!bAskValueToPlugins) {
458
+ return oValueClone;
459
+ }
460
+
461
+ const oNewValue = await this._iterateOverPluginsToGetDefaultValue(sParameterName, oPersistedValue, oSystemContext);
462
+
463
+ if (!this._oWasParameterPersisted[sParameterName] || !this._haveSameMembersValue(oValueClone, oNewValue, aStoreMembers)) {
464
+ // avoid multiple calls result in storing a parameter, as we fire and forget via _storeValue below.
465
+ this._oWasParameterPersisted[sParameterName] = true;
466
+
467
+ await this._storeValue(sParameterName, oNewValue, false, oSystemContext)
468
+ .catch((err) => {
469
+ Log.error(err.message);
470
+ });
471
+ }
472
+
473
+ return oNewValue;
496
474
  };
497
475
 
498
476
  /**
@@ -507,7 +485,7 @@ sap.ui.define([
507
485
  */
508
486
  this._addParameterValuesToParameters = async function (oParameters, aParameterNames, oSystemContext) {
509
487
  await Promise.all(aParameterNames.map(async (sParameterName) => {
510
- const oValueObject = await ushellUtils.promisify(this.getValue(sParameterName, oSystemContext));
488
+ const oValueObject = await this.getValue(sParameterName, oSystemContext);
511
489
 
512
490
  oParameters[sParameterName].valueObject = oValueObject;
513
491
  }));
@@ -614,7 +592,7 @@ sap.ui.define([
614
592
  *
615
593
  * @param {object} oSystemContext The system context object
616
594
  *
617
- * @returns {jQuery.Promise} Resolves an object with parameter names as members
595
+ * @returns {Promise<object>} Resolves an object with parameter names as members
618
596
  *
619
597
  * The order of parameters is suitable order for parameter display.
620
598
  *
@@ -691,40 +669,18 @@ sap.ui.define([
691
669
  * Note: It will always return an object, the value property may be
692
670
  * undefined if no value could be retrieved.
693
671
  */
694
- this.editorGetParameters = function (oSystemContext) {
695
- const oDeferred = new jQuery.Deferred();
696
-
697
- Promise.all([
698
- Container.getServiceAsync("PluginManager"),
699
- this._getUserDefaultParameterNames(oSystemContext)
700
- ])
701
- .then((aResults) => {
702
- const PluginManagerService = aResults[0];
703
- const oParametersAndExtendedParameters = aResults[1];
704
-
705
- if (oParametersAndExtendedParameters.oMetadataObject.length === 0) {
706
- // if array is empty, nothing to display in editor
707
- return {};
708
- }
672
+ this.editorGetParameters = async function (oSystemContext) {
673
+ const oParametersAndExtendedParameters = await this._getUserDefaultParameterNames(oSystemContext);
674
+ const { aAllParameterNames, aExtendedParameterNames, oMetadataObject } = oParametersAndExtendedParameters;
709
675
 
710
- return ushellUtils.promisify(PluginManagerService.loadPlugins("UserDefaults"))
711
- .catch(() => {
712
- Log.error("One or more plugins could not be loaded");
713
- return Promise.reject("Initialization of plugins failed");
714
- })
715
- .then(() => {
716
- const { aAllParameterNames, aExtendedParameterNames, oMetadataObject } = oParametersAndExtendedParameters;
717
- return this._getEditorDataAndValue(aAllParameterNames, aExtendedParameterNames, oMetadataObject, oSystemContext);
718
- });
719
- })
720
- .then((oResult) => {
721
- oDeferred.resolve(oResult);
722
- })
723
- .catch((sErrorMessage) => {
724
- oDeferred.reject(sErrorMessage);
725
- });
676
+ if (oMetadataObject.length === 0) {
677
+ // if array is empty, nothing to display in editor
678
+ return {};
679
+ }
726
680
 
727
- return oDeferred.promise();
681
+ await this._loadPlugins();
682
+
683
+ return this._getEditorDataAndValue(aAllParameterNames, aExtendedParameterNames, oMetadataObject, oSystemContext);
728
684
  };
729
685
 
730
686
  /**
@@ -757,24 +713,14 @@ sap.ui.define([
757
713
  * @param {string} sParameterName Name of the parameter for the value which has to be saved
758
714
  * @param {object} oValueObject Value which has to be saved
759
715
  * @param {object} oSystemContext The system context object
760
- * @returns {jQuery.Promise} Resolves once the value is stored.
716
+ * @returns {Promise} Resolves once the value is stored.
761
717
  *
762
718
  * @see sap.ushell.Container#getServiceAsync
763
719
  * @since 1.32.0
764
720
  * @private
765
721
  */
766
- this.editorSetValue = function (sParameterName, oValueObject, oSystemContext) {
767
- const oDeferred = new jQuery.Deferred();
768
-
769
- this._storeValue(sParameterName, oValueObject, true, oSystemContext)
770
- .then(() => {
771
- oDeferred.resolve();
772
- })
773
- .catch(() => {
774
- oDeferred.resolve();
775
- });
776
-
777
- return oDeferred.promise();
722
+ this.editorSetValue = async function (sParameterName, oValueObject, oSystemContext) {
723
+ await this._storeValue(sParameterName, oValueObject, true, oSystemContext);
778
724
  };
779
725
 
780
726
  /**
@@ -802,6 +748,23 @@ sap.ui.define([
802
748
  this.detachValueStored = function (fnFunction) {
803
749
  oStoreValueEventProvider.detachEvent(sEventNameValueStored, fnFunction);
804
750
  };
751
+
752
+ /**
753
+ * Load the plugins for the UserDefaultParameters service.
754
+ *
755
+ * @since 1.128.0
756
+ * @private
757
+ */
758
+ this._loadPlugins = async function () {
759
+ const PluginManager = await Container.getServiceAsync("PluginManager");
760
+
761
+ try {
762
+ await ushellUtils.promisify(PluginManager.loadPlugins("UserDefaults"));
763
+ } catch {
764
+ Log.error("One or more plugins could not be loaded");
765
+ throw new Error("Initialization of plugins failed");
766
+ }
767
+ };
805
768
  }
806
769
 
807
770
  UserDefaultParameters.hasNoAdapter = true;
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview The Unified Shell's user information service. Allows retrieving information about the logged-in user.
5
5
  *
6
- * @version 1.127.1
6
+ * @version 1.128.0
7
7
  */
8
8
  sap.ui.define([
9
9
  "sap/base/Log",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview The Unified Shell's user activity service.
5
- * @version 1.127.1
5
+ * @version 1.128.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/util/ObjectPath",
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Configured with the LaunchPageAdapter.
9
9
  *
10
- * @version 1.127.1
10
+ * @version 1.128.0
11
11
  */
12
12
  sap.ui.define([
13
13
  "sap/ushell/resources",
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @fileOverview This module deals with the instantiation of visualizations in a platform independent way.
5
- * @version 1.127.1
5
+ * @version 1.128.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ushell/ui/launchpad/VizInstance",
@@ -7,7 +7,7 @@
7
7
  * config handler which is called by the factory to generate an explicit
8
8
  * Adapter configuration
9
9
  *
10
- * @version 1.127.1
10
+ * @version 1.128.0
11
11
  * @private
12
12
  */
13
13
  sap.ui.define([
@@ -3,7 +3,7 @@
3
3
  /**
4
4
  * @fileOverview Provide mock feature group data
5
5
  *
6
- * @version 1.127.1
6
+ * @version 1.128.0
7
7
  * @private
8
8
  */
9
9
  sap.ui.define([
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * @fileOverview Cross Application Navigation utility functions
4
4
  *
5
- * @version 1.127.1
5
+ * @version 1.128.0
6
6
  * @deprecated since 1.120.0
7
7
  */
8
8