@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,1253 +0,0 @@
1
- sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/toLowercaseEnumValue', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/parameters-bundle.css', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/ListItemGroup', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, parametersBundle_css, toLowercaseEnumValue, eventStrict, parametersBundle_css$1, Icons, ListItemGroup, AccessibilityTextsHelper, BusyIndicator, i18nDefaults) { 'use strict';
2
-
3
- /**
4
- * Different list selection modes.
5
- * @public
6
- */
7
- var ListSelectionMode;
8
- (function (ListSelectionMode) {
9
- /**
10
- * Default mode (no selection).
11
- * @public
12
- */
13
- ListSelectionMode["None"] = "None";
14
- /**
15
- * Right-positioned single selection mode (only one list item can be selected).
16
- * @public
17
- */
18
- ListSelectionMode["Single"] = "Single";
19
- /**
20
- * Left-positioned single selection mode (only one list item can be selected).
21
- * @public
22
- */
23
- ListSelectionMode["SingleStart"] = "SingleStart";
24
- /**
25
- * Selected item is highlighted but no selection element is visible
26
- * (only one list item can be selected).
27
- * @public
28
- */
29
- ListSelectionMode["SingleEnd"] = "SingleEnd";
30
- /**
31
- * Selected item is highlighted and selection is changed upon arrow navigation
32
- * (only one list item can be selected - this is always the focused item).
33
- * @public
34
- */
35
- ListSelectionMode["SingleAuto"] = "SingleAuto";
36
- /**
37
- * Multi selection mode (more than one list item can be selected).
38
- * @public
39
- */
40
- ListSelectionMode["Multiple"] = "Multiple";
41
- /**
42
- * Delete mode (only one list item can be deleted via provided delete button)
43
- * @public
44
- */
45
- ListSelectionMode["Delete"] = "Delete";
46
- })(ListSelectionMode || (ListSelectionMode = {}));
47
- var ListSelectionMode$1 = ListSelectionMode;
48
-
49
- const t=e=>{let o=e;return e.shadowRoot&&e.shadowRoot.activeElement&&(o=e.shadowRoot.activeElement),o};
50
-
51
- let e=null;const u=(t,o)=>{e&&clearTimeout(e),e=setTimeout(()=>{e=null,t();},o);};
52
-
53
- const n=e=>{const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)};
54
-
55
- /**
56
- * Different list growing modes.
57
- * @public
58
- */
59
- var ListGrowingMode;
60
- (function (ListGrowingMode) {
61
- /**
62
- * Component's "load-more" is fired upon pressing a "More" button.
63
- * at the bottom.
64
- * @public
65
- */
66
- ListGrowingMode["Button"] = "Button";
67
- /**
68
- * Component's "load-more" is fired upon scroll.
69
- * @public
70
- */
71
- ListGrowingMode["Scroll"] = "Scroll";
72
- /**
73
- * Component's growing is not enabled.
74
- * @public
75
- */
76
- ListGrowingMode["None"] = "None";
77
- })(ListGrowingMode || (ListGrowingMode = {}));
78
- var ListGrowingMode$1 = ListGrowingMode;
79
-
80
- /**
81
- * List accessible roles.
82
- * @public
83
- * @since 2.0.0
84
- */
85
- var ListAccessibleRole;
86
- (function (ListAccessibleRole) {
87
- /**
88
- * Represents the ARIA role "list". (by default)
89
- * @public
90
- */
91
- ListAccessibleRole["List"] = "List";
92
- /**
93
- * Represents the ARIA role "menu".
94
- * @public
95
- */
96
- ListAccessibleRole["Menu"] = "Menu";
97
- /**
98
- * Represents the ARIA role "tree".
99
- * @public
100
- */
101
- ListAccessibleRole["Tree"] = "Tree";
102
- /**
103
- * Represents the ARIA role "listbox".
104
- * @public
105
- */
106
- ListAccessibleRole["ListBox"] = "ListBox";
107
- })(ListAccessibleRole || (ListAccessibleRole = {}));
108
- var ListAccessibleRole$1 = ListAccessibleRole;
109
-
110
- /**
111
- * Different types of list items separators.
112
- * @public
113
- * @since 2.0.0
114
- */
115
- var ListSeparator;
116
- (function (ListSeparator) {
117
- /**
118
- * Separators between the items including the last and the first one.
119
- * @public
120
- */
121
- ListSeparator["All"] = "All";
122
- /**
123
- * Separators between the items.
124
- * Note: This enumeration depends on the theme.
125
- * @public
126
- */
127
- ListSeparator["Inner"] = "Inner";
128
- /**
129
- * No item separators.
130
- * @public
131
- */
132
- ListSeparator["None"] = "None";
133
- })(ListSeparator || (ListSeparator = {}));
134
- var ListSeparator$1 = ListSeparator;
135
-
136
- function ListTemplate() {
137
- return (parametersBundle_css.jsx("div", { class: "ui5-list-root", onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, onDragEnter: this._ondragenter, onDragOver: this._ondragover, onDrop: this._ondrop, onDragLeave: this._ondragleave, "onui5-_close": this.onItemClose, "onui5-toggle": this.onItemToggle, "onui5-request-tabindex-change": this.onItemTabIndexChange, "onui5-_focused": this.onItemFocused, "onui5-forward-after": this.onForwardAfter, "onui5-forward-before": this.onForwardBefore, "onui5-selection-requested": this.onSelectionRequested, "onui5-focus-requested": this.onFocusRequested, "onui5-_press": this.onItemPress, children: parametersBundle_css.jsxs(BusyIndicator.BusyIndicator, { id: `${this._id}-busyIndicator`, delay: this.loadingDelay, active: this.showBusyIndicatorOverlay, class: "ui5-list-busy-indicator", children: [parametersBundle_css.jsxs("div", { class: "ui5-list-scroll-container", children: [parametersBundle_css.jsx("span", { tabindex: -1, "aria-hidden": "true", class: "ui5-list-start-marker" }), this.header.length > 0 && parametersBundle_css.jsx("slot", { name: "header" }), this.shouldRenderH1 &&
138
- parametersBundle_css.jsx("header", { id: this.headerID, class: "ui5-list-header", children: this.headerText }), this.hasData &&
139
- parametersBundle_css.jsx("div", { id: `${this._id}-before`, tabindex: 0, role: "none", class: "ui5-list-focusarea" }), parametersBundle_css.jsx("span", { id: `${this._id}-modeLabel`, class: "ui5-hidden-text", children: this.ariaLabelModeText }), parametersBundle_css.jsxs("ul", { id: `${this._id}-listUl`, class: "ui5-list-ul", role: this.listAccessibleRole, "aria-label": this.ariaLabelTxt, "aria-labelledby": this.ariaLabelledBy, "aria-description": this.ariaDescriptionText, children: [parametersBundle_css.jsx("slot", {}), this.showNoDataText &&
140
- parametersBundle_css.jsx("li", { tabindex: 0, id: `${this._id}-nodata`, class: "ui5-list-nodata", role: "listitem", children: parametersBundle_css.jsx("div", { id: `${this._id}-nodata-text`, class: "ui5-list-nodata-text", children: this.noDataText }) })] }), this.growsWithButton && moreRow.call(this), this.footerText &&
141
- parametersBundle_css.jsx("footer", { id: `${this._id}-footer`, class: "ui5-list-footer", children: this.footerText }), this.hasData &&
142
- parametersBundle_css.jsx("div", { id: `${this._id}-after`, tabindex: 0, role: "none", class: "ui5-list-focusarea" }), parametersBundle_css.jsx("span", { tabindex: -1, "aria-hidden": "true", class: "ui5-list-end-marker" })] }), parametersBundle_css.jsx(ListItemGroup.DropIndicator, { orientation: "Horizontal", ownerReference: this })] }) }));
143
- }
144
- function moreRow() {
145
- return (parametersBundle_css.jsx("div", { class: "ui5-growing-button", part: "growing-button", children: parametersBundle_css.jsxs("div", { id: `${this._id}-growing-btn`, role: "button", tabindex: 0, part: "growing-button-inner", class: {
146
- "ui5-growing-button-inner": true,
147
- "ui5-growing-button-inner-active": this._loadMoreActive,
148
- }, "aria-label": this.growingButtonAriaLabel, "aria-labelledby": this.growingButtonAriaLabelledBy, onClick: this._onLoadMoreClick, onKeyDown: this._onLoadMoreKeydown, onKeyUp: this._onLoadMoreKeyup, onMouseDown: this._onLoadMoreMousedown, onMouseUp: this._onLoadMoreMouseup, children: [this.loading &&
149
- parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { delay: this.loadingDelay, part: "growing-button-busy-indicator", class: "ui5-list-growing-button-busy-indicator", active: true }), parametersBundle_css.jsx("span", { id: `${this._id}-growingButton-text`, class: "ui5-growing-button-text", "growing-button-text": true, children: this._growingButtonText })] }) }));
150
- }
151
-
152
- Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
153
- 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);
154
- var listCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}.ui5-growing-button{display:flex;align-items:center;padding:var(--_ui5-v2-15-0_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5-v2-15-0_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}.ui5-growing-button-inner{display:flex;align-items:center;justify-content:center;flex-direction:row;min-height:var(--_ui5-v2-15-0_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5-v2-15-0_load_more_border);border-radius:var(--_ui5-v2-15-0_load_more_border_radius);box-sizing:border-box}.ui5-growing-button-inner:focus-visible{outline:var(--_ui5-v2-15-0_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}.ui5-growing-button-inner:hover{background-color:var(--sapList_Hover_Background)}.ui5-growing-button-inner:active,.ui5-growing-button-inner.ui5-growing-button-inner--active{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}.ui5-growing-button-inner:active>*,.ui5-growing-button-inner.ui5-growing-button-inner--active>*{color:var(--sapList_Active_TextColor)}.ui5-growing-button-text{text-align:center;font-family:var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}.ui5-growing-button-text{height:var(--_ui5-v2-15-0_load_more_text_height);padding:.875rem 1rem 1rem;font-size:var(--_ui5-v2-15-0_load_more_text_font_size);font-weight:700}:host([loading]) .ui5-list-growing-button-busy-indicator:not([_is-busy]){display:none}:host([loading]) .ui5-list-growing-button-busy-indicator[_is-busy]+.ui5-growing-button-text{padding-left:.5rem}:host(:not([hidden])){display:block;max-width:100%;width:100%;-webkit-tap-highlight-color:transparent}:host([indent]) .ui5-list-root{padding:2rem}:host([separators="None"]) .ui5-list-nodata{border-bottom:0}.ui5-list-root,.ui5-list-busy-indicator{width:100%;height:100%;position:relative;box-sizing:border-box}.ui5-list-scroll-container{overflow:auto;height:100%;width:100%}.ui5-list-ul{list-style-type:none;padding:0;margin:0}.ui5-list-ul:focus{outline:none}.ui5-list-focusarea{position:fixed}.ui5-list-header{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;font-size:var(--sapFontHeader4Size);font-family:var(--sapFontFamily);color:var(--sapGroup_TitleTextColor);height:3rem;line-height:3rem;padding:0 1rem;background-color:var(--sapGroup_TitleBackground);border-bottom:1px solid var(--sapGroup_TitleBorderColor)}.ui5-list-footer{height:2rem;box-sizing:border-box;-webkit-text-size-adjust:none;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);line-height:2rem;background-color:var(--sapList_FooterBackground);color:var(--ui5-v2-15-0_list_footer_text_color);padding:0 1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui5-list-nodata{list-style-type:none;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;color:var(--sapTextColor);background-color:var(--sapList_Background);border-bottom:1px solid var(--sapList_BorderColor);padding:0 1rem!important;outline:none;min-height:var(--_ui5-v2-15-0_list_no_data_height);font-size:var(--_ui5-v2-15-0_list_no_data_font_size);font-family:var(--sapFontFamily);position:relative}.ui5-list-nodata:focus:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:.125rem;pointer-events:none}.ui5-list-nodata-text{overflow:hidden;text-overflow:ellipsis;white-space:normal;margin:var(--_ui5-v2-15-0_list_item_content_vertical_offset) 0}:host([growing="Scroll"]) .ui5-list-end-marker{display:inline-block}
155
- `;
156
-
157
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
158
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
159
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
160
- 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;
161
- return c > 3 && r && Object.defineProperty(target, key, r), r;
162
- };
163
- var List_1;
164
- const INFINITE_SCROLL_DEBOUNCE_RATE = 250; // ms
165
- const PAGE_UP_DOWN_SIZE = 10;
166
- /**
167
- * @class
168
- *
169
- * ### Overview
170
- *
171
- * The `ui5-list` component allows displaying a list of items, advanced keyboard
172
- * handling support for navigating between items, and predefined modes to improve the development efficiency.
173
- *
174
- * The `ui5-list` is a container for the available list items:
175
- *
176
- * - `ui5-li`
177
- * - `ui5-li-custom`
178
- * - `ui5-li-group`
179
- *
180
- * To benefit from the built-in selection mechanism, you can use the available
181
- * selection modes, such as
182
- * `Single`, `Multiple` and `Delete`.
183
- *
184
- * Additionally, the `ui5-list` provides header, footer, and customization for the list item separators.
185
- *
186
- * ### Keyboard Handling
187
- *
188
- * #### Basic Navigation
189
- * The `ui5-list` provides advanced keyboard handling.
190
- * When a list is focused the user can use the following keyboard
191
- * shortcuts in order to perform a navigation:
192
- *
193
- * - [Up] or [Down] - Navigates up and down the items
194
- * - [Home] - Navigates to first item
195
- * - [End] - Navigates to the last item
196
- *
197
- * The user can use the following keyboard shortcuts to perform actions (such as select, delete),
198
- * when the `selectionMode` property is in use:
199
- *
200
- * - [Space] - Select an item (if `type` is 'Active') when `selectionMode` is selection
201
- * - [Delete] - Delete an item if `selectionMode` property is `Delete`
202
- *
203
- * #### Fast Navigation
204
- * 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].
205
- * In order to use this functionality, you need to import the following module:
206
- * `import "sap/ushell/gen/ui5/webcomponents-base/dist/features/F6Navigation.js"`
207
- *
208
- * ### ES6 Module Import
209
- *
210
- * `import "sap/ushell/gen/ui5/webcomponents/dist/List.js";`
211
- *
212
- * `import "sap/ushell/gen/ui5/webcomponents/dist/ListItemStandard.js";` (for `ui5-li`)
213
- *
214
- * `import "sap/ushell/gen/ui5/webcomponents/dist/ListItemCustom.js";` (for `ui5-li-custom`)
215
- *
216
- * `import "sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js";` (for `ui5-li-group`)
217
- * @constructor
218
- * @extends UI5Element
219
- * @public
220
- * @csspart growing-button - Used to style the button, that is used for growing of the component
221
- * @csspart growing-button-inner - Used to style the button inner element
222
- */
223
- let List = List_1 = class List extends webcomponentsBase.b {
224
- constructor() {
225
- super();
226
- /**
227
- * Determines whether the component is indented.
228
- * @default false
229
- * @public
230
- */
231
- this.indent = false;
232
- /**
233
- * Defines the selection mode of the component.
234
- * @default "None"
235
- * @public
236
- */
237
- this.selectionMode = "None";
238
- /**
239
- * Defines the item separator style that is used.
240
- * @default "All"
241
- * @public
242
- */
243
- this.separators = "All";
244
- /**
245
- * Defines whether the component will have growing capability either by pressing a `More` button,
246
- * or via user scroll. In both cases `load-more` event is fired.
247
- *
248
- * **Restrictions:** `growing="Scroll"` is not supported for Internet Explorer,
249
- * on IE the component will fallback to `growing="Button"`.
250
- * @default "None"
251
- * @since 1.0.0-rc.13
252
- * @public
253
- */
254
- this.growing = "None";
255
- /**
256
- * Defines if the component would display a loading indicator over the list.
257
- * @default false
258
- * @public
259
- * @since 1.0.0-rc.6
260
- */
261
- this.loading = false;
262
- /**
263
- * Defines the delay in milliseconds, after which the loading indicator will show up for this component.
264
- * @default 1000
265
- * @public
266
- */
267
- this.loadingDelay = 1000;
268
- /**
269
- * Defines additional accessibility attributes on different areas of the component.
270
- *
271
- * The accessibilityAttributes object has the following field:
272
- *
273
- * - **growingButton**: `growingButton.name`.
274
- *
275
- * The accessibility attributes support the following values:
276
- *
277
- * - **name**: Defines the accessible ARIA name of the growing button.
278
- * Accepts any string.
279
- *
280
- * **Note:** The `accessibilityAttributes` property is in an experimental state and is a subject to change.
281
- * @default {}
282
- * @public
283
- * @since 2.13.0
284
- */
285
- this.accessibilityAttributes = {};
286
- /**
287
- * Defines the accessible role of the component.
288
- * @public
289
- * @default "List"
290
- * @since 1.0.0-rc.15
291
- */
292
- this.accessibleRole = "List";
293
- /**
294
- * Defines if the entire list is in view port.
295
- * @private
296
- */
297
- this._inViewport = false;
298
- /**
299
- * Defines the active state of the `More` button.
300
- * @private
301
- */
302
- this._loadMoreActive = false;
303
- /**
304
- * Defines the current media query size.
305
- * @default "S"
306
- * @private
307
- */
308
- this.mediaRange = "S";
309
- this._startMarkerOutOfView = false;
310
- this._previouslyFocusedItem = null;
311
- // Indicates that the List is forwarding the focus before or after the internal ul.
312
- this._forwardingFocus = false;
313
- this._itemNavigation = new webcomponentsBase.f$1(this, {
314
- skipItemsSize: PAGE_UP_DOWN_SIZE, // PAGE_UP and PAGE_DOWN will skip trough 10 items
315
- navigationMode: webcomponentsBase.r.Vertical,
316
- getItemsCallback: () => this.getEnabledItems(),
317
- });
318
- this.handleResizeCallback = this._handleResize.bind(this);
319
- this._groupCount = 0;
320
- this._groupItemCount = 0;
321
- this.onItemFocusedBound = this.onItemFocused.bind(this);
322
- this.onForwardAfterBound = this.onForwardAfter.bind(this);
323
- this.onForwardBeforeBound = this.onForwardBefore.bind(this);
324
- this.onItemTabIndexChangeBound = this.onItemTabIndexChange.bind(this);
325
- // Initialize the DragAndDropHandler with the necessary configurations
326
- // The handler will manage the drag and drop operations for the list items.
327
- this._dragAndDropHandler = new ListItemGroup.DragAndDropHandler(this, {
328
- getItems: () => this.items,
329
- getDropIndicator: () => this.dropIndicatorDOM,
330
- useOriginalEvent: true,
331
- });
332
- }
333
- /**
334
- * Returns an array containing the list item instances without the groups in a flat structure.
335
- * @default []
336
- * @since 2.0.0
337
- * @public
338
- */
339
- get listItems() {
340
- return this.getItems();
341
- }
342
- _updateAssociatedLabelsTexts() {
343
- this._associatedDescriptionRefTexts = AccessibilityTextsHelper.p(this);
344
- this._associatedLabelsRefTexts = AccessibilityTextsHelper.E(this);
345
- }
346
- onEnterDOM() {
347
- AccessibilityTextsHelper.y(this, this._updateAssociatedLabelsTexts.bind(this));
348
- webcomponentsBase.f.register(this.getDomRef(), this.handleResizeCallback);
349
- }
350
- onExitDOM() {
351
- AccessibilityTextsHelper.T(this);
352
- this.unobserveListEnd();
353
- this.unobserveListStart();
354
- webcomponentsBase.f.deregister(this.getDomRef(), this.handleResizeCallback);
355
- }
356
- onBeforeRendering() {
357
- this.detachGroupHeaderEvents();
358
- this.prepareListItems();
359
- }
360
- onAfterRendering() {
361
- this.attachGroupHeaderEvents();
362
- if (this.growsOnScroll) {
363
- this.observeListEnd();
364
- this.observeListStart();
365
- }
366
- else {
367
- this.unobserveListEnd();
368
- this.unobserveListStart();
369
- }
370
- if (this.grows) {
371
- this.checkListInViewport();
372
- }
373
- }
374
- attachGroupHeaderEvents() {
375
- // events fired by the group headers are not bubbling through the shadow
376
- // dom of the groups because of capture: false of the custom events
377
- this.getItems().forEach(item => {
378
- if (item.hasAttribute("ui5-li-group-header")) {
379
- item.addEventListener("ui5-_focused", this.onItemFocusedBound);
380
- item.addEventListener("ui5-forward-after", this.onForwardAfterBound);
381
- item.addEventListener("ui5-forward-before", this.onForwardBeforeBound);
382
- }
383
- });
384
- }
385
- detachGroupHeaderEvents() {
386
- this.getItems().forEach(item => {
387
- if (item.hasAttribute("ui5-li-group-header")) {
388
- item.removeEventListener("ui5-_focused", this.onItemFocusedBound);
389
- item.removeEventListener("ui5-forward-after", this.onForwardAfterBound);
390
- item.removeEventListener("ui5-forward-before", this.onForwardBeforeBound);
391
- }
392
- });
393
- }
394
- getFocusDomRef() {
395
- return this._itemNavigation._getCurrentItem();
396
- }
397
- get shouldRenderH1() {
398
- return !this.header.length && this.headerText;
399
- }
400
- get headerID() {
401
- return `${this._id}-header`;
402
- }
403
- get modeLabelID() {
404
- return `${this._id}-modeLabel`;
405
- }
406
- get listEndDOM() {
407
- return this.shadowRoot.querySelector(".ui5-list-end-marker");
408
- }
409
- get listStartDOM() {
410
- return this.shadowRoot.querySelector(".ui5-list-start-marker");
411
- }
412
- get dropIndicatorDOM() {
413
- return this.shadowRoot.querySelector("[ui5-drop-indicator]");
414
- }
415
- get hasData() {
416
- return this.getItems().length !== 0;
417
- }
418
- get showBusyIndicatorOverlay() {
419
- return !this.growsWithButton && this.loading;
420
- }
421
- get showNoDataText() {
422
- return !this.hasData && this.noDataText;
423
- }
424
- get isDelete() {
425
- return this.selectionMode === ListSelectionMode$1.Delete;
426
- }
427
- get isSingleSelect() {
428
- return [
429
- ListSelectionMode$1.Single,
430
- ListSelectionMode$1.SingleStart,
431
- ListSelectionMode$1.SingleEnd,
432
- ListSelectionMode$1.SingleAuto,
433
- ].includes(this.selectionMode);
434
- }
435
- get isMultiple() {
436
- return this.selectionMode === ListSelectionMode$1.Multiple;
437
- }
438
- get ariaLabelledBy() {
439
- if (this.accessibleNameRef || this.accessibleName) {
440
- return undefined;
441
- }
442
- const ids = [];
443
- if (this.isMultiple || this.isSingleSelect || this.isDelete) {
444
- ids.push(this.modeLabelID);
445
- }
446
- if (this.shouldRenderH1) {
447
- ids.push(this.headerID);
448
- }
449
- return ids.length ? ids.join(" ") : undefined;
450
- }
451
- get ariaLabelTxt() {
452
- return this._associatedLabelsRefTexts || AccessibilityTextsHelper.A(this);
453
- }
454
- get ariaDescriptionText() {
455
- return this._associatedDescriptionRefTexts || AccessibilityTextsHelper.L(this) || this._getDescriptionForGroups();
456
- }
457
- get growingButtonAriaLabel() {
458
- return this.accessibilityAttributes.growingButton?.name;
459
- }
460
- get growingButtonAriaLabelledBy() {
461
- return this.accessibilityAttributes.growingButton?.name ? undefined : `${this._id}-growingButton-text`;
462
- }
463
- hasGrowingComponent() {
464
- if (this.growsOnScroll) {
465
- return this._startMarkerOutOfView;
466
- }
467
- return this.growsWithButton;
468
- }
469
- _getDescriptionForGroups() {
470
- let description = "";
471
- if (this._groupCount > 0) {
472
- if (this.accessibleRole === ListAccessibleRole$1.List) {
473
- description = List_1.i18nBundle.getText(i18nDefaults.LIST_ROLE_LIST_GROUP_DESCRIPTION, this._groupCount, this._groupItemCount);
474
- }
475
- else if (this.accessibleRole === ListAccessibleRole$1.ListBox) {
476
- description = List_1.i18nBundle.getText(i18nDefaults.LIST_ROLE_LISTBOX_GROUP_DESCRIPTION, this._groupCount);
477
- }
478
- }
479
- return description;
480
- }
481
- get ariaLabelModeText() {
482
- if (this.hasData) {
483
- if (this.isMultiple) {
484
- return List_1.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_MULTISELECTABLE);
485
- }
486
- if (this.isSingleSelect) {
487
- return List_1.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_SELECTABLE);
488
- }
489
- if (this.isDelete) {
490
- return List_1.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_DELETABLE);
491
- }
492
- }
493
- return "";
494
- }
495
- get grows() {
496
- return this.growing !== ListGrowingMode$1.None;
497
- }
498
- get growsOnScroll() {
499
- return this.growing === ListGrowingMode$1.Scroll;
500
- }
501
- get growsWithButton() {
502
- return this.growing === ListGrowingMode$1.Button;
503
- }
504
- get _growingButtonText() {
505
- return this.growingButtonText || List_1.i18nBundle.getText(i18nDefaults.LOAD_MORE_TEXT);
506
- }
507
- get listAccessibleRole() {
508
- return toLowercaseEnumValue.n(this.accessibleRole);
509
- }
510
- get classes() {
511
- return {
512
- root: {
513
- "ui5-list-root": true,
514
- },
515
- };
516
- }
517
- prepareListItems() {
518
- const slottedItems = this.getItemsForProcessing();
519
- slottedItems.forEach((item, key) => {
520
- const isLastChild = key === slottedItems.length - 1;
521
- const showBottomBorder = this.separators === ListSeparator$1.All
522
- || (this.separators === ListSeparator$1.Inner && !isLastChild);
523
- if (item.hasConfigurableMode) {
524
- item._selectionMode = this.selectionMode;
525
- }
526
- item.hasBorder = showBottomBorder;
527
- item.mediaRange = this.mediaRange;
528
- });
529
- }
530
- async observeListEnd() {
531
- await Icons.f$1();
532
- this.getEndIntersectionObserver().observe(this.listEndDOM);
533
- }
534
- unobserveListEnd() {
535
- if (this._endIntersectionObserver) {
536
- this._endIntersectionObserver.disconnect();
537
- this._endIntersectionObserver = null;
538
- }
539
- }
540
- async observeListStart() {
541
- await Icons.f$1();
542
- this.getStartIntersectionObserver().observe(this.listStartDOM);
543
- }
544
- unobserveListStart() {
545
- if (this._startIntersectionObserver) {
546
- this._startIntersectionObserver.disconnect();
547
- this._startIntersectionObserver = null;
548
- }
549
- }
550
- onEndIntersection(entries) {
551
- entries.forEach(entry => {
552
- if (entry.isIntersecting) {
553
- u(this.loadMore.bind(this), INFINITE_SCROLL_DEBOUNCE_RATE);
554
- }
555
- });
556
- }
557
- onStartIntersection(entries) {
558
- entries.forEach(entry => {
559
- this._startMarkerOutOfView = !entry.isIntersecting;
560
- });
561
- }
562
- /*
563
- * ITEM SELECTION BASED ON THE CURRENT MODE
564
- */
565
- onSelectionRequested(e) {
566
- const previouslySelectedItems = this.getSelectedItems();
567
- let selectionChange = false;
568
- if (this.selectionMode !== ListSelectionMode$1.None && this[`handle${this.selectionMode}`]) {
569
- selectionChange = this[`handle${this.selectionMode}`](e.detail.item, !!e.detail.selected);
570
- }
571
- if (selectionChange) {
572
- const changePrevented = !this.fireDecoratorEvent("selection-change", {
573
- selectedItems: this.getSelectedItems(),
574
- previouslySelectedItems,
575
- selectionComponentPressed: e.detail.selectionComponentPressed,
576
- targetItem: e.detail.item,
577
- key: e.detail.key,
578
- });
579
- if (changePrevented) {
580
- this._revertSelection(previouslySelectedItems);
581
- }
582
- }
583
- }
584
- handleSingle(item) {
585
- if (item.selected) {
586
- return false;
587
- }
588
- this.deselectSelectedItems();
589
- item.selected = true;
590
- return true;
591
- }
592
- handleSingleStart(item) {
593
- return this.handleSingle(item);
594
- }
595
- handleSingleEnd(item) {
596
- return this.handleSingle(item);
597
- }
598
- handleSingleAuto(item) {
599
- return this.handleSingle(item);
600
- }
601
- handleMultiple(item, selected) {
602
- item.selected = selected;
603
- return true;
604
- }
605
- handleDelete(item) {
606
- this.fireDecoratorEvent("item-delete", { item });
607
- return true;
608
- }
609
- deselectSelectedItems() {
610
- this.getSelectedItems().forEach(item => { item.selected = false; });
611
- }
612
- getSelectedItems() {
613
- return this.getItems().filter(item => item.selected);
614
- }
615
- getEnabledItems() {
616
- return this.getItems().filter(item => item._focusable);
617
- }
618
- getItems() {
619
- // drill down when we see ui5-li-group and get the items
620
- const items = [];
621
- const slottedItems = this.getSlottedNodes("items");
622
- let groupCount = 0;
623
- let groupItemCount = 0;
624
- slottedItems.forEach(item => {
625
- if (ListItemGroup.isInstanceOfListItemGroup(item)) {
626
- const groupItems = [item.groupHeaderItem, ...item.items.filter(listItem => listItem.assignedSlot)].filter(Boolean);
627
- items.push(...groupItems);
628
- groupCount++;
629
- // subtract group itself for proper group header item count
630
- groupItemCount += groupItems.length - 1;
631
- }
632
- else {
633
- item.assignedSlot && items.push(item);
634
- }
635
- });
636
- this._groupCount = groupCount;
637
- this._groupItemCount = groupItemCount;
638
- return items;
639
- }
640
- getItemsForProcessing() {
641
- return this.getItems();
642
- }
643
- _revertSelection(previouslySelectedItems) {
644
- this.getItems().forEach((item) => {
645
- const oldSelection = previouslySelectedItems.indexOf(item) !== -1;
646
- const multiSelectCheckBox = item.shadowRoot.querySelector(".ui5-li-multisel-cb");
647
- const singleSelectRadioButton = item.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");
648
- item.selected = oldSelection;
649
- if (multiSelectCheckBox) {
650
- multiSelectCheckBox.checked = oldSelection;
651
- }
652
- else if (singleSelectRadioButton) {
653
- singleSelectRadioButton.checked = oldSelection;
654
- }
655
- });
656
- }
657
- _onkeydown(e) {
658
- if (webcomponentsBase.n(e)) {
659
- this._handleEnd();
660
- e.preventDefault();
661
- return;
662
- }
663
- if (webcomponentsBase.M(e)) {
664
- this._handleHome();
665
- return;
666
- }
667
- if (webcomponentsBase._(e)) {
668
- this._handleDown();
669
- e.preventDefault();
670
- return;
671
- }
672
- if (webcomponentsBase.C(e)) {
673
- this._moveItem(e.target, e);
674
- return;
675
- }
676
- if (webcomponentsBase.x(e)) {
677
- this._handleTabNext(e);
678
- }
679
- }
680
- _moveItem(item, e) {
681
- if (!item || !item.movable) {
682
- return;
683
- }
684
- const closestPositions = ListItemGroup.k(this.items, item, e);
685
- if (!closestPositions.length) {
686
- return;
687
- }
688
- e.preventDefault();
689
- const acceptedPosition = closestPositions.find(({ element, placement }) => {
690
- return !this.fireDecoratorEvent("move-over", {
691
- originalEvent: e,
692
- source: {
693
- element: item,
694
- },
695
- destination: {
696
- element,
697
- placement,
698
- },
699
- });
700
- });
701
- if (acceptedPosition) {
702
- this.fireDecoratorEvent("move", {
703
- originalEvent: e,
704
- source: {
705
- element: item,
706
- },
707
- destination: {
708
- element: acceptedPosition.element,
709
- placement: acceptedPosition.placement,
710
- },
711
- });
712
- item.focus();
713
- }
714
- }
715
- _onLoadMoreKeydown(e) {
716
- if (webcomponentsBase.A(e)) {
717
- e.preventDefault();
718
- this._loadMoreActive = true;
719
- }
720
- if (webcomponentsBase.b$1(e)) {
721
- this._onLoadMoreClick();
722
- this._loadMoreActive = true;
723
- }
724
- if (webcomponentsBase.x(e)) {
725
- this.focusAfterElement();
726
- }
727
- if (webcomponentsBase.P(e)) {
728
- this._handleLodeMoreUp(e);
729
- return;
730
- }
731
- if (webcomponentsBase.V(e)) {
732
- if (this.getPreviouslyFocusedItem()) {
733
- this.focusPreviouslyFocusedItem();
734
- }
735
- else {
736
- this.focusFirstItem();
737
- }
738
- e.preventDefault();
739
- }
740
- }
741
- _onLoadMoreKeyup(e) {
742
- if (webcomponentsBase.A(e)) {
743
- this._onLoadMoreClick();
744
- }
745
- this._loadMoreActive = false;
746
- }
747
- _onLoadMoreMousedown() {
748
- this._loadMoreActive = true;
749
- }
750
- _onLoadMoreMouseup() {
751
- this._loadMoreActive = false;
752
- }
753
- _onLoadMoreClick() {
754
- this.loadMore();
755
- }
756
- _handleLodeMoreUp(e) {
757
- const growingButton = this.getGrowingButton();
758
- if (growingButton === e.target) {
759
- const items = this.getItems();
760
- const lastItem = items[items.length - 1];
761
- this.focusItem(lastItem);
762
- e.preventDefault();
763
- e.stopImmediatePropagation();
764
- }
765
- }
766
- checkListInViewport() {
767
- this._inViewport = n(this.getDomRef());
768
- }
769
- loadMore() {
770
- if (this.hasGrowingComponent()) {
771
- this.fireDecoratorEvent("load-more");
772
- }
773
- }
774
- _handleResize() {
775
- this.checkListInViewport();
776
- const width = this.getBoundingClientRect().width;
777
- this.mediaRange = webcomponentsBase.i$2.getCurrentRange(webcomponentsBase.i$2.RANGESETS.RANGE_4STEPS, width);
778
- }
779
- /*
780
- * KEYBOARD SUPPORT
781
- */
782
- _handleTabNext(e) {
783
- t(e.target);
784
- {
785
- return;
786
- }
787
- }
788
- _handleHome() {
789
- if (!this.growsWithButton) {
790
- return;
791
- }
792
- this.focusFirstItem();
793
- }
794
- _handleEnd() {
795
- if (!this.growsWithButton) {
796
- return;
797
- }
798
- this._shouldFocusGrowingButton();
799
- }
800
- _handleDown() {
801
- if (!this.growsWithButton) {
802
- return;
803
- }
804
- this._shouldFocusGrowingButton();
805
- }
806
- _onfocusin(e) {
807
- const target = t(e.target);
808
- // If the focusin event does not origin from one of the 'triggers' - ignore it.
809
- if (!this.isForwardElement(target)) {
810
- return;
811
- }
812
- // The focus arrives in the List for the first time.
813
- // If there is selected item - focus it or focus the first item.
814
- if (!this.getPreviouslyFocusedItem()) {
815
- if (this.growsWithButton && this.isForwardAfterElement(target)) {
816
- this.focusGrowingButton();
817
- }
818
- else {
819
- this.focusFirstItem();
820
- }
821
- e.stopImmediatePropagation();
822
- return;
823
- }
824
- // The focus returns to the List,
825
- // focus the first selected item or the previously focused element.
826
- if (!this.getForwardingFocus()) {
827
- if (this.growsWithButton && this.isForwardAfterElement(target)) {
828
- this.focusGrowingButton();
829
- e.stopImmediatePropagation();
830
- return;
831
- }
832
- this.focusPreviouslyFocusedItem();
833
- }
834
- e.stopImmediatePropagation();
835
- this.setForwardingFocus(false);
836
- }
837
- _ondragenter(e) {
838
- this._dragAndDropHandler.ondragenter(e);
839
- }
840
- _ondragleave(e) {
841
- this._dragAndDropHandler.ondragleave(e);
842
- }
843
- _ondragover(e) {
844
- this._dragAndDropHandler.ondragover(e);
845
- }
846
- _ondrop(e) {
847
- this._dragAndDropHandler.ondrop(e);
848
- }
849
- isForwardElement(element) {
850
- const elementId = element.id;
851
- const beforeElement = this.getBeforeElement();
852
- if (this._id === elementId || (beforeElement && beforeElement.id === elementId)) {
853
- return true;
854
- }
855
- return this.isForwardAfterElement(element);
856
- }
857
- isForwardAfterElement(element) {
858
- const elementId = element.id;
859
- const afterElement = this.getAfterElement();
860
- return afterElement && afterElement.id === elementId;
861
- }
862
- onItemTabIndexChange(e) {
863
- e.stopPropagation();
864
- const target = e.target;
865
- this._itemNavigation.setCurrentItem(target);
866
- }
867
- onItemFocused(e) {
868
- const target = e.target;
869
- e.stopPropagation();
870
- this._itemNavigation.setCurrentItem(target);
871
- this.fireDecoratorEvent("item-focused", { item: target });
872
- if (this.selectionMode === ListSelectionMode$1.SingleAuto) {
873
- const detail = {
874
- item: target,
875
- selectionComponentPressed: false,
876
- selected: true,
877
- key: e.detail.key,
878
- };
879
- this.onSelectionRequested({ detail });
880
- }
881
- }
882
- onItemPress(e) {
883
- const pressedItem = e.detail.item;
884
- if (!this.fireDecoratorEvent("item-click", { item: pressedItem })) {
885
- return;
886
- }
887
- if (this.selectionMode !== ListSelectionMode$1.Delete) {
888
- const detail = {
889
- item: pressedItem,
890
- selectionComponentPressed: false,
891
- selected: !pressedItem.selected,
892
- key: e.detail.key,
893
- };
894
- this.onSelectionRequested({ detail });
895
- }
896
- }
897
- // This is applicable to NotificationListItem
898
- onItemClose(e) {
899
- const target = e.target;
900
- const shouldFireItemClose = target?.hasAttribute("ui5-li-notification") || target?.hasAttribute("ui5-li-notification-group");
901
- if (shouldFireItemClose) {
902
- this.fireDecoratorEvent("item-close", { item: e.detail?.item });
903
- }
904
- }
905
- onItemToggle(e) {
906
- if (!e.target?.isListItemBase) {
907
- return;
908
- }
909
- this.fireDecoratorEvent("item-toggle", { item: e.detail.item });
910
- }
911
- onForwardBefore(e) {
912
- this.setPreviouslyFocusedItem(e.target);
913
- this.focusBeforeElement();
914
- e.stopPropagation();
915
- }
916
- onForwardAfter(e) {
917
- this.setPreviouslyFocusedItem(e.target);
918
- if (!this.growsWithButton) {
919
- this.focusAfterElement();
920
- }
921
- else {
922
- this.focusGrowingButton();
923
- e.preventDefault();
924
- }
925
- e.stopPropagation();
926
- }
927
- focusBeforeElement() {
928
- this.setForwardingFocus(true);
929
- this.getBeforeElement().focus();
930
- }
931
- focusAfterElement() {
932
- this.setForwardingFocus(true);
933
- this.getAfterElement().focus();
934
- }
935
- focusGrowingButton() {
936
- const growingBtn = this.getGrowingButton();
937
- if (growingBtn) {
938
- growingBtn.focus();
939
- }
940
- }
941
- _shouldFocusGrowingButton() {
942
- const items = this.getItems();
943
- const lastIndex = items.length - 1;
944
- const currentIndex = this._itemNavigation._currentIndex;
945
- if (currentIndex !== -1 && currentIndex === lastIndex) {
946
- this.focusGrowingButton();
947
- }
948
- }
949
- getGrowingButton() {
950
- return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`);
951
- }
952
- /**
953
- * Focuses the first list item and sets its tabindex to "0" via the ItemNavigation
954
- * @protected
955
- */
956
- focusFirstItem() {
957
- // only enabled items are focusable
958
- const firstItem = this.getFirstItem(x => x._focusable);
959
- if (firstItem) {
960
- firstItem.focus();
961
- }
962
- }
963
- focusPreviouslyFocusedItem() {
964
- const previouslyFocusedItem = this.getPreviouslyFocusedItem();
965
- if (previouslyFocusedItem) {
966
- previouslyFocusedItem.focus();
967
- }
968
- }
969
- focusFirstSelectedItem() {
970
- // only enabled items are focusable
971
- const firstSelectedItem = this.getFirstItem(x => x.selected && x._focusable);
972
- if (firstSelectedItem) {
973
- firstSelectedItem.focus();
974
- }
975
- }
976
- /**
977
- * Focuses a list item and sets its tabindex to "0" via the ItemNavigation
978
- * @protected
979
- * @param item
980
- */
981
- focusItem(item) {
982
- this._itemNavigation.setCurrentItem(item);
983
- item.focus();
984
- }
985
- onFocusRequested(e) {
986
- setTimeout(() => {
987
- this.setPreviouslyFocusedItem(e.target);
988
- this.focusPreviouslyFocusedItem();
989
- }, 0);
990
- }
991
- setForwardingFocus(forwardingFocus) {
992
- this._forwardingFocus = forwardingFocus;
993
- }
994
- getForwardingFocus() {
995
- return this._forwardingFocus;
996
- }
997
- setPreviouslyFocusedItem(item) {
998
- this._previouslyFocusedItem = item;
999
- }
1000
- getPreviouslyFocusedItem() {
1001
- return this._previouslyFocusedItem;
1002
- }
1003
- getFirstItem(filter) {
1004
- const slottedItems = this.getItems();
1005
- let firstItem = null;
1006
- if (!filter) {
1007
- return slottedItems.length ? slottedItems[0] : null;
1008
- }
1009
- for (let i = 0; i < slottedItems.length; i++) {
1010
- if (filter(slottedItems[i])) {
1011
- firstItem = slottedItems[i];
1012
- break;
1013
- }
1014
- }
1015
- return firstItem;
1016
- }
1017
- getAfterElement() {
1018
- if (!this._afterElement) {
1019
- this._afterElement = this.shadowRoot.querySelector(`[id="${this._id}-after"]`);
1020
- }
1021
- return this._afterElement;
1022
- }
1023
- getBeforeElement() {
1024
- if (!this._beforeElement) {
1025
- this._beforeElement = this.shadowRoot.querySelector(`[id="${this._id}-before"]`);
1026
- }
1027
- return this._beforeElement;
1028
- }
1029
- getEndIntersectionObserver() {
1030
- if (!this._endIntersectionObserver) {
1031
- this._endIntersectionObserver = new IntersectionObserver(this.onEndIntersection.bind(this), {
1032
- root: null, // null means the viewport
1033
- rootMargin: "0px",
1034
- threshold: 1.0,
1035
- });
1036
- }
1037
- return this._endIntersectionObserver;
1038
- }
1039
- getStartIntersectionObserver() {
1040
- if (!this._startIntersectionObserver) {
1041
- this._startIntersectionObserver = new IntersectionObserver(this.onStartIntersection.bind(this), {
1042
- root: null, // null means the viewport
1043
- rootMargin: "0px",
1044
- threshold: 1.0,
1045
- });
1046
- }
1047
- return this._startIntersectionObserver;
1048
- }
1049
- };
1050
- __decorate([
1051
- webcomponentsBase.s()
1052
- ], List.prototype, "headerText", void 0);
1053
- __decorate([
1054
- webcomponentsBase.s()
1055
- ], List.prototype, "footerText", void 0);
1056
- __decorate([
1057
- webcomponentsBase.s({ type: Boolean })
1058
- ], List.prototype, "indent", void 0);
1059
- __decorate([
1060
- webcomponentsBase.s()
1061
- ], List.prototype, "selectionMode", void 0);
1062
- __decorate([
1063
- webcomponentsBase.s()
1064
- ], List.prototype, "noDataText", void 0);
1065
- __decorate([
1066
- webcomponentsBase.s()
1067
- ], List.prototype, "separators", void 0);
1068
- __decorate([
1069
- webcomponentsBase.s()
1070
- ], List.prototype, "growing", void 0);
1071
- __decorate([
1072
- webcomponentsBase.s()
1073
- ], List.prototype, "growingButtonText", void 0);
1074
- __decorate([
1075
- webcomponentsBase.s({ type: Boolean })
1076
- ], List.prototype, "loading", void 0);
1077
- __decorate([
1078
- webcomponentsBase.s({ type: Number })
1079
- ], List.prototype, "loadingDelay", void 0);
1080
- __decorate([
1081
- webcomponentsBase.s()
1082
- ], List.prototype, "accessibleName", void 0);
1083
- __decorate([
1084
- webcomponentsBase.s({ type: Object })
1085
- ], List.prototype, "accessibilityAttributes", void 0);
1086
- __decorate([
1087
- webcomponentsBase.s()
1088
- ], List.prototype, "accessibleNameRef", void 0);
1089
- __decorate([
1090
- webcomponentsBase.s()
1091
- ], List.prototype, "accessibleDescription", void 0);
1092
- __decorate([
1093
- webcomponentsBase.s()
1094
- ], List.prototype, "accessibleDescriptionRef", void 0);
1095
- __decorate([
1096
- webcomponentsBase.s({ noAttribute: true })
1097
- ], List.prototype, "_associatedDescriptionRefTexts", void 0);
1098
- __decorate([
1099
- webcomponentsBase.s({ noAttribute: true })
1100
- ], List.prototype, "_associatedLabelsRefTexts", void 0);
1101
- __decorate([
1102
- webcomponentsBase.s()
1103
- ], List.prototype, "accessibleRole", void 0);
1104
- __decorate([
1105
- webcomponentsBase.s({ type: Boolean })
1106
- ], List.prototype, "_inViewport", void 0);
1107
- __decorate([
1108
- webcomponentsBase.s({ type: Boolean })
1109
- ], List.prototype, "_loadMoreActive", void 0);
1110
- __decorate([
1111
- webcomponentsBase.s()
1112
- ], List.prototype, "mediaRange", void 0);
1113
- __decorate([
1114
- webcomponentsBase.d({
1115
- type: HTMLElement,
1116
- "default": true,
1117
- invalidateOnChildChange: true,
1118
- })
1119
- ], List.prototype, "items", void 0);
1120
- __decorate([
1121
- webcomponentsBase.d()
1122
- ], List.prototype, "header", void 0);
1123
- __decorate([
1124
- parametersBundle_css$1.i("sap/ushell/gen/ui5/webcomponents")
1125
- ], List, "i18nBundle", void 0);
1126
- List = List_1 = __decorate([
1127
- webcomponentsBase.m({
1128
- tag: "ui5-list",
1129
- fastNavigation: true,
1130
- renderer: parametersBundle_css.y,
1131
- template: ListTemplate,
1132
- styles: [
1133
- listCss,
1134
- ],
1135
- })
1136
- /**
1137
- * Fired when an item is activated, unless the item's `type` property
1138
- * is set to `Inactive`.
1139
- *
1140
- * **Note**: This event is not triggered by interactions with selection components such as the checkboxes and radio buttons,
1141
- * associated with non-default `selectionMode` values, or if any other **interactive** component
1142
- * (such as a button or input) within the list item is directly clicked.
1143
- * @param {HTMLElement} item The clicked item.
1144
- * @public
1145
- */
1146
- ,
1147
- eventStrict.l("item-click", {
1148
- bubbles: true,
1149
- cancelable: true,
1150
- })
1151
- /**
1152
- * Fired when the `Close` button of any item is clicked
1153
- *
1154
- * **Note:** This event is only applicable to list items that can be closed (such as notification list items),
1155
- * not to be confused with `item-delete`.
1156
- * @param {HTMLElement} item the item about to be closed.
1157
- * @public
1158
- * @since 1.0.0-rc.8
1159
- */
1160
- ,
1161
- eventStrict.l("item-close", {
1162
- bubbles: true,
1163
- })
1164
- /**
1165
- * Fired when the `Toggle` button of any item is clicked.
1166
- *
1167
- * **Note:** This event is only applicable to list items that can be toggled (such as notification group list items).
1168
- * @param {HTMLElement} item the toggled item.
1169
- * @public
1170
- * @since 1.0.0-rc.8
1171
- */
1172
- ,
1173
- eventStrict.l("item-toggle", {
1174
- bubbles: true,
1175
- })
1176
- /**
1177
- * Fired when the Delete button of any item is pressed.
1178
- *
1179
- * **Note:** A Delete button is displayed on each item,
1180
- * when the component `selectionMode` property is set to `Delete`.
1181
- * @param {HTMLElement} item the deleted item.
1182
- * @public
1183
- */
1184
- ,
1185
- eventStrict.l("item-delete", {
1186
- bubbles: true,
1187
- })
1188
- /**
1189
- * Fired when selection is changed by user interaction
1190
- * in `Single`, `SingleStart`, `SingleEnd` and `Multiple` selection modes.
1191
- * @param {Array<ListItemBase>} selectedItems An array of the selected items.
1192
- * @param {Array<ListItemBase>} previouslySelectedItems An array of the previously selected items.
1193
- * @public
1194
- */
1195
- ,
1196
- eventStrict.l("selection-change", {
1197
- bubbles: true,
1198
- cancelable: true,
1199
- })
1200
- /**
1201
- * Fired when the user scrolls to the bottom of the list.
1202
- *
1203
- * **Note:** The event is fired when the `growing='Scroll'` property is enabled.
1204
- * @public
1205
- * @since 1.0.0-rc.6
1206
- */
1207
- ,
1208
- eventStrict.l("load-more", {
1209
- bubbles: true,
1210
- })
1211
- /**
1212
- * @private
1213
- */
1214
- ,
1215
- eventStrict.l("item-focused", {
1216
- bubbles: true,
1217
- })
1218
- /**
1219
- * Fired when a movable list item is moved over a potential drop target during a dragging operation.
1220
- *
1221
- * If the new position is valid, prevent the default action of the event using `preventDefault()`.
1222
- * @param {object} source Contains information about the moved element under `element` property.
1223
- * @param {object} destination Contains information about the destination of the moved element. Has `element` and `placement` properties.
1224
- * @public
1225
- * @since 2.0.0
1226
- */
1227
- ,
1228
- eventStrict.l("move-over", {
1229
- bubbles: true,
1230
- cancelable: true,
1231
- })
1232
- /**
1233
- * Fired when a movable list item is dropped onto a drop target.
1234
- *
1235
- * **Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.
1236
- * @param {object} source Contains information about the moved element under `element` property.
1237
- * @param {object} destination Contains information about the destination of the moved element. Has `element` and `placement` properties.
1238
- * @public
1239
- */
1240
- ,
1241
- eventStrict.l("move", {
1242
- bubbles: true,
1243
- })
1244
- ], List);
1245
- List.define();
1246
- var List$1 = List;
1247
-
1248
- exports.List = List$1;
1249
- exports.ListAccessibleRole = ListAccessibleRole$1;
1250
- exports.ListSelectionMode = ListSelectionMode$1;
1251
- exports.ListSeparator = ListSeparator$1;
1252
-
1253
- }));