@sapui5/sap.ushell 1.138.0 → 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 (757) 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/MenuAdapter.js +12 -58
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +3 -5
  69. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +14 -1
  70. package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +8 -3
  71. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +8 -8
  72. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +17 -12
  73. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +6 -23
  74. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +112 -92
  75. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +15 -7
  76. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +257 -214
  77. package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +347 -117
  78. package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +1 -0
  79. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -19
  80. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +15 -14
  81. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +38 -40
  82. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -8
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +25 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  98. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  103. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  104. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  105. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  106. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +0 -2
  107. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  108. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  109. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  110. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +4 -1
  111. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  112. package/src/main/js/sap/ushell/components/CatalogsManager.js +157 -157
  113. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +180 -187
  114. package/src/main/js/sap/ushell/components/DestroyHelper.js +4 -4
  115. package/src/main/js/sap/ushell/components/GroupsHelper.js +21 -21
  116. package/src/main/js/sap/ushell/components/HomepageManager.js +465 -424
  117. package/src/main/js/sap/ushell/components/MessagingHelper.js +24 -24
  118. package/src/main/js/sap/ushell/components/SharedComponentUtils.js +16 -16
  119. package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +43 -43
  120. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +43 -39
  121. package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +166 -175
  122. package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +57 -57
  123. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +96 -99
  124. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +27 -21
  125. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +180 -178
  126. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +56 -56
  127. package/src/main/js/sap/ushell/components/appfinder/Component.js +12 -16
  128. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +129 -133
  129. package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +10 -10
  130. package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +22 -22
  131. package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +14 -14
  132. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +75 -78
  133. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +24 -27
  134. package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +44 -46
  135. package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +22 -22
  136. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +28 -28
  137. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  138. package/src/main/js/sap/ushell/components/cards/Card.controller.js +16 -20
  139. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -37
  140. package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +32 -34
  141. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +7 -12
  142. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.view.xml +2 -9
  143. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +0 -1
  144. package/src/main/js/sap/ushell/components/cepsearchresult/app/css/style.css +58 -0
  145. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +0 -1
  146. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +0 -1
  147. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +0 -1
  148. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +0 -1
  149. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +13 -13
  150. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +2 -5
  151. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +0 -2
  152. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +4 -3
  153. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +8 -9
  154. package/src/main/js/sap/ushell/components/contentFinder/Component.js +2 -2
  155. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -3
  156. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  157. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +2 -2
  158. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  160. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +3 -5
  161. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
  162. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -6
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -3
  164. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +1 -1
  165. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +2 -14
  166. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +14 -7
  167. package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +1 -1
  168. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
  169. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -4
  170. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  171. package/src/main/js/sap/ushell/components/factsheet/Component.js +13 -8
  172. package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +166 -118
  173. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +20 -16
  174. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +3 -3
  175. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +84 -77
  176. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -4
  177. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -2
  178. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1356 -1139
  179. package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +9 -5
  180. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
  181. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +9 -6
  182. package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
  183. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +4 -4
  184. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +51 -48
  185. package/src/main/js/sap/ushell/components/homepage/Component.js +11 -11
  186. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +185 -192
  187. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +60 -50
  188. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +199 -202
  189. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +152 -160
  190. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  191. package/src/main/js/sap/ushell/components/pages/ActionMode.js +72 -74
  192. package/src/main/js/sap/ushell/components/pages/Component.js +7 -32
  193. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +46 -46
  194. package/src/main/js/sap/ushell/components/pages/StateManager.js +9 -10
  195. package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +4 -4
  196. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +243 -215
  197. package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +23 -24
  198. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  199. package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
  200. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +60 -70
  201. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  202. package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +0 -5
  203. package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +3 -3
  204. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  205. package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +18 -50
  206. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +73 -83
  207. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  208. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +1 -1
  209. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +49 -50
  210. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +5 -5
  211. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  212. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +35 -33
  213. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +8 -9
  214. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +5 -11
  215. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +63 -42
  216. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +20 -22
  217. package/src/main/js/sap/ushell/components/shell/Search/Component.js +20 -12
  218. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +18 -21
  219. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  220. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +21 -14
  221. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +204 -250
  222. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +25 -24
  223. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +9 -9
  224. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +4 -4
  225. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +63 -65
  226. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +420 -0
  227. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +84 -0
  228. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +63 -0
  229. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +141 -0
  230. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +177 -0
  231. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +43 -0
  232. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +17 -0
  233. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +50 -35
  234. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +10 -10
  235. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +150 -150
  236. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +66 -63
  237. package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +12 -15
  238. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +34 -37
  239. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +6 -7
  240. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +46 -48
  241. package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +4 -4
  242. package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +13 -13
  243. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +11 -13
  244. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +41 -42
  245. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +11 -15
  246. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +35 -37
  247. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +6 -7
  248. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +7 -8
  249. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +2 -2
  250. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +16 -16
  251. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +17 -17
  252. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +21 -24
  253. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +136 -137
  254. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +73 -78
  255. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +8 -8
  256. package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +30 -23
  257. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +34 -22
  258. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
  259. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +21 -9
  260. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +7 -11
  261. package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +3 -3
  262. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
  263. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +3 -4
  264. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +2 -2
  265. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +8 -3
  266. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +2 -2
  267. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +2 -2
  268. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
  269. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +4 -4
  270. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +4 -4
  271. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +5 -6
  272. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +2 -3
  273. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -4
  274. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +47 -48
  275. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +27 -30
  276. package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +55 -55
  277. package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +39 -41
  278. package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +3 -3
  279. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +26 -27
  280. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +66 -66
  281. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +5 -5
  282. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +2 -2
  283. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +27 -27
  284. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +107 -107
  285. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +7 -7
  286. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +7 -7
  287. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +31 -31
  288. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +2 -2
  289. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +15 -15
  290. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +85 -86
  291. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +4 -4
  292. package/src/main/js/sap/ushell/components/tiles/generic.js +133 -131
  293. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +71 -71
  294. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +17 -17
  295. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +49 -49
  296. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +9 -9
  297. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +80 -80
  298. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +3 -3
  299. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +74 -75
  300. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +3 -3
  301. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +55 -55
  302. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +12 -12
  303. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +83 -84
  304. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +15 -15
  305. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +71 -71
  306. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +7 -7
  307. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +4 -4
  308. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +4 -4
  309. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +230 -232
  310. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +271 -272
  311. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +55 -55
  312. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +4 -4
  313. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +53 -53
  314. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +5 -5
  315. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +20 -20
  316. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +11 -11
  317. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +14 -15
  318. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +10 -10
  319. package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +6 -6
  320. package/src/main/js/sap/ushell/components/tiles/utils.js +699 -664
  321. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +217 -217
  322. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +4 -8
  323. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +40 -42
  324. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +257 -262
  325. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +19 -20
  326. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +6 -6
  327. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +37 -38
  328. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +97 -100
  329. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +81 -82
  330. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
  331. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +38 -39
  332. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +5 -5
  333. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -9
  334. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -9
  335. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  336. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +4 -4
  337. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +15 -15
  338. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  339. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  340. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +7 -1
  341. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +90 -0
  342. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +10 -0
  343. package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +19 -11
  344. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +144 -0
  345. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -0
  346. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +34 -0
  347. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +51 -0
  348. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +55 -0
  349. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +5 -0
  350. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +76 -0
  351. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +133 -0
  352. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +83 -1
  353. package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +80 -2
  354. package/src/main/js/sap/ushell/library.js +1 -1
  355. package/src/main/js/sap/ushell/navigation/NavigationState.js +126 -0
  356. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  357. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  358. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  359. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  360. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +8 -4
  361. package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
  362. package/src/main/js/sap/ushell/renderer/Shell.controller.js +11 -5
  363. package/src/main/js/sap/ushell/renderer/Shell.view.js +4 -1
  364. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +2 -0
  365. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +2 -0
  366. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +2 -0
  367. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +2 -0
  368. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +2 -0
  369. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +2 -0
  370. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +2 -0
  371. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +2 -0
  372. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +2 -0
  373. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +2 -0
  374. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +2 -0
  375. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +2 -0
  376. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -0
  377. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +2 -0
  378. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +2 -0
  379. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +2 -0
  380. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +2 -0
  381. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +2 -0
  382. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +2 -0
  383. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +2 -0
  384. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -1
  385. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +2 -0
  386. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -0
  387. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +2 -0
  388. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +2 -0
  389. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +2 -0
  390. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +2 -0
  391. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +2 -0
  392. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +2 -0
  393. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +2 -0
  394. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +2 -0
  395. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +2 -0
  396. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +2 -0
  397. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +2 -0
  398. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +2 -0
  399. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +2 -0
  400. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +2 -0
  401. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +2 -0
  402. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +2 -0
  403. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +2 -0
  404. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -1
  405. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +2 -0
  406. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +2 -0
  407. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +2 -0
  408. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +2 -0
  409. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +2 -0
  410. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -1
  411. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +2 -0
  412. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +2 -0
  413. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  414. package/src/main/js/sap/ushell/services/AllMyApps.js +5 -5
  415. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -5
  416. package/src/main/js/sap/ushell/services/AppLifeCycle.js +2 -2
  417. package/src/main/js/sap/ushell/services/AppState.js +86 -102
  418. package/src/main/js/sap/ushell/services/AppType.js +2 -2
  419. package/src/main/js/sap/ushell/services/Bookmark.js +156 -164
  420. package/src/main/js/sap/ushell/services/BookmarkV2.js +10 -13
  421. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  422. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  423. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  424. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  425. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  426. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  427. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  428. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  429. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  430. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  431. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +27 -31
  432. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  433. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  434. package/src/main/js/sap/ushell/services/CommonDataModel.js +295 -353
  435. package/src/main/js/sap/ushell/services/Configuration.js +14 -12
  436. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +34 -35
  437. package/src/main/js/sap/ushell/services/Container.js +2 -2
  438. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +29 -62
  439. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +227 -266
  440. package/src/main/js/sap/ushell/services/DarkModeSupport.js +17 -16
  441. package/src/main/js/sap/ushell/services/EndUserFeedback.js +5 -4
  442. package/src/main/js/sap/ushell/services/Extension/Item.js +7 -12
  443. package/src/main/js/sap/ushell/services/Extension.js +54 -19
  444. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +209 -213
  445. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +3 -3
  446. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +3 -3
  447. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +6 -6
  448. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  449. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  450. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +4 -4
  451. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +3 -3
  452. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -2
  453. package/src/main/js/sap/ushell/services/Menu.js +264 -289
  454. package/src/main/js/sap/ushell/services/Message.js +3 -3
  455. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +6 -29
  456. package/src/main/js/sap/ushell/services/MessageBroker.js +14 -10
  457. package/src/main/js/sap/ushell/services/MessageInternal.js +37 -38
  458. package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -5
  459. package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +153 -157
  460. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +4 -6
  461. package/src/main/js/sap/ushell/services/Navigation/utils.js +62 -64
  462. package/src/main/js/sap/ushell/services/Navigation.js +10 -14
  463. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
  464. package/src/main/js/sap/ushell/services/Notifications.js +29 -15
  465. package/src/main/js/sap/ushell/services/NotificationsV2.js +86 -98
  466. package/src/main/js/sap/ushell/services/PageBuilding.js +9 -6
  467. package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
  468. package/src/main/js/sap/ushell/services/PageReferencing.js +4 -2
  469. package/src/main/js/sap/ushell/services/Pages.js +635 -683
  470. package/src/main/js/sap/ushell/services/Personalization.js +103 -134
  471. package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +29 -32
  472. package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +21 -6
  473. package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -2
  474. package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +5 -1
  475. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +5 -8
  476. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +2 -2
  477. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +10 -11
  478. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +27 -27
  479. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -2
  480. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
  481. package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +5 -5
  482. package/src/main/js/sap/ushell/services/PersonalizationV2.js +92 -105
  483. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +9 -9
  484. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
  485. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +4 -4
  486. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +5 -8
  487. package/src/main/js/sap/ushell/services/PluginManager.js +12 -8
  488. package/src/main/js/sap/ushell/services/ReferenceResolver.js +21 -28
  489. package/src/main/js/sap/ushell/services/Search.js +25 -21
  490. package/src/main/js/sap/ushell/services/SearchCEP.js +38 -32
  491. package/src/main/js/sap/ushell/services/SearchableContent.js +203 -223
  492. package/src/main/js/sap/ushell/services/ShellNavigation.js +5 -3
  493. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +160 -164
  494. package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +23 -19
  495. package/src/main/js/sap/ushell/services/SmartNavigation.js +86 -82
  496. package/src/main/js/sap/ushell/services/SpaceContent.js +73 -106
  497. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  498. package/src/main/js/sap/ushell/services/UITracer.js +48 -62
  499. package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
  500. package/src/main/js/sap/ushell/services/URLTemplate.js +7 -8
  501. package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +5 -5
  502. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  503. package/src/main/js/sap/ushell/services/UsageAnalytics.js +2 -3
  504. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +10 -10
  505. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +12 -13
  506. package/src/main/js/sap/ushell/services/UserInfo.js +27 -15
  507. package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +6 -7
  508. package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +5 -5
  509. package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +2 -2
  510. package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +2 -2
  511. package/src/main/js/sap/ushell/services/UserRecents.js +3 -3
  512. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +63 -66
  513. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +11 -11
  514. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  515. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  516. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  517. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  518. package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +10 -10
  519. package/src/main/js/sap/ushell/state/BaseState.js +2 -3
  520. package/src/main/js/sap/ushell/state/BindingHelper.js +2 -4
  521. package/src/main/js/sap/ushell/state/ControlManager.js +2 -3
  522. package/src/main/js/sap/ushell/state/CurrentState.js +2 -2
  523. package/src/main/js/sap/ushell/state/KeepAlive.js +2 -2
  524. package/src/main/js/sap/ushell/state/ShellModel.js +2 -3
  525. package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +2 -2
  526. package/src/main/js/sap/ushell/state/StateManager/Operation.js +2 -2
  527. package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +2 -2
  528. package/src/main/js/sap/ushell/state/StateManager.js +3 -3
  529. package/src/main/js/sap/ushell/state/StateRules.js +2 -3
  530. package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +2 -3
  531. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +2 -3
  532. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +2 -3
  533. package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +3 -4
  534. package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +3 -4
  535. package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +2 -3
  536. package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +2 -3
  537. package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -4
  538. package/src/main/js/sap/ushell/state/StrategyFactory.js +2 -3
  539. package/src/main/js/sap/ushell/state/modules/BackNavigation.js +2 -5
  540. package/src/main/js/sap/ushell/state/modules/ContentDensity.js +3 -3
  541. package/src/main/js/sap/ushell/state/modules/Favicon.js +3 -3
  542. package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
  543. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +123 -123
  544. package/src/main/js/sap/ushell/themes/base/ShellBar.less +2 -1
  545. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
  546. package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -0
  547. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellBar.less +9 -0
  548. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +6 -0
  549. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -0
  550. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellBar.less +9 -0
  551. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -0
  552. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellBar.less +9 -0
  553. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -0
  554. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellBar.less +9 -0
  555. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -0
  556. package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
  557. package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +13 -0
  558. package/src/main/js/sap/ushell/thirdparty/Avatar.js +83 -16
  559. package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +16 -241
  560. package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
  561. package/src/main/js/sap/ushell/thirdparty/Button2.js +34 -14
  562. package/src/main/js/sap/ushell/thirdparty/Icon.js +11 -11
  563. package/src/main/js/sap/ushell/thirdparty/Icons.js +81 -79
  564. package/src/main/js/sap/ushell/thirdparty/Label.js +4 -4
  565. package/src/main/js/sap/ushell/thirdparty/Link.js +11 -10
  566. package/src/main/js/sap/ushell/thirdparty/List.js +34 -487
  567. package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
  568. package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +239 -0
  569. package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1669 -91
  570. package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +472 -0
  571. package/src/main/js/sap/ushell/thirdparty/Menu.js +70 -81
  572. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
  573. package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +348 -40
  574. package/src/main/js/sap/ushell/thirdparty/NotificationList.js +5 -5
  575. package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +15 -15
  576. package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +511 -517
  577. package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +3 -3
  578. package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2264 -0
  579. package/src/main/js/sap/ushell/thirdparty/SearchItem.js +111 -0
  580. package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +47 -0
  581. package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +49 -0
  582. package/src/main/js/sap/ushell/thirdparty/SearchScope.js +39 -0
  583. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +177 -170
  584. package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +119 -0
  585. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +7 -0
  586. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +3248 -0
  587. package/src/main/js/sap/ushell/thirdparty/Tag.js +15 -14
  588. package/src/main/js/sap/ushell/thirdparty/Text.js +9 -9
  589. package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
  590. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +55 -54
  591. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +5 -5
  592. package/src/main/js/sap/ushell/thirdparty/ValueState.js +7 -0
  593. package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +444 -0
  594. package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +7 -7
  595. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +39 -0
  596. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +26 -8
  597. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +40 -1
  598. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +26 -8
  599. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +41 -2
  600. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +27 -9
  601. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +39 -0
  602. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +25 -7
  603. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +39 -0
  604. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +25 -7
  605. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +39 -0
  606. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +26 -8
  607. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +39 -0
  608. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +25 -7
  609. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +39 -0
  610. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +26 -8
  611. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +39 -0
  612. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +25 -7
  613. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +45 -0
  614. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +26 -8
  615. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +39 -0
  616. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +26 -8
  617. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +39 -0
  618. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +26 -8
  619. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +45 -0
  620. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +23 -8
  621. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +39 -0
  622. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +26 -8
  623. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +42 -3
  624. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +27 -9
  625. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +42 -3
  626. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +28 -10
  627. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +39 -0
  628. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +25 -7
  629. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +39 -0
  630. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +25 -7
  631. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +39 -0
  632. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +26 -8
  633. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +39 -0
  634. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +25 -7
  635. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +39 -0
  636. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +25 -7
  637. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +39 -0
  638. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +25 -7
  639. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +39 -0
  640. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +25 -7
  641. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +39 -0
  642. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +26 -8
  643. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +43 -4
  644. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +29 -11
  645. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +39 -0
  646. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +27 -9
  647. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +39 -0
  648. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +26 -8
  649. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +39 -0
  650. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +26 -8
  651. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +39 -0
  652. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +25 -7
  653. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +39 -0
  654. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +25 -7
  655. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +39 -0
  656. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +27 -9
  657. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +40 -1
  658. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +25 -7
  659. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +40 -1
  660. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +27 -9
  661. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +39 -0
  662. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +25 -7
  663. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +39 -0
  664. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +26 -8
  665. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +39 -0
  666. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +26 -8
  667. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +39 -0
  668. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +25 -7
  669. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +39 -0
  670. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +26 -8
  671. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +39 -0
  672. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +25 -7
  673. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +39 -0
  674. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +25 -7
  675. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +39 -0
  676. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +25 -7
  677. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +39 -0
  678. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +25 -7
  679. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +41 -2
  680. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +26 -8
  681. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +39 -0
  682. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +25 -7
  683. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +39 -0
  684. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +26 -8
  685. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +39 -0
  686. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +25 -7
  687. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +39 -0
  688. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +25 -7
  689. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +40 -1
  690. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +25 -7
  691. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +39 -0
  692. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +26 -8
  693. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +39 -0
  694. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +26 -8
  695. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +41 -2
  696. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +25 -7
  697. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
  698. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
  699. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
  700. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
  701. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
  702. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
  703. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
  704. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
  705. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
  706. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
  707. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
  708. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
  709. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
  710. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
  711. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
  712. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
  713. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
  714. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
  715. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
  716. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
  717. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
  718. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
  719. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
  720. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
  721. package/src/main/js/sap/ushell/thirdparty/encodeXML.js +87 -0
  722. package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +9 -0
  723. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +143 -149
  724. package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +16 -0
  725. package/src/main/js/sap/ushell/thirdparty/information.js +10 -13
  726. package/src/main/js/sap/ushell/thirdparty/information2.js +13 -0
  727. package/src/main/js/sap/ushell/thirdparty/overflow.js +2 -2
  728. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
  729. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +44 -0
  730. package/src/main/js/sap/ushell/thirdparty/query.js +1 -4
  731. package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +44 -0
  732. package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +7 -0
  733. package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -8
  734. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +35 -31
  735. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +8 -8
  736. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +16 -16
  737. package/src/main/js/sap/ushell/thirdparty/willShowContent.js +7 -0
  738. package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -1
  739. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  740. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  741. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  742. package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +6 -1
  743. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  744. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +5 -2
  745. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  746. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  747. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  748. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  749. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  750. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  751. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  752. package/src/main/js/sap/ushell/utils.js +32 -1
  753. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  754. package/ui5.yaml +2 -0
  755. package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +0 -3920
  756. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +0 -7
  757. /package/src/main/js/sap/ushell/components/shell/SearchCEP/{SearchFieldFragment.fragment.xml → SearchField.fragment.xml} +0 -0
@@ -1,531 +1,525 @@
1
- sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/query', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/overflow', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/NotificationListItemBase', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/i18n-defaults2', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/Link', 'sap/ushell/thirdparty/Tag', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/Label'], (function (webcomponentsBase, webcomponents, webcomponentsFiori, query, eventStrict, overflow, information, Button, i18nDefaults, NotificationListItemBase, Icons, i18nDefaults$1, BusyIndicator, Icon, Link, Tag, parametersBundle_css, toLowercaseEnumValue, Label) { 'use strict';
1
+ sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/query', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/overflow', 'sap/ushell/thirdparty/ValueState', 'sap/ushell/thirdparty/willShowContent', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/NotificationListItemBase', 'sap/ushell/thirdparty/sys-enter-2', 'sap/ushell/thirdparty/information2', 'sap/ushell/thirdparty/i18n-defaults2', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/Link', 'sap/ushell/thirdparty/Tag', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/Label'], (function (webcomponentsBase, webcomponents, webcomponentsFiori, query, eventStrict, overflow, ValueState, willShowContent, parametersBundle_css, NotificationListItemBase, sysEnter2, information$1, i18nDefaults, Button, BusyIndicator, Icon, Link, Tag, Icons, information, parametersBundle_css$1, i18nDefaults$1, ListItemBase, AccessibilityTextsHelper, toLowercaseEnumValue, Label) { 'use strict';
2
2
 
3
- var iconError = "error";
3
+ /**
4
+ * Different types of NotificationListItemImportance.
5
+ *
6
+ * @public
7
+ */
8
+ var NotificationListItemImportance;
9
+ (function (NotificationListItemImportance) {
10
+ /**
11
+ * @public
12
+ */
13
+ NotificationListItemImportance["Standard"] = "Standard";
14
+ /**
15
+ * @public
16
+ */
17
+ NotificationListItemImportance["Important"] = "Important";
18
+ })(NotificationListItemImportance || (NotificationListItemImportance = {}));
19
+ var NotificationListItemImportance$1 = NotificationListItemImportance;
4
20
 
5
- var iconAlert = "alert";
21
+ const name$1 = "high-priority";
22
+ const pathData$1 = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 96q-15 0-25.5 11t-9.5 26l11 164q0 10 7 16.5t17 6.5 17-6.5 7-16.5l11-164q1-15-9.5-26T256 96zm0 329q15 0 25.5-11t10.5-26-11-25.5-26-10.5-25 10.5-10 25.5 10 26 26 11z";
23
+ const ltr$1 = false;
24
+ const collection$1 = "SAP-icons-v4";
25
+ const packageName$1 = "@ui5/webcomponents-icons";
6
26
 
7
- var iconInformation = "information";
27
+ Icons.f$2(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
8
28
 
9
- /**
10
- * Different types of NotificationListItemImportance.
11
- *
12
- * @public
13
- */
14
- var NotificationListItemImportance;
15
- (function (NotificationListItemImportance) {
16
- /**
17
- * @public
18
- */
19
- NotificationListItemImportance["Standard"] = "Standard";
20
- /**
21
- * @public
22
- */
23
- NotificationListItemImportance["Important"] = "Important";
24
- })(NotificationListItemImportance || (NotificationListItemImportance = {}));
25
- var NotificationListItemImportance$1 = NotificationListItemImportance;
29
+ const name = "high-priority";
30
+ const pathData = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm-32 288q0 14 9 23t23 9 23-9 9-23V128q0-14-9-23t-23-9-23 9-9 23v160zm32 128q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";
31
+ const ltr = false;
32
+ const collection = "SAP-icons-v5";
33
+ const packageName = "@ui5/webcomponents-icons";
26
34
 
27
- const name$1 = "high-priority";
28
- const pathData$1 = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 96q-15 0-25.5 11t-9.5 26l11 164q0 10 7 16.5t17 6.5 17-6.5 7-16.5l11-164q1-15-9.5-26T256 96zm0 329q15 0 25.5-11t10.5-26-11-25.5-26-10.5-25 10.5-10 25.5 10 26 26 11z";
29
- const ltr$1 = false;
30
- const collection$1 = "SAP-icons-v4";
31
- const packageName$1 = "@ui5/webcomponents-icons";
35
+ Icons.f$2(name, { pathData, ltr, collection, packageName });
32
36
 
33
- Icons.f(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
37
+ var iconHighPriority = "high-priority";
34
38
 
35
- const name = "high-priority";
36
- const pathData = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm-32 288q0 14 9 23t23 9 23-9 9-23V128q0-14-9-23t-23-9-23 9-9 23v160zm32 128q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";
37
- const ltr = false;
38
- const collection = "SAP-icons-v5";
39
- const packageName = "@ui5/webcomponents-icons";
39
+ function NotificationListItemTemplate() {
40
+ return (parametersBundle_css.jsxs("li", { class: this.itemClasses, onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onClick: this._onclick, tabindex: this.forcedTabIndex ? parseInt(this.forcedTabIndex) : undefined, "aria-labelledby": this.ariaLabelledBy, "aria-level": this._ariaLevel, children: [this.loading && (parametersBundle_css.jsx("span", { id: `${this._id}-loading`, class: "ui5-hidden-text", children: this.loadingText })), parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-busyIndicator`, delay: this.loadingDelay, active: this.loading, inert: this.loading, class: "ui5-nli-loading", children: parametersBundle_css.jsxs("div", { class: "ui5-nli-content-wrapper", children: [parametersBundle_css.jsxs("div", { class: {
41
+ "ui5-nli-content": true,
42
+ "ui5-nli-content-with-importance": this.hasImportance,
43
+ }, children: [this.hasImportance && (parametersBundle_css.jsxs(Tag.Tag, { id: `${this._id}-importance`, class: "ui5-nli-importance", design: "Set2", colorScheme: "2", wrappingType: "None", children: [parametersBundle_css.jsx(Icon.Icon, { name: iconHighPriority, slot: "icon" }), this.importanceText] })), parametersBundle_css.jsxs("div", { class: "ui5-nli-title-text-wrapper", children: [this.hasState && (parametersBundle_css.jsx(Icon.Icon, { class: "ui5-state-icon", name: this.statusIconName, showTooltip: true, accessibleName: this.stateText, design: this.statusIconDesign })), parametersBundle_css.jsxs("div", { id: `${this._id}-title-text`, class: "ui5-nli-title-text", part: "title-text", children: [parametersBundle_css.jsx("span", { class: "ui5-hidden-text", children: this.stateText }), this.titleText] })] }), parametersBundle_css.jsx("span", { id: `${this._id}-read`, class: "ui5-hidden-text", children: this.readText }), this.hasDesc && (parametersBundle_css.jsx("div", { id: `${this._id}-description`, class: "ui5-nli-description", children: parametersBundle_css.jsx("slot", {}) })), parametersBundle_css.jsxs("div", { class: "ui5-nli-footer", children: [parametersBundle_css.jsx("div", { id: `${this._id}-footnotes`, class: "ui5-nli-footnotes", children: this.footerItems.map(item => {
44
+ return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("slot", { name: item.slotName }), item.showDivider && parametersBundle_css.jsx("div", { class: "ui5-nli-footer-divider", "aria-hidden": "true", children: "\u00B7" })] }));
45
+ }) }), parametersBundle_css.jsx(Link.Link, { class: "ui5-nli-footer-showMore", hidden: this.hideShowMore, onClick: this._onShowMoreClick, wrappingType: "None", href: "#" // --without href ENTER does not trigger click
46
+ , accessibleName: this.moreLinkAccessibleName, accessibleRole: "Button", accessibilityAttributes: this.moreLinkAccessibilityAttributes, children: this.showMoreText })] })] }), parametersBundle_css.jsxs("div", { class: "ui5-nli-actions", children: [this.showMenu && (parametersBundle_css.jsx(Button.Button, { icon: overflow.overflow, design: "Transparent", onClick: this._onBtnMenuClick, class: "ui5-nli-menu-btn", tooltip: this.menuBtnAccessibleName, accessibilityAttributes: this.menuButtonAccessibilityAttributes })), this.showClose && (parametersBundle_css.jsx(Button.Button, { icon: information.decline, class: "ui5-nli-close-btn", design: "Transparent", onClick: this._onBtnCloseClick, tooltip: this.closeBtnAccessibleName, accessibleName: this.closeBtnAccessibleName }))] }), parametersBundle_css.jsx("div", { class: "ui5-nli-avatar", "aria-hidden": "true", children: parametersBundle_css.jsx("slot", { name: "avatar" }) }), parametersBundle_css.jsx("slot", { name: "menu" })] }) })] }));
47
+ }
40
48
 
41
- Icons.f(name, { pathData, ltr, collection, packageName });
42
-
43
- var iconHighPriority = "high-priority";
44
-
45
- function NotificationListItemTemplate() {
46
- return (i18nDefaults.jsxs("li", { class: this.itemClasses, onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onClick: this._onclick, tabindex: this.forcedTabIndex ? parseInt(this.forcedTabIndex) : undefined, "aria-labelledby": this.ariaLabelledBy, "aria-level": this._ariaLevel, children: [this.loading && (i18nDefaults.jsx("span", { id: `${this._id}-loading`, class: "ui5-hidden-text", children: this.loadingText })), i18nDefaults.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-busyIndicator`, delay: this.loadingDelay, active: this.loading, inert: this.loading, class: "ui5-nli-loading", children: i18nDefaults.jsxs("div", { class: "ui5-nli-content-wrapper", children: [i18nDefaults.jsxs("div", { class: {
47
- "ui5-nli-content": true,
48
- "ui5-nli-content-with-importance": this.hasImportance,
49
- }, children: [this.hasImportance && (i18nDefaults.jsxs(Tag.Tag, { id: `${this._id}-importance`, class: "ui5-nli-importance", design: "Set2", colorScheme: "2", wrappingType: "None", children: [i18nDefaults.jsx(Icon.Icon, { name: iconHighPriority, slot: "icon" }), this.importanceText] })), i18nDefaults.jsxs("div", { class: "ui5-nli-title-text-wrapper", children: [this.hasState && (i18nDefaults.jsx(Icon.Icon, { class: "ui5-state-icon", name: this.statusIconName, showTooltip: true, accessibleName: this.stateText, design: this.statusIconDesign })), i18nDefaults.jsxs("div", { id: `${this._id}-title-text`, class: "ui5-nli-title-text", part: "title-text", children: [i18nDefaults.jsx("span", { class: "ui5-hidden-text", children: this.stateText }), this.titleText] })] }), i18nDefaults.jsx("span", { id: `${this._id}-read`, class: "ui5-hidden-text", children: this.readText }), this.hasDesc && (i18nDefaults.jsx("div", { id: `${this._id}-description`, class: "ui5-nli-description", children: i18nDefaults.jsx("slot", {}) })), i18nDefaults.jsxs("div", { class: "ui5-nli-footer", children: [i18nDefaults.jsx("div", { id: `${this._id}-footnotes`, class: "ui5-nli-footnotes", children: this.footerItems.map(item => {
50
- return (i18nDefaults.jsxs(i18nDefaults.Fragment, { children: [i18nDefaults.jsx("slot", { name: item.slotName }), item.showDivider && i18nDefaults.jsx("div", { class: "ui5-nli-footer-divider", "aria-hidden": "true", children: "\u00B7" })] }));
51
- }) }), i18nDefaults.jsx(Link.Link, { class: "ui5-nli-footer-showMore", hidden: this.hideShowMore, onClick: this._onShowMoreClick, wrappingType: "None", href: "#" // --without href ENTER does not trigger click
52
- , accessibleName: this.moreLinkAccessibleName, accessibleRole: "Button", accessibilityAttributes: this.moreLinkAccessibilityAttributes, children: this.showMoreText })] })] }), i18nDefaults.jsxs("div", { class: "ui5-nli-actions", children: [this.showMenu && (i18nDefaults.jsx(Button.Button, { icon: overflow.overflow, design: "Transparent", onClick: this._onBtnMenuClick, class: "ui5-nli-menu-btn", tooltip: this.menuBtnAccessibleName, accessibilityAttributes: this.menuButtonAccessibilityAttributes })), this.showClose && (i18nDefaults.jsx(Button.Button, { icon: information.decline, class: "ui5-nli-close-btn", design: "Transparent", onClick: this._onBtnCloseClick, tooltip: this.closeBtnAccessibleName, accessibleName: this.closeBtnAccessibleName }))] }), i18nDefaults.jsx("div", { class: "ui5-nli-avatar", "aria-hidden": "true", children: i18nDefaults.jsx("slot", { name: "avatar" }) }), i18nDefaults.jsx("slot", { name: "menu" })] }) })] }));
53
- }
54
-
55
- Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
56
- Icons.p("@ui5/webcomponents-fiori", "sap_horizon", async () => parametersBundle_css.defaultTheme);
57
- var NotificationListItemCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block;max-width:100%;min-height:var(--_ui5-v2-11-0-rc-3_list_item_base_height);background:var(--ui5-v2-11-0-rc-3-listitem-background-color);cursor:pointer}.ui5-nli-focusable:focus{outline:none}:host([desktop]) .ui5-nli-focusable:focus:not(.ui5-nli-group-root):after,.ui5-nli-focusable:focus-visible:not(.ui5-nli-group-root):after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:0;pointer-events:none}.ui5-state-icon{min-width:1rem;min-height:1rem;padding-inline-end:var(--_ui5-v2-11-0-rc-3-notification_item-state-icon-padding)}:host(:not([wrapping-type="Normal"])) .ui5-nli-title-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host(:not([wrapping-type="Normal"])) .ui5-nli-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host([_show-more-pressed]) .ui5-nli-title-text{-webkit-line-clamp:unset}:host([_show-more-pressed]) .ui5-nli-description{-webkit-line-clamp:unset}:host([read]) .ui5-nli-title-text{font-weight:400}:host(:first-of-type){border-top-left-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius)}:host(:last-of-type){border-bottom-left-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius)}:host(:first-of-type) .ui5-nli-focusable:after{border-top-left-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius)}:host(:last-of-type) .ui5-nli-focusable:after{border-bottom-left-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius)}:host([has-border]){border-bottom:var(--_ui5-v2-11-0-rc-3-notification_item-border-bottom)}:host([ui5-li-notification]){margin:var(--_ui5-v2-11-0-rc-3-notification_item-margin);border-left:var(--_ui5-v2-11-0-rc-3-notification_item-border-top-left-right);border-right:var(--_ui5-v2-11-0-rc-3-notification_item-border-top-left-right);border-top:var(--_ui5-v2-11-0-rc-3-notification_item-border-top-left-right);border-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);list-style:none}.ui5-nli-root{position:relative;width:100%;box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);border:1px solid transparent}.ui5-nli-root:hover{background-color:var(--_ui5-v2-11-0-rc-3-notification_item-background-color-hover);border-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius)}:host([desktop]) .ui5-nli-root:focus:active,.ui5-nli-root:focus-visible:active{background-color:var(--_ui5-v2-11-0-rc-3-notification_item-background-color-active);border-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);border:var(--_ui5-v2-11-0-rc-3-notification_item-border-active)}.ui5-nli-content-wrapper{width:100%;display:flex;flex-direction:row-reverse;padding-inline:var(--_ui5-v2-11-0-rc-3-notification_item-root-padding-inline);padding-block:1rem;position:relative;box-sizing:border-box}.ui5-nli-content{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;padding-inline:var(--_ui5-v2-11-0-rc-3-notification_item-content-padding);font-family:"72override",var(--sapFontFamily);box-sizing:border-box}.ui5-nli-content.ui5-nli-content-with-importance{margin-bottom:2rem}.ui5-nli-actions{position:absolute;top:.5rem;right:.5rem}:dir(rtl) .ui5-nli-actions{left:.5rem;right:auto}.ui5-nli-title-text-wrapper{display:flex;flex-direction:row}.ui5-nli-title-text{display:flex;margin-bottom:var(--_ui5-v2-11-0-rc-3-notification_item-title-margin-bottom);box-sizing:border-box;color:var(--sapGroup_TitleTextColor);font-weight:700;font-size:var(--sapFontHeader6Size)}.ui5-nli-two-buttons .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-11-0-rc-3-notification_item-title-padding-end-two-buttons)}.ui5-nli-one-button .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-11-0-rc-3-notification_item-title-padding-end-one-button)}.ui5-nli-description{display:flex;margin-top:var(--_ui5-v2-11-0-rc-3-notification_item-description-margin-top);color:var(--sapTextColor);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-nli-footer{display:flex;color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);margin-top:var(--_ui5-v2-11-0-rc-3-notification_item-footer-margin-top);box-sizing:border-box;align-items:center}.ui5-nli-footer-divider{position:relative;align-items:center;margin-inline:.5rem}.ui5-nli-footnotes{display:flex;min-width:0}.ui5-nli-footer-showMore{margin-inline-start:1rem}.ui5-nli-importance{width:fit-content;position:absolute;bottom:1rem}::slotted([slot^="footnotes"]){color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui5-nli-menu-btn{margin-inline-end:.125rem}:host([desktop]) .ui5-nli-focusable:not(.ui5-nli-group-root):focus:after,.ui5-nli-focusable:not(.ui5-nli-group-root):focus-visible:after{border-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius);top:var(--_ui5-v2-11-0-rc-3-notification_item-focus-offset);right:var(--_ui5-v2-11-0-rc-3-notification_item-focus-offset);bottom:var(--_ui5-v2-11-0-rc-3-notification_item-focus-offset);left:var(--_ui5-v2-11-0-rc-3-notification_item-focus-offset)}[ui5-busy-indicator]{width:100%;border-radius:var(--_ui5-v2-11-0-rc-3-notification_item-border-radius)}
49
+ Icons.p("@ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
50
+ Icons.p("@ui5/webcomponents-fiori", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
51
+ var NotificationListItemCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block;max-width:100%;min-height:var(--_ui5-v2-13-0-rc-0_list_item_base_height);background:var(--ui5-v2-13-0-rc-0-listitem-background-color);cursor:pointer}.ui5-nli-focusable:focus{outline:none}:host([desktop]) .ui5-nli-focusable:focus:not(.ui5-nli-group-root):after,.ui5-nli-focusable:focus-visible:not(.ui5-nli-group-root):after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:0;pointer-events:none}.ui5-state-icon{min-width:1rem;min-height:1rem;padding-inline-end:var(--_ui5-v2-13-0-rc-0-notification_item-state-icon-padding)}:host(:not([wrapping-type="Normal"])) .ui5-nli-title-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host(:not([wrapping-type="Normal"])) .ui5-nli-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host([_show-more-pressed]) .ui5-nli-title-text{-webkit-line-clamp:unset}:host([_show-more-pressed]) .ui5-nli-description{-webkit-line-clamp:unset}:host([read]) .ui5-nli-title-text{font-weight:400}:host(:first-of-type){border-top-left-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius)}:host(:last-of-type){border-bottom-left-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius)}:host(:first-of-type) .ui5-nli-focusable:after{border-top-left-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius)}:host(:last-of-type) .ui5-nli-focusable:after{border-bottom-left-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius)}:host([has-border]){border-bottom:var(--_ui5-v2-13-0-rc-0-notification_item-border-bottom)}:host([ui5-li-notification]){margin:var(--_ui5-v2-13-0-rc-0-notification_item-margin);border-left:var(--_ui5-v2-13-0-rc-0-notification_item-border-top-left-right);border-right:var(--_ui5-v2-13-0-rc-0-notification_item-border-top-left-right);border-top:var(--_ui5-v2-13-0-rc-0-notification_item-border-top-left-right);border-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);list-style:none}.ui5-nli-root{position:relative;width:100%;box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);border:1px solid transparent}.ui5-nli-root:hover{background-color:var(--_ui5-v2-13-0-rc-0-notification_item-background-color-hover);border-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius)}:host([desktop]) .ui5-nli-root:focus:active,.ui5-nli-root:focus-visible:active{background-color:var(--_ui5-v2-13-0-rc-0-notification_item-background-color-active);border-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);border:var(--_ui5-v2-13-0-rc-0-notification_item-border-active)}.ui5-nli-content-wrapper{width:100%;display:flex;flex-direction:row-reverse;padding-inline:var(--_ui5-v2-13-0-rc-0-notification_item-root-padding-inline);padding-block:1rem;position:relative;box-sizing:border-box}.ui5-nli-content{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;padding-inline:var(--_ui5-v2-13-0-rc-0-notification_item-content-padding);font-family:"72override",var(--sapFontFamily);box-sizing:border-box}.ui5-nli-content.ui5-nli-content-with-importance{margin-bottom:2rem}.ui5-nli-actions{position:absolute;top:.5rem;right:.5rem}:dir(rtl) .ui5-nli-actions{left:.5rem;right:auto}.ui5-nli-title-text-wrapper{display:flex;flex-direction:row}.ui5-nli-title-text{display:flex;margin-bottom:var(--_ui5-v2-13-0-rc-0-notification_item-title-margin-bottom);box-sizing:border-box;color:var(--sapGroup_TitleTextColor);font-weight:700;font-size:var(--sapFontHeader6Size)}.ui5-nli-two-buttons .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-13-0-rc-0-notification_item-title-padding-end-two-buttons)}.ui5-nli-one-button .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-13-0-rc-0-notification_item-title-padding-end-one-button)}.ui5-nli-description{display:flex;margin-top:var(--_ui5-v2-13-0-rc-0-notification_item-description-margin-top);color:var(--sapTextColor);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-nli-footer{display:flex;color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);margin-top:var(--_ui5-v2-13-0-rc-0-notification_item-footer-margin-top);box-sizing:border-box;align-items:center}.ui5-nli-footer-divider{position:relative;align-items:center;margin-inline:.5rem}.ui5-nli-footnotes{display:flex;min-width:0}.ui5-nli-footer-showMore{margin-inline-start:1rem}.ui5-nli-importance{width:fit-content;position:absolute;bottom:1rem}::slotted([slot^="footnotes"]){color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui5-nli-menu-btn{margin-inline-end:.125rem}:host([desktop]) .ui5-nli-focusable:not(.ui5-nli-group-root):focus:after,.ui5-nli-focusable:not(.ui5-nli-group-root):focus-visible:after{border-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius);top:var(--_ui5-v2-13-0-rc-0-notification_item-focus-offset);right:var(--_ui5-v2-13-0-rc-0-notification_item-focus-offset);bottom:var(--_ui5-v2-13-0-rc-0-notification_item-focus-offset);left:var(--_ui5-v2-13-0-rc-0-notification_item-focus-offset)}[ui5-busy-indicator]{width:100%;border-radius:var(--_ui5-v2-13-0-rc-0-notification_item-border-radius)}
58
52
  `;
59
53
 
60
- /**
61
- * Different Icon semantic designs.
62
- * @public
63
- */
64
- var IconDesign;
65
- (function (IconDesign) {
66
- /**
67
- * Contrast design
68
- * @public
69
- */
70
- IconDesign["Contrast"] = "Contrast";
71
- /**
72
- * Critical design
73
- * @public
74
- */
75
- IconDesign["Critical"] = "Critical";
76
- /**
77
- * Default design (brand design)
78
- * @public
79
- */
80
- IconDesign["Default"] = "Default";
81
- /**
82
- * info type
83
- * @public
84
- */
85
- IconDesign["Information"] = "Information";
86
- /**
87
- * Negative design
88
- * @public
89
- */
90
- IconDesign["Negative"] = "Negative";
91
- /**
92
- * Neutral design
93
- * @public
94
- */
95
- IconDesign["Neutral"] = "Neutral";
96
- /**
97
- * Design that indicates an icon which isn't interactive
98
- * @public
99
- */
100
- IconDesign["NonInteractive"] = "NonInteractive";
101
- /**
102
- * Positive design
103
- * @public
104
- */
105
- IconDesign["Positive"] = "Positive";
106
- })(IconDesign || (IconDesign = {}));
107
- var IconDesign$1 = IconDesign;
54
+ /**
55
+ * Different Icon semantic designs.
56
+ * @public
57
+ */
58
+ var IconDesign;
59
+ (function (IconDesign) {
60
+ /**
61
+ * Contrast design
62
+ * @public
63
+ */
64
+ IconDesign["Contrast"] = "Contrast";
65
+ /**
66
+ * Critical design
67
+ * @public
68
+ */
69
+ IconDesign["Critical"] = "Critical";
70
+ /**
71
+ * Default design (brand design)
72
+ * @public
73
+ */
74
+ IconDesign["Default"] = "Default";
75
+ /**
76
+ * info type
77
+ * @public
78
+ */
79
+ IconDesign["Information"] = "Information";
80
+ /**
81
+ * Negative design
82
+ * @public
83
+ */
84
+ IconDesign["Negative"] = "Negative";
85
+ /**
86
+ * Neutral design
87
+ * @public
88
+ */
89
+ IconDesign["Neutral"] = "Neutral";
90
+ /**
91
+ * Design that indicates an icon which isn't interactive
92
+ * @public
93
+ */
94
+ IconDesign["NonInteractive"] = "NonInteractive";
95
+ /**
96
+ * Positive design
97
+ * @public
98
+ */
99
+ IconDesign["Positive"] = "Positive";
100
+ })(IconDesign || (IconDesign = {}));
101
+ var IconDesign$1 = IconDesign;
108
102
 
109
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
110
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
111
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
112
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
113
- return c > 3 && r && Object.defineProperty(target, key, r), r;
114
- };
115
- var NotificationListItem_1;
116
- /**
117
- * Defines the icons name corresponding to the notification's status indicator.
118
- */
119
- const ICON_PER_STATUS_NAME = {
120
- [information.o.Negative]: iconError,
121
- [information.o.Critical]: iconAlert,
122
- [information.o.Positive]: query.selectedAccount,
123
- [information.o.Information]: iconInformation,
124
- [information.o.None]: "",
125
- };
126
- /**
127
- * Defines the icons design (color) corresponding to the notification's status indicator.
128
- */
129
- const ICON_PER_STATUS_DESIGN = {
130
- [information.o.Negative]: IconDesign$1.Negative,
131
- [information.o.Critical]: IconDesign$1.Critical,
132
- [information.o.Positive]: IconDesign$1.Positive,
133
- [information.o.Information]: IconDesign$1.Information,
134
- [information.o.None]: undefined,
135
- };
136
- /**
137
- * @class
138
- *
139
- * ### Overview
140
- * The `ui5-li-notification` is a type of list item, meant to display notifications.
141
- *
142
- * The component has a rich set of various properties that allows the user to set `avatar`, `menu`, `titleText`, descriptive `content`
143
- * and `footnotes` to fully describe a notification.
144
- *
145
- * The user can:
146
- *
147
- * - display a `Close` button
148
- * - can control whether the `titleText` and `description` should wrap or truncate
149
- * and display a `ShowMore` button to switch between less and more information
150
- * - add actions by using the `ui5-menu` component
151
- *
152
- * **Note:** Adding custom actions by using the `ui5-notification-action` component is deprecated as of version 2.0!
153
- *
154
- * ### Usage
155
- * The component should be used inside a `ui5-notification-list`.
156
- *
157
- * ### Keyboard Handling
158
- *
159
- * #### Basic Navigation
160
- * The user can use the following keyboard shortcuts to perform actions (such as select, delete):
161
- *
162
- * - [Enter] - select an item (trigger "item-click" event)
163
- * - [Delete] - close an item (trigger "item-close" event)
164
- *
165
- * #### Fast Navigation
166
- * This component provides a fast navigation using the following keyboard shortcuts:
167
- *
168
- * - [Shift] + [Enter] - 'More'/'Less' link will be triggered
169
- * - [Shift] + [F10] - 'Menu' (Actions) button will be triggered (clicked)
170
- *
171
- * ### ES6 Module Import
172
- *
173
- * `import "@ui5/webcomponents-fiori/dist/NotificationListItem.js";`
174
- *
175
- * @constructor
176
- * @extends NotificationListItemBase
177
- * @since 1.0.0-rc.8
178
- * @public
179
- * @csspart title-text - Used to style the titleText of the notification list item
180
- */
181
- let NotificationListItem = NotificationListItem_1 = class NotificationListItem extends NotificationListItemBase.NotificationListItemBase {
182
- constructor() {
183
- super();
184
- /**
185
- * Defines if the `titleText` and `description` should wrap,
186
- * they truncate by default.
187
- *
188
- * **Note:** by default the `titleText` and `description`,
189
- * and a `ShowMore/Less` button would be displayed.
190
- * @default "None"
191
- * @public
192
- * @since 1.0.0-rc.15
193
- */
194
- this.wrappingType = "None";
195
- /**
196
- * Defines the status indicator of the item.
197
- * @default "None"
198
- * @public
199
- */
200
- this.state = "None";
201
- /**
202
- * Defines if the `Close` button would be displayed.
203
- * @default false
204
- * @public
205
- */
206
- this.showClose = false;
207
- /**
208
- * Defines the `Important` label of the item.
209
- * @default "Standard"
210
- * @public
211
- */
212
- this.importance = "Standard";
213
- /**
214
- * Defines the state of the `titleText` and `description`,
215
- * if less or more information is displayed.
216
- * @private
217
- */
218
- this._showMorePressed = false;
219
- /**
220
- * Defines the visibility of the `showMore` button.
221
- * @private
222
- */
223
- this._showMore = false;
224
- // the titleText overflow height
225
- this._titleTextOverflowHeight = 0;
226
- // the description overflow height
227
- this._descOverflowHeight = 0;
228
- // the resize handler
229
- this._onResizeBound = this.onResize.bind(this);
230
- }
231
- onEnterDOM() {
232
- super.onEnterDOM();
233
- webcomponentsBase.f.register(this, this._onResizeBound);
234
- }
235
- onExitDOM() {
236
- webcomponentsBase.f.deregister(this, this._onResizeBound);
237
- }
238
- get hasState() {
239
- return this.state !== information.o.None;
240
- }
241
- get hasDesc() {
242
- return Button.t(this.description);
243
- }
244
- get hasImportance() {
245
- return this.importance !== NotificationListItemImportance$1.Standard;
246
- }
247
- get hasFootNotes() {
248
- return !!this.footnotes.length;
249
- }
250
- get showMoreText() {
251
- if (this._showMorePressed) {
252
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_SHOW_LESS);
253
- }
254
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_SHOW_MORE);
255
- }
256
- get menuBtnAccessibleName() {
257
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_MENU_BTN_TITLE);
258
- }
259
- get moreLinkAccessibleName() {
260
- return this._showMorePressed ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_TRUNCATE) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_FULL);
261
- }
262
- get closeBtnAccessibleName() {
263
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
264
- }
265
- get hideShowMore() {
266
- if (this.wrappingType === overflow.WrappingType.None && this._showMore) {
267
- return undefined;
268
- }
269
- return true;
270
- }
271
- get titleTextHeight() {
272
- return this.titleTextDOM.offsetHeight;
273
- }
274
- get descriptionHeight() {
275
- return this.descriptionDOM.offsetHeight;
276
- }
277
- get titleTextOverflows() {
278
- const titleText = this.titleTextDOM;
279
- if (!titleText) {
280
- return false;
281
- }
282
- return titleText.offsetHeight < titleText.scrollHeight;
283
- }
284
- get descriptionOverflows() {
285
- const description = this.descriptionDOM;
286
- if (!description) {
287
- return false;
288
- }
289
- return description.offsetHeight < description.scrollHeight;
290
- }
291
- get footerItems() {
292
- return this.footnotes.map((el, idx, arr) => {
293
- return {
294
- slotName: el._individualSlot,
295
- showDivider: idx !== arr.length - 1,
296
- };
297
- });
298
- }
299
- get ariaLabelledBy() {
300
- const id = this._id;
301
- if (this.loading) {
302
- return `${id}-loading`;
303
- }
304
- const ids = [];
305
- if (this.hasImportance) {
306
- ids.push(`${id}-importance`);
307
- }
308
- if (this.hasTitleText) {
309
- ids.push(`${id}-title-text`);
310
- }
311
- ids.push(`${id}-read`);
312
- if (this.hasDesc) {
313
- ids.push(`${id}-description`);
314
- }
315
- if (this.hasFootNotes) {
316
- ids.push(`${id}-footnotes`);
317
- }
318
- return ids.join(" ");
319
- }
320
- get itemClasses() {
321
- const classes = ["ui5-nli-root", "ui5-nli-focusable"];
322
- if (this.getMenu() && this.showClose) {
323
- classes.push("ui5-nli-two-buttons");
324
- }
325
- else if (this.getMenu() || this.showClose) {
326
- classes.push("ui5-nli-one-button");
327
- }
328
- return classes.join(" ");
329
- }
330
- get statusIconName() {
331
- return ICON_PER_STATUS_NAME[this.state];
332
- }
333
- get statusIconDesign() {
334
- return ICON_PER_STATUS_DESIGN[this.state];
335
- }
336
- get importanceText() {
337
- let text;
338
- if (this.hasImportance) {
339
- text = NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_IMPORTANT_TXT);
340
- }
341
- else {
342
- text = "";
343
- }
344
- return text;
345
- }
346
- get stateText() {
347
- if (this.state === information.o.Positive) {
348
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_POSITIVE_STATUS_TXT);
349
- }
350
- if (this.state === information.o.Critical) {
351
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_CRITICAL_STATUS_TXT);
352
- }
353
- if (this.state === information.o.Negative) {
354
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_NEGATIVE_STATUS_TXT);
355
- }
356
- if (this.state === information.o.Information) {
357
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_INFORMATION_STATUS_TXT);
358
- }
359
- return "";
360
- }
361
- get readText() {
362
- return this.read ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults$1.NOTIFICATION_LIST_ITEM_UNREAD);
363
- }
364
- get menuButtonAccessibilityAttributes() {
365
- return {
366
- hasPopup: "menu",
367
- };
368
- }
369
- get moreLinkAccessibilityAttributes() {
370
- return {
371
- expanded: this._showMorePressed,
372
- };
373
- }
374
- get showMenu() {
375
- return !!this.getMenu();
376
- }
377
- /**
378
- * Event handlers
379
- */
380
- _onclick() {
381
- this.fireItemPress();
382
- }
383
- _onShowMoreClick(e) {
384
- e.preventDefault();
385
- this._toggleShowMorePressed();
386
- }
387
- async _onkeydown(e) {
388
- await super._onkeydown(e);
389
- if (webcomponentsBase.ro(e)) {
390
- e.preventDefault();
391
- }
392
- }
393
- _onkeyup(e) {
394
- super._onkeyup(e);
395
- const space = webcomponentsBase.i(e);
396
- if (space && this.getFocusDomRef().matches(":has(:focus-within)")) {
397
- e.preventDefault();
398
- this._toggleShowMorePressed();
399
- return;
400
- }
401
- if (webcomponentsBase.V(e)) {
402
- this.fireDecoratorEvent("close", { item: this });
403
- }
404
- if (webcomponentsBase.ro(e)) {
405
- this._onBtnMenuClick();
406
- }
407
- if (webcomponentsBase.d$1(e)) {
408
- this._toggleShowMorePressed();
409
- }
410
- }
411
- _onBtnCloseClick() {
412
- this.fireDecoratorEvent("close", { item: this });
413
- }
414
- _onBtnMenuClick() {
415
- if (this.getMenu()) {
416
- this.openMenu();
417
- }
418
- }
419
- _toggleShowMorePressed() {
420
- this._showMorePressed = !this._showMorePressed;
421
- }
422
- openMenu() {
423
- const menu = this.getMenu();
424
- menu.opener = this.menuButtonDOM;
425
- menu.open = true;
426
- }
427
- getMenu() {
428
- const menu = this.querySelector("[ui5-menu]");
429
- return menu;
430
- }
431
- /**
432
- * Private
433
- */
434
- fireItemPress() {
435
- if (this.getFocusDomRef().matches(":has(:focus-within)")) {
436
- return;
437
- }
438
- // NotificationListItem will never be assigned to a variable of type ListItemBase
439
- // typescipt complains here, if that is the case, the parameter to the _press event handler could be a ListItemBase item,
440
- // but this is never the case, all components are used by their class and never assigned to a variable with a type of ListItemBase
441
- this.fireDecoratorEvent("_press", { item: this });
442
- }
443
- onResize() {
444
- if (this.wrappingType === overflow.WrappingType.Normal) {
445
- this._showMore = false;
446
- return;
447
- }
448
- const titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;
449
- const descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;
450
- const overflows = titleTextWouldOverflow || descWouldOverflow;
451
- if (this._showMorePressed && overflows) {
452
- this._showMore = true;
453
- return;
454
- }
455
- if (this.titleTextOverflows || this.descriptionOverflows) {
456
- this._titleTextOverflowHeight = this.titleTextHeight;
457
- this._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;
458
- this._showMore = true;
459
- return;
460
- }
461
- this._showMore = false;
462
- }
463
- };
464
- __decorate([
465
- webcomponentsBase.s()
466
- ], NotificationListItem.prototype, "wrappingType", void 0);
467
- __decorate([
468
- webcomponentsBase.s()
469
- ], NotificationListItem.prototype, "state", void 0);
470
- __decorate([
471
- webcomponentsBase.s({ type: Boolean })
472
- ], NotificationListItem.prototype, "showClose", void 0);
473
- __decorate([
474
- webcomponentsBase.s()
475
- ], NotificationListItem.prototype, "importance", void 0);
476
- __decorate([
477
- webcomponentsBase.s({ type: Boolean })
478
- ], NotificationListItem.prototype, "_showMorePressed", void 0);
479
- __decorate([
480
- webcomponentsBase.s({ type: Boolean })
481
- ], NotificationListItem.prototype, "_showMore", void 0);
482
- __decorate([
483
- webcomponentsBase.d()
484
- ], NotificationListItem.prototype, "avatar", void 0);
485
- __decorate([
486
- webcomponentsBase.d()
487
- ], NotificationListItem.prototype, "menu", void 0);
488
- __decorate([
489
- webcomponentsBase.d({ type: HTMLElement, individualSlots: true })
490
- ], NotificationListItem.prototype, "footnotes", void 0);
491
- __decorate([
492
- webcomponentsBase.d({ type: Node, "default": true })
493
- ], NotificationListItem.prototype, "description", void 0);
494
- __decorate([
495
- query.o(".ui5-nli-title-text")
496
- ], NotificationListItem.prototype, "titleTextDOM", void 0);
497
- __decorate([
498
- query.o(".ui5-nli-menu-btn")
499
- ], NotificationListItem.prototype, "menuButtonDOM", void 0);
500
- __decorate([
501
- query.o(".ui5-nli-description")
502
- ], NotificationListItem.prototype, "descriptionDOM", void 0);
503
- NotificationListItem = NotificationListItem_1 = __decorate([
504
- webcomponentsBase.m({
505
- tag: "ui5-li-notification",
506
- languageAware: true,
507
- styles: [
508
- NotificationListItemCss,
509
- ],
510
- renderer: i18nDefaults.y,
511
- template: NotificationListItemTemplate,
512
- }),
513
- eventStrict.l("_press", {
514
- bubbles: true,
515
- })
516
- /**
517
- * Fired when the `Close` button is pressed.
518
- * @param {HTMLElement} item the closed item.
519
- * @public
520
- */
521
- ,
522
- eventStrict.l("close", {
523
- bubbles: true,
524
- })
525
- ], NotificationListItem);
526
- NotificationListItem.define();
527
- var NotificationListItem$1 = NotificationListItem;
103
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
104
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
105
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
106
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
107
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
108
+ };
109
+ var NotificationListItem_1;
110
+ /**
111
+ * Defines the icons name corresponding to the notification's status indicator.
112
+ */
113
+ const ICON_PER_STATUS_NAME = {
114
+ [ValueState.o.Negative]: information$1.error,
115
+ [ValueState.o.Critical]: information$1.alert,
116
+ [ValueState.o.Positive]: sysEnter2.selectedAccount,
117
+ [ValueState.o.Information]: information$1.information,
118
+ [ValueState.o.None]: "",
119
+ };
120
+ /**
121
+ * Defines the icons design (color) corresponding to the notification's status indicator.
122
+ */
123
+ const ICON_PER_STATUS_DESIGN = {
124
+ [ValueState.o.Negative]: IconDesign$1.Negative,
125
+ [ValueState.o.Critical]: IconDesign$1.Critical,
126
+ [ValueState.o.Positive]: IconDesign$1.Positive,
127
+ [ValueState.o.Information]: IconDesign$1.Information,
128
+ [ValueState.o.None]: undefined,
129
+ };
130
+ /**
131
+ * @class
132
+ *
133
+ * ### Overview
134
+ * The `ui5-li-notification` is a type of list item, meant to display notifications.
135
+ *
136
+ * The component has a rich set of various properties that allows the user to set `avatar`, `menu`, `titleText`, descriptive `content`
137
+ * and `footnotes` to fully describe a notification.
138
+ *
139
+ * The user can:
140
+ *
141
+ * - display a `Close` button
142
+ * - can control whether the `titleText` and `description` should wrap or truncate
143
+ * and display a `ShowMore` button to switch between less and more information
144
+ * - add actions by using the `ui5-menu` component
145
+ *
146
+ * **Note:** Adding custom actions by using the `ui5-notification-action` component is deprecated as of version 2.0!
147
+ *
148
+ * ### Usage
149
+ * The component should be used inside a `ui5-notification-list`.
150
+ *
151
+ * ### Keyboard Handling
152
+ *
153
+ * #### Basic Navigation
154
+ * The user can use the following keyboard shortcuts to perform actions (such as select, delete):
155
+ *
156
+ * - [Enter] - select an item (trigger "item-click" event)
157
+ * - [Delete] - close an item (trigger "item-close" event)
158
+ *
159
+ * #### Fast Navigation
160
+ * This component provides a fast navigation using the following keyboard shortcuts:
161
+ *
162
+ * - [Shift] + [Enter] - 'More'/'Less' link will be triggered
163
+ * - [Shift] + [F10] - 'Menu' (Actions) button will be triggered (clicked)
164
+ *
165
+ * ### ES6 Module Import
166
+ *
167
+ * `import "@ui5/webcomponents-fiori/dist/NotificationListItem.js";`
168
+ *
169
+ * @constructor
170
+ * @extends NotificationListItemBase
171
+ * @since 1.0.0-rc.8
172
+ * @public
173
+ * @csspart title-text - Used to style the titleText of the notification list item
174
+ */
175
+ let NotificationListItem = NotificationListItem_1 = class NotificationListItem extends NotificationListItemBase.NotificationListItemBase {
176
+ constructor() {
177
+ super();
178
+ /**
179
+ * Defines if the `titleText` and `description` should wrap,
180
+ * they truncate by default.
181
+ *
182
+ * **Note:** by default the `titleText` and `description`,
183
+ * and a `ShowMore/Less` button would be displayed.
184
+ * @default "None"
185
+ * @public
186
+ * @since 1.0.0-rc.15
187
+ */
188
+ this.wrappingType = "None";
189
+ /**
190
+ * Defines the status indicator of the item.
191
+ * @default "None"
192
+ * @public
193
+ */
194
+ this.state = "None";
195
+ /**
196
+ * Defines if the `Close` button would be displayed.
197
+ * @default false
198
+ * @public
199
+ */
200
+ this.showClose = false;
201
+ /**
202
+ * Defines the `Important` label of the item.
203
+ * @default "Standard"
204
+ * @public
205
+ */
206
+ this.importance = "Standard";
207
+ /**
208
+ * Defines the state of the `titleText` and `description`,
209
+ * if less or more information is displayed.
210
+ * @private
211
+ */
212
+ this._showMorePressed = false;
213
+ /**
214
+ * Defines the visibility of the `showMore` button.
215
+ * @private
216
+ */
217
+ this._showMore = false;
218
+ // the titleText overflow height
219
+ this._titleTextOverflowHeight = 0;
220
+ // the description overflow height
221
+ this._descOverflowHeight = 0;
222
+ // the resize handler
223
+ this._onResizeBound = this.onResize.bind(this);
224
+ }
225
+ onEnterDOM() {
226
+ super.onEnterDOM();
227
+ webcomponentsBase.f.register(this, this._onResizeBound);
228
+ }
229
+ onExitDOM() {
230
+ webcomponentsBase.f.deregister(this, this._onResizeBound);
231
+ }
232
+ get hasState() {
233
+ return this.state !== ValueState.o.None;
234
+ }
235
+ get hasDesc() {
236
+ return willShowContent.t(this.description);
237
+ }
238
+ get hasImportance() {
239
+ return this.importance !== NotificationListItemImportance$1.Standard;
240
+ }
241
+ get hasFootNotes() {
242
+ return !!this.footnotes.length;
243
+ }
244
+ get showMoreText() {
245
+ if (this._showMorePressed) {
246
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_LESS);
247
+ }
248
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_MORE);
249
+ }
250
+ get menuBtnAccessibleName() {
251
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MENU_BTN_TITLE);
252
+ }
253
+ get moreLinkAccessibleName() {
254
+ return this._showMorePressed ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_TRUNCATE) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_FULL);
255
+ }
256
+ get closeBtnAccessibleName() {
257
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
258
+ }
259
+ get hideShowMore() {
260
+ if (this.wrappingType === overflow.WrappingType.None && this._showMore) {
261
+ return undefined;
262
+ }
263
+ return true;
264
+ }
265
+ get titleTextHeight() {
266
+ return this.titleTextDOM.offsetHeight;
267
+ }
268
+ get descriptionHeight() {
269
+ return this.descriptionDOM.offsetHeight;
270
+ }
271
+ get titleTextOverflows() {
272
+ const titleText = this.titleTextDOM;
273
+ if (!titleText) {
274
+ return false;
275
+ }
276
+ return titleText.offsetHeight < titleText.scrollHeight;
277
+ }
278
+ get descriptionOverflows() {
279
+ const description = this.descriptionDOM;
280
+ if (!description) {
281
+ return false;
282
+ }
283
+ return description.offsetHeight < description.scrollHeight;
284
+ }
285
+ get footerItems() {
286
+ return this.footnotes.map((el, idx, arr) => {
287
+ return {
288
+ slotName: el._individualSlot,
289
+ showDivider: idx !== arr.length - 1,
290
+ };
291
+ });
292
+ }
293
+ get ariaLabelledBy() {
294
+ const id = this._id;
295
+ if (this.loading) {
296
+ return `${id}-loading`;
297
+ }
298
+ const ids = [];
299
+ if (this.hasImportance) {
300
+ ids.push(`${id}-importance`);
301
+ }
302
+ if (this.hasTitleText) {
303
+ ids.push(`${id}-title-text`);
304
+ }
305
+ ids.push(`${id}-read`);
306
+ if (this.hasDesc) {
307
+ ids.push(`${id}-description`);
308
+ }
309
+ if (this.hasFootNotes) {
310
+ ids.push(`${id}-footnotes`);
311
+ }
312
+ return ids.join(" ");
313
+ }
314
+ get itemClasses() {
315
+ const classes = ["ui5-nli-root", "ui5-nli-focusable"];
316
+ if (this.getMenu() && this.showClose) {
317
+ classes.push("ui5-nli-two-buttons");
318
+ }
319
+ else if (this.getMenu() || this.showClose) {
320
+ classes.push("ui5-nli-one-button");
321
+ }
322
+ return classes.join(" ");
323
+ }
324
+ get statusIconName() {
325
+ return ICON_PER_STATUS_NAME[this.state];
326
+ }
327
+ get statusIconDesign() {
328
+ return ICON_PER_STATUS_DESIGN[this.state];
329
+ }
330
+ get importanceText() {
331
+ let text;
332
+ if (this.hasImportance) {
333
+ text = NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_IMPORTANT_TXT);
334
+ }
335
+ else {
336
+ text = "";
337
+ }
338
+ return text;
339
+ }
340
+ get stateText() {
341
+ if (this.state === ValueState.o.Positive) {
342
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_POSITIVE_STATUS_TXT);
343
+ }
344
+ if (this.state === ValueState.o.Critical) {
345
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CRITICAL_STATUS_TXT);
346
+ }
347
+ if (this.state === ValueState.o.Negative) {
348
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_NEGATIVE_STATUS_TXT);
349
+ }
350
+ if (this.state === ValueState.o.Information) {
351
+ return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_INFORMATION_STATUS_TXT);
352
+ }
353
+ return "";
354
+ }
355
+ get readText() {
356
+ return this.read ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
357
+ }
358
+ get menuButtonAccessibilityAttributes() {
359
+ return {
360
+ hasPopup: "menu",
361
+ };
362
+ }
363
+ get moreLinkAccessibilityAttributes() {
364
+ return {
365
+ expanded: this._showMorePressed,
366
+ };
367
+ }
368
+ get showMenu() {
369
+ return !!this.getMenu();
370
+ }
371
+ /**
372
+ * Event handlers
373
+ */
374
+ _onclick() {
375
+ this.fireItemPress();
376
+ }
377
+ _onShowMoreClick(e) {
378
+ e.preventDefault();
379
+ this._toggleShowMorePressed();
380
+ }
381
+ async _onkeydown(e) {
382
+ await super._onkeydown(e);
383
+ if (webcomponentsBase.ro(e)) {
384
+ e.preventDefault();
385
+ }
386
+ }
387
+ _onkeyup(e) {
388
+ super._onkeyup(e);
389
+ const space = webcomponentsBase.i(e);
390
+ if (space && this.getFocusDomRef().matches(":has(:focus-within)")) {
391
+ e.preventDefault();
392
+ this._toggleShowMorePressed();
393
+ return;
394
+ }
395
+ if (webcomponentsBase.V(e)) {
396
+ this.fireDecoratorEvent("close", { item: this });
397
+ }
398
+ if (webcomponentsBase.ro(e)) {
399
+ this._onBtnMenuClick();
400
+ }
401
+ if (webcomponentsBase.d$1(e)) {
402
+ this._toggleShowMorePressed();
403
+ }
404
+ }
405
+ _onBtnCloseClick() {
406
+ this.fireDecoratorEvent("close", { item: this });
407
+ }
408
+ _onBtnMenuClick() {
409
+ if (this.getMenu()) {
410
+ this.openMenu();
411
+ }
412
+ }
413
+ _toggleShowMorePressed() {
414
+ this._showMorePressed = !this._showMorePressed;
415
+ }
416
+ openMenu() {
417
+ const menu = this.getMenu();
418
+ menu.opener = this.menuButtonDOM;
419
+ menu.open = true;
420
+ }
421
+ getMenu() {
422
+ const menu = this.querySelector("[ui5-menu]");
423
+ return menu;
424
+ }
425
+ /**
426
+ * Private
427
+ */
428
+ fireItemPress() {
429
+ if (this.getFocusDomRef().matches(":has(:focus-within)")) {
430
+ return;
431
+ }
432
+ // NotificationListItem will never be assigned to a variable of type ListItemBase
433
+ // typescipt complains here, if that is the case, the parameter to the _press event handler could be a ListItemBase item,
434
+ // but this is never the case, all components are used by their class and never assigned to a variable with a type of ListItemBase
435
+ this.fireDecoratorEvent("_press", { item: this });
436
+ }
437
+ onResize() {
438
+ if (this.wrappingType === overflow.WrappingType.Normal) {
439
+ this._showMore = false;
440
+ return;
441
+ }
442
+ const titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;
443
+ const descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;
444
+ const overflows = titleTextWouldOverflow || descWouldOverflow;
445
+ if (this._showMorePressed && overflows) {
446
+ this._showMore = true;
447
+ return;
448
+ }
449
+ if (this.titleTextOverflows || this.descriptionOverflows) {
450
+ this._titleTextOverflowHeight = this.titleTextHeight;
451
+ this._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;
452
+ this._showMore = true;
453
+ return;
454
+ }
455
+ this._showMore = false;
456
+ }
457
+ };
458
+ __decorate([
459
+ webcomponentsBase.s()
460
+ ], NotificationListItem.prototype, "wrappingType", void 0);
461
+ __decorate([
462
+ webcomponentsBase.s()
463
+ ], NotificationListItem.prototype, "state", void 0);
464
+ __decorate([
465
+ webcomponentsBase.s({ type: Boolean })
466
+ ], NotificationListItem.prototype, "showClose", void 0);
467
+ __decorate([
468
+ webcomponentsBase.s()
469
+ ], NotificationListItem.prototype, "importance", void 0);
470
+ __decorate([
471
+ webcomponentsBase.s({ type: Boolean })
472
+ ], NotificationListItem.prototype, "_showMorePressed", void 0);
473
+ __decorate([
474
+ webcomponentsBase.s({ type: Boolean })
475
+ ], NotificationListItem.prototype, "_showMore", void 0);
476
+ __decorate([
477
+ webcomponentsBase.d()
478
+ ], NotificationListItem.prototype, "avatar", void 0);
479
+ __decorate([
480
+ webcomponentsBase.d()
481
+ ], NotificationListItem.prototype, "menu", void 0);
482
+ __decorate([
483
+ webcomponentsBase.d({ type: HTMLElement, individualSlots: true })
484
+ ], NotificationListItem.prototype, "footnotes", void 0);
485
+ __decorate([
486
+ webcomponentsBase.d({ type: Node, "default": true })
487
+ ], NotificationListItem.prototype, "description", void 0);
488
+ __decorate([
489
+ query.o(".ui5-nli-title-text")
490
+ ], NotificationListItem.prototype, "titleTextDOM", void 0);
491
+ __decorate([
492
+ query.o(".ui5-nli-menu-btn")
493
+ ], NotificationListItem.prototype, "menuButtonDOM", void 0);
494
+ __decorate([
495
+ query.o(".ui5-nli-description")
496
+ ], NotificationListItem.prototype, "descriptionDOM", void 0);
497
+ NotificationListItem = NotificationListItem_1 = __decorate([
498
+ webcomponentsBase.m({
499
+ tag: "ui5-li-notification",
500
+ languageAware: true,
501
+ styles: [
502
+ NotificationListItemCss,
503
+ ],
504
+ renderer: parametersBundle_css.y,
505
+ template: NotificationListItemTemplate,
506
+ }),
507
+ eventStrict.l("_press", {
508
+ bubbles: true,
509
+ })
510
+ /**
511
+ * Fired when the `Close` button is pressed.
512
+ * @param {HTMLElement} item the closed item.
513
+ * @public
514
+ */
515
+ ,
516
+ eventStrict.l("close", {
517
+ bubbles: true,
518
+ })
519
+ ], NotificationListItem);
520
+ NotificationListItem.define();
521
+ var NotificationListItem$1 = NotificationListItem;
528
522
 
529
- return NotificationListItem$1;
523
+ return NotificationListItem$1;
530
524
 
531
525
  }));