@openui5/sap.f 1.144.0 → 1.146.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/REUSE.toml +40 -16
  2. package/THIRDPARTY.txt +28 -7
  3. package/package.json +10 -10
  4. package/src/sap/f/.library +8 -8
  5. package/src/sap/f/Avatar.js +1 -1
  6. package/src/sap/f/AvatarGroup.js +8 -2
  7. package/src/sap/f/AvatarGroupItem.js +1 -1
  8. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  9. package/src/sap/f/CalendarInCard.js +1 -1
  10. package/src/sap/f/Card.js +1 -1
  11. package/src/sap/f/CardBase.js +3 -3
  12. package/src/sap/f/DynamicPage.js +1 -1
  13. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  14. package/src/sap/f/DynamicPageHeader.js +1 -1
  15. package/src/sap/f/DynamicPageTitle.js +1 -1
  16. package/src/sap/f/FlexibleColumnLayout.js +8 -2
  17. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  18. package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
  19. package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
  20. package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
  21. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  22. package/src/sap/f/GridContainer.js +1 -1
  23. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  24. package/src/sap/f/GridContainerSettings.js +2 -2
  25. package/src/sap/f/GridList.js +1 -1
  26. package/src/sap/f/GridListItem.js +1 -1
  27. package/src/sap/f/IllustratedMessage.js +1 -1
  28. package/src/sap/f/Illustration.js +1 -1
  29. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  30. package/src/sap/f/ProductSwitch.js +1 -1
  31. package/src/sap/f/ProductSwitchItem.js +1 -1
  32. package/src/sap/f/SearchManager.js +1 -1
  33. package/src/sap/f/ShellBar.js +1 -1
  34. package/src/sap/f/SidePanel.js +5 -1
  35. package/src/sap/f/SidePanelItem.js +7 -1
  36. package/src/sap/f/SidePanelRenderer.js +1 -1
  37. package/src/sap/f/cards/BaseHeader.js +39 -26
  38. package/src/sap/f/cards/Header.js +7 -7
  39. package/src/sap/f/cards/NumericHeader.js +22 -23
  40. package/src/sap/f/cards/NumericIndicators.js +1 -2
  41. package/src/sap/f/cards/NumericSideIndicator.js +2 -3
  42. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  43. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  46. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  47. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  48. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  49. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  50. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  51. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  52. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  53. package/src/sap/f/dnd/GridDragOver.js +1 -1
  54. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  55. package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +2 -246
  56. package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +2 -349
  57. package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +2 -126
  58. package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +2 -141
  59. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +2 -60
  60. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +2 -208
  61. package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +2 -283
  62. package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +2 -357
  63. package/src/sap/f/gen/ui5/webcomponents.js +2 -3155
  64. package/src/sap/f/gen/ui5/webcomponents_base.js +2 -600
  65. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +2 -214
  66. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +2 -203
  67. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +2 -167
  68. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +2 -248
  69. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +2 -86
  70. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +2 -254
  71. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +2 -128
  72. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +2 -56
  73. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +2 -87
  74. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +2 -75
  75. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +2 -80
  76. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +2 -669
  77. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +2 -123
  78. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +2 -140
  79. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +2 -236
  80. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +2 -72
  81. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +2 -282
  82. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +2 -134
  83. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +2 -79
  84. package/src/sap/f/gen/ui5/webcomponents_fiori.js +2 -1859
  85. package/src/sap/f/library.js +3 -4
  86. package/src/sap/f/routing/Target.js +2 -2
  87. package/src/sap/f/semantic/AddAction.js +1 -1
  88. package/src/sap/f/semantic/CloseAction.js +1 -1
  89. package/src/sap/f/semantic/CopyAction.js +1 -1
  90. package/src/sap/f/semantic/DeleteAction.js +1 -1
  91. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  92. package/src/sap/f/semantic/EditAction.js +1 -1
  93. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  94. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  95. package/src/sap/f/semantic/FlagAction.js +1 -1
  96. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  97. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  98. package/src/sap/f/semantic/MainAction.js +1 -1
  99. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  100. package/src/sap/f/semantic/NegativeAction.js +1 -1
  101. package/src/sap/f/semantic/PositiveAction.js +1 -1
  102. package/src/sap/f/semantic/PrintAction.js +1 -1
  103. package/src/sap/f/semantic/SemanticButton.js +1 -1
  104. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  105. package/src/sap/f/semantic/SemanticControl.js +1 -1
  106. package/src/sap/f/semantic/SemanticPage.js +1 -1
  107. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  108. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  109. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  110. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  111. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  112. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  113. package/src/sap/f/shellBar/CoPilot.js +1 -1
  114. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  115. package/src/sap/f/shellBar/Search.js +1 -1
  116. package/src/sap/f/themes/base/AvatarGroup.less +2 -2
  117. package/src/sap/f/themes/base/GridList.less +1 -1
  118. package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +2 -13
  119. package/src/sap/f/thirdparty/Avatar.js +2 -453
  120. package/src/sap/f/thirdparty/BusyIndicator.js +2 -233
  121. package/src/sap/f/thirdparty/Button.js +2 -7
  122. package/src/sap/f/thirdparty/Button2.js +2 -656
  123. package/src/sap/f/thirdparty/FocusableElements.js +2 -10
  124. package/src/sap/f/thirdparty/Icon.js +2 -313
  125. package/src/sap/f/thirdparty/Icons.js +2 -234
  126. package/src/sap/f/thirdparty/IllustratedMessage.js +2 -1297
  127. package/src/sap/f/thirdparty/Illustrations.js +2 -0
  128. package/src/sap/f/thirdparty/Label.js +2 -115
  129. package/src/sap/f/thirdparty/Link.js +2 -316
  130. package/src/sap/f/thirdparty/List.js +2 -1253
  131. package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +2 -14
  132. package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +2 -10
  133. package/src/sap/f/thirdparty/ListItemBase.js +2 -251
  134. package/src/sap/f/thirdparty/ListItemGroup.js +2 -637
  135. package/src/sap/f/thirdparty/Menu.js +2 -389
  136. package/src/sap/f/thirdparty/MenuItem.js +2 -10
  137. package/src/sap/f/thirdparty/MenuItem2.js +2 -762
  138. package/src/sap/f/thirdparty/NotificationList.js +2 -291
  139. package/src/sap/f/thirdparty/NotificationListGroupItem.js +2 -310
  140. package/src/sap/f/thirdparty/NotificationListItem.js +2 -534
  141. package/src/sap/f/thirdparty/NotificationListItemBase.js +2 -98
  142. package/src/sap/f/thirdparty/ResponsivePopover.js +2 -2312
  143. package/src/sap/f/thirdparty/SearchItem.css.js +2 -10
  144. package/src/sap/f/thirdparty/SearchItem.js +2 -152
  145. package/src/sap/f/thirdparty/SearchItemGroup.js +2 -44
  146. package/src/sap/f/thirdparty/SearchItemShowMore.js +2 -86
  147. package/src/sap/f/thirdparty/SearchMessageArea.js +2 -49
  148. package/src/sap/f/thirdparty/SearchScope.js +2 -39
  149. package/src/sap/f/thirdparty/ShellBar.js +2 -1809
  150. package/src/sap/f/thirdparty/ShellBarBranding.js +2 -119
  151. package/src/sap/f/thirdparty/ShellBarItem.js +2 -89
  152. package/src/sap/f/thirdparty/ShellBarSearch.js +2 -7
  153. package/src/sap/f/thirdparty/ShellBarSearch2.js +2 -3453
  154. package/src/sap/f/thirdparty/ShellBarSpacer.js +2 -40
  155. package/src/sap/f/thirdparty/Tag.js +2 -302
  156. package/src/sap/f/thirdparty/Text.js +2 -127
  157. package/src/sap/f/thirdparty/Theme.js +2 -0
  158. package/src/sap/f/thirdparty/Title.js +2 -167
  159. package/src/sap/f/thirdparty/UserMenu.js +2 -950
  160. package/src/sap/f/thirdparty/UserMenuAccount.js +2 -114
  161. package/src/sap/f/thirdparty/UserMenuItem.js +2 -61
  162. package/src/sap/f/thirdparty/ValueState.js +2 -7
  163. package/src/sap/f/thirdparty/WrappingType.js +2 -24
  164. package/src/sap/f/thirdparty/_dynamics/InputComposition.js +2 -35
  165. package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +2 -397
  166. package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +2 -193
  167. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +2 -585
  168. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +2 -585
  169. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +2 -1194
  170. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +2 -1194
  171. package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2 -2509
  172. package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2 -2509
  173. package/src/sap/f/thirdparty/_dynamics/ar.js +2 -0
  174. package/src/sap/f/thirdparty/_dynamics/ar_EG.js +2 -0
  175. package/src/sap/f/thirdparty/_dynamics/ar_SA.js +2 -0
  176. package/src/sap/f/thirdparty/_dynamics/bg.js +2 -0
  177. package/src/sap/f/thirdparty/_dynamics/ca.js +2 -0
  178. package/src/sap/f/thirdparty/_dynamics/cnr.js +2 -0
  179. package/src/sap/f/thirdparty/_dynamics/cs.js +2 -0
  180. package/src/sap/f/thirdparty/_dynamics/da.js +2 -0
  181. package/src/sap/f/thirdparty/_dynamics/de.js +2 -0
  182. package/src/sap/f/thirdparty/_dynamics/de_AT.js +2 -0
  183. package/src/sap/f/thirdparty/_dynamics/de_CH.js +2 -0
  184. package/src/sap/f/thirdparty/_dynamics/el.js +2 -0
  185. package/src/sap/f/thirdparty/_dynamics/el_CY.js +2 -0
  186. package/src/sap/f/thirdparty/_dynamics/en.js +2 -0
  187. package/src/sap/f/thirdparty/_dynamics/en_AU.js +2 -0
  188. package/src/sap/f/thirdparty/_dynamics/en_GB.js +2 -0
  189. package/src/sap/f/thirdparty/_dynamics/en_HK.js +2 -0
  190. package/src/sap/f/thirdparty/_dynamics/en_IE.js +2 -0
  191. package/src/sap/f/thirdparty/_dynamics/en_IN.js +2 -0
  192. package/src/sap/f/thirdparty/_dynamics/en_NZ.js +2 -0
  193. package/src/sap/f/thirdparty/_dynamics/en_PG.js +2 -0
  194. package/src/sap/f/thirdparty/_dynamics/en_SG.js +2 -0
  195. package/src/sap/f/thirdparty/_dynamics/en_ZA.js +2 -0
  196. package/src/sap/f/thirdparty/_dynamics/es.js +2 -0
  197. package/src/sap/f/thirdparty/_dynamics/es_AR.js +2 -0
  198. package/src/sap/f/thirdparty/_dynamics/es_BO.js +2 -0
  199. package/src/sap/f/thirdparty/_dynamics/es_CL.js +2 -0
  200. package/src/sap/f/thirdparty/_dynamics/es_CO.js +2 -0
  201. package/src/sap/f/thirdparty/_dynamics/es_MX.js +2 -0
  202. package/src/sap/f/thirdparty/_dynamics/es_PE.js +2 -0
  203. package/src/sap/f/thirdparty/_dynamics/es_UY.js +2 -0
  204. package/src/sap/f/thirdparty/_dynamics/es_VE.js +2 -0
  205. package/src/sap/f/thirdparty/_dynamics/et.js +2 -0
  206. package/src/sap/f/thirdparty/_dynamics/fa.js +2 -0
  207. package/src/sap/f/thirdparty/_dynamics/fi.js +2 -0
  208. package/src/sap/f/thirdparty/_dynamics/fr.js +2 -0
  209. package/src/sap/f/thirdparty/_dynamics/fr_BE.js +2 -0
  210. package/src/sap/f/thirdparty/_dynamics/fr_CA.js +2 -0
  211. package/src/sap/f/thirdparty/_dynamics/fr_CH.js +2 -0
  212. package/src/sap/f/thirdparty/_dynamics/fr_LU.js +2 -0
  213. package/src/sap/f/thirdparty/_dynamics/he.js +2 -0
  214. package/src/sap/f/thirdparty/_dynamics/hi.js +2 -0
  215. package/src/sap/f/thirdparty/_dynamics/hr.js +2 -0
  216. package/src/sap/f/thirdparty/_dynamics/hu.js +2 -0
  217. package/src/sap/f/thirdparty/_dynamics/id.js +2 -0
  218. package/src/sap/f/thirdparty/_dynamics/it.js +2 -0
  219. package/src/sap/f/thirdparty/_dynamics/it_CH.js +2 -0
  220. package/src/sap/f/thirdparty/_dynamics/ja.js +2 -0
  221. package/src/sap/f/thirdparty/_dynamics/kk.js +2 -0
  222. package/src/sap/f/thirdparty/_dynamics/ko.js +2 -0
  223. package/src/sap/f/thirdparty/_dynamics/lt.js +2 -0
  224. package/src/sap/f/thirdparty/_dynamics/lv.js +2 -0
  225. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +2 -866
  226. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +2 -611
  227. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +2 -866
  228. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +2 -611
  229. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +2 -866
  230. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +2 -611
  231. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +2 -866
  232. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +2 -611
  233. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +2 -866
  234. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +2 -611
  235. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +2 -866
  236. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +2 -611
  237. package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +2 -866
  238. package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +2 -611
  239. package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +2 -866
  240. package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +2 -611
  241. package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +2 -866
  242. package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +2 -611
  243. package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +2 -866
  244. package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +2 -611
  245. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +2 -866
  246. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +2 -611
  247. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +2 -866
  248. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +2 -611
  249. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +2 -866
  250. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +2 -611
  251. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +2 -866
  252. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +2 -611
  253. package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +2 -866
  254. package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +2 -611
  255. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +2 -866
  256. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +2 -611
  257. package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +2 -866
  258. package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +2 -611
  259. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +2 -866
  260. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +2 -611
  261. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +2 -866
  262. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +2 -611
  263. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +2 -866
  264. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +2 -611
  265. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +2 -866
  266. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +2 -611
  267. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +2 -866
  268. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +2 -611
  269. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +2 -866
  270. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +2 -611
  271. package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +2 -866
  272. package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +2 -611
  273. package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +2 -866
  274. package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +2 -611
  275. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +2 -866
  276. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +2 -611
  277. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +2 -866
  278. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +2 -611
  279. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +2 -866
  280. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +2 -611
  281. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +2 -866
  282. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +2 -611
  283. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +2 -866
  284. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +2 -611
  285. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +2 -866
  286. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +2 -611
  287. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +2 -866
  288. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +2 -611
  289. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +2 -866
  290. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +2 -611
  291. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +2 -866
  292. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +2 -611
  293. package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +2 -866
  294. package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +2 -611
  295. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +2 -866
  296. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +2 -611
  297. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +2 -866
  298. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +2 -611
  299. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +2 -866
  300. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +2 -611
  301. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +2 -866
  302. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +2 -611
  303. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +2 -866
  304. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +2 -611
  305. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +2 -866
  306. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +2 -611
  307. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +2 -866
  308. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +2 -611
  309. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +2 -866
  310. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +2 -611
  311. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +2 -866
  312. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +2 -611
  313. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +2 -866
  314. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +2 -611
  315. package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +2 -866
  316. package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +2 -611
  317. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +2 -866
  318. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +2 -611
  319. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +2 -866
  320. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +2 -611
  321. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +2 -866
  322. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +2 -611
  323. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +2 -866
  324. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +2 -611
  325. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +2 -866
  326. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +2 -611
  327. package/src/sap/f/thirdparty/_dynamics/mk.js +2 -0
  328. package/src/sap/f/thirdparty/_dynamics/ms.js +2 -0
  329. package/src/sap/f/thirdparty/_dynamics/nb.js +2 -0
  330. package/src/sap/f/thirdparty/_dynamics/nl.js +2 -0
  331. package/src/sap/f/thirdparty/_dynamics/nl_BE.js +2 -0
  332. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +2 -7
  333. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +2 -7
  334. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +2 -7
  335. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +2 -7
  336. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +2 -7
  337. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +2 -7
  338. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +2 -7
  339. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +2 -7
  340. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +2 -7
  341. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +2 -7
  342. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +2 -7
  343. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +2 -7
  344. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +2 -7
  345. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +2 -7
  346. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +2 -7
  347. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +2 -7
  348. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +2 -7
  349. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +2 -7
  350. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +2 -7
  351. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +2 -7
  352. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +2 -7
  353. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +2 -7
  354. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +2 -7
  355. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +2 -7
  356. package/src/sap/f/thirdparty/_dynamics/pl.js +2 -0
  357. package/src/sap/f/thirdparty/_dynamics/pt.js +2 -0
  358. package/src/sap/f/thirdparty/_dynamics/pt_PT.js +2 -0
  359. package/src/sap/f/thirdparty/_dynamics/ro.js +2 -0
  360. package/src/sap/f/thirdparty/_dynamics/ru.js +2 -0
  361. package/src/sap/f/thirdparty/_dynamics/ru_UA.js +2 -0
  362. package/src/sap/f/thirdparty/_dynamics/sk.js +2 -0
  363. package/src/sap/f/thirdparty/_dynamics/sl.js +2 -0
  364. package/src/sap/f/thirdparty/_dynamics/sr.js +2 -0
  365. package/src/sap/f/thirdparty/_dynamics/sr_Latn.js +2 -0
  366. package/src/sap/f/thirdparty/_dynamics/sv.js +2 -0
  367. package/src/sap/f/thirdparty/_dynamics/th.js +2 -0
  368. package/src/sap/f/thirdparty/_dynamics/tr.js +2 -0
  369. package/src/sap/f/thirdparty/_dynamics/uk.js +2 -0
  370. package/src/sap/f/thirdparty/_dynamics/vi.js +2 -0
  371. package/src/sap/f/thirdparty/_dynamics/zh_CN.js +2 -0
  372. package/src/sap/f/thirdparty/_dynamics/zh_HK.js +2 -0
  373. package/src/sap/f/thirdparty/_dynamics/zh_SG.js +2 -0
  374. package/src/sap/f/thirdparty/_dynamics/zh_TW.js +2 -0
  375. package/src/sap/f/thirdparty/encodeXML.js +6 -81
  376. package/src/sap/f/thirdparty/event-strict.js +2 -7
  377. package/src/sap/f/thirdparty/generateHighlightedMarkup.js +2 -9
  378. package/src/sap/f/thirdparty/i18n-defaults.js +2 -119
  379. package/src/sap/f/thirdparty/i18n-defaults2.js +2 -159
  380. package/src/sap/f/thirdparty/information.js +2 -100
  381. package/src/sap/f/thirdparty/information2.js +2 -13
  382. package/src/sap/f/thirdparty/overflow.js +2 -25
  383. package/src/sap/f/thirdparty/parameters-bundle.css.js +2 -11
  384. package/src/sap/f/thirdparty/parameters-bundle.css2.js +2 -44
  385. package/src/sap/f/thirdparty/parameters-bundle.css3.js +2 -8
  386. package/src/sap/f/thirdparty/query.js +2 -7
  387. package/src/sap/f/thirdparty/slim-arrow-down.js +2 -44
  388. package/src/sap/f/thirdparty/sys-enter-2.js +2 -7
  389. package/src/sap/f/thirdparty/toLowercaseEnumValue.js +2 -7
  390. package/src/sap/f/thirdparty/ui5/webcomponents_fiori/dist/illustrations/UnableToUpload.js +2 -0
  391. package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +2 -26
  392. package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +2 -26
  393. package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +2 -26
  394. package/src/sap/f/thirdparty/webcomponents-base.js +2 -7
  395. package/src/sap/f/thirdparty/webcomponents-fiori.js +2 -5
  396. package/src/sap/f/thirdparty/webcomponents.js +51 -4589
  397. package/src/sap/f/thirdparty/willShowContent.js +2 -7
  398. package/ui5-build.yaml +1 -0
  399. package/src/sap/f/thirdparty/ListItemCustom.js +0 -1689
@@ -1,762 +1,2 @@
1
- sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/information', 'sap/f/thirdparty/ListItemCustom', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/ResponsivePopover', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/List', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, parametersBundle_css, eventStrict, parametersBundle_css$1, Icons, information, ListItemCustom, ListItemBase, ResponsivePopover, Button, List, BusyIndicator, Icon, i18nDefaults) { 'use strict';
2
-
3
- const name$1 = "nav-back";
4
- const pathData$1 = "M375.5 426q9 9 9 22.5t-9 22.5q-10 10-23 10t-23-10l-192-192q-9-9-9-22.5t9-22.5l191-193q10-10 23-10t22 10q10 9 10 22t-10 23l-157 159q-5 5-5 11.5t5 11.5z";
5
- const ltr$1 = false;
6
- const accData$1 = information.ICON_NAV_BACK;
7
- const collection$1 = "SAP-icons-v4";
8
- const packageName$1 = "@ui5/webcomponents-icons";
9
-
10
- Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, accData: accData$1, collection: collection$1, packageName: packageName$1 });
11
-
12
- const name = "nav-back";
13
- const pathData = "M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z";
14
- const ltr = false;
15
- const accData = information.ICON_NAV_BACK;
16
- const collection = "SAP-icons-v5";
17
- const packageName = "@ui5/webcomponents-icons";
18
-
19
- Icons.y(name, { pathData, ltr, accData, collection, packageName });
20
-
21
- var navBackIcon = "nav-back";
22
-
23
- /**
24
- * Menu item group check modes.
25
- * @since 2.12.0
26
- * @public
27
- */
28
- var MenuItemGroupCheckMode;
29
- (function (MenuItemGroupCheckMode) {
30
- /**
31
- * default type (items in a group cannot be checked)
32
- * @public
33
- */
34
- MenuItemGroupCheckMode["None"] = "None";
35
- /**
36
- * Single item check mode (only one item in a group can be checked at a time)
37
- * @public
38
- */
39
- MenuItemGroupCheckMode["Single"] = "Single";
40
- /**
41
- * Multiple items check mode (multiple items in a group can be checked at a time)
42
- * @public
43
- */
44
- MenuItemGroupCheckMode["Multiple"] = "Multiple";
45
- })(MenuItemGroupCheckMode || (MenuItemGroupCheckMode = {}));
46
- var MenuItemGroupCheckMode$1 = MenuItemGroupCheckMode;
47
-
48
- function MenuSeparatorTemplate() {
49
- return (parametersBundle_css.jsx(ListItemCustom.ListItemCustom, { class: "ui5-menu-separator", _forcedAccessibleRole: "separator", disabled: true }));
50
- }
51
-
52
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
53
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
54
- var menuSeparatorCss = `:host{border-top:.0625rem solid var(--sapGroup_ContentBorderColor);min-height:.125rem}.ui5-menu-separator{border:inherit;min-height:inherit;background:inherit;opacity:1}
55
- `;
56
-
57
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
58
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
59
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
60
- 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;
61
- return c > 3 && r && Object.defineProperty(target, key, r), r;
62
- };
63
- /**
64
- * @class
65
- * The `ui5-menu-separator` represents a horizontal line to separate menu items inside a `ui5-menu`.
66
- * @constructor
67
- * @extends ListItemBase
68
- * @implements {IMenuItem}
69
- * @public
70
- * @since 2.0.0
71
- */
72
- let MenuSeparator = class MenuSeparator extends ListItemBase.ListItemBase {
73
- get isSeparator() {
74
- return true;
75
- }
76
- get classes() {
77
- return {
78
- main: {
79
- "ui5-menu-separator": true,
80
- },
81
- };
82
- }
83
- /**
84
- * @override
85
- */
86
- get _focusable() {
87
- return false;
88
- }
89
- /**
90
- * @override
91
- */
92
- get _pressable() {
93
- return false;
94
- }
95
- };
96
- MenuSeparator = __decorate$2([
97
- webcomponentsBase.m({
98
- tag: "ui5-menu-separator",
99
- renderer: parametersBundle_css.y,
100
- styles: [menuSeparatorCss],
101
- template: MenuSeparatorTemplate,
102
- })
103
- ], MenuSeparator);
104
- const isInstanceOfMenuSeparator = (object) => {
105
- return "isSeparator" in object;
106
- };
107
- MenuSeparator.define();
108
-
109
- function MenuItemGroupTemplate() {
110
- return (parametersBundle_css.jsx("div", { role: "group", "aria-label": this.ariaLabelText, "onui5-check": this._handleItemCheck, children: parametersBundle_css.jsx("slot", {}) }));
111
- }
112
-
113
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
114
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
115
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
116
- 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;
117
- return c > 3 && r && Object.defineProperty(target, key, r), r;
118
- };
119
- var MenuItemGroup_1;
120
- /**
121
- * @class
122
- *
123
- * ### Overview
124
- *
125
- * The `ui5-menu-item-group` component represents a group of items designed for use inside a `ui5-menu`.
126
- * Items belonging to the same group should be wrapped by a `ui5-menu-item-group`.
127
- * Each group can have an `checkMode` property, which defines the check mode for the items within the group.
128
- * The possible values for `checkMode` are:
129
- * - 'None' (default) - no items can be checked
130
- * - 'Single' - Only one item can be checked at a time
131
- * - 'Multiple' - Multiple items can be checked simultaneously
132
- *
133
- * **Note:** If the `checkMode` property is set to 'Single', only one item can remain checked at any given time.
134
- * If multiple items are marked as checked, the last checked item will take precedence.
135
- *
136
- * ### Usage
137
- *
138
- * `ui5-menu-item-group` represents a collection of `ui5-menu-item` components that can have the same check mode.
139
- * The items are addeed to the group's `items` slot.
140
- *
141
- * ### ES6 Module Import
142
- *
143
- * `import "@ui5/webcomponents/dist/MenuItemGroup.js";`
144
- * @constructor
145
- * @extends UI5Element
146
- * @implements {IMenuItem}
147
- * @since 2.12.0
148
- * @public
149
- */
150
- let MenuItemGroup = MenuItemGroup_1 = class MenuItemGroup extends webcomponentsBase.b {
151
- constructor() {
152
- super(...arguments);
153
- /**
154
- * Defines the component's check mode.
155
- * @default "None"
156
- * @public
157
- */
158
- this.checkMode = "None";
159
- }
160
- get ariaLabelText() {
161
- switch (this.checkMode) {
162
- case MenuItemGroupCheckMode$1.None:
163
- return MenuItemGroup_1.i18nBundle.getText(i18nDefaults.MENU_ITEM_GROUP_NONE_ACCESSIBLE_NAME);
164
- case MenuItemGroupCheckMode$1.Single:
165
- return MenuItemGroup_1.i18nBundle.getText(i18nDefaults.MENU_ITEM_GROUP_SINGLE_ACCESSIBLE_NAME);
166
- case MenuItemGroupCheckMode$1.Multiple:
167
- return MenuItemGroup_1.i18nBundle.getText(i18nDefaults.MENU_ITEM_GROUP_MULTI_ACCESSIBLE_NAME);
168
- default:
169
- return undefined;
170
- }
171
- }
172
- get isGroup() {
173
- return true;
174
- }
175
- get _menuItems() {
176
- return this.items.filter(isInstanceOfMenuItem);
177
- }
178
- onBeforeRendering() {
179
- this._updateItemsCheckMode();
180
- if (this.checkMode === MenuItemGroupCheckMode$1.Single) {
181
- this._ensureSingleItemIsChecked();
182
- }
183
- }
184
- /**
185
- * Sets <code>_checkMode</code> property of all menu items in the group.
186
- * @private
187
- */
188
- _updateItemsCheckMode() {
189
- this._menuItems.forEach((item) => {
190
- item._checkMode = this.checkMode;
191
- });
192
- }
193
- /**
194
- * Sets <code>checked</code> property of all items in the group to <code>false</code>.
195
- * @private
196
- */
197
- _clearCheckedItems() {
198
- this._menuItems.forEach((item) => { item.checked = false; });
199
- }
200
- /**
201
- * Ensures that only one item can remain checked at any given time. If multiple items are marked as checked,
202
- * the last checked item will take precedence.
203
- * @private
204
- */
205
- _ensureSingleItemIsChecked() {
206
- const lastCheckedItem = this._menuItems.findLast((item) => item.checked);
207
- this._clearCheckedItems();
208
- if (lastCheckedItem) {
209
- lastCheckedItem.checked = true;
210
- }
211
- }
212
- /**
213
- * Handles the checking of an item in the group and unchecks other items if the item check mode is Single.
214
- * @private
215
- */
216
- _handleItemCheck(e) {
217
- const clickedItem = e.target;
218
- const isChecked = clickedItem.checked;
219
- if (this.checkMode === MenuItemGroupCheckMode$1.Single) {
220
- this._clearCheckedItems();
221
- clickedItem.checked = isChecked;
222
- }
223
- }
224
- };
225
- __decorate$1([
226
- webcomponentsBase.s()
227
- ], MenuItemGroup.prototype, "checkMode", void 0);
228
- __decorate$1([
229
- webcomponentsBase.d({ "default": true, type: HTMLElement, invalidateOnChildChange: true })
230
- ], MenuItemGroup.prototype, "items", void 0);
231
- __decorate$1([
232
- parametersBundle_css$1.i("@ui5/webcomponents")
233
- ], MenuItemGroup, "i18nBundle", void 0);
234
- MenuItemGroup = MenuItemGroup_1 = __decorate$1([
235
- webcomponentsBase.m({
236
- tag: "ui5-menu-item-group",
237
- renderer: parametersBundle_css.y,
238
- template: MenuItemGroupTemplate,
239
- })
240
- ], MenuItemGroup);
241
- const isInstanceOfMenuItemGroup = (object) => {
242
- return "isGroup" in object;
243
- };
244
- MenuItemGroup.define();
245
-
246
- const predefinedHooks = {
247
- listItemContent,
248
- iconBegin,
249
- };
250
- function MenuItemTemplate(hooks) {
251
- const currentHooks = { ...predefinedHooks, ...hooks };
252
- return parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [ListItemCustom.ListItemTemplate.call(this, currentHooks), listItemPostContent.call(this)] });
253
- }
254
- function listItemContent() {
255
- return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [this.text && parametersBundle_css.jsx("div", { class: "ui5-menu-item-text", children: this.text }), rightContent.call(this), checkmarkContent.call(this)] }));
256
- }
257
- function checkmarkContent() {
258
- return !this._markChecked ? "" : (parametersBundle_css.jsx("div", { class: "ui5-menu-item-checked", children: parametersBundle_css.jsx(Icon.Icon, { name: ListItemCustom.checkIcon, class: "ui5-menu-item-icon-checked" }) }));
259
- }
260
- function rightContent() {
261
- switch (true) {
262
- case this.hasSubmenu:
263
- return (parametersBundle_css.jsx("div", { class: "ui5-menu-item-submenu-icon", children: parametersBundle_css.jsx(Icon.Icon, { part: "subicon", name: ListItemCustom.slimArrowRight, class: "ui5-menu-item-icon-end" }) }));
264
- case this.hasEndContent:
265
- return parametersBundle_css.jsx("slot", { name: "endContent", onKeyDown: this._endContentKeyDown });
266
- case !!this.additionalText:
267
- return (parametersBundle_css.jsx("span", { part: "additional-text", class: "ui5-li-additional-text", "aria-hidden": this._accInfo.ariaHidden, children: this.additionalText }));
268
- }
269
- }
270
- function iconBegin() {
271
- if (this.hasIcon) {
272
- return parametersBundle_css.jsx(Icon.Icon, { class: "ui5-li-icon", name: this.icon });
273
- }
274
- if (this._siblingsWithIcon) {
275
- return parametersBundle_css.jsx("div", { class: "ui5-menu-item-dummy-icon" });
276
- }
277
- }
278
- function listItemPostContent() {
279
- return this.hasSubmenu && parametersBundle_css.jsxs(ResponsivePopover.ResponsivePopover, { id: `${this._id}-menu-rp`, class: "ui5-menu-rp ui5-menu-rp-sub-menu", preventInitialFocus: true, preventFocusRestore: true, hideArrow: true, allowTargetOverlap: true, placement: this.placement, verticalAlign: "Top", accessibleName: this.acessibleNameText, onBeforeOpen: this._beforePopoverOpen, onOpen: this._afterPopoverOpen, onBeforeClose: this._beforePopoverClose, onClose: this._afterPopoverClose, children: [this.isPhone && (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-menu-dialog-header", children: [parametersBundle_css.jsx(Button.Button, { icon: navBackIcon, class: "ui5-menu-back-button", design: "Transparent", "aria-label": this.labelBack, onClick: this._close }), parametersBundle_css.jsx("div", { class: "ui5-menu-dialog-title", children: parametersBundle_css.jsx("div", { children: this.text }) }), parametersBundle_css.jsx(Button.Button, { icon: information.decline, design: "Transparent", "aria-label": this.labelClose, onClick: this._closeAll })] }) })), parametersBundle_css.jsx("div", { id: `${this._id}-menu-main`, children: this.items.length ? (parametersBundle_css.jsx(List.List, { id: `${this._id}-menu-list`, selectionMode: "None", separators: "None", accessibleRole: "Menu", loading: this.loading, loadingDelay: this.loadingDelay, onMouseOver: this._itemMouseOver, onKeyDown: this._itemKeyDown, onKeyUp: this._itemKeyUp, "onui5-close-menu": this._close, "onui5-exit-end-content": this._navigateOutOfEndContent, children: parametersBundle_css.jsx("slot", {}) })) : this.loading && parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-menu-busy-indicator`, delay: this.loadingDelay, class: "ui5-menu-busy-indicator", active: true }) })] });
280
- }
281
-
282
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
283
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
284
- var menuItemCss = `:host{line-height:initial}::slotted([ui5-menu-item]){line-height:inherit}.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v2-15-0_menu_popover_border_radius)}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v2-15-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem;font-family:var(--sapFontHeaderFamily)}.ui5-menu-dialog-title>h1{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--sapFontHeader5Size)}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-rp.ui5-menu-rp-sub-menu{margin-top:.25rem;margin-inline:var(--_ui5-v2-15-0_menu_submenu_margin_offset)}.ui5-menu-rp.ui5-menu-rp-sub-menu[actual-placement=Start]{margin-top:.25rem;margin-inline:var(--_ui5-v2-15-0_menu_submenu_placement_type_left_margin_offset)}:host([disabled]){pointer-events:initial;opacity:initial}:host([disabled])::part(content){opacity:var(--_ui5-v2-15-0-listitembase_disabled_opacity)}:host([disabled][actionable]:not([active]):not([selected]):hover),:host([disabled][active][actionable]){background:var(--ui5-v2-15-0-listitem-background-color)}:host([active]:not([disabled])),:host([active]:not([disabled])):hover{background-color:var(--sapList_Active_Background)}:host(:not([active]):not([selected]):not([disabled]):hover){background-color:var(--sapList_Hover_Background)}:host([disabled][active][actionable]) .ui5-li-root .ui5-li-icon{color:var(--sapContent_NonInteractiveIconColor)}:host([active]:not([disabled]))::part(content),:host([active]:not([disabled]))::part(additional-text),:host([active]:not([disabled])) .ui5-li-root .ui5-li-icon{color:var(--sapList_Active_TextColor)}:host([focused]:not([active]):not([disabled])){background-color:var(--sapList_Hover_Background)}:host::part(additional-text){margin:unset;margin-inline-start:1rem;color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;display:inline-block}.ui5-menu-item-dummy-icon{visibility:hidden}:host::part(title){font-size:var(--sapFontSize);padding-top:.125rem}:host([icon]:not([is-phone]))::part(title),:host([is-phone]:not([icon=""]))::part(title){padding-top:0}:host(:not([is-phone]))::part(native-li){user-select:none;padding:var(--_ui5-v2-15-0_menu_item_padding)}:host::part(content){padding-inline-end:.25rem}.ui5-menu-item-submenu-icon{min-width:var(--_ui5-v2-15-0_list_item_icon_size);min-height:var(--_ui5-v2-15-0_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5-v2-15-0_menu_item_submenu_icon_right)}.ui5-menu-item-submenu-icon .ui5-menu-item-icon-end{color:var(--sapContent_NonInteractiveIconColor)}.ui5-menu-item-dummy-icon{min-width:var(--_ui5-v2-15-0_list_item_icon_size);min-height:var(--_ui5-v2-15-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.75rem;pointer-events:none}.ui5-menu-item-checked{padding-inline-start:.5rem;padding-inline-end:0;font-weight:400;text-align:center}.ui5-menu-item-icon-checked{color:var(--sapContent_BusyColor);padding-top:.25rem}
285
- `;
286
-
287
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
288
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
289
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
290
- 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;
291
- return c > 3 && r && Object.defineProperty(target, key, r), r;
292
- };
293
- var MenuItem_1;
294
- /**
295
- * @class
296
- *
297
- * ### Overview
298
- *
299
- * `ui5-menu-item` is the item to use inside a `ui5-menu`.
300
- * An arbitrary hierarchy structure can be represented by recursively nesting menu items.
301
- *
302
- * ### Usage
303
- *
304
- * `ui5-menu-item` represents a node in a `ui5-menu`. The menu itself is rendered as a list,
305
- * and each `ui5-menu-item` is represented by a list item in that list. Therefore, you should only use
306
- * `ui5-menu-item` directly in your apps. The `ui5-li` list item is internal for the list, and not intended for public use.
307
- *
308
- * ### ES6 Module Import
309
- *
310
- * `import "@ui5/webcomponents/dist/MenuItem.js";`
311
- * @constructor
312
- * @extends ListItem
313
- * @implements {IMenuItem}
314
- * @since 1.3.0
315
- * @public
316
- */
317
- let MenuItem = MenuItem_1 = class MenuItem extends ListItemCustom.ListItem {
318
- constructor() {
319
- super();
320
- /**
321
- * Defines whether menu item is in disabled state.
322
- *
323
- * **Note:** A disabled menu item is noninteractive.
324
- * @default false
325
- * @public
326
- */
327
- this.disabled = false;
328
- /**
329
- * Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding menu popover.
330
- *
331
- * **Note:** If set to `true` a busy indicator component will be displayed into the related one to the current menu item sub-menu popover.
332
- * @default false
333
- * @public
334
- * @since 1.13.0
335
- */
336
- this.loading = false;
337
- /**
338
- * Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding menu popover.
339
- * @default 1000
340
- * @public
341
- * @since 1.13.0
342
- */
343
- this.loadingDelay = 1000;
344
- /**
345
- * Defines whether menu item is in checked state.
346
- *
347
- * **Note:** checked state is only taken into account when menu item is added to menu item group
348
- * with `checkMode` other than `None`.
349
- *
350
- * **Note:** A checked menu item has a checkmark displayed at its end.
351
- * @default false
352
- * @public
353
- * @since 2.12.0
354
- */
355
- this.checked = false;
356
- /**
357
- * Indicates whether any of the element siblings have icon.
358
- */
359
- this._siblingsWithIcon = false;
360
- /**
361
- * Defines the component's check mode.
362
- * @default "None"
363
- * @private
364
- */
365
- this._checkMode = "None";
366
- this._shiftPressed = false;
367
- this._itemNavigation = new webcomponentsBase.f$1(this, {
368
- navigationMode: webcomponentsBase.r.Horizontal,
369
- behavior: webcomponentsBase.l.Static,
370
- getItemsCallback: () => this._navigableItems,
371
- });
372
- }
373
- get _list() {
374
- return this.shadowRoot && this.shadowRoot.querySelector("[ui5-list]");
375
- }
376
- get _navigableItems() {
377
- return [...this.endContent].filter(item => {
378
- return item.hasAttribute("ui5-button")
379
- || item.hasAttribute("ui5-link")
380
- || (item.hasAttribute("ui5-icon") && item.getAttribute("mode") === "Interactive");
381
- });
382
- }
383
- get _isCheckable() {
384
- return this._checkMode !== MenuItemGroupCheckMode$1.None;
385
- }
386
- _navigateToEndContent(shouldNavigateToPreviousItem) {
387
- const navigatableItems = this._navigableItems;
388
- const item = shouldNavigateToPreviousItem
389
- ? navigatableItems[navigatableItems.length - 1]
390
- : navigatableItems[0];
391
- if (item) {
392
- this._itemNavigation.setCurrentItem(item);
393
- this._itemNavigation._focusCurrentItem();
394
- }
395
- }
396
- get placement() {
397
- return this.isRtl ? "Start" : "End";
398
- }
399
- get isRtl() {
400
- return this.effectiveDir === "rtl";
401
- }
402
- get hasSubmenu() {
403
- return !!(this.items.length || this.loading) && !this.disabled;
404
- }
405
- get hasEndContent() {
406
- return !!(this.endContent.length);
407
- }
408
- get hasIcon() {
409
- return !!this.icon;
410
- }
411
- get isSubMenuOpen() {
412
- return this._popover?.open;
413
- }
414
- get menuHeaderTextPhone() {
415
- return this.text;
416
- }
417
- get isPhone() {
418
- return Icons.d();
419
- }
420
- get labelBack() {
421
- return MenuItem_1.i18nBundle.getText(i18nDefaults.MENU_BACK_BUTTON_ARIA_LABEL);
422
- }
423
- get labelClose() {
424
- return MenuItem_1.i18nBundle.getText(i18nDefaults.MENU_CLOSE_BUTTON_ARIA_LABEL);
425
- }
426
- get acessibleNameText() {
427
- return MenuItem_1.i18nBundle.getText(i18nDefaults.MENU_POPOVER_ACCESSIBLE_NAME);
428
- }
429
- onBeforeRendering() {
430
- super.onBeforeRendering();
431
- const siblingsWithIcon = this._allMenuItems.some(menuItem => !!menuItem.icon);
432
- this._setupItemNavigation();
433
- this._allMenuItems.forEach(item => {
434
- item._siblingsWithIcon = siblingsWithIcon;
435
- });
436
- }
437
- async focus(focusOptions) {
438
- await Icons.f$1();
439
- if (this.hasSubmenu && this.isSubMenuOpen) {
440
- const menuItems = this._allMenuItems;
441
- return menuItems[0] && menuItems[0].focus(focusOptions);
442
- }
443
- return super.focus(focusOptions);
444
- }
445
- get _focusable() {
446
- return true;
447
- }
448
- get _role() {
449
- switch (this._checkMode) {
450
- case MenuItemGroupCheckMode$1.Single:
451
- return "menuitemradio";
452
- case MenuItemGroupCheckMode$1.Multiple:
453
- return "menuitemcheckbox";
454
- default:
455
- return "menuitem";
456
- }
457
- }
458
- get _accInfo() {
459
- const accInfoSettings = {
460
- role: this.accessibilityAttributes.role || this._role,
461
- ariaHaspopup: this.hasSubmenu ? "menu" : undefined,
462
- ariaKeyShortcuts: this.accessibilityAttributes.ariaKeyShortcuts,
463
- ariaExpanded: this.hasSubmenu ? this.isSubMenuOpen : undefined,
464
- ariaHidden: !!this.additionalText && !!this.accessibilityAttributes.ariaKeyShortcuts ? true : undefined,
465
- ariaChecked: this._markChecked ? true : undefined,
466
- };
467
- return { ...super._accInfo, ...accInfoSettings };
468
- }
469
- get _popover() {
470
- return this.shadowRoot && this.shadowRoot.querySelector("[ui5-responsive-popover]");
471
- }
472
- get _markChecked() {
473
- return !this.hasSubmenu && this.checked && this._checkMode !== MenuItemGroupCheckMode$1.None;
474
- }
475
- /** Returns menu item groups */
476
- get _menuItemGroups() {
477
- return this.items.filter(isInstanceOfMenuItemGroup);
478
- }
479
- /** Returns menu items */
480
- get _menuItems() {
481
- return this.items.filter(isInstanceOfMenuItem);
482
- }
483
- /** Returns all menu items (including those in groups */
484
- get _allMenuItems() {
485
- const items = [];
486
- this.items.forEach(item => {
487
- if (isInstanceOfMenuItemGroup(item)) {
488
- items.push(...item._menuItems);
489
- }
490
- else if (!isInstanceOfMenuSeparator(item)) {
491
- items.push(item);
492
- }
493
- });
494
- return items;
495
- }
496
- /** Returns menu items included in the ItemNavigation */
497
- get _navigatableMenuItems() {
498
- const items = [];
499
- const slottedItems = this.getSlottedNodes("items");
500
- slottedItems.forEach(item => {
501
- if (isInstanceOfMenuItemGroup(item)) {
502
- const groupItems = item.getSlottedNodes("items");
503
- items.push(...groupItems);
504
- }
505
- else if (!isInstanceOfMenuSeparator(item)) {
506
- items.push(item);
507
- }
508
- });
509
- return items;
510
- }
511
- _setupItemNavigation() {
512
- if (this._list) {
513
- this._list._itemNavigation._getItems = () => this._navigatableMenuItems;
514
- }
515
- }
516
- _closeOtherSubMenus(item) {
517
- const menuItems = this._allMenuItems;
518
- if (!menuItems.includes(item)) {
519
- return;
520
- }
521
- menuItems.forEach(menuItem => {
522
- if (menuItem !== item) {
523
- menuItem._close();
524
- }
525
- });
526
- }
527
- _itemMouseOver(e) {
528
- if (!Icons.f()) {
529
- return;
530
- }
531
- const item = e.target;
532
- if (!isInstanceOfMenuItem(item)) {
533
- return;
534
- }
535
- item.focus();
536
- this._closeOtherSubMenus(item);
537
- }
538
- _isSpace(e) {
539
- this._shiftPressed = this._isCheckable && webcomponentsBase.K(e);
540
- return webcomponentsBase.A(e) || webcomponentsBase.K(e);
541
- }
542
- _isEnter(e) {
543
- this._shiftPressed = this._isCheckable && webcomponentsBase.i(e);
544
- return webcomponentsBase.b$1(e) || webcomponentsBase.i(e);
545
- }
546
- _onclick(e) {
547
- this._shiftPressed = this._isCheckable && e.shiftKey;
548
- super._onclick(e);
549
- }
550
- _itemKeyDown(e) {
551
- const item = e.target;
552
- const itemInMenuItems = this._allMenuItems.includes(item);
553
- const isTabNextPrevious = webcomponentsBase.x(e) || webcomponentsBase.V(e);
554
- const shouldCloseMenu = this.isRtl ? webcomponentsBase.R(e) : webcomponentsBase.D(e);
555
- if (itemInMenuItems && (isTabNextPrevious || shouldCloseMenu)) {
556
- this._close();
557
- this.focus();
558
- e.stopPropagation();
559
- }
560
- }
561
- _itemKeyUp(e) {
562
- if (webcomponentsBase.Ko(e)) {
563
- this._shiftPressed = false;
564
- }
565
- }
566
- _endContentKeyDown(e) {
567
- const shouldNavigateOutOfEndContent = webcomponentsBase.P(e) || webcomponentsBase._(e);
568
- if (shouldNavigateOutOfEndContent) {
569
- this.fireDecoratorEvent("exit-end-content", { shouldNavigateToNextItem: webcomponentsBase._(e) });
570
- }
571
- }
572
- _navigateOutOfEndContent(e) {
573
- const item = e.target;
574
- const shouldNavigateToNextItem = e.detail.shouldNavigateToNextItem;
575
- const menuItems = this._allMenuItems;
576
- const itemIndex = menuItems.indexOf(item);
577
- if (itemIndex > -1) {
578
- const nextItem = shouldNavigateToNextItem ? menuItems[itemIndex + 1] : menuItems[itemIndex - 1];
579
- const itemToFocus = nextItem || menuItems[itemIndex];
580
- itemToFocus?.focus();
581
- e.stopPropagation();
582
- }
583
- }
584
- _closeAll() {
585
- if (this._popover) {
586
- this._popover.open = false;
587
- }
588
- this.selected = false;
589
- this.fireDecoratorEvent("close-menu");
590
- }
591
- _close() {
592
- if (this._popover) {
593
- this._popover.open = false;
594
- this._allMenuItems.forEach(item => item._close());
595
- }
596
- this.selected = false;
597
- }
598
- _beforePopoverOpen(e) {
599
- const prevented = !this.fireDecoratorEvent("before-open", {});
600
- if (prevented) {
601
- e.preventDefault();
602
- }
603
- }
604
- _afterPopoverOpen() {
605
- this._allMenuItems[0]?.focus();
606
- this.fireDecoratorEvent("open");
607
- }
608
- _beforePopoverClose(e) {
609
- const prevented = !this.fireDecoratorEvent("before-close", { escPressed: e.detail.escPressed });
610
- if (prevented) {
611
- e.preventDefault();
612
- return;
613
- }
614
- this.selected = false;
615
- if (e.detail.escPressed) {
616
- this.focus();
617
- if (Icons.d()) {
618
- this.fireDecoratorEvent("close-menu");
619
- }
620
- }
621
- }
622
- _afterPopoverClose() {
623
- this.fireDecoratorEvent("close");
624
- }
625
- get isMenuItem() {
626
- return true;
627
- }
628
- _updateCheckedState() {
629
- if (this._checkMode === MenuItemGroupCheckMode$1.None) {
630
- return;
631
- }
632
- const newState = !this.checked;
633
- this.checked = newState;
634
- this.fireDecoratorEvent("check");
635
- }
636
- };
637
- __decorate([
638
- webcomponentsBase.s()
639
- ], MenuItem.prototype, "text", void 0);
640
- __decorate([
641
- webcomponentsBase.s()
642
- ], MenuItem.prototype, "additionalText", void 0);
643
- __decorate([
644
- webcomponentsBase.s()
645
- ], MenuItem.prototype, "icon", void 0);
646
- __decorate([
647
- webcomponentsBase.s({ type: Boolean })
648
- ], MenuItem.prototype, "disabled", void 0);
649
- __decorate([
650
- webcomponentsBase.s({ type: Boolean })
651
- ], MenuItem.prototype, "loading", void 0);
652
- __decorate([
653
- webcomponentsBase.s({ type: Number })
654
- ], MenuItem.prototype, "loadingDelay", void 0);
655
- __decorate([
656
- webcomponentsBase.s()
657
- ], MenuItem.prototype, "accessibleName", void 0);
658
- __decorate([
659
- webcomponentsBase.s()
660
- ], MenuItem.prototype, "tooltip", void 0);
661
- __decorate([
662
- webcomponentsBase.s({ type: Boolean })
663
- ], MenuItem.prototype, "checked", void 0);
664
- __decorate([
665
- webcomponentsBase.s({ type: Object })
666
- ], MenuItem.prototype, "accessibilityAttributes", void 0);
667
- __decorate([
668
- webcomponentsBase.s({ type: Boolean, noAttribute: true })
669
- ], MenuItem.prototype, "_siblingsWithIcon", void 0);
670
- __decorate([
671
- webcomponentsBase.s()
672
- ], MenuItem.prototype, "_checkMode", void 0);
673
- __decorate([
674
- webcomponentsBase.d({ "default": true, type: HTMLElement, invalidateOnChildChange: true })
675
- ], MenuItem.prototype, "items", void 0);
676
- __decorate([
677
- webcomponentsBase.d({ type: HTMLElement })
678
- ], MenuItem.prototype, "endContent", void 0);
679
- __decorate([
680
- parametersBundle_css$1.i("@ui5/webcomponents")
681
- ], MenuItem, "i18nBundle", void 0);
682
- MenuItem = MenuItem_1 = __decorate([
683
- webcomponentsBase.m({
684
- tag: "ui5-menu-item",
685
- renderer: parametersBundle_css.y,
686
- template: MenuItemTemplate,
687
- styles: [ListItemCustom.ListItem.styles, menuItemCss],
688
- })
689
- /**
690
- * Fired before the menu is opened. This event can be cancelled, which will prevent the menu from opening.
691
- *
692
- * **Note:** Since 1.14.0 the event is also fired before a sub-menu opens.
693
- * @public
694
- * @since 1.10.0
695
- * @param { HTMLElement } item The menu item that triggers opening of the sub-menu or undefined when fired upon root menu opening.
696
- */
697
- ,
698
- eventStrict.l("before-open", {
699
- cancelable: true,
700
- })
701
- /**
702
- * Fired after the menu is opened.
703
- * @public
704
- */
705
- ,
706
- eventStrict.l("open")
707
- /**
708
- * Fired when the menu is being closed.
709
- * @private
710
- */
711
- ,
712
- eventStrict.l("close-menu", {
713
- bubbles: true,
714
- })
715
- /**
716
- * Fired when navigating out of end-content.
717
- * @private
718
- */
719
- ,
720
- eventStrict.l("exit-end-content", {
721
- bubbles: true,
722
- })
723
- /**
724
- * Fired before the menu is closed. This event can be cancelled, which will prevent the menu from closing.
725
- * @public
726
- * @param {boolean} escPressed Indicates that `ESC` key has triggered the event.
727
- * @since 1.10.0
728
- */
729
- ,
730
- eventStrict.l("before-close", {
731
- cancelable: true,
732
- })
733
- /**
734
- * Fired after the menu is closed.
735
- * @public
736
- * @since 1.10.0
737
- */
738
- ,
739
- eventStrict.l("close")
740
- /**
741
- * Fired when an item is checked or unchecked.
742
- * @public
743
- * @since 2.12.0
744
- */
745
- ,
746
- eventStrict.l("check", {
747
- bubbles: true,
748
- })
749
- ], MenuItem);
750
- MenuItem.define();
751
- const isInstanceOfMenuItem = (object) => {
752
- return "isMenuItem" in object;
753
- };
754
- var MenuItem$1 = MenuItem;
755
-
756
- exports.MenuItem = MenuItem$1;
757
- exports.MenuItemTemplate = MenuItemTemplate;
758
- exports.isInstanceOfMenuItem = isInstanceOfMenuItem;
759
- exports.isInstanceOfMenuItemGroup = isInstanceOfMenuItemGroup;
760
- exports.isInstanceOfMenuSeparator = isInstanceOfMenuSeparator;
761
-
762
- }));
1
+ sap.ui.define(["exports","sap/f/thirdparty/webcomponents","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/event-strict","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/Theme","sap/f/thirdparty/Icons","sap/f/thirdparty/information","sap/f/thirdparty/FocusableElements","sap/f/thirdparty/ListItemBase","sap/f/thirdparty/List","sap/f/thirdparty/i18n-defaults2","sap/f/thirdparty/ListItemAdditionalText.css","sap/f/thirdparty/Button2","sap/f/thirdparty/Icon","sap/f/thirdparty/ValueState","sap/f/thirdparty/AccessibilityTextsHelper","sap/f/thirdparty/Label","sap/f/thirdparty/ResponsivePopover","sap/f/thirdparty/BusyIndicator"],function(e,t,i,o,n,r,s,a,c,l,d,u,h,_,p,v,b,g,f,m){"use strict";const y="slim-arrow-right";const x="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";const k=false;const w="SAP-icons-v4";const I="@ui5/webcomponents-icons";s.y(y,{pathData:x,ltr:k,collection:w,packageName:I});const C="slim-arrow-right";const T="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";const S=false;const E="SAP-icons-v5";const N="@ui5/webcomponents-icons";s.y(C,{pathData:T,ltr:S,collection:E,packageName:N});var B="slim-arrow-right";const A="nav-back";const M="M375.5 426q9 9 9 22.5t-9 22.5q-10 10-23 10t-23-10l-192-192q-9-9-9-22.5t9-22.5l191-193q10-10 23-10t22 10q10 9 10 22t-10 23l-157 159q-5 5-5 11.5t5 11.5z";const D=false;const R=a.ICON_NAV_BACK;const q="SAP-icons-v4";const L="@ui5/webcomponents-icons";s.y(A,{pathData:M,ltr:D,accData:R,collection:q,packageName:L});const O="nav-back";const P="M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z";const j=false;const z=a.ICON_NAV_BACK;const F="SAP-icons-v5";const V="@ui5/webcomponents-icons";s.y(O,{pathData:P,ltr:j,accData:z,collection:F,packageName:V});var G="nav-back";var H;(function(e){e["None"]="None";e["Single"]="Single";e["Multiple"]="Multiple"})(H||(H={}));var K=H;const $="edit";const U="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";const W=false;const X="SAP-icons-v4";const Q="@ui5/webcomponents-icons";s.y($,{pathData:U,ltr:W,collection:X,packageName:Q});const Y="edit";const J="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";const Z=false;const ee="SAP-icons-v5";const te="@ui5/webcomponents-icons";s.y(Y,{pathData:J,ltr:Z,collection:ee,packageName:te});var ie="edit";var oe;(function(e){e["None"]="None";e["Positive"]="Positive";e["Critical"]="Critical";e["Negative"]="Negative";e["Information"]="Information"})(oe||(oe={}));var ne=oe;var re;(function(e){e["Inactive"]="Inactive";e["Active"]="Active";e["Detail"]="Detail";e["Navigation"]="Navigation"})(re||(re={}));var se=re;r.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);r.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var ae=`.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_list_item_img_size);height:var(--_ui5_list_item_img_size);border-radius:var(--ui5-avatar-border-radius);object-fit:contain}::slotted([ui5-icon][slot="image"]){color:var(--sapContent_NonInteractiveIconColor);min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);padding-inline-end:var(--_ui5_list_item_icon_padding-inline-end)}::slotted([ui5-avatar][slot="image"]){min-width:var(--_ui5_list_item_img_size);min-height:var(--_ui5_list_item_img_size);margin-top:var(--_ui5_list_item_img_top_margin);margin-bottom:var(--_ui5_list_item_img_bottom_margin);margin-inline-end:var(--_ui5_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_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_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);color:var(--sapContent_NonInteractiveIconColor);padding-inline-end:var(--_ui5_list_item_icon_padding-inline-end)}:host([icon-end]) .ui5-li-icon{padding-inline-start:var(--_ui5_list_item_icon_padding-inline-end)}.ui5-li-detailbtn,.ui5-li-deletebtn{display:flex;align-items:center;margin-left:var(--_ui5_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_list_item_selection_btn_margin_top)}:host([description]) .ui5-li-multisel-cb{align-self:flex-start;margin-top:var(--_ui5_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_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-listitem-background-color);box-sizing:border-box}:host([highlight="Negative"]) .ui5-li-highlight{background:var(--sapErrorBorderColor)}:host([highlight="Critical"]) .ui5-li-highlight{background:var(--sapWarningBorderColor)}:host([highlight="Positive"]) .ui5-li-highlight{background:var(--sapSuccessBorderColor)}:host([highlight="Information"]) .ui5-li-highlight{background:var(--sapInformationBorderColor)}: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_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}\n`;var ce=this&&this.__decorate||function(e,t,i,o){var n=arguments.length,r=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r;return n>3&&r&&Object.defineProperty(t,i,r),r};var le;let de=le=class e extends l.ListItemBase{constructor(){super();this.type="Active";this.accessibilityAttributes={};this.navigated=false;this.active=false;this.highlight="None";this.accessibleRole="ListItem";this._selectionMode="None";this.mediaRange="S";this.deactivateByKey=e=>{if(t.b(e)){this.deactivate()}};this.deactivate=()=>{if(this.active){this.active=false}}}onBeforeRendering(){super.onBeforeRendering();this.actionable=(this.type===se.Active||this.type===se.Navigation)&&this._selectionMode!==d.ListSelectionMode.Delete}onEnterDOM(){super.onEnterDOM();document.addEventListener("mouseup",this.deactivate);document.addEventListener("touchend",this.deactivate);document.addEventListener("keyup",this.deactivateByKey)}onExitDOM(){document.removeEventListener("mouseup",this.deactivate);document.removeEventListener("keyup",this.deactivateByKey);document.removeEventListener("touchend",this.deactivate)}_onkeydown(e){const i=e.target!==this.getFocusDomRef();if((t.A(e)||t.b(e))&&i){return}super._onkeydown(e);const o=this.type===se.Active,n=this.typeNavigation;if((t.A(e)||t.b(e))&&(o||n)){this.activate()}if(t.ro(e)){this._handleF2()}}_onkeyup(e){super._onkeyup(e);if(t.A(e)||t.b(e)){this.deactivate()}if(this.modeDelete&&t.X(e)){this.onDelete()}}_onmousedown(){this.activate()}_onmouseup(){if(this.getFocusDomRef().matches(":has(:focus-within)")){return}this.deactivate()}_ontouchend(){this._onmouseup()}_onfocusin(e){super._onfocusin(e);if(e.target!==this.getFocusDomRef()){this.deactivate()}}_onfocusout(e){if(e.target!==this.getFocusDomRef()){return}this.deactivate()}_ondragstart(e){if(!e.dataTransfer){return}if(e.target===this._listItem){t.D$1.setDraggedElement(this);this.setAttribute("data-moving","");e.dataTransfer.dropEffect="move";e.dataTransfer.effectAllowed="move"}}_ondragend(e){if(e.target===this._listItem){t.D$1.clearDraggedElement();this.removeAttribute("data-moving")}}onMultiSelectionComponentPress(e){if(this.isInactive){return}this.fireDecoratorEvent("selection-requested",{item:this,selected:e.target.checked,selectionComponentPressed:true})}onSingleSelectionComponentPress(e){if(this.isInactive){return}this.fireDecoratorEvent("selection-requested",{item:this,selected:!e.target.checked,selectionComponentPressed:true})}activate(){if(this.type===se.Active||this.type===se.Navigation){this.active=true}}onDelete(){this.fireDecoratorEvent("selection-requested",{item:this,selectionComponentPressed:false})}onDetailClick(){this.fireDecoratorEvent("detail-click",{item:this,selected:this.selected})}fireItemPress(e){if(this.isInactive){return}super.fireItemPress(e);if(document.activeElement!==this){this.focus()}}get isInactive(){return this.type===se.Inactive||this.type===se.Detail}get placeSelectionElementBefore(){return this._selectionMode===d.ListSelectionMode.Multiple||this._selectionMode===d.ListSelectionMode.SingleStart}get placeSelectionElementAfter(){return!this.placeSelectionElementBefore&&(this._selectionMode===d.ListSelectionMode.SingleEnd||this._selectionMode===d.ListSelectionMode.Delete)}get modeSingleSelect(){return[d.ListSelectionMode.SingleStart,d.ListSelectionMode.SingleEnd,d.ListSelectionMode.Single].includes(this._selectionMode)}get modeMultiple(){return this._selectionMode===d.ListSelectionMode.Multiple}get modeDelete(){return this._selectionMode===d.ListSelectionMode.Delete}get typeDetail(){return this.type===se.Detail}get typeNavigation(){return this.type===se.Navigation}get typeActive(){return this.type===se.Active}get _ariaSelected(){if(this.modeMultiple||this.modeSingleSelect){return this.selected}return undefined}get listItemAccessibleRole(){return this._forcedAccessibleRole||this.accessibleRole.toLowerCase()}get ariaSelectedText(){let e;if(this._ariaSelected!==undefined){e=this._ariaSelected?le.i18nBundle.getText(u.LIST_ITEM_SELECTED):le.i18nBundle.getText(u.LIST_ITEM_NOT_SELECTED)}return e}get deleteText(){return le.i18nBundle.getText(u.DELETE)}get hasDeleteButtonSlot(){return!!this.deleteButton.length}get _accessibleNameRef(){if(this.accessibleName){return`${this._id}-invisibleText`}return`${this._id}-content ${this._id}-invisibleText`}get ariaLabelledByText(){const e=[this._accInfo.listItemAriaLabel,this.accessibleName,this.typeActive?le.i18nBundle.getText(u.LIST_ITEM_ACTIVE):undefined].filter(Boolean);return e.join(" ")}get _accInfo(){return{role:this.listItemAccessibleRole,ariaExpanded:undefined,ariaLevel:undefined,ariaLabel:le.i18nBundle.getText(u.ARIA_LABEL_LIST_ITEM_CHECKBOX),ariaLabelRadioButton:le.i18nBundle.getText(u.ARIA_LABEL_LIST_ITEM_RADIO_BUTTON),ariaSelectedText:this.ariaSelectedText,ariaHaspopup:this.accessibilityAttributes.hasPopup,setsize:this.accessibilityAttributes.ariaSetsize,posinset:this.accessibilityAttributes.ariaPosinset,tooltip:this.tooltip}}get _hasHighlightColor(){return this.highlight!==ne.None}get hasConfigurableMode(){return true}get _listItem(){return this.shadowRoot.querySelector("li")}async _handleF2(){const e=this.getFocusDomRef();const i=t.t();const o=this._getFocusableElements().length>0;if(!o){return}if(i===e){const t=await c.b(e);t?.focus()}else{e.focus()}}_getFocusableElements(){const e=this.getFocusDomRef();return l.b(e)}_getFocusedElementIndex(){const e=this._getFocusableElements();const i=t.t();return e.indexOf(i)}_hasFocusableElements(){return this._getFocusableElements().length>0}_isFocusOnInternalElement(){const e=this._getFocusableElements();const i=e.indexOf(t.t());return i!==-1}_focusInternalElement(e){const t=this._getFocusableElements();if(!t.length){return}const i=Math.min(e,t.length-1);const o=t[i];o.focus();return i}};ce([t.s()],de.prototype,"type",void 0);ce([t.s({type:Object})],de.prototype,"accessibilityAttributes",void 0);ce([t.s({type:Boolean})],de.prototype,"navigated",void 0);ce([t.s()],de.prototype,"tooltip",void 0);ce([t.s({type:Boolean})],de.prototype,"active",void 0);ce([t.s()],de.prototype,"highlight",void 0);ce([t.s({type:Boolean})],de.prototype,"selected",void 0);ce([t.s()],de.prototype,"accessibleRole",void 0);ce([t.s()],de.prototype,"_forcedAccessibleRole",void 0);ce([t.s()],de.prototype,"_selectionMode",void 0);ce([t.s()],de.prototype,"mediaRange",void 0);ce([t.d()],de.prototype,"deleteButton",void 0);ce([n.i("@ui5/webcomponents")],de,"i18nBundle",void 0);de=le=ce([t.m({languageAware:true,renderer:i.y,styles:[l.ListItemBase.styles,h.listItemAdditionalTextCss,ae]}),o.l("detail-click",{bubbles:true}),o.l("selection-requested",{bubbles:true})],de);var ue=de;class he{static hasGroup(e){return this.groups.has(e)}static getGroup(e){return this.groups.get(e)}static getCheckedRadioFromGroup(e){return this.checkedRadios.get(e)}static removeGroup(e){this.checkedRadios.delete(e);return this.groups.delete(e)}static addToGroup(e,t){if(this.hasGroup(t)){this.enforceSingleSelection(e,t);if(this.getGroup(t)){this.getGroup(t).push(e)}}else{this.createGroup(e,t)}this.updateTabOrder(t)}static removeFromGroup(e,t){const i=this.getGroup(t);if(!i){return}const o=this.getCheckedRadioFromGroup(t);i.forEach((t,i,o)=>{if(e._id===t._id){return o.splice(i,1)}});if(o===e){this.checkedRadios.set(t,null)}if(!i.length){this.removeGroup(t)}this.updateTabOrder(t)}static createGroup(e,t){if(e.checked){this.checkedRadios.set(t,e)}this.groups.set(t,[e])}static selectNextItem(e,t){const i=this.getGroup(t);if(!i){return}const o=i.length,n=i.indexOf(e);if(o<=1){return}const r=this._nextFocusable(n,i);if(!r){return}this.updateSelectionInGroup(r,t)}static updateFormValidity(e){const t=this.getGroup(e);if(!t){return}const i=t.some(e=>e.required);const o=t.some(e=>e.checked);t.forEach(e=>{e._groupChecked=o;e._groupRequired=i})}static updateTabOrder(e){const i=this.getGroup(e);if(!i){return}const o=i.some(e=>e.checked);i.filter(e=>!e.disabled).forEach((e,i)=>{let n=t.t();if(n?.classList.contains("ui5-radio-root")){n=n.getRootNode();if(n instanceof ShadowRoot){n=n.host}}if(o){if(n?.hasAttribute("ui5-radio-button")&&n.readonly){e._tabIndex=n===e&&e.readonly?0:-1}else{e._tabIndex=e.checked?0:-1}}else{e._tabIndex=i===0?0:-1}})}static selectPreviousItem(e,t){const i=this.getGroup(t);if(!i){return}const o=i.length,n=i.indexOf(e);if(o<=1){return}const r=this._previousFocusable(n,i);if(!r){return}this.updateSelectionInGroup(r,t)}static selectItem(e,t){this.updateSelectionInGroup(e,t);this.updateTabOrder(t);this.updateFormValidity(t)}static updateSelectionInGroup(e,t){const i=this.getCheckedRadioFromGroup(t);if(i&&!e.readonly){this._deselectRadio(i);this.checkedRadios.set(t,e)}if(e){e.focus();if(!e.readonly){this._selectRadio(e)}else{setTimeout(()=>{this.updateTabOrder(t)},0)}}}static _deselectRadio(e){if(e){e.checked=false}}static _selectRadio(e){e.checked=true;e._checked=true;e.fireDecoratorEvent("change")}static _nextFocusable(e,t){if(!t){return null}const i=t.length;let o=null;if(e===i-1){if(t[0].disabled){return this._nextFocusable(1,t)}o=t[0]}else if(t[e+1].disabled){return this._nextFocusable(e+1,t)}else{o=t[e+1]}return o}static _previousFocusable(e,t){const i=t.length;let o=null;if(e===0){if(t[i-1].disabled){return this._previousFocusable(i-1,t)}o=t[i-1]}else if(t[e-1].disabled){return this._previousFocusable(e-1,t)}else{o=t[e-1]}return o}static enforceSingleSelection(e,t){const i=this.getCheckedRadioFromGroup(t);if(e.checked){if(!i){this.checkedRadios.set(t,e)}else if(e!==i){this._deselectRadio(i);this.checkedRadios.set(t,e)}}else if(e===i){this.checkedRadios.set(t,null)}this.updateTabOrder(t);this.updateFormValidity(t)}static get groups(){if(!this._groups){this._groups=new Map}return this._groups}static get checkedRadios(){if(!this._checkedRadios){this._checkedRadios=new Map}return this._checkedRadios}}function _e(){return i.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:[i.jsxs("div",{class:{"ui5-radio-inner":true,"ui5-radio-inner--hoverable":!this.disabled&&!this.readonly&&r.f$1()},children:[i.jsxs("svg",{class:"ui5-radio-svg",focusable:"false","aria-hidden":"true",children:[i.jsx("circle",{part:"outer-ring",class:"ui5-radio-svg-outer",cx:"50%",cy:"50%",r:"50%"}),i.jsx("circle",{part:"inner-ring",class:"ui5-radio-svg-inner",cx:"50%",cy:"50%"})]}),i.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&&i.jsx(g,{id:`${this._id}-label`,class:"ui5-radio-label",for:this._id,wrappingType:this.wrappingType,children:this.text}),this.hasValueState&&i.jsx("span",{id:`${this._id}-descr`,class:"ui5-hidden-text",children:this.valueStateText})]})}r.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);r.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var pe=`.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{vertical-align:middle}:host(:not([hidden])){display:inline-block}:host{min-width:var(--_ui5_radio_button_min_width);max-width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--_ui5_radio_button_color);border-radius:var(--_ui5_radio_button_border_radius)}:host(:not([disabled])) .ui5-radio-root{cursor:pointer}:host([checked]){color:var(--_ui5_radio_button_checked_fill)}:host([checked]) .ui5-radio-svg-inner{fill:var(--_ui5_radio_button_inner_ring_color)}:host([checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_radio_button_outer_ring_color)}:host([disabled]) .ui5-radio-root{color:var(--_ui5_radio_button_color);opacity:var(--sapContent_DisabledOpacity)}:host([disabled][checked]) .ui5-radio-svg-outer{stroke:var(--_ui5_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_radio_button_focus_outline);position:absolute;inset:var(--_ui5_radio_button_focus_dist);pointer-events:none;border:var(--_ui5_radio_button_border_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5_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_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_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_radio_button_hover_fill)}:host([active][checked]:not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5_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_radio_button_outer_ring_active_color)}:host([text]) .ui5-radio-root{padding-inline-end:var(--_ui5_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_radio_button_outer_ring_padding_with_label)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--_ui5_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_radio_button_read_only_border_type);stroke-width:var(--_ui5_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_radio_button_information_border_width)}:host([value-state="Negative"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_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_radio_button_hover_fill_error)}:host([value-state="Critical"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_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_radio_button_hover_fill_warning)}:host([value-state="Positive"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_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_radio_button_hover_fill_success)}:host([value-state="Information"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5_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_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_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_radio_button_border);border-radius:var(--_ui5_radio_button_border_radius)}.ui5-radio-inner{display:flex;align-items:center;padding:var(--_ui5_radio_button_outer_ring_padding);flex-shrink:0;height:var(--_ui5_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_radio_button_label_offset);padding-block:var(--_ui5_radio_button_label_side_padding);vertical-align:top;max-width:100%;pointer-events:none;color:var(--_ui5_radio_button_label_color);overflow-wrap:break-word}:host([wrapping-type="None"][text]) .ui5-radio-root{height:var(--_ui5_radio_button_height)}:host([wrapping-type="None"][text]) [ui5-label].ui5-radio-label{text-overflow:ellipsis;overflow:hidden}.ui5-radio-svg{height:var(--_ui5_radio_button_svg_size);width:var(--_ui5_radio_button_svg_size);overflow:visible;pointer-events:none}.ui5-radio-svg-outer{fill:var(--_ui5_radio_button_outer_ring_bg);stroke:currentColor;stroke-width:var(--_ui5_radio_button_outer_ring_width)}.ui5-radio-svg-inner{fill:none;r:var(--_ui5_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)}\n`;var ve=this&&this.__decorate||function(e,t,i,o){var n=arguments.length,r=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r;return n>3&&r&&Object.defineProperty(t,i,r),r};var be;let ge=false;let fe;let me=be=class e extends t.S{get formValidityMessage(){return be.i18nBundle.getText(u.FORM_SELECTABLE_REQUIRED2)}get formValidity(){return{valueMissing:this._groupRequired&&!this._groupChecked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value||"on":null}constructor(){super();this.disabled=false;this.readonly=false;this.required=false;this.checked=false;this.valueState="None";this.value="";this.wrappingType="Normal";this.active=false;this._groupChecked=false;this._groupRequired=false;this._name="";this._checked=false;this._deactivate=()=>{if(fe){fe.active=false}};if(!ge){document.addEventListener("mouseup",this._deactivate);ge=true}}onAfterRendering(){this.syncGroup()}onEnterDOM(){if(r.f$1()){this.setAttribute("desktop","")}}onExitDOM(){this.syncGroup(true)}syncGroup(e){const t=this._name;const i=this.name;const o=this._checked;const n=this.checked;if(e){he.removeFromGroup(this,t)}if(i!==t){if(t){he.removeFromGroup(this,t)}if(i){he.addToGroup(this,i)}}else if(i&&this.isConnected){he.enforceSingleSelection(this,i)}if(this.name&&n!==o){he.updateTabOrder(this.name)}this._name=this.name||"";this._checked=this.checked}_onclick(){return this.toggle()}_handleDown(e){const t=this.name;if(!t){return}e.preventDefault();he.selectNextItem(this,t)}_handleUp(e){const t=this.name;if(!t){return}e.preventDefault();he.selectPreviousItem(this,t)}_onkeydown(e){if(t.A(e)){this.active=true;return e.preventDefault()}if(t.b(e)){this.active=true;return this.toggle()}const i=this.effectiveDir==="rtl";if(t._(e)||!i&&t.R(e)||i&&t.D(e)){this._handleDown(e)}if(t.P(e)||!i&&t.D(e)||i&&t.R(e)){this._handleUp(e)}}_onkeyup(e){if(t.A(e)){this.toggle()}this.active=false}_onmousedown(){this.active=true;fe=this}_onmouseup(){this.active=false}_onfocusout(){this.active=false}toggle(){if(!this.canToggle()){return this}if(!this.name){this.checked=!this.checked;this.fireDecoratorEvent("change");return this}he.selectItem(this,this.name);return this}canToggle(){return!(this.disabled||this.readonly||this.checked)}get effectiveAriaDisabled(){return this.disabled||this.readonly?true:undefined}get ariaLabelText(){return[b.A(this),this.text].filter(Boolean).join(" ")}get effectiveAriaDescribedBy(){return this.hasValueState?`${this._id}-descr`:undefined}get hasValueState(){return this.valueState!==v.o.None}get valueStateText(){switch(this.valueState){case v.o.Negative:return be.i18nBundle.getText(u.VALUE_STATE_ERROR);case v.o.Critical:return be.i18nBundle.getText(u.VALUE_STATE_WARNING);case v.o.Positive:return be.i18nBundle.getText(u.VALUE_STATE_SUCCESS);case v.o.Information:return be.i18nBundle.getText(u.VALUE_STATE_INFORMATION);default:return""}}get effectiveTabIndex(){const e=this.getAttribute("tabindex");if(this.disabled){return-1}if(this.name){return this._tabIndex}return e?parseInt(e):0}};ve([t.s({type:Boolean})],me.prototype,"disabled",void 0);ve([t.s({type:Boolean})],me.prototype,"readonly",void 0);ve([t.s({type:Boolean})],me.prototype,"required",void 0);ve([t.s({type:Boolean})],me.prototype,"checked",void 0);ve([t.s()],me.prototype,"text",void 0);ve([t.s()],me.prototype,"valueState",void 0);ve([t.s()],me.prototype,"name",void 0);ve([t.s()],me.prototype,"value",void 0);ve([t.s()],me.prototype,"wrappingType",void 0);ve([t.s()],me.prototype,"accessibleName",void 0);ve([t.s()],me.prototype,"accessibleNameRef",void 0);ve([t.s({type:Number})],me.prototype,"_tabIndex",void 0);ve([t.s({type:Boolean})],me.prototype,"active",void 0);ve([t.s({type:Boolean,noAttribute:true})],me.prototype,"_groupChecked",void 0);ve([t.s({type:Boolean,noAttribute:true})],me.prototype,"_groupRequired",void 0);ve([n.i("@ui5/webcomponents")],me,"i18nBundle",void 0);me=be=ve([t.m({tag:"ui5-radio-button",languageAware:true,formAssociated:true,renderer:i.y,template:_e,styles:pe}),o.l("change",{bubbles:true})],me);me.define();var ye=me;r.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);r.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var xe=`.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{vertical-align:middle}:host(:not([hidden])){display:inline-block}:host([required]){vertical-align:middle}:host{overflow:hidden;max-width:100%;outline:none;border-radius:var(--_ui5_checkbox_border_radius);transition:var(--_ui5_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_checkbox_disabled_opacity)}:host([disabled]) .ui5-checkbox-inner{border-color:var(--_ui5_checkbox_inner_disabled_border_color)}:host([disabled]) .ui5-checkbox-label{color:var(--_ui5_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_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_checkbox_root_side_padding);padding-bottom:var(--_ui5_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_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_checkbox_inner_error_border);color:var(--sapField_InvalidColor)}:host([value-state="Negative"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_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_checkbox_inner_warning_border);color:var(--_ui5_checkbox_inner_warning_color)}:host([value-state="Critical"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_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_checkbox_inner_information_border);color:var(--_ui5_checkbox_inner_information_color)}:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_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_checkbox_inner_success_border);color:var(--sapField_SuccessColor)}:host([value-state="Positive"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5_checkbox_inner_success_background_hover)}:host([value-state="Critical"]) .ui5-checkbox-icon,:host([value-state="Critical"][indeterminate]) .ui5-checkbox-inner:after{color:var(--_ui5_checkbox_checkmark_warning_color)}.ui5-checkbox-root{position:relative;display:inline-flex;align-items:center;max-width:100%;min-height:var(--_ui5_checkbox_width_height);min-width:var(--_ui5_checkbox_width_height);padding:0 var(--_ui5_checkbox_wrapper_padding);outline:none;transition:var(--_ui5_checkbox_transition);border:var(--_ui5_checkbox_default_focus_border);border-radius:var(--_ui5_checkbox_border_radius);box-sizing:border-box}:host([desktop]) .ui5-checkbox-root:focus:before,.ui5-checkbox-root:focus-visible:before{display:var(--_ui5_checkbox_focus_outline_display);content:"";position:absolute;inset-inline:var(--_ui5_checkbox_focus_position);inset-block:var(--_ui5_checkbox_focus_position);border:var(--_ui5_checkbox_focus_outline);border-radius:var(--_ui5_checkbox_focus_border_radius)}:host([text]) .ui5-checkbox-root{padding-inline-end:var(--_ui5_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_checkbox_outer_hover_background)}.ui5-checkbox--hoverable .ui5-checkbox-label:hover{color:var(--_ui5_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_checkbox_hover_background);border-color:var(--_ui5_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_checkbox_hover_background);border-color:var(--_ui5_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_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_checkbox_inner_active_border_color);background-color:var(--_ui5_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_checkbox_inner_selected_border_color);background-color:var(--_ui5_checkbox_active_background)}.ui5-checkbox-inner{min-width:var(--_ui5_checkbox_inner_width_height);max-width:var(--_ui5_checkbox_inner_width_height);height:var(--_ui5_checkbox_inner_width_height);max-height:var(--_ui5_checkbox_inner_width_height);border:var(--_ui5_checkbox_inner_border);border-radius:var(--_ui5_checkbox_inner_border_radius);background:var(--_ui5_checkbox_inner_background);color:var(--_ui5_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_checkbox_partially_icon_size);height:var(--_ui5_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_checkbox_label_offset);cursor:inherit;text-overflow:ellipsis;overflow:hidden;pointer-events:none;color:var(--_ui5_checkbox_label_color)}.ui5-checkbox-icon{width:var(--_ui5_checkbox_icon_size);height:var(--_ui5_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_checkbox_inner_width_height);max-width:var(--_ui5_checkbox_inner_width_height);height:var(--_ui5_checkbox_inner_width_height);max-height:var(--_ui5_checkbox_inner_width_height);display:flex;align-items:center;justify-content:center}\n`;const ke="accept";const we="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";const Ie=true;const Ce="SAP-icons-v4";const Te="@ui5/webcomponents-icons";s.y(ke,{pathData:we,ltr:Ie,collection:Ce,packageName:Te});const Se="accept";const Ee="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";const Ne=true;const Be="SAP-icons-v5";const Ae="@ui5/webcomponents-icons";s.y(Se,{pathData:Ee,ltr:Ne,collection:Be,packageName:Ae});var Me="accept";const De="complete";const Re="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";const qe=true;const Le="SAP-icons-v4";const Oe="@ui5/webcomponents-icons";s.y(De,{pathData:Re,ltr:qe,collection:Le,packageName:Oe});const Pe="complete";const je="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";const ze=true;const Fe="SAP-icons-v5";const Ve="@ui5/webcomponents-icons";s.y(Pe,{pathData:je,ltr:ze,collection:Fe,packageName:Ve});var Ge="complete";const He="border";const Ke="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";const $e=false;const Ue="SAP-icons-v4";const We="@ui5/webcomponents-icons";s.y(He,{pathData:Ke,ltr:$e,collection:Ue,packageName:We});const Xe="border";const Qe="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";const Ye=false;const Je="SAP-icons-v5";const Ze="@ui5/webcomponents-icons";s.y(Xe,{pathData:Qe,ltr:Ye,collection:Je,packageName:Ze});var et="border";const tt="tri-state";const it="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";const ot=false;const nt="SAP-icons-v4";const rt="@ui5/webcomponents-icons";s.y(tt,{pathData:it,ltr:ot,collection:nt,packageName:rt});const st="tri-state";const at="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";const ct=false;const lt="SAP-icons-v5";const dt="@ui5/webcomponents-icons";s.y(st,{pathData:at,ltr:ct,collection:lt,packageName:dt});var ut="tri-state";function ht(){return i.jsxs("div",{class:{"ui5-checkbox-root":true,"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&r.f$1()},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?i.jsx("div",{class:"ui5-checkbox-display-only-icon-inner",children:i.jsx(p.Icon,{"aria-hidden":"true",name:_t.call(this),class:"ui5-checkbox-display-only-icon",part:"icon"})}):i.jsx("div",{id:`${this._id}-CbBg`,class:"ui5-checkbox-inner",children:this.isCompletelyChecked&&i.jsx(p.Icon,{"aria-hidden":"true",name:Me,class:"ui5-checkbox-icon",part:"icon"})}),this.accInfo.role==="checkbox"&&i.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&&i.jsx(g,{id:`${this._id}-label`,part:"label",class:"ui5-checkbox-label",wrappingType:this.wrappingType,required:this.required,children:this.text}),this.hasValueState&&i.jsx("span",{id:`${this._id}-descr`,class:"ui5-hidden-text",children:this.valueStateText})]})}function _t(){if(this.isCompletelyChecked){return Ge}if(this.checked&&this.indeterminate){return ut}return et}var pt=this&&this.__decorate||function(e,t,i,o){var n=arguments.length,r=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r;return n>3&&r&&Object.defineProperty(t,i,r),r};var vt;let bt=false;let gt;let ft=vt=class e extends t.S{get formValidityMessage(){return vt.i18nBundle.getText(u.FORM_CHECKABLE_REQUIRED)}get formValidity(){return{valueMissing:this.required&&!this.checked}}async formElementAnchor(){return this.getFocusDomRefAsync()}get formFormattedValue(){return this.checked?this.value:null}constructor(){super();this.disabled=false;this.readonly=false;this.displayOnly=false;this.required=false;this.indeterminate=false;this.checked=false;this.valueState="None";this.wrappingType="Normal";this.value="on";this.active=false;this._deactivate=()=>{if(gt){gt.active=false}};if(!bt){document.addEventListener("mouseup",this._deactivate);bt=true}}onEnterDOM(){if(r.f$1()){this.setAttribute("desktop","")}}_onclick(){this.toggle()}_onmousedown(){if(this.readonly||this.disabled){return}this.active=true;gt=this}_onmouseup(){this.active=false}_onfocusout(){this.active=false}_onkeydown(e){if(t.A(e)){e.preventDefault()}if(this.readonly||this.disabled){return}if(t.b(e)){this.toggle()}this.active=true}_onkeyup(e){if(t.A(e)){this.toggle()}this.active=false}toggle(){if(this.canToggle()){const e={checked:this.checked,indeterminate:this.indeterminate};if(this.indeterminate){this.indeterminate=false;this.checked=true}else{this.checked=!this.checked}const t=!this.fireDecoratorEvent("change");const i=!this.fireDecoratorEvent("value-changed");if(t||i){this.checked=e.checked;this.indeterminate=e.indeterminate}}return this}canToggle(){return!(this.disabled||this.readonly||this.displayOnly)}valueStateTextMappings(){return{Negative:vt.i18nBundle.getText(u.VALUE_STATE_ERROR),Critical:vt.i18nBundle.getText(u.VALUE_STATE_WARNING),Positive:vt.i18nBundle.getText(u.VALUE_STATE_SUCCESS)}}get ariaLabelText(){return b.A(this)||b.M(this)}get classes(){return{main:{"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&r.f$1()}}}get ariaReadonly(){return this.readonly||this.displayOnly?"true":undefined}get effectiveAriaDisabled(){return this.disabled?"true":undefined}get effectiveAriaChecked(){return this.indeterminate&&this.checked?"mixed":this.checked}get ariaLabelledBy(){if(!this.ariaLabelText){return this.text?`${this._id}-label`:undefined}return undefined}get ariaDescribedBy(){return this.hasValueState?`${this._id}-descr`:undefined}get hasValueState(){return this.valueState!==v.o.None}get valueStateText(){if(this.valueState!==v.o.None&&this.valueState!==v.o.Information){return this.valueStateTextMappings()[this.valueState]}}get effectiveTabIndex(){const e=this.getAttribute("tabindex");if(this.tabbable){return e?parseInt(e):0}}get tabbable(){return!this.disabled&&!this.displayOnly}get isCompletelyChecked(){return this.checked&&!this.indeterminate}get isDisplayOnly(){return this.displayOnly&&!this.disabled}get accessibilityInfo(){const e=this.checked?vt.i18nBundle.getText(u.CHECKBOX_CHECKED):vt.i18nBundle.getText(u.CHECKBOX_NOT_CHECKED);const t=[this.text||"",e].filter(Boolean).join(" ");return{role:this.accInfo.role,type:vt.i18nBundle.getText(u.CHECKBOX_ARIA_TYPE),description:t,label:this.ariaLabelText,disabled:!!this.accInfo.ariaDisabled,readonly:!!this.accInfo.ariaReadonly,required:this.accInfo.ariaRequired}}get accInfo(){return{role:this._accInfo?this._accInfo.role:"checkbox",ariaChecked:this._accInfo?this._accInfo.ariaChecked:this.effectiveAriaChecked,ariaReadonly:this._accInfo?this._accInfo.ariaReadonly:this.ariaReadonly,ariaDisabled:this._accInfo?this._accInfo.ariaDisabled:this.effectiveAriaDisabled,ariaRequired:this._accInfo?this._accInfo.ariaRequired:this.required,tabindex:this._accInfo?this._accInfo.tabindex:this.effectiveTabIndex}}};pt([t.s()],ft.prototype,"accessibleNameRef",void 0);pt([t.s()],ft.prototype,"accessibleName",void 0);pt([t.s({type:Boolean})],ft.prototype,"disabled",void 0);pt([t.s({type:Boolean})],ft.prototype,"readonly",void 0);pt([t.s({type:Boolean})],ft.prototype,"displayOnly",void 0);pt([t.s({type:Boolean})],ft.prototype,"required",void 0);pt([t.s({type:Boolean})],ft.prototype,"indeterminate",void 0);pt([t.s({type:Boolean})],ft.prototype,"checked",void 0);pt([t.s()],ft.prototype,"text",void 0);pt([t.s()],ft.prototype,"valueState",void 0);pt([t.s()],ft.prototype,"wrappingType",void 0);pt([t.s()],ft.prototype,"name",void 0);pt([t.s()],ft.prototype,"value",void 0);pt([t.s({type:Boolean})],ft.prototype,"active",void 0);pt([t.s({type:Object})],ft.prototype,"_accInfo",void 0);pt([n.i("@ui5/webcomponents")],ft,"i18nBundle",void 0);ft=vt=pt([t.m({tag:"ui5-checkbox",languageAware:true,formAssociated:true,renderer:i.y,template:ht,styles:xe}),o.l("change",{bubbles:true,cancelable:true}),o.l("value-changed",{bubbles:true,cancelable:true})],ft);ft.define();var mt=ft;const yt={listItemPreContent:kt,listItemContent:wt,imageBegin:It,iconBegin:Ct,iconEnd:Tt,selectionElement:St};function xt(e){const t={...yt,...e};return i.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:[t.listItemPreContent.call(this),this.placeSelectionElementBefore&&St.call(this),this._hasHighlightColor&&i.jsx("div",{class:"ui5-li-highlight"}),i.jsxs("div",{part:"content",id:`${this._id}-content`,class:"ui5-li-content",children:[t.imageBegin.call(this),t.iconBegin.call(this),t.listItemContent.call(this)]}),t.iconEnd.call(this),this.typeDetail&&i.jsx("div",{class:"ui5-li-detailbtn",children:i.jsx(_.Button,{part:"detail-button",design:"Transparent",onClick:this.onDetailClick,icon:ie})}),this.typeNavigation&&i.jsx(p.Icon,{name:B}),this.navigated&&i.jsx("div",{class:"ui5-li-navigated"}),this.placeSelectionElementAfter&&t.selectionElement.call(this),i.jsx("span",{id:`${this._id}-invisibleText`,class:"ui5-hidden-text",children:this.ariaLabelledByText}),i.jsx("span",{id:`${this._id}-invisibleText-describedby`,class:"ui5-hidden-text",children:this._accInfo.ariaSelectedText})]})}function kt(){}function wt(){}function It(){}function Ct(){}function Tt(){}function St(){switch(true){case this.modeSingleSelect:return i.jsx(ye,{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});case this.modeMultiple:return i.jsx(mt,{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});case this.modeDelete:return i.jsx("div",{class:"ui5-li-deletebtn",children:this.hasDeleteButtonSlot?i.jsx("slot",{name:"deleteButton"}):i.jsx(_.Button,{part:"delete-button",tabindex:-1,"data-sap-no-tab-ref":true,id:`${this._id}-deleteSelectionElement`,design:"Transparent",icon:a.decline,onClick:this.onDelete,tooltip:this.deleteText})})}}const Et={listItemContent:Bt};function Nt(e){const t={...Et,...e};return xt.call(this,t)}function Bt(){return i.jsx("slot",{})}r.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);r.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var At=`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5_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_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}\n`;var Mt=this&&this.__decorate||function(e,t,i,o){var n=arguments.length,r=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r;return n>3&&r&&Object.defineProperty(t,i,r),r};let Dt=class e extends ue{constructor(){super(...arguments);this.movable=false}_onkeydown(e){const i=this.matches(":focus");const o=i||t.x(e)||t.V(e)||t.ro(e)||t.io(e)||t.P(e)||t._(e);if(o){super._onkeydown(e)}}_onkeyup(e){const i=this.matches(":focus");const o=i||t.x(e)||t.V(e)||t.ro(e)||t.io(e)||t.P(e)||t._(e);if(o){super._onkeyup(e)}}get classes(){const e=super.classes;e.main["ui5-custom-li-root"]=true;return e}};Mt([t.s({type:Boolean})],Dt.prototype,"movable",void 0);Mt([t.s()],Dt.prototype,"accessibleName",void 0);Dt=Mt([t.m({tag:"ui5-li-custom",template:Nt,renderer:i.y,styles:[ue.styles,At]})],Dt);Dt.define();var Rt=Dt;function qt(){return i.jsx(Rt,{class:"ui5-menu-separator",_forcedAccessibleRole:"separator",disabled:true})}r.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);r.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var Lt=`:host{border-top:.0625rem solid var(--sapGroup_ContentBorderColor);min-height:.125rem}.ui5-menu-separator{border:inherit;min-height:inherit;background:inherit;opacity:1}\n`;var Ot=this&&this.__decorate||function(e,t,i,o){var n=arguments.length,r=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r;return n>3&&r&&Object.defineProperty(t,i,r),r};let Pt=class e extends l.ListItemBase{get isSeparator(){return true}get classes(){return{main:{"ui5-menu-separator":true}}}get _focusable(){return false}get _pressable(){return false}};Pt=Ot([t.m({tag:"ui5-menu-separator",renderer:i.y,styles:[Lt],template:qt})],Pt);Pt.define();const jt=t.r$1("isSeparator");function zt(){return i.jsx("div",{role:"group","aria-label":this.ariaLabelText,"onui5-check":this._handleItemCheck,children:i.jsx("slot",{})})}var Ft=this&&this.__decorate||function(e,t,i,o){var n=arguments.length,r=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r;return n>3&&r&&Object.defineProperty(t,i,r),r};var Vt;let Gt=Vt=class e extends t.S{constructor(){super(...arguments);this.checkMode="None"}get ariaLabelText(){switch(this.checkMode){case K.None:return Vt.i18nBundle.getText(u.MENU_ITEM_GROUP_NONE_ACCESSIBLE_NAME);case K.Single:return Vt.i18nBundle.getText(u.MENU_ITEM_GROUP_SINGLE_ACCESSIBLE_NAME);case K.Multiple:return Vt.i18nBundle.getText(u.MENU_ITEM_GROUP_MULTI_ACCESSIBLE_NAME);default:return undefined}}get isGroup(){return true}get _menuItems(){return this.items.filter(oi)}onBeforeRendering(){this._updateItemsCheckMode();if(this.checkMode===K.Single){this._ensureSingleItemIsChecked()}}_updateItemsCheckMode(){this._menuItems.forEach(e=>{e._checkMode=this.checkMode})}_clearCheckedItems(){this._menuItems.forEach(e=>{e.checked=false})}_ensureSingleItemIsChecked(){const e=this._menuItems.findLast(e=>e.checked);this._clearCheckedItems();if(e){e.checked=true}}_handleItemCheck(e){const t=e.target;const i=t.checked;if(this.checkMode===K.Single){this._clearCheckedItems();t.checked=i}}};Ft([t.s()],Gt.prototype,"checkMode",void 0);Ft([t.d({default:true,type:HTMLElement,invalidateOnChildChange:true})],Gt.prototype,"items",void 0);Ft([n.i("@ui5/webcomponents")],Gt,"i18nBundle",void 0);Gt=Vt=Ft([t.m({tag:"ui5-menu-item-group",renderer:i.y,template:zt})],Gt);Gt.define();const Ht=t.r$1("isGroup");const Kt={listItemContent:Ut,iconBegin:Qt};function $t(e){const t={...Kt,...e};return i.jsxs(i.Fragment,{children:[xt.call(this,t),Yt.call(this)]})}function Ut(){return i.jsxs(i.Fragment,{children:[this.text&&i.jsx("div",{class:"ui5-menu-item-text",children:this.text}),Xt.call(this),Wt.call(this)]})}function Wt(){return!this._markChecked?"":i.jsx("div",{class:"ui5-menu-item-checked",children:i.jsx(p.Icon,{name:Me,class:"ui5-menu-item-icon-checked"})})}function Xt(){switch(true){case this.hasSubmenu:return i.jsx("div",{class:"ui5-menu-item-submenu-icon",children:i.jsx(p.Icon,{part:"subicon",name:B,class:"ui5-menu-item-icon-end"})});case this.hasEndContent:return i.jsx("slot",{name:"endContent",onKeyDown:this._endContentKeyDown});case!!this.additionalText:return i.jsx("span",{part:"additional-text",class:"ui5-li-additional-text","aria-hidden":this._accInfo.ariaHidden,children:this.additionalText})}}function Qt(){if(this.hasIcon){return i.jsx(p.Icon,{class:"ui5-li-icon",name:this.icon})}if(this._siblingsWithIcon){return i.jsx("div",{class:"ui5-menu-item-dummy-icon"})}}function Yt(){return this.hasSubmenu&&i.jsxs(f.ResponsivePopover,{id:`${this._id}-menu-rp`,class:"ui5-menu-rp ui5-menu-rp-sub-menu",preventInitialFocus:true,preventFocusRestore:true,hideArrow:true,allowTargetOverlap:true,placement:f.PopoverPlacement.End,verticalAlign:"Top",accessibleName:this.accessibleNameText,onBeforeOpen:this._beforePopoverOpen,onOpen:this._afterPopoverOpen,onBeforeClose:this._beforePopoverClose,onClose:this._afterPopoverClose,children:[this.isPhone&&i.jsx(i.Fragment,{children:i.jsxs("div",{slot:"header",class:"ui5-menu-dialog-header",children:[i.jsx(_.Button,{icon:G,class:"ui5-menu-back-button",design:"Transparent","aria-label":this.labelBack,onClick:this._close}),i.jsx("div",{class:"ui5-menu-dialog-title",children:i.jsx("div",{children:this.text})})]})}),i.jsx("div",{id:`${this._id}-menu-main`,class:this.loading?"menu-busy-indicator-main":"",children:this.items.length?i.jsx(d.List,{id:`${this._id}-menu-list`,selectionMode:"None",separators:"None",accessibleRole:"Menu",loading:this.loading,loadingDelay:this.loadingDelay,onMouseOver:this._itemMouseOver,onKeyDown:this._itemKeyDown,onKeyUp:this._itemKeyUp,"onui5-close-menu":this._close,"onui5-exit-end-content":this._navigateOutOfEndContent,children:i.jsx("slot",{})}):this.loading&&i.jsx(m.BusyIndicator,{id:`${this._id}-menu-busy-indicator`,delay:this.loadingDelay,class:"ui5-menu-busy-indicator",active:true})}),this.isPhone&&i.jsx("div",{slot:"footer",class:"ui5-menu-dialog-footer",children:i.jsx(_.Button,{design:"Transparent",onClick:this._closeAll,children:this.labelCancel})})]})}r.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);r.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var Jt=`:host{line-height:initial}::slotted([ui5-menu-item]){line-height:inherit}.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5_menu_popover_border_radius)}.ui5-menu-busy-indicator{width:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ui5-menu-busy-indicator-main{min-height:var(--_ui5_list_item_base_height)}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem;font-family:var(--sapFontHeaderFamily)}.ui5-menu-dialog-title>h1{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--sapFontHeader5Size)}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-dialog-footer{display:flex;align-items:center;justify-content:flex-end;padding:0 1rem;width:100%;border-top:.0625rem solid var(--sapPageFooter_BorderColor)}.ui5-menu-rp.ui5-menu-rp-sub-menu{margin-top:.25rem;margin-inline:var(--_ui5_menu_submenu_margin_offset)}:host([disabled]){pointer-events:initial;opacity:initial}:host([disabled])::part(content){opacity:var(--_ui5-listitembase_disabled_opacity)}:host([disabled][actionable]:not([active]):not([selected]):hover),:host([disabled][active][actionable]){background:var(--ui5-listitem-background-color)}:host([active]:not([disabled])),:host([active]:not([disabled])):hover{background-color:var(--sapList_Active_Background)}:host(:not([active]):not([selected]):not([disabled]):hover){background-color:var(--sapList_Hover_Background)}:host([disabled][active][actionable]) .ui5-li-root .ui5-li-icon{color:var(--sapContent_NonInteractiveIconColor)}:host([active]:not([disabled]))::part(content),:host([active]:not([disabled]))::part(additional-text),:host([active]:not([disabled])) .ui5-li-root .ui5-li-icon{color:var(--sapList_Active_TextColor)}:host([focused]:not([active]):not([disabled])){background-color:var(--sapList_Hover_Background)}:host::part(additional-text){margin:unset;margin-inline-start:1rem;color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;display:inline-block;font-size:var(--sapFontSize)}.ui5-menu-item-dummy-icon{visibility:hidden}:host::part(title){font-size:var(--sapFontSize);padding-top:.125rem}:host([icon]:not([is-phone]))::part(title),:host([is-phone]:not([icon=""]))::part(title){padding-top:0}:host(:not([is-phone]))::part(native-li){user-select:none;padding:var(--_ui5_menu_item_padding)}:host::part(content){padding-inline-end:.25rem}.ui5-menu-item-submenu-icon{min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5_menu_item_submenu_icon_right)}.ui5-menu-item-submenu-icon .ui5-menu-item-icon-end{color:var(--sapContent_NonInteractiveIconColor)}.ui5-menu-item-dummy-icon{min-width:var(--_ui5_list_item_icon_size);min-height:var(--_ui5_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.75rem;pointer-events:none}.ui5-menu-item-checked{padding-inline-start:.5rem;padding-inline-end:0;font-weight:400;text-align:center}.ui5-menu-item-icon-checked{color:var(--sapContent_BusyColor);padding-top:.25rem}.ui5-menu-busy-indicator{position:absolute;width:100%;top:50%;left:50%;transform:translate(-50%,-50%)}\n`;var Zt=this&&this.__decorate||function(e,t,i,o){var n=arguments.length,r=n<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r;return n>3&&r&&Object.defineProperty(t,i,r),r};var ei;let ti=ei=class e extends ue{constructor(){super();this.disabled=false;this.loading=false;this.loadingDelay=1e3;this.checked=false;this._siblingsWithIcon=false;this._checkMode="None";this._shiftPressed=false;this._itemNavigation=new t.f$1(this,{navigationMode:t.r.Horizontal,behavior:t.l.Static,getItemsCallback:()=>this._navigableItems})}get _list(){return this.shadowRoot&&this.shadowRoot.querySelector("[ui5-list]")}get _navigableItems(){return[...this.endContent].filter(e=>e.hasAttribute("ui5-button")||e.hasAttribute("ui5-link")||e.hasAttribute("ui5-icon")&&e.getAttribute("mode")==="Interactive")}get _isCheckable(){return this._checkMode!==K.None}_navigateToEndContent(e){const t=this._navigableItems;const i=e?t[t.length-1]:t[0];if(i){this._itemNavigation.setCurrentItem(i);this._itemNavigation._focusCurrentItem()}}get isRtl(){return this.effectiveDir==="rtl"}get hasSubmenu(){return!!(this.items.length||this.loading)&&!this.disabled}get hasEndContent(){return!!this.endContent.length}get hasIcon(){return!!this.icon}get isSubMenuOpen(){return this._popover?.open}get menuHeaderTextPhone(){return this.text}get isPhone(){return r.d()}get labelBack(){return ei.i18nBundle.getText(u.MENU_BACK_BUTTON_ARIA_LABEL)}get labelCancel(){return ei.i18nBundle.getText(u.MENU_CANCEL_BUTTON_TEXT)}get accessibleNameText(){return ei.i18nBundle.getText(u.MENU_POPOVER_ACCESSIBLE_NAME)}onBeforeRendering(){super.onBeforeRendering();const e=this._allMenuItems.some(e=>!!e.icon);this._setupItemNavigation();this._allMenuItems.forEach(t=>{t._siblingsWithIcon=e})}async focus(e){await r.f$2();if(this.hasSubmenu&&this.isSubMenuOpen){const t=this._allMenuItems;return t[0]&&t[0].focus(e)}return super.focus(e)}get _focusable(){return true}get _role(){switch(this._checkMode){case K.Single:return"menuitemradio";case K.Multiple:return"menuitemcheckbox";default:return"menuitem"}}get _accInfo(){const e={role:this.accessibilityAttributes.role||this._role,ariaHaspopup:this.hasSubmenu?"menu":undefined,ariaKeyShortcuts:this.accessibilityAttributes.ariaKeyShortcuts,ariaExpanded:this.hasSubmenu?this.isSubMenuOpen:undefined,ariaHidden:!!this.additionalText&&!!this.accessibilityAttributes.ariaKeyShortcuts?true:undefined,ariaChecked:this._markChecked?true:undefined};return{...super._accInfo,...e}}get _popover(){return this.shadowRoot&&this.shadowRoot.querySelector("[ui5-responsive-popover]")}get _markChecked(){return!this.hasSubmenu&&this.checked&&this._checkMode!==K.None}get _menuItemGroups(){return this.items.filter(Ht)}get _menuItems(){return this.items.filter(oi)}get _allMenuItems(){const e=[];const t=this.getSlottedNodes("items");t.forEach(t=>{if(Ht(t)){e.push(...t._menuItems)}else if(!jt(t)){e.push(t)}});return e}get _navigatableMenuItems(){const e=[];const t=this.getSlottedNodes("items");t.forEach(t=>{if(Ht(t)){const i=t.getSlottedNodes("items");e.push(...i)}else if(!jt(t)){e.push(t)}});return e}_setupItemNavigation(){if(this._list){this._list._itemNavigation._getItems=()=>this._navigatableMenuItems}}_closeOtherSubMenus(e){const t=this._allMenuItems;if(!t.includes(e)){return}t.forEach(t=>{if(t!==e){t._close()}})}_itemMouseOver(e){if(!r.f$1()){return}const t=e.target;if(!oi(t)){return}t.focus();this._closeOtherSubMenus(t)}_isSpace(e){this._shiftPressed=this._isCheckable&&t.K(e);return t.A(e)||t.K(e)}_isEnter(e){this._shiftPressed=this._isCheckable&&t.i(e);return t.b(e)||t.i(e)}_onclick(e){this._shiftPressed=this._isCheckable&&e.shiftKey;super._onclick(e)}_itemKeyDown(e){const i=e.target;const o=this._allMenuItems.includes(i);const n=t.x(e)||t.V(e);const r=this.isRtl?t.R(e):t.D(e);if(o&&(n||r)){this._close();this.focus();e.stopPropagation()}}_itemKeyUp(e){if(t.Ko(e)){this._shiftPressed=false}}_endContentKeyDown(e){const i=t.P(e)||t._(e);if(i){this.fireDecoratorEvent("exit-end-content",{shouldNavigateToNextItem:t._(e)})}}_navigateOutOfEndContent(e){const t=e.target;const i=e.detail.shouldNavigateToNextItem;const o=this._allMenuItems;const n=o.indexOf(t);if(n>-1){const t=i?o[n+1]:o[n-1];const r=t||o[n];r?.focus();e.stopPropagation()}}_closeAll(){if(this._popover){this._popover.open=false}this.selected=false;this.fireDecoratorEvent("close-menu")}_close(){if(this._popover){this._popover.open=false;this._allMenuItems.forEach(e=>e._close())}this.selected=false}_beforePopoverOpen(e){const t=!this.fireDecoratorEvent("before-open",{});if(t){e.preventDefault()}}_afterPopoverOpen(){this._allMenuItems[0]?.focus();this.fireDecoratorEvent("open")}_beforePopoverClose(e){const t=!this.fireDecoratorEvent("before-close",{escPressed:e.detail.escPressed});if(t){e.preventDefault();return}this.selected=false;if(e.detail.escPressed){this.focus();if(r.d()){this.fireDecoratorEvent("close-menu")}}}_afterPopoverClose(){this.fireDecoratorEvent("close")}get isMenuItem(){return true}_updateCheckedState(){if(this._checkMode===K.None){return}const e=!this.checked;this.checked=e;this.fireDecoratorEvent("check")}};Zt([t.s()],ti.prototype,"text",void 0);Zt([t.s()],ti.prototype,"additionalText",void 0);Zt([t.s()],ti.prototype,"icon",void 0);Zt([t.s({type:Boolean})],ti.prototype,"disabled",void 0);Zt([t.s({type:Boolean})],ti.prototype,"loading",void 0);Zt([t.s({type:Number})],ti.prototype,"loadingDelay",void 0);Zt([t.s()],ti.prototype,"accessibleName",void 0);Zt([t.s()],ti.prototype,"tooltip",void 0);Zt([t.s({type:Boolean})],ti.prototype,"checked",void 0);Zt([t.s({type:Object})],ti.prototype,"accessibilityAttributes",void 0);Zt([t.s({type:Boolean,noAttribute:true})],ti.prototype,"_siblingsWithIcon",void 0);Zt([t.s()],ti.prototype,"_checkMode",void 0);Zt([t.d({default:true,type:HTMLElement,invalidateOnChildChange:true})],ti.prototype,"items",void 0);Zt([t.d()],ti.prototype,"endContent",void 0);Zt([n.i("@ui5/webcomponents")],ti,"i18nBundle",void 0);ti=ei=Zt([t.m({tag:"ui5-menu-item",renderer:i.y,template:$t,styles:[ue.styles,Jt]}),o.l("before-open",{cancelable:true}),o.l("open"),o.l("close-menu",{bubbles:true}),o.l("exit-end-content",{bubbles:true}),o.l("before-close",{cancelable:true}),o.l("close"),o.l("check",{bubbles:true})],ti);ti.define();var ii=ti;const oi=t.r$1("isMenuItem");e.ListItem=ue;e.ListItemCustom=Rt;e.ListItemTemplate=xt;e.MenuItem=ii;e.MenuItemTemplate=$t;e.edit=ie;e.isInstanceOfMenuItem=oi;e.isInstanceOfMenuItemGroup=Ht;e.isInstanceOfMenuSeparator=jt;e.slimArrowRight=B});
2
+ //# sourceMappingURL=MenuItem2.js.map