@sapui5/sap.ushell 1.138.0 → 1.139.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (757) hide show
  1. package/package.json +1 -1
  2. package/src/main/js/sap/ushell/.library +1 -1
  3. package/src/main/js/sap/ushell/ApplicationType/UrlPostProcessing.js +14 -10
  4. package/src/main/js/sap/ushell/ApplicationType/wcfResolution.js +32 -26
  5. package/src/main/js/sap/ushell/Container.js +0 -1
  6. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  7. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  8. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  9. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  10. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  16. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  17. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +12 -12
  18. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  19. package/src/main/js/sap/ushell/User.js +32 -12
  20. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cep/MenuAdapter.js +12 -58
  46. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  66. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  67. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  68. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +3 -5
  69. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +14 -1
  70. package/src/main/js/sap/ushell/appIntegration/ApplicationHandle.js +8 -3
  71. package/src/main/js/sap/ushell/appIntegration/IframeApplicationContainer.js +8 -8
  72. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/AppruntimeHandler.js +17 -12
  73. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ExtensionItems.js +6 -23
  74. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/LifecycleHandler.js +112 -92
  75. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/NWBCHandler.js +15 -7
  76. package/src/main/js/sap/ushell/appIntegration/PostMessageManager/ServiceHandler.js +257 -214
  77. package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +347 -117
  78. package/src/main/js/sap/ushell/appIntegration/UI5ApplicationContainer.js +1 -0
  79. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +15 -19
  80. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV1Handler.js +15 -14
  81. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +38 -40
  82. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -8
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +25 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  96. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  97. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  98. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  99. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  100. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  101. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  102. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  103. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  104. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  105. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  106. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/StepConfiguration.json +0 -2
  107. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  108. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  109. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  110. package/src/main/js/sap/ushell/bootstrap/common/common.create.configcontract.core.js +4 -1
  111. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  112. package/src/main/js/sap/ushell/components/CatalogsManager.js +157 -157
  113. package/src/main/js/sap/ushell/components/ComponentKeysHandler.js +180 -187
  114. package/src/main/js/sap/ushell/components/DestroyHelper.js +4 -4
  115. package/src/main/js/sap/ushell/components/GroupsHelper.js +21 -21
  116. package/src/main/js/sap/ushell/components/HomepageManager.js +465 -424
  117. package/src/main/js/sap/ushell/components/MessagingHelper.js +24 -24
  118. package/src/main/js/sap/ushell/components/SharedComponentUtils.js +16 -16
  119. package/src/main/js/sap/ushell/components/_HomepageManager/DashboardLoadingManager.js +43 -43
  120. package/src/main/js/sap/ushell/components/_HomepageManager/PagingManager.js +43 -39
  121. package/src/main/js/sap/ushell/components/_HomepageManager/PersistentPageOperationAdapter.js +166 -175
  122. package/src/main/js/sap/ushell/components/_HomepageManager/TransientPageOperationAdapter.js +57 -57
  123. package/src/main/js/sap/ushell/components/appfinder/AppFinder.controller.js +96 -99
  124. package/src/main/js/sap/ushell/components/appfinder/AppFinderView.js +27 -21
  125. package/src/main/js/sap/ushell/components/appfinder/Catalog.controller.js +180 -178
  126. package/src/main/js/sap/ushell/components/appfinder/CatalogView.js +56 -56
  127. package/src/main/js/sap/ushell/components/appfinder/Component.js +12 -16
  128. package/src/main/js/sap/ushell/components/appfinder/EasyAccess.controller.js +129 -133
  129. package/src/main/js/sap/ushell/components/appfinder/EasyAccessView.js +10 -10
  130. package/src/main/js/sap/ushell/components/appfinder/GroupListPopover.controller.js +22 -22
  131. package/src/main/js/sap/ushell/components/appfinder/GroupListPopoverView.js +14 -14
  132. package/src/main/js/sap/ushell/components/appfinder/HierarchyApps.controller.js +75 -78
  133. package/src/main/js/sap/ushell/components/appfinder/HierarchyAppsView.js +24 -27
  134. package/src/main/js/sap/ushell/components/appfinder/HierarchyFolders.controller.js +44 -46
  135. package/src/main/js/sap/ushell/components/appfinder/HierarchyFoldersView.js +22 -22
  136. package/src/main/js/sap/ushell/components/appfinder/VisualizationOrganizerHelper.js +28 -28
  137. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  138. package/src/main/js/sap/ushell/components/cards/Card.controller.js +16 -20
  139. package/src/main/js/sap/ushell/components/cards/Configuration.controller.js +35 -37
  140. package/src/main/js/sap/ushell/components/cards/ManifestPropertyHelper.js +32 -34
  141. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.controller.js +7 -12
  142. package/src/main/js/sap/ushell/components/cepsearchresult/app/Main.view.xml +2 -9
  143. package/src/main/js/sap/ushell/components/cepsearchresult/app/cards/searchresultwidget/Extension.js +0 -1
  144. package/src/main/js/sap/ushell/components/cepsearchresult/app/css/style.css +58 -0
  145. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/AdvancedFormatters.js +0 -1
  146. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/Edition.js +0 -1
  147. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/EditionAdvanced.js +0 -1
  148. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/appendStyleVars.js +0 -1
  149. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Category.js +13 -13
  150. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Highlighter.js +2 -5
  151. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/Paginator.js +0 -2
  152. package/src/main/js/sap/ushell/components/cepsearchresult/app/util/controls/categories/Event.js +4 -3
  153. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +8 -9
  154. package/src/main/js/sap/ushell/components/contentFinder/Component.js +2 -2
  155. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -3
  156. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  157. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +2 -2
  158. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  159. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  160. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLListBinding.js +3 -5
  161. package/src/main/js/sap/ushell/components/contentFinder/model/GraphQLModel.js +2 -2
  162. package/src/main/js/sap/ushell/components/contentFinder/model/formatter.js +13 -6
  163. package/src/main/js/sap/ushell/components/contentFinder/resources/resources.properties +3 -3
  164. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_en_US_saprigi.properties +1 -1
  165. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearch.view.xml +2 -14
  166. package/src/main/js/sap/ushell/components/contentFinder/view/AppSearchCategoryTreeTable.fragment.xml +14 -7
  167. package/src/main/js/sap/ushell/components/contentFinder/view/VisualizationsNoDataIllustratedMessage.fragment.xml +1 -1
  168. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +2 -2
  169. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +2 -4
  170. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  171. package/src/main/js/sap/ushell/components/factsheet/Component.js +13 -8
  172. package/src/main/js/sap/ushell/components/factsheet/annotation/Mapping.js +166 -118
  173. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTile.js +20 -16
  174. package/src/main/js/sap/ushell/components/factsheet/controls/PictureTileRenderer.js +3 -3
  175. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewer.js +84 -77
  176. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerItem.js +4 -4
  177. package/src/main/js/sap/ushell/components/factsheet/controls/PictureViewerRenderer.js +2 -2
  178. package/src/main/js/sap/ushell/components/factsheet/factory/ThingInspector.js +1356 -1139
  179. package/src/main/js/sap/ushell/components/factsheet/tools/ODataUrlTemplating.js +9 -5
  180. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.controller.js +1 -1
  181. package/src/main/js/sap/ushell/components/factsheet/views/ThingViewer.view.js +9 -6
  182. package/src/main/js/sap/ushell/components/homeApp/error/Component.js +1 -1
  183. package/src/main/js/sap/ushell/components/homeApp/error/HomeAppError.controller.js +4 -4
  184. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +51 -48
  185. package/src/main/js/sap/ushell/components/homepage/Component.js +11 -11
  186. package/src/main/js/sap/ushell/components/homepage/DashboardContent.controller.js +185 -192
  187. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +60 -50
  188. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +199 -202
  189. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +152 -160
  190. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  191. package/src/main/js/sap/ushell/components/pages/ActionMode.js +72 -74
  192. package/src/main/js/sap/ushell/components/pages/Component.js +7 -32
  193. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +46 -46
  194. package/src/main/js/sap/ushell/components/pages/StateManager.js +9 -10
  195. package/src/main/js/sap/ushell/components/pages/controller/MyHome.controller.js +4 -4
  196. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +243 -215
  197. package/src/main/js/sap/ushell/components/pages/controller/PagesAndSpaceId.js +23 -24
  198. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  199. package/src/main/js/sap/ushell/components/runtimeSwitcher/Component.js +1 -1
  200. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +60 -70
  201. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  202. package/src/main/js/sap/ushell/components/shell/FloatingContainer/Component.js +0 -5
  203. package/src/main/js/sap/ushell/components/shell/FloatingContainer/controls/FloatingContainer.js +3 -3
  204. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  205. package/src/main/js/sap/ushell/components/shell/MenuBar/Component.js +18 -50
  206. package/src/main/js/sap/ushell/components/shell/MenuBar/controller/MenuBar.controller.js +73 -83
  207. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  208. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/Component.js +1 -1
  209. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +49 -50
  210. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +5 -5
  211. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  212. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +35 -33
  213. package/src/main/js/sap/ushell/components/shell/Notifications/Notifications.controller.js +8 -9
  214. package/src/main/js/sap/ushell/components/shell/Notifications/NotificationsList.controller.js +5 -11
  215. package/src/main/js/sap/ushell/components/shell/PostLoadingHeaderEnhancement/Component.js +63 -42
  216. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +20 -22
  217. package/src/main/js/sap/ushell/components/shell/Search/Component.js +20 -12
  218. package/src/main/js/sap/ushell/components/shell/Search/ESearch.js +18 -21
  219. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  220. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +21 -14
  221. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchCEP.controller.js +204 -250
  222. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +25 -24
  223. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +9 -9
  224. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +4 -4
  225. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +63 -65
  226. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/Component.js +420 -0
  227. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/FrequentActivityProvider.js +84 -0
  228. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/RecentSearchProvider.js +63 -0
  229. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchProvider.js +141 -0
  230. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/SearchProviders/SearchServiceProvider.js +177 -0
  231. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/manifest.json +43 -0
  232. package/src/main/js/sap/ushell/components/shell/SearchCEPNew/resources/resources.properties +17 -0
  233. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +50 -35
  234. package/src/main/js/sap/ushell/components/shell/Settings/ErrorMessageHelper.js +10 -10
  235. package/src/main/js/sap/ushell/components/shell/Settings/UserSettings.controller.js +150 -150
  236. package/src/main/js/sap/ushell/components/shell/Settings/appearance/Appearance.controller.js +66 -63
  237. package/src/main/js/sap/ushell/components/shell/Settings/appearance/AppearanceEntry.js +12 -15
  238. package/src/main/js/sap/ushell/components/shell/Settings/homepage/HomepageEntry.js +34 -37
  239. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsEntry.js +6 -7
  240. package/src/main/js/sap/ushell/components/shell/Settings/notifications/NotificationsSetting.controller.js +46 -48
  241. package/src/main/js/sap/ushell/components/shell/Settings/search/Search.controller.js +4 -4
  242. package/src/main/js/sap/ushell/components/shell/Settings/search/SearchEntry.js +13 -13
  243. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesEntry.js +11 -13
  244. package/src/main/js/sap/ushell/components/shell/Settings/spaces/SpacesSetting.controller.js +41 -42
  245. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountEntry.js +11 -15
  246. package/src/main/js/sap/ushell/components/shell/Settings/userAccount/UserAccountSelector.controller.js +35 -37
  247. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesEntry.js +6 -7
  248. package/src/main/js/sap/ushell/components/shell/Settings/userActivities/UserActivitiesSetting.controller.js +7 -8
  249. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/Component.js +2 -2
  250. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsEntry.js +16 -16
  251. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/UserDefaultsForm.js +17 -17
  252. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/ExtendedValueDialog.controller.js +21 -24
  253. package/src/main/js/sap/ushell/components/shell/Settings/userDefaults/controller/UserDefaultsSetting.controller.js +136 -137
  254. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/LanguageRegionSelector.controller.js +73 -78
  255. package/src/main/js/sap/ushell/components/shell/Settings/userLanguageRegion/UserLanguageRegionEntry.js +8 -8
  256. package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +30 -23
  257. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +34 -22
  258. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
  259. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +21 -9
  260. package/src/main/js/sap/ushell/components/shell/SideNavigation/Component.js +7 -11
  261. package/src/main/js/sap/ushell/components/shell/SideNavigation/controller/SideNavigation.controller.js +3 -3
  262. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
  263. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AllSpaces.js +3 -4
  264. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/AppFinder.js +2 -2
  265. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +8 -3
  266. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericFixedNavigationListProvider.js +2 -2
  267. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/GenericNavigationListProvider.js +2 -2
  268. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/MyHome.js +2 -2
  269. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/NavigationHelper.js +4 -4
  270. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/RecentActivity.js +4 -4
  271. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Spaces.js +5 -6
  272. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/SpacesNavigationListProvider.js +2 -3
  273. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +3 -4
  274. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/UserActionsMenu.controller.js +47 -48
  275. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +27 -30
  276. package/src/main/js/sap/ushell/components/tiles/action/ActionTile.controller.js +55 -55
  277. package/src/main/js/sap/ushell/components/tiles/action/Configuration.controller.js +39 -41
  278. package/src/main/js/sap/ushell/components/tiles/applauncher/Component.js +3 -3
  279. package/src/main/js/sap/ushell/components/tiles/applauncher/Configuration.controller.js +26 -27
  280. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.controller.js +66 -66
  281. package/src/main/js/sap/ushell/components/tiles/applauncher/StaticTile.view.js +5 -5
  282. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Component.js +2 -2
  283. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/Configuration.controller.js +27 -27
  284. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.controller.js +107 -107
  285. package/src/main/js/sap/ushell/components/tiles/applauncherdynamic/DynamicTile.view.js +7 -7
  286. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/Component.js +7 -7
  287. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.controller.js +31 -31
  288. package/src/main/js/sap/ushell/components/tiles/cdm/applauncher/StaticTile.view.js +2 -2
  289. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/Component.js +15 -15
  290. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.controller.js +85 -86
  291. package/src/main/js/sap/ushell/components/tiles/cdm/applauncherdynamic/DynamicTile.view.js +4 -4
  292. package/src/main/js/sap/ushell/components/tiles/generic.js +133 -131
  293. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.controller.js +71 -71
  294. package/src/main/js/sap/ushell/components/tiles/indicatorArea/AreaChartTile.view.js +17 -17
  295. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.controller.js +49 -49
  296. package/src/main/js/sap/ushell/components/tiles/indicatorDual/DualTile.view.js +9 -9
  297. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.controller.js +80 -80
  298. package/src/main/js/sap/ushell/components/tiles/indicatorDualComparison/DualComparison.view.js +3 -3
  299. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.controller.js +74 -75
  300. package/src/main/js/sap/ushell/components/tiles/indicatorDualContribution/DualContribution.view.js +3 -3
  301. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.controller.js +55 -55
  302. package/src/main/js/sap/ushell/components/tiles/indicatorDualDeviation/DualDeviation.view.js +12 -12
  303. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.controller.js +83 -84
  304. package/src/main/js/sap/ushell/components/tiles/indicatorDualTrend/DualTrend.view.js +15 -15
  305. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.controller.js +71 -71
  306. package/src/main/js/sap/ushell/components/tiles/indicatorHarveyBall/HarveyBallTile.view.js +7 -7
  307. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/cache.js +4 -4
  308. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/indicatorTileHelper.js +4 -4
  309. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/oData4Analytics.js +230 -232
  310. package/src/main/js/sap/ushell/components/tiles/indicatorTileUtils/smartBusinessUtil.js +271 -272
  311. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.controller.js +55 -55
  312. package/src/main/js/sap/ushell/components/tiles/indicatorcomparison/ComparisonTile.view.js +4 -4
  313. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.controller.js +53 -53
  314. package/src/main/js/sap/ushell/components/tiles/indicatorcontribution/ContributionTile.view.js +5 -5
  315. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.controller.js +20 -20
  316. package/src/main/js/sap/ushell/components/tiles/indicatordeviation/DeviationTile.view.js +11 -11
  317. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.controller.js +14 -15
  318. package/src/main/js/sap/ushell/components/tiles/indicatornumeric/NumericTile.view.js +10 -10
  319. package/src/main/js/sap/ushell/components/tiles/sbtilecontent.js +6 -6
  320. package/src/main/js/sap/ushell/components/tiles/utils.js +699 -664
  321. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +217 -217
  322. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +4 -8
  323. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +40 -42
  324. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +257 -262
  325. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.layout.js +19 -20
  326. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +6 -6
  327. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +37 -38
  328. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +97 -100
  329. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +81 -82
  330. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnRenderer.js +9 -9
  331. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +38 -39
  332. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRenderer.js +5 -5
  333. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +8 -9
  334. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRowRenderer.js +9 -9
  335. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  336. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +4 -4
  337. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +15 -15
  338. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  339. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  340. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +7 -1
  341. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemGroup.js +90 -0
  342. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +10 -0
  343. package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +19 -11
  344. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/Search.js +144 -0
  345. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItem.js +68 -0
  346. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchItemGroup.js +34 -0
  347. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchMessageArea.js +51 -0
  348. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/SearchScope.js +55 -0
  349. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +5 -0
  350. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +76 -0
  351. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSearch.js +133 -0
  352. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +83 -1
  353. package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +80 -2
  354. package/src/main/js/sap/ushell/library.js +1 -1
  355. package/src/main/js/sap/ushell/navigation/NavigationState.js +126 -0
  356. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  357. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  358. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  359. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  360. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +8 -4
  361. package/src/main/js/sap/ushell/renderer/Renderer.js +19 -7
  362. package/src/main/js/sap/ushell/renderer/Shell.controller.js +11 -5
  363. package/src/main/js/sap/ushell/renderer/Shell.view.js +4 -1
  364. package/src/main/js/sap/ushell/renderer/resources/resources_ar.properties +2 -0
  365. package/src/main/js/sap/ushell/renderer/resources/resources_bg.properties +2 -0
  366. package/src/main/js/sap/ushell/renderer/resources/resources_ca.properties +2 -0
  367. package/src/main/js/sap/ushell/renderer/resources/resources_cnr.properties +2 -0
  368. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +2 -0
  369. package/src/main/js/sap/ushell/renderer/resources/resources_cy.properties +2 -0
  370. package/src/main/js/sap/ushell/renderer/resources/resources_da.properties +2 -0
  371. package/src/main/js/sap/ushell/renderer/resources/resources_de.properties +2 -0
  372. package/src/main/js/sap/ushell/renderer/resources/resources_el.properties +2 -0
  373. package/src/main/js/sap/ushell/renderer/resources/resources_en.properties +2 -0
  374. package/src/main/js/sap/ushell/renderer/resources/resources_en_GB.properties +2 -0
  375. package/src/main/js/sap/ushell/renderer/resources/resources_en_US_saprigi.properties +2 -0
  376. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -0
  377. package/src/main/js/sap/ushell/renderer/resources/resources_es_MX.properties +2 -0
  378. package/src/main/js/sap/ushell/renderer/resources/resources_et.properties +2 -0
  379. package/src/main/js/sap/ushell/renderer/resources/resources_fi.properties +2 -0
  380. package/src/main/js/sap/ushell/renderer/resources/resources_fr.properties +2 -0
  381. package/src/main/js/sap/ushell/renderer/resources/resources_fr_CA.properties +2 -0
  382. package/src/main/js/sap/ushell/renderer/resources/resources_hi.properties +2 -0
  383. package/src/main/js/sap/ushell/renderer/resources/resources_hr.properties +2 -0
  384. package/src/main/js/sap/ushell/renderer/resources/resources_hu.properties +3 -1
  385. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +2 -0
  386. package/src/main/js/sap/ushell/renderer/resources/resources_it.properties +2 -0
  387. package/src/main/js/sap/ushell/renderer/resources/resources_iw.properties +2 -0
  388. package/src/main/js/sap/ushell/renderer/resources/resources_ja.properties +2 -0
  389. package/src/main/js/sap/ushell/renderer/resources/resources_kk.properties +2 -0
  390. package/src/main/js/sap/ushell/renderer/resources/resources_ko.properties +2 -0
  391. package/src/main/js/sap/ushell/renderer/resources/resources_lt.properties +2 -0
  392. package/src/main/js/sap/ushell/renderer/resources/resources_lv.properties +2 -0
  393. package/src/main/js/sap/ushell/renderer/resources/resources_mk.properties +2 -0
  394. package/src/main/js/sap/ushell/renderer/resources/resources_ms.properties +2 -0
  395. package/src/main/js/sap/ushell/renderer/resources/resources_nl.properties +2 -0
  396. package/src/main/js/sap/ushell/renderer/resources/resources_no.properties +2 -0
  397. package/src/main/js/sap/ushell/renderer/resources/resources_pl.properties +2 -0
  398. package/src/main/js/sap/ushell/renderer/resources/resources_pt.properties +2 -0
  399. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +2 -0
  400. package/src/main/js/sap/ushell/renderer/resources/resources_ro.properties +2 -0
  401. package/src/main/js/sap/ushell/renderer/resources/resources_ru.properties +2 -0
  402. package/src/main/js/sap/ushell/renderer/resources/resources_sh.properties +2 -0
  403. package/src/main/js/sap/ushell/renderer/resources/resources_sk.properties +2 -0
  404. package/src/main/js/sap/ushell/renderer/resources/resources_sl.properties +3 -1
  405. package/src/main/js/sap/ushell/renderer/resources/resources_sr.properties +2 -0
  406. package/src/main/js/sap/ushell/renderer/resources/resources_sv.properties +2 -0
  407. package/src/main/js/sap/ushell/renderer/resources/resources_th.properties +2 -0
  408. package/src/main/js/sap/ushell/renderer/resources/resources_tr.properties +2 -0
  409. package/src/main/js/sap/ushell/renderer/resources/resources_uk.properties +2 -0
  410. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +3 -1
  411. package/src/main/js/sap/ushell/renderer/resources/resources_zh_CN.properties +2 -0
  412. package/src/main/js/sap/ushell/renderer/resources/resources_zh_TW.properties +2 -0
  413. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  414. package/src/main/js/sap/ushell/services/AllMyApps.js +5 -5
  415. package/src/main/js/sap/ushell/services/AppConfiguration.js +3 -5
  416. package/src/main/js/sap/ushell/services/AppLifeCycle.js +2 -2
  417. package/src/main/js/sap/ushell/services/AppState.js +86 -102
  418. package/src/main/js/sap/ushell/services/AppType.js +2 -2
  419. package/src/main/js/sap/ushell/services/Bookmark.js +156 -164
  420. package/src/main/js/sap/ushell/services/BookmarkV2.js +10 -13
  421. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  422. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  423. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  424. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  425. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  426. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  427. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  428. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  429. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  430. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  431. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +27 -31
  432. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  433. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  434. package/src/main/js/sap/ushell/services/CommonDataModel.js +295 -353
  435. package/src/main/js/sap/ushell/services/Configuration.js +14 -12
  436. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +34 -35
  437. package/src/main/js/sap/ushell/services/Container.js +2 -2
  438. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +29 -62
  439. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +227 -266
  440. package/src/main/js/sap/ushell/services/DarkModeSupport.js +17 -16
  441. package/src/main/js/sap/ushell/services/EndUserFeedback.js +5 -4
  442. package/src/main/js/sap/ushell/services/Extension/Item.js +7 -12
  443. package/src/main/js/sap/ushell/services/Extension.js +54 -19
  444. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +209 -213
  445. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +3 -3
  446. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +3 -3
  447. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +6 -6
  448. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  449. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  450. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +4 -4
  451. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +3 -3
  452. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -2
  453. package/src/main/js/sap/ushell/services/Menu.js +264 -289
  454. package/src/main/js/sap/ushell/services/Message.js +3 -3
  455. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +6 -29
  456. package/src/main/js/sap/ushell/services/MessageBroker.js +14 -10
  457. package/src/main/js/sap/ushell/services/MessageInternal.js +37 -38
  458. package/src/main/js/sap/ushell/services/NavTargetResolution.js +2 -5
  459. package/src/main/js/sap/ushell/services/NavTargetResolutionInternal.js +153 -157
  460. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +4 -6
  461. package/src/main/js/sap/ushell/services/Navigation/utils.js +62 -64
  462. package/src/main/js/sap/ushell/services/Navigation.js +10 -14
  463. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +2 -2
  464. package/src/main/js/sap/ushell/services/Notifications.js +29 -15
  465. package/src/main/js/sap/ushell/services/NotificationsV2.js +86 -98
  466. package/src/main/js/sap/ushell/services/PageBuilding.js +9 -6
  467. package/src/main/js/sap/ushell/services/PagePersistence.js +3 -3
  468. package/src/main/js/sap/ushell/services/PageReferencing.js +4 -2
  469. package/src/main/js/sap/ushell/services/Pages.js +635 -683
  470. package/src/main/js/sap/ushell/services/Personalization.js +103 -134
  471. package/src/main/js/sap/ushell/services/PersonalizationV2/ContextContainer.js +29 -32
  472. package/src/main/js/sap/ushell/services/PersonalizationV2/Personalizer.js +21 -6
  473. package/src/main/js/sap/ushell/services/PersonalizationV2/TransientPersonalizer.js +1 -2
  474. package/src/main/js/sap/ushell/services/PersonalizationV2/Variant.js +5 -1
  475. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSet.js +5 -8
  476. package/src/main/js/sap/ushell/services/PersonalizationV2/VariantSetAdapter.js +2 -2
  477. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapter.js +10 -11
  478. package/src/main/js/sap/ushell/services/PersonalizationV2/WindowAdapterContainer.js +27 -27
  479. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.js +1 -2
  480. package/src/main/js/sap/ushell/services/PersonalizationV2/constants.private.js +1 -1
  481. package/src/main/js/sap/ushell/services/PersonalizationV2/utils.js +5 -5
  482. package/src/main/js/sap/ushell/services/PersonalizationV2.js +92 -105
  483. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +9 -9
  484. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +2 -2
  485. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +4 -4
  486. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +5 -8
  487. package/src/main/js/sap/ushell/services/PluginManager.js +12 -8
  488. package/src/main/js/sap/ushell/services/ReferenceResolver.js +21 -28
  489. package/src/main/js/sap/ushell/services/Search.js +25 -21
  490. package/src/main/js/sap/ushell/services/SearchCEP.js +38 -32
  491. package/src/main/js/sap/ushell/services/SearchableContent.js +203 -223
  492. package/src/main/js/sap/ushell/services/ShellNavigation.js +5 -3
  493. package/src/main/js/sap/ushell/services/ShellNavigationHashChanger.js +160 -164
  494. package/src/main/js/sap/ushell/services/ShellNavigationInternal.js +23 -19
  495. package/src/main/js/sap/ushell/services/SmartNavigation.js +86 -82
  496. package/src/main/js/sap/ushell/services/SpaceContent.js +73 -106
  497. package/src/main/js/sap/ushell/services/SupportTicket.js +1 -1
  498. package/src/main/js/sap/ushell/services/UITracer.js +48 -62
  499. package/src/main/js/sap/ushell/services/URLShortening.js +2 -2
  500. package/src/main/js/sap/ushell/services/URLTemplate.js +7 -8
  501. package/src/main/js/sap/ushell/services/Ui5ComponentHandle.js +5 -5
  502. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +1 -1
  503. package/src/main/js/sap/ushell/services/UsageAnalytics.js +2 -3
  504. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +10 -10
  505. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +12 -13
  506. package/src/main/js/sap/ushell/services/UserInfo.js +27 -15
  507. package/src/main/js/sap/ushell/services/UserRecents/RecentActivity.js +6 -7
  508. package/src/main/js/sap/ushell/services/UserRecents/RecentAppsUsage.js +5 -5
  509. package/src/main/js/sap/ushell/services/UserRecents/RecentsList.js +2 -2
  510. package/src/main/js/sap/ushell/services/UserRecents/UserRecentsBase.js +2 -2
  511. package/src/main/js/sap/ushell/services/UserRecents.js +3 -3
  512. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +63 -66
  513. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +11 -11
  514. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  515. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  516. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  517. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  518. package/src/main/js/sap/ushell/services/personalization/VariantSetAdapter.js +10 -10
  519. package/src/main/js/sap/ushell/state/BaseState.js +2 -3
  520. package/src/main/js/sap/ushell/state/BindingHelper.js +2 -4
  521. package/src/main/js/sap/ushell/state/ControlManager.js +2 -3
  522. package/src/main/js/sap/ushell/state/CurrentState.js +2 -2
  523. package/src/main/js/sap/ushell/state/KeepAlive.js +2 -2
  524. package/src/main/js/sap/ushell/state/ShellModel.js +2 -3
  525. package/src/main/js/sap/ushell/state/StateManager/LaunchpadState.js +2 -2
  526. package/src/main/js/sap/ushell/state/StateManager/Operation.js +2 -2
  527. package/src/main/js/sap/ushell/state/StateManager/ShellMode.js +2 -2
  528. package/src/main/js/sap/ushell/state/StateManager.js +3 -3
  529. package/src/main/js/sap/ushell/state/StateRules.js +2 -3
  530. package/src/main/js/sap/ushell/state/StrategyFactory/DefaultStrategy.js +2 -3
  531. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingActionsStrategy.js +2 -3
  532. package/src/main/js/sap/ushell/state/StrategyFactory/FloatingContainerStrategy.js +2 -3
  533. package/src/main/js/sap/ushell/state/StrategyFactory/HeadEndItemsStrategy.js +3 -4
  534. package/src/main/js/sap/ushell/state/StrategyFactory/HeadItemsStrategy.js +3 -4
  535. package/src/main/js/sap/ushell/state/StrategyFactory/SidePaneStrategy.js +2 -3
  536. package/src/main/js/sap/ushell/state/StrategyFactory/SubHeaderStrategy.js +2 -3
  537. package/src/main/js/sap/ushell/state/StrategyFactory/UserActionsStrategy.js +3 -4
  538. package/src/main/js/sap/ushell/state/StrategyFactory.js +2 -3
  539. package/src/main/js/sap/ushell/state/modules/BackNavigation.js +2 -5
  540. package/src/main/js/sap/ushell/state/modules/ContentDensity.js +3 -3
  541. package/src/main/js/sap/ushell/state/modules/Favicon.js +3 -3
  542. package/src/main/js/sap/ushell/state/modules/HeaderLogo.js +3 -3
  543. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +123 -123
  544. package/src/main/js/sap/ushell/themes/base/ShellBar.less +2 -1
  545. package/src/main/js/sap/ushell/themes/base/ShellHeader.less +1 -1
  546. package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -0
  547. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellBar.less +9 -0
  548. package/src/main/js/sap/ushell/themes/sap_fiori_3/ShellHeader.less +6 -0
  549. package/src/main/js/sap/ushell/themes/sap_fiori_3/library.source.less +1 -0
  550. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/ShellBar.less +9 -0
  551. package/src/main/js/sap/ushell/themes/sap_fiori_3_dark/library.source.less +1 -0
  552. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/ShellBar.less +9 -0
  553. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcb/library.source.less +1 -0
  554. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/ShellBar.less +9 -0
  555. package/src/main/js/sap/ushell/themes/sap_fiori_3_hcw/library.source.less +1 -0
  556. package/src/main/js/sap/ushell/themes/sap_hcb/base_ShellHeader.less +1 -1
  557. package/src/main/js/sap/ushell/thirdparty/AccessibilityTextsHelper.js +13 -0
  558. package/src/main/js/sap/ushell/thirdparty/Avatar.js +83 -16
  559. package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +16 -241
  560. package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
  561. package/src/main/js/sap/ushell/thirdparty/Button2.js +34 -14
  562. package/src/main/js/sap/ushell/thirdparty/Icon.js +11 -11
  563. package/src/main/js/sap/ushell/thirdparty/Icons.js +81 -79
  564. package/src/main/js/sap/ushell/thirdparty/Label.js +4 -4
  565. package/src/main/js/sap/ushell/thirdparty/Link.js +11 -10
  566. package/src/main/js/sap/ushell/thirdparty/List.js +34 -487
  567. package/src/main/js/sap/ushell/thirdparty/ListBoxItemGroupTemplate.js +14 -0
  568. package/src/main/js/sap/ushell/thirdparty/ListItemBase.js +239 -0
  569. package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1669 -91
  570. package/src/main/js/sap/ushell/thirdparty/ListItemGroup.js +472 -0
  571. package/src/main/js/sap/ushell/thirdparty/Menu.js +70 -81
  572. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
  573. package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +348 -40
  574. package/src/main/js/sap/ushell/thirdparty/NotificationList.js +5 -5
  575. package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +15 -15
  576. package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +511 -517
  577. package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +3 -3
  578. package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2264 -0
  579. package/src/main/js/sap/ushell/thirdparty/SearchItem.js +111 -0
  580. package/src/main/js/sap/ushell/thirdparty/SearchItemGroup.js +47 -0
  581. package/src/main/js/sap/ushell/thirdparty/SearchMessageArea.js +49 -0
  582. package/src/main/js/sap/ushell/thirdparty/SearchScope.js +39 -0
  583. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +177 -170
  584. package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +119 -0
  585. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch.js +7 -0
  586. package/src/main/js/sap/ushell/thirdparty/ShellBarSearch2.js +3248 -0
  587. package/src/main/js/sap/ushell/thirdparty/Tag.js +15 -14
  588. package/src/main/js/sap/ushell/thirdparty/Text.js +9 -9
  589. package/src/main/js/sap/ushell/thirdparty/Title.js +167 -0
  590. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +55 -54
  591. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +5 -5
  592. package/src/main/js/sap/ushell/thirdparty/ValueState.js +7 -0
  593. package/src/main/js/sap/ushell/thirdparty/_dynamics/InputSuggestions.js +444 -0
  594. package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +7 -7
  595. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +39 -0
  596. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +26 -8
  597. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +40 -1
  598. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +26 -8
  599. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +41 -2
  600. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +27 -9
  601. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +39 -0
  602. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +25 -7
  603. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +39 -0
  604. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +25 -7
  605. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +39 -0
  606. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +26 -8
  607. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +39 -0
  608. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +25 -7
  609. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +39 -0
  610. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +26 -8
  611. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +39 -0
  612. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +25 -7
  613. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +45 -0
  614. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +26 -8
  615. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +39 -0
  616. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +26 -8
  617. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +39 -0
  618. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +26 -8
  619. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +45 -0
  620. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +23 -8
  621. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +39 -0
  622. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +26 -8
  623. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +42 -3
  624. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +27 -9
  625. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +42 -3
  626. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +28 -10
  627. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +39 -0
  628. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +25 -7
  629. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +39 -0
  630. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +25 -7
  631. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +39 -0
  632. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +26 -8
  633. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +39 -0
  634. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +25 -7
  635. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +39 -0
  636. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +25 -7
  637. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +39 -0
  638. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +25 -7
  639. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +39 -0
  640. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +25 -7
  641. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +39 -0
  642. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +26 -8
  643. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +43 -4
  644. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +29 -11
  645. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +39 -0
  646. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +27 -9
  647. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +39 -0
  648. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +26 -8
  649. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +39 -0
  650. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +26 -8
  651. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +39 -0
  652. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +25 -7
  653. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +39 -0
  654. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +25 -7
  655. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +39 -0
  656. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +27 -9
  657. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +40 -1
  658. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +25 -7
  659. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +40 -1
  660. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +27 -9
  661. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +39 -0
  662. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +25 -7
  663. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +39 -0
  664. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +26 -8
  665. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +39 -0
  666. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +26 -8
  667. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +39 -0
  668. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +25 -7
  669. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +39 -0
  670. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +26 -8
  671. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +39 -0
  672. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +25 -7
  673. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +39 -0
  674. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +25 -7
  675. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +39 -0
  676. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +25 -7
  677. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +39 -0
  678. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +25 -7
  679. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +41 -2
  680. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +26 -8
  681. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +39 -0
  682. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +25 -7
  683. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +39 -0
  684. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +26 -8
  685. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +39 -0
  686. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +25 -7
  687. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +39 -0
  688. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +25 -7
  689. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +40 -1
  690. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +25 -7
  691. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +39 -0
  692. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +26 -8
  693. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +39 -0
  694. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +26 -8
  695. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +41 -2
  696. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +25 -7
  697. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
  698. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
  699. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
  700. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
  701. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
  702. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
  703. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
  704. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
  705. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
  706. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
  707. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
  708. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
  709. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
  710. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
  711. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
  712. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
  713. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
  714. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
  715. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
  716. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
  717. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
  718. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
  719. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
  720. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
  721. package/src/main/js/sap/ushell/thirdparty/encodeXML.js +87 -0
  722. package/src/main/js/sap/ushell/thirdparty/generateHighlightedMarkup.js +9 -0
  723. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +143 -149
  724. package/src/main/js/sap/ushell/thirdparty/i18n-defaults2.js +16 -0
  725. package/src/main/js/sap/ushell/thirdparty/information.js +10 -13
  726. package/src/main/js/sap/ushell/thirdparty/information2.js +13 -0
  727. package/src/main/js/sap/ushell/thirdparty/overflow.js +2 -2
  728. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
  729. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css2.js +44 -0
  730. package/src/main/js/sap/ushell/thirdparty/query.js +1 -4
  731. package/src/main/js/sap/ushell/thirdparty/slim-arrow-down.js +44 -0
  732. package/src/main/js/sap/ushell/thirdparty/sys-enter-2.js +7 -0
  733. package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -8
  734. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +35 -31
  735. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +8 -8
  736. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +16 -16
  737. package/src/main/js/sap/ushell/thirdparty/willShowContent.js +7 -0
  738. package/src/main/js/sap/ushell/ui/ShellHeader.js +0 -1
  739. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  740. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  741. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  742. package/src/main/js/sap/ushell/ui/launchpad/VizInstance.js +6 -1
  743. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  744. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +5 -2
  745. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  746. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  747. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  748. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  749. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  750. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  751. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  752. package/src/main/js/sap/ushell/utils.js +32 -1
  753. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  754. package/ui5.yaml +2 -0
  755. package/src/main/js/sap/ushell/thirdparty/ListItemTemplate.js +0 -3920
  756. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +0 -7
  757. /package/src/main/js/sap/ushell/components/shell/SearchCEP/{SearchFieldFragment.fragment.xml → SearchField.fragment.xml} +0 -0
@@ -1,95 +1,1673 @@
1
- sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/ListItemTemplate', 'sap/ushell/thirdparty/Icons'], (function (exports, webcomponentsBase, i18nDefaults, ListItemTemplate, Icons) { 'use strict';
2
-
3
- const predefinedHooks = {
4
- listItemContent,
5
- };
6
- function ListItemCustomTemplate(hooks) {
7
- const currentHooks = { ...predefinedHooks, ...hooks };
8
- return ListItemTemplate.ListItemTemplate.call(this, currentHooks);
9
- }
10
- function listItemContent() {
11
- return i18nDefaults.jsx("slot", {});
12
- }
13
-
14
- Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => i18nDefaults.defaultThemeBase);
15
- Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
16
- var ListItemCustomCss = `:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v2-11-0-rc-3_list_item_base_height);height:auto;box-sizing:border-box}.ui5-li-root.ui5-custom-li-root{pointer-events:inherit;min-height:inherit}.ui5-li-root.ui5-custom-li-root .ui5-li-content{pointer-events:inherit}[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{display:flex;align-items:center}.ui5-li-root.ui5-custom-li-root,[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{min-width:var(--_ui5-v2-11-0-rc-3_custom_list_item_rb_min_width)}:host([_selection-mode="SingleStart"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"]) .ui5-li-root.ui5-custom-li-root{padding-inline:1rem 0}
1
+ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/parameters-bundle.css2', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/event-strict', 'sap/ushell/thirdparty/i18n-defaults', 'sap/ushell/thirdparty/Icons', 'sap/ushell/thirdparty/information', 'sap/ushell/thirdparty/List', 'sap/ushell/thirdparty/ListItemBase', 'sap/ushell/thirdparty/ResponsivePopover', 'sap/ushell/thirdparty/Button2', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/ValueState', 'sap/ushell/thirdparty/AccessibilityTextsHelper', 'sap/ushell/thirdparty/Label'], (function (exports, webcomponentsBase, parametersBundle_css, BusyIndicator, eventStrict, i18nDefaults, Icons, information, List, ListItemBase, ResponsivePopover, Button, Icon, ValueState, AccessibilityTextsHelper, Label) { 'use strict';
2
+
3
+ const name$b = "slim-arrow-right";
4
+ const pathData$b = "M357.5 233q10 10 10 23t-10 23l-165 165q-12 11-23 0t0-23l160-159q6-6 0-12l-159-159q-5-5-5-11t5-11 11-5 11 5z";
5
+ const ltr$b = false;
6
+ const collection$b = "SAP-icons-v4";
7
+ const packageName$b = "sap/ushell/gen/ui5/webcomponents-icons";
8
+
9
+ Icons.f$2(name$b, { pathData: pathData$b, ltr: ltr$b, collection: collection$b, packageName: packageName$b });
10
+
11
+ const name$a = "slim-arrow-right";
12
+ const pathData$a = "M186 416q-11 0-18.5-7.5T160 390q0-10 8-18l121-116-121-116q-8-8-8-18 0-11 7.5-18.5T186 96q10 0 17 7l141 134q8 8 8 19 0 12-8 18L203 409q-7 7-17 7z";
13
+ const ltr$a = false;
14
+ const collection$a = "SAP-icons-v5";
15
+ const packageName$a = "sap/ushell/gen/ui5/webcomponents-icons";
16
+
17
+ Icons.f$2(name$a, { pathData: pathData$a, ltr: ltr$a, collection: collection$a, packageName: packageName$a });
18
+
19
+ var slimArrowRight = "slim-arrow-right";
20
+
21
+ const name$9 = "edit";
22
+ const pathData$9 = "M475 104q5 7 5 12 0 6-5 11L150 453q-4 4-8 4L32 480l22-110q0-5 4-9L384 36q4-4 11-4t11 4zm-121 99l-46-45L84 381l46 46zm87-88l-46-44-64 64 45 45z";
23
+ const ltr$9 = false;
24
+ const collection$9 = "SAP-icons-v4";
25
+ const packageName$9 = "sap/ushell/gen/ui5/webcomponents-icons";
26
+
27
+ Icons.f$2(name$9, { pathData: pathData$9, ltr: ltr$9, collection: collection$9, packageName: packageName$9 });
28
+
29
+ const name$8 = "edit";
30
+ const pathData$8 = "M505 94q7 7 7 18t-6 17L130 505q-7 7-18 7H26q-11 0-18.5-7.5T0 486v-86q1-10 6-16L382 7q7-7 18-7t18 7zm-55 18l-50-50-50 50 50 50zm-86 86l-50-50L62 400l50 50z";
31
+ const ltr$8 = false;
32
+ const collection$8 = "SAP-icons-v5";
33
+ const packageName$8 = "sap/ushell/gen/ui5/webcomponents-icons";
34
+
35
+ Icons.f$2(name$8, { pathData: pathData$8, ltr: ltr$8, collection: collection$8, packageName: packageName$8 });
36
+
37
+ var edit = "edit";
38
+
39
+ /**
40
+ * Different types of Highlight .
41
+ *
42
+ * @public
43
+ */
44
+ var Highlight;
45
+ (function (Highlight) {
46
+ /**
47
+ * @public
48
+ */
49
+ Highlight["None"] = "None";
50
+ /**
51
+ * @public
52
+ */
53
+ Highlight["Positive"] = "Positive";
54
+ /**
55
+ * @public
56
+ */
57
+ Highlight["Critical"] = "Critical";
58
+ /**
59
+ * @public
60
+ */
61
+ Highlight["Negative"] = "Negative";
62
+ /**
63
+ * @public
64
+ */
65
+ Highlight["Information"] = "Information";
66
+ })(Highlight || (Highlight = {}));
67
+ var Highlight$1 = Highlight;
68
+
69
+ /**
70
+ * Different list item types.
71
+ * @public
72
+ */
73
+ var ListItemType;
74
+ (function (ListItemType) {
75
+ /**
76
+ * Indicates the list item does not have any active feedback when item is pressed.
77
+ * @public
78
+ */
79
+ ListItemType["Inactive"] = "Inactive";
80
+ /**
81
+ * Indicates that the item is clickable via active feedback when item is pressed.
82
+ * @public
83
+ */
84
+ ListItemType["Active"] = "Active";
85
+ /**
86
+ * Enables detail button of the list item that fires detail-click event.
87
+ * @public
88
+ */
89
+ ListItemType["Detail"] = "Detail";
90
+ /**
91
+ * Enables the type of navigation, which is specified to add an arrow at the end of the items and fires navigate-click event.
92
+ * @public
93
+ */
94
+ ListItemType["Navigation"] = "Navigation";
95
+ })(ListItemType || (ListItemType = {}));
96
+ var ListItemType$1 = ListItemType;
97
+
98
+ Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
99
+ Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
100
+ var styles = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host([navigated]) .ui5-li-root .ui5-li-navigated{width:.1875rem;position:absolute;right:0;top:0;bottom:0;background-color:var(--sapList_SelectionBorderColor)}:host([active][actionable]) .ui5-li-root .ui5-li-icon{color:var(--sapList_Active_TextColor)}:host([active][actionable]) .ui5-li-title,:host([active][actionable]) .ui5-li-desc,:host([active][actionable]) .ui5-li-additional-text{color:var(--sapList_Active_TextColor)}:host([active][actionable]) .ui5-li-additional-text{text-shadow:none}:host([additional-text-state="Critical"]) .ui5-li-additional-text{color:var(--sapCriticalTextColor)}:host([additional-text-state="Positive"]) .ui5-li-additional-text{color:var(--sapPositiveTextColor)}:host([additional-text-state="Negative"]) .ui5-li-additional-text{color:var(--sapNegativeTextColor)}:host([additional-text-state="Information"]) .ui5-li-additional-text{color:var(--sapInformativeTextColor)}:host([has-title][description]){height:5rem}:host([has-title][image]){height:5rem}:host([_has-image]){height:5rem}:host([image]) .ui5-li-content{height:3rem}::slotted(img[slot="image"]){width:var(--_ui5-v2-13-0-rc-0_list_item_img_size);height:var(--_ui5-v2-13-0-rc-0_list_item_img_size);border-radius:var(--ui5-v2-13-0-rc-0-avatar-border-radius);object-fit:contain}::slotted([ui5-icon][slot="image"]){color:var(--sapContent_NonInteractiveIconColor);min-width:var(--_ui5-v2-13-0-rc-0_list_item_icon_size);min-height:var(--_ui5-v2-13-0-rc-0_list_item_icon_size);padding-inline-end:var(--_ui5-v2-13-0-rc-0_list_item_icon_padding-inline-end)}::slotted([ui5-avatar][slot="image"]){min-width:var(--_ui5-v2-13-0-rc-0_list_item_img_size);min-height:var(--_ui5-v2-13-0-rc-0_list_item_img_size);margin-top:var(--_ui5-v2-13-0-rc-0_list_item_img_top_margin);margin-bottom:var(--_ui5-v2-13-0-rc-0_list_item_img_bottom_margin);margin-inline-end:var(--_ui5-v2-13-0-rc-0_list_item_img_hn_margin)}:host([wrapping-type="None"][description]) .ui5-li-root{padding:1rem}:host([description]) .ui5-li-content{height:3rem}:host([has-title][description]) .ui5-li-title{padding-bottom:.375rem}.ui5-li-text-wrapper{flex-direction:column}:host([description]) .ui5-li-text-wrapper{height:100%;justify-content:space-between;padding:.125rem 0}.ui5-li-description-info-wrapper{display:flex;justify-content:space-between}.ui5-li-additional-text,:host(:not([wrapping-type="Normal"])) .ui5-li-title,.ui5-li-desc{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([wrapping-type="Normal"]){height:auto}:host([wrapping-type="Normal"]) .ui5-li-content{margin:var(--_ui5-v2-13-0-rc-0_list_item_content_vertical_offset) 0}.ui5-li-desc{color:var(--sapContent_LabelColor);font-size:var(--sapFontSize)}:host([description]) .ui5-li-additional-text{align-self:flex-end}.ui5-li-icon{min-width:var(--_ui5-v2-13-0-rc-0_list_item_icon_size);min-height:var(--_ui5-v2-13-0-rc-0_list_item_icon_size);color:var(--sapContent_NonInteractiveIconColor);padding-inline-end:var(--_ui5-v2-13-0-rc-0_list_item_icon_padding-inline-end)}:host([icon-end]) .ui5-li-icon{padding-inline-start:var(--_ui5-v2-13-0-rc-0_list_item_icon_padding-inline-end)}.ui5-li-detailbtn,.ui5-li-deletebtn{display:flex;align-items:center;margin-left:var(--_ui5-v2-13-0-rc-0_list_buttons_left_space)}.ui5-li-multisel-cb,.ui5-li-singlesel-radiobtn{flex-shrink:0}:host([description]) .ui5-li-singlesel-radiobtn{align-self:flex-start;margin-top:var(--_ui5-v2-13-0-rc-0_list_item_selection_btn_margin_top)}:host([description]) .ui5-li-multisel-cb{align-self:flex-start;margin-top:var(--_ui5-v2-13-0-rc-0_list_item_selection_btn_margin_top)}:host([_selection-mode="SingleStart"][wrapping-type]) .ui5-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"][wrapping-type]) .ui5-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"][wrapping-type]) .ui5-li-root{padding-inline:1rem 0}:host [ui5-checkbox].ui5-li-singlesel-radiobtn{margin-right:var(--_ui5-v2-13-0-rc-0_list_item_cb_margin_right)}.ui5-li-highlight{position:absolute;width:.375rem;bottom:0;left:0;top:0;border-inline-end:.0625rem solid var(--ui5-v2-13-0-rc-0-listitem-background-color);box-sizing:border-box}:host([highlight="Negative"]) .ui5-li-highlight{background:var(--sapNegativeTextColor)}:host([highlight="Critical"]) .ui5-li-highlight{background:var(--sapCriticalTextColor)}:host([highlight="Positive"]) .ui5-li-highlight{background:var(--sapPositiveTextColor)}:host([highlight="Information"]) .ui5-li-highlight{background:var(--sapInformativeTextColor)}:host([wrapping-type="Normal"][description]),:host([wrapping-type="Normal"][has-title][description]),:host([wrapping-type="Normal"][has-title][image]){height:auto;min-height:5rem}:host([wrapping-type="Normal"][description]) .ui5-li-content,:host([wrapping-type="Normal"][image]) .ui5-li-content{height:auto;min-height:3rem}:host([wrapping-type="Normal"][has-title][description]) .ui5-li-title{padding-bottom:.75rem}:host([wrapping-type="Normal"][additional-text]) .ui5-li-additional-text{padding-inline-start:.75rem}:host([wrapping-type="Normal"]) .ui5-li-description-info-wrapper{flex-direction:column}:host([wrapping-type="Normal"]) .ui5-li-description-info-wrapper .ui5-li-additional-text{white-space:normal}:host([wrapping-type="Normal"]) .ui5-li-multisel-cb,:host([wrapping-type="Normal"]) .ui5-li-singlesel-radiobtn{display:flex;align-self:flex-start}:host([wrapping-type="Normal"][description]) .ui5-li-multisel-cb,:host([wrapping-type="Normal"][description]) .ui5-li-singlesel-radiobtn{margin-top:0}:host([wrapping-type="Normal"]) .ui5-li-icon,:host([wrapping-type="Normal"]) .ui5-li-image{display:flex;align-self:flex-start}:host([wrapping-type="Normal"][icon-end]) .ui5-li-icon{margin-top:var(--_ui5-v2-13-0-rc-0_list_item_content_vertical_offset)}:host([wrapping-type="Normal"]) ::slotted([ui5-avatar][slot="image"]){margin-top:0;margin-bottom:0}:host([wrapping-type="Normal"]) .ui5-li-detailbtn,:host([wrapping-type="Normal"]) .ui5-li-deletebtn{margin-inline-start:.875rem}
101
+ `;
102
+
103
+ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
104
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
105
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
106
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
107
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
108
+ };
109
+ var ListItem_1;
110
+ /**
111
+ * @class
112
+ * A class to serve as a base
113
+ * for the `ListItemStandard` and `ListItemCustom` classes.
114
+ * @constructor
115
+ * @abstract
116
+ * @extends ListItemBase
117
+ * @public
118
+ */
119
+ let ListItem = ListItem_1 = class ListItem extends ListItemBase.ListItemBase {
120
+ constructor() {
121
+ super();
122
+ /**
123
+ * Defines the visual indication and behavior of the list items.
124
+ * Available options are `Active` (by default), `Inactive`, `Detail` and `Navigation`.
125
+ *
126
+ * **Note:** When set to `Active` or `Navigation`, the item will provide visual response upon press and hover,
127
+ * while with type `Inactive` and `Detail` - will not.
128
+ * @default "Active"
129
+ * @public
130
+ */
131
+ this.type = "Active";
132
+ /**
133
+ * Defines the additional accessibility attributes that will be applied to the component.
134
+ * The following fields are supported:
135
+ *
136
+ * - **ariaSetsize**: Defines the number of items in the current set when not all items in the set are present in the DOM.
137
+ * **Note:** The value is an integer reflecting the number of items in the complete set. If the size of the entire set is unknown, set `-1`.
138
+ *
139
+ * - **ariaPosinset**: Defines an element's number or position in the current set when not all items are present in the DOM.
140
+ * **Note:** The value is an integer greater than or equal to 1, and less than or equal to the size of the set when that size is known.
141
+ *
142
+ * @default {}
143
+ * @public
144
+ * @since 1.15.0
145
+ */
146
+ this.accessibilityAttributes = {};
147
+ /**
148
+ * The navigated state of the list item.
149
+ * If set to `true`, a navigation indicator is displayed at the end of the list item.
150
+ * @default false
151
+ * @public
152
+ * @since 1.10.0
153
+ */
154
+ this.navigated = false;
155
+ /**
156
+ * Indicates if the list item is active, e.g pressed down with the mouse or the keyboard keys.
157
+ * @private
158
+ */
159
+ this.active = false;
160
+ /**
161
+ * Defines the highlight state of the list items.
162
+ * Available options are: `"None"` (by default), `"Positive"`, `"Critical"`, `"Information"` and `"Negative"`.
163
+ * @default "None"
164
+ * @public
165
+ * @since 1.24
166
+ */
167
+ this.highlight = "None";
168
+ /**
169
+ * Used to define the role of the list item.
170
+ * @private
171
+ * @default "ListItem"
172
+ * @since 1.3.0
173
+ *
174
+ */
175
+ this.accessibleRole = "ListItem";
176
+ this._selectionMode = "None";
177
+ /**
178
+ * Defines the current media query size.
179
+ * @default "S"
180
+ * @private
181
+ */
182
+ this.mediaRange = "S";
183
+ this.deactivateByKey = (e) => {
184
+ if (webcomponentsBase.b$1(e)) {
185
+ this.deactivate();
186
+ }
187
+ };
188
+ this.deactivate = () => {
189
+ if (this.active) {
190
+ this.active = false;
191
+ }
192
+ };
193
+ }
194
+ onBeforeRendering() {
195
+ super.onBeforeRendering();
196
+ this.actionable = (this.type === ListItemType$1.Active || this.type === ListItemType$1.Navigation) && (this._selectionMode !== List.ListSelectionMode.Delete);
197
+ }
198
+ onEnterDOM() {
199
+ super.onEnterDOM();
200
+ document.addEventListener("mouseup", this.deactivate);
201
+ document.addEventListener("touchend", this.deactivate);
202
+ document.addEventListener("keyup", this.deactivateByKey);
203
+ }
204
+ onExitDOM() {
205
+ document.removeEventListener("mouseup", this.deactivate);
206
+ document.removeEventListener("keyup", this.deactivateByKey);
207
+ document.removeEventListener("touchend", this.deactivate);
208
+ }
209
+ async _onkeydown(e) {
210
+ if ((webcomponentsBase.i(e) || webcomponentsBase.b$1(e)) && this._isTargetSelfFocusDomRef(e)) {
211
+ return;
212
+ }
213
+ super._onkeydown(e);
214
+ const itemActive = this.type === ListItemType$1.Active, itemNavigated = this.typeNavigation;
215
+ if ((webcomponentsBase.i(e) || webcomponentsBase.b$1(e)) && (itemActive || itemNavigated)) {
216
+ this.activate();
217
+ }
218
+ if (webcomponentsBase.so(e)) {
219
+ const activeElement = webcomponentsBase.t();
220
+ const focusDomRef = this.getFocusDomRef();
221
+ if (activeElement === focusDomRef) {
222
+ const firstFocusable = await BusyIndicator.b(focusDomRef);
223
+ firstFocusable?.focus();
224
+ }
225
+ else {
226
+ focusDomRef.focus();
227
+ }
228
+ }
229
+ }
230
+ _onkeyup(e) {
231
+ super._onkeyup(e);
232
+ if (webcomponentsBase.i(e) || webcomponentsBase.b$1(e)) {
233
+ this.deactivate();
234
+ }
235
+ if (this.modeDelete && webcomponentsBase.V(e)) {
236
+ this.onDelete();
237
+ }
238
+ }
239
+ _onmousedown() {
240
+ this.activate();
241
+ }
242
+ _onmouseup() {
243
+ if (this.getFocusDomRef().matches(":has(:focus-within)")) {
244
+ return;
245
+ }
246
+ this.deactivate();
247
+ }
248
+ _ontouchend() {
249
+ this._onmouseup();
250
+ }
251
+ _onfocusin(e) {
252
+ super._onfocusin(e);
253
+ if (e.target !== this.getFocusDomRef()) {
254
+ this.deactivate();
255
+ }
256
+ }
257
+ _onfocusout(e) {
258
+ if (e.target !== this.getFocusDomRef()) {
259
+ return;
260
+ }
261
+ this.deactivate();
262
+ }
263
+ _ondragstart(e) {
264
+ if (!e.dataTransfer) {
265
+ return;
266
+ }
267
+ if (e.target === this._listItem) {
268
+ this.setAttribute("data-moving", "");
269
+ e.dataTransfer.dropEffect = "move";
270
+ e.dataTransfer.effectAllowed = "move";
271
+ }
272
+ }
273
+ _ondragend(e) {
274
+ if (e.target === this._listItem) {
275
+ this.removeAttribute("data-moving");
276
+ }
277
+ }
278
+ _isTargetSelfFocusDomRef(e) {
279
+ const target = e.target, focusDomRef = this.getFocusDomRef();
280
+ return target !== focusDomRef;
281
+ }
282
+ /**
283
+ * Called when selection components in Single (ui5-radio-button)
284
+ * and Multi (ui5-checkbox) selection modes are used.
285
+ */
286
+ onMultiSelectionComponentPress(e) {
287
+ if (this.isInactive) {
288
+ return;
289
+ }
290
+ this.fireDecoratorEvent("selection-requested", { item: this, selected: e.target.checked, selectionComponentPressed: true });
291
+ }
292
+ onSingleSelectionComponentPress(e) {
293
+ if (this.isInactive) {
294
+ return;
295
+ }
296
+ this.fireDecoratorEvent("selection-requested", { item: this, selected: !e.target.checked, selectionComponentPressed: true });
297
+ }
298
+ activate() {
299
+ if (this.type === ListItemType$1.Active || this.type === ListItemType$1.Navigation) {
300
+ this.active = true;
301
+ }
302
+ }
303
+ onDelete() {
304
+ this.fireDecoratorEvent("selection-requested", { item: this, selectionComponentPressed: false });
305
+ }
306
+ onDetailClick() {
307
+ this.fireDecoratorEvent("detail-click", { item: this, selected: this.selected });
308
+ }
309
+ fireItemPress(e) {
310
+ if (this.isInactive) {
311
+ return;
312
+ }
313
+ super.fireItemPress(e);
314
+ if (document.activeElement !== this) {
315
+ this.focus();
316
+ }
317
+ }
318
+ get isInactive() {
319
+ return this.type === ListItemType$1.Inactive || this.type === ListItemType$1.Detail;
320
+ }
321
+ get placeSelectionElementBefore() {
322
+ return this._selectionMode === List.ListSelectionMode.Multiple
323
+ || this._selectionMode === List.ListSelectionMode.SingleStart;
324
+ }
325
+ get placeSelectionElementAfter() {
326
+ return !this.placeSelectionElementBefore
327
+ && (this._selectionMode === List.ListSelectionMode.SingleEnd || this._selectionMode === List.ListSelectionMode.Delete);
328
+ }
329
+ get modeSingleSelect() {
330
+ return [
331
+ List.ListSelectionMode.SingleStart,
332
+ List.ListSelectionMode.SingleEnd,
333
+ List.ListSelectionMode.Single,
334
+ ].includes(this._selectionMode);
335
+ }
336
+ get modeMultiple() {
337
+ return this._selectionMode === List.ListSelectionMode.Multiple;
338
+ }
339
+ get modeDelete() {
340
+ return this._selectionMode === List.ListSelectionMode.Delete;
341
+ }
342
+ get typeDetail() {
343
+ return this.type === ListItemType$1.Detail;
344
+ }
345
+ get typeNavigation() {
346
+ return this.type === ListItemType$1.Navigation;
347
+ }
348
+ get typeActive() {
349
+ return this.type === ListItemType$1.Active;
350
+ }
351
+ get _ariaSelected() {
352
+ if (this.modeMultiple || this.modeSingleSelect) {
353
+ return this.selected;
354
+ }
355
+ return undefined;
356
+ }
357
+ get listItemAccessibleRole() {
358
+ return (this._forcedAccessibleRole || this.accessibleRole.toLowerCase());
359
+ }
360
+ get ariaSelectedText() {
361
+ let ariaSelectedText;
362
+ // Selected state needs to be supported separately since now the role mapping is list -> listitem[]
363
+ // to avoid the issue of nesting interactive elements, ex. (option -> radio/checkbox);
364
+ // The text is added to aria-describedby because as part of the aria-labelledby
365
+ // the whole content of the item is readout when the aria-labelledby value is changed.
366
+ if (this._ariaSelected !== undefined) {
367
+ ariaSelectedText = this._ariaSelected ? ListItem_1.i18nBundle.getText(i18nDefaults.LIST_ITEM_SELECTED) : ListItem_1.i18nBundle.getText(i18nDefaults.LIST_ITEM_NOT_SELECTED);
368
+ }
369
+ return ariaSelectedText;
370
+ }
371
+ get deleteText() {
372
+ return ListItem_1.i18nBundle.getText(i18nDefaults.DELETE);
373
+ }
374
+ get hasDeleteButtonSlot() {
375
+ return !!this.deleteButton.length;
376
+ }
377
+ get _accessibleNameRef() {
378
+ if (this.accessibleName) {
379
+ // accessibleName is set - return labels excluding content
380
+ return `${this._id}-invisibleText`;
381
+ }
382
+ // accessibleName is not set - return _accInfo.listItemAriaLabel including content
383
+ return `${this._id}-content ${this._id}-invisibleText`;
384
+ }
385
+ get ariaLabelledByText() {
386
+ const texts = [
387
+ this._accInfo.listItemAriaLabel,
388
+ this.accessibleName,
389
+ this.typeActive ? ListItem_1.i18nBundle.getText(i18nDefaults.LIST_ITEM_ACTIVE) : undefined,
390
+ ].filter(Boolean);
391
+ return texts.join(" ");
392
+ }
393
+ get _accInfo() {
394
+ return {
395
+ role: this.listItemAccessibleRole,
396
+ ariaExpanded: undefined,
397
+ ariaLevel: undefined,
398
+ ariaLabel: ListItem_1.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_ITEM_CHECKBOX),
399
+ ariaLabelRadioButton: ListItem_1.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_ITEM_RADIO_BUTTON),
400
+ ariaSelectedText: this.ariaSelectedText,
401
+ ariaHaspopup: this.accessibilityAttributes.hasPopup,
402
+ setsize: this.accessibilityAttributes.ariaSetsize,
403
+ posinset: this.accessibilityAttributes.ariaPosinset,
404
+ tooltip: this.tooltip,
405
+ };
406
+ }
407
+ get _hasHighlightColor() {
408
+ return this.highlight !== Highlight$1.None;
409
+ }
410
+ get hasConfigurableMode() {
411
+ return true;
412
+ }
413
+ get _listItem() {
414
+ return this.shadowRoot.querySelector("li");
415
+ }
416
+ };
417
+ __decorate$3([
418
+ webcomponentsBase.s()
419
+ ], ListItem.prototype, "type", void 0);
420
+ __decorate$3([
421
+ webcomponentsBase.s({ type: Object })
422
+ ], ListItem.prototype, "accessibilityAttributes", void 0);
423
+ __decorate$3([
424
+ webcomponentsBase.s({ type: Boolean })
425
+ ], ListItem.prototype, "navigated", void 0);
426
+ __decorate$3([
427
+ webcomponentsBase.s()
428
+ ], ListItem.prototype, "tooltip", void 0);
429
+ __decorate$3([
430
+ webcomponentsBase.s({ type: Boolean })
431
+ ], ListItem.prototype, "active", void 0);
432
+ __decorate$3([
433
+ webcomponentsBase.s()
434
+ ], ListItem.prototype, "highlight", void 0);
435
+ __decorate$3([
436
+ webcomponentsBase.s({ type: Boolean })
437
+ ], ListItem.prototype, "selected", void 0);
438
+ __decorate$3([
439
+ webcomponentsBase.s()
440
+ ], ListItem.prototype, "accessibleRole", void 0);
441
+ __decorate$3([
442
+ webcomponentsBase.s()
443
+ ], ListItem.prototype, "_forcedAccessibleRole", void 0);
444
+ __decorate$3([
445
+ webcomponentsBase.s()
446
+ ], ListItem.prototype, "_selectionMode", void 0);
447
+ __decorate$3([
448
+ webcomponentsBase.s()
449
+ ], ListItem.prototype, "mediaRange", void 0);
450
+ __decorate$3([
451
+ webcomponentsBase.d()
452
+ ], ListItem.prototype, "deleteButton", void 0);
453
+ __decorate$3([
454
+ i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
455
+ ], ListItem, "i18nBundle", void 0);
456
+ ListItem = ListItem_1 = __decorate$3([
457
+ webcomponentsBase.m({
458
+ languageAware: true,
459
+ renderer: parametersBundle_css.y,
460
+ styles: [
461
+ ListItemBase.ListItemBase.styles,
462
+ ResponsivePopover.listItemAdditionalTextCss,
463
+ styles,
464
+ ],
465
+ })
466
+ /**
467
+ * Fired when the user clicks on the detail button when type is `Detail`.
468
+ * @public
469
+ */
470
+ ,
471
+ eventStrict.l("detail-click", {
472
+ bubbles: true,
473
+ }),
474
+ eventStrict.l("selection-requested", {
475
+ bubbles: true,
476
+ })
477
+ ], ListItem);
478
+ var ListItem$1 = ListItem;
479
+
480
+ class RadioButtonGroup {
481
+ static hasGroup(groupName) {
482
+ return this.groups.has(groupName);
483
+ }
484
+ static getGroup(groupName) {
485
+ return this.groups.get(groupName);
486
+ }
487
+ static getCheckedRadioFromGroup(groupName) {
488
+ return this.checkedRadios.get(groupName);
489
+ }
490
+ static removeGroup(groupName) {
491
+ this.checkedRadios.delete(groupName);
492
+ return this.groups.delete(groupName);
493
+ }
494
+ static addToGroup(radioBtn, groupName) {
495
+ if (this.hasGroup(groupName)) {
496
+ this.enforceSingleSelection(radioBtn, groupName);
497
+ if (this.getGroup(groupName)) {
498
+ this.getGroup(groupName).push(radioBtn);
499
+ }
500
+ }
501
+ else {
502
+ this.createGroup(radioBtn, groupName);
503
+ }
504
+ this.updateTabOrder(groupName);
505
+ }
506
+ static removeFromGroup(radioBtn, groupName) {
507
+ const group = this.getGroup(groupName);
508
+ if (!group) {
509
+ return;
510
+ }
511
+ const checkedRadio = this.getCheckedRadioFromGroup(groupName);
512
+ // Remove the radio button from the given group
513
+ group.forEach((_radioBtn, idx, arr) => {
514
+ if (radioBtn._id === _radioBtn._id) {
515
+ return arr.splice(idx, 1);
516
+ }
517
+ });
518
+ if (checkedRadio === radioBtn) {
519
+ this.checkedRadios.set(groupName, null);
520
+ }
521
+ // Remove the group if it is empty
522
+ if (!group.length) {
523
+ this.removeGroup(groupName);
524
+ }
525
+ this.updateTabOrder(groupName);
526
+ }
527
+ static createGroup(radioBtn, groupName) {
528
+ if (radioBtn.checked) {
529
+ this.checkedRadios.set(groupName, radioBtn);
530
+ }
531
+ this.groups.set(groupName, [radioBtn]);
532
+ }
533
+ static selectNextItem(item, groupName) {
534
+ const group = this.getGroup(groupName);
535
+ if (!group) {
536
+ return;
537
+ }
538
+ const groupLength = group.length, currentItemPosition = group.indexOf(item);
539
+ if (groupLength <= 1) {
540
+ return;
541
+ }
542
+ const nextItemToFocus = this._nextFocusable(currentItemPosition, group);
543
+ if (!nextItemToFocus) {
544
+ return;
545
+ }
546
+ this.updateSelectionInGroup(nextItemToFocus, groupName);
547
+ }
548
+ static updateFormValidity(groupName) {
549
+ const group = this.getGroup(groupName);
550
+ if (!group) {
551
+ return;
552
+ }
553
+ const hasRequired = group.some(r => r.required);
554
+ const hasChecked = group.some(r => r.checked);
555
+ group.forEach(r => {
556
+ r._groupChecked = hasChecked;
557
+ r._groupRequired = hasRequired;
558
+ });
559
+ }
560
+ static updateTabOrder(groupName) {
561
+ const group = this.getGroup(groupName);
562
+ if (!group) {
563
+ return;
564
+ }
565
+ const hasCheckedRadio = group.some(radioBtn => radioBtn.checked);
566
+ group.filter(radioBtn => !radioBtn.disabled).forEach((radioBtn, idx) => {
567
+ let activeElement = webcomponentsBase.t();
568
+ if (activeElement?.classList.contains("ui5-radio-root")) {
569
+ activeElement = activeElement.getRootNode();
570
+ if (activeElement instanceof ShadowRoot) {
571
+ activeElement = activeElement.host;
572
+ }
573
+ }
574
+ if (hasCheckedRadio) {
575
+ if (activeElement?.hasAttribute("ui5-radio-button") && activeElement.readonly) {
576
+ radioBtn._tabIndex = activeElement === radioBtn && radioBtn.readonly ? 0 : -1;
577
+ }
578
+ else {
579
+ radioBtn._tabIndex = radioBtn.checked ? 0 : -1;
580
+ }
581
+ }
582
+ else {
583
+ radioBtn._tabIndex = idx === 0 ? 0 : -1;
584
+ }
585
+ });
586
+ }
587
+ static selectPreviousItem(item, groupName) {
588
+ const group = this.getGroup(groupName);
589
+ if (!group) {
590
+ return;
591
+ }
592
+ const groupLength = group.length, currentItemPosition = group.indexOf(item);
593
+ if (groupLength <= 1) {
594
+ return;
595
+ }
596
+ const previousItemToFocus = this._previousFocusable(currentItemPosition, group);
597
+ if (!previousItemToFocus) {
598
+ return;
599
+ }
600
+ this.updateSelectionInGroup(previousItemToFocus, groupName);
601
+ }
602
+ static selectItem(item, groupName) {
603
+ this.updateSelectionInGroup(item, groupName);
604
+ this.updateTabOrder(groupName);
605
+ this.updateFormValidity(groupName);
606
+ }
607
+ static updateSelectionInGroup(radioBtnToSelect, groupName) {
608
+ const checkedRadio = this.getCheckedRadioFromGroup(groupName);
609
+ if (checkedRadio && !radioBtnToSelect.readonly) {
610
+ this._deselectRadio(checkedRadio);
611
+ this.checkedRadios.set(groupName, radioBtnToSelect);
612
+ }
613
+ // the focusable radio buttons are the enabled and the read-only ones, but only the enabled are selectable
614
+ if (radioBtnToSelect) {
615
+ radioBtnToSelect.focus();
616
+ if (!radioBtnToSelect.readonly) {
617
+ this._selectRadio(radioBtnToSelect);
618
+ }
619
+ else {
620
+ // Ensure updateTabOrder is called after focus
621
+ setTimeout(() => {
622
+ this.updateTabOrder(groupName);
623
+ }, 0);
624
+ }
625
+ }
626
+ }
627
+ static _deselectRadio(radioBtn) {
628
+ if (radioBtn) {
629
+ radioBtn.checked = false;
630
+ }
631
+ }
632
+ static _selectRadio(radioBtn) {
633
+ radioBtn.checked = true;
634
+ radioBtn._checked = true;
635
+ radioBtn.fireDecoratorEvent("change");
636
+ }
637
+ static _nextFocusable(pos, group) {
638
+ if (!group) {
639
+ return null;
640
+ }
641
+ const groupLength = group.length;
642
+ let nextRadioToFocus = null;
643
+ if (pos === groupLength - 1) {
644
+ if (group[0].disabled) {
645
+ return this._nextFocusable(1, group);
646
+ }
647
+ nextRadioToFocus = group[0];
648
+ }
649
+ else if (group[pos + 1].disabled) {
650
+ return this._nextFocusable(pos + 1, group);
651
+ }
652
+ else {
653
+ nextRadioToFocus = group[pos + 1];
654
+ }
655
+ return nextRadioToFocus;
656
+ }
657
+ static _previousFocusable(pos, group) {
658
+ const groupLength = group.length;
659
+ let previousRadioToFocus = null;
660
+ if (pos === 0) {
661
+ if (group[groupLength - 1].disabled) {
662
+ return this._previousFocusable(groupLength - 1, group);
663
+ }
664
+ previousRadioToFocus = group[groupLength - 1];
665
+ }
666
+ else if (group[pos - 1].disabled) {
667
+ return this._previousFocusable(pos - 1, group);
668
+ }
669
+ else {
670
+ previousRadioToFocus = group[pos - 1];
671
+ }
672
+ return previousRadioToFocus;
673
+ }
674
+ static enforceSingleSelection(radioBtn, groupName) {
675
+ const checkedRadio = this.getCheckedRadioFromGroup(groupName);
676
+ if (radioBtn.checked) {
677
+ if (!checkedRadio) {
678
+ this.checkedRadios.set(groupName, radioBtn);
679
+ }
680
+ else if (radioBtn !== checkedRadio) {
681
+ this._deselectRadio(checkedRadio);
682
+ this.checkedRadios.set(groupName, radioBtn);
683
+ }
684
+ }
685
+ else if (radioBtn === checkedRadio) {
686
+ this.checkedRadios.set(groupName, null);
687
+ }
688
+ this.updateTabOrder(groupName);
689
+ this.updateFormValidity(groupName);
690
+ }
691
+ static get groups() {
692
+ if (!this._groups) {
693
+ this._groups = new Map();
694
+ }
695
+ return this._groups;
696
+ }
697
+ static get checkedRadios() {
698
+ if (!this._checkedRadios) {
699
+ this._checkedRadios = new Map();
700
+ }
701
+ return this._checkedRadios;
702
+ }
703
+ }
704
+
705
+ function RadioButtonTemplate() {
706
+ return (parametersBundle_css.jsxs("div", { role: "radio", class: "ui5-radio-root", "aria-checked": this.checked, "aria-disabled": this.effectiveAriaDisabled, "aria-describedby": this.effectiveAriaDescribedBy, "aria-label": this.ariaLabelText, tabindex: this.effectiveTabIndex, onClick: this._onclick, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onMouseDown: this._onmousedown, onMouseUp: this._onmouseup, onFocusOut: this._onfocusout, children: [parametersBundle_css.jsxs("div", { class: {
707
+ "ui5-radio-inner": true,
708
+ "ui5-radio-inner--hoverable": !this.disabled && !this.readonly && Icons.f(),
709
+ }, children: [parametersBundle_css.jsxs("svg", { class: "ui5-radio-svg", focusable: "false", "aria-hidden": "true", children: [parametersBundle_css.jsx("circle", { part: "outer-ring", class: "ui5-radio-svg-outer", cx: "50%", cy: "50%", r: "50%" }), parametersBundle_css.jsx("circle", { part: "inner-ring", class: "ui5-radio-svg-inner", cx: "50%", cy: "50%" })] }), parametersBundle_css.jsx("input", { type: "radio", required: this.required, checked: this.checked, readonly: this.readonly, disabled: this.disabled, name: this.name, "data-sap-no-tab-ref": true })] }), this.text &&
710
+ parametersBundle_css.jsx(Label, { id: `${this._id}-label`, class: "ui5-radio-label", for: this._id, wrappingType: this.wrappingType, children: this.text }), this.hasValueState &&
711
+ parametersBundle_css.jsx("span", { id: `${this._id}-descr`, class: "ui5-hidden-text", children: this.valueStateText })] }));
712
+ }
713
+
714
+ Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
715
+ Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
716
+ var radioButtonCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5-v2-13-0-rc-0_radio_button_min_width);max-width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--_ui5-v2-13-0-rc-0_radio_button_color);border-radius:var(--_ui5-v2-13-0-rc-0_radio_button_border_radius)}:host(:not([disabled])) .ui5-radio-root{cursor:pointer}:host([checked]){color:var(--_ui5-v2-13-0-rc-0_radio_button_checked_fill)}:host([checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-13-0-rc-0_radio_button_inner_ring_color)}:host([checked]) .ui5-radio-svg-outer{stroke:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_color)}:host([disabled]) .ui5-radio-root{color:var(--_ui5-v2-13-0-rc-0_radio_button_color);opacity:var(--sapContent_DisabledOpacity)}:host([disabled][checked]) .ui5-radio-svg-outer{stroke:var(--_ui5-v2-13-0-rc-0_radio_button_color)}:host(:not([disabled])[desktop]) .ui5-radio-root:focus:before,:host(:not([disabled])) .ui5-radio-root:focus-visible:before{content:"";display:var(--_ui5-v2-13-0-rc-0_radio_button_focus_outline);position:absolute;inset:var(--_ui5-v2-13-0-rc-0_radio_button_focus_dist);pointer-events:none;border:var(--_ui5-v2-13-0-rc-0_radio_button_border_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v2-13-0-rc-0_radio_button_border_radius)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_hover_color)}:host(:not([value-state="Negative"]):not([value-state="Critical"]):not([value-state="Positive"]):not([value-state="Information"])[checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_checked_hover_color)}.ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer,:host([checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v2-13-0-rc-0_radio_button_hover_fill)}:host([active][checked]:not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_checked_hover_color)}:host([active]:not([checked]):not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_active_color)}:host([text]) .ui5-radio-root{padding-inline-end:var(--_ui5-v2-13-0-rc-0_radio_button_border_width)}:host([text][desktop]) .ui5-radio-root:focus:before,:host([text]) .ui5-radio-root:focus-visible:before{inset-inline-end:0px}:host([text]) .ui5-radio-inner{padding:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_padding_with_label)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-13-0-rc-0_radio_button_read_only_inner_ring_color)}:host([readonly]) .ui5-radio-root .ui5-radio-svg-outer{fill:var(--sapField_ReadOnly_Background);stroke:var(--sapField_ReadOnly_BorderColor);stroke-dasharray:var(--_ui5-v2-13-0-rc-0_radio_button_read_only_border_type);stroke-width:var(--_ui5-v2-13-0-rc-0_radio_button_read_only_border_width)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-svg-outer{stroke-width:var(--sapField_InvalidBorderWidth)}:host([value-state="Information"]) .ui5-radio-svg-outer{stroke-width:var(--_ui5-v2-13-0-rc-0_radio_button_information_border_width)}:host([value-state="Negative"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-13-0-rc-0_radio_button_checked_error_fill)}:host([value-state="Negative"]) .ui5-radio-svg-outer,:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InvalidColor);fill:var(--sapField_InvalidBackground)}:host([value-state="Negative"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v2-13-0-rc-0_radio_button_hover_fill_error)}:host([value-state="Critical"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-13-0-rc-0_radio_button_checked_warning_fill)}:host([value-state="Critical"]) .ui5-radio-svg-outer,:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_WarningColor);fill:var(--sapField_WarningBackground)}:host([value-state="Critical"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v2-13-0-rc-0_radio_button_hover_fill_warning)}:host([value-state="Positive"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-13-0-rc-0_radio_button_checked_success_fill)}:host([value-state="Positive"]) .ui5-radio-svg-outer,:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_SuccessColor);fill:var(--sapField_SuccessBackground)}:host([value-state="Positive"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v2-13-0-rc-0_radio_button_hover_fill_success)}:host([value-state="Information"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-13-0-rc-0_radio_button_checked_information_fill)}:host([value-state="Information"]) .ui5-radio-svg-outer,:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable:hover .ui5-radio-svg-outer{stroke:var(--sapField_InformationColor);fill:var(--sapField_InformationBackground)}:host([value-state="Information"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v2-13-0-rc-0_radio_button_hover_fill_information)}:host([value-state="Negative"]) .ui5-radio-root,:host([value-state="Critical"]) .ui5-radio-root,:host([value-state="Information"]) .ui5-radio-root{stroke-dasharray:var(--_ui5-v2-13-0-rc-0_radio_button_warning_error_border_dash)}.ui5-radio-root{height:auto;position:relative;display:inline-flex;flex-wrap:nowrap;outline:none;max-width:100%;box-sizing:border-box;border:var(--_ui5-v2-13-0-rc-0_radio_button_border);border-radius:var(--_ui5-v2-13-0-rc-0_radio_button_border_radius)}.ui5-radio-inner{display:flex;align-items:center;padding:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_padding);flex-shrink:0;height:var(--_ui5-v2-13-0-rc-0_radio_button_inner_size);font-size:1rem;pointer-events:none;vertical-align:top}.ui5-radio-inner{outline:none}.ui5-radio-inner input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit;margin:0}[ui5-label].ui5-radio-label{display:flex;align-items:center;padding-inline-end:var(--_ui5-v2-13-0-rc-0_radio_button_label_offset);padding-block:var(--_ui5-v2-13-0-rc-0_radio_button_label_side_padding);vertical-align:top;max-width:100%;pointer-events:none;color:var(--_ui5-v2-13-0-rc-0_radio_button_label_color);overflow-wrap:break-word}:host([wrapping-type="None"][text]) .ui5-radio-root{height:var(--_ui5-v2-13-0-rc-0_radio_button_height)}:host([wrapping-type="None"][text]) [ui5-label].ui5-radio-label{text-overflow:ellipsis;overflow:hidden}.ui5-radio-svg{height:var(--_ui5-v2-13-0-rc-0_radio_button_svg_size);width:var(--_ui5-v2-13-0-rc-0_radio_button_svg_size);overflow:visible;pointer-events:none}.ui5-radio-svg-outer{fill:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_bg);stroke:currentColor;stroke-width:var(--_ui5-v2-13-0-rc-0_radio_button_outer_ring_width)}.ui5-radio-svg-inner{fill:none;r:var(--_ui5-v2-13-0-rc-0_radio_button_inner_ring_radius)}.ui5-radio-svg-outer,.ui5-radio-svg-inner{flex-shrink:0}:host(.ui5-li-singlesel-radiobtn) .ui5-radio-root .ui5-radio-inner .ui5-radio-svg-outer{fill:var(--sapList_Background)}
717
+ `;
718
+
719
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
720
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
721
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
722
+ 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;
723
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
724
+ };
725
+ var RadioButton_1;
726
+ let isGlobalHandlerAttached$1 = false;
727
+ let activeRadio;
728
+ /**
729
+ * @class
730
+ *
731
+ * ### Overview
732
+ *
733
+ * The `ui5-radio-button` component enables users to select a single option from a set of options.
734
+ * When a `ui5-radio-button` is selected by the user, the
735
+ * `change` event is fired.
736
+ * When a `ui5-radio-button` that is within a group is selected, the one
737
+ * that was previously selected gets automatically deselected. You can group radio buttons by using the `name` property.
738
+ *
739
+ * **Note:** If `ui5-radio-button` is not part of a group, it can be selected once, but can not be deselected back.
740
+ *
741
+ * ### Keyboard Handling
742
+ *
743
+ * Once the `ui5-radio-button` is on focus, it might be selected by pressing the Space and Enter keys.
744
+ *
745
+ * The Arrow Down/Arrow Up and Arrow Left/Arrow Right keys can be used to change selection between next/previous radio buttons in one group,
746
+ * while TAB and SHIFT + TAB can be used to enter or leave the radio button group.
747
+ *
748
+ * **Note:** On entering radio button group, the focus goes to the currently selected radio button.
749
+ *
750
+ * ### ES6 Module Import
751
+ *
752
+ * `import "sap/ushell/gen/ui5/webcomponents/dist/RadioButton";`
753
+ * @constructor
754
+ * @extends UI5Element
755
+ * @public
756
+ * @csspart outer-ring - Used to style the outer ring of the `ui5-radio-button`.
757
+ * @csspart inner-ring - Used to style the inner ring of the `ui5-radio-button`.
758
+ */
759
+ let RadioButton = RadioButton_1 = class RadioButton extends webcomponentsBase.b {
760
+ get formValidityMessage() {
761
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.FORM_SELECTABLE_REQUIRED2);
762
+ }
763
+ get formValidity() {
764
+ return { valueMissing: this._groupRequired && !this._groupChecked };
765
+ }
766
+ async formElementAnchor() {
767
+ return this.getFocusDomRefAsync();
768
+ }
769
+ get formFormattedValue() {
770
+ return this.checked ? (this.value || "on") : null;
771
+ }
772
+ constructor() {
773
+ super();
774
+ /**
775
+ * Defines whether the component is disabled.
776
+ *
777
+ * **Note:** A disabled component is completely noninteractive.
778
+ * @default false
779
+ * @public
780
+ */
781
+ this.disabled = false;
782
+ /**
783
+ * Defines whether the component is read-only.
784
+ *
785
+ * **Note:** A read-only component isn't editable or selectable.
786
+ * However, because it's focusable, it still provides visual feedback upon user interaction.
787
+ * @default false
788
+ * @public
789
+ */
790
+ this.readonly = false;
791
+ /**
792
+ * Defines whether the component is required.
793
+ * @default false
794
+ * @public
795
+ * @since 1.9.0
796
+ */
797
+ this.required = false;
798
+ /**
799
+ * Defines whether the component is checked or not.
800
+ *
801
+ * **Note:** The property value can be changed with user interaction,
802
+ * either by clicking/tapping on the component,
803
+ * or by using the Space or Enter key.
804
+ *
805
+ * **Note:** Only enabled radio buttons can be checked.
806
+ * Read-only radio buttons are not selectable, and therefore are always unchecked.
807
+ * @default false
808
+ * @formEvents change
809
+ * @formProperty
810
+ * @public
811
+ * @since 1.0.0-rc.15
812
+ */
813
+ this.checked = false;
814
+ /**
815
+ * Defines the value state of the component.
816
+ * @default "None"
817
+ * @public
818
+ */
819
+ this.valueState = "None";
820
+ /**
821
+ * Defines the form value of the component.
822
+ * When a form with a radio button group is submitted, the group's value
823
+ * will be the value of the currently selected radio button.
824
+ * @default ""
825
+ * @public
826
+ */
827
+ this.value = "";
828
+ /**
829
+ * Defines whether the component text wraps when there is not enough space.
830
+ *
831
+ * **Note:** for option "Normal" the text will wrap and the words will not be broken based on hyphenation.
832
+ * @default "Normal"
833
+ * @public
834
+ */
835
+ this.wrappingType = "Normal";
836
+ /**
837
+ * Defines the active state (pressed or not) of the component.
838
+ * @default false
839
+ * @private
840
+ */
841
+ this.active = false;
842
+ /**
843
+ * Defines if the component is selected in specific group
844
+ * @default false
845
+ * @private
846
+ */
847
+ this._groupChecked = false;
848
+ this._groupRequired = false;
849
+ this._name = "";
850
+ this._checked = false;
851
+ this._deactivate = () => {
852
+ if (activeRadio) {
853
+ activeRadio.active = false;
854
+ }
855
+ };
856
+ if (!isGlobalHandlerAttached$1) {
857
+ document.addEventListener("mouseup", this._deactivate);
858
+ isGlobalHandlerAttached$1 = true;
859
+ }
860
+ }
861
+ onAfterRendering() {
862
+ this.syncGroup();
863
+ }
864
+ onEnterDOM() {
865
+ if (Icons.f()) {
866
+ this.setAttribute("desktop", "");
867
+ }
868
+ }
869
+ onExitDOM() {
870
+ this.syncGroup(true);
871
+ }
872
+ syncGroup(forceRemove) {
873
+ const oldGroup = this._name;
874
+ const currentGroup = this.name;
875
+ const oldChecked = this._checked;
876
+ const currentChecked = this.checked;
877
+ if (forceRemove) {
878
+ RadioButtonGroup.removeFromGroup(this, oldGroup);
879
+ }
880
+ if (currentGroup !== oldGroup) {
881
+ if (oldGroup) {
882
+ // remove the control from the previous group
883
+ RadioButtonGroup.removeFromGroup(this, oldGroup);
884
+ }
885
+ if (currentGroup) {
886
+ // add the control to the existing group
887
+ RadioButtonGroup.addToGroup(this, currentGroup);
888
+ }
889
+ }
890
+ else if (currentGroup && this.isConnected) {
891
+ RadioButtonGroup.enforceSingleSelection(this, currentGroup);
892
+ }
893
+ if (this.name && currentChecked !== oldChecked) {
894
+ RadioButtonGroup.updateTabOrder(this.name);
895
+ }
896
+ this._name = this.name || "";
897
+ this._checked = this.checked;
898
+ }
899
+ _onclick() {
900
+ return this.toggle();
901
+ }
902
+ _handleDown(e) {
903
+ const currentGroup = this.name;
904
+ if (!currentGroup) {
905
+ return;
906
+ }
907
+ e.preventDefault();
908
+ RadioButtonGroup.selectNextItem(this, currentGroup);
909
+ }
910
+ _handleUp(e) {
911
+ const currentGroup = this.name;
912
+ if (!currentGroup) {
913
+ return;
914
+ }
915
+ e.preventDefault();
916
+ RadioButtonGroup.selectPreviousItem(this, currentGroup);
917
+ }
918
+ _onkeydown(e) {
919
+ if (webcomponentsBase.i(e)) {
920
+ this.active = true;
921
+ return e.preventDefault();
922
+ }
923
+ if (webcomponentsBase.b$1(e)) {
924
+ this.active = true;
925
+ return this.toggle();
926
+ }
927
+ const isRTL = this.effectiveDir === "rtl";
928
+ if (webcomponentsBase.P(e) || (!isRTL && webcomponentsBase.c(e)) || (isRTL && webcomponentsBase.K(e))) {
929
+ this._handleDown(e);
930
+ }
931
+ if (webcomponentsBase.D(e) || (!isRTL && webcomponentsBase.K(e)) || (isRTL && webcomponentsBase.c(e))) {
932
+ this._handleUp(e);
933
+ }
934
+ }
935
+ _onkeyup(e) {
936
+ if (webcomponentsBase.i(e)) {
937
+ this.toggle();
938
+ }
939
+ this.active = false;
940
+ }
941
+ _onmousedown() {
942
+ this.active = true;
943
+ activeRadio = this; // eslint-disable-line
944
+ }
945
+ _onmouseup() {
946
+ this.active = false;
947
+ }
948
+ _onfocusout() {
949
+ this.active = false;
950
+ }
951
+ toggle() {
952
+ if (!this.canToggle()) {
953
+ return this;
954
+ }
955
+ if (!this.name) {
956
+ this.checked = !this.checked;
957
+ this.fireDecoratorEvent("change");
958
+ return this;
959
+ }
960
+ RadioButtonGroup.selectItem(this, this.name);
961
+ return this;
962
+ }
963
+ canToggle() {
964
+ return !(this.disabled || this.readonly || this.checked);
965
+ }
966
+ get effectiveAriaDisabled() {
967
+ return (this.disabled || this.readonly) ? true : undefined;
968
+ }
969
+ get ariaLabelText() {
970
+ return [AccessibilityTextsHelper.A(this), this.text].filter(Boolean).join(" ");
971
+ }
972
+ get effectiveAriaDescribedBy() {
973
+ return this.hasValueState ? `${this._id}-descr` : undefined;
974
+ }
975
+ get hasValueState() {
976
+ return this.valueState !== ValueState.o.None;
977
+ }
978
+ get valueStateText() {
979
+ switch (this.valueState) {
980
+ case ValueState.o.Negative:
981
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR);
982
+ case ValueState.o.Critical:
983
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING);
984
+ case ValueState.o.Positive:
985
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS);
986
+ case ValueState.o.Information:
987
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_INFORMATION);
988
+ default:
989
+ return "";
990
+ }
991
+ }
992
+ get effectiveTabIndex() {
993
+ const tabindex = this.getAttribute("tabindex");
994
+ if (this.disabled) {
995
+ return -1;
996
+ }
997
+ if (this.name) {
998
+ return this._tabIndex;
999
+ }
1000
+ return tabindex ? parseInt(tabindex) : 0;
1001
+ }
1002
+ };
1003
+ __decorate$2([
1004
+ webcomponentsBase.s({ type: Boolean })
1005
+ ], RadioButton.prototype, "disabled", void 0);
1006
+ __decorate$2([
1007
+ webcomponentsBase.s({ type: Boolean })
1008
+ ], RadioButton.prototype, "readonly", void 0);
1009
+ __decorate$2([
1010
+ webcomponentsBase.s({ type: Boolean })
1011
+ ], RadioButton.prototype, "required", void 0);
1012
+ __decorate$2([
1013
+ webcomponentsBase.s({ type: Boolean })
1014
+ ], RadioButton.prototype, "checked", void 0);
1015
+ __decorate$2([
1016
+ webcomponentsBase.s()
1017
+ ], RadioButton.prototype, "text", void 0);
1018
+ __decorate$2([
1019
+ webcomponentsBase.s()
1020
+ ], RadioButton.prototype, "valueState", void 0);
1021
+ __decorate$2([
1022
+ webcomponentsBase.s()
1023
+ ], RadioButton.prototype, "name", void 0);
1024
+ __decorate$2([
1025
+ webcomponentsBase.s()
1026
+ ], RadioButton.prototype, "value", void 0);
1027
+ __decorate$2([
1028
+ webcomponentsBase.s()
1029
+ ], RadioButton.prototype, "wrappingType", void 0);
1030
+ __decorate$2([
1031
+ webcomponentsBase.s()
1032
+ ], RadioButton.prototype, "accessibleName", void 0);
1033
+ __decorate$2([
1034
+ webcomponentsBase.s()
1035
+ ], RadioButton.prototype, "accessibleNameRef", void 0);
1036
+ __decorate$2([
1037
+ webcomponentsBase.s({ type: Number })
1038
+ ], RadioButton.prototype, "_tabIndex", void 0);
1039
+ __decorate$2([
1040
+ webcomponentsBase.s({ type: Boolean })
1041
+ ], RadioButton.prototype, "active", void 0);
1042
+ __decorate$2([
1043
+ webcomponentsBase.s({ type: Boolean, noAttribute: true })
1044
+ ], RadioButton.prototype, "_groupChecked", void 0);
1045
+ __decorate$2([
1046
+ webcomponentsBase.s({ type: Boolean, noAttribute: true })
1047
+ ], RadioButton.prototype, "_groupRequired", void 0);
1048
+ __decorate$2([
1049
+ i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
1050
+ ], RadioButton, "i18nBundle", void 0);
1051
+ RadioButton = RadioButton_1 = __decorate$2([
1052
+ webcomponentsBase.m({
1053
+ tag: "ui5-radio-button",
1054
+ languageAware: true,
1055
+ formAssociated: true,
1056
+ renderer: parametersBundle_css.y,
1057
+ template: RadioButtonTemplate,
1058
+ styles: radioButtonCss,
1059
+ })
1060
+ /**
1061
+ * Fired when the component checked state changes.
1062
+ * @public
1063
+ * @since 1.0.0-rc.15
1064
+ */
1065
+ ,
1066
+ eventStrict.l("change", {
1067
+ bubbles: true,
1068
+ })
1069
+ ], RadioButton);
1070
+ RadioButton.define();
1071
+ var RadioButton$1 = RadioButton;
1072
+
1073
+ Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
1074
+ Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
1075
+ var checkboxCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host(:not([hidden])){display:inline-block}:host([required]){vertical-align:middle}:host{overflow:hidden;max-width:100%;outline:none;border-radius:var(--_ui5-v2-13-0-rc-0_checkbox_border_radius);transition:var(--_ui5-v2-13-0-rc-0_checkbox_transition);cursor:pointer;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}:host([disabled]){cursor:default}:host([disabled]) .ui5-checkbox-root{opacity:var(--_ui5-v2-13-0-rc-0_checkbox_disabled_opacity)}:host([disabled]) .ui5-checkbox-inner{border-color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_disabled_border_color)}:host([disabled]) .ui5-checkbox-label{color:var(--_ui5-v2-13-0-rc-0_checkbox_disabled_label_color)}:host([readonly]:not([value-state="Critical"]):not([value-state="Negative"])) .ui5-checkbox-inner{background:var(--sapField_ReadOnly_Background);border:var(--_ui5-v2-13-0-rc-0_checkbox_inner_readonly_border);color:var(--sapField_TextColor)}:host(:not([wrapping-type="None"])[text]) .ui5-checkbox-root{min-height:auto;box-sizing:border-box;align-items:flex-start;padding-top:var(--_ui5-v2-13-0-rc-0_checkbox_root_side_padding);padding-bottom:var(--_ui5-v2-13-0-rc-0_checkbox_root_side_padding)}:host(:not([wrapping-type="None"])[text]) .ui5-checkbox-root .ui5-checkbox-label{overflow-wrap:break-word;align-self:center}:host([desktop][text]:not([wrapping-type="None"])) .ui5-checkbox-root:focus:before,.ui5-checkbox-root[text]:focus-visible:before{inset-block:var(--_ui5-v2-13-0-rc-0_checkbox_wrapped_focus_inset_block)}:host([value-state="Negative"]) .ui5-checkbox-inner,:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InvalidBackground);border:var(--_ui5-v2-13-0-rc-0_checkbox_inner_error_border);color:var(--sapField_InvalidColor)}:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-13-0-rc-0_checkbox_inner_error_background_hover)}:host([value-state="Critical"]) .ui5-checkbox-inner,:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_WarningBackground);border:var(--_ui5-v2-13-0-rc-0_checkbox_inner_warning_border);color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_warning_color)}:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-13-0-rc-0_checkbox_inner_warning_background_hover)}:host([value-state="Information"]) .ui5-checkbox-inner,:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InformationBackground);border:var(--_ui5-v2-13-0-rc-0_checkbox_inner_information_border);color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_information_color)}:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-13-0-rc-0_checkbox_inner_information_background_hover)}:host([value-state="Positive"]) .ui5-checkbox-inner,:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_SuccessBackground);border:var(--_ui5-v2-13-0-rc-0_checkbox_inner_success_border);color:var(--sapField_SuccessColor)}:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-13-0-rc-0_checkbox_inner_success_background_hover)}:host([value-state="Critical"]) .ui5-checkbox-icon,:host([value-state="Critical"][indeterminate]) .ui5-checkbox-inner:after{color:var(--_ui5-v2-13-0-rc-0_checkbox_checkmark_warning_color)}.ui5-checkbox-root{position:relative;display:inline-flex;align-items:center;max-width:100%;min-height:var(--_ui5-v2-13-0-rc-0_checkbox_width_height);min-width:var(--_ui5-v2-13-0-rc-0_checkbox_width_height);padding:0 var(--_ui5-v2-13-0-rc-0_checkbox_wrapper_padding);outline:none;transition:var(--_ui5-v2-13-0-rc-0_checkbox_transition);border:var(--_ui5-v2-13-0-rc-0_checkbox_default_focus_border);border-radius:var(--_ui5-v2-13-0-rc-0_checkbox_border_radius);box-sizing:border-box}:host([desktop]) .ui5-checkbox-root:focus:before,.ui5-checkbox-root:focus-visible:before{display:var(--_ui5-v2-13-0-rc-0_checkbox_focus_outline_display);content:"";position:absolute;inset-inline:var(--_ui5-v2-13-0-rc-0_checkbox_focus_position);inset-block:var(--_ui5-v2-13-0-rc-0_checkbox_focus_position);border:var(--_ui5-v2-13-0-rc-0_checkbox_focus_outline);border-radius:var(--_ui5-v2-13-0-rc-0_checkbox_focus_border_radius)}:host([text]) .ui5-checkbox-root{padding-inline-end:var(--_ui5-v2-13-0-rc-0_checkbox_right_focus_distance)}:host([text]) .ui5-checkbox-root:focus:before,:host([text]) .ui5-checkbox-root:focus-visible:before{inset-inline-end:0}:host(:hover:not([disabled])){background:var(--_ui5-v2-13-0-rc-0_checkbox_outer_hover_background)}.ui5-checkbox--hoverable .ui5-checkbox-label:hover{color:var(--_ui5-v2-13-0-rc-0_checkbox_label_color)}:host(:not([active]):not([checked]):not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active]):not([checked])[value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-13-0-rc-0_checkbox_hover_background);border-color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_hover_border_color)}:host(:not([active])[checked]:not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active])[checked][value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-13-0-rc-0_checkbox_hover_background);border-color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_hover_checked_border_color)}:host([checked]:not([value-state])) .ui5-checkbox-inner,:host([checked][value-state="None"]) .ui5-checkbox-inner{border-color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_selected_border_color)}:host([active]:not([checked]):not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active]:not([checked])[value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_active_border_color);background-color:var(--_ui5-v2-13-0-rc-0_checkbox_active_background)}:host([active][checked]:not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active][checked][value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5-v2-13-0-rc-0_checkbox_inner_selected_border_color);background-color:var(--_ui5-v2-13-0-rc-0_checkbox_active_background)}.ui5-checkbox-inner{min-width:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);max-width:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);height:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);max-height:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);border:var(--_ui5-v2-13-0-rc-0_checkbox_inner_border);border-radius:var(--_ui5-v2-13-0-rc-0_checkbox_inner_border_radius);background:var(--_ui5-v2-13-0-rc-0_checkbox_inner_background);color:var(--_ui5-v2-13-0-rc-0_checkbox_checkmark_color);box-sizing:border-box;position:relative;cursor:inherit}:host([indeterminate][checked]) .ui5-checkbox-inner:after{content:"";background-color:currentColor;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--_ui5-v2-13-0-rc-0_checkbox_partially_icon_size);height:var(--_ui5-v2-13-0-rc-0_checkbox_partially_icon_size)}:host input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit}.ui5-checkbox-root .ui5-checkbox-label{margin-inline-start:var(--_ui5-v2-13-0-rc-0_checkbox_label_offset);cursor:inherit;text-overflow:ellipsis;overflow:hidden;pointer-events:none;color:var(--_ui5-v2-13-0-rc-0_checkbox_label_color)}.ui5-checkbox-icon{width:var(--_ui5-v2-13-0-rc-0_checkbox_icon_size);height:var(--_ui5-v2-13-0-rc-0_checkbox_icon_size);color:currentColor;cursor:inherit;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}:host([display-only]){cursor:default}:host([display-only]) .ui5-checkbox-display-only-icon-inner [ui5-icon]{color:var(--sapTextColor)}:host([display-only]) .ui5-checkbox-display-only-icon-inner{min-width:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);max-width:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);height:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);max-height:var(--_ui5-v2-13-0-rc-0_checkbox_inner_width_height);display:flex;align-items:center;justify-content:center}
1076
+ `;
1077
+
1078
+ const name$7 = "accept";
1079
+ const pathData$7 = "M455.8 94q9 9 3 19l-222 326q-4 8-12 9t-14-5l-151-167q-5-5-4.5-11t5.5-11l25-25q12-12 23 0l96 96q5 5 13 4.5t12-8.5l175-249q4-7 11.5-8t13.5 4z";
1080
+ const ltr$7 = true;
1081
+ const collection$7 = "SAP-icons-v4";
1082
+ const packageName$7 = "sap/ushell/gen/ui5/webcomponents-icons";
1083
+
1084
+ Icons.f$2(name$7, { pathData: pathData$7, ltr: ltr$7, collection: collection$7, packageName: packageName$7 });
1085
+
1086
+ const name$6 = "accept";
1087
+ const pathData$6 = "M187 416q-12 0-20-9L71 299q-7-7-7-17 0-11 7.5-18.5T90 256q12 0 19 9l77 87 217-247q8-9 19-9t18.5 7.5T448 122q0 10-6 16L206 407q-7 9-19 9z";
1088
+ const ltr$6 = true;
1089
+ const collection$6 = "SAP-icons-v5";
1090
+ const packageName$6 = "sap/ushell/gen/ui5/webcomponents-icons";
1091
+
1092
+ Icons.f$2(name$6, { pathData: pathData$6, ltr: ltr$6, collection: collection$6, packageName: packageName$6 });
1093
+
1094
+ var checkIcon = "accept";
1095
+
1096
+ const name$5 = "complete";
1097
+ const pathData$5 = "M431.958 320h32v128q0 14-9.5 23t-22.5 9h-384q-14 0-23-9t-9-23V64q0-13 9-22.5t23-9.5h128v32h-128v384h384V320zm60-295q7 7 2 16l-185 272q-3 6-10 7t-12-4l-125-139q-9-9 0-18l21-21q10-10 19 0l80 80q5 5 11.5 4t9.5-8l146-207q3-6 9.5-7t11.5 4z";
1098
+ const ltr$5 = true;
1099
+ const collection$5 = "SAP-icons-v4";
1100
+ const packageName$5 = "sap/ushell/gen/ui5/webcomponents-icons";
1101
+
1102
+ Icons.f$2(name$5, { pathData: pathData$5, ltr: ltr$5, collection: collection$5, packageName: packageName$5 });
1103
+
1104
+ const name$4 = "complete";
1105
+ const pathData$4 = "M438 224q11 0 18.5 7.5T464 250v140q0 38-26 64t-64 26H106q-38 0-64-26t-26-64V122q0-38 26-64t64-26h237q11 0 18 7.5t7 18.5-7 18-18 7H106q-16 0-27.5 11.5T67 122v268q0 16 11.5 27.5T106 429h268q16 0 27.5-11.5T413 390V250q0-11 7-18.5t18-7.5zm32-192q11 0 18.5 7.5T496 58q0 10-7 17L257 312q-6 8-18 8-10 0-18-8l-70-71q-7-7-7-18t7.5-18 18.5-7 18 7l51 53L452 40q8-8 18-8z";
1106
+ const ltr$4 = true;
1107
+ const collection$4 = "SAP-icons-v5";
1108
+ const packageName$4 = "sap/ushell/gen/ui5/webcomponents-icons";
1109
+
1110
+ Icons.f$2(name$4, { pathData: pathData$4, ltr: ltr$4, collection: collection$4, packageName: packageName$4 });
1111
+
1112
+ var complete = "complete";
1113
+
1114
+ const name$3 = "border";
1115
+ const pathData$3 = "M448 32q13 0 22.5 9t9.5 23v384q0 14-9.5 23t-22.5 9H64q-14 0-23-9t-9-23V64q0-14 9-23t23-9h384zm0 32H64v384h384V64z";
1116
+ const ltr$3 = false;
1117
+ const collection$3 = "SAP-icons-v4";
1118
+ const packageName$3 = "sap/ushell/gen/ui5/webcomponents-icons";
1119
+
1120
+ Icons.f$2(name$3, { pathData: pathData$3, ltr: ltr$3, collection: collection$3, packageName: packageName$3 });
1121
+
1122
+ const name$2 = "border";
1123
+ const pathData$2 = "M390 480H122q-38 0-64-26t-26-64V122q0-38 26-64t64-26h268q38 0 64 26t26 64v268q0 38-26 64t-64 26zM122 83q-17 0-28 11t-11 28v268q0 17 11 28t28 11h268q17 0 28-11t11-28V122q0-17-11-28t-28-11H122z";
1124
+ const ltr$2 = false;
1125
+ const collection$2 = "SAP-icons-v5";
1126
+ const packageName$2 = "sap/ushell/gen/ui5/webcomponents-icons";
1127
+
1128
+ Icons.f$2(name$2, { pathData: pathData$2, ltr: ltr$2, collection: collection$2, packageName: packageName$2 });
1129
+
1130
+ var border = "border";
1131
+
1132
+ const name$1 = "tri-state";
1133
+ const pathData$1 = "M448 32q13 0 22.5 9.5T480 64v384q0 14-9.5 23t-22.5 9H64q-14 0-23-9t-9-23V64q0-13 9-22.5T64 32h384zm0 32H64v384h384V64zM160 345V169q0-8 8-8h176q8 0 8 8v176q0 8-8 8H168q-8 0-8-8z";
1134
+ const ltr$1 = false;
1135
+ const collection$1 = "SAP-icons-v4";
1136
+ const packageName$1 = "sap/ushell/gen/ui5/webcomponents-icons";
1137
+
1138
+ Icons.f$2(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
1139
+
1140
+ const name = "tri-state";
1141
+ const pathData = "M390 32q38 0 64 26t26 64v268q0 38-26 64t-64 26H122q-38 0-64-26t-26-64V122q0-38 26-64t64-26h268zm39 90q0-17-11-28t-28-11H122q-17 0-28 11t-11 28v268q0 17 11 28t28 11h268q17 0 28-11t11-28V122zm-77 38v192H160V160h192z";
1142
+ const ltr = false;
1143
+ const collection = "SAP-icons-v5";
1144
+ const packageName = "sap/ushell/gen/ui5/webcomponents-icons";
1145
+
1146
+ Icons.f$2(name, { pathData, ltr, collection, packageName });
1147
+
1148
+ var triState = "tri-state";
1149
+
1150
+ function CheckBoxTemplate() {
1151
+ return (parametersBundle_css.jsxs("div", { class: {
1152
+ "ui5-checkbox-root": true,
1153
+ "ui5-checkbox--hoverable": !this.disabled && !this.readonly && Icons.f(),
1154
+ }, role: "checkbox", part: "root", "aria-checked": this.effectiveAriaChecked, "aria-readonly": this.ariaReadonly, "aria-disabled": this.effectiveAriaDisabled, "aria-label": this.ariaLabelText, "aria-labelledby": this.ariaLabelledBy, "aria-describedby": this.ariaDescribedBy, "aria-required": this.required, tabindex: this.effectiveTabIndex, onMouseDown: this._onmousedown, onMouseUp: this._onmouseup, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onClick: this._onclick, onFocusOut: this._onfocusout, children: [this.isDisplayOnly ?
1155
+ parametersBundle_css.jsx("div", { class: "ui5-checkbox-display-only-icon-inner", children: parametersBundle_css.jsx(Icon.Icon, { "aria-hidden": "true", name: displayOnlyIcon.call(this), class: "ui5-checkbox-display-only-icon", part: "icon" }) })
1156
+ :
1157
+ parametersBundle_css.jsx("div", { id: `${this._id}-CbBg`, class: "ui5-checkbox-inner", children: this.isCompletelyChecked &&
1158
+ parametersBundle_css.jsx(Icon.Icon, { "aria-hidden": "true", name: checkIcon, class: "ui5-checkbox-icon", part: "icon" }) }), parametersBundle_css.jsx("input", { id: `${this._id}-CB`, type: "checkbox", checked: this.checked, value: this.value, readonly: this.readonly, disabled: this.disabled, tabindex: -1, "aria-hidden": "true", "data-sap-no-tab-ref": true }), this.text &&
1159
+ parametersBundle_css.jsx(Label, { id: `${this._id}-label`, part: "label", class: "ui5-checkbox-label", wrappingType: this.wrappingType, required: this.required, children: this.text }), this.hasValueState &&
1160
+ parametersBundle_css.jsx("span", { id: `${this._id}-descr`, class: "ui5-hidden-text", children: this.valueStateText })] }));
1161
+ }
1162
+ function displayOnlyIcon() {
1163
+ if (this.isCompletelyChecked) {
1164
+ return complete;
1165
+ }
1166
+ if (this.checked && this.indeterminate) {
1167
+ return triState;
1168
+ }
1169
+ return border;
1170
+ }
1171
+
1172
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
1173
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1174
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1175
+ 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;
1176
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1177
+ };
1178
+ var CheckBox_1;
1179
+ let isGlobalHandlerAttached = false;
1180
+ let activeCb;
1181
+ /**
1182
+ * @class
1183
+ *
1184
+ * ### Overview
1185
+ *
1186
+ * Allows the user to set a binary value, such as true/false or yes/no for an item.
1187
+ *
1188
+ * The `ui5-checkbox` component consists of a box and a label that describes its purpose.
1189
+ * If it's checked, an indicator is displayed inside the box.
1190
+ * To check/uncheck the `ui5-checkbox`, the user has to click or tap the square
1191
+ * box or its label.
1192
+ *
1193
+ * The `ui5-checkbox` component only has 2 states - checked and unchecked.
1194
+ * Clicking or tapping toggles the `ui5-checkbox` between checked and unchecked state.
1195
+ *
1196
+ * ### Usage
1197
+ *
1198
+ * You can define the checkbox text with via the `text` property. If the text exceeds the available width, it is truncated by default.
1199
+ * In case you prefer text to truncate, set the `wrappingType` property to "None".
1200
+ * The touchable area for toggling the `ui5-checkbox` ends where the text ends.
1201
+ *
1202
+ * You can disable the `ui5-checkbox` by setting the `disabled` property to
1203
+ * `true`,
1204
+ * or use the `ui5-checkbox` in read-only mode by setting the `readonly`
1205
+ * property to `true`.
1206
+ *
1207
+ * ### Keyboard Handling
1208
+ *
1209
+ * The user can use the following keyboard shortcuts to toggle the checked state of the `ui5-checkbox`.
1210
+ *
1211
+ * - [Space],[Enter] - Toggles between different states: checked, not checked.
1212
+ *
1213
+ * ### ES6 Module Import
1214
+ *
1215
+ * `import "sap/ushell/gen/ui5/webcomponents/dist/CheckBox.js";`
1216
+ * @constructor
1217
+ * @extends UI5Element
1218
+ * @public
1219
+ * @csspart root - Used to style the outermost wrapper of the `ui5-checkbox`
1220
+ * @csspart label - Used to style the label of the `ui5-checkbox`
1221
+ * @csspart icon - Used to style the icon of the `ui5-checkbox`
1222
+ */
1223
+ let CheckBox = CheckBox_1 = class CheckBox extends webcomponentsBase.b {
1224
+ get formValidityMessage() {
1225
+ return CheckBox_1.i18nBundle.getText(i18nDefaults.FORM_CHECKABLE_REQUIRED);
1226
+ }
1227
+ get formValidity() {
1228
+ return { valueMissing: this.required && !this.checked };
1229
+ }
1230
+ async formElementAnchor() {
1231
+ return this.getFocusDomRefAsync();
1232
+ }
1233
+ get formFormattedValue() {
1234
+ return this.checked ? this.value : null;
1235
+ }
1236
+ constructor() {
1237
+ super();
1238
+ /**
1239
+ * Defines whether the component is disabled.
1240
+ *
1241
+ * **Note:** A disabled component is completely noninteractive.
1242
+ * @default false
1243
+ * @public
1244
+ */
1245
+ this.disabled = false;
1246
+ /**
1247
+ * Defines whether the component is read-only.
1248
+ *
1249
+ * **Note:** A read-only component is not editable,
1250
+ * but still provides visual feedback upon user interaction.
1251
+ * @default false
1252
+ * @public
1253
+ */
1254
+ this.readonly = false;
1255
+ /**
1256
+ * Determines whether the `ui5-checkbox` is in display only state.
1257
+ *
1258
+ * When set to `true`, the `ui5-checkbox` is not interactive, not editable, not focusable
1259
+ * and not in the tab chain. This setting is used for forms in review mode.
1260
+ *
1261
+ * **Note:** When the property `disabled` is set to `true` this property has no effect.
1262
+ * @since 1.22.0
1263
+ * @public
1264
+ * @default false
1265
+ */
1266
+ this.displayOnly = false;
1267
+ /**
1268
+ * Defines whether the component is required.
1269
+ *
1270
+ * **Note:** We advise against using the text property of the checkbox when there is a
1271
+ * label associated with it to avoid having two required asterisks.
1272
+ * @default false
1273
+ * @public
1274
+ * @since 1.3.0
1275
+ */
1276
+ this.required = false;
1277
+ /**
1278
+ * Defines whether the component is displayed as partially checked.
1279
+ *
1280
+ * **Note:** The indeterminate state can be set only programmatically and can’t be achieved by user
1281
+ * interaction and the resulting visual state depends on the values of the `indeterminate`
1282
+ * and `checked` properties:
1283
+ *
1284
+ * - If the component is checked and indeterminate, it will be displayed as partially checked
1285
+ * - If the component is checked and it is not indeterminate, it will be displayed as checked
1286
+ * - If the component is not checked, it will be displayed as not checked regardless value of the indeterminate attribute
1287
+ * @default false
1288
+ * @public
1289
+ * @since 1.0.0-rc.15
1290
+ */
1291
+ this.indeterminate = false;
1292
+ /**
1293
+ * Defines if the component is checked.
1294
+ *
1295
+ * **Note:** The property can be changed with user interaction,
1296
+ * either by cliking/tapping on the component, or by
1297
+ * pressing the Enter or Space key.
1298
+ * @default false
1299
+ * @formEvents change
1300
+ * @formProperty
1301
+ * @public
1302
+ */
1303
+ this.checked = false;
1304
+ /**
1305
+ * Defines the value state of the component.
1306
+ * @default "None"
1307
+ * @public
1308
+ */
1309
+ this.valueState = "None";
1310
+ /**
1311
+ * Defines whether the component text wraps when there is not enough space.
1312
+ *
1313
+ * **Note:** for option "Normal" the text will wrap and the words will not be broken based on hyphenation.
1314
+ * **Note:** for option "None" the text will be truncated with an ellipsis.
1315
+ * @default "Normal"
1316
+ * @public
1317
+ */
1318
+ this.wrappingType = "Normal";
1319
+ /**
1320
+ * Defines the form value of the component that is submitted when the checkbox is checked.
1321
+ *
1322
+ * When a form containing `ui5-checkbox` elements is submitted, only the values of the
1323
+ * **checked** checkboxes are included in the form data sent to the server. Unchecked
1324
+ * checkboxes do not contribute any data to the form submission.
1325
+ *
1326
+ * This property is particularly useful for **checkbox groups**, where multiple checkboxes with the same `name` but different `value` properties can be used to represent a set of related options.
1327
+ *
1328
+ * @default "on"
1329
+ * @public
1330
+ */
1331
+ this.value = "on";
1332
+ /**
1333
+ * Defines the active state (pressed or not) of the component.
1334
+ * @private
1335
+ */
1336
+ this.active = false;
1337
+ this._deactivate = () => {
1338
+ if (activeCb) {
1339
+ activeCb.active = false;
1340
+ }
1341
+ };
1342
+ if (!isGlobalHandlerAttached) {
1343
+ document.addEventListener("mouseup", this._deactivate);
1344
+ isGlobalHandlerAttached = true;
1345
+ }
1346
+ }
1347
+ onEnterDOM() {
1348
+ if (Icons.f()) {
1349
+ this.setAttribute("desktop", "");
1350
+ }
1351
+ }
1352
+ _onclick() {
1353
+ this.toggle();
1354
+ }
1355
+ _onmousedown() {
1356
+ if (this.readonly || this.disabled) {
1357
+ return;
1358
+ }
1359
+ this.active = true;
1360
+ activeCb = this; // eslint-disable-line
1361
+ }
1362
+ _onmouseup() {
1363
+ this.active = false;
1364
+ }
1365
+ _onfocusout() {
1366
+ this.active = false;
1367
+ }
1368
+ _onkeydown(e) {
1369
+ if (webcomponentsBase.i(e)) {
1370
+ e.preventDefault();
1371
+ }
1372
+ if (this.readonly || this.disabled) {
1373
+ return;
1374
+ }
1375
+ if (webcomponentsBase.b$1(e)) {
1376
+ this.toggle();
1377
+ }
1378
+ this.active = true;
1379
+ }
1380
+ _onkeyup(e) {
1381
+ if (webcomponentsBase.i(e)) {
1382
+ this.toggle();
1383
+ }
1384
+ this.active = false;
1385
+ }
1386
+ toggle() {
1387
+ if (this.canToggle()) {
1388
+ const lastState = {
1389
+ checked: this.checked,
1390
+ indeterminate: this.indeterminate,
1391
+ };
1392
+ if (this.indeterminate) {
1393
+ this.indeterminate = false;
1394
+ this.checked = true;
1395
+ }
1396
+ else {
1397
+ this.checked = !this.checked;
1398
+ }
1399
+ const changePrevented = !this.fireDecoratorEvent("change");
1400
+ // Angular two way data binding
1401
+ const valueChangePrevented = !this.fireDecoratorEvent("value-changed");
1402
+ if (changePrevented || valueChangePrevented) {
1403
+ this.checked = lastState.checked;
1404
+ this.indeterminate = lastState.indeterminate;
1405
+ }
1406
+ }
1407
+ return this;
1408
+ }
1409
+ canToggle() {
1410
+ return !(this.disabled || this.readonly || this.displayOnly);
1411
+ }
1412
+ valueStateTextMappings() {
1413
+ return {
1414
+ "Negative": CheckBox_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
1415
+ "Critical": CheckBox_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
1416
+ "Positive": CheckBox_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
1417
+ };
1418
+ }
1419
+ get ariaLabelText() {
1420
+ return AccessibilityTextsHelper.A(this);
1421
+ }
1422
+ get classes() {
1423
+ return {
1424
+ main: {
1425
+ "ui5-checkbox--hoverable": !this.disabled && !this.readonly && Icons.f(),
1426
+ },
1427
+ };
1428
+ }
1429
+ get ariaReadonly() {
1430
+ return this.readonly || this.displayOnly ? "true" : undefined;
1431
+ }
1432
+ get effectiveAriaDisabled() {
1433
+ return this.disabled ? "true" : undefined;
1434
+ }
1435
+ get effectiveAriaChecked() {
1436
+ return this.indeterminate && this.checked ? "mixed" : this.checked;
1437
+ }
1438
+ get ariaLabelledBy() {
1439
+ if (!this.ariaLabelText) {
1440
+ return this.text ? `${this._id}-label` : undefined;
1441
+ }
1442
+ return undefined;
1443
+ }
1444
+ get ariaDescribedBy() {
1445
+ return this.hasValueState ? `${this._id}-descr` : undefined;
1446
+ }
1447
+ get hasValueState() {
1448
+ return this.valueState !== ValueState.o.None;
1449
+ }
1450
+ get valueStateText() {
1451
+ if (this.valueState !== ValueState.o.None && this.valueState !== ValueState.o.Information) {
1452
+ return this.valueStateTextMappings()[this.valueState];
1453
+ }
1454
+ }
1455
+ get effectiveTabIndex() {
1456
+ const tabindex = this.getAttribute("tabindex");
1457
+ if (this.tabbable) {
1458
+ return tabindex ? parseInt(tabindex) : 0;
1459
+ }
1460
+ }
1461
+ get tabbable() {
1462
+ return !this.disabled && !this.displayOnly;
1463
+ }
1464
+ get isCompletelyChecked() {
1465
+ return this.checked && !this.indeterminate;
1466
+ }
1467
+ get isDisplayOnly() {
1468
+ return this.displayOnly && !this.disabled;
1469
+ }
1470
+ };
1471
+ __decorate$1([
1472
+ webcomponentsBase.s()
1473
+ ], CheckBox.prototype, "accessibleNameRef", void 0);
1474
+ __decorate$1([
1475
+ webcomponentsBase.s()
1476
+ ], CheckBox.prototype, "accessibleName", void 0);
1477
+ __decorate$1([
1478
+ webcomponentsBase.s({ type: Boolean })
1479
+ ], CheckBox.prototype, "disabled", void 0);
1480
+ __decorate$1([
1481
+ webcomponentsBase.s({ type: Boolean })
1482
+ ], CheckBox.prototype, "readonly", void 0);
1483
+ __decorate$1([
1484
+ webcomponentsBase.s({ type: Boolean })
1485
+ ], CheckBox.prototype, "displayOnly", void 0);
1486
+ __decorate$1([
1487
+ webcomponentsBase.s({ type: Boolean })
1488
+ ], CheckBox.prototype, "required", void 0);
1489
+ __decorate$1([
1490
+ webcomponentsBase.s({ type: Boolean })
1491
+ ], CheckBox.prototype, "indeterminate", void 0);
1492
+ __decorate$1([
1493
+ webcomponentsBase.s({ type: Boolean })
1494
+ ], CheckBox.prototype, "checked", void 0);
1495
+ __decorate$1([
1496
+ webcomponentsBase.s()
1497
+ ], CheckBox.prototype, "text", void 0);
1498
+ __decorate$1([
1499
+ webcomponentsBase.s()
1500
+ ], CheckBox.prototype, "valueState", void 0);
1501
+ __decorate$1([
1502
+ webcomponentsBase.s()
1503
+ ], CheckBox.prototype, "wrappingType", void 0);
1504
+ __decorate$1([
1505
+ webcomponentsBase.s()
1506
+ ], CheckBox.prototype, "name", void 0);
1507
+ __decorate$1([
1508
+ webcomponentsBase.s()
1509
+ ], CheckBox.prototype, "value", void 0);
1510
+ __decorate$1([
1511
+ webcomponentsBase.s({ type: Boolean })
1512
+ ], CheckBox.prototype, "active", void 0);
1513
+ __decorate$1([
1514
+ i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
1515
+ ], CheckBox, "i18nBundle", void 0);
1516
+ CheckBox = CheckBox_1 = __decorate$1([
1517
+ webcomponentsBase.m({
1518
+ tag: "ui5-checkbox",
1519
+ languageAware: true,
1520
+ formAssociated: true,
1521
+ renderer: parametersBundle_css.y,
1522
+ template: CheckBoxTemplate,
1523
+ styles: checkboxCss,
1524
+ })
1525
+ /**
1526
+ * Fired when the component checked state changes.
1527
+ * @public
1528
+ */
1529
+ ,
1530
+ eventStrict.l("change", {
1531
+ bubbles: true,
1532
+ cancelable: true,
1533
+ })
1534
+ /**
1535
+ * Fired to make Angular two way data binding work properly.
1536
+ * @private
1537
+ */
1538
+ ,
1539
+ eventStrict.l("value-changed", {
1540
+ bubbles: true,
1541
+ cancelable: true,
1542
+ })
1543
+ ], CheckBox);
1544
+ CheckBox.define();
1545
+ var CheckBox$1 = CheckBox;
1546
+
1547
+ const predefinedHooks$1 = {
1548
+ listItemPreContent,
1549
+ listItemContent: listItemContent$1,
1550
+ imageBegin,
1551
+ iconBegin,
1552
+ iconEnd,
1553
+ selectionElement,
1554
+ };
1555
+ function ListItemTemplate(hooks) {
1556
+ const currentHooks = { ...predefinedHooks$1, ...hooks };
1557
+ return parametersBundle_css.jsxs("li", { part: "native-li", "data-sap-focus-ref": true, tabindex: this._effectiveTabIndex, class: this.classes.main, onFocusIn: this._onfocusin, onFocusOut: this._onfocusout, onKeyUp: this._onkeyup, onKeyDown: this._onkeydown, onMouseUp: this._onmouseup, onMouseDown: this._onmousedown, onTouchStart: this._onmousedown, onTouchEnd: this._ontouchend, onClick: this._onclick, draggable: this.movable, onDragStart: this._ondragstart, onDragEnd: this._ondragend, role: this._accInfo.role, title: this._accInfo.tooltip, "aria-expanded": this._accInfo.ariaExpanded, "aria-level": this._accInfo.ariaLevel, "aria-haspopup": this._accInfo.ariaHaspopup, "aria-posinset": this._accInfo.posinset, "aria-setsize": this._accInfo.setsize, "aria-describedby": `${this._id}-invisibleText-describedby`, "aria-labelledby": this._accessibleNameRef, "aria-disabled": this._ariaDisabled, "aria-selected": this._accInfo.ariaSelected, "aria-checked": this._accInfo.ariaChecked, "aria-owns": this._accInfo.ariaOwns, "aria-keyshortcuts": this._accInfo.ariaKeyShortcuts, children: [currentHooks.listItemPreContent.call(this), this.placeSelectionElementBefore && selectionElement.call(this), this._hasHighlightColor && parametersBundle_css.jsx("div", { class: "ui5-li-highlight" }), parametersBundle_css.jsxs("div", { part: "content", id: `${this._id}-content`, class: "ui5-li-content", children: [currentHooks.imageBegin.call(this), currentHooks.iconBegin.call(this), currentHooks.listItemContent.call(this)] }), currentHooks.iconEnd.call(this), this.typeDetail && (parametersBundle_css.jsx("div", { class: "ui5-li-detailbtn", children: parametersBundle_css.jsx(Button.Button, { part: "detail-button", design: "Transparent", onClick: this.onDetailClick, icon: edit }) })), this.typeNavigation && (parametersBundle_css.jsx(Icon.Icon, { name: slimArrowRight })), this.navigated && (parametersBundle_css.jsx("div", { class: "ui5-li-navigated" })), this.placeSelectionElementAfter && (currentHooks.selectionElement.call(this)), parametersBundle_css.jsx("span", { id: `${this._id}-invisibleText`, class: "ui5-hidden-text", children: this.ariaLabelledByText }), parametersBundle_css.jsx("span", { id: `${this._id}-invisibleText-describedby`, class: "ui5-hidden-text", children: this._accInfo.ariaSelectedText })] });
1558
+ }
1559
+ function listItemPreContent() { }
1560
+ function listItemContent$1() { }
1561
+ function imageBegin() { }
1562
+ function iconBegin() { }
1563
+ function iconEnd() { }
1564
+ function selectionElement() {
1565
+ switch (true) {
1566
+ case this.modeSingleSelect:
1567
+ return (parametersBundle_css.jsx(RadioButton$1, { part: "radio", disabled: this.isInactive, accessibleName: this._accInfo.ariaLabelRadioButton, tabindex: -1, id: `${this._id}-singleSelectionElement`, class: "ui5-li-singlesel-radiobtn", checked: this.selected, onChange: this.onSingleSelectionComponentPress }));
1568
+ case this.modeMultiple:
1569
+ return (parametersBundle_css.jsx(CheckBox$1, { part: "checkbox", disabled: this.isInactive, indeterminate: this.indeterminate, tabindex: -1, id: `${this._id}-multiSelectionElement`, class: "ui5-li-multisel-cb", checked: this.selected, accessibleName: this._accInfo.ariaLabel, onChange: this.onMultiSelectionComponentPress }));
1570
+ case this.modeDelete:
1571
+ return (parametersBundle_css.jsx("div", { class: "ui5-li-deletebtn", children: this.hasDeleteButtonSlot ?
1572
+ (parametersBundle_css.jsx("slot", { name: "deleteButton" })) : (parametersBundle_css.jsx(Button.Button, { part: "delete-button", tabindex: -1, "data-sap-no-tab-ref": true, id: `${this._id}-deleteSelectionElement`, design: "Transparent", icon: information.decline, onClick: this.onDelete, tooltip: this.deleteText })) }));
1573
+ }
1574
+ }
1575
+
1576
+ const predefinedHooks = {
1577
+ listItemContent,
1578
+ };
1579
+ function ListItemCustomTemplate(hooks) {
1580
+ const currentHooks = { ...predefinedHooks, ...hooks };
1581
+ return ListItemTemplate.call(this, currentHooks);
1582
+ }
1583
+ function listItemContent() {
1584
+ return parametersBundle_css.jsx("slot", {});
1585
+ }
1586
+
1587
+ Icons.p("sap/ushell/gen/ui5/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
1588
+ Icons.p("sap/ushell/gen/ui5/webcomponents", "sap_horizon", async () => i18nDefaults.defaultTheme);
1589
+ var ListItemCustomCss = `:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v2-13-0-rc-0_list_item_base_height);height:auto;box-sizing:border-box}.ui5-li-root.ui5-custom-li-root{pointer-events:inherit;min-height:inherit}.ui5-li-root.ui5-custom-li-root .ui5-li-content{pointer-events:inherit}[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{display:flex;align-items:center}.ui5-li-root.ui5-custom-li-root,[ui5-checkbox].ui5-li-singlesel-radiobtn,[ui5-radio-button].ui5-li-singlesel-radiobtn{min-width:var(--_ui5-v2-13-0-rc-0_custom_list_item_rb_min_width)}:host([_selection-mode="SingleStart"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="Multiple"]) .ui5-li-root.ui5-custom-li-root{padding-inline:0 1rem}:host([_selection-mode="SingleEnd"]) .ui5-li-root.ui5-custom-li-root{padding-inline:1rem 0}
17
1590
  `;
18
1591
 
19
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
20
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
21
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
22
- 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;
23
- return c > 3 && r && Object.defineProperty(target, key, r), r;
24
- };
25
- /**
26
- * @class
27
- *
28
- * A component to be used as custom list item within the `ui5-list`
29
- * the same way as the standard `ui5-li`.
30
- *
31
- * The component accepts arbitrary HTML content to allow full customization.
32
- * @csspart native-li - Used to style the main li tag of the list item
33
- * @csspart content - Used to style the content area of the list item
34
- * @csspart detail-button - Used to style the button rendered when the list item is of type detail
35
- * @csspart delete-button - Used to style the button rendered when the list item is in delete mode
36
- * @csspart radio - Used to style the radio button rendered when the list item is in single selection mode
37
- * @csspart checkbox - Used to style the checkbox rendered when the list item is in multiple selection mode
38
- * @slot {Node[]} default - Defines the content of the component.
39
- * @constructor
40
- * @extends ListItem
41
- * @public
42
- */
43
- let ListItemCustom = class ListItemCustom extends ListItemTemplate.ListItem {
44
- constructor() {
45
- super(...arguments);
46
- /**
47
- * Defines whether the item is movable.
48
- * @default false
49
- * @public
50
- * @since 2.0.0
51
- */
52
- this.movable = false;
53
- }
54
- async _onkeydown(e) {
55
- const isTab = webcomponentsBase.B(e) || webcomponentsBase.m$1(e);
56
- const isFocused = this.matches(":focus");
57
- if (!isTab && !isFocused && !webcomponentsBase.so(e)) {
58
- return;
59
- }
60
- await super._onkeydown(e);
61
- }
62
- _onkeyup(e) {
63
- const isTab = webcomponentsBase.B(e) || webcomponentsBase.m$1(e);
64
- const isFocused = this.matches(":focus");
65
- if (!isTab && !isFocused && !webcomponentsBase.so(e)) {
66
- return;
67
- }
68
- super._onkeyup(e);
69
- }
70
- get classes() {
71
- const result = super.classes;
72
- result.main["ui5-custom-li-root"] = true;
73
- return result;
74
- }
75
- };
76
- __decorate([
77
- webcomponentsBase.s({ type: Boolean })
78
- ], ListItemCustom.prototype, "movable", void 0);
79
- __decorate([
80
- webcomponentsBase.s()
81
- ], ListItemCustom.prototype, "accessibleName", void 0);
82
- ListItemCustom = __decorate([
83
- webcomponentsBase.m({
84
- tag: "ui5-li-custom",
85
- template: ListItemCustomTemplate,
86
- renderer: i18nDefaults.y,
87
- styles: [ListItemTemplate.ListItem.styles, ListItemCustomCss],
88
- })
89
- ], ListItemCustom);
90
- ListItemCustom.define();
91
- var ListItemCustom$1 = ListItemCustom;
92
-
93
- exports.ListItemCustom = ListItemCustom$1;
1592
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
1593
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1594
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1595
+ 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;
1596
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1597
+ };
1598
+ /**
1599
+ * @class
1600
+ *
1601
+ * A component to be used as custom list item within the `ui5-list`
1602
+ * the same way as the standard `ui5-li`.
1603
+ *
1604
+ * The component accepts arbitrary HTML content to allow full customization.
1605
+ * @csspart native-li - Used to style the main li tag of the list item
1606
+ * @csspart content - Used to style the content area of the list item
1607
+ * @csspart detail-button - Used to style the button rendered when the list item is of type detail
1608
+ * @csspart delete-button - Used to style the button rendered when the list item is in delete mode
1609
+ * @csspart radio - Used to style the radio button rendered when the list item is in single selection mode
1610
+ * @csspart checkbox - Used to style the checkbox rendered when the list item is in multiple selection mode
1611
+ * @slot {Node[]} default - Defines the content of the component.
1612
+ * @constructor
1613
+ * @extends ListItem
1614
+ * @public
1615
+ */
1616
+ let ListItemCustom = class ListItemCustom extends ListItem$1 {
1617
+ constructor() {
1618
+ super(...arguments);
1619
+ /**
1620
+ * Defines whether the item is movable.
1621
+ * @default false
1622
+ * @public
1623
+ * @since 2.0.0
1624
+ */
1625
+ this.movable = false;
1626
+ }
1627
+ async _onkeydown(e) {
1628
+ const isTab = webcomponentsBase.B(e) || webcomponentsBase.m$1(e);
1629
+ const isFocused = this.matches(":focus");
1630
+ if (!isTab && !isFocused && !webcomponentsBase.so(e)) {
1631
+ return;
1632
+ }
1633
+ await super._onkeydown(e);
1634
+ }
1635
+ _onkeyup(e) {
1636
+ const isTab = webcomponentsBase.B(e) || webcomponentsBase.m$1(e);
1637
+ const isFocused = this.matches(":focus");
1638
+ if (!isTab && !isFocused && !webcomponentsBase.so(e)) {
1639
+ return;
1640
+ }
1641
+ super._onkeyup(e);
1642
+ }
1643
+ get classes() {
1644
+ const result = super.classes;
1645
+ result.main["ui5-custom-li-root"] = true;
1646
+ return result;
1647
+ }
1648
+ };
1649
+ __decorate([
1650
+ webcomponentsBase.s({ type: Boolean })
1651
+ ], ListItemCustom.prototype, "movable", void 0);
1652
+ __decorate([
1653
+ webcomponentsBase.s()
1654
+ ], ListItemCustom.prototype, "accessibleName", void 0);
1655
+ ListItemCustom = __decorate([
1656
+ webcomponentsBase.m({
1657
+ tag: "ui5-li-custom",
1658
+ template: ListItemCustomTemplate,
1659
+ renderer: parametersBundle_css.y,
1660
+ styles: [ListItem$1.styles, ListItemCustomCss],
1661
+ })
1662
+ ], ListItemCustom);
1663
+ ListItemCustom.define();
1664
+ var ListItemCustom$1 = ListItemCustom;
1665
+
1666
+ exports.ListItem = ListItem$1;
1667
+ exports.ListItemCustom = ListItemCustom$1;
1668
+ exports.ListItemTemplate = ListItemTemplate;
1669
+ exports.checkIcon = checkIcon;
1670
+ exports.edit = edit;
1671
+ exports.slimArrowRight = slimArrowRight;
94
1672
 
95
1673
  }));