@sapui5/sap.ushell 1.141.3 → 1.142.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (654) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +1 -7
  3. package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +7 -11
  4. package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +18 -0
  5. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  6. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  7. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  8. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  9. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  10. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  16. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  17. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  18. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  19. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  20. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -3
  23. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/Settings/UserLanguageAndRegion/UserLanguageAndRegion.view.xml +5 -12
  27. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -2
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +41 -24
  45. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +3 -2
  47. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +22 -16
  48. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +4 -7
  68. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +43 -20
  69. package/src/main/js/sap/ushell/appIntegration/ApplicationContainerRenderer.js +0 -11
  70. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +89 -32
  71. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainerRenderer.js +53 -52
  72. package/src/main/js/sap/ushell/appIntegration/PostMessageHandler/NWBCHandler.js +1 -1
  73. package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +52 -15
  74. package/src/main/js/sap/ushell/appIntegration/PostMessagePluginInterface.js +4 -0
  75. package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +15 -28
  76. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -26
  77. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +2 -2
  78. package/src/main/js/sap/ushell/appRuntime/ui5/AppRuntime.js +2 -1
  79. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/baseRta/Trigger.js +11 -4
  80. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  81. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +20 -3
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycleAgent.js +41 -6
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +2 -2
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  98. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +2 -2
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  103. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  104. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  105. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +14 -17
  106. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  107. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  108. package/src/main/js/sap/ushell/bootstrap/cdm/cdm.constants.js +0 -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 +18 -5
  111. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  112. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  113. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +1 -1
  114. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  115. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
  116. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  117. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +1 -1
  118. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  119. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  120. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
  121. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
  122. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  123. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  124. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  125. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +2 -2
  126. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  127. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  128. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  129. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  130. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  131. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  132. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +2 -2
  133. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  134. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  135. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  136. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  137. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  138. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
  139. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
  140. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  141. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +25 -50
  142. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +1 -1
  143. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverContent.view.xml +2 -2
  144. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsListPopoverHeader.fragment.xml +1 -1
  145. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsModule.js +169 -0
  146. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +2 -2
  147. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  148. package/src/main/js/sap/ushell/components/shell/Search/Component.js +6 -2
  149. package/src/main/js/sap/ushell/components/shell/Search/SearchModule.js +58 -0
  150. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  151. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  152. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  153. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  154. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  155. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  156. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +30 -21
  157. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +1 -1
  158. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +1 -1
  159. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +1 -1
  160. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +1 -1
  161. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +1 -1
  162. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +2 -2
  163. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.view.xml +0 -1
  164. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +11 -18
  165. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
  166. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +23 -18
  167. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +1 -1
  168. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
  169. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  170. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +5 -5
  171. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.fragment.xml +2 -2
  172. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  173. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  174. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  175. package/src/main/js/sap/ushell/library.js +1 -8
  176. package/src/main/js/sap/ushell/modules/BaseAPI.js +107 -0
  177. package/src/main/js/sap/ushell/modules/BaseProvider.js +43 -0
  178. package/src/main/js/sap/ushell/modules/Notifications/NotificationsAPI.js +253 -0
  179. package/src/main/js/sap/ushell/modules/Notifications/NotificationsProvider.js +50 -0
  180. package/src/main/js/sap/ushell/modules/Notifications.js +53 -0
  181. package/src/main/js/sap/ushell/modules/Search/SearchAPI.js +271 -0
  182. package/src/main/js/sap/ushell/modules/Search/SearchProvider.js +50 -0
  183. package/src/main/js/sap/ushell/modules/Search.js +55 -0
  184. package/src/main/js/sap/ushell/modules/loader/AbstractLoader.js +95 -0
  185. package/src/main/js/sap/ushell/modules/loader/NotificationsLoader.js +148 -0
  186. package/src/main/js/sap/ushell/modules/loader/SearchLoader.js +153 -0
  187. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  188. package/src/main/js/sap/ushell/performance/FesrEnhancer.js +136 -40
  189. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  190. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +26 -1
  191. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  192. package/src/main/js/sap/ushell/plugins/ghostapp/FakeModel.js +19 -14
  193. package/src/main/js/sap/ushell/renderer/Renderer.js +4 -4
  194. package/src/main/js/sap/ushell/renderer/Shell.controller.js +108 -3
  195. package/src/main/js/sap/ushell/renderer/Shell.view.js +2 -2
  196. package/src/main/js/sap/ushell/renderer/rendererTargetWrapper/RendererTarget.controller.js +1 -1
  197. package/src/main/js/sap/ushell/renderer/resources/resources.properties +6 -8
  198. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +0 -1
  199. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +0 -1
  200. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +0 -1
  201. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +0 -1
  202. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +0 -1
  203. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +0 -1
  204. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +0 -1
  205. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +0 -1
  206. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +0 -1
  207. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +0 -1
  208. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +0 -1
  209. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +0 -1
  210. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +1 -2
  211. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +0 -1
  212. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +0 -1
  213. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +0 -1
  214. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +0 -1
  215. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +0 -1
  216. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +0 -1
  217. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +0 -1
  218. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +0 -1
  219. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +0 -1
  220. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +0 -1
  221. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +0 -1
  222. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +0 -1
  223. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +0 -1
  224. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +0 -1
  225. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +0 -1
  226. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +0 -1
  227. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +0 -1
  228. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +0 -1
  229. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +0 -1
  230. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +0 -1
  231. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +0 -1
  232. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +0 -1
  233. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +0 -1
  234. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +0 -1
  235. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +0 -1
  236. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +0 -1
  237. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +0 -1
  238. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +0 -1
  239. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +0 -1
  240. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +0 -1
  241. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +0 -1
  242. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +0 -1
  243. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +0 -1
  244. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +0 -1
  245. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +0 -1
  246. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +0 -1
  247. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  248. package/src/main/js/sap/ushell/services/AppLifeCycle.js +44 -36
  249. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  250. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  251. package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
  252. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  253. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  254. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  255. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  256. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  257. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  258. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  259. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  260. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  261. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  262. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +2 -1
  263. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  264. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  265. package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
  266. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  267. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  268. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  269. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  270. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  271. package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
  272. package/src/main/js/sap/ushell/services/Extension.js +15 -3
  273. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
  274. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
  275. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
  276. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
  277. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  278. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  279. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +1 -1
  280. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +21 -8
  281. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  282. package/src/main/js/sap/ushell/services/Menu.js +1 -181
  283. package/src/main/js/sap/ushell/services/Message.js +1 -1
  284. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
  285. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  286. package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
  287. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
  288. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  289. package/src/main/js/sap/ushell/services/Navigation.js +1 -1
  290. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  291. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  292. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  293. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  294. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  295. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  296. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  297. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
  298. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
  299. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
  300. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +1 -1
  301. package/src/main/js/sap/ushell/services/PluginManager.js +1 -2
  302. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  303. package/src/main/js/sap/ushell/services/Search.js +1 -1
  304. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  305. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  306. package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
  307. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  308. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  309. package/src/main/js/sap/ushell/services/UITracer.js +1 -1
  310. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  311. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  312. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +5 -35
  313. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  314. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  315. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  316. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  317. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  318. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  319. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  320. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  321. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  322. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  323. package/src/main/js/sap/ushell/state/StateManager.js +5 -1
  324. package/src/main/js/sap/ushell/state/StateRules.js +10 -1
  325. package/src/main/js/sap/ushell/state/modules/BackNavigation.js +8 -3
  326. package/src/main/js/sap/ushell/state/modules/ContentDensity.js +1 -1
  327. package/src/main/js/sap/ushell/state/modules/Favicon.js +1 -1
  328. package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +1 -1
  329. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  330. package/src/main/js/sap/ushell/themes/sap_horizon/ShellHeader.less +27 -26
  331. package/src/main/js/sap/ushell/themes/sap_horizon_dark/ShellHeader.less +27 -26
  332. package/src/main/js/sap/ushell/themes/sap_horizon_hcb/ShellHeader.less +22 -21
  333. package/src/main/js/sap/ushell/themes/sap_horizon_hcw/ShellHeader.less +22 -21
  334. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  335. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  336. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  337. package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +113 -22
  338. package/src/main/js/sap/ushell/ui/launchpad/VizInstanceCdm.js +0 -2
  339. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  340. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +0 -8
  341. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  342. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  343. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  344. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  345. package/src/main/js/sap/ushell/utils/SmartBusiness.js +102 -0
  346. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  347. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  348. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  349. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  350. package/src/main/js/sap/ushell/utils.js +11 -35
  351. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  352. package/ui5.yaml +19 -32
  353. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +0 -228
  354. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +0 -277
  355. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +0 -2128
  356. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +0 -462
  357. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +0 -182
  358. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +0 -135
  359. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +0 -400
  360. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +0 -345
  361. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +0 -103
  362. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +0 -147
  363. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +0 -60
  364. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +0 -277
  365. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +0 -96
  366. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +0 -59
  367. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources.properties +0 -177
  368. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ar.properties +0 -93
  369. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_bg.properties +0 -93
  370. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ca.properties +0 -93
  371. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cnr.properties +0 -93
  372. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cs.properties +0 -93
  373. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_cy.properties +0 -93
  374. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_da.properties +0 -93
  375. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_de.properties +0 -93
  376. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_el.properties +0 -93
  377. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_GB.properties +0 -93
  378. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_sappsd.properties +0 -79
  379. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saprigi.properties +0 -93
  380. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_en_US_saptrc.properties +0 -90
  381. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es.properties +0 -93
  382. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_es_MX.properties +0 -93
  383. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_et.properties +0 -93
  384. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fi.properties +0 -93
  385. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr.properties +0 -93
  386. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_fr_CA.properties +0 -93
  387. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hi.properties +0 -93
  388. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hr.properties +0 -93
  389. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_hu.properties +0 -93
  390. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_id.properties +0 -93
  391. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_it.properties +0 -93
  392. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_iw.properties +0 -93
  393. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ja.properties +0 -93
  394. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_kk.properties +0 -93
  395. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ko.properties +0 -93
  396. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lt.properties +0 -93
  397. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_lv.properties +0 -93
  398. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_mk.properties +0 -93
  399. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ms.properties +0 -93
  400. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_nl.properties +0 -93
  401. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_no.properties +0 -93
  402. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pl.properties +0 -93
  403. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt.properties +0 -93
  404. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_pt_PT.properties +0 -93
  405. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ro.properties +0 -93
  406. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_ru.properties +0 -93
  407. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sh.properties +0 -93
  408. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sk.properties +0 -93
  409. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sl.properties +0 -93
  410. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sr.properties +0 -93
  411. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_sv.properties +0 -93
  412. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_th.properties +0 -93
  413. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_tr.properties +0 -93
  414. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_uk.properties +0 -93
  415. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_vi.properties +0 -93
  416. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_CN.properties +0 -93
  417. package/src/main/js/sap/ushell/components/workPageBuilder/resources/resources_zh_TW.properties +0 -93
  418. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageBuilder.view.xml +0 -248
  419. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageCellDeleteDialog.fragment.xml +0 -25
  420. package/src/main/js/sap/ushell/components/workPageBuilder/view/WorkPageRowDeleteDialog.fragment.xml +0 -25
  421. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +0 -67
  422. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +0 -176
  423. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +0 -50
  424. package/src/main/js/sap/ushell/components/workPageRuntime/view/WorkPageRuntime.view.xml +0 -37
  425. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +0 -119
  426. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +0 -219
  427. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +0 -75
  428. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +0 -76
  429. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +0 -39
  430. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +0 -153
  431. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +0 -185
  432. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +0 -198
  433. package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +0 -576
  434. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/IllustratedMessage.js +0 -98
  435. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +0 -135
  436. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +0 -91
  437. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +0 -134
  438. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +0 -55
  439. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +0 -163
  440. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +0 -83
  441. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +0 -36
  442. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +0 -53
  443. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +0 -55
  444. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +0 -380
  445. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +0 -78
  446. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +0 -88
  447. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +0 -157
  448. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +0 -49
  449. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +0 -197
  450. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +0 -83
  451. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +0 -42
  452. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +0 -1652
  453. package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +0 -2823
  454. package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +0 -13
  455. package/src/main/js/sap/ushell/thirdparty/Avatar.js +0 -453
  456. package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +0 -233
  457. package/src/main/js/sap/ushell/thirdparty/Button.js +0 -7
  458. package/src/main/js/sap/ushell/thirdparty/Button2.js +0 -656
  459. package/src/main/js/sap/ushell/thirdparty/FocusableElements.js +0 -10
  460. package/src/main/js/sap/ushell/thirdparty/Icon.js +0 -313
  461. package/src/main/js/sap/ushell/thirdparty/Icons.js +0 -234
  462. package/src/main/js/sap/ushell/thirdparty/IllustratedMessage.js +0 -1297
  463. package/src/main/js/sap/ushell/thirdparty/Label.js +0 -115
  464. package/src/main/js/sap/ushell/thirdparty/Link.js +0 -316
  465. package/src/main/js/sap/ushell/thirdparty/List.js +0 -1253
  466. package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +0 -14
  467. package/src/main/js/sap/ushell/thirdparty/ListItemAdditionalText.css.js +0 -10
  468. package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +0 -251
  469. package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +0 -1689
  470. package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +0 -637
  471. package/src/main/js/sap/ushell/thirdparty/Menu.js +0 -389
  472. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +0 -10
  473. package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +0 -762
  474. package/src/main/js/sap/ushell/thirdparty/NotificationList.js +0 -291
  475. package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +0 -310
  476. package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +0 -534
  477. package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +0 -98
  478. package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +0 -2312
  479. package/src/main/js/sap/ushell/thirdparty/SearchItem.js +0 -157
  480. package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +0 -44
  481. package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +0 -49
  482. package/src/main/js/sap/ushell/thirdparty/SearchScope.js +0 -39
  483. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +0 -1809
  484. package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +0 -119
  485. package/src/main/js/sap/ushell/thirdparty/ShellBarItem.js +0 -89
  486. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +0 -7
  487. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +0 -3453
  488. package/src/main/js/sap/ushell/thirdparty/ShellBarSpacer.js +0 -40
  489. package/src/main/js/sap/ushell/thirdparty/Tag.js +0 -302
  490. package/src/main/js/sap/ushell/thirdparty/Text.js +0 -127
  491. package/src/main/js/sap/ushell/thirdparty/Title.js +0 -167
  492. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +0 -950
  493. package/src/main/js/sap/ushell/thirdparty/UserMenuAccount.js +0 -114
  494. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +0 -61
  495. package/src/main/js/sap/ushell/thirdparty/ValueState.js +0 -7
  496. package/src/main/js/sap/ushell/thirdparty/WrappingType.js +0 -24
  497. package/src/main/js/sap/ushell/thirdparty/_dynamics/InputComposition.js +0 -35
  498. package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +0 -397
  499. package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +0 -193
  500. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +0 -585
  501. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +0 -585
  502. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite.js +0 -1194
  503. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-business-suite2.js +0 -1194
  504. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +0 -2509
  505. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +0 -2509
  506. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar.js +0 -866
  507. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +0 -611
  508. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg.js +0 -866
  509. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +0 -611
  510. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca.js +0 -866
  511. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +0 -611
  512. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr.js +0 -866
  513. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +0 -611
  514. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs.js +0 -866
  515. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +0 -611
  516. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy.js +0 -866
  517. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +0 -611
  518. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da.js +0 -866
  519. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +0 -611
  520. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de.js +0 -866
  521. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +0 -611
  522. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el.js +0 -866
  523. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +0 -611
  524. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +0 -866
  525. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +0 -611
  526. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB.js +0 -866
  527. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +0 -611
  528. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +0 -866
  529. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +0 -611
  530. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +0 -866
  531. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +0 -611
  532. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +0 -866
  533. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +0 -611
  534. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es.js +0 -866
  535. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +0 -611
  536. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX.js +0 -866
  537. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +0 -611
  538. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et.js +0 -866
  539. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +0 -611
  540. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi.js +0 -866
  541. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +0 -611
  542. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr.js +0 -866
  543. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +0 -611
  544. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA.js +0 -866
  545. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +0 -611
  546. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi.js +0 -866
  547. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +0 -611
  548. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr.js +0 -866
  549. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +0 -611
  550. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu.js +0 -866
  551. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +0 -611
  552. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id.js +0 -866
  553. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +0 -611
  554. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it.js +0 -866
  555. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +0 -611
  556. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw.js +0 -866
  557. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +0 -611
  558. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja.js +0 -866
  559. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +0 -611
  560. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk.js +0 -866
  561. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +0 -611
  562. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko.js +0 -866
  563. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +0 -611
  564. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt.js +0 -866
  565. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +0 -611
  566. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv.js +0 -866
  567. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +0 -611
  568. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk.js +0 -866
  569. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +0 -611
  570. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms.js +0 -866
  571. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +0 -611
  572. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl.js +0 -866
  573. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +0 -611
  574. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no.js +0 -866
  575. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +0 -611
  576. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl.js +0 -866
  577. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +0 -611
  578. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt.js +0 -866
  579. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +0 -611
  580. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT.js +0 -866
  581. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +0 -611
  582. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro.js +0 -866
  583. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +0 -611
  584. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru.js +0 -866
  585. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +0 -611
  586. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh.js +0 -866
  587. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +0 -611
  588. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk.js +0 -866
  589. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +0 -611
  590. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl.js +0 -866
  591. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +0 -611
  592. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr.js +0 -866
  593. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +0 -611
  594. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv.js +0 -866
  595. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +0 -611
  596. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th.js +0 -866
  597. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +0 -611
  598. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr.js +0 -866
  599. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +0 -611
  600. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk.js +0 -866
  601. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +0 -611
  602. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi.js +0 -866
  603. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +0 -611
  604. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN.js +0 -866
  605. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +0 -611
  606. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW.js +0 -866
  607. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +0 -611
  608. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +0 -7
  609. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +0 -7
  610. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +0 -7
  611. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +0 -7
  612. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +0 -7
  613. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +0 -7
  614. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +0 -7
  615. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +0 -7
  616. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +0 -7
  617. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +0 -7
  618. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +0 -7
  619. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +0 -7
  620. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +0 -7
  621. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +0 -7
  622. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +0 -7
  623. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +0 -7
  624. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +0 -7
  625. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css27.js +0 -7
  626. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +0 -7
  627. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +0 -7
  628. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +0 -7
  629. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +0 -7
  630. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +0 -7
  631. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +0 -7
  632. package/src/main/js/sap/ushell/thirdparty/encodeXML.js +0 -87
  633. package/src/main/js/sap/ushell/thirdparty/event-strict.js +0 -7
  634. package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +0 -9
  635. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +0 -115
  636. package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +0 -159
  637. package/src/main/js/sap/ushell/thirdparty/information.js +0 -100
  638. package/src/main/js/sap/ushell/thirdparty/information2.js +0 -13
  639. package/src/main/js/sap/ushell/thirdparty/overflow.js +0 -25
  640. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +0 -11
  641. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +0 -44
  642. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css3.js +0 -8
  643. package/src/main/js/sap/ushell/thirdparty/query.js +0 -7
  644. package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +0 -44
  645. package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +0 -7
  646. package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -7
  647. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +0 -26
  648. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +0 -26
  649. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +0 -26
  650. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +0 -4301
  651. package/src/main/js/sap/ushell/thirdparty/webcomponents-base2.js +0 -7
  652. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +0 -146
  653. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +0 -170
  654. package/src/main/js/sap/ushell/thirdparty/willShowContent.js +0 -7
@@ -1,950 +0,0 @@
1
- sap.ui.define(['sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/webcomponents', 'sap/ushell/thirdparty/webcomponents-fiori', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/query', 'sap/ushell/thirdparty/ResponsivePopover', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/Avatar', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/Tag', 'sap/ushell/thirdparty/Title', 'sap/ushell/thirdparty/Text', 'sap/ushell/thirdparty/Label', 'sap/ushell/thirdparty/List', 'sap/ushell/thirdparty/ListItemCustom', 'sap/ushell/thirdparty/i18n-defaults2', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/sys-enter-2', 'sap/ushell/thirdparty/parameters-bundle.css3', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/ValueState', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/FocusableElements', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/willShowContent', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/ListItemGroup', 'sap/ushell/thirdparty/WrappingType', 'sap/ushell/thirdparty/ListItemAdditionalText.css'], (function (webcomponentsBase, webcomponents, webcomponentsFiori, eventStrict, parametersBundle_css$1, parametersBundle_css, query, ResponsivePopover, Icons, Avatar, Button, Icon, Tag, Title, Text, Label, List, ListItemCustom, i18nDefaults, information, sysEnter2, parametersBundle_css$2, i18nDefaults$1, ValueState, toLowercaseEnumValue, FocusableElements, ListItemBase, AccessibilityTextsHelper, willShowContent, BusyIndicator, ListItemGroup, WrappingType, ListItemAdditionalText_css) { 'use strict';
2
-
3
- function PanelTemplate() {
4
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsxs("div", { class: "ui5-panel-root", role: this.accRole, "aria-label": this.effectiveAccessibleName, "aria-labelledby": this.fixedPanelAriaLabelledbyReference, children: [this.hasHeaderOrHeaderText &&
5
- // header: either header or h1 with header text
6
- parametersBundle_css.jsx("div", { class: {
7
- "ui5-panel-heading-wrapper": true,
8
- "ui5-panel-heading-wrapper-sticky": this.stickyHeader,
9
- }, role: this.headingWrapperRole, "aria-level": this.headingWrapperAriaLevel, children: parametersBundle_css.jsxs("div", { onClick: this._headerClick, onKeyDown: this._headerKeyDown, onKeyUp: this._headerKeyUp, class: "ui5-panel-header", tabindex: this.headerTabIndex, role: this.accInfo.role, "aria-expanded": this.accInfo.ariaExpanded, "aria-controls": this.accInfo.ariaControls, "aria-labelledby": this.accInfo.ariaLabelledby, part: "header", children: [!this.fixed &&
10
- parametersBundle_css.jsx("div", { class: "ui5-panel-header-button-root", children: this._hasHeader ?
11
- parametersBundle_css.jsx(Button.Button, { design: "Transparent", class: "ui5-panel-header-button ui5-panel-header-button-with-icon", onClick: this._toggleButtonClick, accessibilityAttributes: this.accInfo.button.accessibilityAttributes, tooltip: this.accInfo.button.title, accessibleName: this.accInfo.button.ariaLabelButton, children: parametersBundle_css.jsx("div", { class: "ui5-panel-header-icon-wrapper", children: parametersBundle_css.jsx(Icon.Icon, { class: {
12
- "ui5-panel-header-icon": true,
13
- "ui5-panel-header-button-animated": !this.shouldNotAnimate,
14
- }, name: ListItemCustom.slimArrowRight }) }) })
15
- : // else
16
- parametersBundle_css.jsx(Icon.Icon, { class: {
17
- "ui5-panel-header-button": true,
18
- "ui5-panel-header-icon": true,
19
- "ui5-panel-header-button-animated": !this.shouldNotAnimate,
20
- }, name: ListItemCustom.slimArrowRight, showTooltip: true, accessibleName: this.toggleButtonTitle }) }), this._hasHeader ?
21
- parametersBundle_css.jsx("slot", { name: "header" })
22
- : // else
23
- parametersBundle_css.jsx("div", { id: `${this._id}-header-title`, class: "ui5-panel-header-title", children: this.headerText })] }) }), parametersBundle_css.jsx("div", { class: "ui5-panel-content", id: `${this._id}-content`, tabindex: -1, style: {
24
- display: this._contentExpanded ? "block" : "none",
25
- }, part: "content", children: parametersBundle_css.jsx("slot", {}) })] }) }));
26
- }
27
-
28
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
29
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
30
- var panelCss = `.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}:host{font-family:var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v2-15-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v2-15-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v2-15-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v2-15-0_panel_header_padding_right);font-family:var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v2-15-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v2-15-0_panel_focus_border);border-radius:var(--_ui5-v2-15-0_panel_border_radius);top:var(--_ui5-v2-15-0_panel_focus_offset);bottom:var(--_ui5-v2-15-0_panel_focus_bottom_offset);left:var(--_ui5-v2-15-0_panel_focus_offset);right:var(--_ui5-v2-15-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v2-15-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v2-15-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v2-15-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v2-15-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v2-15-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v2-15-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v2-15-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v2-15-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v2-15-0_panel_button_root_width);height:var(--_ui5-v2-15-0_panel_button_root_height);padding:var(--_ui5-v2-15-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v2-15-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v2-15-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v2-15-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column}
31
- `;
32
-
33
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
34
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
35
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
36
- 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;
37
- return c > 3 && r && Object.defineProperty(target, key, r), r;
38
- };
39
- var Panel_1;
40
- /**
41
- * @class
42
- *
43
- * ### Overview
44
- *
45
- * The `ui5-panel` component is a container which has a header and a
46
- * content area and is used
47
- * for grouping and displaying information. It can be collapsed to save space on the screen.
48
- *
49
- * ### Guidelines:
50
- *
51
- * - Nesting two or more panels is not recommended.
52
- * - Do not stack too many panels on one page.
53
- *
54
- * ### Structure
55
- * The panel's header area consists of a title bar with a header text or custom header.
56
- *
57
- * The header is clickable and can be used to toggle between the expanded and collapsed state. It includes an icon which rotates depending on the state.
58
- *
59
- * The custom header can be set through the `header` slot and it may contain arbitraray content, such as: title, buttons or any other HTML elements.
60
- *
61
- * The content area can contain an arbitrary set of controls.
62
- *
63
- * **Note:** The custom header is not clickable out of the box, but in this case the icon is interactive and allows to show/hide the content area.
64
- *
65
- * ### Responsive Behavior
66
- *
67
- * - If the width of the panel is set to 100% (default), the panel and its children are
68
- * resized responsively,
69
- * depending on its parent container.
70
- * - If the panel has a fixed height, it will take up the space even if the panel is
71
- * collapsed.
72
- * - When the panel is expandable (the `fixed` property is set to `false`),
73
- * an arrow icon (pointing to the right) appears in front of the header.
74
- * - When the animation is activated, expand/collapse uses a smooth animation to open or
75
- * close the content area.
76
- * - When the panel expands/collapses, the arrow icon rotates 90 degrees
77
- * clockwise/counter-clockwise.
78
- *
79
- * ### Keyboard Handling
80
- *
81
- * #### Fast Navigation
82
- * This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].
83
- * In order to use this functionality, you need to import the following module:
84
- * `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
85
- *
86
- * ### ES6 Module Import
87
- *
88
- * `import "@ui5/webcomponents/dist/Panel.js";`
89
- * @constructor
90
- * @extends UI5Element
91
- * @public
92
- * @slot {Array<Node>} default - Defines the content of the component. The content is visible only when the component is expanded.
93
- * @csspart header - Used to style the wrapper of the header.
94
- * @csspart content - Used to style the wrapper of the content.
95
- */
96
- let Panel = Panel_1 = class Panel extends webcomponentsBase.b {
97
- constructor() {
98
- super(...arguments);
99
- /**
100
- * Determines whether the component is in a fixed state that is not
101
- * expandable/collapsible by user interaction.
102
- * @default false
103
- * @public
104
- */
105
- this.fixed = false;
106
- /**
107
- * Indicates whether the component is collapsed and only the header is displayed.
108
- * @default false
109
- * @public
110
- */
111
- this.collapsed = false;
112
- /**
113
- * Indicates whether the transition between the expanded and the collapsed state of the component is animated. By default the animation is enabled.
114
- * @default false
115
- * @public
116
- * @since 1.0.0-rc.16
117
- */
118
- this.noAnimation = false;
119
- /**
120
- * Sets the accessible ARIA role of the component.
121
- * Depending on the usage, you can change the role from the default `Form`
122
- * to `Region` or `Complementary`.
123
- * @default "Form"
124
- * @public
125
- */
126
- this.accessibleRole = "Form";
127
- /**
128
- * Defines the "aria-level" of component heading,
129
- * set by the `headerText`.
130
- * @default "H2"
131
- * @public
132
- */
133
- this.headerLevel = "H2";
134
- /**
135
- * Indicates whether the Panel header is sticky or not.
136
- * If stickyHeader is set to true, then whenever you scroll the content or
137
- * the application, the header of the panel will be always visible and
138
- * a solid color will be used for its design.
139
- * @default false
140
- * @public
141
- * @since 1.16.0-rc.1
142
- */
143
- this.stickyHeader = false;
144
- /**
145
- * When set to `true`, the `accessibleName` property will be
146
- * applied not only on the panel root itself, but on its toggle button too.
147
- * **Note:** This property only has effect if `accessibleName` is set and a header slot is provided.
148
- * @default false
149
- * @private
150
- */
151
- this.useAccessibleNameForToggleButton = false;
152
- /**
153
- * @private
154
- */
155
- this._hasHeader = false;
156
- this._contentExpanded = false;
157
- this._animationRunning = false;
158
- }
159
- onBeforeRendering() {
160
- // If the animation is running, it will set the content expanded state at the end
161
- if (!this._animationRunning) {
162
- this._contentExpanded = !this.collapsed;
163
- }
164
- this._hasHeader = !!this.header.length;
165
- }
166
- shouldToggle(element) {
167
- const customContent = this.header.length;
168
- if (customContent) {
169
- return element.classList.contains("ui5-panel-header-button");
170
- }
171
- return true;
172
- }
173
- get shouldNotAnimate() {
174
- return this.noAnimation || webcomponentsBase.d$1() === Icons.u.None;
175
- }
176
- _headerClick(e) {
177
- if (!this.shouldToggle(e.target)) {
178
- return;
179
- }
180
- this._toggleOpen();
181
- }
182
- _toggleButtonClick(e) {
183
- if (e.detail.originalEvent.x === 0 && e.detail.originalEvent.y === 0) {
184
- e.stopImmediatePropagation();
185
- }
186
- }
187
- _headerKeyDown(e) {
188
- if (!this.shouldToggle(e.target)) {
189
- return;
190
- }
191
- if (webcomponentsBase.b$1(e)) {
192
- e.preventDefault();
193
- }
194
- if (webcomponentsBase.A(e)) {
195
- e.preventDefault();
196
- }
197
- }
198
- _headerKeyUp(e) {
199
- if (!this.shouldToggle(e.target)) {
200
- return;
201
- }
202
- if (webcomponentsBase.b$1(e)) {
203
- this._toggleOpen();
204
- }
205
- if (webcomponentsBase.A(e)) {
206
- this._toggleOpen();
207
- }
208
- }
209
- _toggleOpen() {
210
- if (this.fixed) {
211
- return;
212
- }
213
- this.collapsed = !this.collapsed;
214
- if (this.shouldNotAnimate) {
215
- this.fireDecoratorEvent("toggle");
216
- return;
217
- }
218
- this._animationRunning = true;
219
- const elements = this.getDomRef().querySelectorAll(".ui5-panel-content");
220
- const animations = [];
221
- [].forEach.call(elements, oElement => {
222
- if (this.collapsed) {
223
- animations.push(webcomponentsBase.u(oElement).promise());
224
- }
225
- else {
226
- animations.push(webcomponentsBase.b$2(oElement).promise());
227
- }
228
- });
229
- Promise.all(animations).then(() => {
230
- this._animationRunning = false;
231
- this._contentExpanded = !this.collapsed;
232
- this.fireDecoratorEvent("toggle");
233
- });
234
- }
235
- _headerOnTarget(target) {
236
- return target.classList.contains("sapMPanelWrappingDiv");
237
- }
238
- get toggleButtonTitle() {
239
- return Panel_1.i18nBundle.getText(i18nDefaults.PANEL_ICON);
240
- }
241
- get expanded() {
242
- return !this.collapsed;
243
- }
244
- get accRole() {
245
- return this.accessibleRole.toLowerCase();
246
- }
247
- get effectiveAccessibleName() {
248
- return typeof this.accessibleName === "string" && this.accessibleName.length ? this.accessibleName : undefined;
249
- }
250
- get accInfo() {
251
- return {
252
- "button": {
253
- "accessibilityAttributes": {
254
- "expanded": this.expanded,
255
- },
256
- "title": this.toggleButtonTitle,
257
- "ariaLabelButton": !this.nonFocusableButton && this.useAccessibleNameForToggleButton ? this.effectiveAccessibleName : undefined,
258
- },
259
- "ariaExpanded": this.nonFixedInternalHeader ? this.expanded : undefined,
260
- "ariaControls": this.nonFixedInternalHeader ? `${this._id}-content` : undefined,
261
- "ariaLabelledby": this.nonFocusableButton ? this.ariaLabelledbyReference : undefined,
262
- "role": this.nonFixedInternalHeader ? "button" : undefined,
263
- };
264
- }
265
- get ariaLabelledbyReference() {
266
- return (this.nonFocusableButton && this.headerText && !this.fixed) ? `${this._id}-header-title` : undefined;
267
- }
268
- get fixedPanelAriaLabelledbyReference() {
269
- return this.fixed && !this.effectiveAccessibleName ? `${this._id}-header-title` : undefined;
270
- }
271
- get headerAriaLevel() {
272
- return Number.parseInt(this.headerLevel.slice(1));
273
- }
274
- get headerTabIndex() {
275
- return (this.header.length || this.fixed) ? -1 : 0;
276
- }
277
- get headingWrapperAriaLevel() {
278
- return !this._hasHeader ? this.headerAriaLevel : undefined;
279
- }
280
- get headingWrapperRole() {
281
- return !this._hasHeader ? "heading" : undefined;
282
- }
283
- get nonFixedInternalHeader() {
284
- return !this._hasHeader && !this.fixed;
285
- }
286
- get hasHeaderOrHeaderText() {
287
- return this._hasHeader || this.headerText;
288
- }
289
- get nonFocusableButton() {
290
- return !this.header.length;
291
- }
292
- };
293
- __decorate$2([
294
- webcomponentsBase.s()
295
- ], Panel.prototype, "headerText", void 0);
296
- __decorate$2([
297
- webcomponentsBase.s({ type: Boolean })
298
- ], Panel.prototype, "fixed", void 0);
299
- __decorate$2([
300
- webcomponentsBase.s({ type: Boolean })
301
- ], Panel.prototype, "collapsed", void 0);
302
- __decorate$2([
303
- webcomponentsBase.s({ type: Boolean })
304
- ], Panel.prototype, "noAnimation", void 0);
305
- __decorate$2([
306
- webcomponentsBase.s()
307
- ], Panel.prototype, "accessibleRole", void 0);
308
- __decorate$2([
309
- webcomponentsBase.s()
310
- ], Panel.prototype, "headerLevel", void 0);
311
- __decorate$2([
312
- webcomponentsBase.s()
313
- ], Panel.prototype, "accessibleName", void 0);
314
- __decorate$2([
315
- webcomponentsBase.s({ type: Boolean })
316
- ], Panel.prototype, "stickyHeader", void 0);
317
- __decorate$2([
318
- webcomponentsBase.s({ type: Boolean })
319
- ], Panel.prototype, "useAccessibleNameForToggleButton", void 0);
320
- __decorate$2([
321
- webcomponentsBase.s({ type: Boolean })
322
- ], Panel.prototype, "_hasHeader", void 0);
323
- __decorate$2([
324
- webcomponentsBase.s({ type: Boolean, noAttribute: true })
325
- ], Panel.prototype, "_contentExpanded", void 0);
326
- __decorate$2([
327
- webcomponentsBase.s({ type: Boolean, noAttribute: true })
328
- ], Panel.prototype, "_animationRunning", void 0);
329
- __decorate$2([
330
- webcomponentsBase.d()
331
- ], Panel.prototype, "header", void 0);
332
- __decorate$2([
333
- parametersBundle_css$1.i("@ui5/webcomponents")
334
- ], Panel, "i18nBundle", void 0);
335
- Panel = Panel_1 = __decorate$2([
336
- webcomponentsBase.m({
337
- tag: "ui5-panel",
338
- fastNavigation: true,
339
- languageAware: true,
340
- renderer: parametersBundle_css.y,
341
- template: PanelTemplate,
342
- styles: panelCss,
343
- })
344
- /**
345
- * Fired when the component is expanded/collapsed by user interaction.
346
- * @public
347
- */
348
- ,
349
- eventStrict.l("toggle", {
350
- bubbles: true,
351
- })
352
- ], Panel);
353
- Panel.define();
354
- var Panel$1 = Panel;
355
-
356
- function BarTemplate() {
357
- return (parametersBundle_css.jsxs("div", { class: "ui5-bar-root", "aria-label": this.accInfo.role && this.accInfo.label, role: this.accInfo.role, part: "bar", children: [parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-startcontent-container", part: "startContent", children: parametersBundle_css.jsx("slot", { name: "startContent" }) }), parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-midcontent-container", part: "midContent", children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-endcontent-container", part: "endContent", children: parametersBundle_css.jsx("slot", { name: "endContent" }) })] }));
358
- }
359
-
360
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
361
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
362
- var BarCss = `:host{background-color:var(--sapPageHeader_Background);height:var(--_ui5-v2-15-0_bar_base_height);width:100%;box-shadow:var(--sapContent_HeaderShadow);display:block}.ui5-bar-root{display:flex;align-items:center;justify-content:space-between;height:100%;width:100%;background-color:inherit;box-shadow:inherit;border-radius:inherit;min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container,.ui5-bar-root .ui5-bar-endcontent-container,.ui5-bar-root .ui5-bar-midcontent-container{display:flex;align-items:center}.ui5-bar-root .ui5-bar-startcontent-container,.ui5-bar-root .ui5-bar-endcontent-container{flex:0 0 auto}.ui5-bar-root .ui5-bar-midcontent-container{justify-content:center;flex:1 1 auto;padding:0 var(--_ui5-v2-15-0_bar-mid-container-padding-start-end);min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container{padding-inline-start:var(--_ui5-v2-15-0_bar-start-container-padding-start)}.ui5-bar-root .ui5-bar-content-container{min-width:calc(30% - calc(var(--_ui5-v2-15-0_bar-start-container-padding-start) + var(--_ui5-v2-15-0_bar-end-container-padding-end) + (2*var(--_ui5-v2-15-0_bar-mid-container-padding-start-end))))}.ui5-bar-root.ui5-bar-root-shrinked .ui5-bar-content-container{min-width:0px;overflow:hidden;height:100%}.ui5-bar-root .ui5-bar-endcontent-container{padding-inline-end:var(--_ui5-v2-15-0_bar-end-container-padding-end)}:host([design="Footer"]){background-color:var(--sapPageFooter_Background);border-top:.0625rem solid var(--sapPageFooter_BorderColor);box-shadow:none}:host([design="Subheader"]){height:var(--_ui5-v2-15-0_bar_subheader_height);margin-top:var(--_ui5-v2-15-0_bar_subheader_margin-top)}:host([design="FloatingFooter"]){border-radius:var(--sapElement_BorderCornerRadius);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow1);border:none}::slotted(*){margin:0 .25rem}
363
- `;
364
-
365
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
366
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
367
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
368
- 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;
369
- return c > 3 && r && Object.defineProperty(target, key, r), r;
370
- };
371
- /**
372
- * @class
373
- *
374
- * ### Overview
375
- * The Bar is a container which is primarily used to hold titles, buttons and input elements
376
- * and its design and functionality is the basis for page headers and footers.
377
- * The component consists of three areas to hold its content - startContent slot, default slot and endContent slot.
378
- * It has the capability to center content, such as a title, while having other components on the left and right side.
379
- *
380
- * ### Usage
381
- * With the use of the design property, you can set the style of the Bar to appear designed like a Header, Subheader, Footer and FloatingFooter.
382
- *
383
- * **Note:** Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
384
- *
385
- * ### Responsive Behavior
386
- * The default slot will be centered in the available space between the startContent and the endContent areas,
387
- * therefore it might not always be centered in the entire bar.
388
- *
389
- * ### Keyboard Handling
390
- *
391
- * #### Fast Navigation
392
- * This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].
393
- * In order to use this functionality, you need to import the following module:
394
- * `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
395
- *
396
- * ### ES6 Module Import
397
- *
398
- * `import "@ui5/webcomponents/dist/Bar.js";`
399
- * @csspart bar - Used to style the wrapper of the content of the component
400
- * @csspart startContent - Used to style the wrapper of the start content of the component
401
- * @csspart midContent - Used to style the wrapper of the middle content of the component
402
- * @csspart endContent - Used to style the wrapper of the end content of the component
403
- * @constructor
404
- * @extends UI5Element
405
- * @public
406
- * @since 1.0.0-rc.11
407
- */
408
- let Bar = class Bar extends webcomponentsBase.b {
409
- get accInfo() {
410
- return {
411
- "label": this.design,
412
- "role": this.effectiveRole,
413
- };
414
- }
415
- constructor() {
416
- super();
417
- /**
418
- * Defines the component's design.
419
- * @default "Header"
420
- * @public
421
- */
422
- this.design = "Header";
423
- /**
424
- * Specifies the ARIA role applied to the component for accessibility purposes.
425
- *
426
- * **Note:**
427
- *
428
- * - Set accessibleRole to "toolbar" only when the component contains two or more active, interactive elements (such as buttons, links, or input fields) within the bar.
429
- *
430
- * - If there is only one or no active element, it is recommended to avoid using the "toolbar" role, as it implies a grouping of multiple interactive controls.
431
- *
432
- * @public
433
- * @default "Toolbar"
434
- * @since 2.10.0
435
- *
436
- */
437
- this.accessibleRole = "Toolbar";
438
- this._handleResizeBound = this.handleResize.bind(this);
439
- }
440
- handleResize() {
441
- const bar = this.getDomRef();
442
- const barWidth = bar.offsetWidth;
443
- const needShrinked = Array.from(bar.children).some(child => {
444
- return child.offsetWidth > barWidth / 3;
445
- });
446
- bar.classList.toggle("ui5-bar-root-shrinked", needShrinked);
447
- }
448
- onEnterDOM() {
449
- webcomponentsBase.f.register(this, this._handleResizeBound);
450
- this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(child => {
451
- webcomponentsBase.f.register(child, this._handleResizeBound);
452
- }, this);
453
- }
454
- onExitDOM() {
455
- webcomponentsBase.f.deregister(this, this._handleResizeBound);
456
- this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(child => {
457
- webcomponentsBase.f.deregister(child, this._handleResizeBound);
458
- }, this);
459
- }
460
- get effectiveRole() {
461
- return this.accessibleRole.toLowerCase() === "toolbar" ? "toolbar" : undefined;
462
- }
463
- };
464
- __decorate$1([
465
- webcomponentsBase.s()
466
- ], Bar.prototype, "design", void 0);
467
- __decorate$1([
468
- webcomponentsBase.s()
469
- ], Bar.prototype, "accessibleRole", void 0);
470
- __decorate$1([
471
- webcomponentsBase.d({ type: HTMLElement })
472
- ], Bar.prototype, "startContent", void 0);
473
- __decorate$1([
474
- webcomponentsBase.d({ type: HTMLElement, "default": true })
475
- ], Bar.prototype, "middleContent", void 0);
476
- __decorate$1([
477
- webcomponentsBase.d({ type: HTMLElement })
478
- ], Bar.prototype, "endContent", void 0);
479
- Bar = __decorate$1([
480
- webcomponentsBase.m({
481
- tag: "ui5-bar",
482
- fastNavigation: true,
483
- renderer: parametersBundle_css.y,
484
- styles: BarCss,
485
- template: BarTemplate,
486
- })
487
- ], Bar);
488
- Bar.define();
489
- var Bar$1 = Bar;
490
-
491
- const name$7 = "person-placeholder";
492
- const pathData$7 = "M64 512V384q0-26 10-49.5t27.5-41T142 266t50-10h64q-27 0-50-10t-40.5-27.5T138 178t-10-50q0-26 10-49.5t27.5-41T206 10t50-10q26 0 49.5 10t41 27.5 27.5 41 10 49.5q0 27-10 50t-27.5 40.5-41 27.5-49.5 10h64q26 0 49.5 10t41 27.5 27.5 41 10 49.5v128H64zm32-128v96h320v-96q0-40-28-68t-68-28H192q-40 0-68 28t-28 68zm64-256q0 40 28 68t68 28 68-28 28-68-28-68-68-28-68 28-28 68z";
493
- const ltr$7 = false;
494
- const collection$7 = "SAP-icons-v4";
495
- const packageName$7 = "@ui5/webcomponents-icons";
496
-
497
- Icons.y(name$7, { pathData: pathData$7, ltr: ltr$7, collection: collection$7, packageName: packageName$7 });
498
-
499
- const name$6 = "person-placeholder";
500
- const pathData$6 = "M342 255q48 23 77 67.5t29 99.5v32q0 11-7.5 18.5T422 480H90q-11 0-18.5-7.5T64 454v-32q0-56 29-100t77-67q-20-18-31-42.5T128 160q0-27 10-50t27.5-40.5 41-27.5T256 32t49.5 10.5 41 28T374 111t10 49q0 27-11 52t-31 43zM256 83q-32 0-54.5 22.5T179 160t22.5 54.5T256 237t54.5-22.5T333 160t-22.5-54.5T256 83zm141 339q0-28-10.5-52.5t-29-42.5-43-28.5T262 288h-12q-28 0-52.5 10.5t-43 28.5-29 42.5T115 422v7h282v-7z";
501
- const ltr$6 = false;
502
- const collection$6 = "SAP-icons-v5";
503
- const packageName$6 = "@ui5/webcomponents-icons";
504
-
505
- Icons.y(name$6, { pathData: pathData$6, ltr: ltr$6, collection: collection$6, packageName: packageName$6 });
506
-
507
- var personPlaceholder = "person-placeholder";
508
-
509
- const name$5 = "user-settings";
510
- const pathData$5 = "M512 512H192v-64q0-27 10-50t27.5-40.5T270 330t50-10h32q-43 0-69.5-27T256 224q0-13 1-14 5-32 27-54t54-27q1-1 14-1 42 0 69 26.5t27 69.5q0 40-28 68t-68 28h32q26 0 49.5 10t41 27.5T502 398t10 50v64zM0 224q0-14 9-23t23-9h28q2-8 5.5-15t6.5-14l-20-20q-9-10-9-23t9-22l46-46q9-9 22-9 14 0 23 9l20 20q7-3 14-6.5t15-5.5V32q0-14 9-23t23-9h64q14 0 23 9t9 23v28q8 2 15 5.5t14 6.5l20-20q9-9 23-9 13 0 22 9l46 46q9 9 9 22t-9 23l-6 5-10-12-12-11 5-5-45-45-23 23q-5-1-8.5-1.5T352 96q-6 0-12 .5T328 98q-1-1-4-1-4-2-6.5-3l-7.5-3-22-8V32h-64v51l-22 8q-2 1-5 1.5t-5 2.5l-15 6-20 10-37-36-45 45 36 37-10 20q-3 6-5.5 12.5T91 202l-8 22H32v64h51l8 22q1 2 2 5t2 5q0 2 2 4 1 3 2 5.5t2 4.5l10 21-36 37 45 45 37-37 9 5q-5 18-6 37l-17 18q-9 9-23 9-13 0-22-9l-46-46q-9-9-9-22.5t9-22.5l20-20q-3-7-6.5-14T60 320H32q-14 0-23-9.5T0 288v-64zm480 256v-32q0-40-28-68t-68-28h-64q-40 0-68 28t-28 68v32h256zM288 224q0 27 18.5 45.5T352 288q26 0 45-19t19-45q0-27-18.5-45.5T352 160q-26 0-45 19t-19 45zm-128 37q0-35 16-59.5t48-36.5l8-2 9-2q-5 8-8.5 16.5T227 194q0 1-.5 2t-.5 3q-1 0-1 .5t-1 .5l-12 9q-11 11-15.5 21.5T192 256q0 4 .5 8t1.5 9q8 25 30 38l4 2 4 2q-4 1-8 5-5 4-9.5 8t-9.5 9q-4-2-7-5t-6-5q-4-3-7-7-13-15-18-27t-7-32z";
511
- const ltr$5 = false;
512
- const collection$5 = "SAP-icons-v4";
513
- const packageName$5 = "@ui5/webcomponents-icons";
514
-
515
- Icons.y(name$5, { pathData: pathData$5, ltr: ltr$5, collection: collection$5, packageName: packageName$5 });
516
-
517
- const name$4 = "user-settings";
518
- const pathData$4 = "M166.907 396.779q10.994 0 18.49 6.996t7.495 17.99-7.495 18.49-18.49 7.495H25.985q-10.993 0-18.49-7.496T0 421.764v-31.982q0-55.968 28.984-99.944t76.957-66.962q-41.977-38.979-41.977-94.947 0-26.985 10.494-50.472t27.985-40.977T142.92 9.495 191.893 0q26.985 0 49.972 10.494t40.477 27.985 27.485 40.477 9.995 48.973-9.495 48.972-26.985 40.478-40.977 27.984-50.472 10.494h-5.997q-27.984 0-52.47 10.494T90.45 294.835t-28.984 42.477-10.494 52.47v6.997h115.935zm24.986-345.807q-31.982 0-54.47 22.487t-22.487 54.47 22.487 54.47 54.47 22.487q32.982 0 54.97-22.988t21.987-53.97q0-31.982-22.487-54.469t-54.47-22.487zm310.826 340.81q4.998 1.998 7.496 5.996t1.5 8.995l-3.998 16.99q-2 9.995-11.994 9.995l-27.984-3.998q-5.997 11.993-15.991 21.988l-6.996 6.996 9.994 26.985q0 1 .5 1.999t.5 1.999q0 8.995-7.996 11.993l-14.991 7.996q-2 0-2.5.5t-2.498.499q-7.995 0-10.994-6.996l-14.991-25.986q-4.997 1-8.995 1.5t-8.995.5q-3.998 0-7.496-.5t-8.495-.5l-14.992 26.985q-2.998 5.996-10.994 5.996-3.998 0-5.996-.999l-14.992-7.996q-6.996-2.998-6.996-10.993 0-3.998 1-4.998l9.994-26.985q-7.996-4.997-13.493-11.993t-10.494-14.991l-27.984 3.997q-10.994 0-12.993-9.994l-3.998-19.989q0-9.994 8.995-11.993l22.987-7.996q0-21.988 6.996-39.978l-16.99-15.99q-3.998-3.998-3.998-9.995 0-3.998 2.999-7.996l9.994-12.992q4.997-4.998 9.994-4.998 2.999 0 6.996 2l18.99 12.992q7.995-6.996 16.99-11.493t18.99-7.496l1.999-22.987q1.999-11.994 12.992-11.994h16.99q4.998 0 8.496 3.498t3.498 8.496l2 21.987q21.987 4.997 37.978 17.99l18.99-12.993q3.997-1.998 6.995-1.998 4.998 0 9.995 4.997l9.994 12.993q2.999 3.997 2.999 7.995 0 5.997-3.998 9.995l-15.991 14.991q7.995 20.988 7.995 40.977zm-163.908-7.996q0 18.99 12.993 31.982t31.982 12.993 31.982-12.993 12.993-31.982-12.993-31.982-31.982-12.993-31.982 12.993-12.993 31.982z";
519
- const ltr$4 = false;
520
- const collection$4 = "SAP-icons-v5";
521
- const packageName$4 = "@ui5/webcomponents-icons";
522
-
523
- Icons.y(name$4, { pathData: pathData$4, ltr: ltr$4, collection: collection$4, packageName: packageName$4 });
524
-
525
- var userSettings = "user-settings";
526
-
527
- const name$3 = "log";
528
- const pathData$3 = "M352 86q57 27 92.5 81T480 288q0 47-17.5 87.5t-48 71-71.5 48-87 17.5q-47 0-87.5-17.5t-71-48-48-71T32 288q0-67 35.5-121T160 86v36q-43 25-69.5 68.5T64 288q0 40 15 75t41 61 61 41 75 15 75-15 61-41 41-61 15-75q0-54-26.5-97.5T352 122V86zm-96 202q-14 0-23-9t-9-23V32q0-13 9-22.5T256 0q13 0 22.5 9.5T288 32v224q0 14-9.5 23t-22.5 9z";
529
- const ltr$3 = false;
530
- const collection$3 = "SAP-icons-v4";
531
- const packageName$3 = "@ui5/webcomponents-icons";
532
-
533
- Icons.y(name$3, { pathData: pathData$3, ltr: ltr$3, collection: collection$3, packageName: packageName$3 });
534
-
535
- const name$2 = "log";
536
- const pathData$2 = "M256 256q-11 0-18.5-7.5T230 230V26q0-11 7.5-18.5T256 0t18.5 7.5T282 26v204q0 11-7.5 18.5T256 256zm0 256q-53 0-100-20t-81.5-54.5T20 356 0 256q0-67 31-125t82-90q9-6 13.5-7.5T134 32q11 0 18.5 7.5T160 58q0 13-12 21-46 29-71.5 76T51 256q0 43 16 80t44 65 65 44 80 16 80.5-16 65-44 43.5-65 16-80q0-54-26-101t-71-76q-12-8-12-21 0-11 7.5-18.5T378 32q3 0 7.5 1.5T399 41q51 32 82 90t31 126q0 53-20 99.5t-54.5 81T356 492t-100 20z";
537
- const ltr$2 = false;
538
- const collection$2 = "SAP-icons-v5";
539
- const packageName$2 = "@ui5/webcomponents-icons";
540
-
541
- Icons.y(name$2, { pathData: pathData$2, ltr: ltr$2, collection: collection$2, packageName: packageName$2 });
542
-
543
- var log = "log";
544
-
545
- const name$1 = "user-edit";
546
- const pathData$1 = "M151.25 384H.25v-64q0-26 10-49.5t27.5-41 40.5-27.5 50-10h32q-40 0-68-28t-28-68 28-68 68-28 68 28 28 68-28 68-68 28h32q31 0 57 14t44 37l-23 22q-13-19-33.5-30t-44.5-11h-64q-40 0-68 28t-28 68v32h151zm-9 128q2-4 8-20t12-34q4-10 7.5-21t8.5-24l261-260q5-5 11-5t11 5l45 45q11 11 0 22l-260 261q-1 1-17 6t-36 10q-22 8-51 15zm18-352q26 0 45-19t19-45-19-45-45-19q-27 0-45.5 19t-18.5 45 18.5 45 45.5 19zm45 271l23 22 181-181-22-22zm204-204l23 23 40-41-22-22z";
547
- const ltr$1 = false;
548
- const collection$1 = "SAP-icons-v4";
549
- const packageName$1 = "@ui5/webcomponents-icons";
550
-
551
- Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
552
-
553
- const name = "user-edit";
554
- const pathData = "M70 397q11 0 18.5 7t7.5 18-7.5 18.5T70 448H26q-11 0-18.5-7.5T0 422v-32q0-55 29-99.5t77-67.5l-4-5q-19-18-28.5-41T64 128q0-27 10.5-50.5t28-41 40.5-27T192 0q27 0 50 10.5t40.5 28T310 79t10 49-9.5 49-27 40.5-41 28T192 256h-6q-28 0-52.5 10.5t-43 28.5-29 42.5T51 390v7h19zM192 51q-32 0-54.5 22.5T115 128t22.5 54.5T192 205q33 0 55-23t22-54q0-32-22.5-54.5T192 51zm313 161q7 7 7 18t-7 18l-25 26q-8 8-19 8-10 0-18-8l-50-51q-7-7-7-18t7-18l25-26q7-7 18-7 12 0 19 7zm-75 77q7 9 7 18t-7 18L254 504q-8 8-18 8h-50q-11 0-18.5-7.5T160 486v-51q0-9 7-18l176-179q8-8 18-8 12 0 18 8zm-55 18l-14-14-150 153v15h14z";
555
- const ltr = false;
556
- const collection = "SAP-icons-v5";
557
- const packageName = "@ui5/webcomponents-icons";
558
-
559
- Icons.y(name, { pathData, ltr, collection, packageName });
560
-
561
- var userEdit = "user-edit";
562
-
563
- function UserMenuTemplate() {
564
- return (parametersBundle_css.jsxs(ResponsivePopover.ResponsivePopover, { id: "user-menu-rp", class: "ui5-user-menu-rp", placement: "Bottom", verticalAlign: "Bottom", horizontalAlign: "End", tabindex: -1, accessibleName: this.accessibleNameText, "aria-labelledby": this.accessibleNameText, open: this.open, opener: this.opener, onClose: this._handlePopoverAfterClose, onOpen: this._handlePopoverAfterOpen, onScroll: this._handleScroll, children: [parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsxs(Bar$1, { class: {
565
- "ui5-user-menu-fixed-header": true,
566
- "ui5-user-menu-rp-scrolled": this._isScrolled || this._titleMovedToHeader
567
- }, slot: "header", children: [this._titleMovedToHeader &&
568
- parametersBundle_css.jsx(Title.Title, { level: "H1", wrappingType: "None", children: this._selectedAccount.titleText }), this._isPhone && parametersBundle_css.jsx(Button.Button, { icon: information.decline, design: "Transparent", accessibleName: this._closeDialogAriaLabel, onClick: this._closeUserMenu, slot: "endContent" })] }), parametersBundle_css.jsx("div", { class: "ui5-user-menu-header", children: headerContent.call(this) })] }), this.showOtherAccounts &&
569
- parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: otherAccountsContent.call(this) }), this.menuItems.length > 0 &&
570
- parametersBundle_css.jsx(List.List, { id: "ui5-user-menu-list", class: "ui5-user-menu-list", selectionMode: "None", separators: "None", accessibleRole: "Menu", onItemClick: this._handleMenuItemClick, "onui5-close-menu": this._handleMenuItemClose, children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("div", { slot: "footer", class: "ui5-user-menu-footer", children: parametersBundle_css.jsx(Button.Button, { class: "ui5-user-menu-sign-out-btn", design: "Transparent", icon: log, onClick: this._handleSignOutClick, children: this._signOutButtonText }) })] }));
571
- }
572
- function headerContent() {
573
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this._selectedAccount &&
574
- parametersBundle_css.jsxs("div", { class: "ui5-user-menu-selected-account", "aria-labelledby": this._ariaLabelledByAccountInformationText, children: [parametersBundle_css.jsxs(Avatar, { size: "L", onClick: this._handleAvatarClick, initials: this._selectedAccount._initials, fallbackIcon: personPlaceholder, class: "ui5-user-menu--selected-account-avatar", interactive: true, children: [this._selectedAccount.avatarSrc &&
575
- parametersBundle_css.jsx("img", { src: this._selectedAccount.avatarSrc }), this.showEditButton &&
576
- parametersBundle_css.jsx(Tag.Tag, { slot: "badge", wrappingType: "None", design: "Set1", colorScheme: "5", title: this._editAvatarTooltip, children: parametersBundle_css.jsx(Icon.Icon, { slot: "icon", name: ListItemCustom.edit }) })] }), this._selectedAccount.titleText &&
577
- parametersBundle_css.jsx(Text.Text, { maxLines: 2, id: "selected-account-title", class: "ui5-user-menu-selected-account-title", children: this._selectedAccount.titleText }), this._selectedAccount.subtitleText &&
578
- parametersBundle_css.jsx(Text.Text, { maxLines: 1, class: "ui5-user-menu-selected-account-subtitleText", children: this._selectedAccount.subtitleText }), this._selectedAccount.description &&
579
- parametersBundle_css.jsx(Text.Text, { maxLines: 1, class: "ui5-user-menu-selected-account-description", children: this._selectedAccount.description }), this.showManageAccount &&
580
- parametersBundle_css.jsx(Button.Button, { id: "selected-account-manage-btn", icon: userSettings, class: "ui5-user-menu-manage-account-btn", onClick: this._handleManageAccountClick, children: this._manageAccountButtonText })] }) }));
581
- }
582
- function otherAccountsContent() {
583
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsxs(Panel$1, { collapsed: true, class: "ui5-user-menu-other-accounts", "aria-labelledby": this._otherAccountsButtonText, children: [parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-user-menu-account-header", children: [parametersBundle_css.jsxs(Title.Title, { slot: "header", level: "H4", "wrapping-type": "None", children: [this._otherAccountsButtonText, " (", this._otherAccounts.length, ")"] }), this.showEditAccounts &&
584
- parametersBundle_css.jsx(Button.Button, { slot: "header", class: "ui5-user-menu-add-account-btn", design: "Transparent", icon: userEdit, onClick: this._handleEditAccountsClick, tooltip: this._editAccountsTooltip })] }), this._otherAccounts.length > 0 &&
585
- parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: otherAccountsList.call(this) })] }) }));
586
- }
587
- function otherAccountsList() {
588
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsx(List.List, { onItemClick: this._handleAccountSwitch, "aria-labelledby": this._ariaLabelledByActions, loadingDelay: 0, loading: this._otherAccounts.some(account => account.loading === true), children: this._otherAccounts.map((account, index) => parametersBundle_css.jsx(ListItemCustom.ListItemCustom, { ref: this.captureRef.bind(account), "aria-labelledby": account.titleText, "aria-possition": index + 1, "aria-setsize": this._otherAccounts.length, "aria-dectiption": this.getAccountDescriptionText(account), children: parametersBundle_css.jsxs("div", { class: "ui5-user-menu-other-accounts-content", children: [parametersBundle_css.jsx(Avatar, { slot: "image", size: "S", initials: account._initials, fallbackIcon: personPlaceholder, children: account.avatarSrc &&
589
- parametersBundle_css.jsx("img", { src: account.avatarSrc }) }), parametersBundle_css.jsxs("div", { class: "ui5-user-menu-other-accounts-info", children: [account.titleText &&
590
- parametersBundle_css.jsx(Title.Title, { class: "ui5-user-menu-other-accounts-title", "wrapping-type": "None", children: account.titleText }), account.subtitleText &&
591
- parametersBundle_css.jsx(Label, { class: "ui5-user-menu-other-accounts-additional-info", "wrapping-type": "None", children: account.subtitleText }), account.description &&
592
- parametersBundle_css.jsx(Label, { class: "ui5-user-menu-other-accounts-additional-info", "wrapping-type": "None", children: account.description })] }), parametersBundle_css.jsx("div", { children: account.selected &&
593
- parametersBundle_css.jsx(Icon.Icon, { part: "icon", name: sysEnter2.selectedAccount, class: "ui5-user-menu-selected-account-icon", mode: "Decorative" }) })] }) })) }) }));
594
- }
595
-
596
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
597
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => parametersBundle_css$2.defaultTheme);
598
- var UserMenuCss = `.ui5-user-menu-rp{width:20rem}.ui5-user-menu-rp::part(content),.ui5-user-menu-rp::part(footer){padding-inline:.5rem}.ui5-user-menu-rp::part(header){box-shadow:none;padding:0}.ui5-user-menu-header{display:flex;flex-direction:column}[on-phone] .ui5-user-menu-header{padding-inline:0}.ui5-user-menu-fixed-header:not(.ui5-user-menu-rp-scrolled){box-shadow:none}.ui5-user-menu-fixed-header::part(startContent),.ui5-user-menu-fixed-header::part(endContent){padding:0}.ui5-user-menu-fixed-header [ui5-button]{margin-inline:.5rem;font-family:var(--sapFontSemiboldDuplexFamily)}.ui5-user-menu-rp::part(content){padding-top:0;padding-bottom:.5rem}.ui5-user-menu-rp::part(footer){padding-block:.5rem}.ui5-user-menu-selected-account{display:flex;align-items:center;flex-direction:column;margin-block-end:.5rem;overflow:hidden}.ui5-user-menu--selected-account-avatar{margin-block-start:.25rem;margin-block-end:.5rem}.ui5-user-menu-selected-account-title{margin-block:.25rem;font-family:var(--sapFontBoldFamily);font-size:var(--sapFontLargeSize);color:var(--sapTextColor)}.ui5-user-menu-selected-account-subtitleText{margin-bottom:.25rem;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-user-menu-selected-account-description{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-user-menu-manage-account-btn{font-family:var(--sapFontSemiboldDuplexFamily);margin-block-start:1rem}.ui5-user-menu-sign-out-btn{font-family:var(--sapFontSemiboldDuplexFamily)}.ui5-user-menu-other-accounts{margin-block-end:.5rem}.ui5-user-menu-other-accounts::part(header){border-bottom-left-radius:0;border-bottom-right-radius:0}.ui5-user-menu-other-accounts::part(content){padding:0}.ui5-user-menu-other-accounts-content{display:flex;align-items:center;width:100%;height:4.5rem;gap:12px}.ui5-user-menu-other-accounts-info{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;align-self:stretch;width:100%;overflow:hidden}.ui5-user-menu-other-accounts-title{overflow:hidden;color:var(--sapList_TextColor);text-overflow:ellipsis;font-family:var(--sapFontBoldFamily);font-size:var(--sapFontSize);font-style:normal;line-height:normal}.ui5-user-menu-other-accounts-additional-info{overflow:hidden;color:var(--sapContent_LabelColor);text-overflow:ellipsis;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-style:normal;line-height:normal}.ui5-user-menu-selected-account-icon{display:flex;width:18px;align-items:center;align-self:stretch;color:var(--sapContent_NonInteractiveIconColor);font-family:var(--_ui5-v2-15-0_slider_handle_font_family);font-size:1.125rem}.ui5-user-menu-account-header{display:flex;flex:1;justify-content:space-between;align-items:center}.ui5-user-menu-footer{display:flex;flex:1;justify-content:flex-end;align-items:center}
599
- `;
600
-
601
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
602
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
603
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
604
- 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;
605
- return c > 3 && r && Object.defineProperty(target, key, r), r;
606
- };
607
- var UserMenu_1;
608
- /**
609
- * @class
610
- * ### Overview
611
- *
612
- * The `ui5-user-menu` is an SAP Fiori specific web component that is used in `ui5-shellbar`
613
- * and allows the user to easily see information and settings for the current user and all other logged in accounts.
614
- *
615
- * ### ES6 Module Import
616
- * `import "@ui5/webcomponents-fiori/dist/UserMenu.js";`
617
- *
618
- * `import "@ui5/webcomponents-fiori/dist/UserMenuItem.js";` (for `ui5-user-menu-item`)
619
- *
620
- * @constructor
621
- * @extends UI5Element
622
- * @experimental
623
- * @public
624
- * @since 2.5.0
625
- */
626
- let UserMenu = UserMenu_1 = class UserMenu extends webcomponentsBase.b {
627
- constructor() {
628
- super(...arguments);
629
- /**
630
- * Defines if the User Menu is opened.
631
- *
632
- * @default false
633
- * @public
634
- */
635
- this.open = false;
636
- /**
637
- * Defines if the User Menu shows the Manage Account option.
638
- *
639
- * @default false
640
- * @public
641
- */
642
- this.showManageAccount = false;
643
- /**
644
- * Defines if the User Menu shows the Other Accounts option.
645
- *
646
- * @default false
647
- * @public
648
- */
649
- this.showOtherAccounts = false;
650
- /**
651
- * Defines if the User Menu shows the Edit Accounts option.
652
- *
653
- * @default false
654
- * @public
655
- */
656
- this.showEditAccounts = false;
657
- /**
658
- * Defines if the User menu shows edit button.
659
- *
660
- * @default false
661
- * @public
662
- * @since 2.7.0
663
- */
664
- this.showEditButton = false;
665
- /**
666
- * @default false
667
- * @private
668
- */
669
- this._titleMovedToHeader = false;
670
- /**
671
- * @default false
672
- * @private
673
- */
674
- this._isScrolled = false;
675
- }
676
- onBeforeRendering() {
677
- this._selectedAccount = this.accounts.find(account => account.selected) || this.accounts[0];
678
- }
679
- onAfterRendering() {
680
- if (this._responsivePopover) {
681
- const observerOptions = {
682
- threshold: [0.15],
683
- };
684
- this._observer?.disconnect();
685
- this._observer = new IntersectionObserver(entries => this._handleIntersection(entries), observerOptions);
686
- if (this._selectedAccountTitleEl) {
687
- this._observer.observe(this._selectedAccountTitleEl);
688
- }
689
- if (this._selectedAccountManageBtn) {
690
- this._observer.observe(this._selectedAccountManageBtn);
691
- }
692
- }
693
- }
694
- get _isPhone() {
695
- return Icons.d();
696
- }
697
- _handleScroll(e) {
698
- this._isScrolled = e.detail.scrollTop > 0;
699
- }
700
- _handleIntersection(entries) {
701
- entries.forEach(entry => {
702
- if (entry.isIntersecting) {
703
- if (entry.target.id === "selected-account-title") {
704
- this._titleMovedToHeader = false;
705
- }
706
- return;
707
- }
708
- if (entry.target.id === "selected-account-title") {
709
- this._titleMovedToHeader = true;
710
- }
711
- }, this);
712
- }
713
- _handleAvatarClick(e) {
714
- if (e.type === "click") {
715
- // TOFIX: Discuss this check: Fire the custom UserMenu#avatar-click only for Avatar#click (not for Avatar#ui5-click as well).
716
- this.fireDecoratorEvent("avatar-click");
717
- }
718
- }
719
- _handleManageAccountClick() {
720
- this.fireDecoratorEvent("manage-account-click");
721
- }
722
- _handleEditAccountsClick() {
723
- this.fireDecoratorEvent("edit-accounts-click");
724
- }
725
- _handleAccountSwitch(e) {
726
- const item = e.detail.item;
727
- const eventPrevented = !this.fireDecoratorEvent("change-account", {
728
- prevSelectedAccount: this._selectedAccount,
729
- selectedAccount: item.associatedAccount,
730
- });
731
- if (eventPrevented) {
732
- return;
733
- }
734
- this._selectedAccount.selected = false;
735
- item.associatedAccount.selected = true;
736
- }
737
- _handleSignOutClick() {
738
- const eventPrevented = !this.fireDecoratorEvent("sign-out-click");
739
- if (eventPrevented) {
740
- return;
741
- }
742
- this._closeUserMenu();
743
- }
744
- _handleMenuItemClick(e) {
745
- const item = e.detail.item; // imrove: improve this ideally without "as" cating
746
- item._updateCheckedState();
747
- if (!item._popover) {
748
- const eventPrevented = !this.fireDecoratorEvent("item-click", {
749
- "item": item,
750
- });
751
- if (!eventPrevented) {
752
- item.fireEvent("close-menu");
753
- }
754
- }
755
- else {
756
- this._openItemSubMenu(item);
757
- }
758
- }
759
- _handleMenuItemClose() {
760
- this._closeUserMenu();
761
- }
762
- _handlePopoverAfterOpen() {
763
- this.fireDecoratorEvent("open");
764
- }
765
- _handlePopoverAfterClose() {
766
- this.open = false;
767
- this.fireDecoratorEvent("close");
768
- }
769
- _openItemSubMenu(item) {
770
- if (!item._popover || item._popover.open) {
771
- return;
772
- }
773
- item._popover.opener = item;
774
- item._popover.open = true;
775
- item.selected = true;
776
- }
777
- _closeUserMenu() {
778
- this.open = false;
779
- }
780
- get _otherAccounts() {
781
- return this.accounts;
782
- }
783
- get _manageAccountButtonText() {
784
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_MANAGE_ACCOUNT_BUTTON_TXT);
785
- }
786
- get _otherAccountsButtonText() {
787
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_OTHER_ACCOUNT_BUTTON_TXT);
788
- }
789
- get _signOutButtonText() {
790
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_SIGN_OUT_BUTTON_TXT);
791
- }
792
- get _editAvatarTooltip() {
793
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_EDIT_AVATAR_TXT);
794
- }
795
- get _editAccountsTooltip() {
796
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_EDIT_ACCOUNTS_TXT);
797
- }
798
- get _closeDialogAriaLabel() {
799
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_CLOSE_DIALOG_BUTTON);
800
- }
801
- get accessibleNameText() {
802
- if (!this._selectedAccount) {
803
- return "";
804
- }
805
- return `${UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_POPOVER_ACCESSIBLE_NAME)} ${this._selectedAccount.titleText}`;
806
- }
807
- get _ariaLabelledByAccountInformationText() {
808
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_CURRENT_INFORMATION_TXT);
809
- }
810
- get _ariaLabelledByActions() {
811
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_ACTIONS_TXT);
812
- }
813
- getAccountDescriptionText(account) {
814
- return `${account.subtitleText} ${account.description} ${account.selected ? UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_POPOVER_ACCESSIBLE_ACCOUNT_SELECTED_TXT) : ""}`;
815
- }
816
- getAccountByRefId(refId) {
817
- return this.accounts.find(account => account._id === refId);
818
- }
819
- captureRef(ref) {
820
- if (ref) {
821
- ref.associatedAccount = this;
822
- }
823
- }
824
- };
825
- __decorate([
826
- webcomponentsBase.s({ type: Boolean })
827
- ], UserMenu.prototype, "open", void 0);
828
- __decorate([
829
- webcomponentsBase.s({ converter: ResponsivePopover.e })
830
- ], UserMenu.prototype, "opener", void 0);
831
- __decorate([
832
- webcomponentsBase.s({ type: Boolean })
833
- ], UserMenu.prototype, "showManageAccount", void 0);
834
- __decorate([
835
- webcomponentsBase.s({ type: Boolean })
836
- ], UserMenu.prototype, "showOtherAccounts", void 0);
837
- __decorate([
838
- webcomponentsBase.s({ type: Boolean })
839
- ], UserMenu.prototype, "showEditAccounts", void 0);
840
- __decorate([
841
- webcomponentsBase.s({ type: Boolean })
842
- ], UserMenu.prototype, "showEditButton", void 0);
843
- __decorate([
844
- webcomponentsBase.d({
845
- type: HTMLElement,
846
- "default": true,
847
- })
848
- ], UserMenu.prototype, "menuItems", void 0);
849
- __decorate([
850
- webcomponentsBase.d({
851
- type: HTMLElement,
852
- invalidateOnChildChange: {
853
- properties: true,
854
- slots: false,
855
- },
856
- })
857
- ], UserMenu.prototype, "accounts", void 0);
858
- __decorate([
859
- webcomponentsBase.s({ type: Boolean })
860
- ], UserMenu.prototype, "_titleMovedToHeader", void 0);
861
- __decorate([
862
- webcomponentsBase.s({ type: Boolean })
863
- ], UserMenu.prototype, "_isScrolled", void 0);
864
- __decorate([
865
- query.o("#user-menu-rp")
866
- ], UserMenu.prototype, "_responsivePopover", void 0);
867
- __decorate([
868
- query.o("#selected-account-title")
869
- ], UserMenu.prototype, "_selectedAccountTitleEl", void 0);
870
- __decorate([
871
- query.o("#selected-account-manage-btn")
872
- ], UserMenu.prototype, "_selectedAccountManageBtn", void 0);
873
- __decorate([
874
- parametersBundle_css$1.i("@ui5/webcomponents-fiori")
875
- ], UserMenu, "i18nBundle", void 0);
876
- UserMenu = UserMenu_1 = __decorate([
877
- webcomponentsBase.m({
878
- tag: "ui5-user-menu",
879
- languageAware: true,
880
- renderer: parametersBundle_css.y,
881
- template: UserMenuTemplate,
882
- styles: [UserMenuCss],
883
- })
884
- /**
885
- * Fired when the account avatar is selected.
886
- * @public
887
- */
888
- ,
889
- eventStrict.l("avatar-click")
890
- /**
891
- * Fired when the "Manage Account" button is selected.
892
- * @public
893
- */
894
- ,
895
- eventStrict.l("manage-account-click")
896
- /**
897
- * Fired when the "Edit Accounts" button is selected.
898
- * @public
899
- */
900
- ,
901
- eventStrict.l("edit-accounts-click")
902
- /**
903
- * Fired when the account is switched to a different one.
904
- * @param {UserMenuAccount} prevSelectedAccount The previously selected account.
905
- * @param {UserMenuAccount} selectedAccount The selected account.
906
- * @public
907
- */
908
- ,
909
- eventStrict.l("change-account", {
910
- cancelable: true,
911
- })
912
- /**
913
- * Fired when a menu item is selected.
914
- * @param {UserMenuItem} item The selected `user menu item`.
915
- * @public
916
- */
917
- ,
918
- eventStrict.l("item-click", {
919
- cancelable: true,
920
- })
921
- /**
922
- * Fired when a user menu is open.
923
- * @public
924
- * @since 2.6.0
925
- */
926
- ,
927
- eventStrict.l("open")
928
- /**
929
- * Fired when a user menu is close.
930
- * @public
931
- * @since 2.6.0
932
- */
933
- ,
934
- eventStrict.l("close")
935
- /**
936
- * Fired when the "Sign Out" button is selected.
937
- * @public
938
- * @since 2.6.0
939
- */
940
- ,
941
- eventStrict.l("sign-out-click", {
942
- cancelable: true,
943
- })
944
- ], UserMenu);
945
- UserMenu.define();
946
- var UserMenu$1 = UserMenu;
947
-
948
- return UserMenu$1;
949
-
950
- }));