@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,389 +1,2 @@
1
- sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/ListItemCustom', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/ResponsivePopover', 'sap/f/thirdparty/MenuItem2', 'sap/f/thirdparty/List', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/information', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/ListItemAdditionalText.css', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/ValueState', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/Label', 'sap/f/thirdparty/Title', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/ListItemGroup', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/willShowContent'], (function (webcomponentsBase, eventStrict, Icons, parametersBundle_css$1, ListItemCustom, parametersBundle_css, ResponsivePopover, MenuItem, List, BusyIndicator, Button, information, i18nDefaults, FocusableElements, ListItemBase, ListItemAdditionalText_css, Icon, ValueState, AccessibilityTextsHelper, Label, Title, toLowercaseEnumValue, ListItemGroup, WrappingType, willShowContent) { 'use strict';
2
-
3
- function MenuTemplate() {
4
- return (parametersBundle_css.jsxs(ResponsivePopover.ResponsivePopover, { id: `${this._id}-menu-rp`, class: "ui5-menu-rp", placement: "Bottom", verticalAlign: "Bottom", horizontalAlign: this.horizontalAlign, opener: this.opener, open: this.open, preventInitialFocus: true, hideArrow: true, allowTargetOverlap: true, accessibleName: this.acessibleNameText, onBeforeOpen: this._beforePopoverOpen, onOpen: this._afterPopoverOpen, onBeforeClose: this._beforePopoverClose, onClose: this._afterPopoverClose, children: [this.isPhone &&
5
- parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-menu-dialog-header", children: [parametersBundle_css.jsx("div", { class: "ui5-menu-dialog-title", children: parametersBundle_css.jsx("h1", { children: this.headerText }) }), parametersBundle_css.jsx(Button.Button, { icon: information.decline, design: "Transparent", "aria-label": this.labelClose, onClick: this._close })] }), parametersBundle_css.jsx("div", { id: `${this._id}-menu-main`, children: this.items.length ?
6
- (parametersBundle_css.jsx(List.List, { id: `${this._id}- menu-list`, selectionMode: "None", loading: this.loading, loadingDelay: this.loadingDelay, separators: "None", accessibleRole: "Menu", onItemClick: this._itemClick, onMouseOver: this._itemMouseOver, onKeyDown: this._itemKeyDown, "onui5-close-menu": this._close, "onui5-exit-end-content": this._navigateOutOfEndContent, children: parametersBundle_css.jsx("slot", {}) }))
7
- : this.loading && (parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-menu-busy-indicator`, delay: this.loadingDelay, class: "ui5-menu-busy-indicator", active: true })) })] }));
8
- }
9
-
10
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
11
- 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);
12
- var menuCss = `: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}
13
- `;
14
-
15
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
16
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
18
- 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;
19
- return c > 3 && r && Object.defineProperty(target, key, r), r;
20
- };
21
- var Menu_1;
22
- const MENU_OPEN_DELAY = 300;
23
- /**
24
- * @class
25
- *
26
- * ### Overview
27
- *
28
- * `ui5-menu` component represents a hierarchical menu structure.
29
- *
30
- * ### Structure
31
- *
32
- * The `ui5-menu` can hold two types of entities:
33
- *
34
- * - `ui5-menu-item` components
35
- * - `ui5-menu-separator` - used to separate menu items with a line
36
- *
37
- * An arbitrary hierarchy structure can be represented by recursively nesting menu items.
38
- *
39
- * ### Keyboard Handling
40
- *
41
- * The `ui5-menu` provides advanced keyboard handling.
42
- * The user can use the following keyboard shortcuts in order to navigate trough the tree:
43
- *
44
- * - `Arrow Up` / `Arrow Down` - Navigates up and down the menu items that are currently visible.
45
- * - `Arrow Right`, `Space` or `Enter` - Opens a sub-menu if there are menu items nested
46
- * in the currently clicked menu item.
47
- * - `Arrow Left` or `Escape` - Closes the currently opened sub-menu.
48
- *
49
- * when there is `endContent` :
50
- * - `Arrow Left` or `ArrowRight` - Navigate between the menu item actions and the menu item itself
51
- * - `Arrow Up` / `Arrow Down` - Navigates up and down the currently visible menu items
52
- *
53
- * **Note:** If the text direction is set to Right-to-left (RTL), `Arrow Right` and `Arrow Left` functionality is swapped.
54
- *
55
- * Application developers are responsible for ensuring that interactive elements placed in the `endContent` slot
56
- * have the correct accessibility behaviour, including their enabled or disabled states.
57
- * The menu does not manage these aspects when the menu item state changes.
58
- *
59
- * ### ES6 Module Import
60
- *
61
- * `import "@ui5/webcomponents/dist/Menu.js";`
62
- * @constructor
63
- * @extends UI5Element
64
- * @since 1.3.0
65
- * @public
66
- */
67
- let Menu = Menu_1 = class Menu extends webcomponentsBase.b {
68
- constructor() {
69
- super(...arguments);
70
- /**
71
- * Indicates if the menu is open.
72
- * @public
73
- * @default false
74
- * @since 1.10.0
75
- */
76
- this.open = false;
77
- /**
78
- * Determines the horizontal alignment of the menu relative to its opener control.
79
- * @default "Start"
80
- * @public
81
- */
82
- this.horizontalAlign = "Start";
83
- /**
84
- * Defines if a loading indicator would be displayed inside the corresponding ui5-menu popover.
85
- * @default false
86
- * @public
87
- * @since 1.13.0
88
- */
89
- this.loading = false;
90
- /**
91
- * Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding ui5-menu popover.
92
- * @default 1000
93
- * @public
94
- * @since 1.13.0
95
- */
96
- this.loadingDelay = 1000;
97
- }
98
- get isRtl() {
99
- return this.effectiveDir === "rtl";
100
- }
101
- get labelClose() {
102
- return Menu_1.i18nBundle.getText(i18nDefaults.MENU_CLOSE_BUTTON_ARIA_LABEL);
103
- }
104
- get isPhone() {
105
- return Icons.d();
106
- }
107
- get _popover() {
108
- return this.shadowRoot.querySelector("[ui5-responsive-popover]");
109
- }
110
- get _list() {
111
- return this.shadowRoot.querySelector("[ui5-list]");
112
- }
113
- /** Returns menu item groups */
114
- get _menuItemGroups() {
115
- return this.items.filter(MenuItem.isInstanceOfMenuItemGroup);
116
- }
117
- /** Returns menu items */
118
- get _menuItems() {
119
- return this.items.filter(MenuItem.isInstanceOfMenuItem);
120
- }
121
- /** Returns all menu items (including those in groups */
122
- get _allMenuItems() {
123
- const items = [];
124
- this.items.forEach(item => {
125
- if (MenuItem.isInstanceOfMenuItemGroup(item)) {
126
- items.push(...item._menuItems);
127
- }
128
- else if (!MenuItem.isInstanceOfMenuSeparator(item)) {
129
- items.push(item);
130
- }
131
- });
132
- return items;
133
- }
134
- /** Returns menu items included in the ItemNavigation */
135
- get _navigatableMenuItems() {
136
- const items = [];
137
- const slottedItems = this.getSlottedNodes("items");
138
- slottedItems.forEach(item => {
139
- if (MenuItem.isInstanceOfMenuItemGroup(item)) {
140
- const groupItems = item.getSlottedNodes("items");
141
- items.push(...groupItems);
142
- }
143
- else if (!MenuItem.isInstanceOfMenuSeparator(item)) {
144
- items.push(item);
145
- }
146
- });
147
- return items;
148
- }
149
- get acessibleNameText() {
150
- return Menu_1.i18nBundle.getText(i18nDefaults.MENU_POPOVER_ACCESSIBLE_NAME);
151
- }
152
- onBeforeRendering() {
153
- const siblingsWithIcon = this._allMenuItems.some(menuItem => !!menuItem.icon);
154
- this._setupItemNavigation();
155
- this._allMenuItems.forEach(item => {
156
- item._siblingsWithIcon = siblingsWithIcon;
157
- });
158
- }
159
- getFocusDomRef() {
160
- return this._list?.getFocusDomRef();
161
- }
162
- _setupItemNavigation() {
163
- if (this._list) {
164
- this._list._itemNavigation._getItems = () => this._navigatableMenuItems;
165
- }
166
- }
167
- _close() {
168
- this.open = false;
169
- }
170
- _openItemSubMenu(item) {
171
- clearTimeout(this._timeout);
172
- if (!item._popover || item._popover.open) {
173
- return;
174
- }
175
- this.fireDecoratorEvent("before-open", {
176
- item,
177
- });
178
- item._popover.opener = item;
179
- item._popover.open = true;
180
- item.selected = true;
181
- }
182
- _itemMouseOver(e) {
183
- if (!Icons.f()) {
184
- return;
185
- }
186
- const item = e.target;
187
- if (!MenuItem.isInstanceOfMenuItem(item)) {
188
- return;
189
- }
190
- item.focus();
191
- // Opens submenu with 300ms delay
192
- this._startOpenTimeout(item);
193
- }
194
- async focus(focusOptions) {
195
- await Icons.f$1();
196
- const firstMenuItem = this._allMenuItems[0];
197
- if (firstMenuItem) {
198
- return firstMenuItem.focus(focusOptions);
199
- }
200
- return super.focus(focusOptions);
201
- }
202
- _closeOtherSubMenus(item) {
203
- const menuItems = this._allMenuItems;
204
- if (!menuItems.includes(item)) {
205
- return;
206
- }
207
- menuItems.forEach(menuItem => {
208
- if (menuItem !== item) {
209
- menuItem._close();
210
- }
211
- });
212
- }
213
- _startOpenTimeout(item) {
214
- clearTimeout(this._timeout);
215
- this._timeout = setTimeout(() => {
216
- this._closeOtherSubMenus(item);
217
- this._openItemSubMenu(item);
218
- }, MENU_OPEN_DELAY);
219
- }
220
- _itemClick(e) {
221
- const item = e.detail.item;
222
- if (!item._popover) {
223
- const prevented = !this.fireDecoratorEvent("item-click", {
224
- "item": item,
225
- "text": item.text || "",
226
- });
227
- if (!prevented) {
228
- item._updateCheckedState();
229
- this._popover && !item._shiftPressed && item.fireDecoratorEvent("close-menu");
230
- }
231
- }
232
- else {
233
- this._openItemSubMenu(item);
234
- }
235
- }
236
- _itemKeyDown(e) {
237
- const isTabNextPrevious = webcomponentsBase.x(e) || webcomponentsBase.V(e);
238
- const item = e.target;
239
- if (!MenuItem.isInstanceOfMenuItem(item)) {
240
- return;
241
- }
242
- const isEndContentNavigation = webcomponentsBase.R(e) || webcomponentsBase.D(e);
243
- const shouldOpenMenu = this.isRtl ? webcomponentsBase.D(e) : webcomponentsBase.R(e);
244
- if (webcomponentsBase.b$1(e) || isTabNextPrevious) {
245
- e.preventDefault();
246
- }
247
- if (isEndContentNavigation) {
248
- item._navigateToEndContent(webcomponentsBase.D(e));
249
- }
250
- if (shouldOpenMenu) {
251
- this._openItemSubMenu(item);
252
- }
253
- else if (isTabNextPrevious) {
254
- this._close();
255
- }
256
- }
257
- _navigateOutOfEndContent(e) {
258
- const item = e.target;
259
- const shouldNavigateToNextItem = e.detail.shouldNavigateToNextItem;
260
- const menuItems = this._allMenuItems;
261
- const itemIndex = menuItems.indexOf(item);
262
- if (itemIndex > -1) {
263
- const nextItem = shouldNavigateToNextItem ? menuItems[itemIndex + 1] : menuItems[itemIndex - 1];
264
- const itemToFocus = nextItem || menuItems[itemIndex];
265
- itemToFocus?.focus();
266
- e.stopPropagation();
267
- }
268
- }
269
- _beforePopoverOpen(e) {
270
- const prevented = !this.fireDecoratorEvent("before-open", {});
271
- if (prevented) {
272
- this.open = false;
273
- e.preventDefault();
274
- }
275
- }
276
- _afterPopoverOpen() {
277
- this._allMenuItems[0]?.focus();
278
- this.fireDecoratorEvent("open");
279
- }
280
- _beforePopoverClose(e) {
281
- const prevented = !this.fireDecoratorEvent("before-close", { escPressed: e.detail.escPressed });
282
- if (prevented) {
283
- this.open = true;
284
- e.preventDefault();
285
- }
286
- }
287
- _afterPopoverClose() {
288
- this.open = false;
289
- this.fireDecoratorEvent("close");
290
- }
291
- };
292
- __decorate([
293
- webcomponentsBase.s()
294
- ], Menu.prototype, "headerText", void 0);
295
- __decorate([
296
- webcomponentsBase.s({ type: Boolean })
297
- ], Menu.prototype, "open", void 0);
298
- __decorate([
299
- webcomponentsBase.s()
300
- ], Menu.prototype, "horizontalAlign", void 0);
301
- __decorate([
302
- webcomponentsBase.s({ type: Boolean })
303
- ], Menu.prototype, "loading", void 0);
304
- __decorate([
305
- webcomponentsBase.s({ type: Number })
306
- ], Menu.prototype, "loadingDelay", void 0);
307
- __decorate([
308
- webcomponentsBase.s({ converter: ResponsivePopover.e })
309
- ], Menu.prototype, "opener", void 0);
310
- __decorate([
311
- webcomponentsBase.d({ "default": true, type: HTMLElement, invalidateOnChildChange: true })
312
- ], Menu.prototype, "items", void 0);
313
- __decorate([
314
- parametersBundle_css$1.i("@ui5/webcomponents")
315
- ], Menu, "i18nBundle", void 0);
316
- Menu = Menu_1 = __decorate([
317
- webcomponentsBase.m({
318
- tag: "ui5-menu",
319
- renderer: parametersBundle_css.y,
320
- styles: menuCss,
321
- template: MenuTemplate,
322
- })
323
- /**
324
- * Fired when an item is being clicked.
325
- *
326
- * **Note:** Since 1.17.0 the event is preventable, allowing the menu to remain open after an item is pressed.
327
- * @param { HTMLElement } item The currently clicked menu item.
328
- * @param { string } text The text of the currently clicked menu item.
329
- * @public
330
- */
331
- ,
332
- eventStrict.l("item-click", {
333
- cancelable: true,
334
- })
335
- /**
336
- * Fired before the menu is opened. This event can be cancelled, which will prevent the menu from opening.
337
- *
338
- * **Note:** Since 1.14.0 the event is also fired before a sub-menu opens.
339
- * @public
340
- * @since 1.10.0
341
- * @param { HTMLElement } item The `ui5-menu-item` that triggers opening of the sub-menu or undefined when fired upon root menu opening.
342
- */
343
- ,
344
- eventStrict.l("before-open", {
345
- bubbles: true,
346
- cancelable: true,
347
- })
348
- /**
349
- * Fired after the menu is opened.
350
- * @public
351
- * @since 1.10.0
352
- */
353
- ,
354
- eventStrict.l("open", {
355
- bubbles: true,
356
- })
357
- /**
358
- * Fired when the menu is being closed.
359
- * @private
360
- */
361
- ,
362
- eventStrict.l("close-menu", {
363
- bubbles: true,
364
- })
365
- /**
366
- * Fired before the menu is closed. This event can be cancelled, which will prevent the menu from closing.
367
- * @public
368
- * @param {boolean} escPressed Indicates that `ESC` key has triggered the event.
369
- * @since 1.10.0
370
- */
371
- ,
372
- eventStrict.l("before-close", {
373
- bubbles: true,
374
- cancelable: true,
375
- })
376
- /**
377
- * Fired after the menu is closed.
378
- * @public
379
- * @since 1.10.0
380
- */
381
- ,
382
- eventStrict.l("close")
383
- ], Menu);
384
- Menu.define();
385
- var Menu$1 = Menu;
386
-
387
- return Menu$1;
388
-
389
- }));
1
+ sap.ui.define(["sap/f/thirdparty/webcomponents","sap/f/thirdparty/event-strict","sap/f/thirdparty/Theme","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/MenuItem2","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/ResponsivePopover","sap/f/thirdparty/List","sap/f/thirdparty/BusyIndicator","sap/f/thirdparty/Button2","sap/f/thirdparty/i18n-defaults2","sap/f/thirdparty/Icons","sap/f/thirdparty/information","sap/f/thirdparty/FocusableElements","sap/f/thirdparty/ListItemBase","sap/f/thirdparty/ListItemAdditionalText.css","sap/f/thirdparty/Icon","sap/f/thirdparty/ValueState","sap/f/thirdparty/AccessibilityTextsHelper","sap/f/thirdparty/Label","sap/f/thirdparty/Title","sap/f/thirdparty/toLowercaseEnumValue","sap/f/thirdparty/ListItemGroup","sap/f/thirdparty/WrappingType","sap/f/thirdparty/willShowContent"],function(e,t,i,o,s,n,r,a,l,p,u,c,h,d,f,m,_,v,g,y,b,I,x,O,M){"use strict";function w(){return n.jsxs(r.ResponsivePopover,{id:`${this._id}-menu-rp`,class:"ui5-menu-rp",placement:this.placement,verticalAlign:"Bottom",horizontalAlign:this.horizontalAlign,opener:this.opener,open:this.open,preventInitialFocus:true,hideArrow:true,allowTargetOverlap:true,accessibleName:this.accessibleNameText,onBeforeOpen:this._beforePopoverOpen,onOpen:this._afterPopoverOpen,onBeforeClose:this._beforePopoverClose,onClose:this._afterPopoverClose,children:[this.isPhone&&n.jsx("div",{slot:"header",class:"ui5-menu-dialog-header",children:n.jsx("div",{class:"ui5-menu-dialog-title",children:n.jsx("h1",{children:this.headerText})})}),n.jsx("div",{id:`${this._id}-menu-main`,class:this.loading?"ui5-menu-busy-indicator-main":"",children:this.items.length?n.jsx(a.List,{id:`${this._id}- menu-list`,selectionMode:"None",loading:this.loading,loadingDelay:this.loadingDelay,separators:"None",accessibleRole:"Menu",onItemClick:this._itemClick,onMouseOver:this._itemMouseOver,onKeyDown:this._itemKeyDown,"onui5-close-menu":this._close,"onui5-exit-end-content":this._navigateOutOfEndContent,children:n.jsx("slot",{})}):this.loading&&n.jsx(l.BusyIndicator,{id:`${this._id}-menu-busy-indicator`,delay:this.loadingDelay,class:"ui5-menu-busy-indicator",active:true})}),this.isPhone&&n.jsx("div",{slot:"footer",class:"ui5-menu-dialog-footer",children:n.jsx(p.Button,{design:"Transparent",onClick:this._close,children:this.labelCancel})})]})}i.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>n.defaultThemeBase);i.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>o.defaultTheme,"host");var T=`: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)}\n`;var C=this&&this.__decorate||function(e,t,i,o){var s=arguments.length,n=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(r=e[a])n=(s<3?r(n):s>3?r(t,i,n):r(t,i))||n;return s>3&&n&&Object.defineProperty(t,i,n),n};var D;const E=300;let P=D=class t extends e.S{constructor(){super(...arguments);this.open=false;this.placement="Bottom";this.horizontalAlign="Start";this.loading=false;this.loadingDelay=1e3}get isRtl(){return this.effectiveDir==="rtl"}get labelCancel(){return D.i18nBundle.getText(u.MENU_CANCEL_BUTTON_TEXT)}get isPhone(){return i.d()}get _popover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}get _list(){return this.shadowRoot.querySelector("[ui5-list]")}get _menuItemGroups(){return this.items.filter(s.isInstanceOfMenuItemGroup)}get _menuItems(){return this.items.filter(s.isInstanceOfMenuItem)}get _allMenuItems(){const e=[];const t=this.getSlottedNodes("items");t.forEach(t=>{if(s.isInstanceOfMenuItemGroup(t)){e.push(...t._menuItems)}else if(!s.isInstanceOfMenuSeparator(t)){e.push(t)}});return e}get _navigatableMenuItems(){const e=[];const t=this.getSlottedNodes("items");t.forEach(t=>{if(s.isInstanceOfMenuItemGroup(t)){const i=t.getSlottedNodes("items");e.push(...i)}else if(!s.isInstanceOfMenuSeparator(t)){e.push(t)}});return e}get accessibleNameText(){return D.i18nBundle.getText(u.MENU_POPOVER_ACCESSIBLE_NAME)}onBeforeRendering(){const e=this._allMenuItems.some(e=>!!e.icon);this._setupItemNavigation();this._allMenuItems.forEach(t=>{t._siblingsWithIcon=e})}getFocusDomRef(){return this._list?.getFocusDomRef()}_setupItemNavigation(){if(this._list){this._list._itemNavigation._getItems=()=>this._navigatableMenuItems}}_close(){this.open=false}_openItemSubMenu(e){clearTimeout(this._timeout);if(!e._popover||e._popover.open){return}this.fireDecoratorEvent("before-open",{item:e});e._popover.opener=e;e._popover.open=true;e.selected=true}_itemMouseOver(e){if(!i.f$1()){return}const t=e.target;if(!s.isInstanceOfMenuItem(t)){return}t.focus();this._startOpenTimeout(t)}async focus(e){await i.f$2();const t=this._allMenuItems[0];if(t){return t.focus(e)}return super.focus(e)}_closeOtherSubMenus(e){const t=this._allMenuItems;if(!t.includes(e)){return}t.forEach(t=>{if(t!==e){t._close()}})}_startOpenTimeout(e){clearTimeout(this._timeout);this._timeout=setTimeout(()=>{this._closeOtherSubMenus(e);this._openItemSubMenu(e)},E)}_itemClick(e){const t=e.detail.item;if(!t._popover){const e=!this.fireDecoratorEvent("item-click",{item:t,text:t.text||""});if(!e){t._updateCheckedState();this._popover&&!t._shiftPressed&&t.fireDecoratorEvent("close-menu")}}else{this._openItemSubMenu(t)}}_itemKeyDown(t){const i=e.x(t)||e.V(t);const o=t.target;if(!s.isInstanceOfMenuItem(o)){return}const n=e.R(t)||e.D(t);const r=this.isRtl?e.D(t):e.R(t);if(e.b(t)||i){t.preventDefault()}if(n){o._navigateToEndContent(e.D(t))}if(r){this._openItemSubMenu(o)}else if(i){this._close()}}_navigateOutOfEndContent(e){const t=e.target;const i=e.detail.shouldNavigateToNextItem;const o=this._allMenuItems;const s=o.indexOf(t);if(s>-1){const t=i?o[s+1]:o[s-1];const n=t||o[s];n?.focus();e.stopPropagation()}}_beforePopoverOpen(e){const t=!this.fireDecoratorEvent("before-open",{});if(t){this.open=false;e.preventDefault()}}_afterPopoverOpen(){this._allMenuItems[0]?.focus();this.fireDecoratorEvent("open")}_beforePopoverClose(e){const t=!this.fireDecoratorEvent("before-close",{escPressed:e.detail.escPressed});if(t){this.open=true;e.preventDefault()}}_afterPopoverClose(){this.open=false;this.fireDecoratorEvent("close")}};C([e.s()],P.prototype,"headerText",void 0);C([e.s({type:Boolean})],P.prototype,"open",void 0);C([e.s()],P.prototype,"placement",void 0);C([e.s()],P.prototype,"horizontalAlign",void 0);C([e.s({type:Boolean})],P.prototype,"loading",void 0);C([e.s({type:Number})],P.prototype,"loadingDelay",void 0);C([e.s({converter:r.e})],P.prototype,"opener",void 0);C([e.d({default:true,type:HTMLElement,invalidateOnChildChange:true})],P.prototype,"items",void 0);C([o.i("@ui5/webcomponents")],P,"i18nBundle",void 0);P=D=C([e.m({tag:"ui5-menu",renderer:n.y,styles:T,template:w}),t.l("item-click",{cancelable:true}),t.l("before-open",{bubbles:true,cancelable:true}),t.l("open",{bubbles:true}),t.l("close-menu",{bubbles:true}),t.l("before-close",{bubbles:true,cancelable:true}),t.l("close")],P);P.define();var S=P;return S});
2
+ //# sourceMappingURL=Menu.js.map
@@ -1,10 +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/MenuItem2', 'sap/f/thirdparty/ListItemCustom', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/information', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/ResponsivePopover', 'sap/f/thirdparty/Title', 'sap/f/thirdparty/ValueState', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Label', 'sap/f/thirdparty/List', 'sap/f/thirdparty/ListItemGroup', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/ListItemAdditionalText.css'], (function (exports, webcomponentsBase, parametersBundle_css, eventStrict, parametersBundle_css$1, Icons, MenuItem, ListItemCustom, i18nDefaults, information, ListItemBase, ResponsivePopover, Title, ValueState, toLowercaseEnumValue, FocusableElements, AccessibilityTextsHelper, Icon, Button, willShowContent, BusyIndicator, Label, List, ListItemGroup, WrappingType, ListItemAdditionalText_css) { 'use strict';
2
-
3
-
4
-
5
- exports.default = MenuItem.MenuItem;
6
- exports.isInstanceOfMenuItem = MenuItem.isInstanceOfMenuItem;
7
-
8
- Object.defineProperty(exports, '__esModule', { value: true });
9
-
10
- }));
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/MenuItem2","sap/f/thirdparty/i18n-defaults2","sap/f/thirdparty/Icons","sap/f/thirdparty/information","sap/f/thirdparty/FocusableElements","sap/f/thirdparty/ListItemBase","sap/f/thirdparty/List","sap/f/thirdparty/toLowercaseEnumValue","sap/f/thirdparty/ListItemGroup","sap/f/thirdparty/WrappingType","sap/f/thirdparty/AccessibilityTextsHelper","sap/f/thirdparty/BusyIndicator","sap/f/thirdparty/willShowContent","sap/f/thirdparty/Label","sap/f/thirdparty/ListItemAdditionalText.css","sap/f/thirdparty/Button2","sap/f/thirdparty/Icon","sap/f/thirdparty/ValueState","sap/f/thirdparty/ResponsivePopover","sap/f/thirdparty/Title"],function(t,a,r,p,e,s,i,d,f,n,y,h,o,u,c,l,m,I,b,L,M,T,v,w,x,B){"use strict";t.default=i.MenuItem;t.isInstanceOfMenuItem=i.isInstanceOfMenuItem;Object.defineProperty(t,"__esModule",{value:true})});
2
+ //# sourceMappingURL=MenuItem.js.map