@sapui5/sap.ushell 1.136.2 → 1.138.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 (772) hide show
  1. package/package.json +2 -2
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/AppInfoParameters.js +4 -5
  4. package/src/main/js/sap/ushell/ApplicationType/guiResolution.js +677 -695
  5. package/src/main/js/sap/ushell/ApplicationType/systemAlias.js +612 -623
  6. package/src/main/js/sap/ushell/ApplicationType/ui5Resolution.js +14 -16
  7. package/src/main/js/sap/ushell/ApplicationType/urlResolution.js +19 -21
  8. package/src/main/js/sap/ushell/ApplicationType/urlTemplateResolution.js +486 -468
  9. package/src/main/js/sap/ushell/ApplicationType/utils.js +46 -46
  10. package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +12 -12
  11. package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +47 -55
  12. package/src/main/js/sap/ushell/ApplicationType.js +34 -34
  13. package/src/main/js/sap/ushell/Config/utils.js +45 -45
  14. package/src/main/js/sap/ushell/Config.js +4 -4
  15. package/src/main/js/sap/ushell/Container.js +359 -357
  16. package/src/main/js/sap/ushell/EventHub.js +216 -212
  17. package/src/main/js/sap/ushell/Fiori20Adapter.js +59 -98
  18. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +23 -26
  19. package/src/main/js/sap/ushell/Layout.js +264 -291
  20. package/src/main/js/sap/ushell/NWBCInterface.js +8 -8
  21. package/src/main/js/sap/ushell/SessionHandler.js +8 -8
  22. package/src/main/js/sap/ushell/System.js +6 -6
  23. package/src/main/js/sap/ushell/TechnicalParameters.js +95 -96
  24. package/src/main/js/sap/ushell/UI5ComponentType.js +1 -1
  25. package/src/main/js/sap/ushell/UIActions.js +189 -188
  26. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +21 -24
  27. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +29 -29
  28. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +96 -96
  29. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +58 -55
  30. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +201 -200
  31. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +8 -8
  32. package/src/main/js/sap/ushell/URLTemplateProcessor.js +65 -65
  33. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +30 -33
  34. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +30 -43
  35. package/src/main/js/sap/ushell/User.js +114 -116
  36. package/src/main/js/sap/ushell/UserActivityLog.js +63 -63
  37. package/src/main/js/sap/ushell/adapters/AppVariantPersonalizationAdapter.js +46 -47
  38. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +34 -34
  39. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +56 -57
  40. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +3 -4
  41. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +144 -146
  42. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +569 -602
  43. package/src/main/js/sap/ushell/adapters/cdm/MenuAdapter.js +25 -25
  44. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +120 -119
  45. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +2 -2
  46. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +3 -3
  47. package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.controller.js +57 -53
  48. package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +5 -2
  49. package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegionEntry.js +6 -6
  50. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +2 -3
  51. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +21 -21
  52. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +2 -2
  53. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +28 -37
  54. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +89 -90
  55. package/src/main/js/sap/ushell/adapters/cdm/_Personalization/internals.js +179 -190
  56. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +12 -12
  57. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +16 -17
  58. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +144 -151
  59. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +527 -526
  60. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +3 -3
  61. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +2 -2
  62. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +6 -6
  63. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +3 -4
  64. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +22 -28
  65. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +9 -9
  66. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +27 -27
  67. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +15 -18
  68. package/src/main/js/sap/ushell/adapters/cdm/v3/utilsCdm.js +67 -67
  69. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +17 -20
  70. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +3 -3
  71. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +25 -25
  72. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +42 -43
  73. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +45 -45
  74. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +29 -29
  75. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +41 -37
  76. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +25 -28
  77. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +70 -72
  78. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +450 -474
  79. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +3 -3
  80. package/src/main/js/sap/ushell/adapters/local/MenuAdapter.js +20 -22
  81. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +3 -3
  82. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +44 -43
  83. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +12 -12
  84. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +16 -16
  85. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +19 -17
  86. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +3 -3
  87. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +5 -6
  88. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +10 -10
  89. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +5 -5
  90. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +2 -3
  91. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +26 -26
  92. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +28 -29
  93. package/src/main/js/sap/ushell/api/BootstrapObserver.js +2 -3
  94. package/src/main/js/sap/ushell/api/Copilot.js +2 -4
  95. package/src/main/js/sap/ushell/api/DWS.js +2 -3
  96. package/src/main/js/sap/ushell/api/Inbox.js +2 -3
  97. package/src/main/js/sap/ushell/api/NewExperience/CustomOverflowListItem.js +2 -3
  98. package/src/main/js/sap/ushell/api/NewExperience.js +8 -8
  99. package/src/main/js/sap/ushell/api/RTA.js +27 -59
  100. package/src/main/js/sap/ushell/api/S4MyHome.js +3 -3
  101. package/src/main/js/sap/ushell/api/SAPBusinessClient.js +6 -36
  102. package/src/main/js/sap/ushell/api/common/ComponentInstantiation.js +5 -8
  103. package/src/main/js/sap/ushell/api/workpage/Designtime.js +2 -3
  104. package/src/main/js/sap/ushell/api/workpage/Runtime.js +2 -4
  105. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle/KeepAliveMode.js +2 -2
  106. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +141 -113
  107. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +2 -4
  108. package/src/main/js/sap/ushell/appIntegration/ApplicationContainerCache.js +9 -9
  109. package/src/main/js/sap/ushell/appIntegration/ApplicationContainerRenderer.js +0 -1
  110. package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +2 -2
  111. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +1 -3
  112. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +2 -4
  113. package/src/main/js/sap/ushell/appIntegration/KeepAliveApps.js +6 -6
  114. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +7 -7
  115. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +2 -2
  116. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +58 -59
  117. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/MessageBrokerHandler.js +2 -3
  118. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +2 -2
  119. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +91 -91
  120. package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainerRenderer.js +0 -1
  121. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +8 -9
  122. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +3 -3
  123. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +1 -2
  124. package/src/main/js/sap/ushell/appRuntime/neo/AppInfoService.js +85 -74
  125. package/src/main/js/sap/ushell/appRuntime/neo/AppRuntimeNeo.js +2 -2
  126. package/src/main/js/sap/ushell/appRuntime/neo/ProxyAppUtils.js +8 -9
  127. package/src/main/js/sap/ushell/appRuntime/ui5/AppCommunicationMgr.js +57 -57
  128. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +660 -662
  129. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeContext.js +14 -14
  130. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntimeService.js +11 -2
  131. package/src/main/js/sap/ushell/appRuntime/ui5/SessionHandlerAgent.js +21 -25
  132. package/src/main/js/sap/ushell/appRuntime/ui5/performance/FesrEnhancer.js +11 -5
  133. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/AppLifeCycleUtils.js +31 -31
  134. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/BaseRTAPluginStatus.js +9 -10
  135. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/CheckConditions.js +56 -56
  136. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Renderer.js +34 -34
  137. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +222 -249
  138. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/Component.js +213 -207
  139. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaShell/Component.js +121 -129
  140. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/scriptAgent/Component.js +19 -19
  141. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/AccessKeysAgent.js +9 -9
  142. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/Renderer.js +84 -29
  143. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +34 -34
  144. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +12 -12
  145. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +7 -3
  146. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +127 -102
  147. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +11 -6
  148. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +35 -29
  149. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +30 -26
  150. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +8 -3
  151. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +26 -26
  152. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +41 -38
  153. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +4 -4
  154. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +9 -23
  155. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +3 -3
  156. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +3 -3
  157. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +7 -3
  158. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +16 -17
  159. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +21 -17
  160. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +22 -17
  161. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +31 -28
  162. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +4 -4
  163. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +10 -6
  164. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +10 -6
  165. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +9 -9
  166. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserDefaultParameters.js +1 -1
  167. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +10 -6
  168. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/ContainerAdapter.js +40 -43
  169. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/EmptyAdapter.js +6 -6
  170. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +2 -3
  171. package/src/main/js/sap/ushell/appRuntime/ui5/ui/UIProxy.js +4 -4
  172. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/EventProcessor.js +9 -9
  173. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPLoader.js +8 -9
  174. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/FLPScheduler.js +40 -42
  175. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/LoadingConfiguration.json +1 -1
  176. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +1 -6
  177. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +13 -13
  178. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +19 -19
  179. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent.js +23 -32
  180. package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-dev.js +3 -4
  181. package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def-loader.js +1 -1
  182. package/src/main/js/sap/ushell/bootstrap/cdm/cdm-def.js +3 -3
  183. package/src/main/js/sap/ushell/bootstrap/cdm/cdm.boot.task.js +3 -3
  184. package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +5 -4
  185. package/src/main/js/sap/ushell/bootstrap/cdm.js +11 -12
  186. package/src/main/js/sap/ushell/bootstrap/common/common.boot.path.js +1 -1
  187. package/src/main/js/sap/ushell/bootstrap/common/common.boot.script.js +2 -2
  188. package/src/main/js/sap/ushell/bootstrap/common/common.boot.task.js +3 -3
  189. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.extractLibs.js +1 -2
  190. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5.js +13 -13
  191. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +9 -9
  192. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5language.js +3 -3
  193. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5theme.js +13 -15
  194. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ushell.js +4 -9
  195. package/src/main/js/sap/ushell/bootstrap/common/common.constants.js +1 -1
  196. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +10 -19
  197. package/src/main/js/sap/ushell/bootstrap/common/common.debug.mode.js +3 -3
  198. package/src/main/js/sap/ushell/bootstrap/common/common.load.bootstrapExtension.js +3 -4
  199. package/src/main/js/sap/ushell/bootstrap/common/common.load.core-min.js +5 -7
  200. package/src/main/js/sap/ushell/bootstrap/common/common.load.launchpad.js +6 -8
  201. package/src/main/js/sap/ushell/bootstrap/common/common.load.model.js +6 -6
  202. package/src/main/js/sap/ushell/bootstrap/common/common.load.script.js +3 -3
  203. package/src/main/js/sap/ushell/bootstrap/common/common.override.registermodulepath.js +37 -38
  204. package/src/main/js/sap/ushell/bootstrap/common/common.read.metatags.js +6 -6
  205. package/src/main/js/sap/ushell/bootstrap/common/common.read.ui5theme.from.config.js +11 -11
  206. package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +22 -25
  207. package/src/main/js/sap/ushell/bootstrap/common/common.util.js +10 -12
  208. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandbox.js +11 -10
  209. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxBootTask.js +1 -1
  210. package/src/main/js/sap/ushell/bootstrap/sandbox2/sandboxConfig.json +8 -24
  211. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +13 -13
  212. package/src/main/js/sap/ushell/bootstrap/ui5loader-config.js +7 -7
  213. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +1 -1
  214. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +17 -26
  215. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +1 -9
  216. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  217. package/src/main/js/sap/ushell/components/cards/Card.controller.js +2 -2
  218. package/src/main/js/sap/ushell/components/cepsearchresult/app/Component.js +57 -30
  219. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +330 -312
  220. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Component.js +171 -154
  221. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Config.js +236 -233
  222. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +35 -33
  223. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/manifest.json +4 -1
  224. package/src/main/js/sap/ushell/components/cepsearchresult/app/manifest.json +4 -6
  225. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +64 -60
  226. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +139 -141
  227. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +8 -9
  228. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionStandard.js +4 -4
  229. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +37 -34
  230. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +694 -646
  231. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +220 -223
  232. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.css +2 -2
  233. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +258 -225
  234. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/All.js +58 -49
  235. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Application.js +200 -203
  236. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +129 -131
  237. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/People.js +91 -92
  238. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Workpage.js +18 -18
  239. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n.properties +5 -0
  240. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ar.properties +3 -0
  241. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_bg.properties +3 -0
  242. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ca.properties +3 -0
  243. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cnr.properties +3 -0
  244. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cs.properties +4 -1
  245. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_cy.properties +3 -0
  246. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_da.properties +3 -0
  247. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_de.properties +3 -0
  248. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_el.properties +3 -0
  249. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en.properties +3 -0
  250. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_GB.properties +3 -0
  251. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_en_US_saprigi.properties +3 -0
  252. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_es.properties +3 -0
  253. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_es_MX.properties +3 -0
  254. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_et.properties +3 -0
  255. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fi.properties +3 -0
  256. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fr.properties +3 -0
  257. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_fr_CA.properties +3 -0
  258. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hi.properties +3 -0
  259. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hr.properties +3 -0
  260. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_hu.properties +4 -1
  261. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_id.properties +3 -0
  262. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_it.properties +3 -0
  263. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_iw.properties +3 -0
  264. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ja.properties +3 -0
  265. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_kk.properties +3 -0
  266. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ko.properties +3 -0
  267. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_lt.properties +3 -0
  268. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_lv.properties +3 -0
  269. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_mk.properties +3 -0
  270. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ms.properties +3 -0
  271. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_nl.properties +3 -0
  272. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_no.properties +3 -0
  273. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pl.properties +3 -0
  274. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pt.properties +3 -0
  275. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_pt_PT.properties +3 -0
  276. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ro.properties +3 -0
  277. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_ru.properties +3 -0
  278. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sh.properties +3 -0
  279. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sk.properties +3 -0
  280. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sl.properties +3 -0
  281. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sr.properties +3 -0
  282. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_sv.properties +3 -0
  283. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_th.properties +3 -0
  284. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_tr.properties +3 -0
  285. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_uk.properties +3 -0
  286. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_vi.properties +4 -1
  287. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_zh_CN.properties +3 -0
  288. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/i18n/i18n_zh_TW.properties +3 -0
  289. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/resources.js +30 -0
  290. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +3 -3
  291. package/src/main/js/sap/ushell/components/contentFinder/Component.js +34 -15
  292. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +22 -12
  293. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +4 -5
  294. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +26 -5
  295. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +5 -2
  296. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +5 -7
  297. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +22 -8
  298. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +6 -5
  299. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchBox.fragment.xml +1 -1
  300. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +10 -4
  301. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +31 -10
  302. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +214 -214
  303. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +6 -9
  304. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  305. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +6 -6
  306. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +4 -4
  307. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  308. package/src/main/js/sap/ushell/components/homepage/Component.js +1 -1
  309. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +4 -4
  310. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  311. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  312. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +2 -2
  313. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  314. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  315. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  316. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  317. package/src/main/js/sap/ushell/components/pages/StateManager.js +4 -3
  318. package/src/main/js/sap/ushell/components/pages/controller/ImportDialog.controller.js +182 -202
  319. package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +3 -3
  320. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  321. package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +10 -7
  322. package/src/main/js/sap/ushell/components/pages/manifest.json +2 -2
  323. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  324. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  325. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  326. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +3 -1
  327. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +2 -2
  328. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +13 -31
  329. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
  330. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  331. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +4 -2
  332. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +1 -1
  333. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverContent.view.xml +1 -1
  334. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  335. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  336. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +17 -15
  337. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +3 -3
  338. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  339. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  340. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +84 -67
  341. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  342. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  343. package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +1 -1
  344. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +10 -23
  345. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +59 -69
  346. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +1 -2
  347. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +1 -1
  348. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageSetting.view.xml +28 -35
  349. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +1 -1
  350. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.view.xml +5 -9
  351. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +1 -1
  352. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +1 -2
  353. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.view.xml +2 -2
  354. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSetting.fragment.xml +2 -4
  355. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +9 -23
  356. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.view.xml +6 -12
  357. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +1 -1
  358. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.view.xml +2 -4
  359. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +23 -115
  360. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +4 -3
  361. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +2 -2
  362. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +4 -1
  363. package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +0 -31
  364. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +5 -2
  365. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  366. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +14 -19
  367. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  368. package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +16 -16
  369. package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +20 -20
  370. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +18 -18
  371. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +15 -15
  372. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +18 -18
  373. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +20 -20
  374. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/manifest.json +1 -6
  375. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +2 -2
  376. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/manifest.json +1 -6
  377. package/src/main/js/sap/ushell/components/tiles/generic.js +8 -8
  378. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +6 -8
  379. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +2 -2
  380. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +5 -5
  381. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +2 -6
  382. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +2 -4
  383. package/src/main/js/sap/ushell/components/tiles/utils.js +46 -22
  384. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  385. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +2 -3
  386. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  387. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
  388. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  389. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  390. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  391. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  392. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  393. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  394. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  395. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +1 -1
  396. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  397. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +8 -10
  398. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  399. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +2 -2
  400. package/src/main/js/sap/ushell/functionBindPrototype.js +1 -1
  401. package/src/main/js/sap/ushell/library.js +5 -5
  402. package/src/main/js/sap/ushell/modules/NavigationMenu.js +3 -4
  403. package/src/main/js/sap/ushell/navigationMode.js +40 -43
  404. package/src/main/js/sap/ushell/override.js +53 -53
  405. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +7 -9
  406. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +48 -52
  407. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +9 -11
  408. package/src/main/js/sap/ushell/plugins/BaseRTAPlugin.js +106 -107
  409. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +17 -17
  410. package/src/main/js/sap/ushell/plugins/appwarmup/ShellUIService.js +1 -1
  411. package/src/main/js/sap/ushell/plugins/appwarmup/manifest.json +0 -4
  412. package/src/main/js/sap/ushell/plugins/ghostapp/Component.js +1 -1
  413. package/src/main/js/sap/ushell/plugins/ghostapp/FakeModel.js +5 -5
  414. package/src/main/js/sap/ushell/plugins/ghostapp/manifest.json +1 -2
  415. package/src/main/js/sap/ushell/plugins/rta/Component.js +51 -51
  416. package/src/main/js/sap/ushell/plugins/rta/manifest.json +0 -4
  417. package/src/main/js/sap/ushell/plugins/rta-personalize/Component.js +3 -3
  418. package/src/main/js/sap/ushell/plugins/rta-personalize/manifest.json +0 -4
  419. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +81 -79
  420. package/src/main/js/sap/ushell/renderer/History.js +6 -6
  421. package/src/main/js/sap/ushell/renderer/LogonFrameProvider.js +27 -27
  422. package/src/main/js/sap/ushell/renderer/NavContainerRenderer.js +3 -3
  423. package/src/main/js/sap/ushell/renderer/Renderer.js +74 -62
  424. package/src/main/js/sap/ushell/renderer/RendererAppContainer.js +5 -5
  425. package/src/main/js/sap/ushell/renderer/Shell.controller.js +47 -48
  426. package/src/main/js/sap/ushell/renderer/Shell.view.js +63 -91
  427. package/src/main/js/sap/ushell/renderer/ShellLayout.js +0 -12
  428. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyApps.controller.js +100 -100
  429. package/src/main/js/sap/ushell/renderer/allMyApps/AllMyAppsManager.js +103 -93
  430. package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/Component.js +2 -2
  431. package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/RendererTarget.controller.js +3 -3
  432. package/src/main/js/sap/ushell/renderer/resources/resources.properties +4 -2
  433. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +0 -1
  434. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +0 -1
  435. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +0 -1
  436. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +0 -1
  437. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +0 -1
  438. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +0 -1
  439. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +0 -1
  440. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +6 -7
  441. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +0 -1
  442. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +0 -1
  443. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +0 -1
  444. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +0 -1
  445. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +0 -1
  446. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +0 -1
  447. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +0 -1
  448. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +0 -1
  449. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +0 -1
  450. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +0 -1
  451. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +0 -1
  452. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +0 -1
  453. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +0 -1
  454. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +0 -1
  455. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -3
  456. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +0 -1
  457. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +0 -1
  458. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +0 -1
  459. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +0 -1
  460. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +0 -1
  461. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +0 -1
  462. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +0 -1
  463. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +0 -1
  464. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +0 -1
  465. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +0 -1
  466. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +0 -1
  467. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +0 -1
  468. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +0 -1
  469. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +0 -1
  470. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +0 -1
  471. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +0 -1
  472. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +0 -1
  473. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +1 -2
  474. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +0 -1
  475. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +0 -1
  476. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +0 -1
  477. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +0 -1
  478. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +0 -1
  479. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +0 -1
  480. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +0 -1
  481. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +0 -1
  482. package/src/main/js/sap/ushell/renderer/search/searchComponent/Component.js +5 -5
  483. package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/CEPSearchApp.controller.js +3 -5
  484. package/src/main/js/sap/ushell/renderer/search/searchComponent/controller/SearchApp.controller.js +5 -8
  485. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  486. package/src/main/js/sap/ushell/renderer/search/searchComponent/view/CEPSearchApp.view.js +2 -2
  487. package/src/main/js/sap/ushell/renderer/search/searchComponent/view/SearchApp.view.js +2 -2
  488. package/src/main/js/sap/ushell/renderer/search/util.js +5 -6
  489. package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.controller.js +42 -41
  490. package/src/main/js/sap/ushell/renderer/shellHeader/ShellHeader.fragment.xml +2 -1
  491. package/src/main/js/sap/ushell/renderer/utils.js +4 -4
  492. package/src/main/js/sap/ushell/renderers/fiori2/History.js +1 -1
  493. package/src/main/js/sap/ushell/renderers/fiori2/LogonFrameProvider.js +1 -1
  494. package/src/main/js/sap/ushell/renderers/fiori2/RendererExtensions.js +6 -7
  495. package/src/main/js/sap/ushell/renderers/fiori2/Shell.controller.js +2 -2
  496. package/src/main/js/sap/ushell/renderers/fiori2/Shell.view.js +55 -87
  497. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyAppsManager.js +1 -1
  498. package/src/main/js/sap/ushell/resources.js +18 -22
  499. package/src/main/js/sap/ushell/services/AppConfiguration.js +1 -1
  500. package/src/main/js/sap/ushell/services/AppLifeCycle.js +4 -2
  501. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  502. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  503. package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
  504. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +142 -158
  505. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +11 -13
  506. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +3 -4
  507. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/ParameterMapping.js +38 -38
  508. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +72 -72
  509. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +229 -247
  510. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +29 -41
  511. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +10 -10
  512. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +26 -31
  513. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  514. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +204 -206
  515. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  516. package/src/main/js/sap/ushell/services/CommonDataModel/PersonalizationProcessor.js +115 -118
  517. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +20 -20
  518. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +3 -5
  519. package/src/main/js/sap/ushell/services/CommonDataModel.js +2 -2
  520. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  521. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  522. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  523. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  524. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  525. package/src/main/js/sap/ushell/services/Extension/Item.js +2 -2
  526. package/src/main/js/sap/ushell/services/Extension.js +1 -1
  527. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +2 -2
  528. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
  529. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
  530. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +2 -2
  531. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +4 -4
  532. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +2 -2
  533. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +1 -1
  534. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
  535. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  536. package/src/main/js/sap/ushell/services/Menu.js +13 -8
  537. package/src/main/js/sap/ushell/services/Message.js +1 -1
  538. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
  539. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  540. package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
  541. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
  542. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  543. package/src/main/js/sap/ushell/services/Navigation.js +1 -1
  544. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  545. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  546. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  547. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  548. package/src/main/js/sap/ushell/services/Pages.js +8 -12
  549. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  550. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  551. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
  552. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
  553. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
  554. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +1 -1
  555. package/src/main/js/sap/ushell/services/PluginManager.js +17 -14
  556. package/src/main/js/sap/ushell/services/ReferenceResolver.js +2 -2
  557. package/src/main/js/sap/ushell/services/Search.js +1 -1
  558. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  559. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  560. package/src/main/js/sap/ushell/services/ShellNavigation.js +2 -2
  561. package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +1 -1
  562. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  563. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  564. package/src/main/js/sap/ushell/services/UITracer.js +18 -22
  565. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  566. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  567. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  568. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  569. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  570. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  571. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  572. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  573. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  574. package/src/main/js/sap/ushell/services/_AppState/AppStatePersistencyMethod.js +2 -2
  575. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +9 -9
  576. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +21 -14
  577. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +66 -67
  578. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +15 -15
  579. package/src/main/js/sap/ushell/services/_Personalization/ContextContainer.js +65 -79
  580. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainer.js +58 -57
  581. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariant.js +17 -14
  582. package/src/main/js/sap/ushell/services/_Personalization/PersonalizationContainerVariantSet.js +30 -28
  583. package/src/main/js/sap/ushell/services/_Personalization/Personalizer.js +38 -24
  584. package/src/main/js/sap/ushell/services/_Personalization/TransientPersonalizer.js +4 -10
  585. package/src/main/js/sap/ushell/services/_Personalization/Variant.js +23 -23
  586. package/src/main/js/sap/ushell/services/_Personalization/VariantSet.js +39 -38
  587. package/src/main/js/sap/ushell/services/_Personalization/VariantSetAdapter.js +2 -2
  588. package/src/main/js/sap/ushell/services/_Personalization/WindowAdapter.js +1 -1
  589. package/src/main/js/sap/ushell/services/_Personalization/WindowAdapterContainer.js +1 -1
  590. package/src/main/js/sap/ushell/services/_Personalization/constants.js +5 -5
  591. package/src/main/js/sap/ushell/services/_Personalization/constants.private.js +1 -1
  592. package/src/main/js/sap/ushell/services/_Personalization/utils.js +13 -13
  593. package/src/main/js/sap/ushell/services/appstate/AppState.js +26 -26
  594. package/src/main/js/sap/ushell/services/appstate/AppStatePersistencyMethod.js +1 -1
  595. package/src/main/js/sap/ushell/services/appstate/AppStatePersistencySettings.js +4 -4
  596. package/src/main/js/sap/ushell/services/appstate/LimitedBuffer.js +9 -7
  597. package/src/main/js/sap/ushell/services/appstate/Sequentializer.js +5 -6
  598. package/src/main/js/sap/ushell/services/appstate/SequentializingAdapter.js +6 -3
  599. package/src/main/js/sap/ushell/services/appstate/WindowAdapter.js +20 -16
  600. package/src/main/js/sap/ushell/state/StateManager.js +3 -2
  601. package/src/main/js/sap/ushell/state/StateRules.js +9 -4
  602. package/src/main/js/sap/ushell/state/{BackNavigation.js → modules/BackNavigation.js} +1 -1
  603. package/src/main/js/sap/ushell/state/{ContentDensity.js → modules/ContentDensity.js} +12 -1
  604. package/src/main/js/sap/ushell/state/{Favicon.js → modules/Favicon.js} +1 -1
  605. package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +181 -0
  606. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +100 -92
  607. package/src/main/js/sap/ushell/support/plugins/flpConfig/i18n/FlpConfigurationPlugin.properties +0 -3
  608. package/src/main/js/sap/ushell/support/plugins/flpConfig/i18n/FlpConfigurationPlugin_de.properties +0 -3
  609. package/src/main/js/sap/ushell/support/plugins/flpConfig/i18n/FlpConfigurationPlugin_en.properties +0 -3
  610. package/src/main/js/sap/ushell/themes/base/AddBookmarkButton.less +5 -0
  611. package/src/main/js/sap/ushell/themes/base/Factsheet.less +0 -2
  612. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +3 -0
  613. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  614. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  615. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  616. package/src/main/js/sap/ushell/themes/sap_belize_base/AddBookmarkButton.less +5 -0
  617. package/src/main/js/sap/ushell/themes/sap_belize_base/Factsheet.less +0 -2
  618. package/src/main/js/sap/ushell/themes/sap_belize_hcb/AnchorItem.less +0 -1
  619. package/src/main/js/sap/ushell/themes/sap_belize_hcw/AnchorItem.less +0 -1
  620. package/src/main/js/sap/ushell/themes/sap_bluecrystal/AnchorNavigationBar.less +0 -1
  621. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/AddBookmarkButton.less +5 -0
  622. package/src/main/js/sap/ushell/themes/sap_bluecrystal_base/Factsheet.less +0 -2
  623. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/AnchorItem.less +0 -1
  624. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/AnchorItem.less +0 -1
  625. package/src/main/js/sap/ushell/themes/sap_hcb/AnchorItem.less +0 -1
  626. package/src/main/js/sap/ushell/themes/sap_hcb/base_AddBookmarkButton.less +5 -0
  627. package/src/main/js/sap/ushell/themes/sap_hcb/base_Factsheet.less +0 -2
  628. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/AnchorItem.less +0 -1
  629. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/FloatingContainer.less +8 -0
  630. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +1 -0
  631. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/AnchorItem.less +0 -1
  632. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/FloatingContainer.less +8 -0
  633. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +1 -0
  634. package/src/main/js/sap/ushell/ui/ContentNodeSelector.js +72 -73
  635. package/src/main/js/sap/ushell/ui/ContentNodeSelectorRenderer.js +3 -3
  636. package/src/main/js/sap/ushell/ui/ContentNodeTreeItem.js +2 -2
  637. package/src/main/js/sap/ushell/ui/CustomGroupHeaderListItem.js +6 -6
  638. package/src/main/js/sap/ushell/ui/CustomGroupHeaderListItemRenderer.js +5 -5
  639. package/src/main/js/sap/ushell/ui/QuickAccess.js +15 -13
  640. package/src/main/js/sap/ushell/ui/ShellHeader.js +68 -152
  641. package/src/main/js/sap/ushell/ui/ShellHeaderRenderer.js +1 -1
  642. package/src/main/js/sap/ushell/ui/appfinder/AppBox.js +1 -1
  643. package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternal.js +4 -4
  644. package/src/main/js/sap/ushell/ui/appfinder/AppBoxInternalRenderer.js +7 -9
  645. package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +1 -1
  646. package/src/main/js/sap/ushell/ui/appfinder/PinButton.js +2 -2
  647. package/src/main/js/sap/ushell/ui/appfinder/PinButtonRenderer.js +2 -4
  648. package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.controller.js +25 -13
  649. package/src/main/js/sap/ushell/ui/bookmark/SaveOnPage.view.xml +44 -48
  650. package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +22 -22
  651. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +23 -23
  652. package/src/main/js/sap/ushell/ui/footerbar/AboutButton.js +5 -5
  653. package/src/main/js/sap/ushell/ui/footerbar/AboutDialog.controller.js +0 -3
  654. package/src/main/js/sap/ushell/ui/footerbar/AddBookmarkButton.js +86 -103
  655. package/src/main/js/sap/ushell/ui/footerbar/ContactSupportButton.js +4 -4
  656. package/src/main/js/sap/ushell/ui/footerbar/ContactSupportDialog.controller.js +3 -3
  657. package/src/main/js/sap/ushell/ui/footerbar/JamDiscussButton.js +6 -7
  658. package/src/main/js/sap/ushell/ui/footerbar/JamShareButton.js +12 -12
  659. package/src/main/js/sap/ushell/ui/footerbar/LogoutButton.js +12 -12
  660. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.controller.js +21 -21
  661. package/src/main/js/sap/ushell/ui/footerbar/SaveAsTile.view.js +57 -55
  662. package/src/main/js/sap/ushell/ui/footerbar/SendAsEmailButton.js +13 -13
  663. package/src/main/js/sap/ushell/ui/launchpad/AccessibilityCustomData.js +4 -4
  664. package/src/main/js/sap/ushell/ui/launchpad/ActionItem.js +4 -4
  665. package/src/main/js/sap/ushell/ui/launchpad/AnchorItem.js +3 -3
  666. package/src/main/js/sap/ushell/ui/launchpad/AnchorItemRenderer.js +5 -5
  667. package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBar.js +56 -57
  668. package/src/main/js/sap/ushell/ui/launchpad/AnchorNavigationBarRenderer.js +8 -8
  669. package/src/main/js/sap/ushell/ui/launchpad/CatalogEntryContainer.js +36 -38
  670. package/src/main/js/sap/ushell/ui/launchpad/CatalogsContainer.js +40 -45
  671. package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainer.js +18 -18
  672. package/src/main/js/sap/ushell/ui/launchpad/DashboardGroupsContainerRenderer.js +5 -7
  673. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +33 -33
  674. package/src/main/js/sap/ushell/ui/launchpad/FailedTileDialog.js +13 -13
  675. package/src/main/js/sap/ushell/ui/launchpad/GroupHeaderActions.js +13 -13
  676. package/src/main/js/sap/ushell/ui/launchpad/GroupListItem.js +5 -7
  677. package/src/main/js/sap/ushell/ui/launchpad/GroupListItemRenderer.js +2 -2
  678. package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapper.js +18 -18
  679. package/src/main/js/sap/ushell/ui/launchpad/LinkTileWrapperRenderer.js +9 -9
  680. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialog.js +7 -7
  681. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +4 -4
  682. package/src/main/js/sap/ushell/ui/launchpad/Page.js +56 -59
  683. package/src/main/js/sap/ushell/ui/launchpad/PageRenderer.js +3 -3
  684. package/src/main/js/sap/ushell/ui/launchpad/PlusTile.js +5 -5
  685. package/src/main/js/sap/ushell/ui/launchpad/PlusTileRenderer.js +2 -2
  686. package/src/main/js/sap/ushell/ui/launchpad/Section.js +142 -142
  687. package/src/main/js/sap/ushell/ui/launchpad/SectionRenderer.js +8 -8
  688. package/src/main/js/sap/ushell/ui/launchpad/Tile.js +48 -49
  689. package/src/main/js/sap/ushell/ui/launchpad/TileContainer.js +60 -57
  690. package/src/main/js/sap/ushell/ui/launchpad/TileContainerRenderer.js +31 -31
  691. package/src/main/js/sap/ushell/ui/launchpad/TileContainerUtils.js +71 -71
  692. package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +8 -8
  693. package/src/main/js/sap/ushell/ui/launchpad/TileState.js +3 -3
  694. package/src/main/js/sap/ushell/ui/launchpad/TileStateInternal.js +7 -7
  695. package/src/main/js/sap/ushell/ui/launchpad/TileStateInternalRenderer.js +8 -8
  696. package/src/main/js/sap/ushell/ui/launchpad/TileStateRenderer.js +1 -2
  697. package/src/main/js/sap/ushell/ui/launchpad/ViewPortState.js +1 -1
  698. package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +41 -42
  699. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceAbap.js +25 -25
  700. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceBase.js +3 -3
  701. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +25 -25
  702. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLaunchPage.js +6 -6
  703. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceLink.js +11 -11
  704. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceRenderer.js +7 -7
  705. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +18 -18
  706. package/src/main/js/sap/ushell/ui/launchpad/section/CompactAreaRenderer.js +2 -2
  707. package/src/main/js/sap/ushell/ui/shell/ContentRenderer.js +8 -8
  708. package/src/main/js/sap/ushell/ui/shell/NavigationMiniTile.js +7 -7
  709. package/src/main/js/sap/ushell/ui/shell/OverflowListItem.js +5 -5
  710. package/src/main/js/sap/ushell/ui/shell/RightFloatingContainer.js +55 -55
  711. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +47 -45
  712. package/src/main/js/sap/ushell/ui/shell/ShellFloatingAction.js +5 -6
  713. package/src/main/js/sap/ushell/ui/shell/ShellFloatingActionRenderer.js +3 -4
  714. package/src/main/js/sap/ushell/ui/shell/ShellFloatingActions.js +18 -18
  715. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +28 -28
  716. package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +33 -35
  717. package/src/main/js/sap/ushell/ui/shell/SidePane.js +9 -10
  718. package/src/main/js/sap/ushell/ui/shell/SubHeader.js +3 -3
  719. package/src/main/js/sap/ushell/ui/shell/SysInfoBar.js +12 -13
  720. package/src/main/js/sap/ushell/ui/shell/SysInfoBarRenderer.js +7 -7
  721. package/src/main/js/sap/ushell/ui/shell/ToolArea.js +10 -10
  722. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +9 -9
  723. package/src/main/js/sap/ushell/ui/tile/DynamicTile.js +5 -5
  724. package/src/main/js/sap/ushell/ui/tile/DynamicTileRenderer.js +29 -31
  725. package/src/main/js/sap/ushell/ui/tile/ImageTile.js +3 -4
  726. package/src/main/js/sap/ushell/ui/tile/ImageTileRenderer.js +2 -4
  727. package/src/main/js/sap/ushell/ui/tile/StaticTile.js +3 -3
  728. package/src/main/js/sap/ushell/ui/tile/StaticTileRenderer.js +2 -4
  729. package/src/main/js/sap/ushell/ui/tile/TileBase.js +4 -6
  730. package/src/main/js/sap/ushell/ui/tile/TileBaseRenderer.js +20 -21
  731. package/src/main/js/sap/ushell/ui/utils.js +20 -21
  732. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +0 -1
  733. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +2 -2
  734. package/src/main/js/sap/ushell/ui5service/UserStatus.js +4 -4
  735. package/src/main/js/sap/ushell/utils/AppType.js +4 -4
  736. package/src/main/js/sap/ushell/utils/Deferred.js +2 -3
  737. package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +6 -9
  738. package/src/main/js/sap/ushell/utils/HttpClient.js +33 -35
  739. package/src/main/js/sap/ushell/utils/RestrictedJSONModel.js +3 -3
  740. package/src/main/js/sap/ushell/utils/UriParameters.js +35 -35
  741. package/src/main/js/sap/ushell/utils/UrlParsing.js +5 -10
  742. package/src/main/js/sap/ushell/utils/UrlShortening.js +45 -58
  743. package/src/main/js/sap/ushell/utils/WindowUtils.js +17 -17
  744. package/src/main/js/sap/ushell/utils/chipsUtils.js +53 -54
  745. package/src/main/js/sap/ushell/utils/objectOperations.js +14 -15
  746. package/src/main/js/sap/ushell/utils/tilecard/TileCard.js +168 -171
  747. package/src/main/js/sap/ushell/utils/tilecard/TileCardExtension.js +238 -240
  748. package/src/main/js/sap/ushell/utils/type.js +1 -2
  749. package/src/main/js/sap/ushell/utils/utilsCdm.js +37 -46
  750. package/src/main/js/sap/ushell/utils/workpage/DestinationResolver.js +3 -4
  751. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +29 -34
  752. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +18 -20
  753. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +5 -6
  754. package/src/main/js/sap/ushell/utils.js +195 -196
  755. package/src/test/js/sap/ushell/bootstrap/sandbox.js +8 -4
  756. package/ui5.yaml +0 -1
  757. package/src/main/js/sap/ushell/CanvasShapesManager.js +0 -392
  758. package/src/main/js/sap/ushell/components/shell/SearchCEP/ProvidersExecuter.js +0 -49
  759. package/src/main/js/sap/ushell/gen/ui5/webcomponents/Avatar.js +0 -4
  760. package/src/main/js/sap/ushell/gen/ui5/webcomponents/Button.js +0 -4
  761. package/src/main/js/sap/ushell/gen/ui5/webcomponents/Label.js +0 -4
  762. package/src/main/js/sap/ushell/gen/ui5/webcomponents/Menu.js +0 -4
  763. package/src/main/js/sap/ushell/gen/ui5/webcomponents/MenuItem.js +0 -4
  764. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationList.js +0 -4
  765. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationListGroupItem.js +0 -4
  766. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/NotificationListItem.js +0 -4
  767. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBar.js +0 -4
  768. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBarItem.js +0 -4
  769. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/ShellBarSpacer.js +0 -4
  770. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenu.js +0 -4
  771. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenuAccount.js +0 -4
  772. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/UserMenuItem.js +0 -4
@@ -1,7 +1,6 @@
1
1
  // Copyright (c) 2009-2025 SAP SE, All Rights Reserved
2
2
 
3
- sap.ui.define(
4
- [
3
+ sap.ui.define([
5
4
  "sap/ui/core/Control",
6
5
  "sap/ui/model/json/JSONModel",
7
6
  "sap/m/Title",
@@ -16,15 +15,15 @@ sap.ui.define(
16
15
  "sap/m/SegmentedButton",
17
16
  "sap/m/SegmentedButtonItem",
18
17
  "sap/m/IllustratedMessage",
19
- "./Paginator",
20
- "../appendStyleVars",
18
+ "sap/ushell/components/cepsearchresult/app/util/controls/Paginator",
19
+ "sap/ushell/components/cepsearchresult/app/util/appendStyleVars",
20
+ "sap/ushell/components/cepsearchresult/app/util/resources",
21
21
  "sap/ui/dom/includeStylesheet",
22
- "./Highlighter",
22
+ "sap/ushell/components/cepsearchresult/app/util/controls/Highlighter",
23
23
  "sap/ui/core/ResizeHandler",
24
24
  "sap/m/library"
25
25
  // "sap/base/util/fetch",
26
- ],
27
- function (
26
+ ], (
28
27
  Control,
29
28
  JSONModel,
30
29
  Title,
@@ -41,859 +40,908 @@ sap.ui.define(
41
40
  IllustratedMessage,
42
41
  Paginator,
43
42
  appendStyleVars,
43
+ utilResources,
44
44
  includeStylesheet,
45
45
  Highlighter,
46
46
  ResizeHandler,
47
47
  mLibrary
48
48
  // fetch
49
- ) {
49
+ ) => {
50
50
  "use strict";
51
+
51
52
  appendStyleVars([
52
- "sapUiShadowLevel0",
53
- "sapUiElementBorderCornerRadius",
54
- "sapUiContentLabelColor",
55
- "sapUiMarginSmall",
56
- "sapUiMarginMedium",
57
- "sapUiMarginTiny",
58
- "sapUiListBorderColor",
59
- "sapUiListBackground",
60
- "sapUiLink",
61
- "sapMFontMediumSize",
62
- "sapUiIndication8HoverBackground",
63
- "sapUiButtonCriticalBackground",
64
- "sapUiAccentBackgroundColor10",
65
- "sapUiButtonNegativeActiveBackground",
66
- "sapUiButtonSuccessActiveBackground",
67
- "sapUiButtonNeutralBackground",
68
- "sapUiTileBackground",
69
- "sapUiExtraLightBG",
70
- "sapUiButtonLiteActionSelectHoverBackground"
53
+ "sapUiShadowLevel0",
54
+ "sapUiElementBorderCornerRadius",
55
+ "sapUiContentLabelColor",
56
+ "sapUiMarginSmall",
57
+ "sapUiMarginMedium",
58
+ "sapUiMarginTiny",
59
+ "sapUiListBorderColor",
60
+ "sapUiListBackground",
61
+ "sapUiLink",
62
+ "sapMFontMediumSize",
63
+ "sapUiIndication8HoverBackground",
64
+ "sapUiButtonCriticalBackground",
65
+ "sapUiAccentBackgroundColor10",
66
+ "sapUiButtonNegativeActiveBackground",
67
+ "sapUiButtonSuccessActiveBackground",
68
+ "sapUiButtonNeutralBackground",
69
+ "sapUiTileBackground",
70
+ "sapUiExtraLightBG",
71
+ "sapUiButtonLiteActionSelectHoverBackground"
71
72
  ]);
72
73
 
73
74
  // Include the css for the control once
74
75
  includeStylesheet(sap.ui.require.toUrl("sap/ushell/components/cepsearchresult/app/util/controls/Category.css"));
75
76
 
76
- var IllustrationType = mLibrary.IllustratedMessageType;
77
+ const IllustrationType = mLibrary.IllustratedMessageType;
77
78
 
78
- var defaultItemWidths = {
79
- tile: 190,
80
- card: 400
79
+ const defaultItemWidths = {
80
+ tile: 190,
81
+ card: 400
81
82
  };
82
83
 
83
84
  // Fix object identifier handle press
84
85
  ObjectIdentifier.prototype._handlePress = function (oEvent) {
85
- var oClickedItem = oEvent.target;
86
- if (this.getTitleActive() && this.getDomRef().querySelector(".sapMObjectIdentifierTitle").contains(oClickedItem)) { // checking if the title is clicked
87
- this.fireTitlePress({
88
- domRef: oClickedItem
89
- });
86
+ const oClickedItem = oEvent.target;
87
+ if (this.getTitleActive() && this.getDomRef().querySelector(".sapMObjectIdentifierTitle").contains(oClickedItem)) { // checking if the title is clicked
88
+ this.fireTitlePress({
89
+ domRef: oClickedItem
90
+ });
91
+
92
+ // mark the event that it is handled by the control
93
+ oEvent.setMarked();
94
+ }
95
+ };
90
96
 
91
- // mark the event that it is handled by the control
92
- oEvent.setMarked();
93
- }
94
- };
95
-
96
- var Category = Control.extend(
97
- "sap.ushell.components.cepsearchresult.app.util.controls.Category", /** @lends sap.ushell.components.cepsearchresult.app.categories.util.Category.prototype */ {
98
- constructor: function (mCategoryConfig, oEdition, mSettings) {
99
- this._oCategoryConfig = mCategoryConfig;
100
- this._oEdition = oEdition;
101
- Control.apply(this, [mSettings]);
102
- },
103
- metadata: {
104
- properties: {
105
- pageSize: {
106
- type: "int",
107
- defaultValue: 10
108
- },
109
- showHeader: {
110
- type: "boolean",
111
- defaultValue: true
112
- },
113
- showFooter: {
114
- type: "boolean",
115
- defaultValue: true
116
- },
117
- allowViewSwitch: {
118
- type: "boolean",
119
- defaultValue: true
97
+ const Category = Control.extend(
98
+ "sap.ushell.components.cepsearchresult.app.util.controls.Category", /** @lends sap.ushell.components.cepsearchresult.app.categories.util.Category.prototype */ {
99
+ constructor: function (mCategoryConfig, oEdition, mSettings) {
100
+ this._oCategoryConfig = mCategoryConfig;
101
+ Control.apply(this, [mSettings]);
120
102
  },
121
- currentView: {
122
- type: "string",
123
- defaultValue: "categoryDefault"
103
+ metadata: {
104
+ properties: {
105
+ pageSize: {
106
+ type: "int",
107
+ defaultValue: 10
108
+ },
109
+ showHeader: {
110
+ type: "boolean",
111
+ defaultValue: true
112
+ },
113
+ showFooter: {
114
+ type: "boolean",
115
+ defaultValue: true
116
+ },
117
+ allowViewSwitch: {
118
+ type: "boolean",
119
+ defaultValue: true
120
+ },
121
+ currentView: {
122
+ type: "string",
123
+ defaultValue: "categoryDefault"
124
+ },
125
+ highlightResult: {
126
+ type: "boolean",
127
+ defaultValue: true
128
+ },
129
+ useIllustrations: {
130
+ type: "boolean",
131
+ defaultValue: false
132
+ },
133
+ initialPlaceholder: {
134
+ type: "boolean",
135
+ defaultValue: false
136
+ }
137
+ },
138
+ aggregations: {
139
+ _header: {
140
+ type: "sap.ui.core.Control",
141
+ multiple: false
142
+ },
143
+ _list: {
144
+ type: "sap.ui.core.Control",
145
+ multiple: false
146
+ },
147
+ _footer: {
148
+ type: "sap.ui.core.Control",
149
+ multiple: false
150
+ },
151
+ _nodata: {
152
+ type: "sap.ui.core.Control",
153
+ multiple: false
154
+ }
155
+ },
156
+ events: {
157
+ itemNavigate: {},
158
+ viewAll: {},
159
+ beforeSearch: {},
160
+ afterSearch: {},
161
+ afterRendering: {}
162
+ }
124
163
  },
125
- highlightResult: {
126
- type: "boolean",
127
- defaultValue: true
128
- },
129
- useIllustrations: {
130
- type: "boolean",
131
- defaultValue: false
132
- },
133
- initialPlaceholder: {
134
- type: "boolean",
135
- defaultValue: false
136
- }
137
- },
138
- aggregations: {
139
- _header: {
140
- type: "sap.ui.core.Control",
141
- multiple: false
142
- },
143
- _list: {
144
- type: "sap.ui.core.Control",
145
- multiple: false
146
- },
147
- _footer: {
148
- type: "sap.ui.core.Control",
149
- multiple: false
150
- },
151
- _nodata: {
152
- type: "sap.ui.core.Control",
153
- multiple: false
154
- }
155
- },
156
- events: {
157
- itemNavigate: {},
158
- viewAll: {},
159
- beforeSearch: {},
160
- afterSearch: {},
161
- afterRendering: {}
162
- }
163
- },
164
- renderer: function (rm, oControl) {
165
-
166
- rm.openStart("div", oControl);
167
- rm.class("sapUiCEPSearchCat");
168
- rm.openEnd();
169
-
170
- var oHeader = oControl.getAggregation("_header"),
171
- oList = oControl.getAggregation("_list"),
172
- oFooter = oControl.getAggregation("_footer"),
173
- oNoDataIllustration = oControl.getAggregation("_nodata");
174
-
175
- if (oHeader) {
176
- rm.renderControl(oHeader);
177
- }
178
- if (oControl.getUseIllustrations() &&
164
+ renderer: function (rm, oControl) {
165
+
166
+ rm.openStart("div", oControl);
167
+ rm.class("sapUiCEPSearchCat");
168
+ rm.openEnd();
169
+
170
+ const oHeader = oControl.getAggregation("_header");
171
+ const oList = oControl.getAggregation("_list");
172
+ const oFooter = oControl.getAggregation("_footer");
173
+ const oNoDataIllustration = oControl.getAggregation("_nodata");
174
+
175
+ if (oHeader) {
176
+ rm.renderControl(oHeader);
177
+ }
178
+ if (oControl.getUseIllustrations() &&
179
179
  oNoDataIllustration &&
180
180
  oNoDataIllustration.getVisible()) {
181
- rm.renderControl(oNoDataIllustration);
182
- } else if (oList) {
183
- rm.renderControl(oList);
184
- }
185
- if (oFooter) {
186
- rm.renderControl(oFooter);
187
- }
188
- rm.close("div");
189
- }
190
- });
181
+ rm.renderControl(oNoDataIllustration);
182
+ } else if (oList) {
183
+ rm.renderControl(oList);
184
+ }
185
+ if (oFooter) {
186
+ rm.renderControl(oFooter);
187
+ }
188
+ rm.close("div");
189
+ }
190
+ });
191
191
 
192
192
  Category._iDataRefreshMs = 1000000000;
193
193
  Category._iCountRefreshMs = 1000000000;
194
194
 
195
195
  Category.CustomListItem = CustomListItem.extend("sap.ushell.components.cepsearchresult.app.util.controls.Category.CustomListItem", {
196
- renderer: CustomListItem.getMetadata().getRenderer()
196
+ renderer: CustomListItem.getMetadata().getRenderer()
197
197
  });
198
198
 
199
199
  Category.CustomListItem.prototype.onAfterRendering = function () {
200
- if (CustomListItem.prototype.onAfterRendering) {
201
- CustomListItem.prototype.onAfterRendering.apply(this, arguments);
202
- }
203
- this._activeHandling(this.$());
200
+ if (CustomListItem.prototype.onAfterRendering) {
201
+ CustomListItem.prototype.onAfterRendering.apply(this, arguments);
202
+ const oItemDomRef = this.getDomRef();
203
+ const oPaginator = this.getParent().getParent().getPaginator();
204
+ if (!oItemDomRef || !oPaginator) {
205
+ return;
206
+ }
207
+ oItemDomRef.setAttribute("aria-setsize",
208
+ oPaginator.getCount()
209
+ );
210
+ oItemDomRef.setAttribute("aria-posinset",
211
+ ((oPaginator.getCurrentPage() - 1) *
212
+ oPaginator.getPageSize()) +
213
+ parseInt(oItemDomRef.getAttribute("aria-posinset"), 10)
214
+ );
215
+
216
+ }
217
+ this._activeHandling(this.$());
204
218
  };
205
219
 
206
220
  Category.CustomListItem.prototype._activeHandling = function ($This) {
207
- $This.removeClass("sapMLIBActive");
208
- $This.removeClass("sapMLIBActionable");
209
- $This.removeClass("sapMLIBHoverable");
210
- $This.toggleClass("sapUiCEPSearchCatLIActive", this._active);
221
+ $This.removeClass("sapMLIBActive");
222
+ $This.removeClass("sapMLIBActionable");
223
+ $This.removeClass("sapMLIBHoverable");
224
+ $This.toggleClass("sapUiCEPSearchCatLIActive", this._active);
211
225
 
212
- if (this.isActionable(true)) {
213
- $This.toggleClass("sapUiCEPSearchCatLIHoverable", !this._active);
214
- }
226
+ if (this.isActionable(true)) {
227
+ $This.toggleClass("sapUiCEPSearchCatLIHoverable", !this._active);
228
+ }
215
229
  };
216
230
 
217
231
  Category.SearchResultList = List.extend("sap.ushell.components.cepsearchresult.app.util.controls.Category.SearchResultList", {
218
- renderer: List.getMetadata().getRenderer()
232
+ renderer: List.getMetadata().getRenderer()
219
233
  });
220
234
 
221
235
  Category.SearchResultList.prototype._getCurrentColCount = function () {
222
- if (this.getDomRef()) {
223
- var aItems = this.getDomRef().querySelectorAll(".sapMListItems > LI"),
224
- iCols = 1,
225
- iTop = aItems[0].offsetTop;
226
- for (var i = 1; i < aItems.length && aItems[i].offsetTop <= iTop; i++) {
227
- iCols++;
236
+ if (this.getDomRef()) {
237
+ const aItems = this.getDomRef().querySelectorAll(".sapMListItems > LI");
238
+ let iCols = 1;
239
+ const iTop = aItems[0].offsetTop;
240
+ for (let i = 1; i < aItems.length && aItems[i].offsetTop <= iTop; i++) {
241
+ iCols++;
242
+ }
243
+ return iCols;
228
244
  }
229
- return iCols;
230
- }
231
245
  };
232
246
 
233
247
  Category.SearchResultList.prototype._startItemNavigation = function () {
234
- List.prototype._startItemNavigation.apply(this, [false]);
235
- var iColCount = this._getCurrentColCount();
236
- var aTiles = Array.from(this.getDomRef().querySelectorAll(".sapMGT"));
237
- if (this._oItemNavigation && iColCount > 1 && aTiles.length > 0) {
238
- this._oItemNavigation.setTableMode(false, true).setColumns(iColCount);
239
- } else if (this._oItemNavigation) {
240
- this._oItemNavigation.setTableMode(false, true).setColumns(iColCount);
241
- }
248
+ List.prototype._startItemNavigation.apply(this, [false]);
249
+ const iColCount = this._getCurrentColCount();
250
+ const aTiles = Array.from(this.getDomRef().querySelectorAll(".sapMGT"));
251
+ if (this._oItemNavigation && iColCount > 1 && aTiles.length > 0) {
252
+ this._oItemNavigation.setTableMode(false, true).setColumns(iColCount);
253
+ } else if (this._oItemNavigation) {
254
+ this._oItemNavigation.setTableMode(false, true).setColumns(iColCount);
255
+ }
242
256
  };
243
257
 
244
258
  Category.prototype.init = function () {
245
- var oResourceModel = this.getResourceModel();
246
- this.setModel(oResourceModel, "i18n");
247
- this.setModel(new JSONModel({}), "data");
248
- this._oResourceBundle = oResourceModel.getResourceBundle();
249
- this._iCurrentCount = 0;
250
- this._oDirty = {
251
- iDataFetchRequired: 0,
252
- iCountFetchRequired: 0
253
- };
254
- this._oNoDataIllustration = null;
255
- this._oErrorIllustration = null;
256
- this._iCurrentHeight = 0;
257
- this._iAfterRendering = 0;
258
- this._iAfterRenderingEventDelay = 60;
259
- this.addContent();
259
+ this.setModel(utilResources.model, "i18n");
260
+ this.setModel(new JSONModel({}), "data");
261
+ this._iCurrentCount = 0;
262
+ this._oDirty = {
263
+ iDataFetchRequired: 0,
264
+ iCountFetchRequired: 0
265
+ };
266
+ this._oNoDataIllustration = null;
267
+ this._oErrorIllustration = null;
268
+ this._iCurrentHeight = 0;
269
+ this._iAfterRendering = 0;
270
+ this._iAfterRenderingEventDelay = 60;
271
+ this._oPaginator = null;
272
+ this.addContent();
273
+ };
274
+
275
+ Category.prototype.getPaginator = function () {
276
+ return this._oPaginator;
260
277
  };
261
278
 
262
279
  Category.prototype.addContent = function () {
263
- this.setAggregation("_header", this.createHeader());
264
- this.setAggregation("_list", this.createList());
265
- this.setAggregation("_footer", this.createFooter());
280
+ this.setAggregation("_header", this.createHeader());
281
+ this.setAggregation("_list", this.createList());
282
+ this.setAggregation("_footer", this.createFooter());
266
283
  };
267
284
 
268
285
  Category.prototype.getKey = function () {
269
- return this._oCategoryConfig.name;
286
+ return this._oCategoryConfig.name;
270
287
  };
271
288
 
272
289
  Category.prototype.translate = function (sSubKey, aArgs) {
273
- var sCatKey = this._oCategoryConfig.translation;
274
- return this._oResourceBundle.getText(sCatKey + "." + sSubKey, aArgs || []);
290
+ const sCatKey = this._oCategoryConfig.translation;
291
+ return utilResources.bundle.getText(`${sCatKey}.${sSubKey}`, aArgs || []);
275
292
  };
276
293
 
277
294
  Category.prototype.updateDataModel = function (oData) {
278
- this.setModel(new JSONModel(oData), "data");
295
+ this.setModel(new JSONModel(oData), "data");
279
296
  };
280
297
 
281
298
  Category.prototype.initialData = function (iCount) {
282
- var oModel = this.getModel("data");
283
- if (!oModel && this.getInitialPlaceholder() && this.getPlaceholderData()) {
284
- var aData = [];
285
- for (var i = 0; i < iCount; i++) {
286
- aData.push(this.getPlaceholderData());
287
- }
288
- this.updateDataModel({
289
- data: aData
290
- });
291
- }
299
+ const oModel = this.getModel("data");
300
+ if (!oModel && this.getInitialPlaceholder() && this.getPlaceholderData()) {
301
+ const aData = [];
302
+ for (let i = 0; i < iCount; i++) {
303
+ aData.push(this.getPlaceholderData());
304
+ }
305
+ this.updateDataModel({
306
+ data: aData
307
+ });
308
+ }
292
309
  };
293
310
 
294
311
  Category.prototype.resetDataRequired = function (sSearchTerm, iSkip, iTop) {
295
- if (this._bResetData) {
296
- this._sSearchTerm = sSearchTerm;
297
- this._iSkip = iSkip;
298
- this._iTop = iTop;
299
- return true;
300
- }
301
- var bVisible = this.getVisible();
302
- if (
303
- this._sSearchTerm === sSearchTerm &&
312
+ if (this._bResetData) {
313
+ this._sSearchTerm = sSearchTerm;
314
+ this._iSkip = iSkip;
315
+ this._iTop = iTop;
316
+ return true;
317
+ }
318
+ const bVisible = this.getVisible();
319
+ if (
320
+ this._sSearchTerm === sSearchTerm &&
304
321
  (this._iSkip === iSkip &&
305
322
  this._iTop === iTop &&
306
323
  (bVisible && this._oDirty.iDataFetchRequired > Date.now())) ||
307
324
  (!bVisible && this._oDirty.iCountFetchRequired > Date.now())
308
- ) {
309
- return false;
310
- }
311
- this._sSearchTerm = sSearchTerm;
312
- this._iSkip = iSkip;
313
- this._iTop = iTop;
314
- return true;
325
+ ) {
326
+ return false;
327
+ }
328
+ this._sSearchTerm = sSearchTerm;
329
+ this._iSkip = iSkip;
330
+ this._iTop = iTop;
331
+ return true;
315
332
  };
316
333
 
317
334
  Category.prototype.resetData = function () {
318
- this._bResetData = true;
319
- this.updateDataModel({});
335
+ this._bResetData = true;
336
+ this.updateDataModel({});
320
337
  };
321
338
 
322
339
  Category.prototype.search = function (sSearchTerm, iSkip, iTop, bForced) {
323
- iTop = isNaN(iTop) || iTop < 0 ? this._iTop || this.getPageSize() : iTop;
324
- iSkip = isNaN(iSkip) || iSkip < 0 ? this._iSkip || 0 : iSkip;
325
- if (typeof sSearchTerm !== "string") {
326
- sSearchTerm = this.getSearchTerm();
327
- }
328
- var bVisible = this.getVisible(),
329
- bSearchTermChanged = this._sSearchTerm !== sSearchTerm,
330
- pFetch,
331
- oCurrentData = this.getModel("data").getData() || {};
332
-
333
- if (!bForced && !this.resetDataRequired(sSearchTerm, iSkip, iTop)) {
334
- this.fireFetchEvent("before", "skipped", oCurrentData);
335
- this.fireFetchEvent("after", "skipped", oCurrentData);
336
- return;
337
- }
338
-
339
- this._iCurrentCount = 0;
340
- this._bResetData = false;
341
- this._bIsLoading = true;
342
-
343
- this.fireFetchEvent("before", bVisible ? "data" : "count", performance.now(), oCurrentData);
344
-
345
- if (bVisible) {
346
- this.setNoDataText(this.translate("LoadingData"), "Loading");
347
- this.initialData(iTop);
348
- this.showLoadingPlaceholder(true);
349
- this._oDirty.iDataFetchRequired = (Date.now() + Category._iDataRefreshMs);
350
- pFetch = this.fetchData(sSearchTerm, iSkip, iTop);
351
- pFetch = pFetch.then(this.applyDataChange.bind(this, bSearchTermChanged));
352
- } else {
353
- pFetch = this.fetchCount(sSearchTerm, iSkip, iTop);
354
- pFetch = pFetch.then(this.applyCount.bind(this));
355
- }
356
- this._oDirty.iCountFetchRequired = (Date.now() + Category._iCountRefreshMs);
357
-
358
- if (pFetch) {
359
- pFetch.then(function (oData) {
360
- this._iCurrentCount = oData.count || 0;
361
- setTimeout(function () {
362
- this.setNoDataText(this.translate("NoData"), "NoData");
363
- }.bind(this), 100);
364
- this.fireFetchEvent("after", bVisible ? "data" : "count", oData);
365
- }.bind(this));
366
- }
340
+ iTop = isNaN(iTop) || iTop < 0 ? this._iTop || this.getPageSize() : iTop;
341
+ iSkip = isNaN(iSkip) || iSkip < 0 ? this._iSkip || 0 : iSkip;
342
+ if (typeof sSearchTerm !== "string") {
343
+ sSearchTerm = this.getSearchTerm();
344
+ }
345
+ const bVisible = this.getVisible();
346
+ const bSearchTermChanged = this._sSearchTerm !== sSearchTerm;
347
+ let pFetch;
348
+ const oCurrentData = this.getModel("data").getData() || {};
349
+
350
+ if (!bForced && !this.resetDataRequired(sSearchTerm, iSkip, iTop)) {
351
+ this.fireFetchEvent("before", "skipped", oCurrentData);
352
+ this.fireFetchEvent("after", "skipped", oCurrentData);
353
+ return;
354
+ }
355
+
356
+ this._iCurrentCount = 0;
357
+ this._bResetData = false;
358
+ this._bIsLoading = true;
359
+
360
+ this.fireFetchEvent("before", bVisible ? "data" : "count", performance.now(), oCurrentData);
361
+
362
+ if (bVisible) {
363
+ this.setNoDataText(this.translate("LoadingData"), "Loading");
364
+ this.initialData(iTop);
365
+ this.showLoadingPlaceholder(true);
366
+ this._oDirty.iDataFetchRequired = (Date.now() + Category._iDataRefreshMs);
367
+ pFetch = this.fetchData(sSearchTerm, iSkip, iTop);
368
+ pFetch = pFetch.then(this.applyDataChange.bind(this, bSearchTermChanged));
369
+ } else {
370
+ pFetch = this.fetchCount(sSearchTerm, iSkip, iTop);
371
+ pFetch = pFetch.then(this.applyCount.bind(this));
372
+ }
373
+ this._oDirty.iCountFetchRequired = (Date.now() + Category._iCountRefreshMs);
374
+
375
+ if (pFetch) {
376
+ pFetch.then((oData) => {
377
+ this._iCurrentCount = oData.count || 0;
378
+ setTimeout(() => {
379
+ this.setNoDataText(this.translate("NoData"), "NoData");
380
+ }, 100);
381
+ this.fireFetchEvent("after", bVisible ? "data" : "count", oData);
382
+ });
383
+ }
367
384
  };
368
385
 
369
386
  Category.prototype.getMaxRowItemsAsync = function () {
370
- if (!this.getDomRef()) {
371
- return new Promise(function (resolve) {
372
- setTimeout(function () {
373
- resolve(this._getMaxRowItems());
374
- }.bind(this), 200);
375
- }.bind(this));
376
- }
377
- return Promise.resolve(this._getMaxRowItems());
387
+ if (!this.getDomRef()) {
388
+ return new Promise((resolve) => {
389
+ setTimeout(() => {
390
+ resolve(this._getMaxRowItems());
391
+ }, 200);
392
+ });
393
+ }
394
+ return Promise.resolve(this._getMaxRowItems());
378
395
  };
379
396
 
380
397
  Category.prototype._getMaxRowItems = function () {
381
- if (this.getDomRef()) {
382
- var iPixelWidth = this.getDomRef().clientWidth;
383
- return Math.floor(iPixelWidth / (defaultItemWidths[this.getCurrentView()] || iPixelWidth));
384
- }
385
- return 1;
398
+ if (this.getDomRef()) {
399
+ const iPixelWidth = this.getDomRef().clientWidth;
400
+ return Math.floor(iPixelWidth / (defaultItemWidths[this.getCurrentView()] || iPixelWidth));
401
+ }
402
+ return 1;
386
403
  };
387
404
 
388
405
 
389
406
  Category.prototype.applyDataChange = function (bSearchTermChanged, oResultData) {
390
- var oData = {
391
- count: oResultData.count,
392
- top: this.getPageSize(),
393
- skip: this._iSkip,
394
- page: Math.floor(this._iSkip / this.getPageSize()) + 1,
395
- data: oResultData.data
396
- };
397
- this.showLoadingPlaceholder(false, function () {
398
- this.updateDataModel(oData);
399
- this.fixHeight(bSearchTermChanged);
400
- }.bind(this));
401
- return oData;
407
+ const oData = {
408
+ count: oResultData.count,
409
+ top: this.getPageSize(),
410
+ skip: this._iSkip,
411
+ page: Math.floor(this._iSkip / this.getPageSize()) + 1,
412
+ data: oResultData.data
413
+ };
414
+ this.showLoadingPlaceholder(false, () => {
415
+ this.updateDataModel(oData);
416
+ this.fixHeight(bSearchTermChanged);
417
+ });
418
+ return oData;
402
419
  };
403
420
 
404
421
  Category.prototype.applyCount = function (oResultData) {
405
- var oData = {
406
- count: oResultData.count,
407
- top: this._iTop,
408
- skip: this._iSkip,
409
- page: Math.floor(this._iSkip / this._iTop) + 1,
410
- data: []
411
- };
412
- this.updateDataModel(oData);
413
- return oData;
422
+ const oData = {
423
+ count: oResultData.count,
424
+ top: this._iTop,
425
+ skip: this._iSkip,
426
+ page: Math.floor(this._iSkip / this._iTop) + 1,
427
+ data: []
428
+ };
429
+ this.updateDataModel(oData);
430
+ return oData;
414
431
  };
415
432
 
416
433
  Category.prototype.fireFetchEvent = function (sBeforeAfter, sFetchType, oResultData) {
417
- var oEventData = {
418
- count: oResultData ? oResultData.count || 0 : 0,
419
- category: this.getKey(),
420
- top: this._iTop,
421
- skip: this._iSkip,
422
- page: (this._iSkip / this._iTop) + 1,
423
- searchTerm: this._sSearchTerm,
424
- visible: this.getVisible(),
425
- time: performance.now(),
426
- fetchType: sFetchType
427
- };
428
- if (sBeforeAfter === "before") {
429
- this.fireBeforeSearch(oEventData);
430
- } else if (sBeforeAfter === "after") {
431
- this.fireAfterSearch(oEventData);
432
- }
434
+ const oEventData = {
435
+ count: oResultData ? oResultData.count || 0 : 0,
436
+ category: this.getKey(),
437
+ top: this._iTop,
438
+ skip: this._iSkip,
439
+ page: (this._iSkip / this._iTop) + 1,
440
+ searchTerm: this._sSearchTerm,
441
+ visible: this.getVisible(),
442
+ time: performance.now(),
443
+ fetchType: sFetchType
444
+ };
445
+ if (sBeforeAfter === "before") {
446
+ this.fireBeforeSearch(oEventData);
447
+ } else if (sBeforeAfter === "after") {
448
+ this.fireAfterSearch(oEventData);
449
+
450
+ }
433
451
  };
434
452
 
435
453
  Category.prototype.fetchData = function (sSearchTerm, iSkip, iTop) {
436
- return Promise.resolve({
437
- data: [],
438
- count: 0
439
- });
454
+ return Promise.resolve({
455
+ data: [],
456
+ count: 0
457
+ });
440
458
  };
441
459
 
442
460
  Category.prototype.fetchCount = function (sSearchTerm, iSkip, iTop) {
443
- return Promise.resolve({
444
- data: [],
445
- count: 0
446
- });
461
+ return Promise.resolve({
462
+ data: [],
463
+ count: 0
464
+ });
447
465
  };
448
466
 
449
467
  Category.prototype.showLoadingPlaceholder = function (bShow, fAfterPlaceholderHidden) {
450
- if (bShow) {
451
- if (this._iShowLoader) {
452
- clearTimeout(this._iShowLoader);
453
- }
454
- this._iShowLoader = setTimeout(
455
- function () {
456
- this._oList.addStyleClass("loading");
457
- }.bind(this), 200
458
- );
459
- } else if (this._iShowLoader) {
460
- clearTimeout(this._iShowLoader);
461
- this._iShowLoader = setTimeout(
462
- function () {
463
- this._oList.removeStyleClass("loading");
464
- if (fAfterPlaceholderHidden) {
465
- fAfterPlaceholderHidden();
468
+ if (bShow) {
469
+ if (this._iShowLoader) {
470
+ clearTimeout(this._iShowLoader);
466
471
  }
467
- this.invalidate();
468
- this._bIsLoading = false;
469
- }.bind(this), this._oList.hasStyleClass("loading") ? 100 : 0
470
- );
471
- }
472
+ this._iShowLoader = setTimeout(
473
+ () => {
474
+ this._oList.addStyleClass("loading");
475
+ }, 200
476
+ );
477
+ } else if (this._iShowLoader) {
478
+ clearTimeout(this._iShowLoader);
479
+ this._iShowLoader = setTimeout(
480
+ () => {
481
+ this._oList.removeStyleClass("loading");
482
+ if (fAfterPlaceholderHidden) {
483
+ fAfterPlaceholderHidden();
484
+ }
485
+ this.invalidate();
486
+ this._bIsLoading = false;
487
+ }, this._oList.hasStyleClass("loading") ? 100 : 0
488
+ );
489
+ }
472
490
  };
473
491
 
474
492
  Category.prototype.isLoading = function () {
475
- return this._bIsLoading;
493
+ return this._bIsLoading;
476
494
  };
477
495
 
478
496
  Category.prototype.getPlaceholderData = function () {
479
- return {
480
- text: " ",
481
- description: " "
482
- };
497
+ return {
498
+ text: " ",
499
+ description: " "
500
+ };
483
501
  };
484
502
 
485
503
  Category.prototype.refreshData = function () {
486
- this._oDirty.iDataFetchRequired = 0;
487
- this.search(this.getSearchTerm(), 0, this.getPageSize());
504
+ this._oDirty.iDataFetchRequired = 0;
505
+ this.search(this.getSearchTerm(), 0, this.getPageSize());
488
506
  };
489
507
 
490
508
  Category.prototype.bindListViewItems = function (sView) {
491
- var oTemplate = this.getItemTemplate(sView);
492
- this._oList.addStyleClass(sView);
493
- this._oList.bindItems({
494
- path: "data>/data",
495
- template: oTemplate,
496
- templateShareable: false
497
- });
509
+ const oTemplate = this.getItemTemplate(sView);
510
+ this._oList.addStyleClass(sView);
511
+ this._oList.bindItems({
512
+ path: "data>/data",
513
+ template: oTemplate,
514
+ templateShareable: false
515
+ });
498
516
  };
499
517
 
500
518
  Category.prototype.setNoDataText = function (sText, sType) {
501
- this.updateIllustration(sText, "Hide");
502
- if (this._oList && !this.bPaging) {
503
- this._oList.setNoDataText(" ");
504
- this.updateIllustration(sText, sType);
505
- this._oList.setNoDataText(sText);
506
- }
519
+ this.updateIllustration(sText, "Hide");
520
+ if (this._oList && !this.bPaging) {
521
+ this._oList.setNoDataText(" ");
522
+ this.updateIllustration(sText, sType);
523
+ this._oList.setNoDataText(sText);
524
+ }
507
525
  };
508
526
 
509
527
  Category.prototype.getItemTemplate = function (sView) {
510
- var oTemplate = null;
511
- switch (sView) {
512
- case "card": oTemplate = this.createCardItemTemplate(); break;
513
- case "tile": oTemplate = this.createTileItemTemplate(); break;
514
- default: oTemplate = this.createListItemTemplate();
515
- }
516
- return oTemplate.addStyleClass("sapUiCEPSearchCatLI " + sView + " " + this.getKey());
528
+ let oTemplate = null;
529
+ switch (sView) {
530
+ case "card": oTemplate = this.createCardItemTemplate(); break;
531
+ case "tile": oTemplate = this.createTileItemTemplate(); break;
532
+ default: oTemplate = this.createListItemTemplate();
533
+ }
534
+ return oTemplate.addStyleClass(`sapUiCEPSearchCatLI ${sView} ${this.getKey()}`);
517
535
  };
518
536
 
519
537
  Category.prototype.setFooter = function (sType) {
520
- if (sType === "viewAll") {
521
- this.setAggregation("_footer", this.createFooter(sType));
522
- }
538
+ if (sType === "viewAll") {
539
+ this.setAggregation("_footer", this.createFooter(sType));
540
+ }
541
+ };
542
+
543
+ Category.prototype.focusCategory = function () {
544
+ this._forceFocus = "parent";
523
545
  };
524
546
 
525
547
  Category.prototype.createHeader = function () {
526
- this._oHeader = new OverflowToolbar({
527
- content: [
528
- new ToolbarSpacer({ width: ".5rem" }),
529
- this.createTitle(),
530
- this.createCounter(),
531
- new ToolbarSpacer(),
532
- this.createViewButtons(),
533
- new ToolbarSpacer({ width: "1rem" })
534
- ]
535
- }).addStyleClass("sapUiCEPSearchCatHeaderTB");
536
- return this._oHeader;
548
+ this._oHeader = new OverflowToolbar({
549
+ content: [
550
+ new ToolbarSpacer({ width: ".5rem" }),
551
+ this.createTitle(),
552
+ this.createCounter(),
553
+ new ToolbarSpacer(),
554
+ this.createViewButtons(),
555
+ new ToolbarSpacer({ width: "1rem" })
556
+ ]
557
+ }).addStyleClass("sapUiCEPSearchCatHeaderTB");
558
+ return this._oHeader;
537
559
  };
538
560
 
539
561
  Category.prototype.getPaginatorSettings = function () {
540
- return {
541
- visible: true,
542
- count: "{= ${data>/count}}",
543
- pageSize: "{= ${data>/top}}",
544
- currentPage: "{= ${data>/page}}",
545
- selectPage: function (oEvent) {
546
-
547
- this.fixHeight();
548
- this.bPaging = true;
549
- this.search(
550
- this.getSearchTerm(),
551
- oEvent.getParameter("startIndex"),
552
- oEvent.getParameter("pageSize")
553
- );
554
- this.bPaging = false;
555
- }.bind(this)
556
- };
562
+ return {
563
+ visible: true,
564
+ count: "{= ${data>/count}}",
565
+ pageSize: "{= ${data>/top}}",
566
+ currentPage: "{= ${data>/page}}",
567
+ selectPage: function (oEvent) {
568
+ this.fixHeight();
569
+ this.bPaging = true;
570
+ this._forceFocus = "page";
571
+ this._forceFocusPage = oEvent.mParameters.page;
572
+ this.search(
573
+ this.getSearchTerm(),
574
+ oEvent.getParameter("startIndex"),
575
+ oEvent.getParameter("pageSize")
576
+ );
577
+ this.bPaging = false;
578
+ }.bind(this)
579
+ };
557
580
  };
558
581
 
559
582
  Category.prototype.getSearchTerm = function () {
560
- return this._sSearchTerm || "";
583
+ return this._sSearchTerm || "";
561
584
  };
562
585
 
563
586
  Category.prototype.getResultCount = function () {
564
- return this.getModel("data").getProperty("/count");
565
- };
566
-
567
- Category.prototype.getResourceModel = function () {
568
- return this._oEdition.getResourceModel();
587
+ return this.getModel("data").getProperty("/count");
569
588
  };
570
589
 
571
590
  Category.prototype.getViewSettings = function () {
572
- return {
573
- views: [
574
- {
575
- key: "list",
576
- icon: "sap-icon://text-align-justified"
577
- },
578
- {
579
- key: "card",
580
- icon: "sap-icon://business-card"
581
- }
582
- ],
583
- default: "list"
584
- };
591
+ return {
592
+ views: [
593
+ {
594
+ key: "list",
595
+ icon: "sap-icon://text-align-justified"
596
+ },
597
+ {
598
+ key: "card",
599
+ icon: "sap-icon://business-card"
600
+ }
601
+ ],
602
+ default: "list"
603
+ };
585
604
  };
586
605
 
587
606
  Category.prototype.getDefaultIcon = function () {
588
- return this._oCategoryConfig.icon.src;
607
+ return this._oCategoryConfig.icon.src;
589
608
  };
590
609
 
591
610
  Category.prototype.getCurrentView = function () {
592
- var sCurrentView = this.getProperty("currentView");
593
- if (sCurrentView === "categoryDefault") {
594
- this.setProperty("currentView", this.getViewSettings().default);
595
- return this.getViewSettings().default;
596
- }
597
- return sCurrentView;
611
+ const sCurrentView = this.getProperty("currentView");
612
+ if (sCurrentView === "categoryDefault") {
613
+ this.setProperty("currentView", this.getViewSettings().default);
614
+ return this.getViewSettings().default;
615
+ }
616
+ return sCurrentView;
598
617
  };
599
618
 
600
619
  Category.prototype.setShowHeader = function (bShow) {
601
- this._oHeader.setVisible(bShow);
602
- this._oList.removeStyleClass("noheader");
603
- if (!bShow) {
604
- this._oList.addStyleClass("noheader");
605
- }
606
- return this.setProperty("showHeader", bShow);
620
+ this._oHeader.setVisible(bShow);
621
+ this._oList.removeStyleClass("noheader");
622
+ if (!bShow) {
623
+ this._oList.addStyleClass("noheader");
624
+ }
625
+ return this.setProperty("showHeader", bShow);
607
626
  };
608
627
 
609
628
  Category.prototype.setShowFooter = function (bShow) {
610
- this.getAggregation("_footer").setVisible(bShow);
611
- return this.setProperty("showFooter", bShow);
629
+ this.getAggregation("_footer").setVisible(bShow);
630
+ return this.setProperty("showFooter", bShow);
612
631
  };
613
632
 
614
633
  Category.prototype.setAllowViewSwitch = function (bShow) {
615
- this._oViewSwitch.setVisible(bShow && this._oViewSwitch.getItems().length > 1);
616
- return this.setProperty("allowViewSwitch", bShow);
634
+ this._oViewSwitch.setVisible(bShow && this._oViewSwitch.getItems().length > 1);
635
+ return this.setProperty("allowViewSwitch", bShow);
617
636
  };
618
637
 
619
638
  Category.prototype.setCurrentView = function (sView) {
620
- var sPreviousView = this.getCurrentView();
621
- if (sPreviousView !== sView) {
622
- this._oList.unbindItems();
623
- this.setProperty("currentView", sView);
624
- sView = this.getCurrentView();
625
- this._oViewSwitch.setSelectedKey(sView);
626
- this._oList.removeStyleClass(sPreviousView);
627
- this.bindListViewItems(sView);
628
- this._oList.addStyleClass(sView);
629
- this._iCurrentHeight = 0;
630
- this.search(this._sSearchTerm, this._iSkip, this.iTop, true);
631
- }
632
- return this;
639
+ const sPreviousView = this.getCurrentView();
640
+ if (sPreviousView !== sView) {
641
+ this._oList.unbindItems();
642
+ this.setProperty("currentView", sView);
643
+ sView = this.getCurrentView();
644
+ this._oViewSwitch.setSelectedKey(sView);
645
+ this._oList.removeStyleClass(sPreviousView);
646
+ this.bindListViewItems(sView);
647
+ this._oList.addStyleClass(sView);
648
+ this._iCurrentHeight = 0;
649
+ this.search(this._sSearchTerm, this._iSkip, this.iTop, true);
650
+ }
651
+ return this;
633
652
  };
634
653
 
635
654
  Category.prototype.setPageSize = function (iValue) {
636
- this.setProperty("pageSize", iValue);
637
- if (this.getDomRef()) {
638
- this.refreshData();
639
- }
640
- return this;
655
+ this.setProperty("pageSize", iValue);
656
+ if (this.getDomRef()) {
657
+ this.refreshData();
658
+ }
659
+ return this;
641
660
  };
642
661
 
643
662
  Category.prototype.createCounter = function () {
644
- return new Title({
645
- text: "{= isNaN(${data>/count}) ? '...' : '('+ ${data>/count} + ')'}",
646
- level: "H4"
647
- });
663
+ return new Title({
664
+ text: "{= isNaN(${data>/count}) ? '...' : '('+ ${data>/count} + ')'}",
665
+ level: "H4"
666
+ });
648
667
  };
649
668
 
650
669
  Category.prototype.createTitle = function () {
651
- this._oTitle = new Title({
652
- text: this._oCategoryConfig.title,
653
- level: "H4"
654
- });
655
- return this._oTitle;
670
+ this._oTitle = new Title({
671
+ text: this._oCategoryConfig.title,
672
+ level: "H4"
673
+ });
674
+ return this._oTitle;
656
675
  };
657
676
 
658
677
  Category.prototype.createList = function () {
659
- this._oList = new Category.SearchResultList({
660
- inset: false,
661
- noDataText: " ",
662
- growingThreshold: this.getPageSize()
663
- });
664
- this._oList.addStyleClass("sapUiCEPSearchCatList");
665
- this.bindListViewItems(this.getCurrentView());
666
- return this._oList;
678
+ this._oList = new Category.SearchResultList({
679
+ inset: false,
680
+ noDataText: " ",
681
+ growing: true,
682
+ growingThreshold: "{= ${data>/count}}"
683
+ });
684
+ this._oList.addStyleClass("sapUiCEPSearchCatList");
685
+ this.bindListViewItems(this.getCurrentView());
686
+ return this._oList;
667
687
  };
668
688
 
669
689
  Category.prototype.createViewButtons = function () {
670
- var oViewSettings = this.getViewSettings();
671
- var aItems = oViewSettings.views.map(function (oView) {
672
- var sKey = oView.key.charAt(0).toUpperCase() + oView.key.slice(1);
673
- oView.tooltip = "{i18n>CATEGORY.Views." + sKey + "ButtonTooltip}";
674
- return new SegmentedButtonItem(oView);
675
- });
676
- this._oViewSwitch = new SegmentedButton({
677
- selectedKey: this.getCurrentView(),
678
- visible: aItems.length > 1,
679
- items: aItems,
680
- selectionChange: function (oEvent) {
681
- var oItem = oEvent.getParameter("item");
682
- this.setCurrentView(oItem.getKey());
683
- }.bind(this)
684
- });
685
- return this._oViewSwitch;
690
+ const oViewSettings = this.getViewSettings();
691
+ const aItems = oViewSettings.views.map((oView) => {
692
+ const sKey = oView.key.charAt(0).toUpperCase() + oView.key.slice(1);
693
+ oView.tooltip = `{i18n>CATEGORY.Views.${sKey}ButtonTooltip}`;
694
+ return new SegmentedButtonItem(oView);
695
+ });
696
+ this._oViewSwitch = new SegmentedButton({
697
+ selectedKey: this.getCurrentView(),
698
+ visible: aItems.length > 1,
699
+ items: aItems,
700
+ selectionChange: function (oEvent) {
701
+ const oItem = oEvent.getParameter("item");
702
+ this.setCurrentView(oItem.getKey());
703
+ }.bind(this)
704
+ });
705
+ return this._oViewSwitch;
686
706
  };
687
707
 
688
708
  Category.prototype.createDefaultItemTemplate = function () {
689
- var oAvatar = new Avatar(this.getItemAvatarSettings())
690
- .addStyleClass("sapUiSmallMarginBegin");
691
- var oListItem = new Category.CustomListItem({
692
- press: this.itemNavigate.bind(this),
693
- type: "Active",
694
- content: [
695
- new FlexBox({
696
- direction: "Column",
697
- items: [
698
- new FlexBox({
699
- direction: "Row",
700
- items: [
701
- oAvatar,
702
- this.getItemObjectIdentifier()
703
- ]
704
- })
709
+ const oAvatar = new Avatar(this.getItemAvatarSettings())
710
+ .addStyleClass("sapUiSmallMarginBegin");
711
+ const oListItem = new Category.CustomListItem({
712
+ press: this.itemNavigate.bind(this),
713
+ type: "Active",
714
+ content: [
715
+ new FlexBox({
716
+ direction: "Column",
717
+ items: [
718
+ new FlexBox({
719
+ direction: "Row",
720
+ items: [
721
+ oAvatar,
722
+ this.getItemObjectIdentifier()
723
+ ]
724
+ })
725
+ ]
726
+ })
705
727
  ]
706
- })
707
- ]
708
- });
709
- return oListItem;
728
+ });
729
+ return oListItem;
710
730
  };
711
731
 
712
732
  Category.prototype.getItemObjectIdentifier = function () {
713
- return new ObjectIdentifier(this.getItemObjectIdentifierSettings())
714
- .addStyleClass("sapUiSmallMarginBeginEnd");
733
+ return new ObjectIdentifier(this.getItemObjectIdentifierSettings())
734
+ .addStyleClass("sapUiSmallMarginBeginEnd");
715
735
  };
716
736
 
717
737
  Category.prototype.getItemObjectIdentifierSettings = function () {
718
- return {
719
- text: "{data>description}",
720
- title: "{data>title}",
721
- titleActive: "{= !!${data>_navigation} || !!${data>url}}",
722
- titlePress: this.itemNavigate.bind(this)
723
- };
738
+ return {
739
+ text: "{data>description}",
740
+ title: "{data>title}",
741
+ titleActive: "{= !!${data>_navigation} || !!${data>url}}",
742
+ titlePress: this.itemNavigate.bind(this)
743
+ };
724
744
  };
725
745
 
726
746
  Category.prototype.getItemAvatarSettings = function (sIconBinding) {
727
- return {
728
- fallbackIcon: this._oCategoryConfig.icon.src,
729
- src: sIconBinding || "{data>icon}",
730
- displaySize: this._oCategoryConfig.icon.size,
731
- displayShape: this._oCategoryConfig.icon.shape,
732
- imageFitType: this._oCategoryConfig.icon.imageFitType || "Contain",
733
- backgroundColor: this._oCategoryConfig.icon.backgroundColor
734
- };
747
+ return {
748
+ fallbackIcon: this._oCategoryConfig.icon.src,
749
+ src: sIconBinding || "{data>icon}",
750
+ displaySize: this._oCategoryConfig.icon.size,
751
+ displayShape: this._oCategoryConfig.icon.shape,
752
+ imageFitType: this._oCategoryConfig.icon.imageFitType || "Contain",
753
+ backgroundColor: this._oCategoryConfig.icon.backgroundColor
754
+ };
735
755
  };
736
756
 
737
757
  Category.prototype.createListItemTemplate = function () {
738
- return this.createDefaultItemTemplate().addStyleClass("list");
758
+ return this.createDefaultItemTemplate().addStyleClass("list");
739
759
  };
740
760
 
741
761
  Category.prototype.createCardItemTemplate = function () {
742
- return this.createListItemTemplate().addStyleClass("card");
762
+ return this.createListItemTemplate().addStyleClass("card");
743
763
  };
744
764
 
745
765
  Category.prototype.createTileItemTemplate = function () {
746
- return this.createListItemTemplate().addStyleClass("tile");
766
+ return this.createListItemTemplate().addStyleClass("tile");
747
767
  };
748
768
 
749
769
  Category.prototype.createFooter = function (sType) {
750
- if (sType === "viewAll") {
751
- this._oFooter = new OverflowToolbar({
752
- style: "Clear",
753
- content: [
754
- new ToolbarSpacer(),
755
- new Button({
756
- text: "{i18n>CATEGORIES.All.ViewAll}",
757
- press: function () {
758
- this.fireViewAll({
759
- key: this.getKey(),
760
- currentView: this.getCurrentView()
761
- });
762
- }.bind(this)
763
- }),
764
- new ToolbarSpacer({ width: "1rem" })
765
- ]
766
- }).addStyleClass("sapCEPCategoryFooterTB");
767
- } else {
768
- this._oFooter = new OverflowToolbar({
769
- style: "Clear",
770
- content: [
771
- new ToolbarSpacer(),
772
- new Paginator(this.getPaginatorSettings())
773
- ]
774
- }).addStyleClass("sapCEPCategoryFooterTB");
775
- }
776
- return this._oFooter;
770
+ if (sType === "viewAll") {
771
+ this._oFooter = new OverflowToolbar({
772
+ style: "Clear",
773
+ content: [
774
+ new ToolbarSpacer(),
775
+ new Button({
776
+ text: "{i18n>CATEGORIES.All.ViewAll}",
777
+ press: function () {
778
+ this.fireViewAll({
779
+ key: this.getKey(),
780
+ currentView: this.getCurrentView()
781
+ });
782
+ }.bind(this)
783
+ }),
784
+ new ToolbarSpacer({ width: "1rem" })
785
+ ]
786
+ }).addStyleClass("sapCEPCategoryFooterTB");
787
+ } else {
788
+ this._oPaginator = new Paginator(this.getPaginatorSettings());
789
+ this._oFooter = new OverflowToolbar({
790
+ style: "Clear",
791
+ content: [
792
+ new ToolbarSpacer(),
793
+ this._oPaginator
794
+ ]
795
+ }).addStyleClass("sapCEPCategoryFooterTB");
796
+ }
797
+ return this._oFooter;
777
798
  };
778
799
 
779
800
  Category.prototype.itemNavigate = function (oEvent) {
780
801
  };
781
802
 
782
803
  Category.prototype.updateIllustration = function (sText, sType) {
783
- if (!this.getUseIllustrations()) {
784
- return;
785
- }
786
- if (!this._oNoDataIllustration) {
787
- this._oNoDataIllustration = new IllustratedMessage({
788
- illustrationType: IllustrationType.NoSearchResults,
789
- enableDefaultTitleAndDescription: false,
790
- illustrationSize: "Spot",
791
- additionalContent: [new Button({
792
- text: this._oResourceBundle.getText("CATEGORY.Views.RefreshButton"),
793
- visible: false,
794
- press: function () {
795
- this.fixHeight();
796
- setTimeout(function () {
797
- this.refreshData();
798
- }.bind(this), 600);
799
- this.updateIllustration(this.translate("LoadingData"), "Loading");
800
- }.bind(this)
801
- })]
802
- });
803
- this._oNoDataIllustration.addStyleClass("sapUiCEPSearchCatNoDataIllustration");
804
- }
805
- if (this._iCurrentCount === 0) {
806
- if (sType === "NoData") {
807
- if (this._iCurrentCount === 0) {
808
- this._oNoDataIllustration.setTitle(sText);
809
- this._oNoDataIllustration.setIllustrationType(IllustrationType.NoSearchResults);
810
- this.setAggregation("_nodata", this._oNoDataIllustration);
811
- this._oNoDataIllustration.getAdditionalContent()[0].setVisible(true);
812
- }
813
- } else if (sType === "Loading") {
814
- if (this._iCurrentCount === 0) {
815
- this._oNoDataIllustration.setTitle(sText);
816
- this._oNoDataIllustration.setIllustrationType(IllustrationType.NoSearchResults);
817
- this.setAggregation("_nodata", this._oNoDataIllustration);
818
- this._oNoDataIllustration.getAdditionalContent()[0].setVisible(false);
819
- }
820
- }
821
- } else {
822
- this.setAggregation("_nodata", null);
823
- }
804
+ if (!this.getUseIllustrations()) {
805
+ return;
806
+ }
807
+ if (!this._oNoDataIllustration) {
808
+ this._oNoDataIllustration = new IllustratedMessage({
809
+ illustrationType: IllustrationType.NoSearchResults,
810
+ enableDefaultTitleAndDescription: false,
811
+ illustrationSize: "Spot",
812
+ additionalContent: [new Button({
813
+ text: utilResources.bundle.getText("CATEGORY.Views.RefreshButton"),
814
+ visible: false,
815
+ press: function () {
816
+ this.fixHeight();
817
+ setTimeout(() => {
818
+ this.refreshData();
819
+ }, 600);
820
+ this.updateIllustration(this.translate("LoadingData"), "Loading");
821
+ }.bind(this)
822
+ })]
823
+ });
824
+ this._oNoDataIllustration.addStyleClass("sapUiCEPSearchCatNoDataIllustration");
825
+ }
826
+ if (this._iCurrentCount === 0) {
827
+ if (sType === "NoData") {
828
+ if (this._iCurrentCount === 0) {
829
+ this._oNoDataIllustration.setTitle(sText);
830
+ this._oNoDataIllustration.setIllustrationType(IllustrationType.NoSearchResults);
831
+ this.setAggregation("_nodata", this._oNoDataIllustration);
832
+ this._oNoDataIllustration.getAdditionalContent()[0].setVisible(true);
833
+ }
834
+ } else if (sType === "Loading") {
835
+ if (this._iCurrentCount === 0) {
836
+ this._oNoDataIllustration.setTitle(sText);
837
+ this._oNoDataIllustration.setIllustrationType(IllustrationType.NoSearchResults);
838
+ this.setAggregation("_nodata", this._oNoDataIllustration);
839
+ this._oNoDataIllustration.getAdditionalContent()[0].setVisible(false);
840
+ }
841
+ }
842
+ } else {
843
+ this.setAggregation("_nodata", null);
844
+ }
824
845
  };
825
846
 
826
847
  Category.prototype.fixHeight = function (bReset) {
827
- if (!this.getDomRef()) {
828
- return;
829
- }
830
- if (bReset) {
831
- this.getDomRef().style.setProperty("--tmpPageSize", "unset");
832
- this._iCurrentHeight = 0;
833
- return;
834
- }
835
- if (this._oList && this._oList.getVisible() && this._oList.getDomRef()) {
836
- this._iCurrentHeight = Math.max(this._oList.getDomRef().offsetHeight, this._iCurrentHeight);
837
- }
838
- if (this._iCurrentHeight) {
839
- this.getDomRef().style.setProperty("--tmpPageSize", this._iCurrentHeight + "px");
840
- }
848
+ if (!this.getDomRef()) {
849
+ return;
850
+ }
851
+ if (bReset) {
852
+ this.getDomRef().style.setProperty("--tmpPageSize", "unset");
853
+ this._iCurrentHeight = 0;
854
+ return;
855
+ }
856
+ if (this._oList && this._oList.getVisible() && this._oList.getDomRef()) {
857
+ this._iCurrentHeight = Math.max(this._oList.getDomRef().offsetHeight, this._iCurrentHeight);
858
+ }
859
+ if (this._iCurrentHeight) {
860
+ this.getDomRef().style.setProperty("--tmpPageSize", `${this._iCurrentHeight}px`);
861
+ }
841
862
  };
842
863
 
843
864
  Category.prototype.onResize = function (oEvent) {
844
- if (this._oList && this._oList._oItemNavigation) {
845
- this._oList._oItemNavigation.setColumns(this._oList._getCurrentColCount());
846
- }
847
- this.fixHeight(true);
848
- if (Math.abs(oEvent.oldSize.width - oEvent.size.width) > 50) {
849
- if (this._iResizeTimer) {
850
- clearTimeout(this._iResizeTimer);
851
- }
852
- this._iResizeTimer = setTimeout(function () {
853
- this.search(this._sSearchTerm, this._iSkip, this._iTop);
854
- }.bind(this), 300);
855
- }
856
- if (oEvent.oldSize && oEvent.size && oEvent.oldSize.width !== oEvent.size.width) {
857
- this._iCurrentHeight = 0;
858
- }
865
+ if (this._oList && this._oList._oItemNavigation) {
866
+ this._oList._oItemNavigation.setColumns(this._oList._getCurrentColCount());
867
+ }
868
+ this.fixHeight(true);
869
+ if (Math.abs(oEvent.oldSize.width - oEvent.size.width) > 50) {
870
+ if (this._iResizeTimer) {
871
+ clearTimeout(this._iResizeTimer);
872
+ }
873
+ this._iResizeTimer = setTimeout(() => {
874
+ this.search(this._sSearchTerm, this._iSkip, this._iTop);
875
+ }, 300);
876
+ }
877
+ if (oEvent.oldSize && oEvent.size && oEvent.oldSize.width !== oEvent.size.width) {
878
+ this._iCurrentHeight = 0;
879
+ }
859
880
  };
860
881
 
861
882
  Category.prototype.onBeforeRendering = function () {
862
- if (this._oHighlighter) {
863
- this._oHighlighter.destroy();
864
- }
865
- this._oHighlighter = null;
866
- if (this._iResizeListenerId) {
867
- ResizeHandler.deregister(this._iResizeListenerId);
868
- this._iResizeListenerId = null;
869
- }
883
+ if (this._oHighlighter) {
884
+ this._oHighlighter.destroy();
885
+ }
886
+ this._oHighlighter = null;
887
+ if (this._iResizeListenerId) {
888
+ ResizeHandler.deregister(this._iResizeListenerId);
889
+ this._iResizeListenerId = null;
890
+ }
870
891
  };
871
892
 
872
893
  Category.prototype.onAfterRendering = function () {
873
- if (!this._iResizeListenerId) {
874
- this._fnResizeListener = this.onResize.bind(this);
875
- this._iResizeListenerId = ResizeHandler.register(this, this._fnResizeListener);
876
- }
877
- if (!this._oHighlighter && this.getHighlightResult()) {
878
- this._oHighlighter = new Highlighter(this.getDomRef(), {
879
- isCaseSensitive: false,
880
- shouldBeObserved: true,
881
- querySelector: ".sapUiCEPSearchCatLI"
882
- });
883
- this._oHighlighter.highlight(this.getSearchTerm());
884
- }
885
- this.fixHeight();
886
- if (this._iAfterRendering) {
887
- clearTimeout(this._iAfterRendering);
888
- }
889
- this._iAfterRendering = setTimeout(
890
- function () {
891
- this.fireAfterRendering.bind(this)();
892
- this._iAfterRendering = null;
893
- }.bind(this), this._iAfterRenderingEventDelay
894
- );
894
+ if (!this._iResizeListenerId) {
895
+ this._fnResizeListener = this.onResize.bind(this);
896
+ this._iResizeListenerId = ResizeHandler.register(this, this._fnResizeListener);
897
+ }
898
+ if (!this._oHighlighter && this.getHighlightResult()) {
899
+ this._oHighlighter = new Highlighter(this.getDomRef(), {
900
+ isCaseSensitive: false,
901
+ shouldBeObserved: true,
902
+ querySelector: ".sapUiCEPSearchCatLI"
903
+ });
904
+ this._oHighlighter.highlight(this.getSearchTerm());
905
+ }
906
+ this.fixHeight();
907
+ if (this._iAfterRendering) {
908
+ clearTimeout(this._iAfterRendering);
909
+ }
910
+ this._iAfterRendering = setTimeout(
911
+ () => {
912
+ this.fireAfterRendering.bind(this)();
913
+ this._iAfterRendering = null;
914
+ const oParent = this.getDomRef()?.parentElement;
915
+ const oHeader = this.get_header();
916
+ const oPaginator = this.getPaginator();
917
+ if (oParent && oHeader) {
918
+ const sTitle = oHeader.getContent()[1].getText();
919
+ const sCounter = oHeader.getContent()[2].getText();
920
+ const sLabel = [
921
+ sTitle,
922
+ sCounter,
923
+ oPaginator ?
924
+ utilResources.bundle.getText("CATEGORY.Views.PageTooltip", [oPaginator.getCurrentPage(), oPaginator.getCount()]) :
925
+ ""
926
+ ].join(" ");
927
+ oParent.setAttribute("aria-label", sLabel);
928
+ if (this._forceFocus === "parent") {
929
+ oParent.focus();
930
+ }
931
+ }
932
+ if (this._forceFocus === "parent") {
933
+ if (oParent) {
934
+ oParent.focus();
935
+ }
936
+ } else if (this._forceFocus === "page") {
937
+ oPaginator?.focusPage(this._forceFocusPage);
938
+ this._forceFocusPage = null;
939
+ this._forceFocus = "";
940
+ }
941
+ }, this._iAfterRenderingEventDelay
942
+ );
895
943
  };
896
944
 
897
945
  return Category;
898
946
 
899
- });
947
+ });