@sapui5/sap.ushell 1.136.7 → 1.136.9

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 (587) 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/urlTemplateResolution.js +0 -11
  4. package/src/main/js/sap/ushell/ApplicationType/wdaResolution.js +18 -0
  5. package/src/main/js/sap/ushell/Fiori20Adapter.js +1 -1
  6. package/src/main/js/sap/ushell/Fiori20AdapterTest.js +1 -1
  7. package/src/main/js/sap/ushell/NWBCInterface.js +1 -1
  8. package/src/main/js/sap/ushell/TechnicalParameters.js +1 -1
  9. package/src/main/js/sap/ushell/URLTemplateProcessor/DefinitionParameterSetBuilder.js +1 -1
  10. package/src/main/js/sap/ushell/URLTemplateProcessor/DependencyGraph.js +1 -1
  11. package/src/main/js/sap/ushell/URLTemplateProcessor/Functions.js +1 -1
  12. package/src/main/js/sap/ushell/URLTemplateProcessor/Resolvers.js +1 -1
  13. package/src/main/js/sap/ushell/URLTemplateProcessor/TemplateParameterParser.js +1 -1
  14. package/src/main/js/sap/ushell/URLTemplateProcessor/utils.js +1 -1
  15. package/src/main/js/sap/ushell/URLTemplateProcessor.js +1 -1
  16. package/src/main/js/sap/ushell/Ui5NativeServiceFactory.js +1 -1
  17. package/src/main/js/sap/ushell/Ui5ServiceFactory.js +1 -1
  18. package/src/main/js/sap/ushell/adapters/cdm/ClientSideTargetResolutionAdapter.js +1 -1
  19. package/src/main/js/sap/ushell/adapters/cdm/CommonDataModelAdapter.js +1 -1
  20. package/src/main/js/sap/ushell/adapters/cdm/ConfigurationDefaultsAdapter.js +1 -1
  21. package/src/main/js/sap/ushell/adapters/cdm/ContainerAdapter.js +1 -1
  22. package/src/main/js/sap/ushell/adapters/cdm/LaunchPageAdapter.js +1 -1
  23. package/src/main/js/sap/ushell/adapters/cdm/PagesCommonDataModelAdapter.js +1 -1
  24. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationAdapter.js +1 -1
  25. package/src/main/js/sap/ushell/adapters/cdm/PersonalizationV2Adapter.js +1 -1
  26. package/src/main/js/sap/ushell/adapters/cdm/Ui5ComponentLoaderAdapter.js +1 -1
  27. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/modifyHome.js +1 -1
  28. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readCatalogs.js +1 -1
  29. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/readHome.js +1 -1
  30. package/src/main/js/sap/ushell/adapters/cdm/_LaunchPage/uri.transform.js +1 -1
  31. package/src/main/js/sap/ushell/adapters/cdm/util/AppForInbound.js +1 -1
  32. package/src/main/js/sap/ushell/adapters/cdm/util/cdmSiteUtils.js +1 -1
  33. package/src/main/js/sap/ushell/adapters/cdm/v3/AdapterBase.js +1 -1
  34. package/src/main/js/sap/ushell/adapters/cdm/v3/FlpLaunchPageAdapter.js +1 -1
  35. package/src/main/js/sap/ushell/adapters/cdm/v3/LaunchPageAdapter.js +1 -1
  36. package/src/main/js/sap/ushell/adapters/cdm/v3/StaticGroupsAdapter.js +1 -1
  37. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readApplications.js +1 -1
  38. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readCatalogs.js +1 -1
  39. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readHome.js +1 -1
  40. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readPages.js +1 -1
  41. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readUtils.js +1 -1
  42. package/src/main/js/sap/ushell/adapters/cdm/v3/_LaunchPage/readVisualizations.js +1 -1
  43. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionAdapter.js +1 -1
  44. package/src/main/js/sap/ushell/adapters/cep/NavTargetResolutionInternalAdapter.js +1 -1
  45. package/src/main/js/sap/ushell/adapters/cep/SearchCEPAdapter.js +1 -1
  46. package/src/main/js/sap/ushell/adapters/cflp/UserDefaultParameterPersistenceAdapter.js +1 -1
  47. package/src/main/js/sap/ushell/adapters/local/AdapterContainer.js +1 -1
  48. package/src/main/js/sap/ushell/adapters/local/AppStateAdapter.js +1 -1
  49. package/src/main/js/sap/ushell/adapters/local/ClientSideTargetResolutionAdapter.js +1 -1
  50. package/src/main/js/sap/ushell/adapters/local/ContainerAdapter.js +1 -1
  51. package/src/main/js/sap/ushell/adapters/local/FlpLaunchPageAdapter.js +1 -1
  52. package/src/main/js/sap/ushell/adapters/local/LaunchPageAdapter.js +1 -1
  53. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionAdapter.js +1 -1
  54. package/src/main/js/sap/ushell/adapters/local/NavTargetResolutionInternalAdapter.js +1 -1
  55. package/src/main/js/sap/ushell/adapters/local/PageBuildingAdapter.js +1 -1
  56. package/src/main/js/sap/ushell/adapters/local/PagePersistenceAdapter.js +1 -1
  57. package/src/main/js/sap/ushell/adapters/local/PersonalizationAdapter.js +1 -1
  58. package/src/main/js/sap/ushell/adapters/local/PersonalizationV2Adapter.js +1 -1
  59. package/src/main/js/sap/ushell/adapters/local/SearchAdapter.js +1 -1
  60. package/src/main/js/sap/ushell/adapters/local/SearchCEPAdapter.js +1 -1
  61. package/src/main/js/sap/ushell/adapters/local/SupportTicketAdapter.js +1 -1
  62. package/src/main/js/sap/ushell/adapters/local/Ui5ComponentLoaderAdapter.js +1 -1
  63. package/src/main/js/sap/ushell/adapters/local/UserDefaultParameterPersistenceAdapter.js +1 -1
  64. package/src/main/js/sap/ushell/adapters/local/UserInfoAdapter.js +1 -1
  65. package/src/main/js/sap/ushell/api/RTA.js +22 -0
  66. package/src/main/js/sap/ushell/appIntegration/AppLifeCycle.js +1 -1
  67. package/src/main/js/sap/ushell/appIntegration/ApplicationContainer.js +1 -1
  68. package/src/main/js/sap/ushell/appIntegration/PostMessageManager.js +15 -1
  69. package/src/main/js/sap/ushell/appIntegration/contracts/EmbeddedUI5Handler.js +1 -1
  70. package/src/main/js/sap/ushell/appIntegration/contracts/StatefulContainerV2Handler.js +1 -1
  71. package/src/main/js/sap/ushell/appRuntime/ui5/plugins/rtaAgent/i18n/i18n_vi.properties +1 -1
  72. package/src/main/js/sap/ushell/appRuntime/ui5/renderers/fiori2/RendererExtensions.js +1 -1
  73. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppConfiguration.js +1 -1
  74. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppLifeCycle.js +1 -1
  75. package/src/main/js/sap/ushell/appRuntime/ui5/services/AppState.js +1 -1
  76. package/src/main/js/sap/ushell/appRuntime/ui5/services/Bookmark.js +1 -1
  77. package/src/main/js/sap/ushell/appRuntime/ui5/services/BookmarkV2.js +1 -1
  78. package/src/main/js/sap/ushell/appRuntime/ui5/services/CommonDataModel.js +1 -1
  79. package/src/main/js/sap/ushell/appRuntime/ui5/services/Container.js +1 -1
  80. package/src/main/js/sap/ushell/appRuntime/ui5/services/CrossApplicationNavigation.js +1 -1
  81. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension/Item.js +1 -1
  82. package/src/main/js/sap/ushell/appRuntime/ui5/services/Extension.js +1 -1
  83. package/src/main/js/sap/ushell/appRuntime/ui5/services/FlpLaunchPage.js +1 -1
  84. package/src/main/js/sap/ushell/appRuntime/ui5/services/FrameBoundExtension.js +1 -1
  85. package/src/main/js/sap/ushell/appRuntime/ui5/services/LaunchPage.js +1 -1
  86. package/src/main/js/sap/ushell/appRuntime/ui5/services/MessageBroker.js +1 -1
  87. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolution.js +1 -1
  88. package/src/main/js/sap/ushell/appRuntime/ui5/services/NavTargetResolutionInternal.js +1 -1
  89. package/src/main/js/sap/ushell/appRuntime/ui5/services/Navigation.js +1 -1
  90. package/src/main/js/sap/ushell/appRuntime/ui5/services/ReferenceResolver.js +1 -1
  91. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigation.js +1 -1
  92. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellNavigationInternal.js +1 -1
  93. package/src/main/js/sap/ushell/appRuntime/ui5/services/ShellUIService.js +1 -1
  94. package/src/main/js/sap/ushell/appRuntime/ui5/services/UserInfo.js +1 -1
  95. package/src/main/js/sap/ushell/appRuntime/ui5/services/adapters/Ui5ComponentLoaderAdapter.js +1 -1
  96. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/logger.js +1 -1
  97. package/src/main/js/sap/ushell/bootstrap/SchedulingAgent/state.js +1 -1
  98. package/src/main/js/sap/ushell/bootstrap/common/common.configure.ui5datetimeformat.js +1 -1
  99. package/src/main/js/sap/ushell/bootstrap/sandbox2.js +1 -1
  100. package/src/main/js/sap/ushell/components/appfinder/manifest.json +1 -1
  101. package/src/main/js/sap/ushell/components/contentFinder/CatalogService.js +1 -1
  102. package/src/main/js/sap/ushell/components/contentFinder/Component.js +1 -1
  103. package/src/main/js/sap/ushell/components/contentFinder/controller/AppSearch.controller.js +1 -1
  104. package/src/main/js/sap/ushell/components/contentFinder/controller/ContentFinderDialog.controller.js +1 -1
  105. package/src/main/js/sap/ushell/components/contentFinder/dialog/Component.js +1 -1
  106. package/src/main/js/sap/ushell/components/contentFinder/dialog/manifest.json +1 -1
  107. package/src/main/js/sap/ushell/components/contentFinder/manifest.json +1 -1
  108. package/src/main/js/sap/ushell/components/contentFinder/resources/resources_de.properties +1 -1
  109. package/src/main/js/sap/ushell/components/contentFinderStandalone/Component.js +1 -1
  110. package/src/main/js/sap/ushell/components/contentFinderStandalone/controller/ContentFinderStandalone.controller.js +1 -1
  111. package/src/main/js/sap/ushell/components/contentFinderStandalone/manifest.json +1 -1
  112. package/src/main/js/sap/ushell/components/factsheet/Component.js +1 -1
  113. package/src/main/js/sap/ushell/components/homepage/ActionMode.js +1 -1
  114. package/src/main/js/sap/ushell/components/homepage/DashboardContent.view.js +1 -1
  115. package/src/main/js/sap/ushell/components/homepage/DashboardGroupsBox.js +1 -1
  116. package/src/main/js/sap/ushell/components/homepage/DashboardUIActions.js +1 -1
  117. package/src/main/js/sap/ushell/components/homepage/manifest.json +1 -1
  118. package/src/main/js/sap/ushell/components/pages/ActionMode.js +1 -1
  119. package/src/main/js/sap/ushell/components/pages/Component.js +1 -1
  120. package/src/main/js/sap/ushell/components/pages/MyHomeImport.js +1 -1
  121. package/src/main/js/sap/ushell/components/pages/controller/PageRuntime.controller.js +1 -1
  122. package/src/main/js/sap/ushell/components/pages/manifest.json +1 -1
  123. package/src/main/js/sap/ushell/components/runtimeSwitcher/controller/RuntimeSwitcher.controller.js +1 -1
  124. package/src/main/js/sap/ushell/components/runtimeSwitcher/manifest.json +1 -1
  125. package/src/main/js/sap/ushell/components/shell/FloatingContainer/manifest.json +1 -1
  126. package/src/main/js/sap/ushell/components/shell/MenuBar/manifest.json +1 -1
  127. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenu.controller.js +1 -1
  128. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/controller/NavigationBarMenuButton.controller.js +1 -1
  129. package/src/main/js/sap/ushell/components/shell/NavigationBarMenu/manifest.json +1 -1
  130. package/src/main/js/sap/ushell/components/shell/Notifications/Component.js +1 -1
  131. package/src/main/js/sap/ushell/components/shell/ProductSwitch/Component.js +1 -1
  132. package/src/main/js/sap/ushell/components/shell/Search/manifest.json +1 -1
  133. package/src/main/js/sap/ushell/components/shell/SearchCEP/Component.js +1 -1
  134. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/FrequentActivityProvider.js +1 -1
  135. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/RecentSearchProvider.js +1 -1
  136. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchProvider.js +1 -1
  137. package/src/main/js/sap/ushell/components/shell/SearchCEP/SearchProviders/SearchServiceProvider.js +1 -1
  138. package/src/main/js/sap/ushell/components/shell/Settings/Component.js +1 -1
  139. package/src/main/js/sap/ushell/components/shell/ShellBar/Component.js +40 -2
  140. package/src/main/js/sap/ushell/components/shell/ShellBar/controller/ShellBar.controller.js +14 -4
  141. package/src/main/js/sap/ushell/components/shell/ShellBar/manifest.json +1 -1
  142. package/src/main/js/sap/ushell/components/shell/ShellBar/view/ShellBar.view.xml +9 -5
  143. package/src/main/js/sap/ushell/components/shell/SideNavigation/manifest.json +1 -1
  144. package/src/main/js/sap/ushell/components/shell/SideNavigation/modules/Favorites.js +6 -1
  145. package/src/main/js/sap/ushell/components/shell/UserActionsMenu/Component.js +1 -1
  146. package/src/main/js/sap/ushell/components/shell/UserImage/Component.js +1 -1
  147. package/src/main/js/sap/ushell/components/visualizationOrganizer/Component.js +1 -1
  148. package/src/main/js/sap/ushell/components/workPageBuilder/Component.js +1 -1
  149. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.accessibility.js +1 -1
  150. package/src/main/js/sap/ushell/components/workPageBuilder/controller/WorkPageBuilder.controller.js +1 -1
  151. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPage.js +1 -1
  152. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageButton.js +1 -1
  153. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageCell.js +1 -1
  154. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumn.js +1 -1
  155. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageColumnResizer.js +1 -1
  156. package/src/main/js/sap/ushell/components/workPageBuilder/controls/WorkPageRow.js +1 -1
  157. package/src/main/js/sap/ushell/components/workPageBuilder/manifest.json +1 -1
  158. package/src/main/js/sap/ushell/components/workPageRuntime/Component.js +1 -1
  159. package/src/main/js/sap/ushell/components/workPageRuntime/controller/WorkPageRuntime.controller.js +1 -1
  160. package/src/main/js/sap/ushell/components/workPageRuntime/manifest.json +1 -1
  161. package/src/main/js/sap/ushell/designtime/ApplicationContainer.designtime.js +1 -1
  162. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Avatar.js +112 -113
  163. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Button.js +211 -136
  164. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Label.js +69 -70
  165. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItem.js +71 -81
  166. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/ListItemBase.js +34 -40
  167. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/Menu.js +178 -119
  168. package/src/main/js/sap/ushell/gen/ui5/webcomponents/dist/MenuItem.js +190 -155
  169. package/src/main/js/sap/ushell/gen/ui5/webcomponents-base.js +538 -359
  170. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationList.js +128 -78
  171. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListGroupItem.js +86 -76
  172. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItem.js +127 -98
  173. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/NotificationListItemBase.js +50 -47
  174. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBar.js +373 -213
  175. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarBranding.js +73 -71
  176. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarItem.js +81 -63
  177. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/ShellBarSpacer.js +44 -42
  178. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenu.js +190 -136
  179. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuAccount.js +78 -76
  180. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori/dist/UserMenuItem.js +37 -35
  181. package/src/main/js/sap/ushell/gen/ui5/webcomponents-fiori.js +1641 -1388
  182. package/src/main/js/sap/ushell/gen/ui5/webcomponents.js +2818 -2449
  183. package/src/main/js/sap/ushell/library.js +1 -1
  184. package/src/main/js/sap/ushell/navigationMode.js +1 -1
  185. package/src/main/js/sap/ushell/performance/ShellAnalytics.js +1 -1
  186. package/src/main/js/sap/ushell/performance/StatisticalRecord.js +1 -1
  187. package/src/main/js/sap/ushell/plugins/appwarmup/Component.js +1 -1
  188. package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_de.properties +1 -1
  189. package/src/main/js/sap/ushell/plugins/rta/i18n/i18n_vi.properties +1 -1
  190. package/src/main/js/sap/ushell/renderer/AccessKeysHandler.js +17 -9
  191. package/src/main/js/sap/ushell/renderer/Renderer.js +2 -2
  192. package/src/main/js/sap/ushell/renderer/resources/resources.properties +6 -6
  193. package/src/main/js/sap/ushell/renderer/resources/resources_cs.properties +8 -8
  194. package/src/main/js/sap/ushell/renderer/resources/resources_es.properties +2 -2
  195. package/src/main/js/sap/ushell/renderer/resources/resources_id.properties +18 -18
  196. package/src/main/js/sap/ushell/renderer/resources/resources_pt_PT.properties +1 -1
  197. package/src/main/js/sap/ushell/renderer/resources/resources_vi.properties +1 -1
  198. package/src/main/js/sap/ushell/renderer/search/searchComponent/manifest.json +1 -1
  199. package/src/main/js/sap/ushell/services/AppLifeCycle.js +26 -3
  200. package/src/main/js/sap/ushell/services/AppState.js +1 -1
  201. package/src/main/js/sap/ushell/services/Bookmark.js +1 -1
  202. package/src/main/js/sap/ushell/services/BookmarkV2.js +1 -1
  203. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Formatter.js +1 -1
  204. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundIndex.js +1 -1
  205. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/InboundProvider.js +1 -1
  206. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/PrelaunchOperations.js +1 -1
  207. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Search.js +1 -1
  208. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/StagedLogger.js +1 -1
  209. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/SystemContext.js +1 -1
  210. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/Utils.js +1 -1
  211. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/VirtualInbounds.js +1 -1
  212. package/src/main/js/sap/ushell/services/ClientSideTargetResolution/XAppStateProcessing.js +1 -1
  213. package/src/main/js/sap/ushell/services/ClientSideTargetResolution.js +1 -1
  214. package/src/main/js/sap/ushell/services/CommonDataModel/SiteConverter.js +1 -1
  215. package/src/main/js/sap/ushell/services/CommonDataModel/vizTypeDefaults/VizTypeDefaults.js +1 -1
  216. package/src/main/js/sap/ushell/services/CommonDataModel.js +1 -1
  217. package/src/main/js/sap/ushell/services/Configuration.js +1 -1
  218. package/src/main/js/sap/ushell/services/ConfigurationDefaults.js +1 -1
  219. package/src/main/js/sap/ushell/services/ContentExtensionAdapterFactory.js +1 -1
  220. package/src/main/js/sap/ushell/services/CrossApplicationNavigation.js +1 -1
  221. package/src/main/js/sap/ushell/services/DarkModeSupport.js +1 -1
  222. package/src/main/js/sap/ushell/services/Extension/Item.js +1 -1
  223. package/src/main/js/sap/ushell/services/Extension.js +1 -1
  224. package/src/main/js/sap/ushell/services/FlpLaunchPage.js +1 -1
  225. package/src/main/js/sap/ushell/services/FrameBoundExtension/FloatingContainer.js +1 -1
  226. package/src/main/js/sap/ushell/services/FrameBoundExtension/Footer.js +1 -1
  227. package/src/main/js/sap/ushell/services/FrameBoundExtension/Item.js +1 -1
  228. package/src/main/js/sap/ushell/services/FrameBoundExtension/SidePane.js +1 -1
  229. package/src/main/js/sap/ushell/services/FrameBoundExtension/ToolArea.js +1 -1
  230. package/src/main/js/sap/ushell/services/FrameBoundExtension/UserSettingsEntry.js +1 -1
  231. package/src/main/js/sap/ushell/services/FrameBoundExtension.js +1 -1
  232. package/src/main/js/sap/ushell/services/LaunchPage.js +1 -1
  233. package/src/main/js/sap/ushell/services/Menu.js +1 -1
  234. package/src/main/js/sap/ushell/services/Message.js +1 -1
  235. package/src/main/js/sap/ushell/services/MessageBroker/MessageBrokerEngine.js +1 -1
  236. package/src/main/js/sap/ushell/services/MessageBroker.js +1 -1
  237. package/src/main/js/sap/ushell/services/MessageInternal.js +1 -1
  238. package/src/main/js/sap/ushell/services/Navigation/compatibility.js +1 -1
  239. package/src/main/js/sap/ushell/services/Navigation/utils.js +1 -1
  240. package/src/main/js/sap/ushell/services/Navigation.js +1 -1
  241. package/src/main/js/sap/ushell/services/NavigationDataProvider.js +1 -1
  242. package/src/main/js/sap/ushell/services/PageBuilding.js +1 -1
  243. package/src/main/js/sap/ushell/services/PagePersistence.js +1 -1
  244. package/src/main/js/sap/ushell/services/PageReferencing.js +1 -1
  245. package/src/main/js/sap/ushell/services/Pages.js +1 -1
  246. package/src/main/js/sap/ushell/services/Personalization.js +1 -1
  247. package/src/main/js/sap/ushell/services/PersonalizationV2.js +1 -1
  248. package/src/main/js/sap/ushell/services/PluginManager/Extensions.js +1 -1
  249. package/src/main/js/sap/ushell/services/PluginManager/HeaderExtensions.js +1 -1
  250. package/src/main/js/sap/ushell/services/PluginManager/MenuExtensions.js +1 -1
  251. package/src/main/js/sap/ushell/services/PluginManager/SimpleExpression.js +1 -1
  252. package/src/main/js/sap/ushell/services/PluginManager.js +1 -1
  253. package/src/main/js/sap/ushell/services/ReferenceResolver.js +1 -1
  254. package/src/main/js/sap/ushell/services/Search.js +1 -1
  255. package/src/main/js/sap/ushell/services/SearchCEP.js +1 -1
  256. package/src/main/js/sap/ushell/services/SearchableContent.js +1 -1
  257. package/src/main/js/sap/ushell/services/ShellNavigation.js +1 -1
  258. package/src/main/js/sap/ushell/services/SmartNavigation.js +1 -1
  259. package/src/main/js/sap/ushell/services/SpaceContent.js +1 -1
  260. package/src/main/js/sap/ushell/services/UITracer.js +1 -1
  261. package/src/main/js/sap/ushell/services/URLShortening.js +1 -1
  262. package/src/main/js/sap/ushell/services/URLTemplate.js +1 -1
  263. package/src/main/js/sap/ushell/services/Ui5ComponentLoader.js +16 -6
  264. package/src/main/js/sap/ushell/services/UserDefaultParameterPersistence.js +1 -1
  265. package/src/main/js/sap/ushell/services/UserDefaultParameters.js +1 -1
  266. package/src/main/js/sap/ushell/services/UserInfo.js +1 -1
  267. package/src/main/js/sap/ushell/services/UserRecents.js +1 -1
  268. package/src/main/js/sap/ushell/services/VisualizationDataProvider.js +1 -1
  269. package/src/main/js/sap/ushell/services/VisualizationInstantiation.js +1 -1
  270. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/ContentExtensionAdapterConfig.js +1 -1
  271. package/src/main/js/sap/ushell/services/_ContentExtensionAdapterFactory/FeaturedGroupConfig.js +1 -1
  272. package/src/main/js/sap/ushell/services/_CrossApplicationNavigation/utils.js +1 -1
  273. package/src/main/js/sap/ushell/services/_PageReferencing/PageReferencer.js +1 -1
  274. package/src/main/js/sap/ushell/state/BackNavigation.js +1 -1
  275. package/src/main/js/sap/ushell/state/ContentDensity.js +1 -1
  276. package/src/main/js/sap/ushell/state/Favicon.js +1 -1
  277. package/src/main/js/sap/ushell/support/plugins/flpConfig/FlpConfigurationPlugin.js +1 -1
  278. package/src/main/js/sap/ushell/themes/base/ToolAreaItem.less +1 -1
  279. package/src/main/js/sap/ushell/thirdparty/Avatar.js +7 -7
  280. package/src/main/js/sap/ushell/thirdparty/BusyIndicator.js +18 -243
  281. package/src/main/js/sap/ushell/thirdparty/Button.js +1 -1
  282. package/src/main/js/sap/ushell/thirdparty/Button2.js +91 -28
  283. package/src/main/js/sap/ushell/thirdparty/Icon.js +31 -14
  284. package/src/main/js/sap/ushell/thirdparty/Icons.js +133 -96
  285. package/src/main/js/sap/ushell/thirdparty/Label.js +3 -3
  286. package/src/main/js/sap/ushell/thirdparty/Link.js +8 -8
  287. package/src/main/js/sap/ushell/thirdparty/List.js +347 -201
  288. package/src/main/js/sap/ushell/thirdparty/ListItemCustom.js +1694 -0
  289. package/src/main/js/sap/ushell/thirdparty/Menu.js +13 -14
  290. package/src/main/js/sap/ushell/thirdparty/MenuItem.js +1 -1
  291. package/src/main/js/sap/ushell/thirdparty/MenuItem2.js +61 -27
  292. package/src/main/js/sap/ushell/thirdparty/NotificationList.js +8 -8
  293. package/src/main/js/sap/ushell/thirdparty/NotificationListGroupItem.js +14 -14
  294. package/src/main/js/sap/ushell/thirdparty/NotificationListItem.js +24 -15
  295. package/src/main/js/sap/ushell/thirdparty/NotificationListItemBase.js +6 -6
  296. package/src/main/js/sap/ushell/thirdparty/ResponsivePopover.js +2454 -4074
  297. package/src/main/js/sap/ushell/thirdparty/ShellBar.js +80 -46
  298. package/src/main/js/sap/ushell/thirdparty/ShellBarBranding.js +5 -5
  299. package/src/main/js/sap/ushell/thirdparty/Tag.js +7 -7
  300. package/src/main/js/sap/ushell/thirdparty/Text.js +5 -5
  301. package/src/main/js/sap/ushell/thirdparty/UserMenu.js +25 -25
  302. package/src/main/js/sap/ushell/thirdparty/UserMenuItem.js +3 -3
  303. package/src/main/js/sap/ushell/thirdparty/WrappingType.js +276 -0
  304. package/src/main/js/sap/ushell/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +3 -3
  305. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT.js +202 -178
  306. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons-TNT2.js +145 -121
  307. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons.js +2 -1
  308. package/src/main/js/sap/ushell/thirdparty/_dynamics/SAP-icons2.js +2 -1
  309. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar.js +858 -174
  310. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar2.js +603 -711
  311. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg.js +858 -174
  312. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg2.js +603 -711
  313. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca.js +858 -174
  314. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca2.js +603 -711
  315. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr.js +858 -174
  316. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr2.js +603 -711
  317. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs.js +858 -174
  318. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs2.js +603 -711
  319. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy.js +858 -174
  320. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy2.js +603 -711
  321. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da.js +858 -174
  322. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da2.js +603 -711
  323. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de.js +858 -174
  324. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de2.js +603 -711
  325. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el.js +858 -174
  326. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el2.js +603 -711
  327. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en.js +858 -174
  328. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en2.js +603 -717
  329. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB.js +858 -174
  330. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB2.js +603 -711
  331. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +858 -174
  332. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +603 -711
  333. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +858 -174
  334. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +603 -717
  335. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +858 -174
  336. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +603 -711
  337. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es.js +858 -174
  338. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es2.js +603 -711
  339. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX.js +858 -174
  340. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX2.js +603 -711
  341. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et.js +858 -174
  342. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et2.js +603 -711
  343. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi.js +858 -174
  344. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi2.js +603 -711
  345. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr.js +858 -174
  346. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr2.js +603 -711
  347. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA.js +858 -174
  348. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA2.js +603 -711
  349. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi.js +858 -174
  350. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi2.js +603 -711
  351. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr.js +858 -174
  352. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr2.js +603 -711
  353. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu.js +858 -174
  354. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu2.js +603 -711
  355. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id.js +858 -174
  356. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id2.js +603 -711
  357. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it.js +858 -174
  358. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it2.js +603 -711
  359. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw.js +858 -174
  360. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw2.js +603 -711
  361. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja.js +858 -174
  362. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja2.js +603 -711
  363. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk.js +858 -174
  364. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk2.js +603 -711
  365. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko.js +858 -174
  366. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko2.js +603 -711
  367. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt.js +858 -174
  368. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt2.js +603 -711
  369. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv.js +858 -174
  370. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv2.js +603 -711
  371. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk.js +858 -174
  372. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk2.js +603 -711
  373. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms.js +858 -174
  374. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms2.js +603 -711
  375. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl.js +858 -174
  376. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl2.js +603 -711
  377. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no.js +858 -174
  378. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no2.js +603 -711
  379. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl.js +858 -174
  380. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl2.js +603 -711
  381. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt.js +858 -174
  382. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt2.js +603 -711
  383. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT.js +858 -174
  384. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT2.js +603 -711
  385. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro.js +858 -174
  386. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro2.js +603 -711
  387. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru.js +858 -174
  388. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru2.js +603 -711
  389. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh.js +858 -174
  390. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh2.js +603 -711
  391. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk.js +858 -174
  392. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk2.js +603 -711
  393. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl.js +858 -174
  394. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl2.js +603 -711
  395. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr.js +858 -174
  396. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr2.js +603 -711
  397. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv.js +858 -174
  398. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv2.js +603 -711
  399. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th.js +858 -174
  400. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th2.js +603 -711
  401. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr.js +858 -174
  402. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr2.js +603 -711
  403. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk.js +858 -174
  404. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk2.js +603 -711
  405. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi.js +858 -174
  406. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi2.js +603 -711
  407. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN.js +858 -174
  408. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN2.js +603 -711
  409. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW.js +858 -174
  410. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW2.js +603 -711
  411. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css10.js +1 -1
  412. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css11.js +1 -1
  413. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css12.js +1 -1
  414. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css13.js +1 -1
  415. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css14.js +1 -1
  416. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css15.js +1 -1
  417. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css16.js +1 -1
  418. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css17.js +1 -1
  419. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css18.js +1 -1
  420. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css19.js +1 -1
  421. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css2.js +1 -1
  422. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css20.js +1 -1
  423. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css21.js +1 -1
  424. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css22.js +1 -1
  425. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css23.js +1 -1
  426. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css24.js +1 -1
  427. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css25.js +1 -1
  428. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css3.js +1 -1
  429. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css4.js +1 -1
  430. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css5.js +1 -1
  431. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css6.js +1 -1
  432. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css7.js +1 -1
  433. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css8.js +1 -1
  434. package/src/main/js/sap/ushell/thirdparty/_dynamics/parameters-bundle.css9.js +1 -1
  435. package/src/main/js/sap/ushell/thirdparty/i18n-defaults.js +7 -1
  436. package/src/main/js/sap/ushell/thirdparty/information.js +10 -10
  437. package/src/main/js/sap/ushell/thirdparty/overflow.js +16 -36
  438. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css.js +1 -1
  439. package/src/main/js/sap/ushell/thirdparty/parameters-bundle.css26.js +2 -2
  440. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons/AllIcons.js +2 -2
  441. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-business-suite/AllIcons.js +2 -2
  442. package/src/main/js/sap/ushell/thirdparty/ui5/webcomponents-icons-tnt/AllIcons.js +2 -2
  443. package/src/main/js/sap/ushell/thirdparty/webcomponents-base.js +83 -71
  444. package/src/main/js/sap/ushell/thirdparty/webcomponents-fiori.js +53 -53
  445. package/src/main/js/sap/ushell/thirdparty/webcomponents.js +54 -265
  446. package/src/main/js/sap/ushell/ui/cards/RecentActivitiesExtension.js +1 -1
  447. package/src/main/js/sap/ushell/ui/launchpad/ExtendedChangeDetection.js +1 -1
  448. package/src/main/js/sap/ushell/ui/launchpad/Section.js +1 -1
  449. package/src/main/js/sap/ushell/ui/launchpad/section/CompactArea.js +1 -1
  450. package/src/main/js/sap/ushell/ui/shell/ShellAppTitle.js +1 -0
  451. package/src/main/js/sap/ushell/ui/shell/ToolAreaItem.js +1 -1
  452. package/src/main/js/sap/ushell/ui/utils.js +1 -1
  453. package/src/main/js/sap/ushell/ui5service/ShellUIServiceFactory.js +1 -1
  454. package/src/main/js/sap/ushell/ui5service/UserStatus.js +1 -1
  455. package/src/main/js/sap/ushell/utils/UrlShortening.js +1 -1
  456. package/src/main/js/sap/ushell/utils/workpage/WorkPageHost.js +1 -1
  457. package/src/main/js/sap/ushell/utils/workpage/WorkPageService.js +1 -1
  458. package/src/main/js/sap/ushell/utils/workpage/WorkPageVizInstantiation.js +1 -1
  459. package/src/test/js/sap/ushell/bootstrap/sandbox.js +1 -1
  460. package/src/main/js/sap/ushell/thirdparty/_dynamics/ar.js +0 -7139
  461. package/src/main/js/sap/ushell/thirdparty/_dynamics/ar_EG.js +0 -7139
  462. package/src/main/js/sap/ushell/thirdparty/_dynamics/ar_SA.js +0 -7138
  463. package/src/main/js/sap/ushell/thirdparty/_dynamics/bg.js +0 -6031
  464. package/src/main/js/sap/ushell/thirdparty/_dynamics/ca.js +0 -6133
  465. package/src/main/js/sap/ushell/thirdparty/_dynamics/cnr.js +0 -6219
  466. package/src/main/js/sap/ushell/thirdparty/_dynamics/cs.js +0 -6759
  467. package/src/main/js/sap/ushell/thirdparty/_dynamics/da.js +0 -5977
  468. package/src/main/js/sap/ushell/thirdparty/_dynamics/de.js +0 -6098
  469. package/src/main/js/sap/ushell/thirdparty/_dynamics/de_AT.js +0 -6099
  470. package/src/main/js/sap/ushell/thirdparty/_dynamics/de_CH.js +0 -6097
  471. package/src/main/js/sap/ushell/thirdparty/_dynamics/el.js +0 -5882
  472. package/src/main/js/sap/ushell/thirdparty/_dynamics/el_CY.js +0 -5882
  473. package/src/main/js/sap/ushell/thirdparty/_dynamics/en.js +0 -6094
  474. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_AU.js +0 -6134
  475. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_GB.js +0 -6125
  476. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_HK.js +0 -6136
  477. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_IE.js +0 -6125
  478. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_IN.js +0 -6132
  479. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_NZ.js +0 -6125
  480. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_PG.js +0 -6126
  481. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_SG.js +0 -6132
  482. package/src/main/js/sap/ushell/thirdparty/_dynamics/en_ZA.js +0 -6126
  483. package/src/main/js/sap/ushell/thirdparty/_dynamics/es.js +0 -6153
  484. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_AR.js +0 -6156
  485. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_BO.js +0 -6155
  486. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_CL.js +0 -6048
  487. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_CO.js +0 -6048
  488. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_MX.js +0 -6157
  489. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_PE.js +0 -5939
  490. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_UY.js +0 -5941
  491. package/src/main/js/sap/ushell/thirdparty/_dynamics/es_VE.js +0 -5940
  492. package/src/main/js/sap/ushell/thirdparty/_dynamics/et.js +0 -6077
  493. package/src/main/js/sap/ushell/thirdparty/_dynamics/fa.js +0 -6002
  494. package/src/main/js/sap/ushell/thirdparty/_dynamics/fi.js +0 -6245
  495. package/src/main/js/sap/ushell/thirdparty/_dynamics/fr.js +0 -6047
  496. package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_BE.js +0 -6047
  497. package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_CA.js +0 -6041
  498. package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_CH.js +0 -6065
  499. package/src/main/js/sap/ushell/thirdparty/_dynamics/fr_LU.js +0 -6047
  500. package/src/main/js/sap/ushell/thirdparty/_dynamics/he.js +0 -6593
  501. package/src/main/js/sap/ushell/thirdparty/_dynamics/hi.js +0 -5911
  502. package/src/main/js/sap/ushell/thirdparty/_dynamics/hr.js +0 -6246
  503. package/src/main/js/sap/ushell/thirdparty/_dynamics/hu.js +0 -5995
  504. package/src/main/js/sap/ushell/thirdparty/_dynamics/id.js +0 -5783
  505. package/src/main/js/sap/ushell/thirdparty/_dynamics/it.js +0 -6036
  506. package/src/main/js/sap/ushell/thirdparty/_dynamics/it_CH.js +0 -6036
  507. package/src/main/js/sap/ushell/thirdparty/_dynamics/ja.js +0 -5942
  508. package/src/main/js/sap/ushell/thirdparty/_dynamics/kk.js +0 -5989
  509. package/src/main/js/sap/ushell/thirdparty/_dynamics/ko.js +0 -5823
  510. package/src/main/js/sap/ushell/thirdparty/_dynamics/lt.js +0 -6628
  511. package/src/main/js/sap/ushell/thirdparty/_dynamics/lv.js +0 -6164
  512. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ar3.js +0 -590
  513. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_bg3.js +0 -590
  514. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ca3.js +0 -590
  515. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cnr3.js +0 -590
  516. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cs3.js +0 -590
  517. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_cy3.js +0 -590
  518. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_da3.js +0 -590
  519. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_de3.js +0 -590
  520. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_el3.js +0 -590
  521. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en3.js +0 -590
  522. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_GB3.js +0 -590
  523. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_sappsd3.js +0 -590
  524. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saprigi3.js +0 -590
  525. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_en_US_saptrc3.js +0 -590
  526. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es3.js +0 -590
  527. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_es_MX3.js +0 -590
  528. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_et3.js +0 -590
  529. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fi3.js +0 -590
  530. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr3.js +0 -590
  531. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_fr_CA3.js +0 -590
  532. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hi3.js +0 -590
  533. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hr3.js +0 -590
  534. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_hu3.js +0 -590
  535. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_id3.js +0 -590
  536. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_it3.js +0 -590
  537. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_iw3.js +0 -590
  538. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ja3.js +0 -590
  539. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_kk3.js +0 -590
  540. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ko3.js +0 -590
  541. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lt3.js +0 -590
  542. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_lv3.js +0 -590
  543. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_mk3.js +0 -590
  544. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ms3.js +0 -590
  545. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_nl3.js +0 -590
  546. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_no3.js +0 -590
  547. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pl3.js +0 -590
  548. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt3.js +0 -590
  549. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_pt_PT3.js +0 -590
  550. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ro3.js +0 -590
  551. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_ru3.js +0 -590
  552. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sh3.js +0 -590
  553. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sk3.js +0 -590
  554. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sl3.js +0 -590
  555. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sr3.js +0 -590
  556. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_sv3.js +0 -590
  557. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_th3.js +0 -590
  558. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_tr3.js +0 -590
  559. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_uk3.js +0 -590
  560. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_vi3.js +0 -590
  561. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_CN3.js +0 -590
  562. package/src/main/js/sap/ushell/thirdparty/_dynamics/messagebundle_zh_TW3.js +0 -590
  563. package/src/main/js/sap/ushell/thirdparty/_dynamics/mk.js +0 -6095
  564. package/src/main/js/sap/ushell/thirdparty/_dynamics/ms.js +0 -5617
  565. package/src/main/js/sap/ushell/thirdparty/_dynamics/nb.js +0 -6085
  566. package/src/main/js/sap/ushell/thirdparty/_dynamics/nl.js +0 -6252
  567. package/src/main/js/sap/ushell/thirdparty/_dynamics/nl_BE.js +0 -6252
  568. package/src/main/js/sap/ushell/thirdparty/_dynamics/pl.js +0 -6639
  569. package/src/main/js/sap/ushell/thirdparty/_dynamics/pt.js +0 -6165
  570. package/src/main/js/sap/ushell/thirdparty/_dynamics/pt_PT.js +0 -6230
  571. package/src/main/js/sap/ushell/thirdparty/_dynamics/ro.js +0 -6250
  572. package/src/main/js/sap/ushell/thirdparty/_dynamics/ru.js +0 -6553
  573. package/src/main/js/sap/ushell/thirdparty/_dynamics/ru_UA.js +0 -6553
  574. package/src/main/js/sap/ushell/thirdparty/_dynamics/sk.js +0 -6482
  575. package/src/main/js/sap/ushell/thirdparty/_dynamics/sl.js +0 -6494
  576. package/src/main/js/sap/ushell/thirdparty/_dynamics/sr.js +0 -6291
  577. package/src/main/js/sap/ushell/thirdparty/_dynamics/sr_Latn.js +0 -6278
  578. package/src/main/js/sap/ushell/thirdparty/_dynamics/sv.js +0 -6126
  579. package/src/main/js/sap/ushell/thirdparty/_dynamics/th.js +0 -5928
  580. package/src/main/js/sap/ushell/thirdparty/_dynamics/tr.js +0 -6146
  581. package/src/main/js/sap/ushell/thirdparty/_dynamics/uk.js +0 -6504
  582. package/src/main/js/sap/ushell/thirdparty/_dynamics/vi.js +0 -5720
  583. package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_CN.js +0 -5770
  584. package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_HK.js +0 -5779
  585. package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_SG.js +0 -5779
  586. package/src/main/js/sap/ushell/thirdparty/_dynamics/zh_TW.js +0 -5846
  587. package/src/main/js/sap/ushell/thirdparty/toLowercaseEnumValue.js +0 -18
@@ -0,0 +1,1694 @@
1
+ sap.ui.define(['exports', 'sap/ushell/thirdparty/webcomponents-base', 'sap/ushell/thirdparty/parameters-bundle.css26', 'sap/ushell/thirdparty/WrappingType', '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/Button2', 'sap/ushell/thirdparty/Icon', 'sap/ushell/thirdparty/BusyIndicator', 'sap/ushell/thirdparty/Label'], (function (exports, webcomponentsBase, parametersBundle_css, WrappingType, eventStrict, i18nDefaults, Icons, information, List, Button, Icon, BusyIndicator, 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.y(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.y(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.y(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.y(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("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
99
+ Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "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-15-0_list_item_img_size);height:var(--_ui5-v2-15-0_list_item_img_size);border-radius:var(--ui5-v2-15-0-avatar-border-radius);object-fit:contain}::slotted([ui5-icon][slot="image"]){color:var(--sapContent_NonInteractiveIconColor);min-width:var(--_ui5-v2-15-0_list_item_icon_size);min-height:var(--_ui5-v2-15-0_list_item_icon_size);padding-inline-end:var(--_ui5-v2-15-0_list_item_icon_padding-inline-end)}::slotted([ui5-avatar][slot="image"]){min-width:var(--_ui5-v2-15-0_list_item_img_size);min-height:var(--_ui5-v2-15-0_list_item_img_size);margin-top:var(--_ui5-v2-15-0_list_item_img_top_margin);margin-bottom:var(--_ui5-v2-15-0_list_item_img_bottom_margin);margin-inline-end:var(--_ui5-v2-15-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:.5rem}.ui5-li-text-wrapper{flex-direction:column}:host([description]) .ui5-li-text-wrapper{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-15-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-15-0_list_item_icon_size);min-height:var(--_ui5-v2-15-0_list_item_icon_size);color:var(--sapContent_NonInteractiveIconColor);padding-inline-end:var(--_ui5-v2-15-0_list_item_icon_padding-inline-end)}:host([icon-end]) .ui5-li-icon{padding-inline-start:var(--_ui5-v2-15-0_list_item_icon_padding-inline-end)}.ui5-li-detailbtn,.ui5-li-deletebtn{display:flex;align-items:center;margin-left:var(--_ui5-v2-15-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-15-0_list_item_selection_btn_margin_top)}:host([description]) .ui5-li-multisel-cb{align-self:flex-start;margin-top:var(--_ui5-v2-15-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-15-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-15-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-15-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
+ Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
104
+ Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => i18nDefaults.defaultTheme);
105
+ var listItemAdditionalTextCss = `.ui5-li-additional-text{margin:0 .25rem;color:var(--sapNeutralTextColor);font-size:var(--sapFontSize);min-width:3.75rem;text-align:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
106
+ `;
107
+
108
+ var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
109
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
110
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
111
+ 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;
112
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
113
+ };
114
+ var ListItem_1;
115
+ /**
116
+ * @class
117
+ * A class to serve as a base
118
+ * for the `ListItemStandard` and `ListItemCustom` classes.
119
+ * @constructor
120
+ * @abstract
121
+ * @extends ListItemBase
122
+ * @public
123
+ */
124
+ let ListItem = ListItem_1 = class ListItem extends WrappingType.ListItemBase {
125
+ constructor() {
126
+ super();
127
+ /**
128
+ * Defines the visual indication and behavior of the list items.
129
+ * Available options are `Active` (by default), `Inactive`, `Detail` and `Navigation`.
130
+ *
131
+ * **Note:** When set to `Active` or `Navigation`, the item will provide visual response upon press and hover,
132
+ * while with type `Inactive` and `Detail` - will not.
133
+ * @default "Active"
134
+ * @public
135
+ */
136
+ this.type = "Active";
137
+ /**
138
+ * Defines the additional accessibility attributes that will be applied to the component.
139
+ * The following fields are supported:
140
+ *
141
+ * - **ariaSetsize**: Defines the number of items in the current set when not all items in the set are present in the DOM.
142
+ * **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`.
143
+ *
144
+ * - **ariaPosinset**: Defines an element's number or position in the current set when not all items are present in the DOM.
145
+ * **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.
146
+ *
147
+ * @default {}
148
+ * @public
149
+ * @since 1.15.0
150
+ */
151
+ this.accessibilityAttributes = {};
152
+ /**
153
+ * The navigated state of the list item.
154
+ * If set to `true`, a navigation indicator is displayed at the end of the list item.
155
+ * @default false
156
+ * @public
157
+ * @since 1.10.0
158
+ */
159
+ this.navigated = false;
160
+ /**
161
+ * Indicates if the list item is active, e.g pressed down with the mouse or the keyboard keys.
162
+ * @private
163
+ */
164
+ this.active = false;
165
+ /**
166
+ * Defines the highlight state of the list items.
167
+ * Available options are: `"None"` (by default), `"Positive"`, `"Critical"`, `"Information"` and `"Negative"`.
168
+ * @default "None"
169
+ * @public
170
+ * @since 1.24
171
+ */
172
+ this.highlight = "None";
173
+ /**
174
+ * Used to define the role of the list item.
175
+ * @private
176
+ * @default "ListItem"
177
+ * @since 1.3.0
178
+ *
179
+ */
180
+ this.accessibleRole = "ListItem";
181
+ this._selectionMode = "None";
182
+ /**
183
+ * Defines the current media query size.
184
+ * @default "S"
185
+ * @private
186
+ */
187
+ this.mediaRange = "S";
188
+ this.deactivateByKey = (e) => {
189
+ if (webcomponentsBase.b$1(e)) {
190
+ this.deactivate();
191
+ }
192
+ };
193
+ this.deactivate = () => {
194
+ if (this.active) {
195
+ this.active = false;
196
+ }
197
+ };
198
+ }
199
+ onBeforeRendering() {
200
+ super.onBeforeRendering();
201
+ this.actionable = (this.type === ListItemType$1.Active || this.type === ListItemType$1.Navigation) && (this._selectionMode !== List.ListSelectionMode.Delete);
202
+ }
203
+ onEnterDOM() {
204
+ super.onEnterDOM();
205
+ document.addEventListener("mouseup", this.deactivate);
206
+ document.addEventListener("touchend", this.deactivate);
207
+ document.addEventListener("keyup", this.deactivateByKey);
208
+ }
209
+ onExitDOM() {
210
+ document.removeEventListener("mouseup", this.deactivate);
211
+ document.removeEventListener("keyup", this.deactivateByKey);
212
+ document.removeEventListener("touchend", this.deactivate);
213
+ }
214
+ async _onkeydown(e) {
215
+ if ((webcomponentsBase.A(e) || webcomponentsBase.b$1(e)) && this._isTargetSelfFocusDomRef(e)) {
216
+ return;
217
+ }
218
+ super._onkeydown(e);
219
+ const itemActive = this.type === ListItemType$1.Active, itemNavigated = this.typeNavigation;
220
+ if ((webcomponentsBase.A(e) || webcomponentsBase.b$1(e)) && (itemActive || itemNavigated)) {
221
+ this.activate();
222
+ }
223
+ if (webcomponentsBase.ro(e)) {
224
+ const activeElement = webcomponentsBase.t();
225
+ const focusDomRef = this.getFocusDomRef();
226
+ if (activeElement === focusDomRef) {
227
+ const firstFocusable = await WrappingType.b(focusDomRef);
228
+ firstFocusable?.focus();
229
+ }
230
+ else {
231
+ focusDomRef.focus();
232
+ }
233
+ }
234
+ }
235
+ _onkeyup(e) {
236
+ super._onkeyup(e);
237
+ if (webcomponentsBase.A(e) || webcomponentsBase.b$1(e)) {
238
+ this.deactivate();
239
+ }
240
+ if (this.modeDelete && webcomponentsBase.X(e)) {
241
+ this.onDelete();
242
+ }
243
+ }
244
+ _onmousedown() {
245
+ this.activate();
246
+ }
247
+ _onmouseup() {
248
+ if (this.getFocusDomRef().matches(":has(:focus-within)")) {
249
+ return;
250
+ }
251
+ this.deactivate();
252
+ }
253
+ _ontouchend() {
254
+ this._onmouseup();
255
+ }
256
+ _onfocusin(e) {
257
+ super._onfocusin(e);
258
+ if (e.target !== this.getFocusDomRef()) {
259
+ this.deactivate();
260
+ }
261
+ }
262
+ _onfocusout(e) {
263
+ if (e.target !== this.getFocusDomRef()) {
264
+ return;
265
+ }
266
+ this.deactivate();
267
+ }
268
+ _ondragstart(e) {
269
+ if (!e.dataTransfer) {
270
+ return;
271
+ }
272
+ if (e.target === this._listItem) {
273
+ webcomponentsBase.D$1.setDraggedElement(this);
274
+ this.setAttribute("data-moving", "");
275
+ e.dataTransfer.dropEffect = "move";
276
+ e.dataTransfer.effectAllowed = "move";
277
+ }
278
+ }
279
+ _ondragend(e) {
280
+ if (e.target === this._listItem) {
281
+ webcomponentsBase.D$1.clearDraggedElement();
282
+ this.removeAttribute("data-moving");
283
+ }
284
+ }
285
+ _isTargetSelfFocusDomRef(e) {
286
+ const target = e.target, focusDomRef = this.getFocusDomRef();
287
+ return target !== focusDomRef;
288
+ }
289
+ /**
290
+ * Called when selection components in Single (ui5-radio-button)
291
+ * and Multi (ui5-checkbox) selection modes are used.
292
+ */
293
+ onMultiSelectionComponentPress(e) {
294
+ if (this.isInactive) {
295
+ return;
296
+ }
297
+ this.fireDecoratorEvent("selection-requested", { item: this, selected: e.target.checked, selectionComponentPressed: true });
298
+ }
299
+ onSingleSelectionComponentPress(e) {
300
+ if (this.isInactive) {
301
+ return;
302
+ }
303
+ this.fireDecoratorEvent("selection-requested", { item: this, selected: !e.target.checked, selectionComponentPressed: true });
304
+ }
305
+ activate() {
306
+ if (this.type === ListItemType$1.Active || this.type === ListItemType$1.Navigation) {
307
+ this.active = true;
308
+ }
309
+ }
310
+ onDelete() {
311
+ this.fireDecoratorEvent("selection-requested", { item: this, selectionComponentPressed: false });
312
+ }
313
+ onDetailClick() {
314
+ this.fireDecoratorEvent("detail-click", { item: this, selected: this.selected });
315
+ }
316
+ fireItemPress(e) {
317
+ if (this.isInactive) {
318
+ return;
319
+ }
320
+ super.fireItemPress(e);
321
+ if (document.activeElement !== this) {
322
+ this.focus();
323
+ }
324
+ }
325
+ get isInactive() {
326
+ return this.type === ListItemType$1.Inactive || this.type === ListItemType$1.Detail;
327
+ }
328
+ get placeSelectionElementBefore() {
329
+ return this._selectionMode === List.ListSelectionMode.Multiple
330
+ || this._selectionMode === List.ListSelectionMode.SingleStart;
331
+ }
332
+ get placeSelectionElementAfter() {
333
+ return !this.placeSelectionElementBefore
334
+ && (this._selectionMode === List.ListSelectionMode.SingleEnd || this._selectionMode === List.ListSelectionMode.Delete);
335
+ }
336
+ get modeSingleSelect() {
337
+ return [
338
+ List.ListSelectionMode.SingleStart,
339
+ List.ListSelectionMode.SingleEnd,
340
+ List.ListSelectionMode.Single,
341
+ ].includes(this._selectionMode);
342
+ }
343
+ get modeMultiple() {
344
+ return this._selectionMode === List.ListSelectionMode.Multiple;
345
+ }
346
+ get modeDelete() {
347
+ return this._selectionMode === List.ListSelectionMode.Delete;
348
+ }
349
+ get typeDetail() {
350
+ return this.type === ListItemType$1.Detail;
351
+ }
352
+ get typeNavigation() {
353
+ return this.type === ListItemType$1.Navigation;
354
+ }
355
+ get typeActive() {
356
+ return this.type === ListItemType$1.Active;
357
+ }
358
+ get _ariaSelected() {
359
+ if (this.modeMultiple || this.modeSingleSelect) {
360
+ return this.selected;
361
+ }
362
+ return undefined;
363
+ }
364
+ get listItemAccessibleRole() {
365
+ return (this._forcedAccessibleRole || this.accessibleRole.toLowerCase());
366
+ }
367
+ get ariaSelectedText() {
368
+ let ariaSelectedText;
369
+ // Selected state needs to be supported separately since now the role mapping is list -> listitem[]
370
+ // to avoid the issue of nesting interactive elements, ex. (option -> radio/checkbox);
371
+ // The text is added to aria-describedby because as part of the aria-labelledby
372
+ // the whole content of the item is readout when the aria-labelledby value is changed.
373
+ if (this._ariaSelected !== undefined) {
374
+ ariaSelectedText = this._ariaSelected ? ListItem_1.i18nBundle.getText(i18nDefaults.LIST_ITEM_SELECTED) : ListItem_1.i18nBundle.getText(i18nDefaults.LIST_ITEM_NOT_SELECTED);
375
+ }
376
+ return ariaSelectedText;
377
+ }
378
+ get deleteText() {
379
+ return ListItem_1.i18nBundle.getText(i18nDefaults.DELETE);
380
+ }
381
+ get hasDeleteButtonSlot() {
382
+ return !!this.deleteButton.length;
383
+ }
384
+ get _accessibleNameRef() {
385
+ if (this.accessibleName) {
386
+ // accessibleName is set - return labels excluding content
387
+ return `${this._id}-invisibleText`;
388
+ }
389
+ // accessibleName is not set - return _accInfo.listItemAriaLabel including content
390
+ return `${this._id}-content ${this._id}-invisibleText`;
391
+ }
392
+ get ariaLabelledByText() {
393
+ const texts = [
394
+ this._accInfo.listItemAriaLabel,
395
+ this.accessibleName,
396
+ this.typeActive ? ListItem_1.i18nBundle.getText(i18nDefaults.LIST_ITEM_ACTIVE) : undefined,
397
+ ].filter(Boolean);
398
+ return texts.join(" ");
399
+ }
400
+ get _accInfo() {
401
+ return {
402
+ role: this.listItemAccessibleRole,
403
+ ariaExpanded: undefined,
404
+ ariaLevel: undefined,
405
+ ariaLabel: ListItem_1.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_ITEM_CHECKBOX),
406
+ ariaLabelRadioButton: ListItem_1.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_ITEM_RADIO_BUTTON),
407
+ ariaSelectedText: this.ariaSelectedText,
408
+ ariaHaspopup: this.accessibilityAttributes.hasPopup,
409
+ setsize: this.accessibilityAttributes.ariaSetsize,
410
+ posinset: this.accessibilityAttributes.ariaPosinset,
411
+ tooltip: this.tooltip,
412
+ };
413
+ }
414
+ get _hasHighlightColor() {
415
+ return this.highlight !== Highlight$1.None;
416
+ }
417
+ get hasConfigurableMode() {
418
+ return true;
419
+ }
420
+ get _listItem() {
421
+ return this.shadowRoot.querySelector("li");
422
+ }
423
+ };
424
+ __decorate$3([
425
+ webcomponentsBase.s()
426
+ ], ListItem.prototype, "type", void 0);
427
+ __decorate$3([
428
+ webcomponentsBase.s({ type: Object })
429
+ ], ListItem.prototype, "accessibilityAttributes", void 0);
430
+ __decorate$3([
431
+ webcomponentsBase.s({ type: Boolean })
432
+ ], ListItem.prototype, "navigated", void 0);
433
+ __decorate$3([
434
+ webcomponentsBase.s()
435
+ ], ListItem.prototype, "tooltip", void 0);
436
+ __decorate$3([
437
+ webcomponentsBase.s({ type: Boolean })
438
+ ], ListItem.prototype, "active", void 0);
439
+ __decorate$3([
440
+ webcomponentsBase.s()
441
+ ], ListItem.prototype, "highlight", void 0);
442
+ __decorate$3([
443
+ webcomponentsBase.s({ type: Boolean })
444
+ ], ListItem.prototype, "selected", void 0);
445
+ __decorate$3([
446
+ webcomponentsBase.s()
447
+ ], ListItem.prototype, "accessibleRole", void 0);
448
+ __decorate$3([
449
+ webcomponentsBase.s()
450
+ ], ListItem.prototype, "_forcedAccessibleRole", void 0);
451
+ __decorate$3([
452
+ webcomponentsBase.s()
453
+ ], ListItem.prototype, "_selectionMode", void 0);
454
+ __decorate$3([
455
+ webcomponentsBase.s()
456
+ ], ListItem.prototype, "mediaRange", void 0);
457
+ __decorate$3([
458
+ webcomponentsBase.d()
459
+ ], ListItem.prototype, "deleteButton", void 0);
460
+ __decorate$3([
461
+ i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
462
+ ], ListItem, "i18nBundle", void 0);
463
+ ListItem = ListItem_1 = __decorate$3([
464
+ webcomponentsBase.m({
465
+ languageAware: true,
466
+ renderer: parametersBundle_css.y,
467
+ styles: [
468
+ WrappingType.ListItemBase.styles,
469
+ listItemAdditionalTextCss,
470
+ styles,
471
+ ],
472
+ })
473
+ /**
474
+ * Fired when the user clicks on the detail button when type is `Detail`.
475
+ * @public
476
+ */
477
+ ,
478
+ eventStrict.l("detail-click", {
479
+ bubbles: true,
480
+ }),
481
+ eventStrict.l("selection-requested", {
482
+ bubbles: true,
483
+ })
484
+ ], ListItem);
485
+ var ListItem$1 = ListItem;
486
+
487
+ class RadioButtonGroup {
488
+ static hasGroup(groupName) {
489
+ return this.groups.has(groupName);
490
+ }
491
+ static getGroup(groupName) {
492
+ return this.groups.get(groupName);
493
+ }
494
+ static getCheckedRadioFromGroup(groupName) {
495
+ return this.checkedRadios.get(groupName);
496
+ }
497
+ static removeGroup(groupName) {
498
+ this.checkedRadios.delete(groupName);
499
+ return this.groups.delete(groupName);
500
+ }
501
+ static addToGroup(radioBtn, groupName) {
502
+ if (this.hasGroup(groupName)) {
503
+ this.enforceSingleSelection(radioBtn, groupName);
504
+ if (this.getGroup(groupName)) {
505
+ this.getGroup(groupName).push(radioBtn);
506
+ }
507
+ }
508
+ else {
509
+ this.createGroup(radioBtn, groupName);
510
+ }
511
+ this.updateTabOrder(groupName);
512
+ }
513
+ static removeFromGroup(radioBtn, groupName) {
514
+ const group = this.getGroup(groupName);
515
+ if (!group) {
516
+ return;
517
+ }
518
+ const checkedRadio = this.getCheckedRadioFromGroup(groupName);
519
+ // Remove the radio button from the given group
520
+ group.forEach((_radioBtn, idx, arr) => {
521
+ if (radioBtn._id === _radioBtn._id) {
522
+ return arr.splice(idx, 1);
523
+ }
524
+ });
525
+ if (checkedRadio === radioBtn) {
526
+ this.checkedRadios.set(groupName, null);
527
+ }
528
+ // Remove the group if it is empty
529
+ if (!group.length) {
530
+ this.removeGroup(groupName);
531
+ }
532
+ this.updateTabOrder(groupName);
533
+ }
534
+ static createGroup(radioBtn, groupName) {
535
+ if (radioBtn.checked) {
536
+ this.checkedRadios.set(groupName, radioBtn);
537
+ }
538
+ this.groups.set(groupName, [radioBtn]);
539
+ }
540
+ static selectNextItem(item, groupName) {
541
+ const group = this.getGroup(groupName);
542
+ if (!group) {
543
+ return;
544
+ }
545
+ const groupLength = group.length, currentItemPosition = group.indexOf(item);
546
+ if (groupLength <= 1) {
547
+ return;
548
+ }
549
+ const nextItemToFocus = this._nextFocusable(currentItemPosition, group);
550
+ if (!nextItemToFocus) {
551
+ return;
552
+ }
553
+ this.updateSelectionInGroup(nextItemToFocus, groupName);
554
+ }
555
+ static updateFormValidity(groupName) {
556
+ const group = this.getGroup(groupName);
557
+ if (!group) {
558
+ return;
559
+ }
560
+ const hasRequired = group.some(r => r.required);
561
+ const hasChecked = group.some(r => r.checked);
562
+ group.forEach(r => {
563
+ r._groupChecked = hasChecked;
564
+ r._groupRequired = hasRequired;
565
+ });
566
+ }
567
+ static updateTabOrder(groupName) {
568
+ const group = this.getGroup(groupName);
569
+ if (!group) {
570
+ return;
571
+ }
572
+ const hasCheckedRadio = group.some(radioBtn => radioBtn.checked);
573
+ group.filter(radioBtn => !radioBtn.disabled).forEach((radioBtn, idx) => {
574
+ let activeElement = webcomponentsBase.t();
575
+ if (activeElement?.classList.contains("ui5-radio-root")) {
576
+ activeElement = activeElement.getRootNode();
577
+ if (activeElement instanceof ShadowRoot) {
578
+ activeElement = activeElement.host;
579
+ }
580
+ }
581
+ if (hasCheckedRadio) {
582
+ if (activeElement?.hasAttribute("ui5-radio-button") && activeElement.readonly) {
583
+ radioBtn._tabIndex = activeElement === radioBtn && radioBtn.readonly ? 0 : -1;
584
+ }
585
+ else {
586
+ radioBtn._tabIndex = radioBtn.checked ? 0 : -1;
587
+ }
588
+ }
589
+ else {
590
+ radioBtn._tabIndex = idx === 0 ? 0 : -1;
591
+ }
592
+ });
593
+ }
594
+ static selectPreviousItem(item, groupName) {
595
+ const group = this.getGroup(groupName);
596
+ if (!group) {
597
+ return;
598
+ }
599
+ const groupLength = group.length, currentItemPosition = group.indexOf(item);
600
+ if (groupLength <= 1) {
601
+ return;
602
+ }
603
+ const previousItemToFocus = this._previousFocusable(currentItemPosition, group);
604
+ if (!previousItemToFocus) {
605
+ return;
606
+ }
607
+ this.updateSelectionInGroup(previousItemToFocus, groupName);
608
+ }
609
+ static selectItem(item, groupName) {
610
+ this.updateSelectionInGroup(item, groupName);
611
+ this.updateTabOrder(groupName);
612
+ this.updateFormValidity(groupName);
613
+ }
614
+ static updateSelectionInGroup(radioBtnToSelect, groupName) {
615
+ const checkedRadio = this.getCheckedRadioFromGroup(groupName);
616
+ if (checkedRadio && !radioBtnToSelect.readonly) {
617
+ this._deselectRadio(checkedRadio);
618
+ this.checkedRadios.set(groupName, radioBtnToSelect);
619
+ }
620
+ // the focusable radio buttons are the enabled and the read-only ones, but only the enabled are selectable
621
+ if (radioBtnToSelect) {
622
+ radioBtnToSelect.focus();
623
+ if (!radioBtnToSelect.readonly) {
624
+ this._selectRadio(radioBtnToSelect);
625
+ }
626
+ else {
627
+ // Ensure updateTabOrder is called after focus
628
+ setTimeout(() => {
629
+ this.updateTabOrder(groupName);
630
+ }, 0);
631
+ }
632
+ }
633
+ }
634
+ static _deselectRadio(radioBtn) {
635
+ if (radioBtn) {
636
+ radioBtn.checked = false;
637
+ }
638
+ }
639
+ static _selectRadio(radioBtn) {
640
+ radioBtn.checked = true;
641
+ radioBtn._checked = true;
642
+ radioBtn.fireDecoratorEvent("change");
643
+ }
644
+ static _nextFocusable(pos, group) {
645
+ if (!group) {
646
+ return null;
647
+ }
648
+ const groupLength = group.length;
649
+ let nextRadioToFocus = null;
650
+ if (pos === groupLength - 1) {
651
+ if (group[0].disabled) {
652
+ return this._nextFocusable(1, group);
653
+ }
654
+ nextRadioToFocus = group[0];
655
+ }
656
+ else if (group[pos + 1].disabled) {
657
+ return this._nextFocusable(pos + 1, group);
658
+ }
659
+ else {
660
+ nextRadioToFocus = group[pos + 1];
661
+ }
662
+ return nextRadioToFocus;
663
+ }
664
+ static _previousFocusable(pos, group) {
665
+ const groupLength = group.length;
666
+ let previousRadioToFocus = null;
667
+ if (pos === 0) {
668
+ if (group[groupLength - 1].disabled) {
669
+ return this._previousFocusable(groupLength - 1, group);
670
+ }
671
+ previousRadioToFocus = group[groupLength - 1];
672
+ }
673
+ else if (group[pos - 1].disabled) {
674
+ return this._previousFocusable(pos - 1, group);
675
+ }
676
+ else {
677
+ previousRadioToFocus = group[pos - 1];
678
+ }
679
+ return previousRadioToFocus;
680
+ }
681
+ static enforceSingleSelection(radioBtn, groupName) {
682
+ const checkedRadio = this.getCheckedRadioFromGroup(groupName);
683
+ if (radioBtn.checked) {
684
+ if (!checkedRadio) {
685
+ this.checkedRadios.set(groupName, radioBtn);
686
+ }
687
+ else if (radioBtn !== checkedRadio) {
688
+ this._deselectRadio(checkedRadio);
689
+ this.checkedRadios.set(groupName, radioBtn);
690
+ }
691
+ }
692
+ else if (radioBtn === checkedRadio) {
693
+ this.checkedRadios.set(groupName, null);
694
+ }
695
+ this.updateTabOrder(groupName);
696
+ this.updateFormValidity(groupName);
697
+ }
698
+ static get groups() {
699
+ if (!this._groups) {
700
+ this._groups = new Map();
701
+ }
702
+ return this._groups;
703
+ }
704
+ static get checkedRadios() {
705
+ if (!this._checkedRadios) {
706
+ this._checkedRadios = new Map();
707
+ }
708
+ return this._checkedRadios;
709
+ }
710
+ }
711
+
712
+ function RadioButtonTemplate() {
713
+ 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: {
714
+ "ui5-radio-inner": true,
715
+ "ui5-radio-inner--hoverable": !this.disabled && !this.readonly && Icons.f(),
716
+ }, 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 &&
717
+ parametersBundle_css.jsx(Label, { id: `${this._id}-label`, class: "ui5-radio-label", for: this._id, wrappingType: this.wrappingType, children: this.text }), this.hasValueState &&
718
+ parametersBundle_css.jsx("span", { id: `${this._id}-descr`, class: "ui5-hidden-text", children: this.valueStateText })] }));
719
+ }
720
+
721
+ Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
722
+ Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => i18nDefaults.defaultTheme);
723
+ 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-15-0_radio_button_min_width);max-width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--_ui5-v2-15-0_radio_button_color);border-radius:var(--_ui5-v2-15-0_radio_button_border_radius)}:host(:not([disabled])) .ui5-radio-root{cursor:pointer}:host([checked]){color:var(--_ui5-v2-15-0_radio_button_checked_fill)}:host([checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-15-0_radio_button_inner_ring_color)}:host([checked]) .ui5-radio-svg-outer{stroke:var(--_ui5-v2-15-0_radio_button_outer_ring_color)}:host([disabled]) .ui5-radio-root{color:var(--_ui5-v2-15-0_radio_button_color);opacity:var(--sapContent_DisabledOpacity)}:host([disabled][checked]) .ui5-radio-svg-outer{stroke:var(--_ui5-v2-15-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-15-0_radio_button_focus_outline);position:absolute;inset:var(--_ui5-v2-15-0_radio_button_focus_dist);pointer-events:none;border:var(--_ui5-v2-15-0_radio_button_border_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v2-15-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-15-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-15-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-15-0_radio_button_hover_fill)}:host([active][checked]:not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5-v2-15-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-15-0_radio_button_outer_ring_active_color)}:host([text]) .ui5-radio-root{padding-inline-end:var(--_ui5-v2-15-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-15-0_radio_button_outer_ring_padding_with_label)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-15-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-15-0_radio_button_read_only_border_type);stroke-width:var(--_ui5-v2-15-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-15-0_radio_button_information_border_width)}:host([value-state="Negative"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-15-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-15-0_radio_button_hover_fill_error)}:host([value-state="Critical"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-15-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-15-0_radio_button_hover_fill_warning)}:host([value-state="Positive"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-15-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-15-0_radio_button_hover_fill_success)}:host([value-state="Information"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v2-15-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-15-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-15-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-15-0_radio_button_border);border-radius:var(--_ui5-v2-15-0_radio_button_border_radius)}.ui5-radio-inner{display:flex;align-items:center;padding:var(--_ui5-v2-15-0_radio_button_outer_ring_padding);flex-shrink:0;height:var(--_ui5-v2-15-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-15-0_radio_button_label_offset);padding-block:var(--_ui5-v2-15-0_radio_button_label_side_padding);vertical-align:top;max-width:100%;pointer-events:none;color:var(--_ui5-v2-15-0_radio_button_label_color);overflow-wrap:break-word}:host([wrapping-type="None"][text]) .ui5-radio-root{height:var(--_ui5-v2-15-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-15-0_radio_button_svg_size);width:var(--_ui5-v2-15-0_radio_button_svg_size);overflow:visible;pointer-events:none}.ui5-radio-svg-outer{fill:var(--_ui5-v2-15-0_radio_button_outer_ring_bg);stroke:currentColor;stroke-width:var(--_ui5-v2-15-0_radio_button_outer_ring_width)}.ui5-radio-svg-inner{fill:none;r:var(--_ui5-v2-15-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)}
724
+ `;
725
+
726
+ var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
727
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
728
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
729
+ 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;
730
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
731
+ };
732
+ var RadioButton_1;
733
+ let isGlobalHandlerAttached$1 = false;
734
+ let activeRadio;
735
+ /**
736
+ * @class
737
+ *
738
+ * ### Overview
739
+ *
740
+ * The `ui5-radio-button` component enables users to select a single option from a set of options.
741
+ * When a `ui5-radio-button` is selected by the user, the
742
+ * `change` event is fired.
743
+ * When a `ui5-radio-button` that is within a group is selected, the one
744
+ * that was previously selected gets automatically deselected. You can group radio buttons by using the `name` property.
745
+ *
746
+ * **Note:** If `ui5-radio-button` is not part of a group, it can be selected once, but can not be deselected back.
747
+ *
748
+ * ### Keyboard Handling
749
+ *
750
+ * Once the `ui5-radio-button` is on focus, it might be selected by pressing the Space and Enter keys.
751
+ *
752
+ * 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,
753
+ * while TAB and SHIFT + TAB can be used to enter or leave the radio button group.
754
+ *
755
+ * **Note:** On entering radio button group, the focus goes to the currently selected radio button.
756
+ *
757
+ * ### ES6 Module Import
758
+ *
759
+ * `import "sap/ushell/gen/ui5/webcomponents/dist/RadioButton";`
760
+ * @constructor
761
+ * @extends UI5Element
762
+ * @public
763
+ * @csspart outer-ring - Used to style the outer ring of the `ui5-radio-button`.
764
+ * @csspart inner-ring - Used to style the inner ring of the `ui5-radio-button`.
765
+ */
766
+ let RadioButton = RadioButton_1 = class RadioButton extends webcomponentsBase.b {
767
+ get formValidityMessage() {
768
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.FORM_SELECTABLE_REQUIRED2);
769
+ }
770
+ get formValidity() {
771
+ return { valueMissing: this._groupRequired && !this._groupChecked };
772
+ }
773
+ async formElementAnchor() {
774
+ return this.getFocusDomRefAsync();
775
+ }
776
+ get formFormattedValue() {
777
+ return this.checked ? (this.value || "on") : null;
778
+ }
779
+ constructor() {
780
+ super();
781
+ /**
782
+ * Defines whether the component is disabled.
783
+ *
784
+ * **Note:** A disabled component is completely noninteractive.
785
+ * @default false
786
+ * @public
787
+ */
788
+ this.disabled = false;
789
+ /**
790
+ * Defines whether the component is read-only.
791
+ *
792
+ * **Note:** A read-only component isn't editable or selectable.
793
+ * However, because it's focusable, it still provides visual feedback upon user interaction.
794
+ * @default false
795
+ * @public
796
+ */
797
+ this.readonly = false;
798
+ /**
799
+ * Defines whether the component is required.
800
+ * @default false
801
+ * @public
802
+ * @since 1.9.0
803
+ */
804
+ this.required = false;
805
+ /**
806
+ * Defines whether the component is checked or not.
807
+ *
808
+ * **Note:** The property value can be changed with user interaction,
809
+ * either by clicking/tapping on the component,
810
+ * or by using the Space or Enter key.
811
+ *
812
+ * **Note:** Only enabled radio buttons can be checked.
813
+ * Read-only radio buttons are not selectable, and therefore are always unchecked.
814
+ * @default false
815
+ * @formEvents change
816
+ * @formProperty
817
+ * @public
818
+ * @since 1.0.0-rc.15
819
+ */
820
+ this.checked = false;
821
+ /**
822
+ * Defines the value state of the component.
823
+ * @default "None"
824
+ * @public
825
+ */
826
+ this.valueState = "None";
827
+ /**
828
+ * Defines the form value of the component.
829
+ * When a form with a radio button group is submitted, the group's value
830
+ * will be the value of the currently selected radio button.
831
+ * @default ""
832
+ * @public
833
+ */
834
+ this.value = "";
835
+ /**
836
+ * Defines whether the component text wraps when there is not enough space.
837
+ *
838
+ * **Note:** for option "Normal" the text will wrap and the words will not be broken based on hyphenation.
839
+ * @default "Normal"
840
+ * @public
841
+ */
842
+ this.wrappingType = "Normal";
843
+ /**
844
+ * Defines the active state (pressed or not) of the component.
845
+ * @default false
846
+ * @private
847
+ */
848
+ this.active = false;
849
+ /**
850
+ * Defines if the component is selected in specific group
851
+ * @default false
852
+ * @private
853
+ */
854
+ this._groupChecked = false;
855
+ this._groupRequired = false;
856
+ this._name = "";
857
+ this._checked = false;
858
+ this._deactivate = () => {
859
+ if (activeRadio) {
860
+ activeRadio.active = false;
861
+ }
862
+ };
863
+ if (!isGlobalHandlerAttached$1) {
864
+ document.addEventListener("mouseup", this._deactivate);
865
+ isGlobalHandlerAttached$1 = true;
866
+ }
867
+ }
868
+ onAfterRendering() {
869
+ this.syncGroup();
870
+ }
871
+ onEnterDOM() {
872
+ if (Icons.f()) {
873
+ this.setAttribute("desktop", "");
874
+ }
875
+ }
876
+ onExitDOM() {
877
+ this.syncGroup(true);
878
+ }
879
+ syncGroup(forceRemove) {
880
+ const oldGroup = this._name;
881
+ const currentGroup = this.name;
882
+ const oldChecked = this._checked;
883
+ const currentChecked = this.checked;
884
+ if (forceRemove) {
885
+ RadioButtonGroup.removeFromGroup(this, oldGroup);
886
+ }
887
+ if (currentGroup !== oldGroup) {
888
+ if (oldGroup) {
889
+ // remove the control from the previous group
890
+ RadioButtonGroup.removeFromGroup(this, oldGroup);
891
+ }
892
+ if (currentGroup) {
893
+ // add the control to the existing group
894
+ RadioButtonGroup.addToGroup(this, currentGroup);
895
+ }
896
+ }
897
+ else if (currentGroup && this.isConnected) {
898
+ RadioButtonGroup.enforceSingleSelection(this, currentGroup);
899
+ }
900
+ if (this.name && currentChecked !== oldChecked) {
901
+ RadioButtonGroup.updateTabOrder(this.name);
902
+ }
903
+ this._name = this.name || "";
904
+ this._checked = this.checked;
905
+ }
906
+ _onclick() {
907
+ return this.toggle();
908
+ }
909
+ _handleDown(e) {
910
+ const currentGroup = this.name;
911
+ if (!currentGroup) {
912
+ return;
913
+ }
914
+ e.preventDefault();
915
+ RadioButtonGroup.selectNextItem(this, currentGroup);
916
+ }
917
+ _handleUp(e) {
918
+ const currentGroup = this.name;
919
+ if (!currentGroup) {
920
+ return;
921
+ }
922
+ e.preventDefault();
923
+ RadioButtonGroup.selectPreviousItem(this, currentGroup);
924
+ }
925
+ _onkeydown(e) {
926
+ if (webcomponentsBase.A(e)) {
927
+ this.active = true;
928
+ return e.preventDefault();
929
+ }
930
+ if (webcomponentsBase.b$1(e)) {
931
+ this.active = true;
932
+ return this.toggle();
933
+ }
934
+ const isRTL = this.effectiveDir === "rtl";
935
+ if (webcomponentsBase._(e) || (!isRTL && webcomponentsBase.R(e)) || (isRTL && webcomponentsBase.D(e))) {
936
+ this._handleDown(e);
937
+ }
938
+ if (webcomponentsBase.P(e) || (!isRTL && webcomponentsBase.D(e)) || (isRTL && webcomponentsBase.R(e))) {
939
+ this._handleUp(e);
940
+ }
941
+ }
942
+ _onkeyup(e) {
943
+ if (webcomponentsBase.A(e)) {
944
+ this.toggle();
945
+ }
946
+ this.active = false;
947
+ }
948
+ _onmousedown() {
949
+ this.active = true;
950
+ activeRadio = this; // eslint-disable-line
951
+ }
952
+ _onmouseup() {
953
+ this.active = false;
954
+ }
955
+ _onfocusout() {
956
+ this.active = false;
957
+ }
958
+ toggle() {
959
+ if (!this.canToggle()) {
960
+ return this;
961
+ }
962
+ if (!this.name) {
963
+ this.checked = !this.checked;
964
+ this.fireDecoratorEvent("change");
965
+ return this;
966
+ }
967
+ RadioButtonGroup.selectItem(this, this.name);
968
+ return this;
969
+ }
970
+ canToggle() {
971
+ return !(this.disabled || this.readonly || this.checked);
972
+ }
973
+ get effectiveAriaDisabled() {
974
+ return (this.disabled || this.readonly) ? true : undefined;
975
+ }
976
+ get ariaLabelText() {
977
+ return [BusyIndicator.A(this), this.text].filter(Boolean).join(" ");
978
+ }
979
+ get effectiveAriaDescribedBy() {
980
+ return this.hasValueState ? `${this._id}-descr` : undefined;
981
+ }
982
+ get hasValueState() {
983
+ return this.valueState !== information.o.None;
984
+ }
985
+ get valueStateText() {
986
+ switch (this.valueState) {
987
+ case information.o.Negative:
988
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR);
989
+ case information.o.Critical:
990
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING);
991
+ case information.o.Positive:
992
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS);
993
+ case information.o.Information:
994
+ return RadioButton_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_INFORMATION);
995
+ default:
996
+ return "";
997
+ }
998
+ }
999
+ get effectiveTabIndex() {
1000
+ const tabindex = this.getAttribute("tabindex");
1001
+ if (this.disabled) {
1002
+ return -1;
1003
+ }
1004
+ if (this.name) {
1005
+ return this._tabIndex;
1006
+ }
1007
+ return tabindex ? parseInt(tabindex) : 0;
1008
+ }
1009
+ };
1010
+ __decorate$2([
1011
+ webcomponentsBase.s({ type: Boolean })
1012
+ ], RadioButton.prototype, "disabled", void 0);
1013
+ __decorate$2([
1014
+ webcomponentsBase.s({ type: Boolean })
1015
+ ], RadioButton.prototype, "readonly", void 0);
1016
+ __decorate$2([
1017
+ webcomponentsBase.s({ type: Boolean })
1018
+ ], RadioButton.prototype, "required", void 0);
1019
+ __decorate$2([
1020
+ webcomponentsBase.s({ type: Boolean })
1021
+ ], RadioButton.prototype, "checked", void 0);
1022
+ __decorate$2([
1023
+ webcomponentsBase.s()
1024
+ ], RadioButton.prototype, "text", void 0);
1025
+ __decorate$2([
1026
+ webcomponentsBase.s()
1027
+ ], RadioButton.prototype, "valueState", void 0);
1028
+ __decorate$2([
1029
+ webcomponentsBase.s()
1030
+ ], RadioButton.prototype, "name", void 0);
1031
+ __decorate$2([
1032
+ webcomponentsBase.s()
1033
+ ], RadioButton.prototype, "value", void 0);
1034
+ __decorate$2([
1035
+ webcomponentsBase.s()
1036
+ ], RadioButton.prototype, "wrappingType", void 0);
1037
+ __decorate$2([
1038
+ webcomponentsBase.s()
1039
+ ], RadioButton.prototype, "accessibleName", void 0);
1040
+ __decorate$2([
1041
+ webcomponentsBase.s()
1042
+ ], RadioButton.prototype, "accessibleNameRef", void 0);
1043
+ __decorate$2([
1044
+ webcomponentsBase.s({ type: Number })
1045
+ ], RadioButton.prototype, "_tabIndex", void 0);
1046
+ __decorate$2([
1047
+ webcomponentsBase.s({ type: Boolean })
1048
+ ], RadioButton.prototype, "active", void 0);
1049
+ __decorate$2([
1050
+ webcomponentsBase.s({ type: Boolean, noAttribute: true })
1051
+ ], RadioButton.prototype, "_groupChecked", void 0);
1052
+ __decorate$2([
1053
+ webcomponentsBase.s({ type: Boolean, noAttribute: true })
1054
+ ], RadioButton.prototype, "_groupRequired", void 0);
1055
+ __decorate$2([
1056
+ i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
1057
+ ], RadioButton, "i18nBundle", void 0);
1058
+ RadioButton = RadioButton_1 = __decorate$2([
1059
+ webcomponentsBase.m({
1060
+ tag: "ui5-radio-button",
1061
+ languageAware: true,
1062
+ formAssociated: true,
1063
+ renderer: parametersBundle_css.y,
1064
+ template: RadioButtonTemplate,
1065
+ styles: radioButtonCss,
1066
+ })
1067
+ /**
1068
+ * Fired when the component checked state changes.
1069
+ * @public
1070
+ * @since 1.0.0-rc.15
1071
+ */
1072
+ ,
1073
+ eventStrict.l("change", {
1074
+ bubbles: true,
1075
+ })
1076
+ ], RadioButton);
1077
+ RadioButton.define();
1078
+ var RadioButton$1 = RadioButton;
1079
+
1080
+ Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
1081
+ Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => i18nDefaults.defaultTheme);
1082
+ 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-15-0_checkbox_border_radius);transition:var(--_ui5-v2-15-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-15-0_checkbox_disabled_opacity)}:host([disabled]) .ui5-checkbox-inner{border-color:var(--_ui5-v2-15-0_checkbox_inner_disabled_border_color)}:host([disabled]) .ui5-checkbox-label{color:var(--_ui5-v2-15-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-15-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-15-0_checkbox_root_side_padding);padding-bottom:var(--_ui5-v2-15-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-15-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-15-0_checkbox_inner_error_border);color:var(--sapField_InvalidColor)}:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-15-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-15-0_checkbox_inner_warning_border);color:var(--_ui5-v2-15-0_checkbox_inner_warning_color)}:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-15-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-15-0_checkbox_inner_information_border);color:var(--_ui5-v2-15-0_checkbox_inner_information_color)}:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-15-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-15-0_checkbox_inner_success_border);color:var(--sapField_SuccessColor)}:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v2-15-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-15-0_checkbox_checkmark_warning_color)}.ui5-checkbox-root{position:relative;display:inline-flex;align-items:center;max-width:100%;min-height:var(--_ui5-v2-15-0_checkbox_width_height);min-width:var(--_ui5-v2-15-0_checkbox_width_height);padding:0 var(--_ui5-v2-15-0_checkbox_wrapper_padding);outline:none;transition:var(--_ui5-v2-15-0_checkbox_transition);border:var(--_ui5-v2-15-0_checkbox_default_focus_border);border-radius:var(--_ui5-v2-15-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-15-0_checkbox_focus_outline_display);content:"";position:absolute;inset-inline:var(--_ui5-v2-15-0_checkbox_focus_position);inset-block:var(--_ui5-v2-15-0_checkbox_focus_position);border:var(--_ui5-v2-15-0_checkbox_focus_outline);border-radius:var(--_ui5-v2-15-0_checkbox_focus_border_radius)}:host([text]) .ui5-checkbox-root{padding-inline-end:var(--_ui5-v2-15-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-15-0_checkbox_outer_hover_background)}.ui5-checkbox--hoverable .ui5-checkbox-label:hover{color:var(--_ui5-v2-15-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-15-0_checkbox_hover_background);border-color:var(--_ui5-v2-15-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-15-0_checkbox_hover_background);border-color:var(--_ui5-v2-15-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-15-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-15-0_checkbox_inner_active_border_color);background-color:var(--_ui5-v2-15-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-15-0_checkbox_inner_selected_border_color);background-color:var(--_ui5-v2-15-0_checkbox_active_background)}.ui5-checkbox-inner{min-width:var(--_ui5-v2-15-0_checkbox_inner_width_height);max-width:var(--_ui5-v2-15-0_checkbox_inner_width_height);height:var(--_ui5-v2-15-0_checkbox_inner_width_height);max-height:var(--_ui5-v2-15-0_checkbox_inner_width_height);border:var(--_ui5-v2-15-0_checkbox_inner_border);border-radius:var(--_ui5-v2-15-0_checkbox_inner_border_radius);background:var(--_ui5-v2-15-0_checkbox_inner_background);color:var(--_ui5-v2-15-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-15-0_checkbox_partially_icon_size);height:var(--_ui5-v2-15-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-15-0_checkbox_label_offset);cursor:inherit;text-overflow:ellipsis;overflow:hidden;pointer-events:none;color:var(--_ui5-v2-15-0_checkbox_label_color)}.ui5-checkbox-icon{width:var(--_ui5-v2-15-0_checkbox_icon_size);height:var(--_ui5-v2-15-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-15-0_checkbox_inner_width_height);max-width:var(--_ui5-v2-15-0_checkbox_inner_width_height);height:var(--_ui5-v2-15-0_checkbox_inner_width_height);max-height:var(--_ui5-v2-15-0_checkbox_inner_width_height);display:flex;align-items:center;justify-content:center}
1083
+ `;
1084
+
1085
+ const name$7 = "accept";
1086
+ 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";
1087
+ const ltr$7 = true;
1088
+ const collection$7 = "SAP-icons-v4";
1089
+ const packageName$7 = "sap/ushell/gen/ui5/webcomponents-icons";
1090
+
1091
+ Icons.y(name$7, { pathData: pathData$7, ltr: ltr$7, collection: collection$7, packageName: packageName$7 });
1092
+
1093
+ const name$6 = "accept";
1094
+ 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";
1095
+ const ltr$6 = true;
1096
+ const collection$6 = "SAP-icons-v5";
1097
+ const packageName$6 = "sap/ushell/gen/ui5/webcomponents-icons";
1098
+
1099
+ Icons.y(name$6, { pathData: pathData$6, ltr: ltr$6, collection: collection$6, packageName: packageName$6 });
1100
+
1101
+ var checkIcon = "accept";
1102
+
1103
+ const name$5 = "complete";
1104
+ 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";
1105
+ const ltr$5 = true;
1106
+ const collection$5 = "SAP-icons-v4";
1107
+ const packageName$5 = "sap/ushell/gen/ui5/webcomponents-icons";
1108
+
1109
+ Icons.y(name$5, { pathData: pathData$5, ltr: ltr$5, collection: collection$5, packageName: packageName$5 });
1110
+
1111
+ const name$4 = "complete";
1112
+ 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";
1113
+ const ltr$4 = true;
1114
+ const collection$4 = "SAP-icons-v5";
1115
+ const packageName$4 = "sap/ushell/gen/ui5/webcomponents-icons";
1116
+
1117
+ Icons.y(name$4, { pathData: pathData$4, ltr: ltr$4, collection: collection$4, packageName: packageName$4 });
1118
+
1119
+ var complete = "complete";
1120
+
1121
+ const name$3 = "border";
1122
+ 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";
1123
+ const ltr$3 = false;
1124
+ const collection$3 = "SAP-icons-v4";
1125
+ const packageName$3 = "sap/ushell/gen/ui5/webcomponents-icons";
1126
+
1127
+ Icons.y(name$3, { pathData: pathData$3, ltr: ltr$3, collection: collection$3, packageName: packageName$3 });
1128
+
1129
+ const name$2 = "border";
1130
+ 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";
1131
+ const ltr$2 = false;
1132
+ const collection$2 = "SAP-icons-v5";
1133
+ const packageName$2 = "sap/ushell/gen/ui5/webcomponents-icons";
1134
+
1135
+ Icons.y(name$2, { pathData: pathData$2, ltr: ltr$2, collection: collection$2, packageName: packageName$2 });
1136
+
1137
+ var border = "border";
1138
+
1139
+ const name$1 = "tri-state";
1140
+ 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";
1141
+ const ltr$1 = false;
1142
+ const collection$1 = "SAP-icons-v4";
1143
+ const packageName$1 = "sap/ushell/gen/ui5/webcomponents-icons";
1144
+
1145
+ Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
1146
+
1147
+ const name = "tri-state";
1148
+ 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";
1149
+ const ltr = false;
1150
+ const collection = "SAP-icons-v5";
1151
+ const packageName = "sap/ushell/gen/ui5/webcomponents-icons";
1152
+
1153
+ Icons.y(name, { pathData, ltr, collection, packageName });
1154
+
1155
+ var triState = "tri-state";
1156
+
1157
+ function CheckBoxTemplate() {
1158
+ return (parametersBundle_css.jsxs("div", { class: {
1159
+ "ui5-checkbox-root": true,
1160
+ "ui5-checkbox--hoverable": !this.disabled && !this.readonly && Icons.f(),
1161
+ }, role: this.accInfo.role, part: "root", "aria-checked": this.accInfo.ariaChecked, "aria-readonly": this.accInfo.ariaReadonly, "aria-disabled": this.accInfo.ariaDisabled, "aria-label": this.ariaLabelText, "aria-labelledby": this.ariaLabelledBy, "aria-describedby": this.ariaDescribedBy, "aria-required": this.accInfo.ariaRequired, tabindex: this.accInfo.tabindex, onMouseDown: this._onmousedown, onMouseUp: this._onmouseup, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onClick: this._onclick, onFocusOut: this._onfocusout, children: [this.isDisplayOnly ?
1162
+ 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" }) })
1163
+ :
1164
+ parametersBundle_css.jsx("div", { id: `${this._id}-CbBg`, class: "ui5-checkbox-inner", children: this.isCompletelyChecked &&
1165
+ parametersBundle_css.jsx(Icon.Icon, { "aria-hidden": "true", name: checkIcon, class: "ui5-checkbox-icon", part: "icon" }) }), this.accInfo.role === "checkbox" &&
1166
+ 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 &&
1167
+ 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 &&
1168
+ parametersBundle_css.jsx("span", { id: `${this._id}-descr`, class: "ui5-hidden-text", children: this.valueStateText })] }));
1169
+ }
1170
+ function displayOnlyIcon() {
1171
+ if (this.isCompletelyChecked) {
1172
+ return complete;
1173
+ }
1174
+ if (this.checked && this.indeterminate) {
1175
+ return triState;
1176
+ }
1177
+ return border;
1178
+ }
1179
+
1180
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
1181
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1182
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1183
+ 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;
1184
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1185
+ };
1186
+ var CheckBox_1;
1187
+ let isGlobalHandlerAttached = false;
1188
+ let activeCb;
1189
+ /**
1190
+ * @class
1191
+ *
1192
+ * ### Overview
1193
+ *
1194
+ * Allows the user to set a binary value, such as true/false or yes/no for an item.
1195
+ *
1196
+ * The `ui5-checkbox` component consists of a box and a label that describes its purpose.
1197
+ * If it's checked, an indicator is displayed inside the box.
1198
+ * To check/uncheck the `ui5-checkbox`, the user has to click or tap the square
1199
+ * box or its label.
1200
+ *
1201
+ * The `ui5-checkbox` component only has 2 states - checked and unchecked.
1202
+ * Clicking or tapping toggles the `ui5-checkbox` between checked and unchecked state.
1203
+ *
1204
+ * ### Usage
1205
+ *
1206
+ * You can define the checkbox text with via the `text` property. If the text exceeds the available width, it is truncated by default.
1207
+ * In case you prefer text to truncate, set the `wrappingType` property to "None".
1208
+ * The touchable area for toggling the `ui5-checkbox` ends where the text ends.
1209
+ *
1210
+ * You can disable the `ui5-checkbox` by setting the `disabled` property to
1211
+ * `true`,
1212
+ * or use the `ui5-checkbox` in read-only mode by setting the `readonly`
1213
+ * property to `true`.
1214
+ *
1215
+ * ### Keyboard Handling
1216
+ *
1217
+ * The user can use the following keyboard shortcuts to toggle the checked state of the `ui5-checkbox`.
1218
+ *
1219
+ * - [Space],[Enter] - Toggles between different states: checked, not checked.
1220
+ *
1221
+ * ### ES6 Module Import
1222
+ *
1223
+ * `import "sap/ushell/gen/ui5/webcomponents/dist/CheckBox.js";`
1224
+ * @constructor
1225
+ * @extends UI5Element
1226
+ * @public
1227
+ * @csspart root - Used to style the outermost wrapper of the `ui5-checkbox`
1228
+ * @csspart label - Used to style the label of the `ui5-checkbox`
1229
+ * @csspart icon - Used to style the icon of the `ui5-checkbox`
1230
+ */
1231
+ let CheckBox = CheckBox_1 = class CheckBox extends webcomponentsBase.b {
1232
+ get formValidityMessage() {
1233
+ return CheckBox_1.i18nBundle.getText(i18nDefaults.FORM_CHECKABLE_REQUIRED);
1234
+ }
1235
+ get formValidity() {
1236
+ return { valueMissing: this.required && !this.checked };
1237
+ }
1238
+ async formElementAnchor() {
1239
+ return this.getFocusDomRefAsync();
1240
+ }
1241
+ get formFormattedValue() {
1242
+ return this.checked ? this.value : null;
1243
+ }
1244
+ constructor() {
1245
+ super();
1246
+ /**
1247
+ * Defines whether the component is disabled.
1248
+ *
1249
+ * **Note:** A disabled component is completely noninteractive.
1250
+ * @default false
1251
+ * @public
1252
+ */
1253
+ this.disabled = false;
1254
+ /**
1255
+ * Defines whether the component is read-only.
1256
+ *
1257
+ * **Note:** A read-only component is not editable,
1258
+ * but still provides visual feedback upon user interaction.
1259
+ * @default false
1260
+ * @public
1261
+ */
1262
+ this.readonly = false;
1263
+ /**
1264
+ * Determines whether the `ui5-checkbox` is in display only state.
1265
+ *
1266
+ * When set to `true`, the `ui5-checkbox` is not interactive, not editable, not focusable
1267
+ * and not in the tab chain. This setting is used for forms in review mode.
1268
+ *
1269
+ * **Note:** When the property `disabled` is set to `true` this property has no effect.
1270
+ * @since 1.22.0
1271
+ * @public
1272
+ * @default false
1273
+ */
1274
+ this.displayOnly = false;
1275
+ /**
1276
+ * Defines whether the component is required.
1277
+ *
1278
+ * **Note:** We advise against using the text property of the checkbox when there is a
1279
+ * label associated with it to avoid having two required asterisks.
1280
+ * @default false
1281
+ * @public
1282
+ * @since 1.3.0
1283
+ */
1284
+ this.required = false;
1285
+ /**
1286
+ * Defines whether the component is displayed as partially checked.
1287
+ *
1288
+ * **Note:** The indeterminate state can be set only programmatically and can’t be achieved by user
1289
+ * interaction and the resulting visual state depends on the values of the `indeterminate`
1290
+ * and `checked` properties:
1291
+ *
1292
+ * - If the component is checked and indeterminate, it will be displayed as partially checked
1293
+ * - If the component is checked and it is not indeterminate, it will be displayed as checked
1294
+ * - If the component is not checked, it will be displayed as not checked regardless value of the indeterminate attribute
1295
+ * @default false
1296
+ * @public
1297
+ * @since 1.0.0-rc.15
1298
+ */
1299
+ this.indeterminate = false;
1300
+ /**
1301
+ * Defines if the component is checked.
1302
+ *
1303
+ * **Note:** The property can be changed with user interaction,
1304
+ * either by cliking/tapping on the component, or by
1305
+ * pressing the Enter or Space key.
1306
+ * @default false
1307
+ * @formEvents change
1308
+ * @formProperty
1309
+ * @public
1310
+ */
1311
+ this.checked = false;
1312
+ /**
1313
+ * Defines the value state of the component.
1314
+ * @default "None"
1315
+ * @public
1316
+ */
1317
+ this.valueState = "None";
1318
+ /**
1319
+ * Defines whether the component text wraps when there is not enough space.
1320
+ *
1321
+ * **Note:** for option "Normal" the text will wrap and the words will not be broken based on hyphenation.
1322
+ * **Note:** for option "None" the text will be truncated with an ellipsis.
1323
+ * @default "Normal"
1324
+ * @public
1325
+ */
1326
+ this.wrappingType = "Normal";
1327
+ /**
1328
+ * Defines the form value of the component that is submitted when the checkbox is checked.
1329
+ *
1330
+ * When a form containing `ui5-checkbox` elements is submitted, only the values of the
1331
+ * **checked** checkboxes are included in the form data sent to the server. Unchecked
1332
+ * checkboxes do not contribute any data to the form submission.
1333
+ *
1334
+ * 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.
1335
+ *
1336
+ * @default "on"
1337
+ * @public
1338
+ */
1339
+ this.value = "on";
1340
+ /**
1341
+ * Defines the active state (pressed or not) of the component.
1342
+ * @private
1343
+ */
1344
+ this.active = false;
1345
+ this._deactivate = () => {
1346
+ if (activeCb) {
1347
+ activeCb.active = false;
1348
+ }
1349
+ };
1350
+ if (!isGlobalHandlerAttached) {
1351
+ document.addEventListener("mouseup", this._deactivate);
1352
+ isGlobalHandlerAttached = true;
1353
+ }
1354
+ }
1355
+ onEnterDOM() {
1356
+ if (Icons.f()) {
1357
+ this.setAttribute("desktop", "");
1358
+ }
1359
+ }
1360
+ _onclick() {
1361
+ this.toggle();
1362
+ }
1363
+ _onmousedown() {
1364
+ if (this.readonly || this.disabled) {
1365
+ return;
1366
+ }
1367
+ this.active = true;
1368
+ activeCb = this; // eslint-disable-line
1369
+ }
1370
+ _onmouseup() {
1371
+ this.active = false;
1372
+ }
1373
+ _onfocusout() {
1374
+ this.active = false;
1375
+ }
1376
+ _onkeydown(e) {
1377
+ if (webcomponentsBase.A(e)) {
1378
+ e.preventDefault();
1379
+ }
1380
+ if (this.readonly || this.disabled) {
1381
+ return;
1382
+ }
1383
+ if (webcomponentsBase.b$1(e)) {
1384
+ this.toggle();
1385
+ }
1386
+ this.active = true;
1387
+ }
1388
+ _onkeyup(e) {
1389
+ if (webcomponentsBase.A(e)) {
1390
+ this.toggle();
1391
+ }
1392
+ this.active = false;
1393
+ }
1394
+ toggle() {
1395
+ if (this.canToggle()) {
1396
+ const lastState = {
1397
+ checked: this.checked,
1398
+ indeterminate: this.indeterminate,
1399
+ };
1400
+ if (this.indeterminate) {
1401
+ this.indeterminate = false;
1402
+ this.checked = true;
1403
+ }
1404
+ else {
1405
+ this.checked = !this.checked;
1406
+ }
1407
+ const changePrevented = !this.fireDecoratorEvent("change");
1408
+ // Angular two way data binding
1409
+ const valueChangePrevented = !this.fireDecoratorEvent("value-changed");
1410
+ if (changePrevented || valueChangePrevented) {
1411
+ this.checked = lastState.checked;
1412
+ this.indeterminate = lastState.indeterminate;
1413
+ }
1414
+ }
1415
+ return this;
1416
+ }
1417
+ canToggle() {
1418
+ return !(this.disabled || this.readonly || this.displayOnly);
1419
+ }
1420
+ valueStateTextMappings() {
1421
+ return {
1422
+ "Negative": CheckBox_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
1423
+ "Critical": CheckBox_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
1424
+ "Positive": CheckBox_1.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
1425
+ };
1426
+ }
1427
+ get ariaLabelText() {
1428
+ return BusyIndicator.A(this) || BusyIndicator.M(this);
1429
+ }
1430
+ get classes() {
1431
+ return {
1432
+ main: {
1433
+ "ui5-checkbox--hoverable": !this.disabled && !this.readonly && Icons.f(),
1434
+ },
1435
+ };
1436
+ }
1437
+ get ariaReadonly() {
1438
+ return this.readonly || this.displayOnly ? "true" : undefined;
1439
+ }
1440
+ get effectiveAriaDisabled() {
1441
+ return this.disabled ? "true" : undefined;
1442
+ }
1443
+ get effectiveAriaChecked() {
1444
+ return this.indeterminate && this.checked ? "mixed" : this.checked;
1445
+ }
1446
+ get ariaLabelledBy() {
1447
+ if (!this.ariaLabelText) {
1448
+ return this.text ? `${this._id}-label` : undefined;
1449
+ }
1450
+ return undefined;
1451
+ }
1452
+ get ariaDescribedBy() {
1453
+ return this.hasValueState ? `${this._id}-descr` : undefined;
1454
+ }
1455
+ get hasValueState() {
1456
+ return this.valueState !== information.o.None;
1457
+ }
1458
+ get valueStateText() {
1459
+ if (this.valueState !== information.o.None && this.valueState !== information.o.Information) {
1460
+ return this.valueStateTextMappings()[this.valueState];
1461
+ }
1462
+ }
1463
+ get effectiveTabIndex() {
1464
+ const tabindex = this.getAttribute("tabindex");
1465
+ if (this.tabbable) {
1466
+ return tabindex ? parseInt(tabindex) : 0;
1467
+ }
1468
+ }
1469
+ get tabbable() {
1470
+ return !this.disabled && !this.displayOnly;
1471
+ }
1472
+ get isCompletelyChecked() {
1473
+ return this.checked && !this.indeterminate;
1474
+ }
1475
+ get isDisplayOnly() {
1476
+ return this.displayOnly && !this.disabled;
1477
+ }
1478
+ get accInfo() {
1479
+ return {
1480
+ "role": this._accInfo ? this._accInfo.role : "checkbox",
1481
+ "ariaChecked": this._accInfo ? this._accInfo.ariaChecked : this.effectiveAriaChecked,
1482
+ "ariaReadonly": this._accInfo ? this._accInfo.ariaReadonly : this.ariaReadonly,
1483
+ "ariaDisabled": this._accInfo ? this._accInfo.ariaDisabled : this.effectiveAriaDisabled,
1484
+ "ariaRequired": this._accInfo ? this._accInfo.ariaRequired : this.required,
1485
+ "tabindex": this._accInfo ? this._accInfo.tabindex : this.effectiveTabIndex,
1486
+ };
1487
+ }
1488
+ };
1489
+ __decorate$1([
1490
+ webcomponentsBase.s()
1491
+ ], CheckBox.prototype, "accessibleNameRef", void 0);
1492
+ __decorate$1([
1493
+ webcomponentsBase.s()
1494
+ ], CheckBox.prototype, "accessibleName", void 0);
1495
+ __decorate$1([
1496
+ webcomponentsBase.s({ type: Boolean })
1497
+ ], CheckBox.prototype, "disabled", void 0);
1498
+ __decorate$1([
1499
+ webcomponentsBase.s({ type: Boolean })
1500
+ ], CheckBox.prototype, "readonly", void 0);
1501
+ __decorate$1([
1502
+ webcomponentsBase.s({ type: Boolean })
1503
+ ], CheckBox.prototype, "displayOnly", void 0);
1504
+ __decorate$1([
1505
+ webcomponentsBase.s({ type: Boolean })
1506
+ ], CheckBox.prototype, "required", void 0);
1507
+ __decorate$1([
1508
+ webcomponentsBase.s({ type: Boolean })
1509
+ ], CheckBox.prototype, "indeterminate", void 0);
1510
+ __decorate$1([
1511
+ webcomponentsBase.s({ type: Boolean })
1512
+ ], CheckBox.prototype, "checked", void 0);
1513
+ __decorate$1([
1514
+ webcomponentsBase.s()
1515
+ ], CheckBox.prototype, "text", void 0);
1516
+ __decorate$1([
1517
+ webcomponentsBase.s()
1518
+ ], CheckBox.prototype, "valueState", void 0);
1519
+ __decorate$1([
1520
+ webcomponentsBase.s()
1521
+ ], CheckBox.prototype, "wrappingType", void 0);
1522
+ __decorate$1([
1523
+ webcomponentsBase.s()
1524
+ ], CheckBox.prototype, "name", void 0);
1525
+ __decorate$1([
1526
+ webcomponentsBase.s()
1527
+ ], CheckBox.prototype, "value", void 0);
1528
+ __decorate$1([
1529
+ webcomponentsBase.s({ type: Boolean })
1530
+ ], CheckBox.prototype, "active", void 0);
1531
+ __decorate$1([
1532
+ webcomponentsBase.s({ type: Object })
1533
+ ], CheckBox.prototype, "_accInfo", void 0);
1534
+ __decorate$1([
1535
+ i18nDefaults.i("sap/ushell/gen/ui5/webcomponents")
1536
+ ], CheckBox, "i18nBundle", void 0);
1537
+ CheckBox = CheckBox_1 = __decorate$1([
1538
+ webcomponentsBase.m({
1539
+ tag: "ui5-checkbox",
1540
+ languageAware: true,
1541
+ formAssociated: true,
1542
+ renderer: parametersBundle_css.y,
1543
+ template: CheckBoxTemplate,
1544
+ styles: checkboxCss,
1545
+ })
1546
+ /**
1547
+ * Fired when the component checked state changes.
1548
+ * @public
1549
+ */
1550
+ ,
1551
+ eventStrict.l("change", {
1552
+ bubbles: true,
1553
+ cancelable: true,
1554
+ })
1555
+ /**
1556
+ * Fired to make Angular two way data binding work properly.
1557
+ * @private
1558
+ */
1559
+ ,
1560
+ eventStrict.l("value-changed", {
1561
+ bubbles: true,
1562
+ cancelable: true,
1563
+ })
1564
+ ], CheckBox);
1565
+ CheckBox.define();
1566
+ var CheckBox$1 = CheckBox;
1567
+
1568
+ const predefinedHooks$1 = {
1569
+ listItemPreContent,
1570
+ listItemContent: listItemContent$1,
1571
+ imageBegin,
1572
+ iconBegin,
1573
+ iconEnd,
1574
+ selectionElement,
1575
+ };
1576
+ function ListItemTemplate(hooks) {
1577
+ const currentHooks = { ...predefinedHooks$1, ...hooks };
1578
+ 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 })] });
1579
+ }
1580
+ function listItemPreContent() { }
1581
+ function listItemContent$1() { }
1582
+ function imageBegin() { }
1583
+ function iconBegin() { }
1584
+ function iconEnd() { }
1585
+ function selectionElement() {
1586
+ switch (true) {
1587
+ case this.modeSingleSelect:
1588
+ 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 }));
1589
+ case this.modeMultiple:
1590
+ 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 }));
1591
+ case this.modeDelete:
1592
+ return (parametersBundle_css.jsx("div", { class: "ui5-li-deletebtn", children: this.hasDeleteButtonSlot ?
1593
+ (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 })) }));
1594
+ }
1595
+ }
1596
+
1597
+ const predefinedHooks = {
1598
+ listItemContent,
1599
+ };
1600
+ function ListItemCustomTemplate(hooks) {
1601
+ const currentHooks = { ...predefinedHooks, ...hooks };
1602
+ return ListItemTemplate.call(this, currentHooks);
1603
+ }
1604
+ function listItemContent() {
1605
+ return parametersBundle_css.jsx("slot", {});
1606
+ }
1607
+
1608
+ Icons.p("@" + "ui5" + "/" + "sap/ushell/thirdparty/webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
1609
+ Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => i18nDefaults.defaultTheme);
1610
+ var ListItemCustomCss = `:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v2-15-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-15-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}
1611
+ `;
1612
+
1613
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
1614
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1615
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1616
+ 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;
1617
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1618
+ };
1619
+ /**
1620
+ * @class
1621
+ *
1622
+ * A component to be used as custom list item within the `ui5-list`
1623
+ * the same way as the standard `ui5-li`.
1624
+ *
1625
+ * The component accepts arbitrary HTML content to allow full customization.
1626
+ * @csspart native-li - Used to style the main li tag of the list item
1627
+ * @csspart content - Used to style the content area of the list item
1628
+ * @csspart detail-button - Used to style the button rendered when the list item is of type detail
1629
+ * @csspart delete-button - Used to style the button rendered when the list item is in delete mode
1630
+ * @csspart radio - Used to style the radio button rendered when the list item is in single selection mode
1631
+ * @csspart checkbox - Used to style the checkbox rendered when the list item is in multiple selection mode
1632
+ * @slot {Node[]} default - Defines the content of the component.
1633
+ * @constructor
1634
+ * @extends ListItem
1635
+ * @public
1636
+ */
1637
+ let ListItemCustom = class ListItemCustom extends ListItem$1 {
1638
+ constructor() {
1639
+ super(...arguments);
1640
+ /**
1641
+ * Defines whether the item is movable.
1642
+ * @default false
1643
+ * @public
1644
+ * @since 2.0.0
1645
+ */
1646
+ this.movable = false;
1647
+ }
1648
+ async _onkeydown(e) {
1649
+ const isTab = webcomponentsBase.x(e) || webcomponentsBase.V(e);
1650
+ const isFocused = this.matches(":focus");
1651
+ if (!isTab && !isFocused && !webcomponentsBase.ro(e)) {
1652
+ return;
1653
+ }
1654
+ await super._onkeydown(e);
1655
+ }
1656
+ _onkeyup(e) {
1657
+ const isTab = webcomponentsBase.x(e) || webcomponentsBase.V(e);
1658
+ const isFocused = this.matches(":focus");
1659
+ if (!isTab && !isFocused && !webcomponentsBase.ro(e)) {
1660
+ return;
1661
+ }
1662
+ super._onkeyup(e);
1663
+ }
1664
+ get classes() {
1665
+ const result = super.classes;
1666
+ result.main["ui5-custom-li-root"] = true;
1667
+ return result;
1668
+ }
1669
+ };
1670
+ __decorate([
1671
+ webcomponentsBase.s({ type: Boolean })
1672
+ ], ListItemCustom.prototype, "movable", void 0);
1673
+ __decorate([
1674
+ webcomponentsBase.s()
1675
+ ], ListItemCustom.prototype, "accessibleName", void 0);
1676
+ ListItemCustom = __decorate([
1677
+ webcomponentsBase.m({
1678
+ tag: "ui5-li-custom",
1679
+ template: ListItemCustomTemplate,
1680
+ renderer: parametersBundle_css.y,
1681
+ styles: [ListItem$1.styles, ListItemCustomCss],
1682
+ })
1683
+ ], ListItemCustom);
1684
+ ListItemCustom.define();
1685
+ var ListItemCustom$1 = ListItemCustom;
1686
+
1687
+ exports.ListItem = ListItem$1;
1688
+ exports.ListItemCustom = ListItemCustom$1;
1689
+ exports.ListItemTemplate = ListItemTemplate;
1690
+ exports.checkIcon = checkIcon;
1691
+ exports.edit = edit;
1692
+ exports.slimArrowRight = slimArrowRight;
1693
+
1694
+ }));