@openui5/sap.f 1.141.2 → 1.143.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 (325) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +39 -1
  3. package/THIRDPARTY.txt +36 -3
  4. package/package.json +19 -4
  5. package/src/sap/f/.library +34 -3
  6. package/src/sap/f/Avatar.js +1 -1
  7. package/src/sap/f/AvatarGroup.js +1 -1
  8. package/src/sap/f/AvatarGroupItem.js +1 -1
  9. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  10. package/src/sap/f/CalendarInCard.js +1 -1
  11. package/src/sap/f/Card.js +1 -1
  12. package/src/sap/f/CardBase.js +1 -1
  13. package/src/sap/f/DynamicPage.js +3 -4
  14. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  15. package/src/sap/f/DynamicPageHeader.js +1 -1
  16. package/src/sap/f/DynamicPageTitle.js +1 -1
  17. package/src/sap/f/FlexibleColumnLayout.js +1 -1
  18. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  19. package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
  20. package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
  21. package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
  22. package/src/sap/f/FlexibleColumnLayoutRenderer.js +2 -0
  23. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  24. package/src/sap/f/GridContainer.js +1 -1
  25. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  26. package/src/sap/f/GridContainerSettings.js +2 -2
  27. package/src/sap/f/GridList.js +1 -1
  28. package/src/sap/f/GridListItem.js +1 -1
  29. package/src/sap/f/IllustratedMessage.js +1 -1
  30. package/src/sap/f/Illustration.js +1 -1
  31. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  32. package/src/sap/f/ProductSwitch.js +1 -1
  33. package/src/sap/f/ProductSwitchItem.js +1 -1
  34. package/src/sap/f/SearchManager.js +1 -1
  35. package/src/sap/f/ShellBar.js +6 -1
  36. package/src/sap/f/SidePanel.js +1 -1
  37. package/src/sap/f/SidePanelItem.js +1 -1
  38. package/src/sap/f/cards/BaseHeader.js +1 -1
  39. package/src/sap/f/cards/Header.js +1 -1
  40. package/src/sap/f/cards/NumericHeader.js +1 -1
  41. package/src/sap/f/cards/NumericIndicators.js +1 -1
  42. package/src/sap/f/cards/NumericSideIndicator.js +1 -1
  43. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  46. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  47. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  48. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  49. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  50. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  51. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  52. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  53. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  54. package/src/sap/f/dnd/GridDragOver.js +1 -1
  55. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  56. package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +238 -0
  57. package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +339 -0
  58. package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +125 -0
  59. package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +140 -0
  60. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +64 -0
  61. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +207 -0
  62. package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +280 -0
  63. package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +347 -0
  64. package/src/sap/f/gen/ui5/webcomponents.js +2819 -0
  65. package/src/sap/f/gen/ui5/webcomponents_base.js +572 -0
  66. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +211 -0
  67. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +204 -0
  68. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +164 -0
  69. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +243 -0
  70. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +87 -0
  71. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +248 -0
  72. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +125 -0
  73. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +60 -0
  74. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +88 -0
  75. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +76 -0
  76. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +81 -0
  77. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +655 -0
  78. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +122 -0
  79. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +139 -0
  80. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +232 -0
  81. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +74 -0
  82. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +279 -0
  83. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +129 -0
  84. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +83 -0
  85. package/src/sap/f/gen/ui5/webcomponents_fiori.js +1648 -0
  86. package/src/sap/f/library.js +2 -2
  87. package/src/sap/f/messagebundle_hr.properties +1 -1
  88. package/src/sap/f/messagebundle_id.properties +1 -1
  89. package/src/sap/f/semantic/AddAction.js +1 -1
  90. package/src/sap/f/semantic/CloseAction.js +1 -1
  91. package/src/sap/f/semantic/CopyAction.js +1 -1
  92. package/src/sap/f/semantic/DeleteAction.js +1 -1
  93. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  94. package/src/sap/f/semantic/EditAction.js +1 -1
  95. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  96. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  97. package/src/sap/f/semantic/FlagAction.js +1 -1
  98. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  99. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  100. package/src/sap/f/semantic/MainAction.js +1 -1
  101. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  102. package/src/sap/f/semantic/NegativeAction.js +1 -1
  103. package/src/sap/f/semantic/PositiveAction.js +1 -1
  104. package/src/sap/f/semantic/PrintAction.js +1 -1
  105. package/src/sap/f/semantic/SemanticButton.js +1 -1
  106. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  107. package/src/sap/f/semantic/SemanticControl.js +1 -1
  108. package/src/sap/f/semantic/SemanticPage.js +1 -1
  109. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  110. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  111. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  112. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  113. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  114. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  115. package/src/sap/f/shellBar/CoPilot.js +1 -1
  116. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  117. package/src/sap/f/shellBar/Search.js +1 -1
  118. package/src/sap/f/themes/base/Card.less +16 -2
  119. package/src/sap/f/themes/base/CardHeaders.less +25 -3
  120. package/src/sap/f/themes/base/DynamicPage.less +6 -1
  121. package/src/sap/f/themes/base/SidePanel.less +2 -1
  122. package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +13 -0
  123. package/src/sap/f/thirdparty/Avatar.js +453 -0
  124. package/src/sap/f/thirdparty/BusyIndicator.js +233 -0
  125. package/src/sap/f/thirdparty/Button.js +7 -0
  126. package/src/sap/f/thirdparty/Button2.js +656 -0
  127. package/src/sap/f/thirdparty/FocusableElements.js +10 -0
  128. package/src/sap/f/thirdparty/Icon.js +313 -0
  129. package/src/sap/f/thirdparty/Icons.js +234 -0
  130. package/src/sap/f/thirdparty/IllustratedMessage.js +1297 -0
  131. package/src/sap/f/thirdparty/Label.js +115 -0
  132. package/src/sap/f/thirdparty/Link.js +316 -0
  133. package/src/sap/f/thirdparty/List.js +1253 -0
  134. package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +14 -0
  135. package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +10 -0
  136. package/src/sap/f/thirdparty/ListItemBase.js +251 -0
  137. package/src/sap/f/thirdparty/ListItemCustom.js +1689 -0
  138. package/src/sap/f/thirdparty/ListItemGroup.js +637 -0
  139. package/src/sap/f/thirdparty/Menu.js +389 -0
  140. package/src/sap/f/thirdparty/MenuItem.js +10 -0
  141. package/src/sap/f/thirdparty/MenuItem2.js +762 -0
  142. package/src/sap/f/thirdparty/NotificationList.js +291 -0
  143. package/src/sap/f/thirdparty/NotificationListGroupItem.js +310 -0
  144. package/src/sap/f/thirdparty/NotificationListItem.js +534 -0
  145. package/src/sap/f/thirdparty/NotificationListItemBase.js +98 -0
  146. package/src/sap/f/thirdparty/ResponsivePopover.js +2312 -0
  147. package/src/sap/f/thirdparty/SearchItem.css.js +10 -0
  148. package/src/sap/f/thirdparty/SearchItem.js +152 -0
  149. package/src/sap/f/thirdparty/SearchItemGroup.js +44 -0
  150. package/src/sap/f/thirdparty/SearchItemShowMore.js +86 -0
  151. package/src/sap/f/thirdparty/SearchMessageArea.js +49 -0
  152. package/src/sap/f/thirdparty/SearchScope.js +39 -0
  153. package/src/sap/f/thirdparty/ShellBar.js +1809 -0
  154. package/src/sap/f/thirdparty/ShellBarBranding.js +119 -0
  155. package/src/sap/f/thirdparty/ShellBarItem.js +89 -0
  156. package/src/sap/f/thirdparty/ShellBarSearch.js +7 -0
  157. package/src/sap/f/thirdparty/ShellBarSearch2.js +3453 -0
  158. package/src/sap/f/thirdparty/ShellBarSpacer.js +40 -0
  159. package/src/sap/f/thirdparty/Tag.js +302 -0
  160. package/src/sap/f/thirdparty/Text.js +127 -0
  161. package/src/sap/f/thirdparty/Title.js +167 -0
  162. package/src/sap/f/thirdparty/UserMenu.js +950 -0
  163. package/src/sap/f/thirdparty/UserMenuAccount.js +114 -0
  164. package/src/sap/f/thirdparty/UserMenuItem.js +61 -0
  165. package/src/sap/f/thirdparty/ValueState.js +7 -0
  166. package/src/sap/f/thirdparty/WrappingType.js +24 -0
  167. package/src/sap/f/thirdparty/_dynamics/InputComposition.js +35 -0
  168. package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +397 -0
  169. package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +193 -0
  170. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +585 -0
  171. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +585 -0
  172. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +1194 -0
  173. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +1194 -0
  174. package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2509 -0
  175. package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2509 -0
  176. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +866 -0
  177. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +611 -0
  178. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +866 -0
  179. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +611 -0
  180. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +866 -0
  181. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +611 -0
  182. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +866 -0
  183. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +611 -0
  184. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +866 -0
  185. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +611 -0
  186. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +866 -0
  187. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +611 -0
  188. package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +866 -0
  189. package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +611 -0
  190. package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +866 -0
  191. package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +611 -0
  192. package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +866 -0
  193. package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +611 -0
  194. package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +866 -0
  195. package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +611 -0
  196. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +866 -0
  197. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +611 -0
  198. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +866 -0
  199. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +611 -0
  200. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +866 -0
  201. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +611 -0
  202. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +866 -0
  203. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +611 -0
  204. package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +866 -0
  205. package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +611 -0
  206. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +866 -0
  207. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +611 -0
  208. package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +866 -0
  209. package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +611 -0
  210. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +866 -0
  211. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +611 -0
  212. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +866 -0
  213. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +611 -0
  214. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +866 -0
  215. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +611 -0
  216. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +866 -0
  217. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +611 -0
  218. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +866 -0
  219. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +611 -0
  220. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +866 -0
  221. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +611 -0
  222. package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +866 -0
  223. package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +611 -0
  224. package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +866 -0
  225. package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +611 -0
  226. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +866 -0
  227. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +611 -0
  228. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +866 -0
  229. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +611 -0
  230. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +866 -0
  231. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +611 -0
  232. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +866 -0
  233. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +611 -0
  234. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +866 -0
  235. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +611 -0
  236. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +866 -0
  237. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +611 -0
  238. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +866 -0
  239. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +611 -0
  240. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +866 -0
  241. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +611 -0
  242. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +866 -0
  243. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +611 -0
  244. package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +866 -0
  245. package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +611 -0
  246. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +866 -0
  247. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +611 -0
  248. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +866 -0
  249. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +611 -0
  250. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +866 -0
  251. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +611 -0
  252. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +866 -0
  253. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +611 -0
  254. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +866 -0
  255. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +611 -0
  256. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +866 -0
  257. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +611 -0
  258. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +866 -0
  259. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +611 -0
  260. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +866 -0
  261. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +611 -0
  262. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +866 -0
  263. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +611 -0
  264. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +866 -0
  265. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +611 -0
  266. package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +866 -0
  267. package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +611 -0
  268. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +866 -0
  269. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +611 -0
  270. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +866 -0
  271. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +611 -0
  272. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +866 -0
  273. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +611 -0
  274. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +866 -0
  275. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +611 -0
  276. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +866 -0
  277. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +611 -0
  278. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +7 -0
  279. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +7 -0
  280. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +7 -0
  281. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +7 -0
  282. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +7 -0
  283. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +7 -0
  284. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +7 -0
  285. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +7 -0
  286. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +7 -0
  287. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +7 -0
  288. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +7 -0
  289. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +7 -0
  290. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +7 -0
  291. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +7 -0
  292. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +7 -0
  293. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +7 -0
  294. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
  295. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +7 -0
  296. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +7 -0
  297. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +7 -0
  298. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +7 -0
  299. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +7 -0
  300. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +7 -0
  301. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +7 -0
  302. package/src/sap/f/thirdparty/encodeXML.js +87 -0
  303. package/src/sap/f/thirdparty/event-strict.js +7 -0
  304. package/src/sap/f/thirdparty/generateHighlightedMarkup.js +9 -0
  305. package/src/sap/f/thirdparty/i18n-defaults.js +119 -0
  306. package/src/sap/f/thirdparty/i18n-defaults2.js +159 -0
  307. package/src/sap/f/thirdparty/information.js +100 -0
  308. package/src/sap/f/thirdparty/information2.js +13 -0
  309. package/src/sap/f/thirdparty/overflow.js +25 -0
  310. package/src/sap/f/thirdparty/parameters-bundle.css.js +11 -0
  311. package/src/sap/f/thirdparty/parameters-bundle.css2.js +44 -0
  312. package/src/sap/f/thirdparty/parameters-bundle.css3.js +8 -0
  313. package/src/sap/f/thirdparty/query.js +7 -0
  314. package/src/sap/f/thirdparty/slim-arrow-down.js +44 -0
  315. package/src/sap/f/thirdparty/sys-enter-2.js +7 -0
  316. package/src/sap/f/thirdparty/toLowercaseEnumValue.js +7 -0
  317. package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +26 -0
  318. package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +26 -0
  319. package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +26 -0
  320. package/src/sap/f/thirdparty/webcomponents-base.js +7 -0
  321. package/src/sap/f/thirdparty/webcomponents-fiori.js +5 -0
  322. package/src/sap/f/thirdparty/webcomponents.js +4611 -0
  323. package/src/sap/f/thirdparty/willShowContent.js +7 -0
  324. package/ui5-build.yaml +55 -0
  325. package/ui5.yaml +46 -0
@@ -0,0 +1,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/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
+ }));