@openui5/sap.f 1.145.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 (395) hide show
  1. package/THIRDPARTY.txt +7 -7
  2. package/package.json +10 -10
  3. package/src/sap/f/.library +8 -8
  4. package/src/sap/f/Avatar.js +1 -1
  5. package/src/sap/f/AvatarGroup.js +8 -2
  6. package/src/sap/f/AvatarGroupItem.js +1 -1
  7. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  8. package/src/sap/f/CalendarInCard.js +1 -1
  9. package/src/sap/f/Card.js +1 -1
  10. package/src/sap/f/CardBase.js +3 -3
  11. package/src/sap/f/DynamicPage.js +1 -1
  12. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  13. package/src/sap/f/DynamicPageHeader.js +1 -1
  14. package/src/sap/f/DynamicPageTitle.js +1 -1
  15. package/src/sap/f/FlexibleColumnLayout.js +8 -2
  16. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  17. package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
  18. package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
  19. package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
  20. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  21. package/src/sap/f/GridContainer.js +1 -1
  22. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  23. package/src/sap/f/GridContainerSettings.js +2 -2
  24. package/src/sap/f/GridList.js +1 -1
  25. package/src/sap/f/GridListItem.js +1 -1
  26. package/src/sap/f/IllustratedMessage.js +1 -1
  27. package/src/sap/f/Illustration.js +1 -1
  28. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  29. package/src/sap/f/ProductSwitch.js +1 -1
  30. package/src/sap/f/ProductSwitchItem.js +1 -1
  31. package/src/sap/f/SearchManager.js +1 -1
  32. package/src/sap/f/ShellBar.js +1 -1
  33. package/src/sap/f/SidePanel.js +5 -1
  34. package/src/sap/f/SidePanelItem.js +7 -1
  35. package/src/sap/f/cards/BaseHeader.js +39 -26
  36. package/src/sap/f/cards/Header.js +7 -7
  37. package/src/sap/f/cards/NumericHeader.js +22 -23
  38. package/src/sap/f/cards/NumericIndicators.js +1 -2
  39. package/src/sap/f/cards/NumericSideIndicator.js +2 -3
  40. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  41. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  42. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  43. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  46. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  47. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  48. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  49. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  50. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  51. package/src/sap/f/dnd/GridDragOver.js +1 -1
  52. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  53. package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +2 -246
  54. package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +2 -349
  55. package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +2 -126
  56. package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +2 -141
  57. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +2 -60
  58. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +2 -208
  59. package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +2 -283
  60. package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +2 -357
  61. package/src/sap/f/gen/ui5/webcomponents.js +2 -3155
  62. package/src/sap/f/gen/ui5/webcomponents_base.js +2 -600
  63. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +2 -214
  64. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +2 -203
  65. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +2 -167
  66. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +2 -248
  67. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +2 -86
  68. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +2 -254
  69. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +2 -128
  70. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +2 -56
  71. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +2 -87
  72. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +2 -75
  73. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +2 -80
  74. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +2 -669
  75. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +2 -123
  76. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +2 -140
  77. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +2 -236
  78. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +2 -72
  79. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +2 -282
  80. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +2 -134
  81. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +2 -79
  82. package/src/sap/f/gen/ui5/webcomponents_fiori.js +2 -1859
  83. package/src/sap/f/library.js +3 -4
  84. package/src/sap/f/routing/Target.js +2 -2
  85. package/src/sap/f/semantic/AddAction.js +1 -1
  86. package/src/sap/f/semantic/CloseAction.js +1 -1
  87. package/src/sap/f/semantic/CopyAction.js +1 -1
  88. package/src/sap/f/semantic/DeleteAction.js +1 -1
  89. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  90. package/src/sap/f/semantic/EditAction.js +1 -1
  91. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  92. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  93. package/src/sap/f/semantic/FlagAction.js +1 -1
  94. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  95. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  96. package/src/sap/f/semantic/MainAction.js +1 -1
  97. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  98. package/src/sap/f/semantic/NegativeAction.js +1 -1
  99. package/src/sap/f/semantic/PositiveAction.js +1 -1
  100. package/src/sap/f/semantic/PrintAction.js +1 -1
  101. package/src/sap/f/semantic/SemanticButton.js +1 -1
  102. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  103. package/src/sap/f/semantic/SemanticControl.js +1 -1
  104. package/src/sap/f/semantic/SemanticPage.js +1 -1
  105. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  106. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  107. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  108. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  109. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  110. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  111. package/src/sap/f/shellBar/CoPilot.js +1 -1
  112. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  113. package/src/sap/f/shellBar/Search.js +1 -1
  114. package/src/sap/f/themes/base/AvatarGroup.less +2 -2
  115. package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +2 -13
  116. package/src/sap/f/thirdparty/Avatar.js +2 -453
  117. package/src/sap/f/thirdparty/BusyIndicator.js +2 -233
  118. package/src/sap/f/thirdparty/Button.js +2 -7
  119. package/src/sap/f/thirdparty/Button2.js +2 -656
  120. package/src/sap/f/thirdparty/FocusableElements.js +2 -10
  121. package/src/sap/f/thirdparty/Icon.js +2 -313
  122. package/src/sap/f/thirdparty/Icons.js +2 -56
  123. package/src/sap/f/thirdparty/IllustratedMessage.js +2 -1295
  124. package/src/sap/f/thirdparty/Illustrations.js +2 -9
  125. package/src/sap/f/thirdparty/Label.js +2 -115
  126. package/src/sap/f/thirdparty/Link.js +2 -316
  127. package/src/sap/f/thirdparty/List.js +2 -1253
  128. package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +2 -14
  129. package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +2 -10
  130. package/src/sap/f/thirdparty/ListItemBase.js +2 -251
  131. package/src/sap/f/thirdparty/ListItemGroup.js +2 -637
  132. package/src/sap/f/thirdparty/Menu.js +2 -389
  133. package/src/sap/f/thirdparty/MenuItem.js +2 -10
  134. package/src/sap/f/thirdparty/MenuItem2.js +2 -762
  135. package/src/sap/f/thirdparty/NotificationList.js +2 -291
  136. package/src/sap/f/thirdparty/NotificationListGroupItem.js +2 -310
  137. package/src/sap/f/thirdparty/NotificationListItem.js +2 -534
  138. package/src/sap/f/thirdparty/NotificationListItemBase.js +2 -98
  139. package/src/sap/f/thirdparty/ResponsivePopover.js +2 -2312
  140. package/src/sap/f/thirdparty/SearchItem.css.js +2 -10
  141. package/src/sap/f/thirdparty/SearchItem.js +2 -152
  142. package/src/sap/f/thirdparty/SearchItemGroup.js +2 -44
  143. package/src/sap/f/thirdparty/SearchItemShowMore.js +2 -86
  144. package/src/sap/f/thirdparty/SearchMessageArea.js +2 -49
  145. package/src/sap/f/thirdparty/SearchScope.js +2 -39
  146. package/src/sap/f/thirdparty/ShellBar.js +2 -1809
  147. package/src/sap/f/thirdparty/ShellBarBranding.js +2 -119
  148. package/src/sap/f/thirdparty/ShellBarItem.js +2 -89
  149. package/src/sap/f/thirdparty/ShellBarSearch.js +2 -7
  150. package/src/sap/f/thirdparty/ShellBarSearch2.js +2 -3453
  151. package/src/sap/f/thirdparty/ShellBarSpacer.js +2 -40
  152. package/src/sap/f/thirdparty/Tag.js +2 -302
  153. package/src/sap/f/thirdparty/Text.js +2 -127
  154. package/src/sap/f/thirdparty/Theme.js +2 -187
  155. package/src/sap/f/thirdparty/Title.js +2 -167
  156. package/src/sap/f/thirdparty/UserMenu.js +2 -950
  157. package/src/sap/f/thirdparty/UserMenuAccount.js +2 -114
  158. package/src/sap/f/thirdparty/UserMenuItem.js +2 -61
  159. package/src/sap/f/thirdparty/ValueState.js +2 -7
  160. package/src/sap/f/thirdparty/WrappingType.js +2 -24
  161. package/src/sap/f/thirdparty/_dynamics/InputComposition.js +2 -35
  162. package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +2 -397
  163. package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +2 -193
  164. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +2 -585
  165. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +2 -585
  166. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +2 -1194
  167. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +2 -1194
  168. package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2 -2509
  169. package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2 -2509
  170. package/src/sap/f/thirdparty/_dynamics/ar.js +2 -0
  171. package/src/sap/f/thirdparty/_dynamics/ar_EG.js +2 -0
  172. package/src/sap/f/thirdparty/_dynamics/ar_SA.js +2 -0
  173. package/src/sap/f/thirdparty/_dynamics/bg.js +2 -0
  174. package/src/sap/f/thirdparty/_dynamics/ca.js +2 -0
  175. package/src/sap/f/thirdparty/_dynamics/cnr.js +2 -0
  176. package/src/sap/f/thirdparty/_dynamics/cs.js +2 -0
  177. package/src/sap/f/thirdparty/_dynamics/da.js +2 -0
  178. package/src/sap/f/thirdparty/_dynamics/de.js +2 -0
  179. package/src/sap/f/thirdparty/_dynamics/de_AT.js +2 -0
  180. package/src/sap/f/thirdparty/_dynamics/de_CH.js +2 -0
  181. package/src/sap/f/thirdparty/_dynamics/el.js +2 -0
  182. package/src/sap/f/thirdparty/_dynamics/el_CY.js +2 -0
  183. package/src/sap/f/thirdparty/_dynamics/en.js +2 -0
  184. package/src/sap/f/thirdparty/_dynamics/en_AU.js +2 -0
  185. package/src/sap/f/thirdparty/_dynamics/en_GB.js +2 -0
  186. package/src/sap/f/thirdparty/_dynamics/en_HK.js +2 -0
  187. package/src/sap/f/thirdparty/_dynamics/en_IE.js +2 -0
  188. package/src/sap/f/thirdparty/_dynamics/en_IN.js +2 -0
  189. package/src/sap/f/thirdparty/_dynamics/en_NZ.js +2 -0
  190. package/src/sap/f/thirdparty/_dynamics/en_PG.js +2 -0
  191. package/src/sap/f/thirdparty/_dynamics/en_SG.js +2 -0
  192. package/src/sap/f/thirdparty/_dynamics/en_ZA.js +2 -0
  193. package/src/sap/f/thirdparty/_dynamics/es.js +2 -0
  194. package/src/sap/f/thirdparty/_dynamics/es_AR.js +2 -0
  195. package/src/sap/f/thirdparty/_dynamics/es_BO.js +2 -0
  196. package/src/sap/f/thirdparty/_dynamics/es_CL.js +2 -0
  197. package/src/sap/f/thirdparty/_dynamics/es_CO.js +2 -0
  198. package/src/sap/f/thirdparty/_dynamics/es_MX.js +2 -0
  199. package/src/sap/f/thirdparty/_dynamics/es_PE.js +2 -0
  200. package/src/sap/f/thirdparty/_dynamics/es_UY.js +2 -0
  201. package/src/sap/f/thirdparty/_dynamics/es_VE.js +2 -0
  202. package/src/sap/f/thirdparty/_dynamics/et.js +2 -0
  203. package/src/sap/f/thirdparty/_dynamics/fa.js +2 -0
  204. package/src/sap/f/thirdparty/_dynamics/fi.js +2 -0
  205. package/src/sap/f/thirdparty/_dynamics/fr.js +2 -0
  206. package/src/sap/f/thirdparty/_dynamics/fr_BE.js +2 -0
  207. package/src/sap/f/thirdparty/_dynamics/fr_CA.js +2 -0
  208. package/src/sap/f/thirdparty/_dynamics/fr_CH.js +2 -0
  209. package/src/sap/f/thirdparty/_dynamics/fr_LU.js +2 -0
  210. package/src/sap/f/thirdparty/_dynamics/he.js +2 -0
  211. package/src/sap/f/thirdparty/_dynamics/hi.js +2 -0
  212. package/src/sap/f/thirdparty/_dynamics/hr.js +2 -0
  213. package/src/sap/f/thirdparty/_dynamics/hu.js +2 -0
  214. package/src/sap/f/thirdparty/_dynamics/id.js +2 -0
  215. package/src/sap/f/thirdparty/_dynamics/it.js +2 -0
  216. package/src/sap/f/thirdparty/_dynamics/it_CH.js +2 -0
  217. package/src/sap/f/thirdparty/_dynamics/ja.js +2 -0
  218. package/src/sap/f/thirdparty/_dynamics/kk.js +2 -0
  219. package/src/sap/f/thirdparty/_dynamics/ko.js +2 -0
  220. package/src/sap/f/thirdparty/_dynamics/lt.js +2 -0
  221. package/src/sap/f/thirdparty/_dynamics/lv.js +2 -0
  222. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +2 -866
  223. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +2 -611
  224. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +2 -866
  225. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +2 -611
  226. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +2 -866
  227. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +2 -611
  228. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +2 -866
  229. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +2 -611
  230. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +2 -866
  231. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +2 -611
  232. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +2 -866
  233. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +2 -611
  234. package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +2 -866
  235. package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +2 -611
  236. package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +2 -866
  237. package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +2 -611
  238. package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +2 -866
  239. package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +2 -611
  240. package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +2 -866
  241. package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +2 -611
  242. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +2 -866
  243. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +2 -611
  244. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +2 -866
  245. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +2 -611
  246. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +2 -866
  247. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +2 -611
  248. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +2 -866
  249. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +2 -611
  250. package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +2 -866
  251. package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +2 -611
  252. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +2 -866
  253. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +2 -611
  254. package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +2 -866
  255. package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +2 -611
  256. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +2 -866
  257. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +2 -611
  258. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +2 -866
  259. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +2 -611
  260. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +2 -866
  261. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +2 -611
  262. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +2 -866
  263. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +2 -611
  264. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +2 -866
  265. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +2 -611
  266. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +2 -866
  267. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +2 -611
  268. package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +2 -866
  269. package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +2 -611
  270. package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +2 -866
  271. package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +2 -611
  272. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +2 -866
  273. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +2 -611
  274. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +2 -866
  275. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +2 -611
  276. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +2 -866
  277. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +2 -611
  278. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +2 -866
  279. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +2 -611
  280. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +2 -866
  281. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +2 -611
  282. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +2 -866
  283. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +2 -611
  284. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +2 -866
  285. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +2 -611
  286. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +2 -866
  287. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +2 -611
  288. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +2 -866
  289. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +2 -611
  290. package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +2 -866
  291. package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +2 -611
  292. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +2 -866
  293. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +2 -611
  294. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +2 -866
  295. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +2 -611
  296. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +2 -866
  297. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +2 -611
  298. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +2 -866
  299. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +2 -611
  300. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +2 -866
  301. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +2 -611
  302. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +2 -866
  303. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +2 -611
  304. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +2 -866
  305. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +2 -611
  306. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +2 -866
  307. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +2 -611
  308. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +2 -866
  309. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +2 -611
  310. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +2 -866
  311. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +2 -611
  312. package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +2 -866
  313. package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +2 -611
  314. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +2 -866
  315. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +2 -611
  316. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +2 -866
  317. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +2 -611
  318. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +2 -866
  319. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +2 -611
  320. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +2 -866
  321. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +2 -611
  322. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +2 -866
  323. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +2 -611
  324. package/src/sap/f/thirdparty/_dynamics/mk.js +2 -0
  325. package/src/sap/f/thirdparty/_dynamics/ms.js +2 -0
  326. package/src/sap/f/thirdparty/_dynamics/nb.js +2 -0
  327. package/src/sap/f/thirdparty/_dynamics/nl.js +2 -0
  328. package/src/sap/f/thirdparty/_dynamics/nl_BE.js +2 -0
  329. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +2 -7
  330. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +2 -7
  331. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +2 -7
  332. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +2 -7
  333. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +2 -7
  334. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +2 -7
  335. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +2 -7
  336. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +2 -7
  337. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +2 -7
  338. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +2 -7
  339. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +2 -7
  340. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +2 -7
  341. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +2 -7
  342. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +2 -7
  343. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +2 -7
  344. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +2 -7
  345. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +2 -7
  346. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +2 -7
  347. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +2 -7
  348. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +2 -7
  349. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +2 -7
  350. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +2 -7
  351. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +2 -7
  352. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +2 -7
  353. package/src/sap/f/thirdparty/_dynamics/pl.js +2 -0
  354. package/src/sap/f/thirdparty/_dynamics/pt.js +2 -0
  355. package/src/sap/f/thirdparty/_dynamics/pt_PT.js +2 -0
  356. package/src/sap/f/thirdparty/_dynamics/ro.js +2 -0
  357. package/src/sap/f/thirdparty/_dynamics/ru.js +2 -0
  358. package/src/sap/f/thirdparty/_dynamics/ru_UA.js +2 -0
  359. package/src/sap/f/thirdparty/_dynamics/sk.js +2 -0
  360. package/src/sap/f/thirdparty/_dynamics/sl.js +2 -0
  361. package/src/sap/f/thirdparty/_dynamics/sr.js +2 -0
  362. package/src/sap/f/thirdparty/_dynamics/sr_Latn.js +2 -0
  363. package/src/sap/f/thirdparty/_dynamics/sv.js +2 -0
  364. package/src/sap/f/thirdparty/_dynamics/th.js +2 -0
  365. package/src/sap/f/thirdparty/_dynamics/tr.js +2 -0
  366. package/src/sap/f/thirdparty/_dynamics/uk.js +2 -0
  367. package/src/sap/f/thirdparty/_dynamics/vi.js +2 -0
  368. package/src/sap/f/thirdparty/_dynamics/zh_CN.js +2 -0
  369. package/src/sap/f/thirdparty/_dynamics/zh_HK.js +2 -0
  370. package/src/sap/f/thirdparty/_dynamics/zh_SG.js +2 -0
  371. package/src/sap/f/thirdparty/_dynamics/zh_TW.js +2 -0
  372. package/src/sap/f/thirdparty/encodeXML.js +6 -81
  373. package/src/sap/f/thirdparty/event-strict.js +2 -7
  374. package/src/sap/f/thirdparty/generateHighlightedMarkup.js +2 -9
  375. package/src/sap/f/thirdparty/i18n-defaults.js +2 -123
  376. package/src/sap/f/thirdparty/i18n-defaults2.js +2 -159
  377. package/src/sap/f/thirdparty/information.js +2 -100
  378. package/src/sap/f/thirdparty/information2.js +2 -13
  379. package/src/sap/f/thirdparty/overflow.js +2 -25
  380. package/src/sap/f/thirdparty/parameters-bundle.css.js +2 -11
  381. package/src/sap/f/thirdparty/parameters-bundle.css2.js +2 -44
  382. package/src/sap/f/thirdparty/parameters-bundle.css3.js +2 -8
  383. package/src/sap/f/thirdparty/query.js +2 -7
  384. package/src/sap/f/thirdparty/slim-arrow-down.js +2 -44
  385. package/src/sap/f/thirdparty/sys-enter-2.js +2 -7
  386. package/src/sap/f/thirdparty/toLowercaseEnumValue.js +2 -7
  387. package/src/sap/f/thirdparty/ui5/webcomponents_fiori/dist/illustrations/UnableToUpload.js +2 -132
  388. package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +2 -26
  389. package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +2 -26
  390. package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +2 -26
  391. package/src/sap/f/thirdparty/webcomponents-base.js +2 -7
  392. package/src/sap/f/thirdparty/webcomponents-fiori.js +2 -5
  393. package/src/sap/f/thirdparty/webcomponents.js +51 -4589
  394. package/src/sap/f/thirdparty/willShowContent.js +2 -7
  395. package/src/sap/f/thirdparty/ListItemCustom.js +0 -1689
@@ -1,950 +1,2 @@
1
- sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/query', 'sap/f/thirdparty/ResponsivePopover', 'sap/f/thirdparty/Theme', 'sap/f/thirdparty/Avatar', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/Tag', 'sap/f/thirdparty/Title', 'sap/f/thirdparty/Text', 'sap/f/thirdparty/Label', 'sap/f/thirdparty/List', 'sap/f/thirdparty/ListItemCustom', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/information', 'sap/f/thirdparty/sys-enter-2', 'sap/f/thirdparty/parameters-bundle.css3', 'sap/f/thirdparty/i18n-defaults', 'sap/f/thirdparty/ValueState', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/ListItemGroup', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/ListItemAdditionalText.css'], (function (webcomponentsBase, eventStrict, parametersBundle_css$1, parametersBundle_css, query, ResponsivePopover, Theme, Avatar, Button, Icon, Tag, Title, Text, Label, List, ListItemCustom, i18nDefaults, Icons, information, sysEnter2, parametersBundle_css$2, i18nDefaults$1, ValueState, toLowercaseEnumValue, FocusableElements, ListItemBase, AccessibilityTextsHelper, willShowContent, BusyIndicator, ListItemGroup, WrappingType, ListItemAdditionalText_css) { 'use strict';
2
-
3
- function PanelTemplate() {
4
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsxs("div", { class: "ui5-panel-root", role: this.accRole, "aria-label": this.effectiveAccessibleName, "aria-labelledby": this.fixedPanelAriaLabelledbyReference, children: [this.hasHeaderOrHeaderText &&
5
- // header: either header or h1 with header text
6
- parametersBundle_css.jsx("div", { class: {
7
- "ui5-panel-heading-wrapper": true,
8
- "ui5-panel-heading-wrapper-sticky": this.stickyHeader,
9
- }, role: this.headingWrapperRole, "aria-level": this.headingWrapperAriaLevel, children: parametersBundle_css.jsxs("div", { onClick: this._headerClick, onKeyDown: this._headerKeyDown, onKeyUp: this._headerKeyUp, class: "ui5-panel-header", tabindex: this.headerTabIndex, role: this.accInfo.role, "aria-expanded": this.accInfo.ariaExpanded, "aria-controls": this.accInfo.ariaControls, "aria-labelledby": this.accInfo.ariaLabelledby, part: "header", children: [!this.fixed &&
10
- parametersBundle_css.jsx("div", { class: "ui5-panel-header-button-root", children: this._hasHeader ?
11
- parametersBundle_css.jsx(Button.Button, { design: "Transparent", class: "ui5-panel-header-button ui5-panel-header-button-with-icon", onClick: this._toggleButtonClick, accessibilityAttributes: this.accInfo.button.accessibilityAttributes, tooltip: this.accInfo.button.title, accessibleName: this.accInfo.button.ariaLabelButton, children: parametersBundle_css.jsx("div", { class: "ui5-panel-header-icon-wrapper", children: parametersBundle_css.jsx(Icon.Icon, { class: {
12
- "ui5-panel-header-icon": true,
13
- "ui5-panel-header-button-animated": !this.shouldNotAnimate,
14
- }, name: ListItemCustom.slimArrowRight }) }) })
15
- : // else
16
- parametersBundle_css.jsx(Icon.Icon, { class: {
17
- "ui5-panel-header-button": true,
18
- "ui5-panel-header-icon": true,
19
- "ui5-panel-header-button-animated": !this.shouldNotAnimate,
20
- }, name: ListItemCustom.slimArrowRight, showTooltip: true, accessibleName: this.toggleButtonTitle }) }), this._hasHeader ?
21
- parametersBundle_css.jsx("slot", { name: "header" })
22
- : // else
23
- parametersBundle_css.jsx("div", { id: `${this._id}-header-title`, class: "ui5-panel-header-title", children: this.headerText })] }) }), parametersBundle_css.jsx("div", { class: "ui5-panel-content", id: `${this._id}-content`, tabindex: -1, style: {
24
- display: this._contentExpanded ? "block" : "none",
25
- }, part: "content", children: parametersBundle_css.jsx("slot", {}) })] }) }));
26
- }
27
-
28
- Theme.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
29
- Theme.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
30
- var panelCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block}:host{font-family:var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v2-15-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v2-15-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v2-15-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v2-15-0_panel_header_padding_right);font-family:var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v2-15-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v2-15-0_panel_focus_border);border-radius:var(--_ui5-v2-15-0_panel_border_radius);top:var(--_ui5-v2-15-0_panel_focus_offset);bottom:var(--_ui5-v2-15-0_panel_focus_bottom_offset);left:var(--_ui5-v2-15-0_panel_focus_offset);right:var(--_ui5-v2-15-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v2-15-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v2-15-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v2-15-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v2-15-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v2-15-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v2-15-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v2-15-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v2-15-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v2-15-0_panel_button_root_width);height:var(--_ui5-v2-15-0_panel_button_root_height);padding:var(--_ui5-v2-15-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v2-15-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v2-15-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v2-15-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column}
31
- `;
32
-
33
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
34
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
35
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
36
- 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;
37
- return c > 3 && r && Object.defineProperty(target, key, r), r;
38
- };
39
- var Panel_1;
40
- /**
41
- * @class
42
- *
43
- * ### Overview
44
- *
45
- * The `ui5-panel` component is a container which has a header and a
46
- * content area and is used
47
- * for grouping and displaying information. It can be collapsed to save space on the screen.
48
- *
49
- * ### Guidelines:
50
- *
51
- * - Nesting two or more panels is not recommended.
52
- * - Do not stack too many panels on one page.
53
- *
54
- * ### Structure
55
- * The panel's header area consists of a title bar with a header text or custom header.
56
- *
57
- * The header is clickable and can be used to toggle between the expanded and collapsed state. It includes an icon which rotates depending on the state.
58
- *
59
- * The custom header can be set through the `header` slot and it may contain arbitraray content, such as: title, buttons or any other HTML elements.
60
- *
61
- * The content area can contain an arbitrary set of controls.
62
- *
63
- * **Note:** The custom header is not clickable out of the box, but in this case the icon is interactive and allows to show/hide the content area.
64
- *
65
- * ### Responsive Behavior
66
- *
67
- * - If the width of the panel is set to 100% (default), the panel and its children are
68
- * resized responsively,
69
- * depending on its parent container.
70
- * - If the panel has a fixed height, it will take up the space even if the panel is
71
- * collapsed.
72
- * - When the panel is expandable (the `fixed` property is set to `false`),
73
- * an arrow icon (pointing to the right) appears in front of the header.
74
- * - When the animation is activated, expand/collapse uses a smooth animation to open or
75
- * close the content area.
76
- * - When the panel expands/collapses, the arrow icon rotates 90 degrees
77
- * clockwise/counter-clockwise.
78
- *
79
- * ### Keyboard Handling
80
- *
81
- * #### Fast Navigation
82
- * This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].
83
- * In order to use this functionality, you need to import the following module:
84
- * `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
85
- *
86
- * ### ES6 Module Import
87
- *
88
- * `import "@ui5/webcomponents/dist/Panel.js";`
89
- * @constructor
90
- * @extends UI5Element
91
- * @public
92
- * @slot {Array<Node>} default - Defines the content of the component. The content is visible only when the component is expanded.
93
- * @csspart header - Used to style the wrapper of the header.
94
- * @csspart content - Used to style the wrapper of the content.
95
- */
96
- let Panel = Panel_1 = class Panel extends webcomponentsBase.b {
97
- constructor() {
98
- super(...arguments);
99
- /**
100
- * Determines whether the component is in a fixed state that is not
101
- * expandable/collapsible by user interaction.
102
- * @default false
103
- * @public
104
- */
105
- this.fixed = false;
106
- /**
107
- * Indicates whether the component is collapsed and only the header is displayed.
108
- * @default false
109
- * @public
110
- */
111
- this.collapsed = false;
112
- /**
113
- * Indicates whether the transition between the expanded and the collapsed state of the component is animated. By default the animation is enabled.
114
- * @default false
115
- * @public
116
- * @since 1.0.0-rc.16
117
- */
118
- this.noAnimation = false;
119
- /**
120
- * Sets the accessible ARIA role of the component.
121
- * Depending on the usage, you can change the role from the default `Form`
122
- * to `Region` or `Complementary`.
123
- * @default "Form"
124
- * @public
125
- */
126
- this.accessibleRole = "Form";
127
- /**
128
- * Defines the "aria-level" of component heading,
129
- * set by the `headerText`.
130
- * @default "H2"
131
- * @public
132
- */
133
- this.headerLevel = "H2";
134
- /**
135
- * Indicates whether the Panel header is sticky or not.
136
- * If stickyHeader is set to true, then whenever you scroll the content or
137
- * the application, the header of the panel will be always visible and
138
- * a solid color will be used for its design.
139
- * @default false
140
- * @public
141
- * @since 1.16.0-rc.1
142
- */
143
- this.stickyHeader = false;
144
- /**
145
- * When set to `true`, the `accessibleName` property will be
146
- * applied not only on the panel root itself, but on its toggle button too.
147
- * **Note:** This property only has effect if `accessibleName` is set and a header slot is provided.
148
- * @default false
149
- * @private
150
- */
151
- this.useAccessibleNameForToggleButton = false;
152
- /**
153
- * @private
154
- */
155
- this._hasHeader = false;
156
- this._contentExpanded = false;
157
- this._animationRunning = false;
158
- }
159
- onBeforeRendering() {
160
- // If the animation is running, it will set the content expanded state at the end
161
- if (!this._animationRunning) {
162
- this._contentExpanded = !this.collapsed;
163
- }
164
- this._hasHeader = !!this.header.length;
165
- }
166
- shouldToggle(element) {
167
- const customContent = this.header.length;
168
- if (customContent) {
169
- return element.classList.contains("ui5-panel-header-button");
170
- }
171
- return true;
172
- }
173
- get shouldNotAnimate() {
174
- return this.noAnimation || webcomponentsBase.d$1() === Theme.u.None;
175
- }
176
- _headerClick(e) {
177
- if (!this.shouldToggle(e.target)) {
178
- return;
179
- }
180
- this._toggleOpen();
181
- }
182
- _toggleButtonClick(e) {
183
- if (e.detail.originalEvent.x === 0 && e.detail.originalEvent.y === 0) {
184
- e.stopImmediatePropagation();
185
- }
186
- }
187
- _headerKeyDown(e) {
188
- if (!this.shouldToggle(e.target)) {
189
- return;
190
- }
191
- if (webcomponentsBase.b$1(e)) {
192
- e.preventDefault();
193
- }
194
- if (webcomponentsBase.A(e)) {
195
- e.preventDefault();
196
- }
197
- }
198
- _headerKeyUp(e) {
199
- if (!this.shouldToggle(e.target)) {
200
- return;
201
- }
202
- if (webcomponentsBase.b$1(e)) {
203
- this._toggleOpen();
204
- }
205
- if (webcomponentsBase.A(e)) {
206
- this._toggleOpen();
207
- }
208
- }
209
- _toggleOpen() {
210
- if (this.fixed) {
211
- return;
212
- }
213
- this.collapsed = !this.collapsed;
214
- if (this.shouldNotAnimate) {
215
- this.fireDecoratorEvent("toggle");
216
- return;
217
- }
218
- this._animationRunning = true;
219
- const elements = this.getDomRef().querySelectorAll(".ui5-panel-content");
220
- const animations = [];
221
- [].forEach.call(elements, oElement => {
222
- if (this.collapsed) {
223
- animations.push(webcomponentsBase.u(oElement).promise());
224
- }
225
- else {
226
- animations.push(webcomponentsBase.b$2(oElement).promise());
227
- }
228
- });
229
- Promise.all(animations).then(() => {
230
- this._animationRunning = false;
231
- this._contentExpanded = !this.collapsed;
232
- this.fireDecoratorEvent("toggle");
233
- });
234
- }
235
- _headerOnTarget(target) {
236
- return target.classList.contains("sapMPanelWrappingDiv");
237
- }
238
- get toggleButtonTitle() {
239
- return Panel_1.i18nBundle.getText(i18nDefaults.PANEL_ICON);
240
- }
241
- get expanded() {
242
- return !this.collapsed;
243
- }
244
- get accRole() {
245
- return this.accessibleRole.toLowerCase();
246
- }
247
- get effectiveAccessibleName() {
248
- return typeof this.accessibleName === "string" && this.accessibleName.length ? this.accessibleName : undefined;
249
- }
250
- get accInfo() {
251
- return {
252
- "button": {
253
- "accessibilityAttributes": {
254
- "expanded": this.expanded,
255
- },
256
- "title": this.toggleButtonTitle,
257
- "ariaLabelButton": !this.nonFocusableButton && this.useAccessibleNameForToggleButton ? this.effectiveAccessibleName : undefined,
258
- },
259
- "ariaExpanded": this.nonFixedInternalHeader ? this.expanded : undefined,
260
- "ariaControls": this.nonFixedInternalHeader ? `${this._id}-content` : undefined,
261
- "ariaLabelledby": this.nonFocusableButton ? this.ariaLabelledbyReference : undefined,
262
- "role": this.nonFixedInternalHeader ? "button" : undefined,
263
- };
264
- }
265
- get ariaLabelledbyReference() {
266
- return (this.nonFocusableButton && this.headerText && !this.fixed) ? `${this._id}-header-title` : undefined;
267
- }
268
- get fixedPanelAriaLabelledbyReference() {
269
- return this.fixed && !this.effectiveAccessibleName ? `${this._id}-header-title` : undefined;
270
- }
271
- get headerAriaLevel() {
272
- return Number.parseInt(this.headerLevel.slice(1));
273
- }
274
- get headerTabIndex() {
275
- return (this.header.length || this.fixed) ? -1 : 0;
276
- }
277
- get headingWrapperAriaLevel() {
278
- return !this._hasHeader ? this.headerAriaLevel : undefined;
279
- }
280
- get headingWrapperRole() {
281
- return !this._hasHeader ? "heading" : undefined;
282
- }
283
- get nonFixedInternalHeader() {
284
- return !this._hasHeader && !this.fixed;
285
- }
286
- get hasHeaderOrHeaderText() {
287
- return this._hasHeader || this.headerText;
288
- }
289
- get nonFocusableButton() {
290
- return !this.header.length;
291
- }
292
- };
293
- __decorate$2([
294
- webcomponentsBase.s()
295
- ], Panel.prototype, "headerText", void 0);
296
- __decorate$2([
297
- webcomponentsBase.s({ type: Boolean })
298
- ], Panel.prototype, "fixed", void 0);
299
- __decorate$2([
300
- webcomponentsBase.s({ type: Boolean })
301
- ], Panel.prototype, "collapsed", void 0);
302
- __decorate$2([
303
- webcomponentsBase.s({ type: Boolean })
304
- ], Panel.prototype, "noAnimation", void 0);
305
- __decorate$2([
306
- webcomponentsBase.s()
307
- ], Panel.prototype, "accessibleRole", void 0);
308
- __decorate$2([
309
- webcomponentsBase.s()
310
- ], Panel.prototype, "headerLevel", void 0);
311
- __decorate$2([
312
- webcomponentsBase.s()
313
- ], Panel.prototype, "accessibleName", void 0);
314
- __decorate$2([
315
- webcomponentsBase.s({ type: Boolean })
316
- ], Panel.prototype, "stickyHeader", void 0);
317
- __decorate$2([
318
- webcomponentsBase.s({ type: Boolean })
319
- ], Panel.prototype, "useAccessibleNameForToggleButton", void 0);
320
- __decorate$2([
321
- webcomponentsBase.s({ type: Boolean })
322
- ], Panel.prototype, "_hasHeader", void 0);
323
- __decorate$2([
324
- webcomponentsBase.s({ type: Boolean, noAttribute: true })
325
- ], Panel.prototype, "_contentExpanded", void 0);
326
- __decorate$2([
327
- webcomponentsBase.s({ type: Boolean, noAttribute: true })
328
- ], Panel.prototype, "_animationRunning", void 0);
329
- __decorate$2([
330
- webcomponentsBase.d()
331
- ], Panel.prototype, "header", void 0);
332
- __decorate$2([
333
- parametersBundle_css$1.i("@ui5/webcomponents")
334
- ], Panel, "i18nBundle", void 0);
335
- Panel = Panel_1 = __decorate$2([
336
- webcomponentsBase.m({
337
- tag: "ui5-panel",
338
- fastNavigation: true,
339
- languageAware: true,
340
- renderer: parametersBundle_css.y,
341
- template: PanelTemplate,
342
- styles: panelCss,
343
- })
344
- /**
345
- * Fired when the component is expanded/collapsed by user interaction.
346
- * @public
347
- */
348
- ,
349
- eventStrict.l("toggle", {
350
- bubbles: true,
351
- })
352
- ], Panel);
353
- Panel.define();
354
- var Panel$1 = Panel;
355
-
356
- function BarTemplate() {
357
- return (parametersBundle_css.jsxs("div", { class: "ui5-bar-root", "aria-label": this.accInfo.role && this.accInfo.label, role: this.accInfo.role, part: "bar", children: [parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-startcontent-container", part: "startContent", children: parametersBundle_css.jsx("slot", { name: "startContent" }) }), parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-midcontent-container", part: "midContent", children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("div", { class: "ui5-bar-content-container ui5-bar-endcontent-container", part: "endContent", children: parametersBundle_css.jsx("slot", { name: "endContent" }) })] }));
358
- }
359
-
360
- Theme.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
361
- Theme.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
362
- var BarCss = `:host{background-color:var(--sapPageHeader_Background);height:var(--_ui5-v2-15-0_bar_base_height);width:100%;box-shadow:var(--sapContent_HeaderShadow);display:block}.ui5-bar-root{display:flex;align-items:center;justify-content:space-between;height:100%;width:100%;background-color:inherit;box-shadow:inherit;border-radius:inherit;min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container,.ui5-bar-root .ui5-bar-endcontent-container,.ui5-bar-root .ui5-bar-midcontent-container{display:flex;align-items:center}.ui5-bar-root .ui5-bar-startcontent-container,.ui5-bar-root .ui5-bar-endcontent-container{flex:0 0 auto}.ui5-bar-root .ui5-bar-midcontent-container{justify-content:center;flex:1 1 auto;padding:0 var(--_ui5-v2-15-0_bar-mid-container-padding-start-end);min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container{padding-inline-start:var(--_ui5-v2-15-0_bar-start-container-padding-start)}.ui5-bar-root .ui5-bar-content-container{min-width:calc(30% - calc(var(--_ui5-v2-15-0_bar-start-container-padding-start) + var(--_ui5-v2-15-0_bar-end-container-padding-end) + (2*var(--_ui5-v2-15-0_bar-mid-container-padding-start-end))))}.ui5-bar-root.ui5-bar-root-shrinked .ui5-bar-content-container{min-width:0px;overflow:hidden;height:100%}.ui5-bar-root .ui5-bar-endcontent-container{padding-inline-end:var(--_ui5-v2-15-0_bar-end-container-padding-end)}:host([design="Footer"]){background-color:var(--sapPageFooter_Background);border-top:.0625rem solid var(--sapPageFooter_BorderColor);box-shadow:none}:host([design="Subheader"]){height:var(--_ui5-v2-15-0_bar_subheader_height);margin-top:var(--_ui5-v2-15-0_bar_subheader_margin-top)}:host([design="FloatingFooter"]){border-radius:var(--sapElement_BorderCornerRadius);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow1);border:none}::slotted(*){margin:0 .25rem}
363
- `;
364
-
365
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
366
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
367
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
368
- 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;
369
- return c > 3 && r && Object.defineProperty(target, key, r), r;
370
- };
371
- /**
372
- * @class
373
- *
374
- * ### Overview
375
- * The Bar is a container which is primarily used to hold titles, buttons and input elements
376
- * and its design and functionality is the basis for page headers and footers.
377
- * The component consists of three areas to hold its content - startContent slot, default slot and endContent slot.
378
- * It has the capability to center content, such as a title, while having other components on the left and right side.
379
- *
380
- * ### Usage
381
- * With the use of the design property, you can set the style of the Bar to appear designed like a Header, Subheader, Footer and FloatingFooter.
382
- *
383
- * **Note:** Do not place a Bar inside another Bar or inside any bar-like component. Doing so may cause unpredictable behavior.
384
- *
385
- * ### Responsive Behavior
386
- * The default slot will be centered in the available space between the startContent and the endContent areas,
387
- * therefore it might not always be centered in the entire bar.
388
- *
389
- * ### Keyboard Handling
390
- *
391
- * #### Fast Navigation
392
- * This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].
393
- * In order to use this functionality, you need to import the following module:
394
- * `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
395
- *
396
- * ### ES6 Module Import
397
- *
398
- * `import "@ui5/webcomponents/dist/Bar.js";`
399
- * @csspart bar - Used to style the wrapper of the content of the component
400
- * @csspart startContent - Used to style the wrapper of the start content of the component
401
- * @csspart midContent - Used to style the wrapper of the middle content of the component
402
- * @csspart endContent - Used to style the wrapper of the end content of the component
403
- * @constructor
404
- * @extends UI5Element
405
- * @public
406
- * @since 1.0.0-rc.11
407
- */
408
- let Bar = class Bar extends webcomponentsBase.b {
409
- get accInfo() {
410
- return {
411
- "label": this.design,
412
- "role": this.effectiveRole,
413
- };
414
- }
415
- constructor() {
416
- super();
417
- /**
418
- * Defines the component's design.
419
- * @default "Header"
420
- * @public
421
- */
422
- this.design = "Header";
423
- /**
424
- * Specifies the ARIA role applied to the component for accessibility purposes.
425
- *
426
- * **Note:**
427
- *
428
- * - Set accessibleRole to "toolbar" only when the component contains two or more active, interactive elements (such as buttons, links, or input fields) within the bar.
429
- *
430
- * - If there is only one or no active element, it is recommended to avoid using the "toolbar" role, as it implies a grouping of multiple interactive controls.
431
- *
432
- * @public
433
- * @default "Toolbar"
434
- * @since 2.10.0
435
- *
436
- */
437
- this.accessibleRole = "Toolbar";
438
- this._handleResizeBound = this.handleResize.bind(this);
439
- }
440
- handleResize() {
441
- const bar = this.getDomRef();
442
- const barWidth = bar.offsetWidth;
443
- const needShrinked = Array.from(bar.children).some(child => {
444
- return child.offsetWidth > barWidth / 3;
445
- });
446
- bar.classList.toggle("ui5-bar-root-shrinked", needShrinked);
447
- }
448
- onEnterDOM() {
449
- webcomponentsBase.f.register(this, this._handleResizeBound);
450
- this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(child => {
451
- webcomponentsBase.f.register(child, this._handleResizeBound);
452
- }, this);
453
- }
454
- onExitDOM() {
455
- webcomponentsBase.f.deregister(this, this._handleResizeBound);
456
- this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(child => {
457
- webcomponentsBase.f.deregister(child, this._handleResizeBound);
458
- }, this);
459
- }
460
- get effectiveRole() {
461
- return this.accessibleRole.toLowerCase() === "toolbar" ? "toolbar" : undefined;
462
- }
463
- };
464
- __decorate$1([
465
- webcomponentsBase.s()
466
- ], Bar.prototype, "design", void 0);
467
- __decorate$1([
468
- webcomponentsBase.s()
469
- ], Bar.prototype, "accessibleRole", void 0);
470
- __decorate$1([
471
- webcomponentsBase.d({ type: HTMLElement })
472
- ], Bar.prototype, "startContent", void 0);
473
- __decorate$1([
474
- webcomponentsBase.d({ type: HTMLElement, "default": true })
475
- ], Bar.prototype, "middleContent", void 0);
476
- __decorate$1([
477
- webcomponentsBase.d({ type: HTMLElement })
478
- ], Bar.prototype, "endContent", void 0);
479
- Bar = __decorate$1([
480
- webcomponentsBase.m({
481
- tag: "ui5-bar",
482
- fastNavigation: true,
483
- renderer: parametersBundle_css.y,
484
- styles: BarCss,
485
- template: BarTemplate,
486
- })
487
- ], Bar);
488
- Bar.define();
489
- var Bar$1 = Bar;
490
-
491
- const name$7 = "person-placeholder";
492
- const pathData$7 = "M64 512V384q0-26 10-49.5t27.5-41T142 266t50-10h64q-27 0-50-10t-40.5-27.5T138 178t-10-50q0-26 10-49.5t27.5-41T206 10t50-10q26 0 49.5 10t41 27.5 27.5 41 10 49.5q0 27-10 50t-27.5 40.5-41 27.5-49.5 10h64q26 0 49.5 10t41 27.5 27.5 41 10 49.5v128H64zm32-128v96h320v-96q0-40-28-68t-68-28H192q-40 0-68 28t-28 68zm64-256q0 40 28 68t68 28 68-28 28-68-28-68-68-28-68 28-28 68z";
493
- const ltr$7 = false;
494
- const collection$7 = "SAP-icons-v4";
495
- const packageName$7 = "@ui5/webcomponents-icons";
496
-
497
- Icons.y(name$7, { pathData: pathData$7, ltr: ltr$7, collection: collection$7, packageName: packageName$7 });
498
-
499
- const name$6 = "person-placeholder";
500
- const pathData$6 = "M342 255q48 23 77 67.5t29 99.5v32q0 11-7.5 18.5T422 480H90q-11 0-18.5-7.5T64 454v-32q0-56 29-100t77-67q-20-18-31-42.5T128 160q0-27 10-50t27.5-40.5 41-27.5T256 32t49.5 10.5 41 28T374 111t10 49q0 27-11 52t-31 43zM256 83q-32 0-54.5 22.5T179 160t22.5 54.5T256 237t54.5-22.5T333 160t-22.5-54.5T256 83zm141 339q0-28-10.5-52.5t-29-42.5-43-28.5T262 288h-12q-28 0-52.5 10.5t-43 28.5-29 42.5T115 422v7h282v-7z";
501
- const ltr$6 = false;
502
- const collection$6 = "SAP-icons-v5";
503
- const packageName$6 = "@ui5/webcomponents-icons";
504
-
505
- Icons.y(name$6, { pathData: pathData$6, ltr: ltr$6, collection: collection$6, packageName: packageName$6 });
506
-
507
- var personPlaceholder = "person-placeholder";
508
-
509
- const name$5 = "user-settings";
510
- const pathData$5 = "M512 512H192v-64q0-27 10-50t27.5-40.5T270 330t50-10h32q-43 0-69.5-27T256 224q0-13 1-14 5-32 27-54t54-27q1-1 14-1 42 0 69 26.5t27 69.5q0 40-28 68t-68 28h32q26 0 49.5 10t41 27.5T502 398t10 50v64zM0 224q0-14 9-23t23-9h28q2-8 5.5-15t6.5-14l-20-20q-9-10-9-23t9-22l46-46q9-9 22-9 14 0 23 9l20 20q7-3 14-6.5t15-5.5V32q0-14 9-23t23-9h64q14 0 23 9t9 23v28q8 2 15 5.5t14 6.5l20-20q9-9 23-9 13 0 22 9l46 46q9 9 9 22t-9 23l-6 5-10-12-12-11 5-5-45-45-23 23q-5-1-8.5-1.5T352 96q-6 0-12 .5T328 98q-1-1-4-1-4-2-6.5-3l-7.5-3-22-8V32h-64v51l-22 8q-2 1-5 1.5t-5 2.5l-15 6-20 10-37-36-45 45 36 37-10 20q-3 6-5.5 12.5T91 202l-8 22H32v64h51l8 22q1 2 2 5t2 5q0 2 2 4 1 3 2 5.5t2 4.5l10 21-36 37 45 45 37-37 9 5q-5 18-6 37l-17 18q-9 9-23 9-13 0-22-9l-46-46q-9-9-9-22.5t9-22.5l20-20q-3-7-6.5-14T60 320H32q-14 0-23-9.5T0 288v-64zm480 256v-32q0-40-28-68t-68-28h-64q-40 0-68 28t-28 68v32h256zM288 224q0 27 18.5 45.5T352 288q26 0 45-19t19-45q0-27-18.5-45.5T352 160q-26 0-45 19t-19 45zm-128 37q0-35 16-59.5t48-36.5l8-2 9-2q-5 8-8.5 16.5T227 194q0 1-.5 2t-.5 3q-1 0-1 .5t-1 .5l-12 9q-11 11-15.5 21.5T192 256q0 4 .5 8t1.5 9q8 25 30 38l4 2 4 2q-4 1-8 5-5 4-9.5 8t-9.5 9q-4-2-7-5t-6-5q-4-3-7-7-13-15-18-27t-7-32z";
511
- const ltr$5 = false;
512
- const collection$5 = "SAP-icons-v4";
513
- const packageName$5 = "@ui5/webcomponents-icons";
514
-
515
- Icons.y(name$5, { pathData: pathData$5, ltr: ltr$5, collection: collection$5, packageName: packageName$5 });
516
-
517
- const name$4 = "user-settings";
518
- const pathData$4 = "M166.907 396.779q10.994 0 18.49 6.996t7.495 17.99-7.495 18.49-18.49 7.495H25.985q-10.993 0-18.49-7.496T0 421.764v-31.982q0-55.968 28.984-99.944t76.957-66.962q-41.977-38.979-41.977-94.947 0-26.985 10.494-50.472t27.985-40.977T142.92 9.495 191.893 0q26.985 0 49.972 10.494t40.477 27.985 27.485 40.477 9.995 48.973-9.495 48.972-26.985 40.478-40.977 27.984-50.472 10.494h-5.997q-27.984 0-52.47 10.494T90.45 294.835t-28.984 42.477-10.494 52.47v6.997h115.935zm24.986-345.807q-31.982 0-54.47 22.487t-22.487 54.47 22.487 54.47 54.47 22.487q32.982 0 54.97-22.988t21.987-53.97q0-31.982-22.487-54.469t-54.47-22.487zm310.826 340.81q4.998 1.998 7.496 5.996t1.5 8.995l-3.998 16.99q-2 9.995-11.994 9.995l-27.984-3.998q-5.997 11.993-15.991 21.988l-6.996 6.996 9.994 26.985q0 1 .5 1.999t.5 1.999q0 8.995-7.996 11.993l-14.991 7.996q-2 0-2.5.5t-2.498.499q-7.995 0-10.994-6.996l-14.991-25.986q-4.997 1-8.995 1.5t-8.995.5q-3.998 0-7.496-.5t-8.495-.5l-14.992 26.985q-2.998 5.996-10.994 5.996-3.998 0-5.996-.999l-14.992-7.996q-6.996-2.998-6.996-10.993 0-3.998 1-4.998l9.994-26.985q-7.996-4.997-13.493-11.993t-10.494-14.991l-27.984 3.997q-10.994 0-12.993-9.994l-3.998-19.989q0-9.994 8.995-11.993l22.987-7.996q0-21.988 6.996-39.978l-16.99-15.99q-3.998-3.998-3.998-9.995 0-3.998 2.999-7.996l9.994-12.992q4.997-4.998 9.994-4.998 2.999 0 6.996 2l18.99 12.992q7.995-6.996 16.99-11.493t18.99-7.496l1.999-22.987q1.999-11.994 12.992-11.994h16.99q4.998 0 8.496 3.498t3.498 8.496l2 21.987q21.987 4.997 37.978 17.99l18.99-12.993q3.997-1.998 6.995-1.998 4.998 0 9.995 4.997l9.994 12.993q2.999 3.997 2.999 7.995 0 5.997-3.998 9.995l-15.991 14.991q7.995 20.988 7.995 40.977zm-163.908-7.996q0 18.99 12.993 31.982t31.982 12.993 31.982-12.993 12.993-31.982-12.993-31.982-31.982-12.993-31.982 12.993-12.993 31.982z";
519
- const ltr$4 = false;
520
- const collection$4 = "SAP-icons-v5";
521
- const packageName$4 = "@ui5/webcomponents-icons";
522
-
523
- Icons.y(name$4, { pathData: pathData$4, ltr: ltr$4, collection: collection$4, packageName: packageName$4 });
524
-
525
- var userSettings = "user-settings";
526
-
527
- const name$3 = "log";
528
- const pathData$3 = "M352 86q57 27 92.5 81T480 288q0 47-17.5 87.5t-48 71-71.5 48-87 17.5q-47 0-87.5-17.5t-71-48-48-71T32 288q0-67 35.5-121T160 86v36q-43 25-69.5 68.5T64 288q0 40 15 75t41 61 61 41 75 15 75-15 61-41 41-61 15-75q0-54-26.5-97.5T352 122V86zm-96 202q-14 0-23-9t-9-23V32q0-13 9-22.5T256 0q13 0 22.5 9.5T288 32v224q0 14-9.5 23t-22.5 9z";
529
- const ltr$3 = false;
530
- const collection$3 = "SAP-icons-v4";
531
- const packageName$3 = "@ui5/webcomponents-icons";
532
-
533
- Icons.y(name$3, { pathData: pathData$3, ltr: ltr$3, collection: collection$3, packageName: packageName$3 });
534
-
535
- const name$2 = "log";
536
- const pathData$2 = "M256 256q-11 0-18.5-7.5T230 230V26q0-11 7.5-18.5T256 0t18.5 7.5T282 26v204q0 11-7.5 18.5T256 256zm0 256q-53 0-100-20t-81.5-54.5T20 356 0 256q0-67 31-125t82-90q9-6 13.5-7.5T134 32q11 0 18.5 7.5T160 58q0 13-12 21-46 29-71.5 76T51 256q0 43 16 80t44 65 65 44 80 16 80.5-16 65-44 43.5-65 16-80q0-54-26-101t-71-76q-12-8-12-21 0-11 7.5-18.5T378 32q3 0 7.5 1.5T399 41q51 32 82 90t31 126q0 53-20 99.5t-54.5 81T356 492t-100 20z";
537
- const ltr$2 = false;
538
- const collection$2 = "SAP-icons-v5";
539
- const packageName$2 = "@ui5/webcomponents-icons";
540
-
541
- Icons.y(name$2, { pathData: pathData$2, ltr: ltr$2, collection: collection$2, packageName: packageName$2 });
542
-
543
- var log = "log";
544
-
545
- const name$1 = "user-edit";
546
- const pathData$1 = "M151.25 384H.25v-64q0-26 10-49.5t27.5-41 40.5-27.5 50-10h32q-40 0-68-28t-28-68 28-68 68-28 68 28 28 68-28 68-68 28h32q31 0 57 14t44 37l-23 22q-13-19-33.5-30t-44.5-11h-64q-40 0-68 28t-28 68v32h151zm-9 128q2-4 8-20t12-34q4-10 7.5-21t8.5-24l261-260q5-5 11-5t11 5l45 45q11 11 0 22l-260 261q-1 1-17 6t-36 10q-22 8-51 15zm18-352q26 0 45-19t19-45-19-45-45-19q-27 0-45.5 19t-18.5 45 18.5 45 45.5 19zm45 271l23 22 181-181-22-22zm204-204l23 23 40-41-22-22z";
547
- const ltr$1 = false;
548
- const collection$1 = "SAP-icons-v4";
549
- const packageName$1 = "@ui5/webcomponents-icons";
550
-
551
- Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
552
-
553
- const name = "user-edit";
554
- const pathData = "M70 397q11 0 18.5 7t7.5 18-7.5 18.5T70 448H26q-11 0-18.5-7.5T0 422v-32q0-55 29-99.5t77-67.5l-4-5q-19-18-28.5-41T64 128q0-27 10.5-50.5t28-41 40.5-27T192 0q27 0 50 10.5t40.5 28T310 79t10 49-9.5 49-27 40.5-41 28T192 256h-6q-28 0-52.5 10.5t-43 28.5-29 42.5T51 390v7h19zM192 51q-32 0-54.5 22.5T115 128t22.5 54.5T192 205q33 0 55-23t22-54q0-32-22.5-54.5T192 51zm313 161q7 7 7 18t-7 18l-25 26q-8 8-19 8-10 0-18-8l-50-51q-7-7-7-18t7-18l25-26q7-7 18-7 12 0 19 7zm-75 77q7 9 7 18t-7 18L254 504q-8 8-18 8h-50q-11 0-18.5-7.5T160 486v-51q0-9 7-18l176-179q8-8 18-8 12 0 18 8zm-55 18l-14-14-150 153v15h14z";
555
- const ltr = false;
556
- const collection = "SAP-icons-v5";
557
- const packageName = "@ui5/webcomponents-icons";
558
-
559
- Icons.y(name, { pathData, ltr, collection, packageName });
560
-
561
- var userEdit = "user-edit";
562
-
563
- function UserMenuTemplate() {
564
- return (parametersBundle_css.jsxs(ResponsivePopover.ResponsivePopover, { id: "user-menu-rp", class: "ui5-user-menu-rp", placement: "Bottom", verticalAlign: "Bottom", horizontalAlign: "End", tabindex: -1, accessibleName: this.accessibleNameText, "aria-labelledby": this.accessibleNameText, open: this.open, opener: this.opener, onClose: this._handlePopoverAfterClose, onOpen: this._handlePopoverAfterOpen, onScroll: this._handleScroll, children: [parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsxs(Bar$1, { class: {
565
- "ui5-user-menu-fixed-header": true,
566
- "ui5-user-menu-rp-scrolled": this._isScrolled || this._titleMovedToHeader
567
- }, slot: "header", children: [this._titleMovedToHeader &&
568
- parametersBundle_css.jsx(Title.Title, { level: "H1", wrappingType: "None", children: this._selectedAccount.titleText }), this._isPhone && parametersBundle_css.jsx(Button.Button, { icon: information.decline, design: "Transparent", accessibleName: this._closeDialogAriaLabel, onClick: this._closeUserMenu, slot: "endContent" })] }), parametersBundle_css.jsx("div", { class: "ui5-user-menu-header", children: headerContent.call(this) })] }), this.showOtherAccounts &&
569
- parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: otherAccountsContent.call(this) }), this.menuItems.length > 0 &&
570
- parametersBundle_css.jsx(List.List, { id: "ui5-user-menu-list", class: "ui5-user-menu-list", selectionMode: "None", separators: "None", accessibleRole: "Menu", onItemClick: this._handleMenuItemClick, "onui5-close-menu": this._handleMenuItemClose, children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("div", { slot: "footer", class: "ui5-user-menu-footer", children: parametersBundle_css.jsx(Button.Button, { class: "ui5-user-menu-sign-out-btn", design: "Transparent", icon: log, onClick: this._handleSignOutClick, children: this._signOutButtonText }) })] }));
571
- }
572
- function headerContent() {
573
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this._selectedAccount &&
574
- parametersBundle_css.jsxs("div", { class: "ui5-user-menu-selected-account", "aria-labelledby": this._ariaLabelledByAccountInformationText, children: [parametersBundle_css.jsxs(Avatar, { size: "L", onClick: this._handleAvatarClick, initials: this._selectedAccount._initials, fallbackIcon: personPlaceholder, class: "ui5-user-menu--selected-account-avatar", interactive: true, children: [this._selectedAccount.avatarSrc &&
575
- parametersBundle_css.jsx("img", { src: this._selectedAccount.avatarSrc }), this.showEditButton &&
576
- parametersBundle_css.jsx(Tag.Tag, { slot: "badge", wrappingType: "None", design: "Set1", colorScheme: "5", title: this._editAvatarTooltip, children: parametersBundle_css.jsx(Icon.Icon, { slot: "icon", name: ListItemCustom.edit }) })] }), this._selectedAccount.titleText &&
577
- parametersBundle_css.jsx(Text.Text, { maxLines: 2, id: "selected-account-title", class: "ui5-user-menu-selected-account-title", children: this._selectedAccount.titleText }), this._selectedAccount.subtitleText &&
578
- parametersBundle_css.jsx(Text.Text, { maxLines: 1, class: "ui5-user-menu-selected-account-subtitleText", children: this._selectedAccount.subtitleText }), this._selectedAccount.description &&
579
- parametersBundle_css.jsx(Text.Text, { maxLines: 1, class: "ui5-user-menu-selected-account-description", children: this._selectedAccount.description }), this.showManageAccount &&
580
- parametersBundle_css.jsx(Button.Button, { id: "selected-account-manage-btn", icon: userSettings, class: "ui5-user-menu-manage-account-btn", onClick: this._handleManageAccountClick, children: this._manageAccountButtonText })] }) }));
581
- }
582
- function otherAccountsContent() {
583
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsxs(Panel$1, { collapsed: true, class: "ui5-user-menu-other-accounts", "aria-labelledby": this._otherAccountsButtonText, children: [parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-user-menu-account-header", children: [parametersBundle_css.jsxs(Title.Title, { slot: "header", level: "H4", "wrapping-type": "None", children: [this._otherAccountsButtonText, " (", this._otherAccounts.length, ")"] }), this.showEditAccounts &&
584
- parametersBundle_css.jsx(Button.Button, { slot: "header", class: "ui5-user-menu-add-account-btn", design: "Transparent", icon: userEdit, onClick: this._handleEditAccountsClick, tooltip: this._editAccountsTooltip })] }), this._otherAccounts.length > 0 &&
585
- parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: otherAccountsList.call(this) })] }) }));
586
- }
587
- function otherAccountsList() {
588
- return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsx(List.List, { onItemClick: this._handleAccountSwitch, "aria-labelledby": this._ariaLabelledByActions, loadingDelay: 0, loading: this._otherAccounts.some(account => account.loading === true), children: this._otherAccounts.map((account, index) => parametersBundle_css.jsx(ListItemCustom.ListItemCustom, { ref: this.captureRef.bind(account), "aria-labelledby": account.titleText, "aria-possition": index + 1, "aria-setsize": this._otherAccounts.length, "aria-dectiption": this.getAccountDescriptionText(account), children: parametersBundle_css.jsxs("div", { class: "ui5-user-menu-other-accounts-content", children: [parametersBundle_css.jsx(Avatar, { slot: "image", size: "S", initials: account._initials, fallbackIcon: personPlaceholder, children: account.avatarSrc &&
589
- parametersBundle_css.jsx("img", { src: account.avatarSrc }) }), parametersBundle_css.jsxs("div", { class: "ui5-user-menu-other-accounts-info", children: [account.titleText &&
590
- parametersBundle_css.jsx(Title.Title, { class: "ui5-user-menu-other-accounts-title", "wrapping-type": "None", children: account.titleText }), account.subtitleText &&
591
- parametersBundle_css.jsx(Label, { class: "ui5-user-menu-other-accounts-additional-info", "wrapping-type": "None", children: account.subtitleText }), account.description &&
592
- parametersBundle_css.jsx(Label, { class: "ui5-user-menu-other-accounts-additional-info", "wrapping-type": "None", children: account.description })] }), parametersBundle_css.jsx("div", { children: account.selected &&
593
- parametersBundle_css.jsx(Icon.Icon, { part: "icon", name: sysEnter2.selectedAccount, class: "ui5-user-menu-selected-account-icon", mode: "Decorative" }) })] }) })) }) }));
594
- }
595
-
596
- Theme.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
597
- Theme.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => parametersBundle_css$2.defaultTheme);
598
- var UserMenuCss = `.ui5-user-menu-rp{width:20rem}.ui5-user-menu-rp::part(content),.ui5-user-menu-rp::part(footer){padding-inline:.5rem}.ui5-user-menu-rp::part(header){box-shadow:none;padding:0}.ui5-user-menu-header{display:flex;flex-direction:column}[on-phone] .ui5-user-menu-header{padding-inline:0}.ui5-user-menu-fixed-header:not(.ui5-user-menu-rp-scrolled){box-shadow:none}.ui5-user-menu-fixed-header::part(startContent),.ui5-user-menu-fixed-header::part(endContent){padding:0}.ui5-user-menu-fixed-header [ui5-button]{margin-inline:.5rem;font-family:var(--sapFontSemiboldDuplexFamily)}.ui5-user-menu-rp::part(content){padding-top:0;padding-bottom:.5rem}.ui5-user-menu-rp::part(footer){padding-block:.5rem}.ui5-user-menu-selected-account{display:flex;align-items:center;flex-direction:column;margin-block-end:.5rem;overflow:hidden}.ui5-user-menu--selected-account-avatar{margin-block-start:.25rem;margin-block-end:.5rem}.ui5-user-menu-selected-account-title{margin-block:.25rem;font-family:var(--sapFontBoldFamily);font-size:var(--sapFontLargeSize);color:var(--sapTextColor)}.ui5-user-menu-selected-account-subtitleText{margin-bottom:.25rem;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-user-menu-selected-account-description{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-user-menu-manage-account-btn{font-family:var(--sapFontSemiboldDuplexFamily);margin-block-start:1rem}.ui5-user-menu-sign-out-btn{font-family:var(--sapFontSemiboldDuplexFamily)}.ui5-user-menu-other-accounts{margin-block-end:.5rem}.ui5-user-menu-other-accounts::part(header){border-bottom-left-radius:0;border-bottom-right-radius:0}.ui5-user-menu-other-accounts::part(content){padding:0}.ui5-user-menu-other-accounts-content{display:flex;align-items:center;width:100%;height:4.5rem;gap:12px}.ui5-user-menu-other-accounts-info{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;align-self:stretch;width:100%;overflow:hidden}.ui5-user-menu-other-accounts-title{overflow:hidden;color:var(--sapList_TextColor);text-overflow:ellipsis;font-family:var(--sapFontBoldFamily);font-size:var(--sapFontSize);font-style:normal;line-height:normal}.ui5-user-menu-other-accounts-additional-info{overflow:hidden;color:var(--sapContent_LabelColor);text-overflow:ellipsis;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-style:normal;line-height:normal}.ui5-user-menu-selected-account-icon{display:flex;width:18px;align-items:center;align-self:stretch;color:var(--sapContent_NonInteractiveIconColor);font-family:var(--_ui5-v2-15-0_slider_handle_font_family);font-size:1.125rem}.ui5-user-menu-account-header{display:flex;flex:1;justify-content:space-between;align-items:center}.ui5-user-menu-footer{display:flex;flex:1;justify-content:flex-end;align-items:center}
599
- `;
600
-
601
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
602
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
603
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
604
- 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;
605
- return c > 3 && r && Object.defineProperty(target, key, r), r;
606
- };
607
- var UserMenu_1;
608
- /**
609
- * @class
610
- * ### Overview
611
- *
612
- * The `ui5-user-menu` is an SAP Fiori specific web component that is used in `ui5-shellbar`
613
- * and allows the user to easily see information and settings for the current user and all other logged in accounts.
614
- *
615
- * ### ES6 Module Import
616
- * `import "@ui5/webcomponents-fiori/dist/UserMenu.js";`
617
- *
618
- * `import "@ui5/webcomponents-fiori/dist/UserMenuItem.js";` (for `ui5-user-menu-item`)
619
- *
620
- * @constructor
621
- * @extends UI5Element
622
- * @experimental
623
- * @public
624
- * @since 2.5.0
625
- */
626
- let UserMenu = UserMenu_1 = class UserMenu extends webcomponentsBase.b {
627
- constructor() {
628
- super(...arguments);
629
- /**
630
- * Defines if the User Menu is opened.
631
- *
632
- * @default false
633
- * @public
634
- */
635
- this.open = false;
636
- /**
637
- * Defines if the User Menu shows the Manage Account option.
638
- *
639
- * @default false
640
- * @public
641
- */
642
- this.showManageAccount = false;
643
- /**
644
- * Defines if the User Menu shows the Other Accounts option.
645
- *
646
- * @default false
647
- * @public
648
- */
649
- this.showOtherAccounts = false;
650
- /**
651
- * Defines if the User Menu shows the Edit Accounts option.
652
- *
653
- * @default false
654
- * @public
655
- */
656
- this.showEditAccounts = false;
657
- /**
658
- * Defines if the User menu shows edit button.
659
- *
660
- * @default false
661
- * @public
662
- * @since 2.7.0
663
- */
664
- this.showEditButton = false;
665
- /**
666
- * @default false
667
- * @private
668
- */
669
- this._titleMovedToHeader = false;
670
- /**
671
- * @default false
672
- * @private
673
- */
674
- this._isScrolled = false;
675
- }
676
- onBeforeRendering() {
677
- this._selectedAccount = this.accounts.find(account => account.selected) || this.accounts[0];
678
- }
679
- onAfterRendering() {
680
- if (this._responsivePopover) {
681
- const observerOptions = {
682
- threshold: [0.15],
683
- };
684
- this._observer?.disconnect();
685
- this._observer = new IntersectionObserver(entries => this._handleIntersection(entries), observerOptions);
686
- if (this._selectedAccountTitleEl) {
687
- this._observer.observe(this._selectedAccountTitleEl);
688
- }
689
- if (this._selectedAccountManageBtn) {
690
- this._observer.observe(this._selectedAccountManageBtn);
691
- }
692
- }
693
- }
694
- get _isPhone() {
695
- return Theme.d();
696
- }
697
- _handleScroll(e) {
698
- this._isScrolled = e.detail.scrollTop > 0;
699
- }
700
- _handleIntersection(entries) {
701
- entries.forEach(entry => {
702
- if (entry.isIntersecting) {
703
- if (entry.target.id === "selected-account-title") {
704
- this._titleMovedToHeader = false;
705
- }
706
- return;
707
- }
708
- if (entry.target.id === "selected-account-title") {
709
- this._titleMovedToHeader = true;
710
- }
711
- }, this);
712
- }
713
- _handleAvatarClick(e) {
714
- if (e.type === "click") {
715
- // TOFIX: Discuss this check: Fire the custom UserMenu#avatar-click only for Avatar#click (not for Avatar#ui5-click as well).
716
- this.fireDecoratorEvent("avatar-click");
717
- }
718
- }
719
- _handleManageAccountClick() {
720
- this.fireDecoratorEvent("manage-account-click");
721
- }
722
- _handleEditAccountsClick() {
723
- this.fireDecoratorEvent("edit-accounts-click");
724
- }
725
- _handleAccountSwitch(e) {
726
- const item = e.detail.item;
727
- const eventPrevented = !this.fireDecoratorEvent("change-account", {
728
- prevSelectedAccount: this._selectedAccount,
729
- selectedAccount: item.associatedAccount,
730
- });
731
- if (eventPrevented) {
732
- return;
733
- }
734
- this._selectedAccount.selected = false;
735
- item.associatedAccount.selected = true;
736
- }
737
- _handleSignOutClick() {
738
- const eventPrevented = !this.fireDecoratorEvent("sign-out-click");
739
- if (eventPrevented) {
740
- return;
741
- }
742
- this._closeUserMenu();
743
- }
744
- _handleMenuItemClick(e) {
745
- const item = e.detail.item; // imrove: improve this ideally without "as" cating
746
- item._updateCheckedState();
747
- if (!item._popover) {
748
- const eventPrevented = !this.fireDecoratorEvent("item-click", {
749
- "item": item,
750
- });
751
- if (!eventPrevented) {
752
- item.fireEvent("close-menu");
753
- }
754
- }
755
- else {
756
- this._openItemSubMenu(item);
757
- }
758
- }
759
- _handleMenuItemClose() {
760
- this._closeUserMenu();
761
- }
762
- _handlePopoverAfterOpen() {
763
- this.fireDecoratorEvent("open");
764
- }
765
- _handlePopoverAfterClose() {
766
- this.open = false;
767
- this.fireDecoratorEvent("close");
768
- }
769
- _openItemSubMenu(item) {
770
- if (!item._popover || item._popover.open) {
771
- return;
772
- }
773
- item._popover.opener = item;
774
- item._popover.open = true;
775
- item.selected = true;
776
- }
777
- _closeUserMenu() {
778
- this.open = false;
779
- }
780
- get _otherAccounts() {
781
- return this.accounts;
782
- }
783
- get _manageAccountButtonText() {
784
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_MANAGE_ACCOUNT_BUTTON_TXT);
785
- }
786
- get _otherAccountsButtonText() {
787
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_OTHER_ACCOUNT_BUTTON_TXT);
788
- }
789
- get _signOutButtonText() {
790
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_SIGN_OUT_BUTTON_TXT);
791
- }
792
- get _editAvatarTooltip() {
793
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_EDIT_AVATAR_TXT);
794
- }
795
- get _editAccountsTooltip() {
796
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_EDIT_ACCOUNTS_TXT);
797
- }
798
- get _closeDialogAriaLabel() {
799
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_CLOSE_DIALOG_BUTTON);
800
- }
801
- get accessibleNameText() {
802
- if (!this._selectedAccount) {
803
- return "";
804
- }
805
- return `${UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_POPOVER_ACCESSIBLE_NAME)} ${this._selectedAccount.titleText}`;
806
- }
807
- get _ariaLabelledByAccountInformationText() {
808
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_CURRENT_INFORMATION_TXT);
809
- }
810
- get _ariaLabelledByActions() {
811
- return UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_ACTIONS_TXT);
812
- }
813
- getAccountDescriptionText(account) {
814
- return `${account.subtitleText} ${account.description} ${account.selected ? UserMenu_1.i18nBundle.getText(i18nDefaults$1.USER_MENU_POPOVER_ACCESSIBLE_ACCOUNT_SELECTED_TXT) : ""}`;
815
- }
816
- getAccountByRefId(refId) {
817
- return this.accounts.find(account => account._id === refId);
818
- }
819
- captureRef(ref) {
820
- if (ref) {
821
- ref.associatedAccount = this;
822
- }
823
- }
824
- };
825
- __decorate([
826
- webcomponentsBase.s({ type: Boolean })
827
- ], UserMenu.prototype, "open", void 0);
828
- __decorate([
829
- webcomponentsBase.s({ converter: ResponsivePopover.e })
830
- ], UserMenu.prototype, "opener", void 0);
831
- __decorate([
832
- webcomponentsBase.s({ type: Boolean })
833
- ], UserMenu.prototype, "showManageAccount", void 0);
834
- __decorate([
835
- webcomponentsBase.s({ type: Boolean })
836
- ], UserMenu.prototype, "showOtherAccounts", void 0);
837
- __decorate([
838
- webcomponentsBase.s({ type: Boolean })
839
- ], UserMenu.prototype, "showEditAccounts", void 0);
840
- __decorate([
841
- webcomponentsBase.s({ type: Boolean })
842
- ], UserMenu.prototype, "showEditButton", void 0);
843
- __decorate([
844
- webcomponentsBase.d({
845
- type: HTMLElement,
846
- "default": true,
847
- })
848
- ], UserMenu.prototype, "menuItems", void 0);
849
- __decorate([
850
- webcomponentsBase.d({
851
- type: HTMLElement,
852
- invalidateOnChildChange: {
853
- properties: true,
854
- slots: false,
855
- },
856
- })
857
- ], UserMenu.prototype, "accounts", void 0);
858
- __decorate([
859
- webcomponentsBase.s({ type: Boolean })
860
- ], UserMenu.prototype, "_titleMovedToHeader", void 0);
861
- __decorate([
862
- webcomponentsBase.s({ type: Boolean })
863
- ], UserMenu.prototype, "_isScrolled", void 0);
864
- __decorate([
865
- query.o("#user-menu-rp")
866
- ], UserMenu.prototype, "_responsivePopover", void 0);
867
- __decorate([
868
- query.o("#selected-account-title")
869
- ], UserMenu.prototype, "_selectedAccountTitleEl", void 0);
870
- __decorate([
871
- query.o("#selected-account-manage-btn")
872
- ], UserMenu.prototype, "_selectedAccountManageBtn", void 0);
873
- __decorate([
874
- parametersBundle_css$1.i("@ui5/webcomponents-fiori")
875
- ], UserMenu, "i18nBundle", void 0);
876
- UserMenu = UserMenu_1 = __decorate([
877
- webcomponentsBase.m({
878
- tag: "ui5-user-menu",
879
- languageAware: true,
880
- renderer: parametersBundle_css.y,
881
- template: UserMenuTemplate,
882
- styles: [UserMenuCss],
883
- })
884
- /**
885
- * Fired when the account avatar is selected.
886
- * @public
887
- */
888
- ,
889
- eventStrict.l("avatar-click")
890
- /**
891
- * Fired when the "Manage Account" button is selected.
892
- * @public
893
- */
894
- ,
895
- eventStrict.l("manage-account-click")
896
- /**
897
- * Fired when the "Edit Accounts" button is selected.
898
- * @public
899
- */
900
- ,
901
- eventStrict.l("edit-accounts-click")
902
- /**
903
- * Fired when the account is switched to a different one.
904
- * @param {UserMenuAccount} prevSelectedAccount The previously selected account.
905
- * @param {UserMenuAccount} selectedAccount The selected account.
906
- * @public
907
- */
908
- ,
909
- eventStrict.l("change-account", {
910
- cancelable: true,
911
- })
912
- /**
913
- * Fired when a menu item is selected.
914
- * @param {UserMenuItem} item The selected `user menu item`.
915
- * @public
916
- */
917
- ,
918
- eventStrict.l("item-click", {
919
- cancelable: true,
920
- })
921
- /**
922
- * Fired when a user menu is open.
923
- * @public
924
- * @since 2.6.0
925
- */
926
- ,
927
- eventStrict.l("open")
928
- /**
929
- * Fired when a user menu is close.
930
- * @public
931
- * @since 2.6.0
932
- */
933
- ,
934
- eventStrict.l("close")
935
- /**
936
- * Fired when the "Sign Out" button is selected.
937
- * @public
938
- * @since 2.6.0
939
- */
940
- ,
941
- eventStrict.l("sign-out-click", {
942
- cancelable: true,
943
- })
944
- ], UserMenu);
945
- UserMenu.define();
946
- var UserMenu_default = UserMenu;
947
-
948
- return UserMenu_default;
949
-
950
- }));
1
+ sap.ui.define(["sap/f/thirdparty/webcomponents","sap/f/thirdparty/event-strict","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/query","sap/f/thirdparty/ResponsivePopover","sap/f/thirdparty/MenuItem2","sap/f/thirdparty/Theme","sap/f/thirdparty/Avatar","sap/f/thirdparty/Button2","sap/f/thirdparty/Icon","sap/f/thirdparty/Tag","sap/f/thirdparty/Title","sap/f/thirdparty/Text","sap/f/thirdparty/Label","sap/f/thirdparty/List","sap/f/thirdparty/i18n-defaults2","sap/f/thirdparty/AccessibilityTextsHelper","sap/f/thirdparty/Icons","sap/f/thirdparty/information","sap/f/thirdparty/sys-enter-2","sap/f/thirdparty/parameters-bundle.css3","sap/f/thirdparty/i18n-defaults","sap/f/thirdparty/ValueState","sap/f/thirdparty/toLowercaseEnumValue","sap/f/thirdparty/FocusableElements","sap/f/thirdparty/ListItemBase","sap/f/thirdparty/ListItemAdditionalText.css","sap/f/thirdparty/BusyIndicator","sap/f/thirdparty/willShowContent","sap/f/thirdparty/ListItemGroup","sap/f/thirdparty/WrappingType"],function(e,t,n,i,o,a,r,s,l,c,d,u,h,p,f,_,m,g,b,v,x,y,T,q,A,w,B,C,E,j,k,S){"use strict";function R(){return i.jsx(i.Fragment,{children:i.jsxs("div",{class:"ui5-panel-root",role:this.accRole,"aria-label":this.effectiveAccessibleName,"aria-labelledby":this.fixedPanelAriaLabelledbyReference,children:[this.hasHeaderOrHeaderText&&i.jsx("div",{class:{"ui5-panel-heading-wrapper":true,"ui5-panel-heading-wrapper-sticky":this.stickyHeader},role:this.headingWrapperRole,"aria-level":this.headingWrapperAriaLevel,children:i.jsxs("div",{onClick:this._headerClick,onKeyDown:this._headerKeyDown,onKeyUp:this._headerKeyUp,class:"ui5-panel-header",tabindex:this.headerTabIndex,role:this.accInfo.role,"aria-expanded":this.accInfo.ariaExpanded,"aria-controls":this.accInfo.ariaControls,"aria-labelledby":this.accInfo.ariaLabelledby,part:"header",children:[!this.fixed&&i.jsx("div",{class:"ui5-panel-header-button-root",children:this._hasHeader?i.jsx(c.Button,{design:"Transparent",class:"ui5-panel-header-button ui5-panel-header-button-with-icon",onClick:this._toggleButtonClick,accessibilityAttributes:this.accInfo.button.accessibilityAttributes,tooltip:this.accInfo.button.title,accessibleName:this.accInfo.button.ariaLabelButton,children:i.jsx("div",{class:"ui5-panel-header-icon-wrapper",children:i.jsx(d.Icon,{class:{"ui5-panel-header-icon":true,"ui5-panel-header-button-animated":!this.shouldNotAnimate},name:r.slimArrowRight})})}):i.jsx(d.Icon,{class:{"ui5-panel-header-button":true,"ui5-panel-header-icon":true,"ui5-panel-header-button-animated":!this.shouldNotAnimate},name:r.slimArrowRight,showTooltip:true,accessibleName:this.toggleButtonTitle})}),this._hasHeader?i.jsx("slot",{name:"header"}):i.jsx("div",{id:`${this._id}-header-title`,class:"ui5-panel-header-title",children:this.headerText})]})}),i.jsx("div",{class:"ui5-panel-content",id:`${this._id}-content`,tabindex:-1,style:{display:this._contentExpanded?"block":"none"},part:"content",children:i.jsx("slot",{})})]})})}s.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);s.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var I=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block}:host{font-family:var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5_panel_header_padding_right);font-family:var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5_panel_focus_border);border-radius:var(--_ui5_panel_border_radius);top:var(--_ui5_panel_focus_offset);bottom:var(--_ui5_panel_focus_bottom_offset);left:var(--_ui5_panel_focus_offset);right:var(--_ui5_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5_panel_header_background_color);z-index:100;border-radius:var(--_ui5_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5_panel_border_radius);border-bottom-right-radius:var(--_ui5_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5_panel_button_root_width);height:var(--_ui5_panel_button_root_height);padding:var(--_ui5_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5_panel_border_radius);border-bottom-right-radius:var(--_ui5_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column}\n`;var N=this&&this.__decorate||function(e,t,n,i){var o=arguments.length,a=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,n):i,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)if(r=e[s])a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a;return o>3&&a&&Object.defineProperty(t,n,a),a};var z;let M=z=class t extends e.S{constructor(){super(...arguments);this.fixed=false;this.collapsed=false;this.noAnimation=false;this.accessibleRole="Form";this.headerLevel="H2";this.stickyHeader=false;this.useAccessibleNameForToggleButton=false;this._hasHeader=false;this._contentExpanded=false;this._animationRunning=false;this._pendingToggle=false}onBeforeRendering(){if(!this._animationRunning){this._contentExpanded=!this.collapsed}this._hasHeader=!!this.header.length}shouldToggle(e){const t=this.header.length;if(t){return e.classList.contains("ui5-panel-header-button")}return true}get shouldNotAnimate(){return this.noAnimation||e.d$1()===s.u.None}_headerClick(e){if(!this.shouldToggle(e.target)){return}this._toggleOpen()}_toggleButtonClick(e){if(e.detail.originalEvent.x===0&&e.detail.originalEvent.y===0){e.stopImmediatePropagation()}}_headerKeyDown(t){if(!this.shouldToggle(t.target)){return}if(e.b(t)){this._toggleOpen()}if(e.A(t)){t.preventDefault();this._pendingToggle=true}if(e.m$2(t)&&this._pendingToggle){t.preventDefault();this._pendingToggle=false}}_headerKeyUp(t){if(!this.shouldToggle(t.target)){return}if(e.b(t)){t.preventDefault()}if(e.A(t)){if(this._pendingToggle){this._toggleOpen()}this._pendingToggle=false}}_toggleOpen(){if(this.fixed){return}this.collapsed=!this.collapsed;if(this.shouldNotAnimate){this.fireDecoratorEvent("toggle");return}this._animationRunning=true;const t=this.getDomRef().querySelectorAll(".ui5-panel-content");const n=[];[].forEach.call(t,t=>{if(this.collapsed){n.push(e.u(t).promise())}else{n.push(e.b$1(t).promise())}});Promise.all(n).then(()=>{this._animationRunning=false;this._contentExpanded=!this.collapsed;this.fireDecoratorEvent("toggle")})}_headerOnTarget(e){return e.classList.contains("sapMPanelWrappingDiv")}get toggleButtonTitle(){return z.i18nBundle.getText(m.PANEL_ICON)}get expanded(){return!this.collapsed}get accRole(){return this.accessibleRole.toLowerCase()}get effectiveAccessibleName(){return typeof this.accessibleName==="string"&&this.accessibleName.length?this.accessibleName:undefined}get accInfo(){return{button:{accessibilityAttributes:{expanded:this.expanded},title:this.toggleButtonTitle,ariaLabelButton:!this.nonFocusableButton&&this.useAccessibleNameForToggleButton?this.effectiveAccessibleName:undefined},ariaExpanded:this.nonFixedInternalHeader?this.expanded:undefined,ariaControls:this.nonFixedInternalHeader?`${this._id}-content`:undefined,ariaLabelledby:this.nonFocusableButton?this.ariaLabelledbyReference:undefined,role:this.nonFixedInternalHeader?"button":undefined}}get ariaLabelledbyReference(){return this.nonFocusableButton&&this.headerText&&!this.fixed?`${this._id}-header-title`:undefined}get fixedPanelAriaLabelledbyReference(){return this.fixed&&!this.effectiveAccessibleName?`${this._id}-header-title`:undefined}get headerAriaLevel(){return Number.parseInt(this.headerLevel.slice(1))}get headerTabIndex(){return this.header.length||this.fixed?-1:0}get headingWrapperAriaLevel(){return!this._hasHeader?this.headerAriaLevel:undefined}get headingWrapperRole(){return!this._hasHeader?"heading":undefined}get nonFixedInternalHeader(){return!this._hasHeader&&!this.fixed}get hasHeaderOrHeaderText(){return this._hasHeader||this.headerText}get nonFocusableButton(){return!this.header.length}};N([e.s()],M.prototype,"headerText",void 0);N([e.s({type:Boolean})],M.prototype,"fixed",void 0);N([e.s({type:Boolean})],M.prototype,"collapsed",void 0);N([e.s({type:Boolean})],M.prototype,"noAnimation",void 0);N([e.s()],M.prototype,"accessibleRole",void 0);N([e.s()],M.prototype,"headerLevel",void 0);N([e.s()],M.prototype,"accessibleName",void 0);N([e.s({type:Boolean})],M.prototype,"stickyHeader",void 0);N([e.s({type:Boolean})],M.prototype,"useAccessibleNameForToggleButton",void 0);N([e.s({type:Boolean})],M.prototype,"_hasHeader",void 0);N([e.s({type:Boolean,noAttribute:true})],M.prototype,"_contentExpanded",void 0);N([e.s({type:Boolean,noAttribute:true})],M.prototype,"_animationRunning",void 0);N([e.s({type:Boolean,noAttribute:true})],M.prototype,"_pendingToggle",void 0);N([e.d()],M.prototype,"header",void 0);N([n.i("@ui5/webcomponents")],M,"i18nBundle",void 0);M=z=N([e.m({tag:"ui5-panel",fastNavigation:true,languageAware:true,renderer:i.y,template:R,styles:I}),t.l("toggle",{bubbles:true})],M);M.define();var F=M;function L(){return i.jsxs("div",{class:"ui5-bar-root","aria-label":this.accInfo.label,role:this.accInfo.role,part:"bar",children:[i.jsx("div",{class:"ui5-bar-content-container ui5-bar-startcontent-container",part:"startContent",children:i.jsx("slot",{name:"startContent"})}),i.jsx("div",{class:"ui5-bar-content-container ui5-bar-midcontent-container",part:"midContent",children:i.jsx("slot",{})}),i.jsx("div",{class:"ui5-bar-content-container ui5-bar-endcontent-container",part:"endContent",children:i.jsx("slot",{name:"endContent"})})]})}s.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);s.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var O=`:host{background-color:var(--sapPageHeader_Background);height:var(--_ui5_bar_base_height);width:100%;box-shadow:var(--sapContent_HeaderShadow);display:block}.ui5-bar-root{display:flex;align-items:center;justify-content:space-between;height:100%;width:100%;background-color:inherit;box-shadow:inherit;border-radius:inherit;min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container,.ui5-bar-root .ui5-bar-endcontent-container,.ui5-bar-root .ui5-bar-midcontent-container{display:flex;align-items:center}.ui5-bar-root .ui5-bar-startcontent-container{flex:0 1 auto}.ui5-bar-root .ui5-bar-endcontent-container{flex:0 0 auto}.ui5-bar-root .ui5-bar-midcontent-container{justify-content:center;flex:1 1 auto;padding:0 var(--_ui5_bar-mid-container-padding-start-end);min-width:0;overflow:hidden}.ui5-bar-root .ui5-bar-startcontent-container{padding-inline-start:var(--_ui5_bar-start-container-padding-start)}.ui5-bar-root .ui5-bar-content-container{min-width:calc(30% - calc(var(--_ui5_bar-start-container-padding-start) + var(--_ui5_bar-end-container-padding-end) + (2*var(--_ui5_bar-mid-container-padding-start-end))))}.ui5-bar-root.ui5-bar-root-shrinked .ui5-bar-content-container{min-width:0px;overflow:hidden;height:100%}.ui5-bar-root .ui5-bar-endcontent-container{padding-inline-end:var(--_ui5_bar-end-container-padding-end)}:host([design="Footer"]){background-color:var(--sapPageFooter_Background);border-top:.0625rem solid var(--sapPageFooter_BorderColor);box-shadow:none}:host([design="Subheader"]){height:var(--_ui5_bar_subheader_height);margin-top:var(--_ui5_bar_subheader_margin-top)}:host([design="FloatingFooter"]){border-radius:var(--sapElement_BorderCornerRadius);background-color:var(--sapPageFooter_Background);box-shadow:var(--sapContent_Shadow1);border:none}::slotted(*){margin:0 .25rem;display:inline-block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}\n`;var D=this&&this.__decorate||function(e,t,n,i){var o=arguments.length,a=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,n):i,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)if(r=e[s])a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a;return o>3&&a&&Object.defineProperty(t,n,a),a};let H=class t extends e.S{get accInfo(){return{label:this.ariaLabelText,role:this.effectiveRole}}get ariaLabelText(){if(this.accessibleName||this.accessibleNameRef){return g.A(this)}return this.design}constructor(){super();this.design="Header";this.accessibleRole="Toolbar";this._handleResizeBound=this.handleResize.bind(this)}handleResize(){const e=this.getDomRef();const t=e.offsetWidth;const n=Array.from(e.children).some(e=>e.offsetWidth>t/3);e.classList.toggle("ui5-bar-root-shrinked",n)}onEnterDOM(){e.f.register(this,this._handleResizeBound);this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(t=>{e.f.register(t,this._handleResizeBound)},this)}onExitDOM(){e.f.deregister(this,this._handleResizeBound);this.getDomRef().querySelectorAll(".ui5-bar-content-container").forEach(t=>{e.f.deregister(t,this._handleResizeBound)},this)}get effectiveRole(){return this.accessibleRole.toLowerCase()==="toolbar"?"toolbar":undefined}};D([e.s()],H.prototype,"design",void 0);D([e.s()],H.prototype,"accessibleRole",void 0);D([e.s()],H.prototype,"accessibleName",void 0);D([e.s()],H.prototype,"accessibleNameRef",void 0);D([e.d()],H.prototype,"startContent",void 0);D([e.d({type:HTMLElement,default:true})],H.prototype,"middleContent",void 0);D([e.d()],H.prototype,"endContent",void 0);H=D([e.m({tag:"ui5-bar",fastNavigation:true,renderer:i.y,styles:O,template:L})],H);H.define();var P=H;const U="person-placeholder";const $="M64 512V384q0-26 10-49.5t27.5-41T142 266t50-10h64q-27 0-50-10t-40.5-27.5T138 178t-10-50q0-26 10-49.5t27.5-41T206 10t50-10q26 0 49.5 10t41 27.5 27.5 41 10 49.5q0 27-10 50t-27.5 40.5-41 27.5-49.5 10h64q26 0 49.5 10t41 27.5 27.5 41 10 49.5v128H64zm32-128v96h320v-96q0-40-28-68t-68-28H192q-40 0-68 28t-28 68zm64-256q0 40 28 68t68 28 68-28 28-68-28-68-68-28-68 28-28 68z";const V=false;const G="SAP-icons-v4";const W="@ui5/webcomponents-icons";b.y(U,{pathData:$,ltr:V,collection:G,packageName:W});const X="person-placeholder";const K="M342 255q48 23 77 67.5t29 99.5v32q0 11-7.5 18.5T422 480H90q-11 0-18.5-7.5T64 454v-32q0-56 29-100t77-67q-20-18-31-42.5T128 160q0-27 10-50t27.5-40.5 41-27.5T256 32t49.5 10.5 41 28T374 111t10 49q0 27-11 52t-31 43zM256 83q-32 0-54.5 22.5T179 160t22.5 54.5T256 237t54.5-22.5T333 160t-22.5-54.5T256 83zm141 339q0-28-10.5-52.5t-29-42.5-43-28.5T262 288h-12q-28 0-52.5 10.5t-43 28.5-29 42.5T115 422v7h282v-7z";const J=false;const Q="SAP-icons-v5";const Y="@ui5/webcomponents-icons";b.y(X,{pathData:K,ltr:J,collection:Q,packageName:Y});var Z="person-placeholder";const ee="user-settings";const te="M512 512H192v-64q0-27 10-50t27.5-40.5T270 330t50-10h32q-43 0-69.5-27T256 224q0-13 1-14 5-32 27-54t54-27q1-1 14-1 42 0 69 26.5t27 69.5q0 40-28 68t-68 28h32q26 0 49.5 10t41 27.5T502 398t10 50v64zM0 224q0-14 9-23t23-9h28q2-8 5.5-15t6.5-14l-20-20q-9-10-9-23t9-22l46-46q9-9 22-9 14 0 23 9l20 20q7-3 14-6.5t15-5.5V32q0-14 9-23t23-9h64q14 0 23 9t9 23v28q8 2 15 5.5t14 6.5l20-20q9-9 23-9 13 0 22 9l46 46q9 9 9 22t-9 23l-6 5-10-12-12-11 5-5-45-45-23 23q-5-1-8.5-1.5T352 96q-6 0-12 .5T328 98q-1-1-4-1-4-2-6.5-3l-7.5-3-22-8V32h-64v51l-22 8q-2 1-5 1.5t-5 2.5l-15 6-20 10-37-36-45 45 36 37-10 20q-3 6-5.5 12.5T91 202l-8 22H32v64h51l8 22q1 2 2 5t2 5q0 2 2 4 1 3 2 5.5t2 4.5l10 21-36 37 45 45 37-37 9 5q-5 18-6 37l-17 18q-9 9-23 9-13 0-22-9l-46-46q-9-9-9-22.5t9-22.5l20-20q-3-7-6.5-14T60 320H32q-14 0-23-9.5T0 288v-64zm480 256v-32q0-40-28-68t-68-28h-64q-40 0-68 28t-28 68v32h256zM288 224q0 27 18.5 45.5T352 288q26 0 45-19t19-45q0-27-18.5-45.5T352 160q-26 0-45 19t-19 45zm-128 37q0-35 16-59.5t48-36.5l8-2 9-2q-5 8-8.5 16.5T227 194q0 1-.5 2t-.5 3q-1 0-1 .5t-1 .5l-12 9q-11 11-15.5 21.5T192 256q0 4 .5 8t1.5 9q8 25 30 38l4 2 4 2q-4 1-8 5-5 4-9.5 8t-9.5 9q-4-2-7-5t-6-5q-4-3-7-7-13-15-18-27t-7-32z";const ne=false;const ie="SAP-icons-v4";const oe="@ui5/webcomponents-icons";b.y(ee,{pathData:te,ltr:ne,collection:ie,packageName:oe});const ae="user-settings";const re="M166.907 396.779q10.994 0 18.49 6.996t7.495 17.99-7.495 18.49-18.49 7.495H25.985q-10.993 0-18.49-7.496T0 421.764v-31.982q0-55.968 28.984-99.944t76.957-66.962q-41.977-38.979-41.977-94.947 0-26.985 10.494-50.472t27.985-40.977T142.92 9.495 191.893 0q26.985 0 49.972 10.494t40.477 27.985 27.485 40.477 9.995 48.973-9.495 48.972-26.985 40.478-40.977 27.984-50.472 10.494h-5.997q-27.984 0-52.47 10.494T90.45 294.835t-28.984 42.477-10.494 52.47v6.997h115.935zm24.986-345.807q-31.982 0-54.47 22.487t-22.487 54.47 22.487 54.47 54.47 22.487q32.982 0 54.97-22.988t21.987-53.97q0-31.982-22.487-54.469t-54.47-22.487zm310.826 340.81q4.998 1.998 7.496 5.996t1.5 8.995l-3.998 16.99q-2 9.995-11.994 9.995l-27.984-3.998q-5.997 11.993-15.991 21.988l-6.996 6.996 9.994 26.985q0 1 .5 1.999t.5 1.999q0 8.995-7.996 11.993l-14.991 7.996q-2 0-2.5.5t-2.498.499q-7.995 0-10.994-6.996l-14.991-25.986q-4.997 1-8.995 1.5t-8.995.5q-3.998 0-7.496-.5t-8.495-.5l-14.992 26.985q-2.998 5.996-10.994 5.996-3.998 0-5.996-.999l-14.992-7.996q-6.996-2.998-6.996-10.993 0-3.998 1-4.998l9.994-26.985q-7.996-4.997-13.493-11.993t-10.494-14.991l-27.984 3.997q-10.994 0-12.993-9.994l-3.998-19.989q0-9.994 8.995-11.993l22.987-7.996q0-21.988 6.996-39.978l-16.99-15.99q-3.998-3.998-3.998-9.995 0-3.998 2.999-7.996l9.994-12.992q4.997-4.998 9.994-4.998 2.999 0 6.996 2l18.99 12.992q7.995-6.996 16.99-11.493t18.99-7.496l1.999-22.987q1.999-11.994 12.992-11.994h16.99q4.998 0 8.496 3.498t3.498 8.496l2 21.987q21.987 4.997 37.978 17.99l18.99-12.993q3.997-1.998 6.995-1.998 4.998 0 9.995 4.997l9.994 12.993q2.999 3.997 2.999 7.995 0 5.997-3.998 9.995l-15.991 14.991q7.995 20.988 7.995 40.977zm-163.908-7.996q0 18.99 12.993 31.982t31.982 12.993 31.982-12.993 12.993-31.982-12.993-31.982-31.982-12.993-31.982 12.993-12.993 31.982z";const se=false;const le="SAP-icons-v5";const ce="@ui5/webcomponents-icons";b.y(ae,{pathData:re,ltr:se,collection:le,packageName:ce});var de="user-settings";const ue="log";const he="M352 86q57 27 92.5 81T480 288q0 47-17.5 87.5t-48 71-71.5 48-87 17.5q-47 0-87.5-17.5t-71-48-48-71T32 288q0-67 35.5-121T160 86v36q-43 25-69.5 68.5T64 288q0 40 15 75t41 61 61 41 75 15 75-15 61-41 41-61 15-75q0-54-26.5-97.5T352 122V86zm-96 202q-14 0-23-9t-9-23V32q0-13 9-22.5T256 0q13 0 22.5 9.5T288 32v224q0 14-9.5 23t-22.5 9z";const pe=false;const fe="SAP-icons-v4";const _e="@ui5/webcomponents-icons";b.y(ue,{pathData:he,ltr:pe,collection:fe,packageName:_e});const me="log";const ge="M256 256q-11 0-18.5-7.5T230 230V26q0-11 7.5-18.5T256 0t18.5 7.5T282 26v204q0 11-7.5 18.5T256 256zm0 256q-53 0-100-20t-81.5-54.5T20 356 0 256q0-67 31-125t82-90q9-6 13.5-7.5T134 32q11 0 18.5 7.5T160 58q0 13-12 21-46 29-71.5 76T51 256q0 43 16 80t44 65 65 44 80 16 80.5-16 65-44 43.5-65 16-80q0-54-26-101t-71-76q-12-8-12-21 0-11 7.5-18.5T378 32q3 0 7.5 1.5T399 41q51 32 82 90t31 126q0 53-20 99.5t-54.5 81T356 492t-100 20z";const be=false;const ve="SAP-icons-v5";const xe="@ui5/webcomponents-icons";b.y(me,{pathData:ge,ltr:be,collection:ve,packageName:xe});var ye="log";const Te="user-edit";const qe="M151.25 384H.25v-64q0-26 10-49.5t27.5-41 40.5-27.5 50-10h32q-40 0-68-28t-28-68 28-68 68-28 68 28 28 68-28 68-68 28h32q31 0 57 14t44 37l-23 22q-13-19-33.5-30t-44.5-11h-64q-40 0-68 28t-28 68v32h151zm-9 128q2-4 8-20t12-34q4-10 7.5-21t8.5-24l261-260q5-5 11-5t11 5l45 45q11 11 0 22l-260 261q-1 1-17 6t-36 10q-22 8-51 15zm18-352q26 0 45-19t19-45-19-45-45-19q-27 0-45.5 19t-18.5 45 18.5 45 45.5 19zm45 271l23 22 181-181-22-22zm204-204l23 23 40-41-22-22z";const Ae=false;const we="SAP-icons-v4";const Be="@ui5/webcomponents-icons";b.y(Te,{pathData:qe,ltr:Ae,collection:we,packageName:Be});const Ce="user-edit";const Ee="M70 397q11 0 18.5 7t7.5 18-7.5 18.5T70 448H26q-11 0-18.5-7.5T0 422v-32q0-55 29-99.5t77-67.5l-4-5q-19-18-28.5-41T64 128q0-27 10.5-50.5t28-41 40.5-27T192 0q27 0 50 10.5t40.5 28T310 79t10 49-9.5 49-27 40.5-41 28T192 256h-6q-28 0-52.5 10.5t-43 28.5-29 42.5T51 390v7h19zM192 51q-32 0-54.5 22.5T115 128t22.5 54.5T192 205q33 0 55-23t22-54q0-32-22.5-54.5T192 51zm313 161q7 7 7 18t-7 18l-25 26q-8 8-19 8-10 0-18-8l-50-51q-7-7-7-18t7-18l25-26q7-7 18-7 12 0 19 7zm-75 77q7 9 7 18t-7 18L254 504q-8 8-18 8h-50q-11 0-18.5-7.5T160 486v-51q0-9 7-18l176-179q8-8 18-8 12 0 18 8zm-55 18l-14-14-150 153v15h14z";const je=false;const ke="SAP-icons-v5";const Se="@ui5/webcomponents-icons";b.y(Ce,{pathData:Ee,ltr:je,collection:ke,packageName:Se});var Re="user-edit";function Ie(){return i.jsxs(a.ResponsivePopover,{id:"user-menu-rp",class:"ui5-user-menu-rp",placement:"Bottom",verticalAlign:"Bottom",horizontalAlign:"End",tabindex:-1,accessibleName:this.accessibleNameText,"aria-label":this.accessibleNameText,open:this.open,opener:this.opener,onClose:this._handlePopoverAfterClose,onOpen:this._handlePopoverAfterOpen,onScroll:this._handleScroll,children:[i.jsxs(i.Fragment,{children:[i.jsxs(P,{class:{"ui5-user-menu-fixed-header":true,"ui5-user-menu-rp-scrolled":this._isScrolled||this._titleMovedToHeader},slot:"header",children:[this._titleMovedToHeader&&i.jsx(h.Title,{level:"H1",wrappingType:"None",children:this._selectedAccount.titleText}),this._isPhone&&i.jsx(c.Button,{icon:v.decline,design:"Transparent",accessibleName:this._closeDialogAriaLabel,onClick:this._closeUserMenu,slot:"endContent"})]}),i.jsx("div",{class:"ui5-user-menu-header",children:Ne.call(this)})]}),this.showOtherAccounts&&i.jsx(i.Fragment,{children:ze.call(this)}),this.menuItems.length>0&&i.jsx(_.List,{id:"ui5-user-menu-list",class:"ui5-user-menu-list",selectionMode:"None",separators:"None",accessibleRole:"Menu",onItemClick:this._handleMenuItemClick,"onui5-close-menu":this._handleMenuItemClose,children:i.jsx("slot",{})}),i.jsx("div",{slot:"footer",class:"ui5-user-menu-footer",children:i.jsx(c.Button,{class:"ui5-user-menu-sign-out-btn",design:"Transparent",icon:ye,onClick:this._handleSignOutClick,children:this._signOutButtonText})})]})}function Ne(){return i.jsx(i.Fragment,{children:this._selectedAccount&&i.jsxs("div",{class:"ui5-user-menu-selected-account","aria-label":this._ariaLabelledByAccountInformationText,children:[i.jsxs(l,{size:"L",onClick:this._handleAvatarClick,initials:this._selectedAccount._initials,colorScheme:this._selectedAccount.avatarColorScheme,fallbackIcon:Z,class:"ui5-user-menu-selected-account-avatar",interactive:true,children:[this._selectedAccount.avatarSrc&&i.jsx("img",{src:this._selectedAccount.avatarSrc,title:this.showEditButton?this._editAvatarTooltip:undefined}),this.showEditButton&&i.jsx(u.Tag,{slot:"badge",wrappingType:"None",design:"Set1",colorScheme:"5",children:i.jsx(d.Icon,{slot:"icon",name:r.edit})})]}),this._selectedAccount.titleText&&i.jsx(p.Text,{id:"selected-account-title",class:"ui5-user-menu-selected-account-title",children:this._selectedAccount.titleText}),this._selectedAccount.subtitleText&&i.jsx(p.Text,{class:"ui5-user-menu-selected-account-subtitleText",children:this._selectedAccount.subtitleText}),this._selectedAccount.description&&i.jsx(p.Text,{class:"ui5-user-menu-selected-account-description",children:this._selectedAccount.description}),this._selectedAccount.additionalInfo&&i.jsx(p.Text,{class:"ui5-user-menu-selected-account-additional-info",children:this._selectedAccount.additionalInfo}),this.showManageAccount&&i.jsx(c.Button,{id:"selected-account-manage-btn",icon:de,class:"ui5-user-menu-manage-account-btn",onClick:this._handleManageAccountClick,children:this._manageAccountButtonText})]})})}function ze(){return i.jsx(i.Fragment,{children:i.jsxs(F,{collapsed:true,class:"ui5-user-menu-other-accounts","aria-label":this._otherAccountsButtonText,children:[i.jsxs("div",{slot:"header",class:"ui5-user-menu-account-header",children:[i.jsxs(h.Title,{slot:"header",level:"H4","wrapping-type":"None",children:[this._otherAccountsButtonText," (",this._otherAccounts.length,")"]}),this.showEditAccounts&&i.jsx(c.Button,{slot:"header",class:"ui5-user-menu-add-account-btn",design:"Transparent",icon:Re,onClick:this._handleEditAccountsClick,tooltip:this._editAccountsTooltip})]}),this._otherAccounts.length>0&&i.jsx(i.Fragment,{children:Me.call(this)})]})})}function Me(){return i.jsx(i.Fragment,{children:i.jsx(_.List,{onItemClick:this._handleAccountSwitch,"aria-label":this._ariaLabelledByActions,loadingDelay:0,loading:this._otherAccounts.some(e=>e.loading===true),children:this._otherAccounts.map((e,t)=>i.jsx(r.ListItemCustom,{ref:this.captureRef.bind(e),accessibilityAttributes:{ariaPosinset:t+1,ariaSetsize:this._otherAccounts.length},"aria-label":e.titleText,children:i.jsxs("div",{class:"ui5-user-menu-other-accounts-content",children:[i.jsx(l,{slot:"image",size:"S",initials:e._initials,fallbackIcon:Z,colorScheme:e.avatarColorScheme,children:e.avatarSrc&&i.jsx("img",{src:e.avatarSrc})}),i.jsxs("div",{class:"ui5-user-menu-other-accounts-info",children:[e.titleText&&i.jsx(h.Title,{class:"ui5-user-menu-other-accounts-title",children:e.titleText}),e.subtitleText&&i.jsx(f,{class:"ui5-user-menu-other-accounts-additional-info",children:e.subtitleText}),e.description&&i.jsx(f,{class:"ui5-user-menu-other-accounts-additional-info",children:e.description})]}),i.jsx("div",{children:e.selected&&i.jsx(d.Icon,{part:"icon",name:x.selectedAccount,class:"ui5-user-menu-selected-account-icon",mode:"Decorative"})})]})}))})})}s.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);s.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s"+"-"+"f"+"i"+"o"+"r"+"i","sap_horizon",async()=>y.defaultTheme,"host");var Fe=`.ui5-user-menu-rp{width:20rem}.ui5-user-menu-rp::part(content),.ui5-user-menu-rp::part(footer){padding-inline:.5rem}.ui5-user-menu-rp::part(header){box-shadow:none;padding:0}.ui5-user-menu-header{display:flex;flex-direction:column}[on-phone] .ui5-user-menu-header{padding-inline:0}.ui5-user-menu-fixed-header:not(.ui5-user-menu-rp-scrolled){box-shadow:none}.ui5-user-menu-fixed-header::part(startContent),.ui5-user-menu-fixed-header::part(endContent){padding:0}.ui5-user-menu-fixed-header [ui5-button]{margin-inline:.5rem;font-family:var(--sapFontSemiboldDuplexFamily)}.ui5-user-menu-rp::part(content){padding-top:0;padding-bottom:.5rem}.ui5-user-menu-rp::part(footer){padding-block:.5rem}.ui5-user-menu-selected-account{display:flex;align-items:center;flex-direction:column;margin-block-end:.5rem;overflow:hidden}.ui5-user-menu-selected-account-avatar{margin-block-start:.25rem;margin-block-end:.5rem}.ui5-user-menu-avatar-img{object-fit:cover}.ui5-user-menu-selected-account-title{text-align:center;margin-block:.25rem;font-family:var(--sapFontSemiboldDuplexFamily);font-size:var(--sapFontLargeSize);color:var(--sapTextColor)}.ui5-user-menu-selected-account-subtitleText{text-align:center;margin-bottom:.25rem;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-user-menu-selected-account-description{text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-user-menu-selected-account-additional-info{margin-top:.25rem;text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-user-menu-manage-account-btn{font-family:var(--sapFontSemiboldDuplexFamily);margin-block-start:1rem}.ui5-user-menu-sign-out-btn{font-family:var(--sapFontSemiboldDuplexFamily)}.ui5-user-menu-other-accounts{margin-block-end:.5rem}.ui5-user-menu-other-accounts::part(header){border-bottom-left-radius:0;border-bottom-right-radius:0}.ui5-user-menu-other-accounts::part(content){padding:0}.ui5-user-menu-other-accounts-content{display:flex;align-items:center;width:100%;min-height:4.5rem;gap:12px}.ui5-user-menu-other-accounts-info{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;align-self:stretch;width:100%;overflow:hidden}.ui5-user-menu-other-accounts-title{overflow:hidden;color:var(--sapList_TextColor);text-overflow:ellipsis;font-family:var(--sapFontSemiboldDuplexFamily);font-size:var(--sapFontSize);font-style:normal;line-height:normal}.ui5-user-menu-other-accounts-additional-info{overflow:hidden;color:var(--sapContent_LabelColor);text-overflow:ellipsis;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-style:normal;line-height:normal}.ui5-user-menu-selected-account-icon{display:flex;width:18px;align-items:center;align-self:stretch;color:var(--sapContent_NonInteractiveIconColor);font-family:var(--_ui5_slider_handle_font_family);font-size:1.125rem}.ui5-user-menu-account-header{display:flex;flex:1;justify-content:space-between;align-items:center}.ui5-user-menu-footer{display:flex;flex:1;justify-content:flex-end;align-items:center}\n`;var Le=this&&this.__decorate||function(e,t,n,i){var o=arguments.length,a=o<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,n):i,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)if(r=e[s])a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a;return o>3&&a&&Object.defineProperty(t,n,a),a};var Oe;let De=Oe=class t extends e.S{constructor(){super(...arguments);this.open=false;this.showManageAccount=false;this.showOtherAccounts=false;this.showEditAccounts=false;this.showEditButton=false;this._titleMovedToHeader=false;this._isScrolled=false}onBeforeRendering(){this._selectedAccount=this.accounts.find(e=>e.selected)||this.accounts[0];const e=this._menuItems.some(e=>!!e.icon);this._menuItems.forEach(t=>{t._siblingsWithIcon=e})}onAfterRendering(){if(this._responsivePopover){const e={threshold:[.15]};this._observer?.disconnect();this._observer=new IntersectionObserver(e=>this._handleIntersection(e),e);if(this._selectedAccountTitleEl){this._observer.observe(this._selectedAccountTitleEl)}if(this._selectedAccountManageBtn){this._observer.observe(this._selectedAccountManageBtn)}}}get _isPhone(){return s.d()}_handleScroll(e){this._isScrolled=e.detail.scrollTop>0}_handleIntersection(e){e.forEach(e=>{if(e.isIntersecting){if(e.target.id==="selected-account-title"){this._titleMovedToHeader=false}return}if(e.target.id==="selected-account-title"){this._titleMovedToHeader=true}},this)}_handleAvatarClick(e){if(e.type==="click"){this.fireDecoratorEvent("avatar-click")}}_handleManageAccountClick(){this.fireDecoratorEvent("manage-account-click")}_handleEditAccountsClick(){this.fireDecoratorEvent("edit-accounts-click")}_handleAccountSwitch(e){const t=e.detail.item;const n=!this.fireDecoratorEvent("change-account",{prevSelectedAccount:this._selectedAccount,selectedAccount:t.associatedAccount});if(n){return}this._selectedAccount.selected=false;t.associatedAccount.selected=true}_handleSignOutClick(){const e=!this.fireDecoratorEvent("sign-out-click");if(e){return}this._closeUserMenu()}_handleMenuItemClick(e){const t=e.detail.item;t._updateCheckedState();if(!t._popover){const e=!this.fireDecoratorEvent("item-click",{item:t});if(!e){t.fireEvent("close-menu")}}else{this._openItemSubMenu(t)}}_handleMenuItemClose(){this._closeUserMenu()}_handlePopoverAfterOpen(){this.fireDecoratorEvent("open")}_handlePopoverAfterClose(){this.open=false;this.fireDecoratorEvent("close")}_openItemSubMenu(e){if(!e._popover||e._popover.open){return}e._popover.opener=e;e._popover.open=true;e.selected=true}_closeUserMenu(){this.open=false}get _otherAccounts(){return this.accounts}get _manageAccountButtonText(){return Oe.i18nBundle.getText(T.USER_MENU_MANAGE_ACCOUNT_BUTTON_TXT)}get _otherAccountsButtonText(){return Oe.i18nBundle.getText(T.USER_MENU_OTHER_ACCOUNT_BUTTON_TXT)}get _signOutButtonText(){return Oe.i18nBundle.getText(T.USER_MENU_SIGN_OUT_BUTTON_TXT)}get _editAvatarTooltip(){return Oe.i18nBundle.getText(T.USER_MENU_EDIT_AVATAR_TXT)}get _editAccountsTooltip(){return Oe.i18nBundle.getText(T.USER_MENU_EDIT_ACCOUNTS_TXT)}get _closeDialogAriaLabel(){return Oe.i18nBundle.getText(T.USER_MENU_CLOSE_DIALOG_BUTTON)}get accessibleNameText(){if(!this._selectedAccount){return""}return`${Oe.i18nBundle.getText(T.USER_MENU_POPOVER_ACCESSIBLE_NAME)} ${this._selectedAccount.titleText}`}get _ariaLabelledByAccountInformationText(){return Oe.i18nBundle.getText(T.USER_MENU_CURRENT_INFORMATION_TXT)}get _ariaLabelledByActions(){return Oe.i18nBundle.getText(T.USER_MENU_ACTIONS_TXT)}getAccountDescriptionText(e){return`${e.subtitleText} ${e.description} ${e.selected?Oe.i18nBundle.getText(T.USER_MENU_POPOVER_ACCESSIBLE_ACCOUNT_SELECTED_TXT):""}`}getAccountByRefId(e){return this.accounts.find(t=>t._id===e)}captureRef(e){if(e){e.associatedAccount=this}}get _menuItems(){return this.menuItems.filter(r.isInstanceOfMenuItem)}};Le([e.s({type:Boolean})],De.prototype,"open",void 0);Le([e.s({converter:a.e})],De.prototype,"opener",void 0);Le([e.s({type:Boolean})],De.prototype,"showManageAccount",void 0);Le([e.s({type:Boolean})],De.prototype,"showOtherAccounts",void 0);Le([e.s({type:Boolean})],De.prototype,"showEditAccounts",void 0);Le([e.s({type:Boolean})],De.prototype,"showEditButton",void 0);Le([e.d({type:HTMLElement,default:true})],De.prototype,"menuItems",void 0);Le([e.d({type:HTMLElement,invalidateOnChildChange:{properties:true,slots:false}})],De.prototype,"accounts",void 0);Le([e.s({type:Boolean})],De.prototype,"_titleMovedToHeader",void 0);Le([e.s({type:Boolean})],De.prototype,"_isScrolled",void 0);Le([o.o("#user-menu-rp")],De.prototype,"_responsivePopover",void 0);Le([o.o("#selected-account-title")],De.prototype,"_selectedAccountTitleEl",void 0);Le([o.o("#selected-account-manage-btn")],De.prototype,"_selectedAccountManageBtn",void 0);Le([n.i("@ui5/webcomponents-fiori")],De,"i18nBundle",void 0);De=Oe=Le([e.m({tag:"ui5-user-menu",languageAware:true,renderer:i.y,template:Ie,styles:[Fe]}),t.l("avatar-click"),t.l("manage-account-click"),t.l("edit-accounts-click"),t.l("change-account",{cancelable:true}),t.l("item-click",{cancelable:true}),t.l("open"),t.l("close"),t.l("sign-out-click",{cancelable:true})],De);De.define();var He=De;return He});
2
+ //# sourceMappingURL=UserMenu.js.map