@sapui5/sap.ushell 1.138.1 → 1.139.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (756) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +14 -10
  4. package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +32 -26
  5. package/src/main/js/sap/ushell/Container.js +0 -1
  6. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  7. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  8. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  9. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  10. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  16. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  17. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +12 -12
  18. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  19. package/src/main/js/sap/ushell/User.js +32 -12
  20. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +3 -5
  68. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +14 -1
  69. package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +8 -3
  70. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +8 -8
  71. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +17 -12
  72. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +6 -23
  73. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +112 -92
  74. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +15 -7
  75. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +257 -214
  76. package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +347 -117
  77. package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +1 -0
  78. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -19
  79. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +15 -14
  80. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +38 -40
  81. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -8
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +25 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  98. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  103. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  104. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  105. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +0 -2
  106. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  107. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  108. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  109. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +4 -0
  110. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  111. package/src/main/js/sap/ushell/components/CatalogsManager.js +157 -157
  112. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +180 -187
  113. package/src/main/js/sap/ushell/components/DestroyHelper.js +4 -4
  114. package/src/main/js/sap/ushell/components/GroupsHelper.js +21 -21
  115. package/src/main/js/sap/ushell/components/HomepageManager.js +465 -424
  116. package/src/main/js/sap/ushell/components/MessagingHelper.js +24 -24
  117. package/src/main/js/sap/ushell/components/SharedComponentUtils.js +16 -16
  118. package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +43 -43
  119. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +43 -39
  120. package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +166 -175
  121. package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +57 -57
  122. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +96 -99
  123. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +27 -21
  124. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +180 -178
  125. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +56 -56
  126. package/src/main/js/sap/ushell/components/appfinder/Component.js +12 -16
  127. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +129 -133
  128. package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +10 -10
  129. package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +22 -22
  130. package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +14 -14
  131. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +75 -78
  132. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +24 -27
  133. package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +44 -46
  134. package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +22 -22
  135. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +28 -28
  136. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  137. package/src/main/js/sap/ushell/components/cards/Card.controller.js +16 -20
  138. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -37
  139. package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +32 -34
  140. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +7 -12
  141. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.view.xml +2 -9
  142. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +0 -1
  143. package/src/main/js/sap/ushell/components/cepsearchresult/app/css/style.css +58 -0
  144. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +0 -1
  145. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +0 -1
  146. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +0 -1
  147. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +0 -1
  148. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +13 -13
  149. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +2 -5
  150. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +0 -2
  151. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +4 -3
  152. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +8 -9
  153. package/src/main/js/sap/ushell/components/contentFinder/Component.js +2 -2
  154. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -3
  155. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  156. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +2 -2
  157. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  158. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +3 -5
  160. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
  161. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -6
  162. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -3
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +1 -1
  164. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +2 -14
  165. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +14 -7
  166. package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +1 -1
  167. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
  168. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -4
  169. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  170. package/src/main/js/sap/ushell/components/factsheet/Component.js +13 -8
  171. package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +166 -118
  172. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +20 -16
  173. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +3 -3
  174. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +84 -77
  175. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -4
  176. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -2
  177. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1356 -1139
  178. package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +9 -5
  179. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
  180. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +9 -6
  181. package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
  182. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +4 -4
  183. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +51 -48
  184. package/src/main/js/sap/ushell/components/homepage/Component.js +11 -11
  185. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +185 -192
  186. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +60 -50
  187. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +199 -202
  188. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +152 -160
  189. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  190. package/src/main/js/sap/ushell/components/pages/ActionMode.js +72 -74
  191. package/src/main/js/sap/ushell/components/pages/Component.js +7 -32
  192. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +46 -46
  193. package/src/main/js/sap/ushell/components/pages/StateManager.js +9 -10
  194. package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +4 -4
  195. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +243 -215
  196. package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +23 -24
  197. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  198. package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
  199. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +60 -70
  200. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  201. package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +0 -5
  202. package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +3 -3
  203. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  204. package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +18 -50
  205. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +73 -83
  206. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  207. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +1 -1
  208. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +49 -50
  209. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +5 -5
  210. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  211. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +35 -33
  212. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +8 -9
  213. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +5 -11
  214. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +63 -42
  215. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +20 -22
  216. package/src/main/js/sap/ushell/components/shell/Search/Component.js +20 -12
  217. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +18 -21
  218. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  219. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +21 -14
  220. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +204 -250
  221. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +25 -24
  222. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +9 -9
  223. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +4 -4
  224. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +63 -65
  225. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +420 -0
  226. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +84 -0
  227. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +63 -0
  228. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +141 -0
  229. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +177 -0
  230. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +43 -0
  231. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +17 -0
  232. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +50 -35
  233. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +10 -10
  234. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +150 -150
  235. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +66 -63
  236. package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +12 -15
  237. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +34 -37
  238. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +6 -7
  239. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +46 -48
  240. package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +4 -4
  241. package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +13 -13
  242. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +11 -13
  243. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +41 -42
  244. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +11 -15
  245. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +35 -37
  246. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +6 -7
  247. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +7 -8
  248. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +2 -2
  249. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +16 -16
  250. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +17 -17
  251. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +21 -24
  252. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +136 -137
  253. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +73 -78
  254. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +8 -8
  255. package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +30 -23
  256. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +34 -22
  257. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
  258. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +21 -9
  259. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +7 -11
  260. package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +3 -3
  261. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
  262. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +3 -4
  263. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +2 -2
  264. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +8 -3
  265. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +2 -2
  266. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +2 -2
  267. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
  268. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +4 -4
  269. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +4 -4
  270. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +5 -6
  271. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +2 -3
  272. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -4
  273. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +47 -48
  274. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +27 -30
  275. package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +55 -55
  276. package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +39 -41
  277. package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +3 -3
  278. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +26 -27
  279. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +66 -66
  280. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +5 -5
  281. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +2 -2
  282. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +27 -27
  283. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +107 -107
  284. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +7 -7
  285. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +7 -7
  286. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +31 -31
  287. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +2 -2
  288. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +15 -15
  289. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +85 -86
  290. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +4 -4
  291. package/src/main/js/sap/ushell/components/tiles/generic.js +133 -131
  292. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +71 -71
  293. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +17 -17
  294. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +49 -49
  295. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +9 -9
  296. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +80 -80
  297. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +3 -3
  298. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +74 -75
  299. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +3 -3
  300. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +55 -55
  301. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +12 -12
  302. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +83 -84
  303. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +15 -15
  304. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +71 -71
  305. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +7 -7
  306. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +4 -4
  307. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +4 -4
  308. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +230 -232
  309. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +271 -272
  310. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +55 -55
  311. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +4 -4
  312. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +53 -53
  313. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +5 -5
  314. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +20 -20
  315. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +11 -11
  316. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +14 -15
  317. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +10 -10
  318. package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +6 -6
  319. package/src/main/js/sap/ushell/components/tiles/utils.js +699 -664
  320. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +217 -217
  321. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +4 -8
  322. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +40 -42
  323. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +257 -262
  324. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +19 -20
  325. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +6 -6
  326. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +37 -38
  327. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +97 -100
  328. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +81 -82
  329. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
  330. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +38 -39
  331. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +5 -5
  332. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -9
  333. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -9
  334. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  335. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +4 -4
  336. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +15 -15
  337. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  338. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  339. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +7 -1
  340. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +90 -0
  341. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +10 -0
  342. package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +19 -11
  343. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +144 -0
  344. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -0
  345. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +34 -0
  346. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +51 -0
  347. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +55 -0
  348. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +5 -0
  349. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +76 -0
  350. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +133 -0
  351. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +83 -1
  352. package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +80 -2
  353. package/src/main/js/sap/ushell/library.js +1 -1
  354. package/src/main/js/sap/ushell/navigation/NavigationState.js +126 -0
  355. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  356. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  357. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  358. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  359. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +8 -4
  360. package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
  361. package/src/main/js/sap/ushell/renderer/Shell.controller.js +11 -5
  362. package/src/main/js/sap/ushell/renderer/Shell.view.js +4 -1
  363. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +2 -0
  364. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +2 -0
  365. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +2 -0
  366. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +2 -0
  367. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +2 -0
  368. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +2 -0
  369. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +2 -0
  370. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +2 -0
  371. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +2 -0
  372. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +2 -0
  373. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +2 -0
  374. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +2 -0
  375. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -0
  376. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +2 -0
  377. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +2 -0
  378. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +2 -0
  379. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +2 -0
  380. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +2 -0
  381. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +2 -0
  382. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +2 -0
  383. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -1
  384. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +2 -0
  385. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -0
  386. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +2 -0
  387. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +2 -0
  388. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +2 -0
  389. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +2 -0
  390. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +2 -0
  391. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +2 -0
  392. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +2 -0
  393. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +2 -0
  394. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +2 -0
  395. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +2 -0
  396. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +2 -0
  397. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +2 -0
  398. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +2 -0
  399. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +2 -0
  400. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +2 -0
  401. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +2 -0
  402. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +2 -0
  403. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -1
  404. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +2 -0
  405. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +2 -0
  406. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +2 -0
  407. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +2 -0
  408. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +2 -0
  409. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -1
  410. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +2 -0
  411. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +2 -0
  412. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  413. package/src/main/js/sap/ushell/services/AllMyApps.js +5 -5
  414. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -5
  415. package/src/main/js/sap/ushell/services/AppLifeCycle.js +2 -2
  416. package/src/main/js/sap/ushell/services/AppState.js +86 -102
  417. package/src/main/js/sap/ushell/services/AppType.js +2 -2
  418. package/src/main/js/sap/ushell/services/Bookmark.js +156 -164
  419. package/src/main/js/sap/ushell/services/BookmarkV2.js +10 -13
  420. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  421. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  422. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  423. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  424. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  425. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  426. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  427. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  428. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  429. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  430. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +27 -31
  431. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  432. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  433. package/src/main/js/sap/ushell/services/CommonDataModel.js +295 -353
  434. package/src/main/js/sap/ushell/services/Configuration.js +14 -12
  435. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +34 -35
  436. package/src/main/js/sap/ushell/services/Container.js +2 -2
  437. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +29 -62
  438. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +227 -266
  439. package/src/main/js/sap/ushell/services/DarkModeSupport.js +17 -16
  440. package/src/main/js/sap/ushell/services/EndUserFeedback.js +5 -4
  441. package/src/main/js/sap/ushell/services/Extension/Item.js +7 -12
  442. package/src/main/js/sap/ushell/services/Extension.js +54 -19
  443. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +209 -213
  444. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +3 -3
  445. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +3 -3
  446. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +6 -6
  447. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  448. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  449. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +4 -4
  450. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +3 -3
  451. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -2
  452. package/src/main/js/sap/ushell/services/Menu.js +264 -289
  453. package/src/main/js/sap/ushell/services/Message.js +3 -3
  454. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +6 -29
  455. package/src/main/js/sap/ushell/services/MessageBroker.js +14 -10
  456. package/src/main/js/sap/ushell/services/MessageInternal.js +37 -38
  457. package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -5
  458. package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +153 -157
  459. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +4 -6
  460. package/src/main/js/sap/ushell/services/Navigation/utils.js +62 -64
  461. package/src/main/js/sap/ushell/services/Navigation.js +10 -14
  462. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
  463. package/src/main/js/sap/ushell/services/Notifications.js +29 -15
  464. package/src/main/js/sap/ushell/services/NotificationsV2.js +86 -98
  465. package/src/main/js/sap/ushell/services/PageBuilding.js +9 -6
  466. package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
  467. package/src/main/js/sap/ushell/services/PageReferencing.js +4 -2
  468. package/src/main/js/sap/ushell/services/Pages.js +635 -683
  469. package/src/main/js/sap/ushell/services/Personalization.js +103 -134
  470. package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +29 -32
  471. package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +21 -6
  472. package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -2
  473. package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +5 -1
  474. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +5 -8
  475. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +2 -2
  476. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +10 -11
  477. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +27 -27
  478. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -2
  479. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
  480. package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +5 -5
  481. package/src/main/js/sap/ushell/services/PersonalizationV2.js +92 -105
  482. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +9 -9
  483. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
  484. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +4 -4
  485. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +5 -8
  486. package/src/main/js/sap/ushell/services/PluginManager.js +12 -8
  487. package/src/main/js/sap/ushell/services/ReferenceResolver.js +21 -28
  488. package/src/main/js/sap/ushell/services/Search.js +25 -21
  489. package/src/main/js/sap/ushell/services/SearchCEP.js +38 -32
  490. package/src/main/js/sap/ushell/services/SearchableContent.js +203 -223
  491. package/src/main/js/sap/ushell/services/ShellNavigation.js +5 -3
  492. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +160 -164
  493. package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +23 -19
  494. package/src/main/js/sap/ushell/services/SmartNavigation.js +86 -82
  495. package/src/main/js/sap/ushell/services/SpaceContent.js +73 -106
  496. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  497. package/src/main/js/sap/ushell/services/UITracer.js +48 -62
  498. package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
  499. package/src/main/js/sap/ushell/services/URLTemplate.js +7 -8
  500. package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +5 -5
  501. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  502. package/src/main/js/sap/ushell/services/UsageAnalytics.js +2 -3
  503. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +10 -10
  504. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +12 -13
  505. package/src/main/js/sap/ushell/services/UserInfo.js +27 -15
  506. package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +6 -7
  507. package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +5 -5
  508. package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +2 -2
  509. package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +2 -2
  510. package/src/main/js/sap/ushell/services/UserRecents.js +3 -3
  511. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +63 -66
  512. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +11 -11
  513. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  514. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  515. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  516. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  517. package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +10 -10
  518. package/src/main/js/sap/ushell/state/BaseState.js +2 -3
  519. package/src/main/js/sap/ushell/state/BindingHelper.js +2 -4
  520. package/src/main/js/sap/ushell/state/ControlManager.js +2 -3
  521. package/src/main/js/sap/ushell/state/CurrentState.js +2 -2
  522. package/src/main/js/sap/ushell/state/KeepAlive.js +2 -2
  523. package/src/main/js/sap/ushell/state/ShellModel.js +2 -3
  524. package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +2 -2
  525. package/src/main/js/sap/ushell/state/StateManager/Operation.js +2 -2
  526. package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +2 -2
  527. package/src/main/js/sap/ushell/state/StateManager.js +3 -3
  528. package/src/main/js/sap/ushell/state/StateRules.js +2 -3
  529. package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +2 -3
  530. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +2 -3
  531. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +2 -3
  532. package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +3 -4
  533. package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +3 -4
  534. package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +2 -3
  535. package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +2 -3
  536. package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -4
  537. package/src/main/js/sap/ushell/state/StrategyFactory.js +2 -3
  538. package/src/main/js/sap/ushell/state/modules/BackNavigation.js +2 -5
  539. package/src/main/js/sap/ushell/state/modules/ContentDensity.js +3 -3
  540. package/src/main/js/sap/ushell/state/modules/Favicon.js +3 -3
  541. package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
  542. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +123 -123
  543. package/src/main/js/sap/ushell/themes/base/ShellBar.less +2 -1
  544. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
  545. package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -0
  546. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellBar.less +9 -0
  547. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +6 -0
  548. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -0
  549. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellBar.less +9 -0
  550. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -0
  551. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellBar.less +9 -0
  552. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -0
  553. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellBar.less +9 -0
  554. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -0
  555. package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
  556. package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +13 -0
  557. package/src/main/js/sap/ushell/thirdparty/Avatar.js +83 -16
  558. package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +16 -241
  559. package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
  560. package/src/main/js/sap/ushell/thirdparty/Button2.js +34 -14
  561. package/src/main/js/sap/ushell/thirdparty/Icon.js +11 -11
  562. package/src/main/js/sap/ushell/thirdparty/Icons.js +81 -79
  563. package/src/main/js/sap/ushell/thirdparty/Label.js +4 -4
  564. package/src/main/js/sap/ushell/thirdparty/Link.js +11 -10
  565. package/src/main/js/sap/ushell/thirdparty/List.js +34 -487
  566. package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
  567. package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +239 -0
  568. package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1669 -91
  569. package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +472 -0
  570. package/src/main/js/sap/ushell/thirdparty/Menu.js +70 -81
  571. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
  572. package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +348 -40
  573. package/src/main/js/sap/ushell/thirdparty/NotificationList.js +5 -5
  574. package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +15 -15
  575. package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +511 -517
  576. package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +3 -3
  577. package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2264 -0
  578. package/src/main/js/sap/ushell/thirdparty/SearchItem.js +111 -0
  579. package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +47 -0
  580. package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +49 -0
  581. package/src/main/js/sap/ushell/thirdparty/SearchScope.js +39 -0
  582. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +177 -170
  583. package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +119 -0
  584. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +7 -0
  585. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +3248 -0
  586. package/src/main/js/sap/ushell/thirdparty/Tag.js +15 -14
  587. package/src/main/js/sap/ushell/thirdparty/Text.js +9 -9
  588. package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
  589. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +55 -54
  590. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +5 -5
  591. package/src/main/js/sap/ushell/thirdparty/ValueState.js +7 -0
  592. package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +444 -0
  593. package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +7 -7
  594. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +39 -0
  595. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +26 -8
  596. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +40 -1
  597. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +26 -8
  598. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +41 -2
  599. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +27 -9
  600. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +39 -0
  601. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +25 -7
  602. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +39 -0
  603. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +25 -7
  604. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +39 -0
  605. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +26 -8
  606. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +39 -0
  607. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +25 -7
  608. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +39 -0
  609. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +26 -8
  610. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +39 -0
  611. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +25 -7
  612. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +45 -0
  613. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +26 -8
  614. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +39 -0
  615. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +26 -8
  616. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +39 -0
  617. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +26 -8
  618. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +45 -0
  619. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +23 -8
  620. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +39 -0
  621. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +26 -8
  622. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +42 -3
  623. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +27 -9
  624. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +42 -3
  625. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +28 -10
  626. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +39 -0
  627. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +25 -7
  628. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +39 -0
  629. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +25 -7
  630. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +39 -0
  631. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +26 -8
  632. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +39 -0
  633. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +25 -7
  634. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +39 -0
  635. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +25 -7
  636. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +39 -0
  637. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +25 -7
  638. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +39 -0
  639. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +25 -7
  640. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +39 -0
  641. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +26 -8
  642. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +43 -4
  643. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +29 -11
  644. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +39 -0
  645. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +27 -9
  646. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +39 -0
  647. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +26 -8
  648. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +39 -0
  649. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +26 -8
  650. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +39 -0
  651. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +25 -7
  652. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +39 -0
  653. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +25 -7
  654. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +39 -0
  655. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +27 -9
  656. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +40 -1
  657. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +25 -7
  658. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +40 -1
  659. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +27 -9
  660. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +39 -0
  661. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +25 -7
  662. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +39 -0
  663. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +26 -8
  664. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +39 -0
  665. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +26 -8
  666. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +39 -0
  667. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +25 -7
  668. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +39 -0
  669. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +26 -8
  670. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +39 -0
  671. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +25 -7
  672. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +39 -0
  673. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +25 -7
  674. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +39 -0
  675. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +25 -7
  676. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +39 -0
  677. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +25 -7
  678. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +41 -2
  679. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +26 -8
  680. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +39 -0
  681. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +25 -7
  682. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +39 -0
  683. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +26 -8
  684. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +39 -0
  685. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +25 -7
  686. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +39 -0
  687. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +25 -7
  688. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +40 -1
  689. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +25 -7
  690. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +39 -0
  691. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +26 -8
  692. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +39 -0
  693. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +26 -8
  694. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +41 -2
  695. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +25 -7
  696. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
  697. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
  698. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
  699. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
  700. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
  701. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
  702. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
  703. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
  704. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
  705. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
  706. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
  707. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
  708. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
  709. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
  710. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
  711. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
  712. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
  713. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
  714. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
  715. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
  716. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
  717. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
  718. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
  719. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
  720. package/src/main/js/sap/ushell/thirdparty/encodeXML.js +87 -0
  721. package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +9 -0
  722. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +143 -149
  723. package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +16 -0
  724. package/src/main/js/sap/ushell/thirdparty/information.js +10 -13
  725. package/src/main/js/sap/ushell/thirdparty/information2.js +13 -0
  726. package/src/main/js/sap/ushell/thirdparty/overflow.js +2 -2
  727. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
  728. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +44 -0
  729. package/src/main/js/sap/ushell/thirdparty/query.js +1 -4
  730. package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +44 -0
  731. package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +7 -0
  732. package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -8
  733. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +35 -31
  734. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +8 -8
  735. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +16 -16
  736. package/src/main/js/sap/ushell/thirdparty/willShowContent.js +7 -0
  737. package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -1
  738. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  739. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  740. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  741. package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +6 -1
  742. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  743. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +5 -2
  744. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  745. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  746. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  747. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  748. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  749. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  750. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  751. package/src/main/js/sap/ushell/utils.js +32 -1
  752. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  753. package/ui5.yaml +2 -0
  754. package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +0 -3920
  755. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +0 -7
  756. /package/src/main/js/sap/ushell/components/shell/SearchCEP/{SearchFieldFragment.fragment.xml → SearchField.fragment.xml} +0 -0
@@ -1,8 +1,8 @@
1
- //Copyright (c) 2009-2025 SAP SE, All Rights Reserved
1
+ // Copyright (c) 2009-2025 SAP SE, All Rights Reserved
2
2
 
3
3
  /**
4
4
  * @file WorkPageBuilder controller for WorkPageBuilder view
5
- * @version 1.138.1
5
+ * @version 1.139.0
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
@@ -11,7 +11,6 @@ sap.ui.define([
11
11
  "sap/base/util/deepExtend",
12
12
  "sap/f/GridContainerItemLayoutData",
13
13
  "sap/m/library",
14
- "sap/ui/core/Component",
15
14
  "sap/ui/core/Element",
16
15
  "sap/ui/core/Fragment",
17
16
  "sap/ui/core/InvisibleMessage",
@@ -30,14 +29,13 @@ sap.ui.define([
30
29
  "sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility",
31
30
  "sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout",
32
31
  "sap/ui/integration/library"
33
- ], function (
32
+ ], (
34
33
  Log,
35
34
  Localization,
36
35
  ObjectPath,
37
36
  deepExtend,
38
37
  GridContainerItemLayoutData,
39
38
  mLibrary,
40
- Component,
41
39
  Element,
42
40
  Fragment,
43
41
  InvisibleMessage,
@@ -56,24 +54,24 @@ sap.ui.define([
56
54
  WorkPageBuilderAccessibility,
57
55
  WorkPageBuilderLayoutHelper,
58
56
  integrationLibrary
59
- ) {
57
+ ) => {
60
58
  "use strict";
61
59
 
62
60
  // shortcut for sap.ui.core.ValueState
63
- var ValueState = coreLibrary.ValueState;
61
+ const ValueState = coreLibrary.ValueState;
64
62
 
65
63
  // PR: Provider, CO: (Content) Administrator, PG: Page Administrator, US: End User
66
64
  // US is commented for now, because we do not have personalization yet.
67
- var CONFIGURATION_LEVELS = ["PR", "CO", "PG" /*, "US"*/];
68
- var MIN_GRID_COLUMN_WIDTH = 6;
69
- var MAX_GRID_COLUMN_WIDTH = 24;
70
- var STEP_SIZE = 2;
71
- var MAX_COLUMNS_PER_ROW = 4;
65
+ const CONFIGURATION_LEVELS = ["PR", "CO", "PG" /* , "US" */];
66
+ const MIN_GRID_COLUMN_WIDTH = 6;
67
+ const MAX_GRID_COLUMN_WIDTH = 24;
68
+ const STEP_SIZE = 2;
69
+ const MAX_COLUMNS_PER_ROW = 4;
72
70
 
73
- var LoadState = mLibrary.LoadState;
74
- var InvisibleMessageMode = coreLibrary.InvisibleMessageMode;
71
+ const LoadState = mLibrary.LoadState;
72
+ const InvisibleMessageMode = coreLibrary.InvisibleMessageMode;
75
73
 
76
- var CardPreviewMode = integrationLibrary.CardPreviewMode;
74
+ const CardPreviewMode = integrationLibrary.CardPreviewMode;
77
75
 
78
76
  /**
79
77
  * Controller of the WorkPageBuilder view.
@@ -89,7 +87,7 @@ sap.ui.define([
89
87
  return Controller.extend("sap.ushell.components.workPageBuilder.controller.WorkPageBuilder", /** @lends sap.ushell.components.workPageBuilder.controller.WorkPageBuilder.prototype */ {
90
88
 
91
89
  onInit: async function () {
92
- var oWorkPage = this.byId("workPage");
90
+ const oWorkPage = this.byId("workPage");
93
91
  this._fnDeleteRowHandler = this.deleteRow.bind(this);
94
92
  this._fnDeleteCellHandler = this.deleteCell.bind(this);
95
93
  this._fnSaveCardConfiguration = this._onSaveCardEditor.bind(this);
@@ -177,7 +175,7 @@ sap.ui.define([
177
175
  * @param {sap.ui.base.Event} oEvent The "borderReached" event of the GridContainer
178
176
  */
179
177
  onGridContainerBorderReached: function (oEvent) {
180
- var oWorkPage = this.byId("workPage");
178
+ const oWorkPage = this.byId("workPage");
181
179
  this.oWorkPageBuilderAccessibility._handleBorderReached(oEvent, oWorkPage);
182
180
  },
183
181
 
@@ -189,33 +187,33 @@ sap.ui.define([
189
187
  * @param {sap.ui.base.Event} oEvent The "addColumn" event.
190
188
  */
191
189
  onAddColumn: function (oEvent) {
192
- var oModel = this.getView().getModel();
193
- var oColumnControl = oEvent.getSource();
194
- var oRow = oColumnControl.getParent();
195
- var iColumnIndex = oRow.indexOfAggregation("columns", oColumnControl);
196
- var sRowBindingContextPath = oRow.getBindingContext().getPath();
197
- var sColumnPath = sRowBindingContextPath + "/columns/";
198
- var sColumnColumnWidthPath = oColumnControl.getBindingContext().getPath() + "/descriptor/value/columnWidth";
199
- var aColumnsData = oModel.getProperty(sColumnPath);
200
- var iColumnCount = aColumnsData.length;
201
- var bAddToLeft = oEvent.getParameter("left");
190
+ const oModel = this.getView().getModel();
191
+ const oColumnControl = oEvent.getSource();
192
+ const oRow = oColumnControl.getParent();
193
+ const iColumnIndex = oRow.indexOfAggregation("columns", oColumnControl);
194
+ const sRowBindingContextPath = oRow.getBindingContext().getPath();
195
+ const sColumnPath = `${sRowBindingContextPath}/columns/`;
196
+ const sColumnColumnWidthPath = `${oColumnControl.getBindingContext().getPath()}/descriptor/value/columnWidth`;
197
+ const aColumnsData = oModel.getProperty(sColumnPath);
198
+ const iColumnCount = aColumnsData.length;
199
+ const bAddToLeft = oEvent.getParameter("left");
202
200
  if (iColumnCount >= MAX_COLUMNS_PER_ROW) {
203
201
  return;
204
202
  }
205
- var iColumnWidth = oColumnControl.getProperty("columnWidth");
206
- var iColSize = Math.floor(iColumnWidth / 2) >= MIN_GRID_COLUMN_WIDTH ? Math.floor(iColumnWidth / 2) : MIN_GRID_COLUMN_WIDTH;
207
- var iModulo = iColSize % 2;
203
+ const iColumnWidth = oColumnControl.getProperty("columnWidth");
204
+ const iColSize = Math.floor(iColumnWidth / 2) >= MIN_GRID_COLUMN_WIDTH ? Math.floor(iColumnWidth / 2) : MIN_GRID_COLUMN_WIDTH;
205
+ const iModulo = iColSize % 2;
208
206
  oModel.setProperty(sColumnColumnWidthPath, iColSize + iModulo);
209
207
 
210
- var iIndex = oRow.indexOfAggregation("columns", oColumnControl) + (bAddToLeft === true ? 0 : 1);
211
- var oNewColumn = this._createEmptyColumn(iColSize - iModulo);
208
+ const iIndex = oRow.indexOfAggregation("columns", oColumnControl) + (bAddToLeft === true ? 0 : 1);
209
+ const oNewColumn = this._createEmptyColumn(iColSize - iModulo);
212
210
 
213
211
  // Insert the new column by creating a new array to avoid mutation of the original array.
214
- var aNewColumnsData = [aColumnsData.slice(0, iIndex), oNewColumn, aColumnsData.slice(iIndex)].flat();
212
+ const aNewColumnsData = [aColumnsData.slice(0, iIndex), oNewColumn, aColumnsData.slice(iIndex)].flat();
215
213
 
216
- var iTotalColumns = aNewColumnsData.reduce(function (iAccumulator, oSingleColumn) {
214
+ const iTotalColumns = aNewColumnsData.reduce((iAccumulator, oSingleColumn) => {
217
215
  return iAccumulator + this._getColumnWidth(oSingleColumn);
218
- }.bind(this), 0);
216
+ }, 0);
219
217
 
220
218
  if (iTotalColumns > MAX_GRID_COLUMN_WIDTH) {
221
219
  this._calculateColWidths(aNewColumnsData, iColumnIndex, iTotalColumns);
@@ -232,7 +230,7 @@ sap.ui.define([
232
230
  * @private
233
231
  */
234
232
  focusFirstItem: function (oEvent) {
235
- var oWorkPage = oEvent.getSource();
233
+ const oWorkPage = oEvent.getSource();
236
234
  this.oWorkPageBuilderAccessibility.focusFirstItem(oWorkPage);
237
235
  },
238
236
 
@@ -308,13 +306,13 @@ sap.ui.define([
308
306
  * @since 1.109.0
309
307
  */
310
308
  setPageData: function (oPageData) {
311
- var oMappedVisualizations = {};
312
- var aUsedVisualizations = ObjectPath.get("workPage.usedVisualizations.nodes", oPageData);
313
- var oWorkPageContents = ObjectPath.get("workPage.contents", oPageData);
309
+ let oMappedVisualizations = {};
310
+ const aUsedVisualizations = ObjectPath.get("workPage.usedVisualizations.nodes", oPageData);
311
+ const oWorkPageContents = ObjectPath.get("workPage.contents", oPageData);
314
312
 
315
313
  if (aUsedVisualizations && aUsedVisualizations.length > 0) {
316
314
  // create a map for the usedVisualizations using the id as a key.
317
- oMappedVisualizations = aUsedVisualizations.reduce(function (oAcc, oViz) {
315
+ oMappedVisualizations = aUsedVisualizations.reduce((oAcc, oViz) => {
318
316
  oAcc[oViz.id] = oViz;
319
317
  return oAcc;
320
318
  }, {});
@@ -335,7 +333,7 @@ sap.ui.define([
335
333
  * @since 1.109.0
336
334
  */
337
335
  getPageData: function () {
338
- var oMappedVisualizations = this.oModel.getProperty("/data/usedVisualizations") || {};
336
+ const oMappedVisualizations = this.oModel.getProperty("/data/usedVisualizations") || {};
339
337
  return {
340
338
  workPage: {
341
339
  contents: this.oModel.getProperty("/data/workPage"),
@@ -356,7 +354,7 @@ sap.ui.define([
356
354
  * @since 1.115.0
357
355
  */
358
356
  setVisualizationData: function (oVizNodes) {
359
- return this.oContentFinderPromise.then(function (oContentFinder) {
357
+ return this.oContentFinderPromise.then((oContentFinder) => {
360
358
  oContentFinder.setVisualizationData(oVizNodes);
361
359
  });
362
360
  },
@@ -385,7 +383,7 @@ sap.ui.define([
385
383
  * @private
386
384
  */
387
385
  setCategoryTree: function (aCategoryTree) {
388
- return this.oContentFinderPromise.then(function (oContentFinder) {
386
+ return this.oContentFinderPromise.then((oContentFinder) => {
389
387
  oContentFinder.setCategoryTree(aCategoryTree);
390
388
  });
391
389
  },
@@ -397,12 +395,12 @@ sap.ui.define([
397
395
  * @param {sap.ui.base.Event} oEvent The gridColumnsChange event.
398
396
  */
399
397
  onGridColumnsChange: function (oEvent) {
400
- var iColumnCount = oEvent.getParameter("columns");
401
- var oCell = oEvent.getSource();
398
+ const iColumnCount = oEvent.getParameter("columns");
399
+ const oCell = oEvent.getSource();
402
400
 
403
- oCell.getWidgets().filter(function (oItem) {
401
+ oCell.getWidgets().filter((oItem) => {
404
402
  return oItem.isA("sap.ui.integration.widgets.Card");
405
- }).forEach(function (oCard) {
403
+ }).forEach((oCard) => {
406
404
  oCard.setLayoutData(new GridContainerItemLayoutData({
407
405
  columns: iColumnCount,
408
406
  minRows: 1
@@ -417,25 +415,25 @@ sap.ui.define([
417
415
  * @param {sap.ui.base.Event} oEvent The "removeColumn" event.
418
416
  */
419
417
  onDeleteColumn: function (oEvent) {
420
- var oModel = this.getView().getModel();
421
- var oColumn = oEvent.getSource();
422
- var iColumnWidth = oColumn.getColumnWidth();
423
- var oRow = oColumn.getParent();
424
- var iColumnIndex = oRow.indexOfAggregation("columns", oColumn);
425
- var sRowBindingContextPath = oRow.getBindingContext().getPath();
426
- var sColumnPath = sRowBindingContextPath + "/columns/";
427
- var aColumns = oModel.getProperty(sColumnPath);
418
+ const oModel = this.getView().getModel();
419
+ const oColumn = oEvent.getSource();
420
+ const iColumnWidth = oColumn.getColumnWidth();
421
+ const oRow = oColumn.getParent();
422
+ const iColumnIndex = oRow.indexOfAggregation("columns", oColumn);
423
+ const sRowBindingContextPath = oRow.getBindingContext().getPath();
424
+ const sColumnPath = `${sRowBindingContextPath}/columns/`;
425
+ const aColumns = oModel.getProperty(sColumnPath);
428
426
 
429
427
  // filter out the column at the iColumnIndex instead of splicing to avoid mutation of the original array.
430
- var aNewColumns = aColumns.filter(function (oCol, iIndex) {
428
+ const aNewColumns = aColumns.filter((oCol, iIndex) => {
431
429
  return iIndex !== iColumnIndex;
432
430
  });
433
431
 
434
432
  // split the columnWidth among remaining cols
435
- var iLoopCount = (iColumnWidth / 2);
436
- var iIndex = iColumnIndex - 1 < 0 ? iColumnIndex : iColumnIndex - 1;
433
+ let iLoopCount = (iColumnWidth / 2);
434
+ let iIndex = iColumnIndex - 1 < 0 ? iColumnIndex : iColumnIndex - 1;
437
435
  while (iLoopCount > 0) {
438
- var oCurrentColumn = aNewColumns[iIndex];
436
+ const oCurrentColumn = aNewColumns[iIndex];
439
437
  this._setColumnWidth(oCurrentColumn, (this._getColumnWidth(oCurrentColumn)) + STEP_SIZE);
440
438
  iIndex = ++iIndex >= aNewColumns.length ? 0 : iIndex++;
441
439
  iLoopCount--;
@@ -453,7 +451,7 @@ sap.ui.define([
453
451
  *
454
452
  */
455
453
  onAddFirstRow: function () {
456
- var sRowsPath = "/data/workPage/rows/";
454
+ const sRowsPath = "/data/workPage/rows/";
457
455
  this.getView().getModel().setProperty(sRowsPath, [this._createEmptyRow()]);
458
456
  this.getOwnerComponent().fireEvent("workPageEdited");
459
457
  },
@@ -465,17 +463,17 @@ sap.ui.define([
465
463
  * @param {sap.ui.base.Event} oEvent The "addRow" event.
466
464
  */
467
465
  onAddRow: function (oEvent) {
468
- var oModel = this.getView().getModel();
469
- var oRow = oEvent.getSource();
470
- var oPage = this.byId("workPage");
471
- var sRowsPath = "/data/workPage/rows/";
472
- var aRows = oModel.getProperty(sRowsPath);
473
- var oNewRow = this._createEmptyRow();
466
+ const oModel = this.getView().getModel();
467
+ const oRow = oEvent.getSource();
468
+ const oPage = this.byId("workPage");
469
+ const sRowsPath = "/data/workPage/rows/";
470
+ const aRows = oModel.getProperty(sRowsPath);
471
+ const oNewRow = this._createEmptyRow();
474
472
 
475
- var iIndex = oPage.indexOfAggregation("rows", oRow) + (oEvent.getParameter("bottom") === true ? 1 : 0);
473
+ const iIndex = oPage.indexOfAggregation("rows", oRow) + (oEvent.getParameter("bottom") === true ? 1 : 0);
476
474
 
477
475
  // Insert the new row into the array by creating a new array to avoid mutation.
478
- var aNewRows = [aRows.slice(0, iIndex), oNewRow, aRows.slice(iIndex)].flat();
476
+ const aNewRows = [aRows.slice(0, iIndex), oNewRow, aRows.slice(iIndex)].flat();
479
477
 
480
478
  oModel.setProperty(sRowsPath, aNewRows);
481
479
  this.getOwnerComponent().fireEvent("workPageEdited");
@@ -488,24 +486,24 @@ sap.ui.define([
488
486
  * @param {sap.ui.base.Event} oEvent The "columnResized" event.
489
487
  */
490
488
  onResize: function (oEvent) {
491
- var iDiff = oEvent.getParameter("posXDiff");
492
- var oColumn = oEvent.getSource();
493
- var oRow = oColumn.getParent();
494
- var iSingleColumnWidthPx = oRow.getSingleColumnWidth();
489
+ const iDiff = oEvent.getParameter("posXDiff");
490
+ const oColumn = oEvent.getSource();
491
+ const oRow = oColumn.getParent();
492
+ const iSingleColumnWidthPx = oRow.getSingleColumnWidth();
495
493
 
496
494
  if (iSingleColumnWidthPx <= 0) { return; }
497
495
 
498
- var bRtl = Localization.getRTL();
499
- var fDeltaFromOrigin = iDiff / iSingleColumnWidthPx;
496
+ const bRtl = Localization.getRTL();
497
+ const fDeltaFromOrigin = iDiff / iSingleColumnWidthPx;
500
498
 
501
499
  if (fDeltaFromOrigin > -1 && fDeltaFromOrigin < 1) { return; }
502
500
 
503
- var iColumnsDelta = fDeltaFromOrigin < 0 ? Math.floor(iDiff / iSingleColumnWidthPx) : Math.ceil(iDiff / iSingleColumnWidthPx);
504
- var sDragDirection = iColumnsDelta >= 0 ? "right" : "left";
505
- var iFlexStep = sDragDirection === "right" ? STEP_SIZE : -STEP_SIZE;
506
- var iRightColumnIndex = oRow.indexOfAggregation("columns", oColumn);
507
- var iLeftColumnIndex = iRightColumnIndex - 1;
508
- var aColumnFlexValues = oRow.getColumnFlexValues();
501
+ const iColumnsDelta = fDeltaFromOrigin < 0 ? Math.floor(iDiff / iSingleColumnWidthPx) : Math.ceil(iDiff / iSingleColumnWidthPx);
502
+ const sDragDirection = iColumnsDelta >= 0 ? "right" : "left";
503
+ let iFlexStep = sDragDirection === "right" ? STEP_SIZE : -STEP_SIZE;
504
+ const iRightColumnIndex = oRow.indexOfAggregation("columns", oColumn);
505
+ const iLeftColumnIndex = iRightColumnIndex - 1;
506
+ const aColumnFlexValues = oRow.getColumnFlexValues();
509
507
 
510
508
  iFlexStep = bRtl ? iFlexStep : -iFlexStep;
511
509
 
@@ -537,8 +535,8 @@ sap.ui.define([
537
535
  * @since 1.118.0
538
536
  */
539
537
  _resizeAllowed: function (iColumnCount, iLeftFlex, iRightFlex, iFlexStep) {
540
- var oViewSettingsModel = this.getView().getModel("viewSettings");
541
- var iColumnMinFlex = oViewSettingsModel.getProperty("/currentBreakpoint/columnMinFlex");
538
+ const oViewSettingsModel = this.getView().getModel("viewSettings");
539
+ const iColumnMinFlex = oViewSettingsModel.getProperty("/currentBreakpoint/columnMinFlex");
542
540
 
543
541
  // resize to left would result in too small column on the left
544
542
  if (iLeftFlex - iFlexStep < iColumnMinFlex) { return false; }
@@ -546,7 +544,7 @@ sap.ui.define([
546
544
  // resize to right would result in too small column on the right
547
545
  if (iRightFlex + iFlexStep < iColumnMinFlex) { return false; }
548
546
 
549
- var iMaxColumnsPerRow = oViewSettingsModel.getProperty("/currentBreakpoint/maxColumnsPerRow");
547
+ const iMaxColumnsPerRow = oViewSettingsModel.getProperty("/currentBreakpoint/maxColumnsPerRow");
550
548
 
551
549
  // no resize allowed if there is a line break for WorkPageRows
552
550
  if (iColumnCount > iMaxColumnsPerRow) { return false; }
@@ -571,10 +569,10 @@ sap.ui.define([
571
569
  * @returns {Promise} A promise resolving when the dialog was opened or the card was deleted.
572
570
  */
573
571
  onDeleteCell: function (oEvent) {
574
- var oCell = oEvent.getSource().getParent().getParent();
572
+ const oCell = oEvent.getSource().getParent().getParent();
575
573
 
576
574
  // No dialog is shown if the ell contains only a card.
577
- var aWidgets = oCell.getWidgets();
575
+ const aWidgets = oCell.getWidgets();
578
576
  if (aWidgets?.[0] && aWidgets.length === 1 && aWidgets[0].isA("sap.ui.integration.widgets.Card")) {
579
577
  return this.deleteCell(oEvent, {
580
578
  cell: oCell,
@@ -584,25 +582,25 @@ sap.ui.define([
584
582
 
585
583
  // Show dialog for all other widgets.
586
584
  if (!this.oDeleteCell) {
587
- var oRootView = this.getOwnerComponent().getRootControl();
585
+ const oRootView = this.getOwnerComponent().getRootControl();
588
586
  this.oDeleteCell = Fragment.load({
589
587
  id: oRootView.createId("cellDeleteDialog"),
590
588
  name: "sap.ushell.components.workPageBuilder.view.WorkPageCellDeleteDialog",
591
589
  controller: this
592
- }).then(function (oDialog) {
590
+ }).then((oDialog) => {
593
591
  oDialog.setModel(this.getView().getModel("i18n"), "i18n");
594
592
  return oDialog;
595
- }.bind(this));
593
+ });
596
594
  }
597
595
 
598
- return this.oDeleteCell.then(function (oDialog) {
596
+ return this.oDeleteCell.then((oDialog) => {
599
597
  oDialog.getBeginButton().detachEvent("press", this._fnDeleteCellHandler);
600
598
  oDialog.getBeginButton().attachEvent("press", {
601
599
  cell: oCell,
602
600
  dialog: true
603
601
  }, this._fnDeleteCellHandler);
604
602
  oDialog.open();
605
- }.bind(this));
603
+ });
606
604
  },
607
605
 
608
606
  /**
@@ -615,22 +613,22 @@ sap.ui.define([
615
613
  * @returns {Promise} A promise resolving when the cell has been deleted.
616
614
  */
617
615
  deleteCell: function (oEvent, cellData) {
618
- var oCell = cellData.cell;
619
- var oModel = this.getView().getModel();
620
- var oColumn = oCell.getParent();
621
- var iCellIndex = oColumn.indexOfAggregation("cells", oCell);
622
- var sCellsPath = oColumn.getBindingContext().getPath() + "/cells";
623
- var aCells = oModel.getProperty(sCellsPath);
616
+ const oCell = cellData.cell;
617
+ const oModel = this.getView().getModel();
618
+ const oColumn = oCell.getParent();
619
+ const iCellIndex = oColumn.indexOfAggregation("cells", oCell);
620
+ const sCellsPath = `${oColumn.getBindingContext().getPath()}/cells`;
621
+ const aCells = oModel.getProperty(sCellsPath);
624
622
 
625
623
  // Filter out the cell at iCellIndex instead of splicing to avoid mutation of the original array.
626
- var aNewCells = aCells.filter(function (oOriginalCell, iIndex) {
624
+ const aNewCells = aCells.filter((oOriginalCell, iIndex) => {
627
625
  return iIndex !== iCellIndex;
628
626
  });
629
627
 
630
628
  oModel.setProperty(sCellsPath, aNewCells);
631
629
  this.getOwnerComponent().fireEvent("workPageEdited");
632
630
  if (cellData.dialog) {
633
- return this.oDeleteCell.then(function (oDialog) {
631
+ return this.oDeleteCell.then((oDialog) => {
634
632
  oDialog.close();
635
633
  });
636
634
  }
@@ -644,16 +642,16 @@ sap.ui.define([
644
642
  * @param {sap.ushell.ui.launchpad.VizInstanceCdm|sap.ushell.ui.launchpad.VizInstanceLink} oVizInstance the viz instance.
645
643
  */
646
644
  _deleteVisualization: function (oVizInstance) {
647
- var oCell = oVizInstance.getParent().getParent();
648
- var oVizInstanceContext = oVizInstance.getBindingContext();
649
- var sVizInstancePath = oVizInstanceContext.getPath();
650
- var oModel = this.getView().getModel();
651
- var sWidgetsPath = sVizInstancePath.substring(0, sVizInstancePath.lastIndexOf("/"));
652
- var iWidgetIndex = oCell.indexOfAggregation("widgets", oVizInstance);
653
- var aWidgets = oModel.getProperty(sWidgetsPath);
645
+ const oCell = oVizInstance.getParent().getParent();
646
+ const oVizInstanceContext = oVizInstance.getBindingContext();
647
+ const sVizInstancePath = oVizInstanceContext.getPath();
648
+ const oModel = this.getView().getModel();
649
+ const sWidgetsPath = sVizInstancePath.substring(0, sVizInstancePath.lastIndexOf("/"));
650
+ const iWidgetIndex = oCell.indexOfAggregation("widgets", oVizInstance);
651
+ const aWidgets = oModel.getProperty(sWidgetsPath);
654
652
 
655
653
  // Filter out the widget at iWidgetIndex instead of splicing to avoid mutation of the original array.
656
- var aNewWidgets = aWidgets.filter(function (oWidget, iIndex) {
654
+ const aNewWidgets = aWidgets.filter((oWidget, iIndex) => {
657
655
  return iIndex !== iWidgetIndex;
658
656
  });
659
657
 
@@ -711,7 +709,7 @@ sap.ui.define([
711
709
  const oSource = oEvent.getSource(); // WorkPageColumn
712
710
  const oResourceBundle = this.getView().getModel("i18n").getResourceBundle();
713
711
 
714
- return this.oContentFinderPromise.then(function (oContentFinderComponent) {
712
+ return this.oContentFinderPromise.then((oContentFinderComponent) => {
715
713
  oContentFinderComponent.attachVisualizationsAdded(oSource, this._onAddVisualization, this);
716
714
  oContentFinderComponent.attachVisualizationFilterApplied(oSource, this._onVisualizationFilterApplied, this);
717
715
  oContentFinderComponent.show({
@@ -732,7 +730,7 @@ sap.ui.define([
732
730
  ]
733
731
  }
734
732
  });
735
- }.bind(this));
733
+ });
736
734
  },
737
735
 
738
736
  /**
@@ -747,7 +745,7 @@ sap.ui.define([
747
745
  const oSource = oEvent.getSource().getParent().getParent(); // WorkPageCell
748
746
  const oResourceBundle = this.getView().getModel("i18n").getResourceBundle();
749
747
 
750
- return this.oContentFinderPromise.then(function (oContentFinderComponent) {
748
+ return this.oContentFinderPromise.then((oContentFinderComponent) => {
751
749
  oContentFinderComponent.setContextData({ restrictedVisualizations: this._getRestrictedVisualizationIds(oSource) });
752
750
  oContentFinderComponent.attachVisualizationsAdded(oSource, this._onAddVisualization, this);
753
751
  oContentFinderComponent.attachVisualizationFilterApplied(oSource, this._onVisualizationFilterApplied, this);
@@ -764,7 +762,7 @@ sap.ui.define([
764
762
  ]
765
763
  }
766
764
  });
767
- }.bind(this));
765
+ });
768
766
  },
769
767
 
770
768
  /**
@@ -777,7 +775,7 @@ sap.ui.define([
777
775
  * @private
778
776
  */
779
777
  _getRestrictedVisualizationIds: function (oCell) {
780
- return oCell.getWidgets().map(function (oWidget) {
778
+ return oCell.getWidgets().map((oWidget) => {
781
779
  if (oWidget.isA("sap.ushell.ui.launchpad.VizInstanceCdm")) {
782
780
  return oWidget.getProperty("vizRefId");
783
781
  }
@@ -794,17 +792,17 @@ sap.ui.define([
794
792
  */
795
793
  _onAddVisualization: function (oEvent, oSource) {
796
794
  const oModel = this.getView().getModel();
797
- var aSelectedVisualizations = oEvent.getParameter("visualizations");
795
+ const aSelectedVisualizations = oEvent.getParameter("visualizations");
798
796
 
799
797
  if (aSelectedVisualizations.length > 0) {
800
- aSelectedVisualizations.forEach(function (oVisualization) {
801
- var sVizSelectedItemPath = "/data/usedVisualizations/" + oVisualization.id;
798
+ aSelectedVisualizations.forEach((oVisualization) => {
799
+ const sVizSelectedItemPath = `/data/usedVisualizations/${oVisualization.id}`;
802
800
  if (!oModel.getProperty(sVizSelectedItemPath)) {
803
801
  oModel.setProperty(sVizSelectedItemPath, oVisualization.vizData);
804
802
  }
805
803
  });
806
804
 
807
- var aWidgetData = this._instantiateWidgetData(aSelectedVisualizations);
805
+ const aWidgetData = this._instantiateWidgetData(aSelectedVisualizations);
808
806
 
809
807
  if (oSource.isA("sap.ushell.components.workPageBuilder.controls.WorkPageCell")) {
810
808
  this._setCellData(oSource, aWidgetData);
@@ -813,7 +811,6 @@ sap.ui.define([
813
811
  this._setColumnData(oSource, aWidgetData);
814
812
  }
815
813
  }
816
-
817
814
  },
818
815
 
819
816
  /**
@@ -825,10 +822,10 @@ sap.ui.define([
825
822
  * @private
826
823
  */
827
824
  _instantiateWidgetData: function (aSelectedVisualizations) {
828
- var aIds = [];
829
- var sId;
825
+ let aIds = [];
826
+ let sId;
830
827
 
831
- return aSelectedVisualizations.map(function (oTile) {
828
+ return aSelectedVisualizations.map((oTile) => {
832
829
  sId = this._generateUniqueId(aIds);
833
830
  aIds = aIds.concat([sId]);
834
831
  return {
@@ -837,7 +834,7 @@ sap.ui.define([
837
834
  id: oTile.vizData.id
838
835
  }
839
836
  };
840
- }.bind(this));
837
+ });
841
838
  },
842
839
 
843
840
  /**
@@ -850,8 +847,8 @@ sap.ui.define([
850
847
  */
851
848
  _setCellData: function (oCell, aWidgetData) {
852
849
  const oModel = this.getView().getModel();
853
- var sCellPath = oCell.getBindingContext().getPath();
854
- var oCellData = Object.assign({}, oModel.getProperty(sCellPath));
850
+ const sCellPath = oCell.getBindingContext().getPath();
851
+ const oCellData = Object.assign({}, oModel.getProperty(sCellPath));
855
852
 
856
853
  oCellData.widgets = oCellData.widgets.concat(aWidgetData);
857
854
 
@@ -904,27 +901,27 @@ sap.ui.define([
904
901
  * @param {sap.ui.base.Event} oEvent The "deleteRow" event.
905
902
  */
906
903
  onDeleteRow: function (oEvent) {
907
- var oRootView = this.getOwnerComponent().getRootControl();
908
- var oWorkPageRowContext = oEvent.getSource().getBindingContext();
904
+ const oRootView = this.getOwnerComponent().getRootControl();
905
+ const oWorkPageRowContext = oEvent.getSource().getBindingContext();
909
906
 
910
907
  if (!this.oLoadDeleteDialog) {
911
908
  this.oLoadDeleteDialog = Fragment.load({
912
909
  id: oRootView.createId("rowDeleteDialog"),
913
910
  name: "sap.ushell.components.workPageBuilder.view.WorkPageRowDeleteDialog",
914
911
  controller: this
915
- }).then(function (oDialog) {
912
+ }).then((oDialog) => {
916
913
  oDialog.setModel(this.getView().getModel("i18n"), "i18n");
917
914
  return oDialog;
918
- }.bind(this));
915
+ });
919
916
  }
920
917
 
921
- return this.oLoadDeleteDialog.then(function (oDialog) {
918
+ return this.oLoadDeleteDialog.then((oDialog) => {
922
919
  oDialog.getBeginButton().detachEvent("press", this._fnDeleteRowHandler);
923
920
  oDialog.getBeginButton().attachEvent("press", {
924
921
  rowContext: oWorkPageRowContext
925
922
  }, this._fnDeleteRowHandler);
926
923
  oDialog.open();
927
- }.bind(this));
924
+ });
928
925
  },
929
926
 
930
927
  /**
@@ -936,19 +933,19 @@ sap.ui.define([
936
933
  * @param {object} oRowData Object containing the WorkPageRow context to delete.
937
934
  */
938
935
  deleteRow: function (oEvent, oRowData) {
939
- var oModel = this.getView().getModel();
940
- var oWorkPageRowContext = oRowData.rowContext;
941
- var aRows = oModel.getProperty("/data/workPage/rows");
942
- var oRowContextData = oWorkPageRowContext.getObject();
936
+ const oModel = this.getView().getModel();
937
+ const oWorkPageRowContext = oRowData.rowContext;
938
+ const aRows = oModel.getProperty("/data/workPage/rows");
939
+ const oRowContextData = oWorkPageRowContext.getObject();
943
940
 
944
941
  // Filter out the row with the given id to avoid mutation of the original array.
945
- var aFilteredRows = aRows.filter(function (oRow) {
942
+ const aFilteredRows = aRows.filter((oRow) => {
946
943
  return oRow.id !== oRowContextData.id;
947
944
  });
948
945
 
949
946
  oModel.setProperty("/data/workPage/rows", aFilteredRows);
950
947
  this.getOwnerComponent().fireEvent("workPageEdited");
951
- return this.oLoadDeleteDialog.then(function (oDialog) {
948
+ return this.oLoadDeleteDialog.then((oDialog) => {
952
949
  oDialog.close();
953
950
  });
954
951
  },
@@ -958,7 +955,7 @@ sap.ui.define([
958
955
  * @returns {Promise} A promise resolving when the dialog has been closed
959
956
  */
960
957
  onRowDeleteCancel: function () {
961
- return this.oLoadDeleteDialog.then(function (oDialog) {
958
+ return this.oLoadDeleteDialog.then((oDialog) => {
962
959
  oDialog.close();
963
960
  });
964
961
  },
@@ -969,7 +966,7 @@ sap.ui.define([
969
966
  * @returns {Promise} A promise resolving when the dialog has been closed
970
967
  */
971
968
  onCellDeleteCancel: function () {
972
- return this.oDeleteCell.then(function (oDialog) {
969
+ return this.oDeleteCell.then((oDialog) => {
973
970
  oDialog.close();
974
971
  });
975
972
  },
@@ -1001,24 +998,24 @@ sap.ui.define([
1001
998
  * @returns {sap.ushell.ui.launchpad.VizInstance|sap.m.GenericTile|sap.ui.integration.widgets.Card} The resulting control.
1002
999
  */
1003
1000
  widgetFactory: function (sWidgetId, oWidgetContext) {
1004
- var sVizId = oWidgetContext.getProperty("visualization/id");
1001
+ const sVizId = oWidgetContext.getProperty("visualization/id");
1005
1002
 
1006
1003
  if (!sVizId) {
1007
1004
  Log.error("No vizId found in widget context.");
1008
1005
  return this._createErrorTile();
1009
1006
  }
1010
1007
 
1011
- var oVizData = this.getView().getModel().getProperty("/data/usedVisualizations/" + sVizId);
1008
+ const oVizData = this.getView().getModel().getProperty(`/data/usedVisualizations/${sVizId}`);
1012
1009
 
1013
1010
  if (!oVizData || !oVizData.type) {
1014
- Log.error("No viz or vizType found for vizId " + sVizId);
1011
+ Log.error(`No viz or vizType found for vizId ${sVizId}`);
1015
1012
  return this._createErrorTile();
1016
1013
  }
1017
1014
 
1018
- var aWidgetConfigurations = oWidgetContext.getProperty("configurations") || [];
1019
- var aVizConfigurations = oVizData.configurations || [];
1020
- var aMergedAndSortedConfigurations = this._getMergedAndSortedConfigurations(aWidgetConfigurations, aVizConfigurations);
1021
- var sWidgetContextPath = oWidgetContext.getPath();
1015
+ const aWidgetConfigurations = oWidgetContext.getProperty("configurations") || [];
1016
+ const aVizConfigurations = oVizData.configurations || [];
1017
+ const aMergedAndSortedConfigurations = this._getMergedAndSortedConfigurations(aWidgetConfigurations, aVizConfigurations);
1018
+ const sWidgetContextPath = oWidgetContext.getPath();
1022
1019
 
1023
1020
  switch (oVizData.type) {
1024
1021
  case "sap.card":
@@ -1033,7 +1030,7 @@ sap.ui.define([
1033
1030
  case "ssuite.smartbusiness.tiles.comparison":
1034
1031
  return this._createVizInstance(oVizData);
1035
1032
  default:
1036
- Log.error("Unknown type for widget " + oVizData.type);
1033
+ Log.error(`Unknown type for widget ${oVizData.type}`);
1037
1034
  return this._createErrorTile();
1038
1035
  }
1039
1036
  },
@@ -1063,15 +1060,15 @@ sap.ui.define([
1063
1060
 
1064
1061
  // First, widget configurations and viz configurations are merged for each level in CONFIGURATION_LEVELS
1065
1062
  // Second, the merged configurations are sorted
1066
- var oConfigurations = CONFIGURATION_LEVELS.reduce(function (oMergedConfigurations, sLevel) {
1067
- var oWidgetConfigByLevel = aWidgetConfigurations.find(function (oWidgetConfig) {
1063
+ const oConfigurations = CONFIGURATION_LEVELS.reduce((oMergedConfigurations, sLevel) => {
1064
+ const oWidgetConfigByLevel = aWidgetConfigurations.find((oWidgetConfig) => {
1068
1065
  return oWidgetConfig.level === sLevel;
1069
1066
  });
1070
- var oVizConfigByLevel = aVizConfigurations.find(function (oVizConfig) {
1067
+ const oVizConfigByLevel = aVizConfigurations.find((oVizConfig) => {
1071
1068
  return oVizConfig.level === sLevel;
1072
1069
  });
1073
1070
 
1074
- var oMergedConfigurationsByLevel = deepExtend({}, oVizConfigByLevel, oWidgetConfigByLevel);
1071
+ const oMergedConfigurationsByLevel = deepExtend({}, oVizConfigByLevel, oWidgetConfigByLevel);
1075
1072
 
1076
1073
  if (Object.keys(oMergedConfigurationsByLevel).length > 0) {
1077
1074
  oMergedConfigurations[sLevel] = oMergedConfigurationsByLevel;
@@ -1083,7 +1080,6 @@ sap.ui.define([
1083
1080
  return this._sortConfigurations(Object.values(oConfigurations));
1084
1081
  },
1085
1082
 
1086
-
1087
1083
  /**
1088
1084
  * Sort the widget's configuration by level: PR: Provider, CO: (Content) Administrator, PG: Page Administrator, US: End User
1089
1085
  *
@@ -1094,12 +1090,12 @@ sap.ui.define([
1094
1090
  */
1095
1091
 
1096
1092
  _sortConfigurations: function (aConfigurations) {
1097
- var oSortedConfigurations = aConfigurations && aConfigurations.sort(function (oWidgetConfigA, oWidgetConfigB) {
1093
+ const oSortedConfigurations = aConfigurations && aConfigurations.sort((oWidgetConfigA, oWidgetConfigB) => {
1098
1094
  return CONFIGURATION_LEVELS.indexOf(oWidgetConfigA.level) - CONFIGURATION_LEVELS.indexOf(oWidgetConfigB.level);
1099
1095
  });
1100
1096
 
1101
1097
  // PR —> CO —> PG —> US
1102
- return oSortedConfigurations.map(function (oWidgetConfiguration) {
1098
+ return oSortedConfigurations.map((oWidgetConfiguration) => {
1103
1099
  return oWidgetConfiguration.settings.value;
1104
1100
  });
1105
1101
  },
@@ -1122,7 +1118,7 @@ sap.ui.define([
1122
1118
  delete oExtendedVizData._siteData.targetURL;
1123
1119
  }
1124
1120
 
1125
- var oVizInstance = this.oWorkPageVizInstantiation.createVizInstance(oExtendedVizData);
1121
+ const oVizInstance = this.oWorkPageVizInstantiation.createVizInstance(oExtendedVizData);
1126
1122
 
1127
1123
  if (!oVizInstance) {
1128
1124
  Log.error("No VizInstance was created.");
@@ -1172,8 +1168,8 @@ sap.ui.define([
1172
1168
  * @param {sap.ui.base.Event} oEvent The press event.
1173
1169
  */
1174
1170
  onVisualizationPress: function (oEvent) {
1175
- var sScope = oEvent.getParameter("scope");
1176
- var sAction = oEvent.getParameter("action");
1171
+ const sScope = oEvent.getParameter("scope");
1172
+ const sAction = oEvent.getParameter("action");
1177
1173
 
1178
1174
  if (sScope === "Actions" && sAction === "Remove") {
1179
1175
  this._deleteVisualization(oEvent.getSource());
@@ -1192,11 +1188,11 @@ sap.ui.define([
1192
1188
  * @private
1193
1189
  */
1194
1190
  _createCard: function (oViz = {}, aWidgetConfigurations = [], aManifestChangesToApply = [], sWidgetContextPath = "") {
1195
- var oOptions = {};
1196
- var bHasDescriptor = oViz.descriptor && oViz.descriptor.value && oViz.descriptor.value["sap.card"];
1197
- var bHasDescriptorResources = oViz.descriptorResources && (oViz.descriptorResources.baseUrl || oViz.descriptorResources.descriptorPath);
1198
- var bPgLevelConfigurationsExist = aWidgetConfigurations.some(function (oConfig) { return oConfig.level === "PG"; });
1199
- var bIsConfigurable;
1191
+ const oOptions = {};
1192
+ const bHasDescriptor = oViz.descriptor && oViz.descriptor.value && oViz.descriptor.value["sap.card"];
1193
+ const bHasDescriptorResources = oViz.descriptorResources && (oViz.descriptorResources.baseUrl || oViz.descriptorResources.descriptorPath);
1194
+ const bPgLevelConfigurationsExist = aWidgetConfigurations.some((oConfig) => { return oConfig.level === "PG"; });
1195
+ let bIsConfigurable;
1200
1196
 
1201
1197
  if (!bHasDescriptor && !bHasDescriptorResources) {
1202
1198
  Log.error("No descriptor or descriptorResources for Card");
@@ -1228,10 +1224,10 @@ sap.ui.define([
1228
1224
  oOptions.baseUrl += "/";
1229
1225
  }
1230
1226
 
1231
- var oCard = new Card(oOptions);
1227
+ const oCard = new Card(oOptions);
1232
1228
 
1233
1229
  if (bIsConfigurable) {
1234
- var oConfigureActionDefinition = this._createCardConfigurationActionDefinition(
1230
+ const oConfigureActionDefinition = this._createCardConfigurationActionDefinition(
1235
1231
  oCard,
1236
1232
  sWidgetContextPath,
1237
1233
  this._openCardConfigurationEditor.bind(this)
@@ -1240,7 +1236,7 @@ sap.ui.define([
1240
1236
  }
1241
1237
 
1242
1238
  if (bPgLevelConfigurationsExist) {
1243
- var oResetActionDefinition = this._createCardResetActionDefinition(
1239
+ const oResetActionDefinition = this._createCardResetActionDefinition(
1244
1240
  aWidgetConfigurations,
1245
1241
  sWidgetContextPath,
1246
1242
  this._openResetCardConfigurationDialog.bind(this)
@@ -1335,9 +1331,9 @@ sap.ui.define([
1335
1331
  this.oCardEditorDialogPromise = this._createCardEditorDialog(oContextData.card);
1336
1332
  }
1337
1333
 
1338
- var oCardEditorPromise = this._createCardEditor(oContextData.card);
1334
+ const oCardEditorPromise = this._createCardEditor(oContextData.card);
1339
1335
 
1340
- return Promise.all([oCardEditorPromise, this.oCardEditorDialogPromise]).then(function (aInstances) {
1336
+ return Promise.all([oCardEditorPromise, this.oCardEditorDialogPromise]).then((aInstances) => {
1341
1337
  this.oCardEditorDialog = aInstances[1];
1342
1338
  this.oCardEditorDialog.removeAllContent();
1343
1339
  this.oCardEditorDialog.getBeginButton()
@@ -1346,10 +1342,9 @@ sap.ui.define([
1346
1342
  this._setCardDialogTitle(this.oCardEditorDialog, oContextData.card);
1347
1343
  this.oCardEditorDialog.addContent(aInstances[0]);
1348
1344
  this.oCardEditorDialog.open();
1349
- }.bind(this));
1345
+ });
1350
1346
  },
1351
1347
 
1352
-
1353
1348
  /**
1354
1349
  * Opens the card reset dialog and attaches the reset button handler.
1355
1350
  *
@@ -1369,14 +1364,14 @@ sap.ui.define([
1369
1364
  this.oCardResetDialogPromise = this._createResetCardConfigurationDialog();
1370
1365
  }
1371
1366
 
1372
- return this.oCardResetDialogPromise.then(function (oCardResetDialog) {
1367
+ return this.oCardResetDialogPromise.then((oCardResetDialog) => {
1373
1368
  this.oCardResetDialog = oCardResetDialog;
1374
1369
  this.getView().addDependent(this.oCardResetDialog);
1375
1370
  this.oCardResetDialog.getBeginButton()
1376
1371
  .detachPress(this._fnResetCardConfiguration)
1377
1372
  .attachPress(oContextData, this._fnResetCardConfiguration);
1378
1373
  this.oCardResetDialog.open();
1379
- }.bind(this));
1374
+ });
1380
1375
  },
1381
1376
 
1382
1377
  /**
@@ -1387,10 +1382,10 @@ sap.ui.define([
1387
1382
  * @private
1388
1383
  */
1389
1384
  _onResetCardConfigurations: function (oEvent, oContextData) {
1390
- var oDialog = oEvent.getSource().getParent();
1391
- var aWidgetConfigurations = oContextData.widgetConfigurations;
1392
- var sWidgetConfigurationsPath = oContextData.widgetContextPath + "/configurations";
1393
- var aRemainingConfigurations = aWidgetConfigurations.filter(function (oConfig) {
1385
+ const oDialog = oEvent.getSource().getParent();
1386
+ const aWidgetConfigurations = oContextData.widgetConfigurations;
1387
+ const sWidgetConfigurationsPath = `${oContextData.widgetContextPath}/configurations`;
1388
+ const aRemainingConfigurations = aWidgetConfigurations.filter((oConfig) => {
1394
1389
  return oConfig.level !== "PG";
1395
1390
  });
1396
1391
 
@@ -1409,15 +1404,15 @@ sap.ui.define([
1409
1404
  * @private
1410
1405
  */
1411
1406
  _createResetCardConfigurationDialog: function () {
1412
- var oI18nBundle = this.getView().getModel("i18n").getResourceBundle();
1413
- var sDialogTitle = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Title");
1414
- var sDialogContent = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Content");
1415
- var sBeginButtonText = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Accept");
1416
- var sEndButtonText = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Deny");
1407
+ const oI18nBundle = this.getView().getModel("i18n").getResourceBundle();
1408
+ const sDialogTitle = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Title");
1409
+ const sDialogContent = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Content");
1410
+ const sBeginButtonText = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Accept");
1411
+ const sEndButtonText = oI18nBundle.getText("WorkPage.CardEditor.DeleteConfigurationDialog.Deny");
1417
1412
 
1418
1413
  return new Promise((resolve, reject) => {
1419
1414
  sap.ui.require(["sap/m/Dialog", "sap/m/Button", "sap/m/Text"], (Dialog, Button, Text) => {
1420
- var oDialog = new Dialog({
1415
+ const oDialog = new Dialog({
1421
1416
  id: this.createId("cardConfigurationResetDialog"),
1422
1417
  type: mLibrary.DialogType.Message,
1423
1418
  state: ValueState.Warning,
@@ -1448,8 +1443,8 @@ sap.ui.define([
1448
1443
  * @private
1449
1444
  */
1450
1445
  _setCardDialogTitle: function (oDialog, oCard) {
1451
- var oI18nBundle = this.getView().getModel("i18n").getResourceBundle();
1452
- var sCardEditorTitle = this._getCardTitle(oCard)
1446
+ const oI18nBundle = this.getView().getModel("i18n").getResourceBundle();
1447
+ const sCardEditorTitle = this._getCardTitle(oCard)
1453
1448
  ? oI18nBundle.getText("WorkPage.CardEditor.Title", [this._getCardTitle(oCard)])
1454
1449
  : oI18nBundle.getText("WorkPage.CardEditor.Title.NoCardTitle");
1455
1450
  oDialog.setTitle(sCardEditorTitle);
@@ -1476,7 +1471,7 @@ sap.ui.define([
1476
1471
  })
1477
1472
  );
1478
1473
  },
1479
- fReject
1474
+ fReject
1480
1475
  );
1481
1476
  },
1482
1477
  fReject
@@ -1492,13 +1487,13 @@ sap.ui.define([
1492
1487
  * @private
1493
1488
  */
1494
1489
  _createCardEditorDialog: function (oCard) {
1495
- var oI18nBundle = this.getView().getModel("i18n").getResourceBundle();
1496
- var sCardEditorSaveText = oI18nBundle.getText("WorkPage.CardEditor.Save");
1497
- var sCardEditorCancelText = oI18nBundle.getText("WorkPage.CardEditor.Cancel");
1490
+ const oI18nBundle = this.getView().getModel("i18n").getResourceBundle();
1491
+ const sCardEditorSaveText = oI18nBundle.getText("WorkPage.CardEditor.Save");
1492
+ const sCardEditorCancelText = oI18nBundle.getText("WorkPage.CardEditor.Cancel");
1498
1493
 
1499
1494
  return new Promise((resolve, reject) => {
1500
1495
  sap.ui.require(["sap/m/Dialog", "sap/m/Button"], (Dialog, Button) => {
1501
- var oDialog = new Dialog({
1496
+ const oDialog = new Dialog({
1502
1497
  id: this.createId("cardEditorDialog"),
1503
1498
  contentWidth: "40rem",
1504
1499
  beginButton: new Button({
@@ -1538,14 +1533,14 @@ sap.ui.define([
1538
1533
  * @private
1539
1534
  */
1540
1535
  _onSaveCardEditor: function (oEvent, sWidgetContextPath) {
1541
- var oDialog = oEvent.getSource().getParent();
1542
- var oCardEditor = oDialog.getContent()[0];
1543
- var oCard = oCardEditor.getCard();
1544
- var sWidgetConfigurationsPath = sWidgetContextPath + "/configurations";
1545
- var oCurrentSettings = oCardEditor.getCurrentSettings();
1546
- var aWidgetConfigurations = this.oModel.getProperty(sWidgetConfigurationsPath) || [];
1547
-
1548
- var oWidgetConfiguration = aWidgetConfigurations.find(function (oConfiguration) {
1536
+ const oDialog = oEvent.getSource().getParent();
1537
+ const oCardEditor = oDialog.getContent()[0];
1538
+ const oCard = oCardEditor.getCard();
1539
+ const sWidgetConfigurationsPath = `${sWidgetContextPath}/configurations`;
1540
+ const oCurrentSettings = oCardEditor.getCurrentSettings();
1541
+ let aWidgetConfigurations = this.oModel.getProperty(sWidgetConfigurationsPath) || [];
1542
+
1543
+ let oWidgetConfiguration = aWidgetConfigurations.find((oConfiguration) => {
1549
1544
  return oConfiguration.level === "PG";
1550
1545
  });
1551
1546
 
@@ -1559,7 +1554,7 @@ sap.ui.define([
1559
1554
  };
1560
1555
  aWidgetConfigurations.push(oWidgetConfiguration);
1561
1556
  } else {
1562
- aWidgetConfigurations = aWidgetConfigurations.map(function (oConfiguration) {
1557
+ aWidgetConfigurations = aWidgetConfigurations.map((oConfiguration) => {
1563
1558
  if (oConfiguration.level === "PG") {
1564
1559
  oConfiguration.settings.value = deepExtend({}, oConfiguration.settings.value, oCurrentSettings);
1565
1560
  }
@@ -1605,14 +1600,14 @@ sap.ui.define([
1605
1600
  * @private
1606
1601
  */
1607
1602
  onCellDrop: function (oEvent) {
1608
- var oSourceCell = oEvent.getParameter("draggedControl");
1609
- var oTargetCell = oEvent.getParameter("droppedControl");
1610
- var sDropPosition = oEvent.getParameter("dropPosition");
1611
- var oSourceColumn = oSourceCell.getParent();
1612
- var oTargetColumn = oTargetCell.getParent();
1603
+ const oSourceCell = oEvent.getParameter("draggedControl");
1604
+ const oTargetCell = oEvent.getParameter("droppedControl");
1605
+ const sDropPosition = oEvent.getParameter("dropPosition");
1606
+ const oSourceColumn = oSourceCell.getParent();
1607
+ const oTargetColumn = oTargetCell.getParent();
1613
1608
 
1614
- var iSourceIndex = oSourceColumn.indexOfAggregation("cells", oSourceCell);
1615
- var iTargetIndex = oTargetColumn.indexOfAggregation("cells", oTargetCell);
1609
+ const iSourceIndex = oSourceColumn.indexOfAggregation("cells", oSourceCell);
1610
+ let iTargetIndex = oTargetColumn.indexOfAggregation("cells", oTargetCell);
1616
1611
 
1617
1612
  // Increase the drop position if the dragged element is moved below the target element.
1618
1613
  if (sDropPosition === "After") {
@@ -1631,12 +1626,12 @@ sap.ui.define([
1631
1626
  * @private
1632
1627
  */
1633
1628
  onCellDropOnEmptyColumn: function (oEvent) {
1634
- var oSourceCell = oEvent.getParameter("draggedControl");
1635
- var oTargetColumn = oEvent.getParameter("droppedControl");
1636
- var oSourceColumn = oSourceCell.getParent();
1629
+ const oSourceCell = oEvent.getParameter("draggedControl");
1630
+ const oTargetColumn = oEvent.getParameter("droppedControl");
1631
+ const oSourceColumn = oSourceCell.getParent();
1637
1632
 
1638
- var iSourceIndex = oSourceColumn.indexOfAggregation("cells", oSourceCell);
1639
- var iTargetIndex = 0;
1633
+ const iSourceIndex = oSourceColumn.indexOfAggregation("cells", oSourceCell);
1634
+ const iTargetIndex = 0;
1640
1635
 
1641
1636
  this._moveCell(oSourceColumn, oTargetColumn, iSourceIndex, iTargetIndex);
1642
1637
  },
@@ -1710,7 +1705,7 @@ sap.ui.define([
1710
1705
  */
1711
1706
  _moveVisualizationToCellOrColumn: function (oVisualization, oSourceCell, oTargetControl, iPositionInTargetColumn) {
1712
1707
  const oModel = this.getView().getModel();
1713
- const sCellWidgetsPath = oSourceCell.getBindingContext().getPath() + "/widgets";
1708
+ const sCellWidgetsPath = `${oSourceCell.getBindingContext().getPath()}/widgets`;
1714
1709
  const aCellWidgets = oModel.getProperty(sCellWidgetsPath);
1715
1710
  const iIndexInSourceCell = oSourceCell.indexOfAggregation("widgets", oVisualization);
1716
1711
  const sSourceVisPath = oVisualization.getBindingContext().getPath();
@@ -1743,15 +1738,15 @@ sap.ui.define([
1743
1738
  * @since 1.116.0
1744
1739
  */
1745
1740
  _moveCell: function (oSourceColumn, oTargetColumn, iSourceIndex, iTargetIndex) {
1746
- var oModel = this.getView().getModel();
1741
+ const oModel = this.getView().getModel();
1747
1742
 
1748
- var bSameContainer = oTargetColumn.getId() === oSourceColumn.getId();
1743
+ const bSameContainer = oTargetColumn.getId() === oSourceColumn.getId();
1749
1744
 
1750
- var sSourceColumnCellsPath = oSourceColumn.getBindingContext().getPath() + "/cells";
1751
- var sTargetColumnCellsPath = oTargetColumn.getBindingContext().getPath() + "/cells";
1745
+ const sSourceColumnCellsPath = `${oSourceColumn.getBindingContext().getPath()}/cells`;
1746
+ const sTargetColumnCellsPath = `${oTargetColumn.getBindingContext().getPath()}/cells`;
1752
1747
 
1753
- var aSourceColumnCells = oModel.getProperty(sSourceColumnCellsPath);
1754
- var aTargetColumnCells = oModel.getProperty(sTargetColumnCellsPath);
1748
+ const aSourceColumnCells = oModel.getProperty(sSourceColumnCellsPath);
1749
+ let aTargetColumnCells = oModel.getProperty(sTargetColumnCellsPath);
1755
1750
 
1756
1751
  if (bSameContainer) {
1757
1752
  // Decrease drop position if the dragged element is taken from before the drop position in the same container.
@@ -1765,7 +1760,7 @@ sap.ui.define([
1765
1760
  }
1766
1761
 
1767
1762
  // Filter the dragged item from the source array instead of splicing to avoid mutation.
1768
- var aNewDragColumnCells = aSourceColumnCells.filter(function (oWidget, iIndex) {
1763
+ const aNewDragColumnCells = aSourceColumnCells.filter((oWidget, iIndex) => {
1769
1764
  return iIndex !== iSourceIndex;
1770
1765
  });
1771
1766
 
@@ -1775,7 +1770,7 @@ sap.ui.define([
1775
1770
  }
1776
1771
 
1777
1772
  // Insert the dragged object into a new target array to avoid mutation.
1778
- var aNewDropColumnCells = [aTargetColumnCells.slice(0, iTargetIndex), aSourceColumnCells[iSourceIndex], aTargetColumnCells.slice(iTargetIndex)].flat();
1773
+ const aNewDropColumnCells = [aTargetColumnCells.slice(0, iTargetIndex), aSourceColumnCells[iSourceIndex], aTargetColumnCells.slice(iTargetIndex)].flat();
1779
1774
 
1780
1775
  oModel.setProperty(sSourceColumnCellsPath, aNewDragColumnCells);
1781
1776
  oModel.setProperty(sTargetColumnCellsPath, aNewDropColumnCells);
@@ -1790,11 +1785,11 @@ sap.ui.define([
1790
1785
  * @param {sap.ui.base.Event} oEvent The drop event.
1791
1786
  */
1792
1787
  onWidgetOnCellDrop: function (oEvent) {
1793
- var oDragged = oEvent.getParameter("draggedControl");
1794
- var oSourceCell = oDragged.getParent().getParent();
1795
- var oTargetCell = oEvent.getParameter("droppedControl");
1796
- var iDragPosition = oSourceCell.indexOfAggregation("widgets", oDragged);
1797
- var iDropPosition = oTargetCell.getBindingContext().getProperty("widgets").length;
1788
+ const oDragged = oEvent.getParameter("draggedControl");
1789
+ const oSourceCell = oDragged.getParent().getParent();
1790
+ const oTargetCell = oEvent.getParameter("droppedControl");
1791
+ const iDragPosition = oSourceCell.indexOfAggregation("widgets", oDragged);
1792
+ const iDropPosition = oTargetCell.getBindingContext().getProperty("widgets").length;
1798
1793
 
1799
1794
  this._moveVisualization(oSourceCell, oTargetCell, iDragPosition, iDropPosition);
1800
1795
  },
@@ -1820,16 +1815,16 @@ sap.ui.define([
1820
1815
  * @param {sap.ui.base.Event} oEvent The drop event.
1821
1816
  */
1822
1817
  onGridDrop: function (oEvent) {
1823
- var oTargetCell = oEvent.getSource();
1824
- var oDragged = oEvent.getParameter("draggedControl");
1825
- var oDropped = oEvent.getParameter("droppedControl");
1826
- var sInsertPosition = oEvent.getParameter("dropPosition");
1827
- var oSourceCell = oDragged.getParent().getParent();
1818
+ const oTargetCell = oEvent.getSource();
1819
+ const oDragged = oEvent.getParameter("draggedControl");
1820
+ const oDropped = oEvent.getParameter("droppedControl");
1821
+ const sInsertPosition = oEvent.getParameter("dropPosition");
1822
+ const oSourceCell = oDragged.getParent().getParent();
1828
1823
 
1829
- var iDragPosition = oSourceCell.indexOfAggregation("widgets", oDragged);
1830
- var iDropPosition = oTargetCell.indexOfAggregation("widgets", oDropped);
1824
+ const iDragPosition = oSourceCell.indexOfAggregation("widgets", oDragged);
1825
+ let iDropPosition = oTargetCell.indexOfAggregation("widgets", oDropped);
1831
1826
 
1832
- var bSameContainer = oTargetCell.getId() === oSourceCell.getId();
1827
+ const bSameContainer = oTargetCell.getId() === oSourceCell.getId();
1833
1828
 
1834
1829
  // Increase the drop position if the dragged element is moved to the right.
1835
1830
  if (sInsertPosition === "After") {
@@ -1863,19 +1858,19 @@ sap.ui.define([
1863
1858
  * @private
1864
1859
  */
1865
1860
  _moveVisualization: function (oSourceCell, oTargetCell, iDragPosition, iDropPosition) {
1866
- var oModel = this.getView().getModel();
1861
+ const oModel = this.getView().getModel();
1867
1862
 
1868
- var sDragContainerWidgetsPath = oSourceCell.getBindingContext().getPath() + "/widgets";
1869
- var sDropContainerWidgetsPath = oTargetCell.getBindingContext().getPath() + "/widgets";
1870
- var bSameCell = sDragContainerWidgetsPath === sDropContainerWidgetsPath;
1863
+ const sDragContainerWidgetsPath = `${oSourceCell.getBindingContext().getPath()}/widgets`;
1864
+ const sDropContainerWidgetsPath = `${oTargetCell.getBindingContext().getPath()}/widgets`;
1865
+ const bSameCell = sDragContainerWidgetsPath === sDropContainerWidgetsPath;
1871
1866
 
1872
- var aDragContainerWidgets = oModel.getProperty(sDragContainerWidgetsPath);
1873
- var aDropContainerWidgets = oModel.getProperty(sDropContainerWidgetsPath);
1867
+ const aDragContainerWidgets = oModel.getProperty(sDragContainerWidgetsPath);
1868
+ let aDropContainerWidgets = oModel.getProperty(sDropContainerWidgetsPath);
1874
1869
 
1875
- var oDraggedObject = aDragContainerWidgets[iDragPosition];
1870
+ const oDraggedObject = aDragContainerWidgets[iDragPosition];
1876
1871
 
1877
1872
  // Filter the dragged item from the source array instead of splicing to avoid mutation.
1878
- var aNewDragContainerWidgets = aDragContainerWidgets.filter(function (oWidget, iIndex) {
1873
+ const aNewDragContainerWidgets = aDragContainerWidgets.filter((oWidget, iIndex) => {
1879
1874
  return iIndex !== iDragPosition;
1880
1875
  });
1881
1876
 
@@ -1885,7 +1880,7 @@ sap.ui.define([
1885
1880
  }
1886
1881
 
1887
1882
  // Insert the dragged object into a new target array to avoid mutation.
1888
- var aNewDropContainerWidgets = [aDropContainerWidgets.slice(0, iDropPosition), oDraggedObject, aDropContainerWidgets.slice(iDropPosition)].flat();
1883
+ const aNewDropContainerWidgets = [aDropContainerWidgets.slice(0, iDropPosition), oDraggedObject, aDropContainerWidgets.slice(iDropPosition)].flat();
1889
1884
 
1890
1885
  oModel.setProperty(sDragContainerWidgetsPath, aNewDragContainerWidgets);
1891
1886
  oModel.setProperty(sDropContainerWidgetsPath, aNewDropContainerWidgets);
@@ -1901,11 +1896,11 @@ sap.ui.define([
1901
1896
  * @returns {boolean} The result indicating if tileMode is active.
1902
1897
  */
1903
1898
  tileMode: function (aWidgets) {
1904
- var oModel = this.getView().getModel();
1905
- var oUsedViz;
1899
+ const oModel = this.getView().getModel();
1900
+ let oUsedViz;
1906
1901
 
1907
- return !!aWidgets && (aWidgets.length > 1 || !aWidgets.some(function (oWidget) {
1908
- oUsedViz = oModel.getProperty("/data/usedVisualizations/" + ObjectPath.get("visualization.id", oWidget));
1902
+ return !!aWidgets && (aWidgets.length > 1 || !aWidgets.some((oWidget) => {
1903
+ oUsedViz = oModel.getProperty(`/data/usedVisualizations/${ObjectPath.get("visualization.id", oWidget)}`);
1909
1904
  return ObjectPath.get("type", oUsedViz) === "sap.card";
1910
1905
  }));
1911
1906
  },
@@ -1932,11 +1927,11 @@ sap.ui.define([
1932
1927
  * @private
1933
1928
  */
1934
1929
  _updateModelWithColumnWidths: function (oRow, iLeftColumnIndex, iRightColumnIndex, iNewLeftColumnWidth, iNewRightColumnWidth) {
1935
- var oModel = this.getView().getModel();
1936
- var oRowBindingContext = oRow.getBindingContext();
1937
- var sRowBindingContextPath = oRowBindingContext.getPath();
1938
- var sLeftColumnPath = sRowBindingContextPath + "/columns/" + iLeftColumnIndex + "/descriptor/value/columnWidth";
1939
- var sRightColumnPath = sRowBindingContextPath + "/columns/" + iRightColumnIndex + "/descriptor/value/columnWidth";
1930
+ const oModel = this.getView().getModel();
1931
+ const oRowBindingContext = oRow.getBindingContext();
1932
+ const sRowBindingContextPath = oRowBindingContext.getPath();
1933
+ const sLeftColumnPath = `${sRowBindingContextPath}/columns/${iLeftColumnIndex}/descriptor/value/columnWidth`;
1934
+ const sRightColumnPath = `${sRowBindingContextPath}/columns/${iRightColumnIndex}/descriptor/value/columnWidth`;
1940
1935
  oModel.setProperty(sLeftColumnPath, iNewLeftColumnWidth);
1941
1936
  oModel.setProperty(sRightColumnPath, iNewRightColumnWidth);
1942
1937
  },
@@ -1972,7 +1967,7 @@ sap.ui.define([
1972
1967
  * @private
1973
1968
  */
1974
1969
  _calculateColWidths: function (aColumns, iColumnIndex, iTotalColumns) {
1975
- var oColumn = aColumns[iColumnIndex];
1970
+ const oColumn = aColumns[iColumnIndex];
1976
1971
 
1977
1972
  if (this._getColumnWidth(oColumn) - STEP_SIZE >= MIN_GRID_COLUMN_WIDTH) {
1978
1973
  this._setColumnWidth(oColumn, this._getColumnWidth(oColumn) - STEP_SIZE);
@@ -1980,7 +1975,7 @@ sap.ui.define([
1980
1975
  }
1981
1976
 
1982
1977
  if (iTotalColumns > MAX_GRID_COLUMN_WIDTH) {
1983
- var nextIndex = iColumnIndex - 1 >= 0 ? iColumnIndex - 1 : aColumns.length - 1;
1978
+ const nextIndex = iColumnIndex - 1 >= 0 ? iColumnIndex - 1 : aColumns.length - 1;
1984
1979
  this._calculateColWidths(aColumns, nextIndex, iTotalColumns);
1985
1980
  }
1986
1981
 
@@ -2040,12 +2035,12 @@ sap.ui.define([
2040
2035
  this.oHost._setContainer(this.getOwnerComponent().getUshellContainer());
2041
2036
  // create a property binding for navigationDisabled to forward to host if a model is present.
2042
2037
  if (this.oModel) {
2043
- var oNavDisabledBinding = this.oModel.bindProperty("/navigationDisabled");
2038
+ const oNavDisabledBinding = this.oModel.bindProperty("/navigationDisabled");
2044
2039
  this.oHost._setNavigationDisabled(oNavDisabledBinding.getValue());
2045
2040
  // listen to changes on navigationDisabled and propagate to host
2046
- oNavDisabledBinding.attachChange(function (oEvent) {
2041
+ oNavDisabledBinding.attachChange((oEvent) => {
2047
2042
  this.oHost._setNavigationDisabled(oEvent.getSource().getValue());
2048
- }.bind(this));
2043
+ });
2049
2044
  }
2050
2045
  }
2051
2046
  },
@@ -2085,26 +2080,26 @@ sap.ui.define([
2085
2080
  */
2086
2081
  _generateUniqueId: function (aExistingIds) {
2087
2082
  // make a copy to not change the passed array.
2088
- var aIds = (aExistingIds || []).concat([]);
2089
- var oWorkPage = this.oModel.getProperty("/data/workPage");
2090
- var fnCollectIds = this._collectIds.bind(this);
2083
+ let aIds = (aExistingIds || []).concat([]);
2084
+ const oWorkPage = this.oModel.getProperty("/data/workPage");
2085
+ const fnCollectIds = this._collectIds.bind(this);
2091
2086
 
2092
2087
  aIds = aIds.concat(fnCollectIds(oWorkPage));
2093
2088
 
2094
- (oWorkPage.rows || []).forEach(function (oRow) {
2089
+ (oWorkPage.rows || []).forEach((oRow) => {
2095
2090
  aIds = aIds.concat(fnCollectIds(oRow));
2096
- (oRow.columns || []).forEach(function (oColumn) {
2091
+ (oRow.columns || []).forEach((oColumn) => {
2097
2092
  aIds = aIds.concat(fnCollectIds(oColumn));
2098
- (oColumn.cells || []).forEach(function (oCell) {
2093
+ (oColumn.cells || []).forEach((oCell) => {
2099
2094
  aIds = aIds.concat(fnCollectIds(oCell));
2100
- (oCell.widgets || []).forEach(function (oWidget) {
2095
+ (oCell.widgets || []).forEach((oWidget) => {
2101
2096
  aIds = aIds.concat(fnCollectIds(oWidget));
2102
2097
  });
2103
2098
  });
2104
2099
  });
2105
2100
  });
2106
2101
 
2107
- aIds = aIds.filter(function (sId) {
2102
+ aIds = aIds.filter((sId) => {
2108
2103
  return !!sId;
2109
2104
  });
2110
2105
 
@@ -2120,10 +2115,10 @@ sap.ui.define([
2120
2115
  * @since 1.116.0
2121
2116
  */
2122
2117
  _collectIds: function (oEntity) {
2123
- var aIds = [oEntity.id];
2124
- var aSettings = oEntity.configurations || [];
2118
+ const aIds = [oEntity.id];
2119
+ const aSettings = oEntity.configurations || [];
2125
2120
 
2126
- var aConfigIds = aSettings.map(function (oConfig) {
2121
+ const aConfigIds = aSettings.map((oConfig) => {
2127
2122
  return oConfig.id;
2128
2123
  });
2129
2124