@openui5/sap.f 1.141.2 → 1.142.1

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 (322) hide show
  1. package/README.md +2 -2
  2. package/REUSE.toml +39 -1
  3. package/THIRDPARTY.txt +36 -3
  4. package/package.json +19 -4
  5. package/src/sap/f/.library +34 -3
  6. package/src/sap/f/Avatar.js +1 -1
  7. package/src/sap/f/AvatarGroup.js +1 -1
  8. package/src/sap/f/AvatarGroupItem.js +1 -1
  9. package/src/sap/f/CalendarAppointmentInCard.js +1 -1
  10. package/src/sap/f/CalendarInCard.js +1 -1
  11. package/src/sap/f/Card.js +1 -1
  12. package/src/sap/f/CardBase.js +1 -1
  13. package/src/sap/f/DynamicPage.js +30 -12
  14. package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
  15. package/src/sap/f/DynamicPageHeader.js +1 -1
  16. package/src/sap/f/DynamicPageTitle.js +1 -1
  17. package/src/sap/f/FlexibleColumnLayout.js +1 -1
  18. package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
  19. package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
  20. package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
  21. package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
  22. package/src/sap/f/FlexibleColumnLayoutRenderer.js +2 -0
  23. package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
  24. package/src/sap/f/GridContainer.js +1 -1
  25. package/src/sap/f/GridContainerItemLayoutData.js +1 -1
  26. package/src/sap/f/GridContainerSettings.js +2 -2
  27. package/src/sap/f/GridList.js +1 -1
  28. package/src/sap/f/GridListItem.js +1 -1
  29. package/src/sap/f/IllustratedMessage.js +1 -1
  30. package/src/sap/f/Illustration.js +1 -1
  31. package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
  32. package/src/sap/f/ProductSwitch.js +1 -1
  33. package/src/sap/f/ProductSwitchItem.js +1 -1
  34. package/src/sap/f/SearchManager.js +1 -1
  35. package/src/sap/f/ShellBar.js +1 -1
  36. package/src/sap/f/SidePanel.js +1 -1
  37. package/src/sap/f/SidePanelItem.js +1 -1
  38. package/src/sap/f/cards/BaseHeader.js +1 -1
  39. package/src/sap/f/cards/Header.js +1 -1
  40. package/src/sap/f/cards/NumericHeader.js +1 -1
  41. package/src/sap/f/cards/NumericIndicators.js +1 -1
  42. package/src/sap/f/cards/NumericSideIndicator.js +1 -1
  43. package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
  44. package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
  45. package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
  46. package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
  47. package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
  48. package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
  49. package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
  50. package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
  51. package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
  52. package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
  53. package/src/sap/f/delegate/GridItemNavigation.js +1 -1
  54. package/src/sap/f/dnd/GridDragOver.js +1 -1
  55. package/src/sap/f/dnd/GridDropInfo.js +1 -1
  56. package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +238 -0
  57. package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +339 -0
  58. package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +125 -0
  59. package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +140 -0
  60. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +64 -0
  61. package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +207 -0
  62. package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +280 -0
  63. package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +347 -0
  64. package/src/sap/f/gen/ui5/webcomponents.js +2819 -0
  65. package/src/sap/f/gen/ui5/webcomponents_base.js +572 -0
  66. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +211 -0
  67. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +204 -0
  68. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +164 -0
  69. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +243 -0
  70. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +87 -0
  71. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +248 -0
  72. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +125 -0
  73. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +60 -0
  74. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +88 -0
  75. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +76 -0
  76. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +81 -0
  77. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +655 -0
  78. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +122 -0
  79. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +139 -0
  80. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +232 -0
  81. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +74 -0
  82. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +279 -0
  83. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +129 -0
  84. package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +83 -0
  85. package/src/sap/f/gen/ui5/webcomponents_fiori.js +1648 -0
  86. package/src/sap/f/library.js +2 -2
  87. package/src/sap/f/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/Card.less +8 -2
  117. package/src/sap/f/themes/base/CardHeaders.less +25 -3
  118. package/src/sap/f/themes/base/DynamicPage.less +6 -1
  119. package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +13 -0
  120. package/src/sap/f/thirdparty/Avatar.js +453 -0
  121. package/src/sap/f/thirdparty/BusyIndicator.js +233 -0
  122. package/src/sap/f/thirdparty/Button.js +7 -0
  123. package/src/sap/f/thirdparty/Button2.js +656 -0
  124. package/src/sap/f/thirdparty/FocusableElements.js +10 -0
  125. package/src/sap/f/thirdparty/Icon.js +313 -0
  126. package/src/sap/f/thirdparty/Icons.js +234 -0
  127. package/src/sap/f/thirdparty/IllustratedMessage.js +1297 -0
  128. package/src/sap/f/thirdparty/Label.js +115 -0
  129. package/src/sap/f/thirdparty/Link.js +316 -0
  130. package/src/sap/f/thirdparty/List.js +1253 -0
  131. package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +14 -0
  132. package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +10 -0
  133. package/src/sap/f/thirdparty/ListItemBase.js +251 -0
  134. package/src/sap/f/thirdparty/ListItemCustom.js +1689 -0
  135. package/src/sap/f/thirdparty/ListItemGroup.js +637 -0
  136. package/src/sap/f/thirdparty/Menu.js +389 -0
  137. package/src/sap/f/thirdparty/MenuItem.js +10 -0
  138. package/src/sap/f/thirdparty/MenuItem2.js +762 -0
  139. package/src/sap/f/thirdparty/NotificationList.js +291 -0
  140. package/src/sap/f/thirdparty/NotificationListGroupItem.js +310 -0
  141. package/src/sap/f/thirdparty/NotificationListItem.js +534 -0
  142. package/src/sap/f/thirdparty/NotificationListItemBase.js +98 -0
  143. package/src/sap/f/thirdparty/ResponsivePopover.js +2312 -0
  144. package/src/sap/f/thirdparty/SearchItem.css.js +10 -0
  145. package/src/sap/f/thirdparty/SearchItem.js +152 -0
  146. package/src/sap/f/thirdparty/SearchItemGroup.js +44 -0
  147. package/src/sap/f/thirdparty/SearchItemShowMore.js +86 -0
  148. package/src/sap/f/thirdparty/SearchMessageArea.js +49 -0
  149. package/src/sap/f/thirdparty/SearchScope.js +39 -0
  150. package/src/sap/f/thirdparty/ShellBar.js +1809 -0
  151. package/src/sap/f/thirdparty/ShellBarBranding.js +119 -0
  152. package/src/sap/f/thirdparty/ShellBarItem.js +89 -0
  153. package/src/sap/f/thirdparty/ShellBarSearch.js +7 -0
  154. package/src/sap/f/thirdparty/ShellBarSearch2.js +3453 -0
  155. package/src/sap/f/thirdparty/ShellBarSpacer.js +40 -0
  156. package/src/sap/f/thirdparty/Tag.js +302 -0
  157. package/src/sap/f/thirdparty/Text.js +127 -0
  158. package/src/sap/f/thirdparty/Title.js +167 -0
  159. package/src/sap/f/thirdparty/UserMenu.js +950 -0
  160. package/src/sap/f/thirdparty/UserMenuAccount.js +114 -0
  161. package/src/sap/f/thirdparty/UserMenuItem.js +61 -0
  162. package/src/sap/f/thirdparty/ValueState.js +7 -0
  163. package/src/sap/f/thirdparty/WrappingType.js +24 -0
  164. package/src/sap/f/thirdparty/_dynamics/InputComposition.js +35 -0
  165. package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +397 -0
  166. package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +193 -0
  167. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +585 -0
  168. package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +585 -0
  169. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +1194 -0
  170. package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +1194 -0
  171. package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2509 -0
  172. package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2509 -0
  173. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +866 -0
  174. package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +611 -0
  175. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +866 -0
  176. package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +611 -0
  177. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +866 -0
  178. package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +611 -0
  179. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +866 -0
  180. package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +611 -0
  181. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +866 -0
  182. package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +611 -0
  183. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +866 -0
  184. package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +611 -0
  185. package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +866 -0
  186. package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +611 -0
  187. package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +866 -0
  188. package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +611 -0
  189. package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +866 -0
  190. package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +611 -0
  191. package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +866 -0
  192. package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +611 -0
  193. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +866 -0
  194. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +611 -0
  195. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +866 -0
  196. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +611 -0
  197. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +866 -0
  198. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +611 -0
  199. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +866 -0
  200. package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +611 -0
  201. package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +866 -0
  202. package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +611 -0
  203. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +866 -0
  204. package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +611 -0
  205. package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +866 -0
  206. package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +611 -0
  207. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +866 -0
  208. package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +611 -0
  209. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +866 -0
  210. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +611 -0
  211. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +866 -0
  212. package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +611 -0
  213. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +866 -0
  214. package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +611 -0
  215. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +866 -0
  216. package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +611 -0
  217. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +866 -0
  218. package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +611 -0
  219. package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +866 -0
  220. package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +611 -0
  221. package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +866 -0
  222. package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +611 -0
  223. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +866 -0
  224. package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +611 -0
  225. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +866 -0
  226. package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +611 -0
  227. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +866 -0
  228. package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +611 -0
  229. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +866 -0
  230. package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +611 -0
  231. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +866 -0
  232. package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +611 -0
  233. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +866 -0
  234. package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +611 -0
  235. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +866 -0
  236. package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +611 -0
  237. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +866 -0
  238. package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +611 -0
  239. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +866 -0
  240. package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +611 -0
  241. package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +866 -0
  242. package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +611 -0
  243. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +866 -0
  244. package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +611 -0
  245. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +866 -0
  246. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +611 -0
  247. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +866 -0
  248. package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +611 -0
  249. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +866 -0
  250. package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +611 -0
  251. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +866 -0
  252. package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +611 -0
  253. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +866 -0
  254. package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +611 -0
  255. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +866 -0
  256. package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +611 -0
  257. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +866 -0
  258. package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +611 -0
  259. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +866 -0
  260. package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +611 -0
  261. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +866 -0
  262. package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +611 -0
  263. package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +866 -0
  264. package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +611 -0
  265. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +866 -0
  266. package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +611 -0
  267. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +866 -0
  268. package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +611 -0
  269. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +866 -0
  270. package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +611 -0
  271. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +866 -0
  272. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +611 -0
  273. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +866 -0
  274. package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +611 -0
  275. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +7 -0
  276. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +7 -0
  277. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +7 -0
  278. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +7 -0
  279. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +7 -0
  280. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +7 -0
  281. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +7 -0
  282. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +7 -0
  283. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +7 -0
  284. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +7 -0
  285. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +7 -0
  286. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +7 -0
  287. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +7 -0
  288. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +7 -0
  289. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +7 -0
  290. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +7 -0
  291. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
  292. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +7 -0
  293. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +7 -0
  294. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +7 -0
  295. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +7 -0
  296. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +7 -0
  297. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +7 -0
  298. package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +7 -0
  299. package/src/sap/f/thirdparty/encodeXML.js +87 -0
  300. package/src/sap/f/thirdparty/event-strict.js +7 -0
  301. package/src/sap/f/thirdparty/generateHighlightedMarkup.js +9 -0
  302. package/src/sap/f/thirdparty/i18n-defaults.js +119 -0
  303. package/src/sap/f/thirdparty/i18n-defaults2.js +159 -0
  304. package/src/sap/f/thirdparty/information.js +100 -0
  305. package/src/sap/f/thirdparty/information2.js +13 -0
  306. package/src/sap/f/thirdparty/overflow.js +25 -0
  307. package/src/sap/f/thirdparty/parameters-bundle.css.js +11 -0
  308. package/src/sap/f/thirdparty/parameters-bundle.css2.js +44 -0
  309. package/src/sap/f/thirdparty/parameters-bundle.css3.js +8 -0
  310. package/src/sap/f/thirdparty/query.js +7 -0
  311. package/src/sap/f/thirdparty/slim-arrow-down.js +44 -0
  312. package/src/sap/f/thirdparty/sys-enter-2.js +7 -0
  313. package/src/sap/f/thirdparty/toLowercaseEnumValue.js +7 -0
  314. package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +26 -0
  315. package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +26 -0
  316. package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +26 -0
  317. package/src/sap/f/thirdparty/webcomponents-base.js +7 -0
  318. package/src/sap/f/thirdparty/webcomponents-fiori.js +5 -0
  319. package/src/sap/f/thirdparty/webcomponents.js +4611 -0
  320. package/src/sap/f/thirdparty/willShowContent.js +7 -0
  321. package/ui5-build.yaml +55 -0
  322. package/ui5.yaml +46 -0
@@ -0,0 +1,291 @@
1
+ sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/List', 'sap/f/thirdparty/NotificationListGroupItem', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/parameters-bundle.css3', 'sap/f/thirdparty/i18n-defaults', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/ListItemGroup', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/Label', 'sap/f/thirdparty/NotificationListItemBase', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/Icon'], (function (webcomponentsBase, parametersBundle_css, eventStrict, parametersBundle_css$2, List, NotificationListGroupItem, Icons, parametersBundle_css$1, i18nDefaults, toLowercaseEnumValue, ListItemGroup, ListItemBase, i18nDefaults$1, WrappingType, AccessibilityTextsHelper, BusyIndicator, willShowContent, Label, NotificationListItemBase, FocusableElements, Icon) { 'use strict';
2
+
3
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
4
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6
+ 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;
7
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8
+ };
9
+ /**
10
+ * @class
11
+ *
12
+ * Internal `ui5-li-notification-list-list` component,
13
+ * that is used to support keyboard navigation of the notification list internal list.
14
+ *
15
+ * @private
16
+ */
17
+ let NotificationListInternal = class NotificationListInternal extends List.List {
18
+ constructor() {
19
+ super();
20
+ this._allNavigationItems = [];
21
+ this._itemNavigation._navigationMode = webcomponentsBase.r.Auto;
22
+ }
23
+ getEnabledItems() {
24
+ const items = new Array();
25
+ const allNavigationItems = new Array();
26
+ this.getItems().forEach(item => {
27
+ items.push(item);
28
+ allNavigationItems.push(item);
29
+ if (item instanceof NotificationListGroupItem && !item.collapsed && !item.loading) {
30
+ item.items.forEach(subItem => {
31
+ items.push(subItem);
32
+ allNavigationItems.push(subItem);
33
+ });
34
+ const growingButton = item.getGrowingButton();
35
+ if (growingButton) {
36
+ allNavigationItems.push(growingButton);
37
+ }
38
+ }
39
+ });
40
+ const growingButton = this.getGrowingButton();
41
+ if (growingButton) {
42
+ allNavigationItems.push(growingButton);
43
+ }
44
+ this._allNavigationItems = allNavigationItems;
45
+ return items;
46
+ }
47
+ _onkeydown(e) {
48
+ if (webcomponentsBase.n(e)) {
49
+ this._handleEndKey(e);
50
+ e.preventDefault();
51
+ return;
52
+ }
53
+ if (webcomponentsBase.M(e)) {
54
+ this._handleHomeKey(e);
55
+ e.preventDefault();
56
+ return;
57
+ }
58
+ this._focusSameItemOnNextRow(e);
59
+ }
60
+ _handleHomeKey(e) {
61
+ e.stopImmediatePropagation();
62
+ const target = e.target;
63
+ const activeElement = webcomponentsBase.t();
64
+ if ((!this._isGrowingButton(activeElement) && target?.hasAttribute("ui5-li-notification-group"))
65
+ || target?.hasAttribute("ui5-menu-item")) {
66
+ return;
67
+ }
68
+ const currentFocusedItem = this.getEnabledItems()[this._itemNavigation._currentIndex];
69
+ if (!currentFocusedItem) {
70
+ return;
71
+ }
72
+ const currentFocusedIndex = this._allNavigationItems.indexOf(currentFocusedItem);
73
+ let nextFocusedIndex = 0;
74
+ for (let i = currentFocusedIndex - 1; i >= 0; i--) {
75
+ const item = this._allNavigationItems[i];
76
+ if (item.hasAttribute("ui5-li-notification-group")) {
77
+ nextFocusedIndex = i + 1;
78
+ break;
79
+ }
80
+ }
81
+ this._allNavigationItems[nextFocusedIndex].focus();
82
+ }
83
+ _handleEndKey(e) {
84
+ e.stopImmediatePropagation();
85
+ const target = e.target;
86
+ if (target?.hasAttribute("ui5-menu-item")) {
87
+ return;
88
+ }
89
+ const currentFocusedItem = this.getEnabledItems()[this._itemNavigation._currentIndex];
90
+ if (!currentFocusedItem) {
91
+ return;
92
+ }
93
+ const currentFocusedIndex = this._allNavigationItems.indexOf(currentFocusedItem);
94
+ let nextFocusedIndex = this._allNavigationItems.length - 1;
95
+ for (let i = currentFocusedIndex + 1; i < this._allNavigationItems.length; i++) {
96
+ const item = this._allNavigationItems[i];
97
+ if (item.hasAttribute("ui5-li-notification-group")) {
98
+ nextFocusedIndex = i - 1;
99
+ break;
100
+ }
101
+ if (this._isGrowingButton(item)) {
102
+ nextFocusedIndex = i === currentFocusedIndex + 1 ? i : i - 1;
103
+ break;
104
+ }
105
+ }
106
+ this._allNavigationItems[nextFocusedIndex].focus();
107
+ }
108
+ _focusSameItemOnNextRow(e) {
109
+ if (!webcomponentsBase.P(e) && !webcomponentsBase._(e) && !webcomponentsBase.D(e) && !webcomponentsBase.R(e)) {
110
+ return;
111
+ }
112
+ const target = e.target;
113
+ const shadowTarget = target.shadowRoot.activeElement;
114
+ const activeElement = webcomponentsBase.t();
115
+ const isGrowingBtn = this._isGrowingButton(activeElement);
116
+ if (!target || target.hasAttribute("ui5-menu-item")) {
117
+ return;
118
+ }
119
+ const isFocusWithin = target.matches(":focus-within");
120
+ if (!isFocusWithin) {
121
+ return;
122
+ }
123
+ e.preventDefault();
124
+ e.stopImmediatePropagation();
125
+ const currentItem = isGrowingBtn ? activeElement : this.getEnabledItems()[this._itemNavigation._currentIndex];
126
+ const index = this._allNavigationItems.indexOf(currentItem) + ((webcomponentsBase.P(e) || webcomponentsBase.D(e)) ? -1 : 1);
127
+ const nextItem = this._allNavigationItems[index];
128
+ if (!nextItem) {
129
+ return;
130
+ }
131
+ if (this._isGrowingButton(nextItem) || shadowTarget.classList.contains("ui5-nli-focusable")) {
132
+ nextItem.focus();
133
+ return;
134
+ }
135
+ const nextListItem = nextItem;
136
+ if (nextListItem.loading || (webcomponentsBase.D(e) || webcomponentsBase.R(e))) {
137
+ nextItem.focus();
138
+ return;
139
+ }
140
+ const sameItemOnNextRow = nextListItem.getHeaderDomRef().querySelector(`.${shadowTarget.className}`);
141
+ if (sameItemOnNextRow && sameItemOnNextRow.offsetParent) {
142
+ sameItemOnNextRow.focus();
143
+ }
144
+ else {
145
+ nextItem.focus();
146
+ }
147
+ }
148
+ _isGrowingButton(item) {
149
+ return item?.classList.contains("ui5-growing-button-inner");
150
+ }
151
+ };
152
+ NotificationListInternal = __decorate$1([
153
+ webcomponentsBase.m("ui5-notification-list-internal")
154
+ ], NotificationListInternal);
155
+ NotificationListInternal.define();
156
+ var NotificationListInternal$1 = NotificationListInternal;
157
+
158
+ function NotificationListTemplate() {
159
+ return (parametersBundle_css.jsx(NotificationListInternal$1, { accessibleName: this._accessibleName, noDataText: this.noDataText, onItemClick: this._onItemClick, onItemClose: this._onItemClose, onItemToggle: this._onItemToggle, onLoadMore: this._onLoadMore, children: parametersBundle_css.jsx("slot", {}) }));
160
+ }
161
+
162
+ Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
163
+ 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);
164
+ var NotificationListCss = `:host(:not([hidden])){display:block}[ui5-notification-list-internal]{height:100%}
165
+ `;
166
+
167
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
168
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
169
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
170
+ 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;
171
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
172
+ };
173
+ var NotificationList_1;
174
+ /**
175
+ * @class
176
+ * ### Overview
177
+ * The `ui5-notification-list` web component represents
178
+ * a container for `ui5-li-notification-group` and `ui5-li-notification`.
179
+ *
180
+ * ### Keyboard Handling
181
+ *
182
+ * #### Basic Navigation
183
+ * The `ui5-notification-list` provides advanced keyboard handling.
184
+ * When a list is focused the user can use the following keyboard
185
+ * shortcuts in order to perform a navigation:
186
+ *
187
+ * - [Up] or [Left] - Navigates up the items
188
+ * - [Down] or [Right] - Navigates down the items
189
+ * - [Home] - Navigates to first item
190
+ * - [End] - Navigates to the last item
191
+ *
192
+ * #### Fast Navigation
193
+ * 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].
194
+ * In order to use this functionality, you need to import the following module:
195
+ * `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
196
+ *
197
+ * ### ES6 Module Import
198
+ *
199
+ * `import "@ui5/webcomponents-fiori/dist/NotificationList.js";``
200
+ * @constructor
201
+ * @extends UI5Element
202
+ * @since 2.0.0
203
+ * @public
204
+ */
205
+ let NotificationList = NotificationList_1 = class NotificationList extends webcomponentsBase.b {
206
+ get _accessibleName() {
207
+ return NotificationList_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ACCESSIBLE_NAME);
208
+ }
209
+ getEnabledItems() {
210
+ return this.innerList?.getEnabledItems() || [];
211
+ }
212
+ get innerList() {
213
+ return this.shadowRoot?.querySelector("[ui5-notification-list-internal]");
214
+ }
215
+ _onItemClick(e) {
216
+ const item = e.detail.item;
217
+ if (!this.fireDecoratorEvent("item-click", { item })) {
218
+ e.preventDefault();
219
+ }
220
+ }
221
+ _onItemClose(e) {
222
+ const item = e.detail.item;
223
+ if (!this.fireDecoratorEvent("item-close", { item })) {
224
+ e.preventDefault();
225
+ }
226
+ }
227
+ _onItemToggle(e) {
228
+ const item = e.detail.item;
229
+ if (!this.fireDecoratorEvent("item-toggle", { item })) {
230
+ e.preventDefault();
231
+ }
232
+ }
233
+ _onLoadMore() {
234
+ this.fireDecoratorEvent("load-more");
235
+ }
236
+ };
237
+ __decorate([
238
+ webcomponentsBase.d({ type: HTMLElement, "default": true })
239
+ ], NotificationList.prototype, "items", void 0);
240
+ __decorate([
241
+ webcomponentsBase.s()
242
+ ], NotificationList.prototype, "noDataText", void 0);
243
+ __decorate([
244
+ parametersBundle_css$2.i("@ui5/webcomponents-fiori")
245
+ ], NotificationList, "i18nFioriBundle", void 0);
246
+ NotificationList = NotificationList_1 = __decorate([
247
+ webcomponentsBase.m({
248
+ tag: "ui5-notification-list",
249
+ renderer: parametersBundle_css.y,
250
+ languageAware: true,
251
+ styles: [NotificationListCss],
252
+ template: NotificationListTemplate,
253
+ })
254
+ /**
255
+ * Fired when an item is clicked.
256
+ * @param {HTMLElement} item The clicked item.
257
+ * @public
258
+ */
259
+ ,
260
+ eventStrict.l("item-click", {
261
+ bubbles: true,
262
+ cancelable: true,
263
+ })
264
+ /**
265
+ * Fired when the `Close` button of any item is clicked.
266
+ * @param {HTMLElement} item the item about to be closed.
267
+ * @public
268
+ */
269
+ ,
270
+ eventStrict.l("item-close", {
271
+ bubbles: true,
272
+ cancelable: true,
273
+ })
274
+ /**
275
+ * Fired when an item is toggled.
276
+ *
277
+ * @param {HTMLElement} item the toggled item.
278
+ * @public
279
+ */
280
+ ,
281
+ eventStrict.l("item-toggle", {
282
+ bubbles: true,
283
+ cancelable: true,
284
+ })
285
+ ], NotificationList);
286
+ NotificationList.define();
287
+ var NotificationList$1 = NotificationList;
288
+
289
+ return NotificationList$1;
290
+
291
+ }));
@@ -0,0 +1,310 @@
1
+ sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/NotificationListItemBase', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/i18n-defaults', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/List', 'sap/f/thirdparty/parameters-bundle.css3', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/ListItemGroup', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/Label'], (function (webcomponentsBase, eventStrict, parametersBundle_css, NotificationListItemBase, Icons, i18nDefaults, Icon, List, parametersBundle_css$1, parametersBundle_css$2, ListItemBase, FocusableElements, toLowercaseEnumValue, ListItemGroup, i18nDefaults$1, WrappingType, AccessibilityTextsHelper, BusyIndicator, willShowContent, Label) { 'use strict';
2
+
3
+ const name$3 = "navigation-right-arrow";
4
+ const pathData$3 = "M296 268q11-12 0-23L139 86q-10-10-10-23t10-22q9-10 22-10t23 10l191 193q9 9 9 22.5t-9 22.5L183 471q-10 10-23 10t-23-10q-9-9-9-22.5t9-22.5z";
5
+ const ltr$3 = false;
6
+ const collection$3 = "SAP-icons-v4";
7
+ const packageName$3 = "@ui5/webcomponents-icons";
8
+
9
+ Icons.y(name$3, { pathData: pathData$3, ltr: ltr$3, collection: collection$3, packageName: packageName$3 });
10
+
11
+ const name$2 = "navigation-right-arrow";
12
+ const pathData$2 = "M186 416q-11 0-18.5-7.5T160 390q0-10 8-18l121-116-121-116q-8-8-8-18 0-11 7.5-18.5T186 96q10 0 17 7l141 134q8 8 8 19 0 12-8 18L203 409q-7 7-17 7z";
13
+ const ltr$2 = false;
14
+ const collection$2 = "SAP-icons-v5";
15
+ const packageName$2 = "@ui5/webcomponents-icons";
16
+
17
+ Icons.y(name$2, { pathData: pathData$2, ltr: ltr$2, collection: collection$2, packageName: packageName$2 });
18
+
19
+ var iconNavigationRightArrow = "navigation-right-arrow";
20
+
21
+ const name$1 = "navigation-down-arrow";
22
+ const pathData$1 = "M425.5 137q9-9 22.5-9t22.5 9q10 10 10 23t-10 23l-193 197q-4 2-5 3-2 1-2.5 1.5t-2.5 1.5q-6 2-11 2-2 0-3-.5t-2-.5q-4 0-6-1t-3.5-2-3.5-2q-1-1-1.5-1t-1.5-1-2-1l-192-196q-10-10-10-23t10-23q9-9 22.5-9t22.5 9l154 155q16 10 32 0z";
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 = "navigation-down-arrow";
30
+ const pathData = "M96 186q0-11 7.5-18.5T122 160q10 0 18 8l116 121 116-121q8-8 18-8 11 0 18.5 7.5T416 186q0 10-7 17L275 344q-8 8-19 8-12 0-18-8L103 203q-7-7-7-17z";
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 iconNavigationDownArrow = "navigation-down-arrow";
38
+
39
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
40
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
41
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
42
+ 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;
43
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
44
+ };
45
+ /**
46
+ * @class
47
+ *
48
+ * Internal `ui5-li-notification-group-list` component,
49
+ * that is used to support keyboard navigation of the notification group internal list.
50
+ *
51
+ * @private
52
+ */
53
+ let NotificationListGroupList = class NotificationListGroupList extends List.List {
54
+ getEnabledItems() {
55
+ return [];
56
+ }
57
+ _handleTabNext() {
58
+ }
59
+ onForwardBefore() {
60
+ }
61
+ onForwardAfter() {
62
+ }
63
+ onItemTabIndexChange() {
64
+ }
65
+ onItemFocused() {
66
+ }
67
+ _onfocusin(e) {
68
+ e.stopImmediatePropagation();
69
+ }
70
+ _onkeydown() {
71
+ }
72
+ focusItem(item) {
73
+ item.focus();
74
+ }
75
+ _onLoadMoreKeydown(e) {
76
+ if (webcomponentsBase.A(e)) {
77
+ e.stopImmediatePropagation();
78
+ }
79
+ super._onLoadMoreKeydown(e);
80
+ }
81
+ };
82
+ NotificationListGroupList = __decorate$1([
83
+ webcomponentsBase.m("ui5-notification-group-list")
84
+ ], NotificationListGroupList);
85
+ NotificationListGroupList.define();
86
+ var NotificationListGroupList$1 = NotificationListGroupList;
87
+
88
+ function NotificationListItemTemplate() {
89
+ return (parametersBundle_css.jsxs("li", { class: "ui5-nli-group-root ui5-nli-focusable", onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, tabindex: this.forcedTabIndex ? parseInt(this.forcedTabIndex) : undefined, "aria-labelledby": this.ariaLabelledBy, "aria-description": this.accInvisibleText, "aria-level": 1, children: [this.loading && (parametersBundle_css.jsx("span", { id: `${this._id}-loading`, class: "ui5-hidden-text", children: this.loadingText })), parametersBundle_css.jsxs("div", { class: "ui5-nli-group-content-wrapper", children: [parametersBundle_css.jsxs("div", { class: {
90
+ "ui5-nli-group-header": true,
91
+ "ui5-nli-group-header-expanded": this._expanded,
92
+ }, onClick: this._onHeaderToggleClick, onKeyDown: this._onkeydown, role: "button", "aria-expanded": this._expanded, "aria-controls": `${this._id}-notificationsList`, title: this.toggleIconAccessibleName, children: [parametersBundle_css.jsx(Icon.Icon, { name: this.groupCollapsedIcon, class: "ui5-nli-group-toggle-icon", mode: "Decorative" }), parametersBundle_css.jsx("div", { id: `${this._id}-title-text`, class: "ui5-nli-group-title-text", part: "title-text", role: "heading", "aria-level": 2, children: this.titleText }), parametersBundle_css.jsx("div", { class: "ui5-nli-group-divider" })] }), parametersBundle_css.jsx(NotificationListGroupList$1, { id: `${this._id}-notificationsList`, class: "ui5-nli-group-items", accessibleNameRef: `${this._id}-title-text`, growing: this.growing, loading: this.loading, loadingDelay: this.loadingDelay, onLoadMore: this._onLoadMore, children: parametersBundle_css.jsx("slot", {}) })] })] }));
93
+ }
94
+
95
+ Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
96
+ 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);
97
+ var NotificationListGroupItemCss = `.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([collapsed]) .ui5-nli-group-items{display:none}:host([read]) .ui5-nli-group-title-text{font-weight:400}.ui5-nli-group-root{width:100%}.ui5-nli-group-content-wrapper{position:relative;box-sizing:border-box;width:100%;display:flex;flex-direction:column}[ui5-busy-indicator]{width:100%}.ui5-nli-group-header{height:2.75rem;position:sticky;top:0;z-index:90;background:var(--sapList_GroupHeaderBackground);display:flex;align-items:center;padding-inline:var(--_ui5-v2-15-0-notification_group_header-padding);width:100%;border-bottom:var(--_ui5-v2-15-0-notification_group_header-border-bottom-width) solid var(--sapList_GroupHeaderBorderColor);box-sizing:border-box;cursor:pointer;margin-bottom:var(--_ui5-v2-15-0-notification_group_header-margin)}.ui5-nli-group-header-expanded{margin-bottom:var(--_ui5-v2-15-0-notification_group_header-margin-expanded)}:host([desktop]) .ui5-nli-focusable.ui5-nli-group-root:focus .ui5-nli-group-header:before,.ui5-nli-focusable.ui5-nli-group-root:focus-visible .ui5-nli-group-header:before{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;top:var(--_ui5-v2-15-0-notification_group_header-margin);bottom:var(--_ui5-v2-15-0-notification_group_header-margin);left:0;right:0;pointer-events:none}.ui5-nli-group-toggle-icon{min-width:1rem;min-height:1rem;margin-inline:.5rem;color:var(--sapContent_IconColor)}.ui5-nli-group-title-text{color:var(--sapGroup_TitleTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontHeader5Size);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:2rem;margin-inline-start:.75rem}.ui5-nli-group-divider{flex:1}:host([ui5-li-notification-group]){-webkit-tap-highlight-color:transparent}[ui5-notification-group-list]::part(growing-button){border:none}[ui5-notification-group-list]::part(growing-button-inner){margin:var(--_ui5-v2-15-0-notification_item-margin);border:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}[ui5-notification-group-list]::part(growing-button-inner){border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);height:3.125rem}[ui5-notification-group-list]::part(growing-button-inner):focus,[ui5-notification-group-list]::part(growing-button-inner):focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5-v2-15-0-notification_item-outline-offset)}[ui5-notification-group-list]::part(growing-button-inner):focus:active,[ui5-notification-group-list]::part(growing-button-inner):focus-visible:active{background-color:var(--_ui5-v2-15-0-notification_item-growing-btn-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-notification-group-list]::part(growing-button-busy-indicator){padding:.875rem 0 1rem}
98
+ `;
99
+
100
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
101
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
102
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
103
+ 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;
104
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
105
+ };
106
+ var NotificationListGroupItem_1;
107
+ /**
108
+ * @class
109
+ *
110
+ * ### Overview
111
+ * The `ui5-li-notification-group` is a special type of list item,
112
+ * that unlike others can group items within self, usually `ui5-li-notification` items.
113
+ *
114
+ * The component consists of:
115
+ *
116
+ * - `Toggle` button to expand and collapse the group
117
+ * - `TitleText` to entitle the group
118
+ * - Items of the group
119
+ *
120
+ * ### Usage
121
+ * The component should be used inside a `ui5-notification-list`.
122
+ *
123
+ * ### Keyboard Handling
124
+ * The `ui5-li-notification-group` provides advanced keyboard handling.
125
+ * This component provides fast navigation when the header is focused using the following keyboard shortcuts:
126
+ *
127
+ * - [Space] - toggles expand / collapse of the group
128
+ * - [Plus] - expands the group
129
+ * - [Minus] - collapses the group
130
+ * - [Right] - expands the group
131
+ * - [Left] - collapses the group
132
+ *
133
+ * ### ES6 Module Import
134
+ *
135
+ * `import "@ui5/webcomponents-fiori/dist/NotificationListGroupItem.js";`
136
+ * @constructor
137
+ * @extends NotificationListItemBase
138
+ * @since 1.0.0-rc.8
139
+ * @public
140
+ */
141
+ let NotificationListGroupItem = NotificationListGroupItem_1 = class NotificationListGroupItem extends NotificationListItemBase.NotificationListItemBase {
142
+ constructor() {
143
+ super(...arguments);
144
+ /**
145
+ * Defines if the group is collapsed or expanded.
146
+ * @default false
147
+ * @public
148
+ */
149
+ this.collapsed = false;
150
+ /**
151
+ * Defines whether the component will have growing capability by pressing a `More` button.
152
+ * When button is pressed `load-more` event will be fired.
153
+ * @default "None"
154
+ * @public
155
+ * @since 2.2.0
156
+ */
157
+ this.growing = "None";
158
+ }
159
+ onBeforeRendering() {
160
+ super.onBeforeRendering();
161
+ this.items.forEach(item => {
162
+ item._ariaLevel = 2;
163
+ });
164
+ if (this.loading) {
165
+ this.clearChildBusyIndicator();
166
+ }
167
+ this.actionable = false;
168
+ }
169
+ /**
170
+ * Clears child items loading state to show a single loading over the entire group,
171
+ * instead of multiple BusyIndicator instances
172
+ */
173
+ clearChildBusyIndicator() {
174
+ this.items.forEach(item => {
175
+ item.loading = false;
176
+ });
177
+ }
178
+ get toggleIconAccessibleName() {
179
+ return NotificationListGroupItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_ICON_COLLAPSE_TITLE);
180
+ }
181
+ get accInvisibleText() {
182
+ return `${this.groupText} ${this.expandText}`;
183
+ }
184
+ get expandText() {
185
+ if (this.collapsed) {
186
+ return NotificationListGroupItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_COLLAPSED);
187
+ }
188
+ return NotificationListGroupItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_EXPANDED);
189
+ }
190
+ get groupText() {
191
+ return NotificationListGroupItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TXT);
192
+ }
193
+ get ariaLabelledBy() {
194
+ const id = this._id;
195
+ if (this.loading) {
196
+ return `${id}-loading`;
197
+ }
198
+ const ids = [];
199
+ if (this.hasTitleText) {
200
+ ids.push(`${id}-title-text`);
201
+ }
202
+ return ids.join(" ");
203
+ }
204
+ get _expanded() {
205
+ return !this.collapsed;
206
+ }
207
+ get _pressable() {
208
+ return false;
209
+ }
210
+ get groupCollapsedIcon() {
211
+ return this.collapsed ? iconNavigationRightArrow : iconNavigationDownArrow;
212
+ }
213
+ toggleCollapsed() {
214
+ this.collapsed = !this.collapsed;
215
+ this.fireDecoratorEvent("toggle", { item: this });
216
+ }
217
+ /**
218
+ * Event handlers
219
+ *
220
+ */
221
+ _onHeaderToggleClick() {
222
+ this.toggleCollapsed();
223
+ }
224
+ _onLoadMore() {
225
+ this.fireDecoratorEvent("load-more");
226
+ }
227
+ getGrowingButton() {
228
+ const innerList = this.getDomRef()?.querySelector("[ui5-notification-group-list]");
229
+ return innerList.getGrowingButton();
230
+ }
231
+ async _onkeydown(e) {
232
+ const isFocused = this.matches(":focus");
233
+ if (!isFocused) {
234
+ return;
235
+ }
236
+ if (this.getGrowingButton()?.matches(":focus")) {
237
+ return;
238
+ }
239
+ await super._onkeydown(e);
240
+ const space = webcomponentsBase.A(e);
241
+ const plus = webcomponentsBase.ao(e);
242
+ const minus = webcomponentsBase.so(e);
243
+ const left = webcomponentsBase.D(e);
244
+ const right = webcomponentsBase.R(e);
245
+ if (space) {
246
+ this.toggleCollapsed();
247
+ }
248
+ if (plus || right) {
249
+ // expand
250
+ if (this.collapsed) {
251
+ this.toggleCollapsed();
252
+ e.stopImmediatePropagation();
253
+ }
254
+ }
255
+ if (minus || left) {
256
+ // collapse
257
+ if (!this.collapsed) {
258
+ this.toggleCollapsed();
259
+ e.stopImmediatePropagation();
260
+ }
261
+ }
262
+ }
263
+ getHeaderDomRef() {
264
+ return this.getDomRef()?.querySelector(".ui5-nli-group-header");
265
+ }
266
+ };
267
+ __decorate([
268
+ webcomponentsBase.s({ type: Boolean })
269
+ ], NotificationListGroupItem.prototype, "collapsed", void 0);
270
+ __decorate([
271
+ webcomponentsBase.s()
272
+ ], NotificationListGroupItem.prototype, "growing", void 0);
273
+ __decorate([
274
+ webcomponentsBase.d({ type: HTMLElement, "default": true })
275
+ ], NotificationListGroupItem.prototype, "items", void 0);
276
+ NotificationListGroupItem = NotificationListGroupItem_1 = __decorate([
277
+ webcomponentsBase.m({
278
+ tag: "ui5-li-notification-group",
279
+ languageAware: true,
280
+ renderer: parametersBundle_css.y,
281
+ styles: [
282
+ NotificationListGroupItemCss,
283
+ ],
284
+ template: NotificationListItemTemplate,
285
+ })
286
+ /**
287
+ * Fired when the `ui5-li-notification-group` is expanded/collapsed by user interaction.
288
+ * @public
289
+ */
290
+ ,
291
+ eventStrict.l("toggle", {
292
+ bubbles: true,
293
+ })
294
+ /**
295
+ * Fired when additional items are requested.
296
+ *
297
+ * @public
298
+ * @since 2.2.0
299
+ */
300
+ ,
301
+ eventStrict.l("load-more", {
302
+ bubbles: true,
303
+ })
304
+ ], NotificationListGroupItem);
305
+ NotificationListGroupItem.define();
306
+ var NotificationListGroupItem$1 = NotificationListGroupItem;
307
+
308
+ return NotificationListGroupItem$1;
309
+
310
+ }));