@openui5/sap.f 1.144.0 → 1.146.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/REUSE.toml +40 -16
  2. package/THIRDPARTY.txt +28 -7
  3. package/package.json +10 -10
  4. package/src/sap/f/.library +8 -8
  5. package/src/sap/f/Avatar.js +1 -1
  6. package/src/sap/f/AvatarGroup.js +8 -2
  7. package/src/sap/f/AvatarGroupItem.js +1 -1
  8. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  9. package/src/sap/f/CalendarInCard.js +1 -1
  10. package/src/sap/f/Card.js +1 -1
  11. package/src/sap/f/CardBase.js +3 -3
  12. package/src/sap/f/DynamicPage.js +1 -1
  13. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  14. package/src/sap/f/DynamicPageHeader.js +1 -1
  15. package/src/sap/f/DynamicPageTitle.js +1 -1
  16. package/src/sap/f/FlexibleColumnLayout.js +8 -2
  17. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  18. package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
  19. package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
  20. package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
  21. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  22. package/src/sap/f/GridContainer.js +1 -1
  23. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  24. package/src/sap/f/GridContainerSettings.js +2 -2
  25. package/src/sap/f/GridList.js +1 -1
  26. package/src/sap/f/GridListItem.js +1 -1
  27. package/src/sap/f/IllustratedMessage.js +1 -1
  28. package/src/sap/f/Illustration.js +1 -1
  29. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  30. package/src/sap/f/ProductSwitch.js +1 -1
  31. package/src/sap/f/ProductSwitchItem.js +1 -1
  32. package/src/sap/f/SearchManager.js +1 -1
  33. package/src/sap/f/ShellBar.js +1 -1
  34. package/src/sap/f/SidePanel.js +5 -1
  35. package/src/sap/f/SidePanelItem.js +7 -1
  36. package/src/sap/f/SidePanelRenderer.js +1 -1
  37. package/src/sap/f/cards/BaseHeader.js +39 -26
  38. package/src/sap/f/cards/Header.js +7 -7
  39. package/src/sap/f/cards/NumericHeader.js +22 -23
  40. package/src/sap/f/cards/NumericIndicators.js +1 -2
  41. package/src/sap/f/cards/NumericSideIndicator.js +2 -3
  42. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  43. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  46. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  47. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  48. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  49. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  50. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  51. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  52. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  53. package/src/sap/f/dnd/GridDragOver.js +1 -1
  54. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  55. package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +2 -246
  56. package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +2 -349
  57. package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +2 -126
  58. package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +2 -141
  59. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +2 -60
  60. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +2 -208
  61. package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +2 -283
  62. package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +2 -357
  63. package/src/sap/f/gen/ui5/webcomponents.js +2 -3155
  64. package/src/sap/f/gen/ui5/webcomponents_base.js +2 -600
  65. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +2 -214
  66. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +2 -203
  67. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +2 -167
  68. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +2 -248
  69. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +2 -86
  70. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +2 -254
  71. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +2 -128
  72. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +2 -56
  73. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +2 -87
  74. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +2 -75
  75. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +2 -80
  76. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +2 -669
  77. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +2 -123
  78. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +2 -140
  79. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +2 -236
  80. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +2 -72
  81. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +2 -282
  82. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +2 -134
  83. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +2 -79
  84. package/src/sap/f/gen/ui5/webcomponents_fiori.js +2 -1859
  85. package/src/sap/f/library.js +3 -4
  86. package/src/sap/f/routing/Target.js +2 -2
  87. package/src/sap/f/semantic/AddAction.js +1 -1
  88. package/src/sap/f/semantic/CloseAction.js +1 -1
  89. package/src/sap/f/semantic/CopyAction.js +1 -1
  90. package/src/sap/f/semantic/DeleteAction.js +1 -1
  91. package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
  92. package/src/sap/f/semantic/EditAction.js +1 -1
  93. package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
  94. package/src/sap/f/semantic/FavoriteAction.js +1 -1
  95. package/src/sap/f/semantic/FlagAction.js +1 -1
  96. package/src/sap/f/semantic/FooterMainAction.js +1 -1
  97. package/src/sap/f/semantic/FullScreenAction.js +1 -1
  98. package/src/sap/f/semantic/MainAction.js +1 -1
  99. package/src/sap/f/semantic/MessagesIndicator.js +1 -1
  100. package/src/sap/f/semantic/NegativeAction.js +1 -1
  101. package/src/sap/f/semantic/PositiveAction.js +1 -1
  102. package/src/sap/f/semantic/PrintAction.js +1 -1
  103. package/src/sap/f/semantic/SemanticButton.js +1 -1
  104. package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
  105. package/src/sap/f/semantic/SemanticControl.js +1 -1
  106. package/src/sap/f/semantic/SemanticPage.js +1 -1
  107. package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
  108. package/src/sap/f/semantic/SendEmailAction.js +1 -1
  109. package/src/sap/f/semantic/SendMessageAction.js +1 -1
  110. package/src/sap/f/semantic/ShareInJamAction.js +1 -1
  111. package/src/sap/f/semantic/TitleMainAction.js +1 -1
  112. package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
  113. package/src/sap/f/shellBar/CoPilot.js +1 -1
  114. package/src/sap/f/shellBar/ControlSpacer.js +1 -1
  115. package/src/sap/f/shellBar/Search.js +1 -1
  116. package/src/sap/f/themes/base/AvatarGroup.less +2 -2
  117. package/src/sap/f/themes/base/GridList.less +1 -1
  118. package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +2 -13
  119. package/src/sap/f/thirdparty/Avatar.js +2 -453
  120. package/src/sap/f/thirdparty/BusyIndicator.js +2 -233
  121. package/src/sap/f/thirdparty/Button.js +2 -7
  122. package/src/sap/f/thirdparty/Button2.js +2 -656
  123. package/src/sap/f/thirdparty/FocusableElements.js +2 -10
  124. package/src/sap/f/thirdparty/Icon.js +2 -313
  125. package/src/sap/f/thirdparty/Icons.js +2 -234
  126. package/src/sap/f/thirdparty/IllustratedMessage.js +2 -1297
  127. package/src/sap/f/thirdparty/Illustrations.js +2 -0
  128. package/src/sap/f/thirdparty/Label.js +2 -115
  129. package/src/sap/f/thirdparty/Link.js +2 -316
  130. package/src/sap/f/thirdparty/List.js +2 -1253
  131. package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +2 -14
  132. package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +2 -10
  133. package/src/sap/f/thirdparty/ListItemBase.js +2 -251
  134. package/src/sap/f/thirdparty/ListItemGroup.js +2 -637
  135. package/src/sap/f/thirdparty/Menu.js +2 -389
  136. package/src/sap/f/thirdparty/MenuItem.js +2 -10
  137. package/src/sap/f/thirdparty/MenuItem2.js +2 -762
  138. package/src/sap/f/thirdparty/NotificationList.js +2 -291
  139. package/src/sap/f/thirdparty/NotificationListGroupItem.js +2 -310
  140. package/src/sap/f/thirdparty/NotificationListItem.js +2 -534
  141. package/src/sap/f/thirdparty/NotificationListItemBase.js +2 -98
  142. package/src/sap/f/thirdparty/ResponsivePopover.js +2 -2312
  143. package/src/sap/f/thirdparty/SearchItem.css.js +2 -10
  144. package/src/sap/f/thirdparty/SearchItem.js +2 -152
  145. package/src/sap/f/thirdparty/SearchItemGroup.js +2 -44
  146. package/src/sap/f/thirdparty/SearchItemShowMore.js +2 -86
  147. package/src/sap/f/thirdparty/SearchMessageArea.js +2 -49
  148. package/src/sap/f/thirdparty/SearchScope.js +2 -39
  149. package/src/sap/f/thirdparty/ShellBar.js +2 -1809
  150. package/src/sap/f/thirdparty/ShellBarBranding.js +2 -119
  151. package/src/sap/f/thirdparty/ShellBarItem.js +2 -89
  152. package/src/sap/f/thirdparty/ShellBarSearch.js +2 -7
  153. package/src/sap/f/thirdparty/ShellBarSearch2.js +2 -3453
  154. package/src/sap/f/thirdparty/ShellBarSpacer.js +2 -40
  155. package/src/sap/f/thirdparty/Tag.js +2 -302
  156. package/src/sap/f/thirdparty/Text.js +2 -127
  157. package/src/sap/f/thirdparty/Theme.js +2 -0
  158. package/src/sap/f/thirdparty/Title.js +2 -167
  159. package/src/sap/f/thirdparty/UserMenu.js +2 -950
  160. package/src/sap/f/thirdparty/UserMenuAccount.js +2 -114
  161. package/src/sap/f/thirdparty/UserMenuItem.js +2 -61
  162. package/src/sap/f/thirdparty/ValueState.js +2 -7
  163. package/src/sap/f/thirdparty/WrappingType.js +2 -24
  164. package/src/sap/f/thirdparty/_dynamics/InputComposition.js +2 -35
  165. package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +2 -397
  166. package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +2 -193
  167. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +2 -585
  168. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +2 -585
  169. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +2 -1194
  170. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +2 -1194
  171. package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2 -2509
  172. package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2 -2509
  173. package/src/sap/f/thirdparty/_dynamics/ar.js +2 -0
  174. package/src/sap/f/thirdparty/_dynamics/ar_EG.js +2 -0
  175. package/src/sap/f/thirdparty/_dynamics/ar_SA.js +2 -0
  176. package/src/sap/f/thirdparty/_dynamics/bg.js +2 -0
  177. package/src/sap/f/thirdparty/_dynamics/ca.js +2 -0
  178. package/src/sap/f/thirdparty/_dynamics/cnr.js +2 -0
  179. package/src/sap/f/thirdparty/_dynamics/cs.js +2 -0
  180. package/src/sap/f/thirdparty/_dynamics/da.js +2 -0
  181. package/src/sap/f/thirdparty/_dynamics/de.js +2 -0
  182. package/src/sap/f/thirdparty/_dynamics/de_AT.js +2 -0
  183. package/src/sap/f/thirdparty/_dynamics/de_CH.js +2 -0
  184. package/src/sap/f/thirdparty/_dynamics/el.js +2 -0
  185. package/src/sap/f/thirdparty/_dynamics/el_CY.js +2 -0
  186. package/src/sap/f/thirdparty/_dynamics/en.js +2 -0
  187. package/src/sap/f/thirdparty/_dynamics/en_AU.js +2 -0
  188. package/src/sap/f/thirdparty/_dynamics/en_GB.js +2 -0
  189. package/src/sap/f/thirdparty/_dynamics/en_HK.js +2 -0
  190. package/src/sap/f/thirdparty/_dynamics/en_IE.js +2 -0
  191. package/src/sap/f/thirdparty/_dynamics/en_IN.js +2 -0
  192. package/src/sap/f/thirdparty/_dynamics/en_NZ.js +2 -0
  193. package/src/sap/f/thirdparty/_dynamics/en_PG.js +2 -0
  194. package/src/sap/f/thirdparty/_dynamics/en_SG.js +2 -0
  195. package/src/sap/f/thirdparty/_dynamics/en_ZA.js +2 -0
  196. package/src/sap/f/thirdparty/_dynamics/es.js +2 -0
  197. package/src/sap/f/thirdparty/_dynamics/es_AR.js +2 -0
  198. package/src/sap/f/thirdparty/_dynamics/es_BO.js +2 -0
  199. package/src/sap/f/thirdparty/_dynamics/es_CL.js +2 -0
  200. package/src/sap/f/thirdparty/_dynamics/es_CO.js +2 -0
  201. package/src/sap/f/thirdparty/_dynamics/es_MX.js +2 -0
  202. package/src/sap/f/thirdparty/_dynamics/es_PE.js +2 -0
  203. package/src/sap/f/thirdparty/_dynamics/es_UY.js +2 -0
  204. package/src/sap/f/thirdparty/_dynamics/es_VE.js +2 -0
  205. package/src/sap/f/thirdparty/_dynamics/et.js +2 -0
  206. package/src/sap/f/thirdparty/_dynamics/fa.js +2 -0
  207. package/src/sap/f/thirdparty/_dynamics/fi.js +2 -0
  208. package/src/sap/f/thirdparty/_dynamics/fr.js +2 -0
  209. package/src/sap/f/thirdparty/_dynamics/fr_BE.js +2 -0
  210. package/src/sap/f/thirdparty/_dynamics/fr_CA.js +2 -0
  211. package/src/sap/f/thirdparty/_dynamics/fr_CH.js +2 -0
  212. package/src/sap/f/thirdparty/_dynamics/fr_LU.js +2 -0
  213. package/src/sap/f/thirdparty/_dynamics/he.js +2 -0
  214. package/src/sap/f/thirdparty/_dynamics/hi.js +2 -0
  215. package/src/sap/f/thirdparty/_dynamics/hr.js +2 -0
  216. package/src/sap/f/thirdparty/_dynamics/hu.js +2 -0
  217. package/src/sap/f/thirdparty/_dynamics/id.js +2 -0
  218. package/src/sap/f/thirdparty/_dynamics/it.js +2 -0
  219. package/src/sap/f/thirdparty/_dynamics/it_CH.js +2 -0
  220. package/src/sap/f/thirdparty/_dynamics/ja.js +2 -0
  221. package/src/sap/f/thirdparty/_dynamics/kk.js +2 -0
  222. package/src/sap/f/thirdparty/_dynamics/ko.js +2 -0
  223. package/src/sap/f/thirdparty/_dynamics/lt.js +2 -0
  224. package/src/sap/f/thirdparty/_dynamics/lv.js +2 -0
  225. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +2 -866
  226. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +2 -611
  227. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +2 -866
  228. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +2 -611
  229. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +2 -866
  230. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +2 -611
  231. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +2 -866
  232. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +2 -611
  233. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +2 -866
  234. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +2 -611
  235. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +2 -866
  236. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +2 -611
  237. package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +2 -866
  238. package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +2 -611
  239. package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +2 -866
  240. package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +2 -611
  241. package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +2 -866
  242. package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +2 -611
  243. package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +2 -866
  244. package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +2 -611
  245. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +2 -866
  246. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +2 -611
  247. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +2 -866
  248. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +2 -611
  249. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +2 -866
  250. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +2 -611
  251. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +2 -866
  252. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +2 -611
  253. package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +2 -866
  254. package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +2 -611
  255. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +2 -866
  256. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +2 -611
  257. package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +2 -866
  258. package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +2 -611
  259. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +2 -866
  260. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +2 -611
  261. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +2 -866
  262. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +2 -611
  263. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +2 -866
  264. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +2 -611
  265. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +2 -866
  266. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +2 -611
  267. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +2 -866
  268. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +2 -611
  269. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +2 -866
  270. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +2 -611
  271. package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +2 -866
  272. package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +2 -611
  273. package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +2 -866
  274. package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +2 -611
  275. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +2 -866
  276. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +2 -611
  277. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +2 -866
  278. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +2 -611
  279. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +2 -866
  280. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +2 -611
  281. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +2 -866
  282. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +2 -611
  283. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +2 -866
  284. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +2 -611
  285. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +2 -866
  286. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +2 -611
  287. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +2 -866
  288. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +2 -611
  289. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +2 -866
  290. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +2 -611
  291. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +2 -866
  292. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +2 -611
  293. package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +2 -866
  294. package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +2 -611
  295. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +2 -866
  296. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +2 -611
  297. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +2 -866
  298. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +2 -611
  299. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +2 -866
  300. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +2 -611
  301. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +2 -866
  302. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +2 -611
  303. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +2 -866
  304. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +2 -611
  305. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +2 -866
  306. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +2 -611
  307. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +2 -866
  308. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +2 -611
  309. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +2 -866
  310. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +2 -611
  311. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +2 -866
  312. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +2 -611
  313. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +2 -866
  314. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +2 -611
  315. package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +2 -866
  316. package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +2 -611
  317. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +2 -866
  318. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +2 -611
  319. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +2 -866
  320. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +2 -611
  321. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +2 -866
  322. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +2 -611
  323. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +2 -866
  324. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +2 -611
  325. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +2 -866
  326. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +2 -611
  327. package/src/sap/f/thirdparty/_dynamics/mk.js +2 -0
  328. package/src/sap/f/thirdparty/_dynamics/ms.js +2 -0
  329. package/src/sap/f/thirdparty/_dynamics/nb.js +2 -0
  330. package/src/sap/f/thirdparty/_dynamics/nl.js +2 -0
  331. package/src/sap/f/thirdparty/_dynamics/nl_BE.js +2 -0
  332. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +2 -7
  333. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +2 -7
  334. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +2 -7
  335. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +2 -7
  336. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +2 -7
  337. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +2 -7
  338. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +2 -7
  339. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +2 -7
  340. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +2 -7
  341. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +2 -7
  342. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +2 -7
  343. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +2 -7
  344. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +2 -7
  345. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +2 -7
  346. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +2 -7
  347. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +2 -7
  348. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +2 -7
  349. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +2 -7
  350. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +2 -7
  351. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +2 -7
  352. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +2 -7
  353. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +2 -7
  354. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +2 -7
  355. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +2 -7
  356. package/src/sap/f/thirdparty/_dynamics/pl.js +2 -0
  357. package/src/sap/f/thirdparty/_dynamics/pt.js +2 -0
  358. package/src/sap/f/thirdparty/_dynamics/pt_PT.js +2 -0
  359. package/src/sap/f/thirdparty/_dynamics/ro.js +2 -0
  360. package/src/sap/f/thirdparty/_dynamics/ru.js +2 -0
  361. package/src/sap/f/thirdparty/_dynamics/ru_UA.js +2 -0
  362. package/src/sap/f/thirdparty/_dynamics/sk.js +2 -0
  363. package/src/sap/f/thirdparty/_dynamics/sl.js +2 -0
  364. package/src/sap/f/thirdparty/_dynamics/sr.js +2 -0
  365. package/src/sap/f/thirdparty/_dynamics/sr_Latn.js +2 -0
  366. package/src/sap/f/thirdparty/_dynamics/sv.js +2 -0
  367. package/src/sap/f/thirdparty/_dynamics/th.js +2 -0
  368. package/src/sap/f/thirdparty/_dynamics/tr.js +2 -0
  369. package/src/sap/f/thirdparty/_dynamics/uk.js +2 -0
  370. package/src/sap/f/thirdparty/_dynamics/vi.js +2 -0
  371. package/src/sap/f/thirdparty/_dynamics/zh_CN.js +2 -0
  372. package/src/sap/f/thirdparty/_dynamics/zh_HK.js +2 -0
  373. package/src/sap/f/thirdparty/_dynamics/zh_SG.js +2 -0
  374. package/src/sap/f/thirdparty/_dynamics/zh_TW.js +2 -0
  375. package/src/sap/f/thirdparty/encodeXML.js +6 -81
  376. package/src/sap/f/thirdparty/event-strict.js +2 -7
  377. package/src/sap/f/thirdparty/generateHighlightedMarkup.js +2 -9
  378. package/src/sap/f/thirdparty/i18n-defaults.js +2 -119
  379. package/src/sap/f/thirdparty/i18n-defaults2.js +2 -159
  380. package/src/sap/f/thirdparty/information.js +2 -100
  381. package/src/sap/f/thirdparty/information2.js +2 -13
  382. package/src/sap/f/thirdparty/overflow.js +2 -25
  383. package/src/sap/f/thirdparty/parameters-bundle.css.js +2 -11
  384. package/src/sap/f/thirdparty/parameters-bundle.css2.js +2 -44
  385. package/src/sap/f/thirdparty/parameters-bundle.css3.js +2 -8
  386. package/src/sap/f/thirdparty/query.js +2 -7
  387. package/src/sap/f/thirdparty/slim-arrow-down.js +2 -44
  388. package/src/sap/f/thirdparty/sys-enter-2.js +2 -7
  389. package/src/sap/f/thirdparty/toLowercaseEnumValue.js +2 -7
  390. package/src/sap/f/thirdparty/ui5/webcomponents_fiori/dist/illustrations/UnableToUpload.js +2 -0
  391. package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +2 -26
  392. package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +2 -26
  393. package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +2 -26
  394. package/src/sap/f/thirdparty/webcomponents-base.js +2 -7
  395. package/src/sap/f/thirdparty/webcomponents-fiori.js +2 -5
  396. package/src/sap/f/thirdparty/webcomponents.js +51 -4589
  397. package/src/sap/f/thirdparty/willShowContent.js +2 -7
  398. package/ui5-build.yaml +1 -0
  399. package/src/sap/f/thirdparty/ListItemCustom.js +0 -1689
@@ -1,534 +1,2 @@
1
- sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/query', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/ValueState', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/NotificationListItemBase', 'sap/f/thirdparty/sys-enter-2', 'sap/f/thirdparty/information2', 'sap/f/thirdparty/i18n-defaults', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/Link', 'sap/f/thirdparty/Tag', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/information', 'sap/f/thirdparty/overflow', 'sap/f/thirdparty/parameters-bundle.css3', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/Label'], (function (webcomponentsBase, query, eventStrict, WrappingType, ValueState, willShowContent, parametersBundle_css, NotificationListItemBase, sysEnter2, information$1, i18nDefaults, Button, BusyIndicator, Icon, Link, Tag, Icons, information, overflow, parametersBundle_css$1, parametersBundle_css$2, ListItemBase, FocusableElements, AccessibilityTextsHelper, toLowercaseEnumValue, i18nDefaults$1, Label) { 'use strict';
2
-
3
- /**
4
- * Different types of NotificationListItemImportance.
5
- *
6
- * @public
7
- */
8
- var NotificationListItemImportance;
9
- (function (NotificationListItemImportance) {
10
- /**
11
- * @public
12
- */
13
- NotificationListItemImportance["Standard"] = "Standard";
14
- /**
15
- * @public
16
- */
17
- NotificationListItemImportance["Important"] = "Important";
18
- })(NotificationListItemImportance || (NotificationListItemImportance = {}));
19
- var NotificationListItemImportance$1 = NotificationListItemImportance;
20
-
21
- const name$1 = "high-priority";
22
- const pathData$1 = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 96q-15 0-25.5 11t-9.5 26l11 164q0 10 7 16.5t17 6.5 17-6.5 7-16.5l11-164q1-15-9.5-26T256 96zm0 329q15 0 25.5-11t10.5-26-11-25.5-26-10.5-25 10.5-10 25.5 10 26 26 11z";
23
- const ltr$1 = false;
24
- const collection$1 = "SAP-icons-v4";
25
- const packageName$1 = "@ui5/webcomponents-icons";
26
-
27
- Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
28
-
29
- const name = "high-priority";
30
- const pathData = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm-32 288q0 14 9 23t23 9 23-9 9-23V128q0-14-9-23t-23-9-23 9-9 23v160zm32 128q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";
31
- const ltr = false;
32
- const collection = "SAP-icons-v5";
33
- const packageName = "@ui5/webcomponents-icons";
34
-
35
- Icons.y(name, { pathData, ltr, collection, packageName });
36
-
37
- var iconHighPriority = "high-priority";
38
-
39
- function NotificationListItemTemplate() {
40
- return (parametersBundle_css.jsxs("li", { class: this.itemClasses, onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onClick: this._onclick, tabindex: this.forcedTabIndex ? parseInt(this.forcedTabIndex) : undefined, "aria-labelledby": this.ariaLabelledBy, "aria-level": this._ariaLevel, children: [this.loading && (parametersBundle_css.jsx("span", { id: `${this._id}-loading`, class: "ui5-hidden-text", children: this.loadingText })), parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-busyIndicator`, delay: this.loadingDelay, active: this.loading, inert: this.loading, class: "ui5-nli-loading", children: parametersBundle_css.jsxs("div", { class: "ui5-nli-content-wrapper", children: [parametersBundle_css.jsxs("div", { class: {
41
- "ui5-nli-content": true,
42
- "ui5-nli-content-with-importance": this.hasImportance,
43
- }, children: [this.hasImportance && (parametersBundle_css.jsxs(Tag.Tag, { id: `${this._id}-importance`, class: "ui5-nli-importance", design: "Set2", colorScheme: "2", wrappingType: "None", children: [parametersBundle_css.jsx(Icon.Icon, { name: iconHighPriority, slot: "icon" }), this.importanceText] })), parametersBundle_css.jsxs("div", { class: "ui5-nli-title-text-wrapper", children: [this.hasState && (parametersBundle_css.jsx(Icon.Icon, { class: "ui5-state-icon", name: this.statusIconName, showTooltip: true, accessibleName: this.stateText, design: this.statusIconDesign })), parametersBundle_css.jsxs("div", { id: `${this._id}-title-text`, class: "ui5-nli-title-text", part: "title-text", children: [parametersBundle_css.jsx("span", { class: "ui5-hidden-text", children: this.stateText }), this.titleText] })] }), parametersBundle_css.jsx("span", { id: `${this._id}-read`, class: "ui5-hidden-text", children: this.readText }), this.hasDesc && (parametersBundle_css.jsx("div", { id: `${this._id}-description`, class: "ui5-nli-description", children: parametersBundle_css.jsx("slot", {}) })), parametersBundle_css.jsxs("div", { class: "ui5-nli-footer", children: [parametersBundle_css.jsx("div", { id: `${this._id}-footnotes`, class: "ui5-nli-footnotes", children: this.footerItems.map(item => {
44
- return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("slot", { name: item.slotName }), item.showDivider && parametersBundle_css.jsx("div", { class: "ui5-nli-footer-divider", "aria-hidden": "true", children: "\u00B7" })] }));
45
- }) }), parametersBundle_css.jsx(Link.Link, { class: "ui5-nli-footer-showMore", hidden: this.hideShowMore, onClick: this._onShowMoreClick, wrappingType: "None", href: "#" // --without href ENTER does not trigger click
46
- , accessibleName: this.moreLinkAccessibleName, accessibleRole: "Button", accessibilityAttributes: this.moreLinkAccessibilityAttributes, children: this.showMoreText })] })] }), parametersBundle_css.jsxs("div", { class: "ui5-nli-actions", children: [this.showMenu && (parametersBundle_css.jsx(Button.Button, { icon: overflow.overflow, design: "Transparent", onClick: this._onBtnMenuClick, class: "ui5-nli-menu-btn", tooltip: this.menuBtnAccessibleName, accessibilityAttributes: this.menuButtonAccessibilityAttributes })), this.showClose && (parametersBundle_css.jsx(Button.Button, { icon: information.decline, class: "ui5-nli-close-btn", design: "Transparent", onClick: this._onBtnCloseClick, tooltip: this.closeBtnAccessibleName, accessibleName: this.closeBtnAccessibleName }))] }), parametersBundle_css.jsx("div", { class: "ui5-nli-avatar", "aria-hidden": "true", children: parametersBundle_css.jsx("slot", { name: "avatar" }) }), parametersBundle_css.jsx("slot", { name: "menu" })] }) })] }));
47
- }
48
-
49
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
50
- Icons.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$1.defaultTheme);
51
- var NotificationListItemCss = `.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;max-width:100%;min-height:var(--_ui5-v2-15-0_list_item_base_height);background:var(--ui5-v2-15-0-listitem-background-color);cursor:pointer}.ui5-nli-focusable:focus{outline:none}:host([desktop]) .ui5-nli-focusable:focus:not(.ui5-nli-group-root):after,.ui5-nli-focusable:focus-visible:not(.ui5-nli-group-root):after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:0;pointer-events:none}.ui5-state-icon{min-width:1rem;min-height:1rem;padding-inline-end:var(--_ui5-v2-15-0-notification_item-state-icon-padding)}:host(:not([wrapping-type="Normal"])) .ui5-nli-title-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host(:not([wrapping-type="Normal"])) .ui5-nli-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host([_show-more-pressed]) .ui5-nli-title-text{-webkit-line-clamp:unset}:host([_show-more-pressed]) .ui5-nli-description{-webkit-line-clamp:unset}:host([read]) .ui5-nli-title-text{font-weight:400}:host(:first-of-type){border-top-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:last-of-type){border-bottom-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:first-of-type) .ui5-nli-focusable:after{border-top-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:last-of-type) .ui5-nli-focusable:after{border-bottom-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host([has-border]){border-bottom:var(--_ui5-v2-15-0-notification_item-border-bottom)}:host([ui5-li-notification]){margin:var(--_ui5-v2-15-0-notification_item-margin);border-left:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-right:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-top:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);list-style:none}.ui5-nli-root{position:relative;width:100%;box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border:1px solid transparent}.ui5-nli-root:hover{background-color:var(--_ui5-v2-15-0-notification_item-background-color-hover);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host([desktop]) .ui5-nli-root:focus:active,.ui5-nli-root:focus-visible:active{background-color:var(--_ui5-v2-15-0-notification_item-background-color-active);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border:var(--_ui5-v2-15-0-notification_item-border-active)}.ui5-nli-content-wrapper{width:100%;display:flex;flex-direction:row-reverse;padding-inline:var(--_ui5-v2-15-0-notification_item-root-padding-inline);padding-block:1rem;position:relative;box-sizing:border-box}.ui5-nli-content{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;padding-inline:var(--_ui5-v2-15-0-notification_item-content-padding);font-family:var(--sapFontFamily);box-sizing:border-box}.ui5-nli-content.ui5-nli-content-with-importance{margin-bottom:2rem}.ui5-nli-actions{position:absolute;top:.5rem;right:.5rem}:dir(rtl) .ui5-nli-actions{left:.5rem;right:auto}.ui5-nli-title-text-wrapper{display:flex;flex-direction:row}.ui5-nli-title-text{display:flex;margin-bottom:var(--_ui5-v2-15-0-notification_item-title-margin-bottom);box-sizing:border-box;color:var(--sapGroup_TitleTextColor);font-weight:700;font-size:var(--sapFontHeader6Size)}.ui5-nli-two-buttons .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-15-0-notification_item-title-padding-end-two-buttons)}.ui5-nli-one-button .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-15-0-notification_item-title-padding-end-one-button)}.ui5-nli-description{display:flex;margin-top:var(--_ui5-v2-15-0-notification_item-description-margin-top);color:var(--sapTextColor);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-nli-footer{display:flex;color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);margin-top:var(--_ui5-v2-15-0-notification_item-footer-margin-top);box-sizing:border-box;align-items:center}.ui5-nli-footer-divider{position:relative;align-items:center;margin-inline:.5rem}.ui5-nli-footnotes{display:flex;min-width:0}.ui5-nli-footer-showMore{margin-inline-start:1rem}.ui5-nli-importance{width:fit-content;position:absolute;bottom:1rem}::slotted([slot^="footnotes"]){color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui5-nli-menu-btn{margin-inline-end:.125rem}:host([desktop]) .ui5-nli-focusable:not(.ui5-nli-group-root):focus:after,.ui5-nli-focusable:not(.ui5-nli-group-root):focus-visible:after{border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);top:var(--_ui5-v2-15-0-notification_item-focus-offset);right:var(--_ui5-v2-15-0-notification_item-focus-offset);bottom:var(--_ui5-v2-15-0-notification_item-focus-offset);left:var(--_ui5-v2-15-0-notification_item-focus-offset)}[ui5-busy-indicator]{width:100%;border-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}
52
- `;
53
-
54
- /**
55
- * Different Icon semantic designs.
56
- * @public
57
- */
58
- var IconDesign;
59
- (function (IconDesign) {
60
- /**
61
- * Contrast design
62
- * @public
63
- */
64
- IconDesign["Contrast"] = "Contrast";
65
- /**
66
- * Critical design
67
- * @public
68
- */
69
- IconDesign["Critical"] = "Critical";
70
- /**
71
- * Default design (brand design)
72
- * @public
73
- */
74
- IconDesign["Default"] = "Default";
75
- /**
76
- * info type
77
- * @public
78
- */
79
- IconDesign["Information"] = "Information";
80
- /**
81
- * Negative design
82
- * @public
83
- */
84
- IconDesign["Negative"] = "Negative";
85
- /**
86
- * Neutral design
87
- * @public
88
- */
89
- IconDesign["Neutral"] = "Neutral";
90
- /**
91
- * Design that indicates an icon which isn't interactive
92
- * @public
93
- */
94
- IconDesign["NonInteractive"] = "NonInteractive";
95
- /**
96
- * Positive design
97
- * @public
98
- */
99
- IconDesign["Positive"] = "Positive";
100
- })(IconDesign || (IconDesign = {}));
101
- var IconDesign$1 = IconDesign;
102
-
103
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
104
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
105
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
106
- 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;
107
- return c > 3 && r && Object.defineProperty(target, key, r), r;
108
- };
109
- var NotificationListItem_1;
110
- /**
111
- * Defines the icons name corresponding to the notification's status indicator.
112
- */
113
- const ICON_PER_STATUS_NAME = {
114
- [ValueState.o.Negative]: information$1.error,
115
- [ValueState.o.Critical]: information$1.alert,
116
- [ValueState.o.Positive]: sysEnter2.selectedAccount,
117
- [ValueState.o.Information]: information$1.information,
118
- [ValueState.o.None]: "",
119
- };
120
- /**
121
- * Defines the icons design (color) corresponding to the notification's status indicator.
122
- */
123
- const ICON_PER_STATUS_DESIGN = {
124
- [ValueState.o.Negative]: IconDesign$1.Negative,
125
- [ValueState.o.Critical]: IconDesign$1.Critical,
126
- [ValueState.o.Positive]: IconDesign$1.Positive,
127
- [ValueState.o.Information]: IconDesign$1.Information,
128
- [ValueState.o.None]: undefined,
129
- };
130
- /**
131
- * @class
132
- *
133
- * ### Overview
134
- * The `ui5-li-notification` is a type of list item, meant to display notifications.
135
- *
136
- * The component has a rich set of various properties that allows the user to set `avatar`, `menu`, `titleText`, descriptive `content`
137
- * and `footnotes` to fully describe a notification.
138
- *
139
- * The user can:
140
- *
141
- * - display a `Close` button
142
- * - can control whether the `titleText` and `description` should wrap or truncate
143
- * and display a `ShowMore` button to switch between less and more information
144
- * - add actions by using the `ui5-menu` component
145
- *
146
- * **Note:** Adding custom actions by using the `ui5-notification-action` component is deprecated as of version 2.0!
147
- *
148
- * ### Usage
149
- * The component should be used inside a `ui5-notification-list`.
150
- *
151
- * ### Keyboard Handling
152
- *
153
- * #### Basic Navigation
154
- * The user can use the following keyboard shortcuts to perform actions (such as select, delete):
155
- *
156
- * - [Enter] - select an item (trigger "item-click" event)
157
- * - [Delete] - close an item (trigger "item-close" event)
158
- *
159
- * #### Fast Navigation
160
- * This component provides a fast navigation using the following keyboard shortcuts:
161
- *
162
- * - [Shift] + [Enter] - 'More'/'Less' link will be triggered
163
- * - [Shift] + [F10] - 'Menu' (Actions) button will be triggered (clicked)
164
- *
165
- * ### ES6 Module Import
166
- *
167
- * `import "@ui5/webcomponents-fiori/dist/NotificationListItem.js";`
168
- *
169
- * @constructor
170
- * @extends NotificationListItemBase
171
- * @since 1.0.0-rc.8
172
- * @public
173
- * @csspart title-text - Used to style the titleText of the notification list item
174
- */
175
- let NotificationListItem = NotificationListItem_1 = class NotificationListItem extends NotificationListItemBase.NotificationListItemBase {
176
- constructor() {
177
- super();
178
- /**
179
- * Defines if the `titleText` and `description` should wrap,
180
- * they truncate by default.
181
- *
182
- * **Note:** by default the `titleText` and `description`,
183
- * and a `ShowMore/Less` button would be displayed.
184
- * @default "None"
185
- * @public
186
- * @since 1.0.0-rc.15
187
- */
188
- this.wrappingType = "None";
189
- /**
190
- * Defines the status indicator of the item.
191
- * @default "None"
192
- * @public
193
- */
194
- this.state = "None";
195
- /**
196
- * Defines if the `Close` button would be displayed.
197
- * @default false
198
- * @public
199
- */
200
- this.showClose = false;
201
- /**
202
- * Defines the `Important` label of the item.
203
- * @default "Standard"
204
- * @public
205
- */
206
- this.importance = "Standard";
207
- /**
208
- * Defines the state of the `titleText` and `description`,
209
- * if less or more information is displayed.
210
- * @private
211
- */
212
- this._showMorePressed = false;
213
- /**
214
- * Defines the visibility of the `showMore` button.
215
- * @private
216
- */
217
- this._showMore = false;
218
- // the titleText overflow height
219
- this._titleTextOverflowHeight = 0;
220
- // the description overflow height
221
- this._descOverflowHeight = 0;
222
- // the resize handler
223
- this._onResizeBound = this.onResize.bind(this);
224
- }
225
- onEnterDOM() {
226
- super.onEnterDOM();
227
- webcomponentsBase.f.register(this, this._onResizeBound);
228
- }
229
- onExitDOM() {
230
- webcomponentsBase.f.deregister(this, this._onResizeBound);
231
- }
232
- get hasState() {
233
- return this.state !== ValueState.o.None;
234
- }
235
- get hasDesc() {
236
- return willShowContent.t(this.description);
237
- }
238
- get hasImportance() {
239
- return this.importance !== NotificationListItemImportance$1.Standard;
240
- }
241
- get hasFootNotes() {
242
- return !!this.footnotes.length;
243
- }
244
- get showMoreText() {
245
- if (this._showMorePressed) {
246
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_LESS);
247
- }
248
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_MORE);
249
- }
250
- get menuBtnAccessibleName() {
251
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MENU_BTN_TITLE);
252
- }
253
- get moreLinkAccessibleName() {
254
- return this._showMorePressed ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_TRUNCATE) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_FULL);
255
- }
256
- get closeBtnAccessibleName() {
257
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
258
- }
259
- get hideShowMore() {
260
- if (this.wrappingType === WrappingType.WrappingType.None && this._showMore) {
261
- return undefined;
262
- }
263
- return true;
264
- }
265
- get titleTextHeight() {
266
- return this.titleTextDOM.offsetHeight;
267
- }
268
- get descriptionHeight() {
269
- return this.descriptionDOM.offsetHeight;
270
- }
271
- get titleTextOverflows() {
272
- const titleText = this.titleTextDOM;
273
- if (!titleText) {
274
- return false;
275
- }
276
- return titleText.offsetHeight < titleText.scrollHeight;
277
- }
278
- get descriptionOverflows() {
279
- const description = this.descriptionDOM;
280
- if (!description) {
281
- return false;
282
- }
283
- return description.offsetHeight < description.scrollHeight;
284
- }
285
- get footerItems() {
286
- return this.footnotes.map((el, idx, arr) => {
287
- return {
288
- slotName: el._individualSlot,
289
- showDivider: idx !== arr.length - 1,
290
- };
291
- });
292
- }
293
- get ariaLabelledBy() {
294
- const id = this._id;
295
- if (this.loading) {
296
- return `${id}-loading`;
297
- }
298
- const ids = [];
299
- if (this.hasImportance) {
300
- ids.push(`${id}-importance`);
301
- }
302
- if (this.hasTitleText) {
303
- ids.push(`${id}-title-text`);
304
- }
305
- ids.push(`${id}-read`);
306
- if (this.hasDesc) {
307
- ids.push(`${id}-description`);
308
- }
309
- if (this.hasFootNotes) {
310
- ids.push(`${id}-footnotes`);
311
- }
312
- return ids.join(" ");
313
- }
314
- get itemClasses() {
315
- const classes = ["ui5-nli-root", "ui5-nli-focusable"];
316
- if (this.getMenu() && this.showClose) {
317
- classes.push("ui5-nli-two-buttons");
318
- }
319
- else if (this.getMenu() || this.showClose) {
320
- classes.push("ui5-nli-one-button");
321
- }
322
- return classes.join(" ");
323
- }
324
- get statusIconName() {
325
- return ICON_PER_STATUS_NAME[this.state];
326
- }
327
- get statusIconDesign() {
328
- return ICON_PER_STATUS_DESIGN[this.state];
329
- }
330
- get importanceText() {
331
- let text;
332
- if (this.hasImportance) {
333
- text = NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_IMPORTANT_TXT);
334
- }
335
- else {
336
- text = "";
337
- }
338
- return text;
339
- }
340
- get stateText() {
341
- if (this.state === ValueState.o.Positive) {
342
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_POSITIVE_STATUS_TXT);
343
- }
344
- if (this.state === ValueState.o.Critical) {
345
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CRITICAL_STATUS_TXT);
346
- }
347
- if (this.state === ValueState.o.Negative) {
348
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_NEGATIVE_STATUS_TXT);
349
- }
350
- if (this.state === ValueState.o.Information) {
351
- return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_INFORMATION_STATUS_TXT);
352
- }
353
- return "";
354
- }
355
- get readText() {
356
- return this.read ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
357
- }
358
- get menuButtonAccessibilityAttributes() {
359
- return {
360
- hasPopup: "menu",
361
- };
362
- }
363
- get moreLinkAccessibilityAttributes() {
364
- return {
365
- expanded: this._showMorePressed,
366
- };
367
- }
368
- get showMenu() {
369
- return !!this.getMenu();
370
- }
371
- /**
372
- * Event handlers
373
- */
374
- _onclick() {
375
- this.fireItemPress();
376
- }
377
- _onShowMoreClick(e) {
378
- e.preventDefault();
379
- this._toggleShowMorePressed();
380
- }
381
- async _onkeydown(e) {
382
- await super._onkeydown(e);
383
- if (webcomponentsBase.Eo(e)) {
384
- e.preventDefault();
385
- }
386
- }
387
- _onkeyup(e) {
388
- super._onkeyup(e);
389
- const space = webcomponentsBase.A(e);
390
- if (space && this.getFocusDomRef().matches(":has(:focus-within)")) {
391
- e.preventDefault();
392
- this._toggleShowMorePressed();
393
- return;
394
- }
395
- if (webcomponentsBase.X(e)) {
396
- this.fireDecoratorEvent("close", { item: this });
397
- this.fireDecoratorEvent("_close", { item: this });
398
- }
399
- if (webcomponentsBase.Eo(e)) {
400
- this._onBtnMenuClick();
401
- }
402
- if (webcomponentsBase.i(e)) {
403
- this._toggleShowMorePressed();
404
- }
405
- }
406
- _onBtnCloseClick() {
407
- this.fireDecoratorEvent("close", { item: this });
408
- this.fireDecoratorEvent("_close", { item: this });
409
- }
410
- _onBtnMenuClick() {
411
- if (this.getMenu()) {
412
- this.openMenu();
413
- }
414
- }
415
- _toggleShowMorePressed() {
416
- this._showMorePressed = !this._showMorePressed;
417
- }
418
- openMenu() {
419
- const menu = this.getMenu();
420
- menu.opener = this.menuButtonDOM;
421
- menu.open = true;
422
- }
423
- getMenu() {
424
- const menu = this.querySelector("[ui5-menu]");
425
- return menu;
426
- }
427
- /**
428
- * Private
429
- */
430
- fireItemPress() {
431
- if (this.getFocusDomRef().matches(":has(:focus-within)")) {
432
- return;
433
- }
434
- // NotificationListItem will never be assigned to a variable of type ListItemBase
435
- // typescipt complains here, if that is the case, the parameter to the _press event handler could be a ListItemBase item,
436
- // but this is never the case, all components are used by their class and never assigned to a variable with a type of ListItemBase
437
- this.fireDecoratorEvent("_press", { item: this });
438
- }
439
- onResize() {
440
- if (this.wrappingType === WrappingType.WrappingType.Normal) {
441
- this._showMore = false;
442
- return;
443
- }
444
- const titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;
445
- const descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;
446
- const overflows = titleTextWouldOverflow || descWouldOverflow;
447
- if (this._showMorePressed && overflows) {
448
- this._showMore = true;
449
- return;
450
- }
451
- if (this.titleTextOverflows || this.descriptionOverflows) {
452
- this._titleTextOverflowHeight = this.titleTextHeight;
453
- this._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;
454
- this._showMore = true;
455
- return;
456
- }
457
- this._showMore = false;
458
- }
459
- };
460
- __decorate([
461
- webcomponentsBase.s()
462
- ], NotificationListItem.prototype, "wrappingType", void 0);
463
- __decorate([
464
- webcomponentsBase.s()
465
- ], NotificationListItem.prototype, "state", void 0);
466
- __decorate([
467
- webcomponentsBase.s({ type: Boolean })
468
- ], NotificationListItem.prototype, "showClose", void 0);
469
- __decorate([
470
- webcomponentsBase.s()
471
- ], NotificationListItem.prototype, "importance", void 0);
472
- __decorate([
473
- webcomponentsBase.s({ type: Boolean })
474
- ], NotificationListItem.prototype, "_showMorePressed", void 0);
475
- __decorate([
476
- webcomponentsBase.s({ type: Boolean })
477
- ], NotificationListItem.prototype, "_showMore", void 0);
478
- __decorate([
479
- webcomponentsBase.d()
480
- ], NotificationListItem.prototype, "avatar", void 0);
481
- __decorate([
482
- webcomponentsBase.d()
483
- ], NotificationListItem.prototype, "menu", void 0);
484
- __decorate([
485
- webcomponentsBase.d({ type: HTMLElement, individualSlots: true })
486
- ], NotificationListItem.prototype, "footnotes", void 0);
487
- __decorate([
488
- webcomponentsBase.d({ type: Node, "default": true })
489
- ], NotificationListItem.prototype, "description", void 0);
490
- __decorate([
491
- query.o(".ui5-nli-title-text")
492
- ], NotificationListItem.prototype, "titleTextDOM", void 0);
493
- __decorate([
494
- query.o(".ui5-nli-menu-btn")
495
- ], NotificationListItem.prototype, "menuButtonDOM", void 0);
496
- __decorate([
497
- query.o(".ui5-nli-description")
498
- ], NotificationListItem.prototype, "descriptionDOM", void 0);
499
- NotificationListItem = NotificationListItem_1 = __decorate([
500
- webcomponentsBase.m({
501
- tag: "ui5-li-notification",
502
- languageAware: true,
503
- styles: [
504
- NotificationListItemCss,
505
- ],
506
- renderer: parametersBundle_css.y,
507
- template: NotificationListItemTemplate,
508
- }),
509
- eventStrict.l("_press", {
510
- bubbles: true,
511
- })
512
- /**
513
- * Fired when the `Close` button is pressed.
514
- * @param {HTMLElement} item the closed item.
515
- * @public
516
- */
517
- ,
518
- eventStrict.l("close")
519
- /**
520
- * Fired when the `Close` button is pressed.
521
- * @param {HTMLElement} item the closed item.
522
- * @private
523
- */
524
- ,
525
- eventStrict.l("_close", {
526
- bubbles: true,
527
- })
528
- ], NotificationListItem);
529
- NotificationListItem.define();
530
- var NotificationListItem$1 = NotificationListItem;
531
-
532
- return NotificationListItem$1;
533
-
534
- }));
1
+ sap.ui.define(["sap/f/thirdparty/webcomponents","sap/f/thirdparty/query","sap/f/thirdparty/event-strict","sap/f/thirdparty/WrappingType","sap/f/thirdparty/ValueState","sap/f/thirdparty/willShowContent","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/NotificationListItemBase","sap/f/thirdparty/sys-enter-2","sap/f/thirdparty/information2","sap/f/thirdparty/i18n-defaults","sap/f/thirdparty/Button2","sap/f/thirdparty/BusyIndicator","sap/f/thirdparty/Icon","sap/f/thirdparty/Link","sap/f/thirdparty/Tag","sap/f/thirdparty/Theme","sap/f/thirdparty/Icons","sap/f/thirdparty/information","sap/f/thirdparty/overflow","sap/f/thirdparty/parameters-bundle.css3","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/ListItemBase","sap/f/thirdparty/FocusableElements","sap/f/thirdparty/AccessibilityTextsHelper","sap/f/thirdparty/toLowercaseEnumValue","sap/f/thirdparty/i18n-defaults2","sap/f/thirdparty/Label"],function(t,i,e,o,s,r,n,a,l,d,c,u,h,p,f,_,m,g,b,T,v,x,y,I,w,N,M,O){"use strict";var C;(function(t){t["Standard"]="Standard";t["Important"]="Important"})(C||(C={}));var S=C;const A="high-priority";const B="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 96q-15 0-25.5 11t-9.5 26l11 164q0 10 7 16.5t17 6.5 17-6.5 7-16.5l11-164q1-15-9.5-26T256 96zm0 329q15 0 25.5-11t10.5-26-11-25.5-26-10.5-25 10.5-10 25.5 10 26 26 11z";const k=false;const F="SAP-icons-v4";const L="@ui5/webcomponents-icons";g.y(A,{pathData:B,ltr:k,collection:F,packageName:L});const E="high-priority";const D="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm-32 288q0 14 9 23t23 9 23-9 9-23V128q0-14-9-23t-23-9-23 9-9 23v160zm32 128q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";const j=false;const z="SAP-icons-v5";const P="@ui5/webcomponents-icons";g.y(E,{pathData:D,ltr:j,collection:z,packageName:P});var H="high-priority";function R(){return n.jsxs("li",{class:this.itemClasses,onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,onClick:this._onclick,tabindex:this.forcedTabIndex?parseInt(this.forcedTabIndex):undefined,"aria-labelledby":this.ariaLabelledBy,"aria-level":this._ariaLevel,children:[this.loading&&n.jsx("span",{id:`${this._id}-loading`,class:"ui5-hidden-text",children:this.loadingText}),n.jsx(h.BusyIndicator,{id:`${this._id}-busyIndicator`,delay:this.loadingDelay,active:this.loading,inert:this.loading,class:"ui5-nli-loading",children:n.jsxs("div",{class:"ui5-nli-content-wrapper",children:[n.jsxs("div",{class:{"ui5-nli-content":true,"ui5-nli-content-with-importance":this.hasImportance},children:[this.hasImportance&&n.jsxs(_.Tag,{id:`${this._id}-importance`,class:"ui5-nli-importance",design:"Set2",colorScheme:"2",wrappingType:"None",children:[n.jsx(p.Icon,{name:H,slot:"icon"}),this.importanceText]}),n.jsxs("div",{class:"ui5-nli-title-text-wrapper",children:[this.hasState&&n.jsx(p.Icon,{class:"ui5-state-icon",name:this.statusIconName,showTooltip:true,accessibleName:this.stateText,design:this.statusIconDesign}),n.jsxs("div",{id:`${this._id}-title-text`,class:"ui5-nli-title-text",part:"title-text",children:[n.jsx("span",{class:"ui5-hidden-text",children:this.stateText}),this.titleText]})]}),n.jsx("span",{id:`${this._id}-read`,class:"ui5-hidden-text",children:this.readText}),this.hasDesc&&n.jsx("div",{id:`${this._id}-description`,class:"ui5-nli-description",children:n.jsx("slot",{})}),n.jsxs("div",{class:"ui5-nli-footer",children:[n.jsx("div",{id:`${this._id}-footnotes`,class:"ui5-nli-footnotes",children:this.footerItems.map(t=>n.jsxs(n.Fragment,{children:[n.jsx("slot",{name:t.slotName}),t.showDivider&&n.jsx("div",{class:"ui5-nli-footer-divider","aria-hidden":"true",children:"·"})]}))}),n.jsx(f.Link,{class:"ui5-nli-footer-showMore",hidden:this.hideShowMore,onClick:this._onShowMoreClick,wrappingType:"None",href:"#",accessibleName:this.moreLinkAccessibleName,accessibleRole:"Button",accessibilityAttributes:this.moreLinkAccessibilityAttributes,children:this.showMoreText})]})]}),n.jsxs("div",{class:"ui5-nli-actions",children:[this.showMenu&&n.jsx(u.Button,{icon:T.overflow,design:"Transparent",onClick:this._onBtnMenuClick,class:"ui5-nli-menu-btn",tooltip:this.menuBtnAccessibleName,accessibilityAttributes:this.menuButtonAccessibilityAttributes}),this.showClose&&n.jsx(u.Button,{icon:b.decline,class:"ui5-nli-close-btn",design:"Transparent",onClick:this._onBtnCloseClick,tooltip:this.closeBtnAccessibleName,accessibleName:this.closeBtnAccessibleName})]}),n.jsx("div",{class:"ui5-nli-avatar","aria-hidden":"true",children:n.jsx("slot",{name:"avatar"})}),n.jsx("slot",{name:"menu"})]})})]})}m.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>n.defaultThemeBase);m.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()=>v.defaultTheme,"host");var $=`.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;max-width:100%;min-height:var(--_ui5_list_item_base_height);background:var(--ui5-listitem-background-color);cursor:pointer}.ui5-nli-focusable:focus{outline:none}:host([desktop]) .ui5-nli-focusable:focus:not(.ui5-nli-group-root):after,.ui5-nli-focusable:focus-visible:not(.ui5-nli-group-root):after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:0;pointer-events:none}.ui5-state-icon{min-width:1rem;min-height:1rem;padding-inline-end:var(--_ui5-notification_item-state-icon-padding)}:host(:not([wrapping-type="Normal"])) .ui5-nli-title-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host(:not([wrapping-type="Normal"])) .ui5-nli-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host([_show-more-pressed]) .ui5-nli-title-text{-webkit-line-clamp:unset}:host([_show-more-pressed]) .ui5-nli-description{-webkit-line-clamp:unset}:host([read]) .ui5-nli-title-text{font-weight:400}:host(:first-of-type){border-top-left-radius:var(--_ui5-notification_item-border-radius);border-top-right-radius:var(--_ui5-notification_item-border-radius)}:host(:last-of-type){border-bottom-left-radius:var(--_ui5-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-notification_item-border-radius)}:host(:first-of-type) .ui5-nli-focusable:after{border-top-left-radius:var(--_ui5-notification_item-border-radius);border-top-right-radius:var(--_ui5-notification_item-border-radius)}:host(:last-of-type) .ui5-nli-focusable:after{border-bottom-left-radius:var(--_ui5-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-notification_item-border-radius)}:host([has-border]){border-bottom:var(--_ui5-notification_item-border-bottom)}:host([ui5-li-notification]){margin:var(--_ui5-notification_item-margin);border-left:var(--_ui5-notification_item-border-top-left-right);border-right:var(--_ui5-notification_item-border-top-left-right);border-top:var(--_ui5-notification_item-border-top-left-right);border-radius:var(--_ui5-notification_item-border-radius);list-style:none}.ui5-nli-root{position:relative;width:100%;box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-notification_item-border-radius);border:1px solid transparent}.ui5-nli-root:hover{background-color:var(--_ui5-notification_item-background-color-hover);border-radius:var(--_ui5-notification_item-border-radius)}:host([desktop]) .ui5-nli-root:focus:active,.ui5-nli-root:focus-visible:active{background-color:var(--_ui5-notification_item-background-color-active);border-radius:var(--_ui5-notification_item-border-radius);border:var(--_ui5-notification_item-border-active)}.ui5-nli-content-wrapper{width:100%;display:flex;flex-direction:row-reverse;padding-inline:var(--_ui5-notification_item-root-padding-inline);padding-block:1rem;position:relative;box-sizing:border-box}.ui5-nli-content{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;padding-inline:var(--_ui5-notification_item-content-padding);font-family:var(--sapFontFamily);box-sizing:border-box}.ui5-nli-content.ui5-nli-content-with-importance{margin-bottom:2rem}.ui5-nli-actions{position:absolute;top:.5rem;right:.5rem}:dir(rtl) .ui5-nli-actions{left:.5rem;right:auto}.ui5-nli-title-text-wrapper{display:flex;flex-direction:row}.ui5-nli-title-text{display:flex;margin-bottom:var(--_ui5-notification_item-title-margin-bottom);box-sizing:border-box;color:var(--sapGroup_TitleTextColor);font-weight:700;font-size:var(--sapFontHeader6Size)}.ui5-nli-two-buttons .ui5-nli-title-text{padding-inline-end:var(--_ui5-notification_item-title-padding-end-two-buttons)}.ui5-nli-one-button .ui5-nli-title-text{padding-inline-end:var(--_ui5-notification_item-title-padding-end-one-button)}.ui5-nli-description{display:flex;margin-top:var(--_ui5-notification_item-description-margin-top);color:var(--sapTextColor);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-nli-footer{display:flex;color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);margin-top:var(--_ui5-notification_item-footer-margin-top);box-sizing:border-box;align-items:center}.ui5-nli-footer-divider{position:relative;align-items:center;margin-inline:.5rem}.ui5-nli-footnotes{display:flex;min-width:0}.ui5-nli-footer-showMore{margin-inline-start:1rem}.ui5-nli-importance{width:fit-content;position:absolute;bottom:1rem}::slotted([slot^="footnotes"]){color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui5-nli-menu-btn{margin-inline-end:.125rem}:host([desktop]) .ui5-nli-focusable:not(.ui5-nli-group-root):focus:after,.ui5-nli-focusable:not(.ui5-nli-group-root):focus-visible:after{border-radius:var(--_ui5-notification_item-border-radius);top:var(--_ui5-notification_item-focus-offset);right:var(--_ui5-notification_item-focus-offset);bottom:var(--_ui5-notification_item-focus-offset);left:var(--_ui5-notification_item-focus-offset)}[ui5-busy-indicator]{width:100%;border-radius:var(--_ui5-notification_item-border-radius)}\n`;var q;(function(t){t["Contrast"]="Contrast";t["Critical"]="Critical";t["Default"]="Default";t["Information"]="Information";t["Negative"]="Negative";t["Neutral"]="Neutral";t["NonInteractive"]="NonInteractive";t["Positive"]="Positive"})(q||(q={}));var U=q;var W=this&&this.__decorate||function(t,i,e,o){var s=arguments.length,r=s<3?i:o===null?o=Object.getOwnPropertyDescriptor(i,e):o,n;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")r=Reflect.decorate(t,i,e,o);else for(var a=t.length-1;a>=0;a--)if(n=t[a])r=(s<3?n(r):s>3?n(i,e,r):n(i,e))||r;return s>3&&r&&Object.defineProperty(i,e,r),r};var X;const V={[s.o.Negative]:d.error,[s.o.Critical]:d.alert,[s.o.Positive]:l.selectedAccount,[s.o.Information]:d.information,[s.o.None]:""};const K={[s.o.Negative]:U.Negative,[s.o.Critical]:U.Critical,[s.o.Positive]:U.Positive,[s.o.Information]:U.Information,[s.o.None]:undefined};let G=X=class i extends a.NotificationListItemBase{constructor(){super();this.wrappingType="None";this.state="None";this.showClose=false;this.importance="Standard";this._showMorePressed=false;this._showMore=false;this._titleTextOverflowHeight=0;this._descOverflowHeight=0;this._onResizeBound=this.onResize.bind(this)}onEnterDOM(){super.onEnterDOM();t.f.register(this,this._onResizeBound)}onExitDOM(){t.f.deregister(this,this._onResizeBound)}get hasState(){return this.state!==s.o.None}get hasDesc(){return r.t(this.description)}get hasImportance(){return this.importance!==S.Standard}get hasFootNotes(){return!!this.footnotes.length}get showMoreText(){if(this._showMorePressed){return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_SHOW_LESS)}return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_SHOW_MORE)}get menuBtnAccessibleName(){return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_MENU_BTN_TITLE)}get moreLinkAccessibleName(){return this._showMorePressed?X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_TRUNCATE):X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_FULL)}get closeBtnAccessibleName(){return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE)}get hideShowMore(){if(this.wrappingType===o.WrappingType.None&&this._showMore){return undefined}return true}get titleTextHeight(){return this.titleTextDOM.offsetHeight}get descriptionHeight(){return this.descriptionDOM.offsetHeight}get titleTextOverflows(){const t=this.titleTextDOM;if(!t){return false}return t.offsetHeight<t.scrollHeight}get descriptionOverflows(){const t=this.descriptionDOM;if(!t){return false}return t.offsetHeight<t.scrollHeight}get footerItems(){return this.footnotes.map((t,i,e)=>({slotName:t._individualSlot,showDivider:i!==e.length-1}))}get ariaLabelledBy(){const t=this._id;if(this.loading){return`${t}-loading`}const i=[];if(this.hasImportance){i.push(`${t}-importance`)}if(this.hasTitleText){i.push(`${t}-title-text`)}i.push(`${t}-read`);if(this.hasDesc){i.push(`${t}-description`)}if(this.hasFootNotes){i.push(`${t}-footnotes`)}return i.join(" ")}get itemClasses(){const t=["ui5-nli-root","ui5-nli-focusable"];if(this.getMenu()&&this.showClose){t.push("ui5-nli-two-buttons")}else if(this.getMenu()||this.showClose){t.push("ui5-nli-one-button")}return t.join(" ")}get statusIconName(){return V[this.state]}get statusIconDesign(){return K[this.state]}get importanceText(){let t;if(this.hasImportance){t=X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_IMPORTANT_TXT)}else{t=""}return t}get stateText(){if(this.state===s.o.Positive){return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_POSITIVE_STATUS_TXT)}if(this.state===s.o.Critical){return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_CRITICAL_STATUS_TXT)}if(this.state===s.o.Negative){return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_NEGATIVE_STATUS_TXT)}if(this.state===s.o.Information){return X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_INFORMATION_STATUS_TXT)}return""}get readText(){return this.read?X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_READ):X.i18nFioriBundle.getText(c.NOTIFICATION_LIST_ITEM_UNREAD)}get menuButtonAccessibilityAttributes(){return{hasPopup:"menu"}}get moreLinkAccessibilityAttributes(){return{expanded:this._showMorePressed}}get showMenu(){return!!this.getMenu()}_onclick(){this.fireItemPress()}_onShowMoreClick(t){t.preventDefault();this._toggleShowMorePressed()}async _onkeydown(i){await super._onkeydown(i);if(t.Eo(i)){i.preventDefault()}}_onkeyup(i){super._onkeyup(i);const e=t.A(i);if(e&&this.getFocusDomRef().matches(":has(:focus-within)")){i.preventDefault();this._toggleShowMorePressed();return}if(t.X(i)){this.fireDecoratorEvent("close",{item:this});this.fireDecoratorEvent("_close",{item:this})}if(t.Eo(i)){this._onBtnMenuClick()}if(t.i(i)){this._toggleShowMorePressed()}}_onBtnCloseClick(){this.fireDecoratorEvent("close",{item:this});this.fireDecoratorEvent("_close",{item:this})}_onBtnMenuClick(){if(this.getMenu()){this.openMenu()}}_toggleShowMorePressed(){this._showMorePressed=!this._showMorePressed}openMenu(){const t=this.getMenu();t.opener=this.menuButtonDOM;t.open=true}getMenu(){const t=this.querySelector("[ui5-menu]");return t}fireItemPress(){if(this.getFocusDomRef().matches(":has(:focus-within)")){return}this.fireDecoratorEvent("_press",{item:this})}onResize(){if(this.wrappingType===o.WrappingType.Normal){this._showMore=false;return}const t=this.titleTextHeight>this._titleTextOverflowHeight;const i=this.hasDesc&&this.descriptionHeight>this._descOverflowHeight;const e=t||i;if(this._showMorePressed&&e){this._showMore=true;return}if(this.titleTextOverflows||this.descriptionOverflows){this._titleTextOverflowHeight=this.titleTextHeight;this._descOverflowHeight=this.hasDesc?this.descriptionHeight:0;this._showMore=true;return}this._showMore=false}};W([t.s()],G.prototype,"wrappingType",void 0);W([t.s()],G.prototype,"state",void 0);W([t.s({type:Boolean})],G.prototype,"showClose",void 0);W([t.s()],G.prototype,"importance",void 0);W([t.s({type:Boolean})],G.prototype,"_showMorePressed",void 0);W([t.s({type:Boolean})],G.prototype,"_showMore",void 0);W([t.d()],G.prototype,"avatar",void 0);W([t.d()],G.prototype,"menu",void 0);W([t.d({type:HTMLElement,individualSlots:true})],G.prototype,"footnotes",void 0);W([t.d({type:Node,default:true})],G.prototype,"description",void 0);W([i.o(".ui5-nli-title-text")],G.prototype,"titleTextDOM",void 0);W([i.o(".ui5-nli-menu-btn")],G.prototype,"menuButtonDOM",void 0);W([i.o(".ui5-nli-description")],G.prototype,"descriptionDOM",void 0);G=X=W([t.m({tag:"ui5-li-notification",languageAware:true,styles:[$],renderer:n.y,template:R}),e.l("_press",{bubbles:true}),e.l("close"),e.l("_close",{bubbles:true})],G);G.define();var J=G;return J});
2
+ //# sourceMappingURL=NotificationListItem.js.map