@sapui5/sap.ushell 1.111.1 → 1.112.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (303) 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/AppInfoParameters.js +104 -4
  4. package/src/main/js/sap/ushell/ApplicationType.js +11 -4
  5. package/src/main/js/sap/ushell/Container.js +0 -32
  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 +51 -21
  10. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  11. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  12. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  13. package/src/main/js/sap/ushell/_URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  14. package/src/main/js/sap/ushell/_URLTemplateProcessor/DependencyGraph.js +1 -1
  15. package/src/main/js/sap/ushell/_URLTemplateProcessor/Functions.js +1 -1
  16. package/src/main/js/sap/ushell/_URLTemplateProcessor/Resolvers.js +1 -1
  17. package/src/main/js/sap/ushell/_URLTemplateProcessor/TemplateParameterParser.js +1 -1
  18. package/src/main/js/sap/ushell/_URLTemplateProcessor/utils.js +1 -1
  19. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  20. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +24 -158
  24. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -2
  34. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +22 -140
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +2 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +12 -0
  61. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +28 -4
  62. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +7 -5
  63. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/logger.js +1 -1
  65. package/src/main/js/sap/ushell/bootstrap/_SchedulingAgent/state.js +1 -1
  66. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  67. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +1 -0
  68. package/src/main/js/sap/ushell/bootstrap/common/common.read.ushell.config.from.url.js +26 -23
  69. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +69 -33
  70. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +3 -0
  71. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  72. package/src/main/js/sap/ushell/components/applicationIntegration/AppLifeCycle.js +15 -3
  73. package/src/main/js/sap/ushell/components/applicationIntegration/Storage.js +1 -1
  74. package/src/main/js/sap/ushell/components/applicationIntegration/application/Application.js +29 -18
  75. package/src/main/js/sap/ushell/components/applicationIntegration/application/BlueBoxHandler.js +1 -1
  76. package/src/main/js/sap/ushell/components/applicationIntegration/application/PostMessageAPI.js +15 -2
  77. package/src/main/js/sap/ushell/components/applicationIntegration/configuration/AppMeta.js +9 -4
  78. package/src/main/js/sap/ushell/components/applicationIntegration/elements/model.js +1 -1
  79. package/src/main/js/sap/ushell/components/applicationIntegration/relatedServices/RelatedServices.js +1 -1
  80. package/src/main/js/sap/ushell/components/applicationIntegration/relatedShellElements/RelatedShellElements.js +1 -1
  81. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +1 -7
  82. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.css +14 -3
  83. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/controls/Paginator.js +57 -11
  84. package/src/main/js/sap/ushell/components/container/ApplicationContainer.js +14 -2
  85. package/src/main/js/sap/ushell/components/contentFinder/Component.js +470 -23
  86. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +308 -6
  87. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +83 -12
  88. package/src/main/js/sap/ushell/components/contentFinder/controller/WidgetGallery.controller.js +33 -6
  89. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +7 -7
  90. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +96 -0
  91. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +44 -14
  92. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +82 -25
  93. package/src/main/js/sap/ushell/components/contentFinder/view/ContentFinderDialog.view.xml +18 -10
  94. package/src/main/js/sap/ushell/components/contentFinder/view/WidgetGallery.view.xml +52 -1
  95. package/src/main/js/sap/ushell/components/contentFinderAppSearch/Component.js +1 -1
  96. package/src/main/js/sap/ushell/components/contentFinderAppSearch/controller/ContentFinderAppSearch.controller.js +1 -1
  97. package/src/main/js/sap/ushell/components/contentFinderAppSearch/manifest.json +1 -1
  98. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  99. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  100. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  101. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +116 -40
  102. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  103. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  104. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  105. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  106. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  107. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  108. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  109. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  110. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  111. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  112. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  113. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +17 -6
  114. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  115. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  116. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  117. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  118. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/NavigationSvcSearchProvider.js +1 -1
  119. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  120. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  121. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  122. package/src/main/js/sap/ushell/components/shell/Settings/ContentWrapper.fragment.xml +7 -1
  123. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +9 -10
  124. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +49 -57
  125. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  126. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  127. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +4 -1
  128. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +26 -27
  129. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +23 -4
  130. package/src/main/js/sap/ushell/components/workPageBuilder/controller/ContentFinderDialog.controller.js +12 -9
  131. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +67 -16
  132. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  133. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  134. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  135. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  136. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  137. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  138. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  139. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +5 -3
  140. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +1 -1
  141. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  142. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +4 -262
  143. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  144. package/src/main/js/sap/ushell/components/workPageRuntime/services/NavigationResolver.js +1 -1
  145. package/src/main/js/sap/ushell/components/workPageRuntime/services/WorkPage.js +1 -170
  146. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  147. package/src/main/js/sap/ushell/library.js +1 -3
  148. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  149. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  150. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  151. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  152. package/src/main/js/sap/ushell/renderers/fiori2/AccessKeysHandler.js +3 -1
  153. package/src/main/js/sap/ushell/renderers/fiori2/Renderer.js +2 -2
  154. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.controller.js +2 -1
  155. package/src/main/js/sap/ushell/renderers/fiori2/allMyApps/AllMyApps.view.xml +10 -1
  156. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources.properties +15 -5
  157. package/src/main/js/sap/ushell/renderers/fiori2/resources/resources_de.properties +1 -1
  158. package/src/main/js/sap/ushell/renderers/fiori2/search/searchComponent/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/services/AppConfiguration.js +0 -37
  160. package/src/main/js/sap/ushell/services/AppLifeCycle.js +52 -3
  161. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  162. package/src/main/js/sap/ushell/services/Bookmark.js +93 -30
  163. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  164. package/src/main/js/sap/ushell/services/CommonDataModel.js +5 -243
  165. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  166. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  167. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  168. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  169. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  170. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  171. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  172. package/src/main/js/sap/ushell/services/Message.js +1 -1
  173. package/src/main/js/sap/ushell/services/MessageBroker.js +31 -12
  174. package/src/main/js/sap/ushell/services/NavTargetResolution.js +4 -2
  175. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  176. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  177. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  178. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  179. package/src/main/js/sap/ushell/services/Pages.js +21 -3
  180. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  181. package/src/main/js/sap/ushell/services/PluginManager.js +1 -3
  182. package/src/main/js/sap/ushell/services/ReferenceResolver.js +178 -125
  183. package/src/main/js/sap/ushell/services/Search.js +1 -1
  184. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  185. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  186. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +15 -18
  187. package/src/main/js/sap/ushell/services/SmartNavigation.js +32 -6
  188. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  189. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  190. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  191. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  192. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  193. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  194. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  195. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  196. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  197. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  198. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Formatter.js +1 -1
  199. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundIndex.js +1 -1
  200. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/InboundProvider.js +1 -1
  201. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/PrelaunchOperations.js +5 -1
  202. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Search.js +1 -1
  203. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/StagedLogger.js +1 -1
  204. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/SystemContext.js +2 -2
  205. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/Utils.js +1 -1
  206. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/VirtualInbounds.js +1 -1
  207. package/src/main/js/sap/ushell/services/_ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  208. package/src/main/js/sap/ushell/services/_CommonDataModel/SiteConverter.js +1 -1
  209. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  210. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +131 -135
  211. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  212. package/src/main/js/sap/ushell/services/_MessageBroker/MessageBrokerEngine.js +341 -308
  213. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  214. package/src/main/js/sap/ushell/services/_PluginManager/Extensions.js +1 -1
  215. package/src/main/js/sap/ushell/services/_PluginManager/HeaderExtensions.js +1 -1
  216. package/src/main/js/sap/ushell/services/_PluginManager/MenuExtensions.js +1 -1
  217. package/src/main/js/sap/ushell/services/_Ui5ComponentLoader/utils.js +1 -1
  218. package/src/main/js/sap/ushell/services/_VisualizationInstantiation/VizInstanceLink.js +1 -1
  219. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  220. package/src/main/js/sap/ushell/themes/base/Catalog.less +4 -0
  221. package/src/main/js/sap/ushell/themes/base/ContentFinder.less +5 -1
  222. package/src/main/js/sap/ushell/themes/base/SearchFLP.less +0 -5
  223. package/src/main/js/sap/ushell/themes/base/ShellAppTitle.less +6 -9
  224. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.eot +0 -0
  225. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.json +16 -1
  226. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.ttf +0 -0
  227. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff +0 -0
  228. package/src/main/js/sap/ushell/themes/base/fonts/BusinessSuiteInAppSymbols.woff2 +0 -0
  229. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.eot +0 -0
  230. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.ttf +0 -0
  231. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff +0 -0
  232. package/src/main/js/sap/ushell/themes/base/fonts/horizon/BusinessSuiteInAppSymbols.woff2 +0 -0
  233. package/src/main/js/sap/ushell/themes/base/library.source.less +0 -2
  234. package/src/main/js/sap/ushell/themes/sap_belize/ShellHeader.less +0 -9
  235. package/src/main/js/sap/ushell/themes/sap_belize/library.source.less +0 -1
  236. package/src/main/js/sap/ushell/themes/sap_belize_hcb/ShellHeader.less +0 -27
  237. package/src/main/js/sap/ushell/themes/sap_belize_hcb/library.source.less +0 -2
  238. package/src/main/js/sap/ushell/themes/sap_belize_hcw/ShellHeader.less +0 -25
  239. package/src/main/js/sap/ushell/themes/sap_belize_hcw/library.source.less +0 -2
  240. package/src/main/js/sap/ushell/themes/sap_bluecrystal/library.source.less +0 -2
  241. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +2 -11
  242. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +0 -1
  243. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellHeader.less +2 -11
  244. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +0 -1
  245. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellHeader.less +0 -25
  246. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +0 -2
  247. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellHeader.less +0 -25
  248. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +0 -2
  249. package/src/main/js/sap/ushell/themes/sap_hcb/ShellHeader.less +0 -24
  250. package/src/main/js/sap/ushell/themes/sap_hcb/library.source.less +0 -2
  251. package/src/main/js/sap/ushell/themes/sap_horizon/ShellAppTitle.less +2 -12
  252. package/src/main/js/sap/ushell/themes/sap_horizon/library.source.less +0 -1
  253. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellAppTitle.less +2 -12
  254. package/src/main/js/sap/ushell/themes/sap_horizon_dark/library.source.less +0 -1
  255. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellAppTitle.less +0 -25
  256. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/library.source.less +0 -1
  257. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellAppTitle.less +0 -25
  258. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/library.source.less +0 -1
  259. package/src/main/js/sap/ushell/ui/appfinder/AppBoxRenderer.js +0 -15
  260. package/src/main/js/sap/ushell/ui/cards/FrequentActivitiesExtension.js +199 -0
  261. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +202 -0
  262. package/src/main/js/sap/ushell/ui/contentFinder/AppBox.js +17 -2
  263. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  264. package/src/main/js/sap/ushell/ui/launchpad/LoadingDialogRenderer.js +2 -45
  265. package/src/main/js/sap/ushell/ui/launchpad/Page.js +1 -1
  266. package/src/main/js/sap/ushell/ui/launchpad/Section.js +2 -2
  267. package/src/main/js/sap/ushell/ui/launchpad/TileRenderer.js +4 -21
  268. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  269. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +6 -8
  270. package/src/main/js/sap/ushell/ui/shell/ShellHeadItem.js +1 -1
  271. package/src/main/js/sap/ushell/ui/shell/ShellLayout.js +1 -1
  272. package/src/main/js/sap/ushell/ui/shell/ShellNavigationMenu.js +21 -62
  273. package/src/main/js/sap/ushell/ui/shell/SplitContainer.js +1 -1
  274. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  275. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  276. package/src/main/js/sap/ushell/ui5service/ShellUIService.js +1 -1
  277. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  278. package/src/main/js/sap/ushell/utils/DynamicTileRequest.js +25 -5
  279. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  280. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  281. package/ui5.yaml +53 -51
  282. package/src/main/js/sap/ushell/services/ContentExtension.js +0 -114
  283. package/src/main/js/sap/ushell/themes/base/UserPreferencesButton.less +0 -35
  284. package/src/main/js/sap/ushell/themes/base/flower-standalone.less +0 -774
  285. package/src/main/js/sap/ushell/themes/sap_belize/UserPreferencesButton.less +0 -7
  286. package/src/main/js/sap/ushell/themes/sap_belize_hcb/UserPreferencesButton.less +0 -7
  287. package/src/main/js/sap/ushell/themes/sap_belize_hcb/flower-standalone.less +0 -34
  288. package/src/main/js/sap/ushell/themes/sap_belize_hcw/UserPreferencesButton.less +0 -7
  289. package/src/main/js/sap/ushell/themes/sap_belize_hcw/flower-standalone.less +0 -34
  290. package/src/main/js/sap/ushell/themes/sap_bluecrystal/UserPreferencesButton.less +0 -7
  291. package/src/main/js/sap/ushell/themes/sap_bluecrystal/flower-standalone.less +0 -23
  292. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/flower-standalone.less +0 -34
  293. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/flower-standalone.less +0 -33
  294. package/src/main/js/sap/ushell/themes/sap_hcb/UserPreferencesButton.less +0 -7
  295. package/src/main/js/sap/ushell/themes/sap_hcb/flower-standalone.less +0 -34
  296. package/src/main/js/sap/ushell/themes/sap_horizon/UserPreferencesButton.less +0 -9
  297. package/src/main/js/sap/ushell/themes/sap_horizon_dark/UserPreferencesButton.less +0 -8
  298. package/src/main/js/sap/ushell/ui/footerbar/SettingsButton.js +0 -90
  299. package/src/main/js/sap/ushell/ui/footerbar/UserPreferencesButton.js +0 -505
  300. package/src/main/js/sap/ushell/ui5service/CardNavigation.js +0 -131
  301. package/src/main/js/sap/ushell/ui5service/CardUserFrequents.js +0 -138
  302. package/src/main/js/sap/ushell/ui5service/CardUserRecents.js +0 -101
  303. package/src/main/js/sap/ushell/ui5service/_CardUserRecents/CardUserRecentsBase.js +0 -108
@@ -38,9 +38,9 @@ sap.ui.define([
38
38
  return UIComponent.extend("sap.ushell.components.visualizationOrganizer.Component", {
39
39
 
40
40
  metadata: {
41
- version: "1.111.1",
41
+ version: "1.112.1",
42
42
  library: "sap.ushell",
43
- dependencies: { libs: [ "sap.m" ] },
43
+ dependencies: { libs: ["sap.m"] },
44
44
  properties: {
45
45
  pressed: { type: "boolean", group: "Misc", defaultValue: false }
46
46
  }
@@ -106,7 +106,7 @@ sap.ui.define([
106
106
  if (this.mVizIdInPages.has(vizId)) {
107
107
  this.mVizIdInPages.get(vizId).add(oPage.identification.id);
108
108
  } else {
109
- this.mVizIdInPages.set(vizId, new Set([ oPage.identification.id ]));
109
+ this.mVizIdInPages.set(vizId, new Set([oPage.identification.id]));
110
110
  }
111
111
  }.bind(this));
112
112
  }.bind(this));
@@ -171,11 +171,11 @@ sap.ui.define([
171
171
 
172
172
  //SectionContext with sectionID
173
173
  if (sectionContext.sectionID && bIsVizIdPresent) {
174
- return resources.i18n.getText("VisualizationOrganizer.Button.Tooltip.RemoveFromSection", sectionContext.sectionTitle);
174
+ return resources.i18n.getText("VisualizationOrganizer.Button.Tooltip.RemoveFromSection");
175
175
  }
176
176
 
177
177
  if (sectionContext.sectionID && !bIsVizIdPresent) {
178
- return resources.i18n.getText("VisualizationOrganizer.Button.Tooltip.AddToSection", sectionContext.sectionTitle);
178
+ return resources.i18n.getText("VisualizationOrganizer.Button.Tooltip.AddToSection");
179
179
  }
180
180
 
181
181
  //SectionContext without sectionID
@@ -372,10 +372,11 @@ sap.ui.define([
372
372
  oPopover.close();
373
373
  } else {
374
374
  MessageBox.show(
375
- resources.i18n.getText("VisualizationOrganizer.MessageBox.Description"), {
375
+ resources.i18n.getText("VisualizationOrganizer.MessageBox.Description"),
376
+ {
376
377
  id: "sapUshellVisualizationOrganizerDiscardDialog",
377
378
  title: resources.i18n.getText("VisualizationOrganizer.MessageBox.Title"),
378
- actions: [ resources.i18n.getText("VisualizationOrganizer.MessageBox.ActionDiscard"), MessageBox.Action.CANCEL ],
379
+ actions: [resources.i18n.getText("VisualizationOrganizer.MessageBox.ActionDiscard"), MessageBox.Action.CANCEL],
379
380
  emphasizedAction: resources.i18n.getText("VisualizationOrganizer.MessageBox.ActionDiscard"),
380
381
  onClose: function (oAction) {
381
382
  if (oAction === resources.i18n.getText("VisualizationOrganizer.MessageBox.ActionDiscard")) {
@@ -435,7 +436,7 @@ sap.ui.define([
435
436
  var oVizDeleteChain;
436
437
  var iPageIndex = oPageService.getPageIndex(sPageId);
437
438
 
438
- var aSortedVisualizationsPerSectionIndexes = aVisualizationLocations.sort(function (a, b) {
439
+ var aSortedVisualizationsPerSectionIndexes = aVisualizationLocations.sort(function (a, b) {
439
440
  return b.sectionIndex - a.sectionIndex;
440
441
  });
441
442
 
@@ -445,7 +446,7 @@ sap.ui.define([
445
446
  });
446
447
  });
447
448
 
448
- aSortedVisualizationsPerSectionIndexes.forEach(function (oVisualizationLocation) {
449
+ aSortedVisualizationsPerSectionIndexes.forEach(function (oVisualizationLocation) {
449
450
  var iSectionIndex = oVisualizationLocation.sectionIndex;
450
451
  oVisualizationLocation.vizIndexes.forEach(function (iVizIndex) {
451
452
  if (!oVizDeleteChain) {
@@ -459,9 +460,9 @@ sap.ui.define([
459
460
  });
460
461
  return oVizDeleteChain;
461
462
  })
462
- .then(function () {
463
- this.stVizIdInSection.delete(sVizId);
464
- }.bind(this));
463
+ .then(function () {
464
+ this.stVizIdInSection.delete(sVizId);
465
+ }.bind(this));
465
466
  } else {
466
467
  oVizChangeChain = oPageService.addVisualization(sPageId, sSectionId, sVizId).then(function () {
467
468
  this.stVizIdInSection.add(sVizId);
@@ -472,7 +473,7 @@ sap.ui.define([
472
473
  oOpenBy.getBinding("type").refresh(true);
473
474
  oOpenBy.getBinding("tooltip").refresh(true);
474
475
 
475
- sap.ui.require([ "sap/m/MessageToast" ], function (MessageToast) {
476
+ sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
476
477
  MessageToast.show(sMessageToUser, { offset: "0 -50" });
477
478
  });
478
479
  });
@@ -491,7 +492,7 @@ sap.ui.define([
491
492
  * @private
492
493
  */
493
494
 
494
- _getTextMsgSectionContext: function (oSectionContext, sVizId, sVisualizationTitle) {
495
+ _getTextMsgSectionContext: function (oSectionContext, sVizId, sVisualizationTitle) {
495
496
  var sSectionId = oSectionContext.sectionID;
496
497
  var sSectionTitle = oSectionContext.sectionTitle;
497
498
  var sPageTitle = oSectionContext.pageTitle;
@@ -505,7 +506,7 @@ sap.ui.define([
505
506
  return resources.i18n.getText("VisualizationOrganizer.MessageToastSectionContextAdd", [sVisualizationTitle || sVizId, sSectionTitle, sPageTitle]);
506
507
  }
507
508
 
508
- //No sectionID
509
+ //No sectionID
509
510
  if (!sSectionId && this.stVizIdInSection.has(sVizId)) {
510
511
  return resources.i18n.getText("VisualizationOrganizer.MessageToastPageRemove", [sVisualizationTitle || sVizId, sPageTitle]);
511
512
  }
@@ -596,7 +597,7 @@ sap.ui.define([
596
597
  if (this.mVizIdInPages.has(sVizId)) {
597
598
  this.mVizIdInPages.get(sVizId).add(sPageId);
598
599
  } else {
599
- this.mVizIdInPages.set(sVizId, new Set([ sPageId ]));
600
+ this.mVizIdInPages.set(sVizId, new Set([sPageId]));
600
601
  }
601
602
  }.bind(this));
602
603
 
@@ -607,7 +608,7 @@ sap.ui.define([
607
608
  oOpenBy.getBinding("tooltip").refresh(true);
608
609
  }
609
610
  if (bShowMessage) {
610
- sap.ui.require([ "sap/m/MessageToast" ], function (MessageToast) {
611
+ sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
611
612
  MessageToast.show(resources.i18n.getText("VisualizationOrganizer.MessageToast"));
612
613
  });
613
614
  }
@@ -1087,7 +1088,7 @@ sap.ui.define([
1087
1088
 
1088
1089
  return oVizChangeChain.then(function () {
1089
1090
  if (bShowMessage) {
1090
- sap.ui.require([ "sap/m/MessageToast" ], function (MessageToast) {
1091
+ sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
1091
1092
  MessageToast.show(resources.i18n.getText("VisualizationOrganizer.MessageToast"));
1092
1093
  });
1093
1094
  }
@@ -1117,7 +1118,7 @@ sap.ui.define([
1117
1118
  if (oVizInfo.bookmarkCount > 0) {
1118
1119
  sMessageToUser = resources.i18n.getText(
1119
1120
  "VisualizationOrganizer.MessageToastSectionContextRemove",
1120
- [ sVisualizationTitle, oSectionContext.sectionTitle, oSectionContext.pageTitle ]
1121
+ [sVisualizationTitle, oSectionContext.sectionTitle, oSectionContext.pageTitle]
1121
1122
  );
1122
1123
  oVizChangeChain = oPageService.deleteBookmarks({ url: sUrl }, sPageId, sSectionId);
1123
1124
  } else {
@@ -1129,12 +1130,12 @@ sap.ui.define([
1129
1130
  };
1130
1131
  sMessageToUser = resources.i18n.getText(
1131
1132
  "VisualizationOrganizer.MessageToastSectionContextAdd",
1132
- [ sVisualizationTitle, oSectionContext.sectionTitle, oSectionContext.pageTitle ]
1133
+ [sVisualizationTitle, oSectionContext.sectionTitle, oSectionContext.pageTitle]
1133
1134
  );
1134
1135
  oVizChangeChain = oPageService.addBookmarkToPage(sPageId, oVisualization, sSectionId);
1135
1136
  }
1136
1137
  return oVizChangeChain.then(function () {
1137
- sap.ui.require([ "sap/m/MessageToast" ], function (MessageToast) {
1138
+ sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
1138
1139
  MessageToast.show(sMessageToUser, { offset: "0 -50" });
1139
1140
  });
1140
1141
  });
@@ -1179,11 +1180,9 @@ sap.ui.define([
1179
1180
  * @see isVizIdPresent
1180
1181
  */
1181
1182
  formatBookmarkPinButtonTooltip: function (bookmarkCount, sectionContext) {
1182
- var sText,
1183
- sSectionTitle;
1183
+ var sText;
1184
1184
 
1185
1185
  if (sectionContext) {
1186
- sSectionTitle = sectionContext.sectionTitle;
1187
1186
  if (bookmarkCount > 0) {
1188
1187
  sText = "VisualizationOrganizer.Button.Tooltip.RemoveFromSection";
1189
1188
  } else {
@@ -1195,7 +1194,7 @@ sap.ui.define([
1195
1194
  sText = "EasyAccessMenu_PinButton_UnToggled_Tooltip";
1196
1195
  }
1197
1196
 
1198
- return resources.i18n.getText(sText, sSectionTitle);
1197
+ return resources.i18n.getText(sText);
1199
1198
  },
1200
1199
 
1201
1200
  /**
@@ -1226,7 +1225,7 @@ sap.ui.define([
1226
1225
  };
1227
1226
  var sMessageToUser = resources.i18n.getText(
1228
1227
  bIsVizIdPresented ? "VisualizationOrganizer.MessageToastPageRemove" : "VisualizationOrganizer.MessageToastPageAdd",
1229
- [ sVisualizationTitle || sVisualizationId, oPage.title ]
1228
+ [sVisualizationTitle || sVisualizationId, oPage.title]
1230
1229
  );
1231
1230
 
1232
1231
  this.oVizInfo = oVizInfo;
@@ -1243,7 +1242,7 @@ sap.ui.define([
1243
1242
  oOpenBy.getBinding("type").refresh(true);
1244
1243
  oOpenBy.getBinding("tooltip").refresh(true);
1245
1244
 
1246
- sap.ui.require([ "sap/m/MessageToast" ], function (MessageToast) {
1245
+ sap.ui.require(["sap/m/MessageToast"], function (MessageToast) {
1247
1246
  MessageToast.show(sMessageToUser, { offset: "0 -50" });
1248
1247
  });
1249
1248
  });
@@ -3,15 +3,15 @@
3
3
  * @fileOverview WorkPageBuilder Component
4
4
  * This UIComponent gets initialized by the FLP renderer upon visiting a work page if work pages are enabled (/core/workPages/enabled).
5
5
  *
6
- * @version 1.111.1
6
+ * @version 1.112.1
7
7
  */
8
8
 
9
9
  sap.ui.define([
10
10
  "sap/ui/core/UIComponent",
11
11
  "sap/base/util/ObjectPath",
12
- "sap/ushell/adapters/cdm/v3/utilsCdm",
13
- "sap/base/Log"
14
- ], function (UIComponent, ObjectPath, utilsCdm, Log) {
12
+ "sap/base/Log",
13
+ "sap/ushell/services/VisualizationInstantiation"
14
+ ], function (UIComponent, ObjectPath, Log, VisualizationInstantiation) {
15
15
  "use strict";
16
16
 
17
17
  /**
@@ -55,9 +55,28 @@ sap.ui.define([
55
55
  init: function () {
56
56
  this.oSiteApplications = {};
57
57
  this.oSiteVizTypes = {};
58
+ /**
59
+ * The VisualizationInstantiation service has to be instantiated like this (not with sap.ushell.Container.getServiceAsync)
60
+ * This is because the admin UI is running in an iFrame and has no sap.ushell.Container.
61
+ * If parent.sap.ushell.Container is used, the instantiated control uses sources from the parent frame (ManageObject, etc.),
62
+ * which causes issues (e.g. isA does not work).
63
+ * Might be changed at a later point, when there is a sap.ushell.Container also running inside the iFrame.
64
+ */
65
+ this._oVizInstantiationPromise = Promise.resolve(new VisualizationInstantiation());
58
66
  UIComponent.prototype.init.apply(this, arguments);
59
67
  },
60
68
 
69
+ /**
70
+ * Resolves with the ushell VizInstantiation service.
71
+ *
72
+ * @return {Promise<sap.ushell.services.VisualizationInstantiation>} A promise resolving to the VizInstantiation service.
73
+ * @since 1.112.0
74
+ * @private
75
+ */
76
+ getVizInstantiationPromise: function () {
77
+ return this._oVizInstantiationPromise;
78
+ },
79
+
61
80
  /**
62
81
  * API to call the getEditMode function on the WorkPageBuilder controller.
63
82
  * @return {boolean} Returns the value of editMode
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * @file ContentFinder dialog controller for WorkPageBuilder view
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/ui/core/mvc/Controller",
@@ -14,8 +14,7 @@ sap.ui.define([
14
14
  "sap/ushell/library",
15
15
  "sap/m/library",
16
16
  "sap/base/Log",
17
- "sap/base/util/ObjectPath",
18
- "sap/base/util/uid"
17
+ "sap/base/util/ObjectPath"
19
18
  ], function (
20
19
  Controller,
21
20
  Device,
@@ -26,8 +25,7 @@ sap.ui.define([
26
25
  ushellLibrary,
27
26
  mobileLibrary,
28
27
  Log,
29
- ObjectPath,
30
- uid
28
+ ObjectPath
31
29
  ) {
32
30
 
33
31
  "use strict";
@@ -429,9 +427,14 @@ sap.ui.define([
429
427
  }
430
428
  }.bind(this));
431
429
 
430
+ var aIds = [];
431
+ var sId;
432
+
432
433
  var aWidgetData = aContentFinderSelectedTiles.map(function (tile) {
434
+ sId = this.oWorkPageDataProvider.fnGenerateUid(aIds);
435
+ aIds = aIds.concat([sId]);
433
436
  return {
434
- Id: uid(),
437
+ Id: sId,
435
438
  DescriptorSchemaVersion: "3.2.0",
436
439
  Descriptor: {},
437
440
  Visualization: {
@@ -439,7 +442,7 @@ sap.ui.define([
439
442
  Type: tile.type
440
443
  }
441
444
  };
442
- });
445
+ }.bind(this));
443
446
 
444
447
  if (bRestrictedMode) {
445
448
  this._setCellData(aWidgetData);
@@ -464,7 +467,7 @@ sap.ui.define([
464
467
  }
465
468
 
466
469
  var aWidgetData = [{
467
- Id: uid(),
470
+ Id: this.oWorkPageDataProvider.fnGenerateUid(),
468
471
  Descriptor: {},
469
472
  Visualization: {
470
473
  Id: oSelectedCard.Id,
@@ -495,7 +498,7 @@ sap.ui.define([
495
498
  }
496
499
 
497
500
  oColumnData.Cells = oColumnData.Cells.concat([{
498
- Id: uid(),
501
+ Id: this.oWorkPageDataProvider.fnGenerateUid(),
499
502
  DescriptorSchemaVersion: "3.2.0",
500
503
  Descriptor: {},
501
504
  Widgets: aWidgetData.concat([])
@@ -2,13 +2,13 @@
2
2
 
3
3
  /**
4
4
  * @file WorkPageBuilder controller for WorkPageBuilder view
5
- * @version 1.111.1
5
+ * @version 1.112.1
6
6
  */
7
7
  sap.ui.define([
8
8
  "sap/base/Log",
9
9
  "sap/ui/core/Core",
10
10
  "sap/ui/core/mvc/Controller",
11
- "sap/base/util/uid",
11
+ "sap/ushell/utils",
12
12
  "sap/ui/integration/widgets/Card",
13
13
  "sap/ui/core/Fragment",
14
14
  "sap/ui/integration/Host",
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  Log,
31
31
  Core,
32
32
  Controller,
33
- uid,
33
+ utils,
34
34
  Card,
35
35
  Fragment,
36
36
  Host,
@@ -101,13 +101,15 @@ sap.ui.define([
101
101
  EventHub.on("themeChanged").do(fnBoundSetGridContainerSizes);
102
102
  this._setGridContainerSizes();
103
103
 
104
- this.getView().setModel(this.oModel);
105
-
106
104
  this.byId("sapCepWorkPage").bindElement({
107
105
  path: "/data/WorkPage"
108
106
  });
109
107
 
110
- this._oVizInstantiationService = new VisualizationInstantiation();
108
+ return this.getOwnerComponent().getVizInstantiationPromise()
109
+ .then(function (oVisualizationInstantiation) {
110
+ this._oVizInstantiationService = oVisualizationInstantiation;
111
+ this.getView().setModel(this.oModel);
112
+ }.bind(this));
111
113
  },
112
114
 
113
115
  /**
@@ -468,7 +470,8 @@ sap.ui.define([
468
470
  oWorkPageBuilderView: this.getView(),
469
471
  sUsedVizRootPath: "/data/UsedVisualizations",
470
472
  oColumn: this._oColumn,
471
- fnOnWidgetAdded: this.onWidgetAdded.bind(this)
473
+ fnOnWidgetAdded: this.onWidgetAdded.bind(this),
474
+ fnGenerateUid: this._generateUniqueId.bind(this)
472
475
  };
473
476
  this.oContentFinderDialogController.connect(
474
477
  this.sFragmentId,
@@ -500,7 +503,8 @@ sap.ui.define([
500
503
  oWorkPageBuilderView: this.getView(),
501
504
  sUsedVizRootPath: "/data/UsedVisualizations",
502
505
  oCell: oCell,
503
- fnOnWidgetAdded: this.onWidgetAdded.bind(this)
506
+ fnOnWidgetAdded: this.onWidgetAdded.bind(this),
507
+ fnGenerateUid: this._generateUniqueId.bind(this)
504
508
  };
505
509
  this.oContentFinderDialogController.connect(
506
510
  this.sFragmentId,
@@ -669,9 +673,9 @@ sap.ui.define([
669
673
  */
670
674
  _createVizInstance: function (oVizData) {
671
675
  var oIndicatorDataSource = ObjectPath.get(["Descriptor", "sap.flp", "indicatorDataSource"], oVizData);
672
- var oDataSources = ObjectPath.get(["Descriptor", "sap.app", "dataSources"], oVizData);
673
676
  var sAppId = ObjectPath.get(["Descriptor", "sap.flp", "target", "appId"], oVizData);
674
677
  var oApplication = this.getOwnerComponent().getSiteApplication(sAppId);
678
+ var oDataSources = ObjectPath.get(["sap.app", "dataSources"], oApplication);
675
679
  var oVizType = this.getOwnerComponent().getSiteVizType(oVizData.Type);
676
680
  var oApplicationAsMap = {};
677
681
  oApplicationAsMap[sAppId] = oApplication;
@@ -710,6 +714,7 @@ sap.ui.define([
710
714
  }
711
715
 
712
716
  return oVizInstance
717
+ .setActive(true)
713
718
  .attachPress(this.onVisualizationPress, this)
714
719
  .bindEditable("/editMode")
715
720
  .bindClickable({ path: "/navigationDisabled", formatter: function (bValue) { return !bValue; } })
@@ -781,7 +786,6 @@ sap.ui.define([
781
786
 
782
787
  return new Card(oOptions)
783
788
  .addStyleClass("sapCepWidget")
784
- .attachAction(this.executeNavigation.bind(this))
785
789
  .setHost(this.oHost)
786
790
  .setLayoutData(new GridContainerItemLayoutData({
787
791
  columns: 16,
@@ -800,7 +804,7 @@ sap.ui.define([
800
804
  if (oEvent.getParameter("type") !== "Navigation" || this.oModel.getProperty("/navigationDisabled")) {
801
805
  return Promise.resolve();
802
806
  }
803
- return sap.ushell.Container.getServiceAsync("CrossApplicationNavigation")
807
+ return this.getOwnerComponent().getUshellContainer().getServiceAsync("CrossApplicationNavigation")
804
808
  .then(function (oCrossAppNavigation) {
805
809
  return oCrossAppNavigation.toExternal({
806
810
  target: {
@@ -1035,12 +1039,26 @@ sap.ui.define([
1035
1039
  return this.getView().getModel().getProperty(sColumnPath);
1036
1040
  },
1037
1041
 
1042
+ /**
1043
+ * Gets the column width from the column descriptor entry, falls back to max column width if the columnWidth is empty.
1044
+ *
1045
+ * @param {object} oColumn The column data object.
1046
+ * @return {int} The column width as an integer.
1047
+ * @private
1048
+ */
1038
1049
  _getColumnWidth: function (oColumn) {
1039
1050
  return ObjectPath.get("Descriptor.columnWidth", oColumn) || MAX_GRID_COLUMN_WIDTH;
1040
1051
  },
1041
1052
 
1053
+ /**
1054
+ * Sets the column width to the column descriptor.
1055
+ *
1056
+ * @param {object} oColumn The column data object.
1057
+ * @param {int} iColumnWidth The column data object.
1058
+ * @private
1059
+ */
1042
1060
  _setColumnWidth: function (oColumn, iColumnWidth) {
1043
- return ObjectPath.set("Descriptor.columnWidth", iColumnWidth, oColumn);
1061
+ ObjectPath.set("Descriptor.columnWidth", iColumnWidth, oColumn);
1044
1062
  },
1045
1063
 
1046
1064
  /**
@@ -1076,7 +1094,7 @@ sap.ui.define([
1076
1094
  */
1077
1095
  _createEmptyColumn: function (iColumnWidth) {
1078
1096
  return {
1079
- Id: uid(),
1097
+ Id: this._generateUniqueId(),
1080
1098
  DescriptorSchemaVersion: "3.2.0",
1081
1099
  Descriptor: {
1082
1100
  columnWidth: iColumnWidth
@@ -1094,10 +1112,10 @@ sap.ui.define([
1094
1112
  */
1095
1113
  _createEmptyRow: function () {
1096
1114
  return {
1097
- Id: uid(),
1115
+ Id: this._generateUniqueId(),
1098
1116
  DescriptorSchemaVersion: "3.2.0",
1099
1117
  Descriptor: {
1100
- title: this.getView().getModel("i18n").getResourceBundle().getText("WorkPage.Row.OverflowToolbar.RowTitleLabel"),
1118
+ title: "",
1101
1119
  description: "this is not yet rendered",
1102
1120
  fillRowHeight: false,
1103
1121
  fullWidth: false
@@ -1122,7 +1140,7 @@ sap.ui.define([
1122
1140
  }
1123
1141
  return Promise.resolve("/dynamic_dest/" + sDestinationName);
1124
1142
  }
1125
- });
1143
+ }).attachAction(this.executeNavigation.bind(this));
1126
1144
  }
1127
1145
  },
1128
1146
 
@@ -1200,6 +1218,39 @@ sap.ui.define([
1200
1218
  sValue = "0" + sValue;
1201
1219
  }
1202
1220
  return sValue;
1221
+ },
1222
+
1223
+ /**
1224
+ * Returns a unique id which does not yet exist on the WorkPage.
1225
+ * Optionally an array of existing IDs can be given as an argument.
1226
+ * This can be helpful if new entities are created in a loop but not yet entered into the model.
1227
+ *
1228
+ * @since 1.112.0
1229
+ * @param {string[]} [aExistingIds] An array of existing IDs as strings.
1230
+ * @return {string} A unique ID.
1231
+ * @private
1232
+ */
1233
+ _generateUniqueId: function (aExistingIds) {
1234
+ // make a copy to not change the passed array.
1235
+ var aIds = (aExistingIds || []).concat([]);
1236
+ var oWorkPage = this.oModel.getProperty("/data/WorkPage");
1237
+
1238
+ aIds.push(oWorkPage.Id);
1239
+
1240
+ (oWorkPage.Rows || []).forEach(function (oRow) {
1241
+ aIds.push(oRow.Id);
1242
+ (oRow.Columns || []).forEach(function (oColumn) {
1243
+ aIds.push(oColumn.Id);
1244
+ (oColumn.Cells || []).forEach(function (oCell) {
1245
+ aIds.push(oCell.Id);
1246
+ (oCell.Widgets || []).forEach(function (oWidget) {
1247
+ aIds.push(oWidget.Id);
1248
+ });
1249
+ });
1250
+ });
1251
+ });
1252
+
1253
+ return utils.generateUniqueId(aIds);
1203
1254
  }
1204
1255
  });
1205
1256
  });
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  *
35
- * @version 1.111.1
35
+ * @version 1.112.1
36
36
  *
37
37
  * @private
38
38
  * @experimental
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  *
25
- * @version 1.111.1
25
+ * @version 1.112.1
26
26
  *
27
27
  * @private
28
28
  * @experimental
@@ -41,7 +41,7 @@ sap.ui.define([
41
41
  * @extends sap.ui.core.Control
42
42
  *
43
43
  *
44
- * @version 1.111.1
44
+ * @version 1.112.1
45
45
  *
46
46
  * @private
47
47
  * @experimental
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  *
37
- * @version 1.111.1
37
+ * @version 1.112.1
38
38
  *
39
39
  * @private
40
40
  * @experimental
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * @extends sap.ui.core.Control
20
20
  *
21
21
  *
22
- * @version 1.111.1
22
+ * @version 1.112.1
23
23
  *
24
24
  * @private
25
25
  * @experimental
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  *
29
- * @version 1.111.1
29
+ * @version 1.112.1
30
30
  *
31
31
  * @private
32
32
  * @experimental
@@ -3,7 +3,7 @@
3
3
  "sap.app": {
4
4
  "id": "sap.ushell.components.workPageBuilder",
5
5
  "applicationVersion": {
6
- "version": "1.111.1"
6
+ "version": "1.112.1"
7
7
  },
8
8
  "i18n": "./resources/resources.properties",
9
9
  "ach": "CA-FLP-FE-UI",
@@ -19,10 +19,12 @@ WorkPage.Message.WidgetMoved=Widget moved
19
19
  #WorkPage Row Overflow toolbar
20
20
  #XFLD
21
21
  WorkPage.Row.OverflowToolbar.RowTitleLabel=Section Title
22
+ #XTXT
23
+ WorkPage.Row.OverflowToolbar.RowTitleOptional=Enter an optional section title
22
24
  #XBUT
23
25
  WorkPage.Row.OverflowToolbar.DeleteRowButtonText=Remove Section
24
26
  #XTOL
25
- WorkPage.Row.OverflowToolbar.DeleteRowButtonTooltip=Remove Section
27
+ WorkPage.Row.OverflowToolbar.DeleteRowButtonTooltip=Delete section
26
28
  #XTIT
27
29
  WorkPage.Row.DeleteDialog.Title=Confirm
28
30
  #XMSG
@@ -32,7 +34,7 @@ WorkPage.Row.DeleteDialog.Button.Confirm=Delete
32
34
  #XBUT
33
35
  WorkPage.Row.DeleteDialog.Button.Cancel=Cancel
34
36
  #XTOL
35
- WorkPage.Row.AddRowButtonTooltip=Add Section
37
+ WorkPage.Row.AddRowButtonTooltip=Add section
36
38
 
37
39
  #WorkPage Column
38
40
  #XBUT
@@ -46,7 +48,7 @@ WorkPage.Column.AddColumnButtonTooltip=Add column
46
48
  #XTOL
47
49
  WorkPage.WidgetContainer.OpenWidgetSettingsButtonTooltip=Open widget settings
48
50
  #XTOL
49
- WorkPage.WidgetContainer.DeleteWidgetButtonTooltip=Remove widget from column
51
+ WorkPage.WidgetContainer.DeleteWidgetButtonTooltip=Delete widget
50
52
 
51
53
  #WorkPage Section
52
54
  #XBUT
@@ -49,7 +49,7 @@
49
49
  <OverflowToolbarLayoutData group="1"/>
50
50
  </layoutData>
51
51
  </Label>
52
- <Input id="sapCepRowInputTitle" value="{Descriptor/title}" editable="true"
52
+ <Input id="sapCepRowInputTitle" value="{Descriptor/title}" editable="true" placeholder="{i18n>WorkPage.Row.OverflowToolbar.RowTitleOptional}"
53
53
  change=".onEditTitle" visible="{/editMode}">
54
54
  <layoutData>
55
55
  <OverflowToolbarLayoutData group="1" shrinkable="true" minWidth="12rem"/>
@@ -3,7 +3,7 @@
3
3
  * @fileOverview WorkPages Runtime Component
4
4
  * This UIComponent gets initialized by the FLP renderer if work pages are enabled (/core/workPages/enabled).
5
5
  *
6
- * @version 1.111.1
6
+ * @version 1.112.1
7
7
  */
8
8
 
9
9
  sap.ui.define([