@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,637 +1,2 @@
1
- sap.ui.define(['require', 'exports', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/Icons'], (function (require, exports, webcomponentsBase, eventStrict, parametersBundle_css, parametersBundle_css$1, toLowercaseEnumValue, ListItemBase, i18nDefaults, WrappingType, Icons) { 'use strict';
2
-
3
- function i(t,o,n,m,r={}){const a=webcomponentsBase.D$1.getDraggedElement(),e={targetReference:null,placement:null};if(!a&&!r?.crossDnD)return e;const s=n.placements;return e.targetReference=t.target,s.some(l=>{const c=r.originalEvent?{originalEvent:t}:{};return o.fireDecoratorEvent("move-over",{...c,source:{element:a},destination:{element:m,placement:l}})?false:(t.preventDefault(),e.targetReference=n.element,e.placement=l,true)})||(e.targetReference=null),e}
4
-
5
- function m(t,r,o,a,n={}){t.preventDefault();const e=webcomponentsBase.D$1.getDraggedElement();if(!e&&n?.crossDnD)return;const i=n.originalEvent?{originalEvent:t}:{};r.fireDecoratorEvent("move",{...i,source:{element:e},destination:{element:o,placement:a}}),e?.focus();}
6
-
7
- var r=(f=>(f.On="On",f.Before="Before",f.After="After",f))(r||{});
8
-
9
- var a=(l=>(l.Vertical="Vertical",l.Horizontal="Horizontal",l))(a||{});
10
-
11
- const A=(e,t,r$1,a)=>{const o=Math.abs(e-t),m=Math.abs(e-r$1),s=Math.abs(e-a),c=Math.min(o,m,s);let l=[];switch(c){case o:l=[r.Before];break;case m:l=[r.On,o<s?r.Before:r.After];break;case s:l=[r.After];break}return l},L=(e,t,r)=>{let a$1=Number.POSITIVE_INFINITY,o=null;for(let f=0;f<e.length;f++){const h=e[f],{left:p,width:w,top:B,height:H}=h.getBoundingClientRect();let u;r===a.Vertical?u=B+H/2:u=p+w/2;const M=Math.abs(t-u);M<a$1&&(a$1=M,o=h);}if(!o)return null;const{width:m,height:s,left:c,right:l,top:b,bottom:d}=o.getBoundingClientRect();let i;return r===a.Vertical?i=A(t,b,b+s/2,d):i=A(t,c,c+m/2,l),{element:o,placements:i}},T=(e,t)=>(t--,t<0?[]:[{element:e[t],placement:r.Before}]),y=(e,t)=>(t++,t>=e.length?[]:[{element:e[t],placement:r.After}]),E={ArrowLeft:T,ArrowUp:T,ArrowRight:y,ArrowDown:y,Home:(e,t)=>e.slice(0,t).map(r$1=>({element:r$1,placement:r.Before})),End:(e,t)=>e.slice(t+1,e.length).reverse().map(r$1=>({element:r$1,placement:r.After}))},k=(e,t,r)=>P(r.key)?E[r.key](e,e.indexOf(t)):[],P=e=>e in E;
12
-
13
- class DragAndDropHandler {
14
- constructor(component, config) {
15
- this.component = component;
16
- this.config = {
17
- orientation: a.Vertical,
18
- clientCoordinate: "clientY",
19
- ...config,
20
- };
21
- }
22
- ondragenter(e) {
23
- e.preventDefault();
24
- }
25
- ondragleave(e) {
26
- if (e.relatedTarget instanceof Node && this.component.shadowRoot?.contains(e.relatedTarget)) {
27
- return;
28
- }
29
- const dropIndicator = this.config.getDropIndicator();
30
- if (dropIndicator) {
31
- dropIndicator.targetReference = null;
32
- }
33
- }
34
- ondragover(e) {
35
- if (!this._validateDragOver(e)) {
36
- return;
37
- }
38
- const draggedElement = webcomponentsBase.D$1.getDraggedElement();
39
- const dropIndicator = this.config.getDropIndicator();
40
- const closestPosition = this._findClosestPosition(e);
41
- if (!closestPosition) {
42
- dropIndicator.targetReference = null;
43
- return;
44
- }
45
- const targetElement = this._transformTargetElement(closestPosition.element);
46
- if (!this._isValidDragTarget(draggedElement, targetElement)) {
47
- dropIndicator.targetReference = null;
48
- return;
49
- }
50
- // Filter placements if needed (e.g., ListItemGroup filtering out MovePlacement.On)
51
- const placements = this._filterPlacements(closestPosition.placements, draggedElement, targetElement);
52
- const settings = this.config.useOriginalEvent ? { originalEvent: true } : {};
53
- const { targetReference, placement } = i(e, this.component, {
54
- element: targetElement,
55
- placements,
56
- }, targetElement, settings);
57
- dropIndicator.targetReference = targetReference;
58
- dropIndicator.placement = placement;
59
- }
60
- ondrop(e) {
61
- const dropIndicator = this.config.getDropIndicator();
62
- if (!dropIndicator?.targetReference || !dropIndicator?.placement) {
63
- e.preventDefault();
64
- return;
65
- }
66
- const settings = this.config.useOriginalEvent ? { originalEvent: true } : {};
67
- m(e, this.component, dropIndicator.targetReference, dropIndicator.placement, settings);
68
- dropIndicator.targetReference = null;
69
- }
70
- _validateDragOver(e) {
71
- if (!(e.target instanceof HTMLElement)) {
72
- return false;
73
- }
74
- const draggedElement = webcomponentsBase.D$1.getDraggedElement();
75
- const dropIndicator = this.config.getDropIndicator();
76
- return !!(draggedElement && dropIndicator);
77
- }
78
- _findClosestPosition(e) {
79
- const items = this.config.getItems();
80
- const coordinate = this.config.clientCoordinate === "clientX" ? e.clientX : e.clientY;
81
- return L(items, coordinate, this.config.orientation);
82
- }
83
- _transformTargetElement(element) {
84
- if (this.config.transformElement) {
85
- return this.config.transformElement(element);
86
- }
87
- return element;
88
- }
89
- _isValidDragTarget(draggedElement, targetElement) {
90
- if (this.config.validateDraggedElement) {
91
- return this.config.validateDraggedElement(draggedElement, targetElement);
92
- }
93
- return true;
94
- }
95
- _filterPlacements(placements, draggedElement, targetElement) {
96
- if (this.config.filterPlacements) {
97
- return this.config.filterPlacements(placements, draggedElement, targetElement);
98
- }
99
- return placements;
100
- }
101
- }
102
-
103
- function DropIndicatorTemplate() {
104
- return parametersBundle_css.jsx("div", { class: {
105
- "ui5-di-rect": this.placement === r.On,
106
- "ui5-di-needle": this.placement !== r.On,
107
- } });
108
- }
109
-
110
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
111
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
112
- var DropIndicatorCss = `:host{position:absolute;pointer-events:none;z-index:99}:host([orientation="Vertical"]) .ui5-di-needle{width:.125rem;height:100%;inset-block:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Vertical"]){margin-left:-.0625rem}:host([orientation="Horizontal"]) .ui5-di-needle{height:.125rem;width:100%;inset-inline:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Horizontal"]){margin-top:-.0625rem}:host([orientation="Horizontal"][placement="Before"][first]){margin-top:.3125rem}:host([orientation="Horizontal"][placement="After"][last]){margin-top:-.3125rem}:host([orientation="Vertical"]) .ui5-di-needle:before{left:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host([orientation="Horizontal"]) .ui5-di-needle:before{top:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host .ui5-di-rect{border:.125rem solid var(--sapContent_DragAndDropActiveColor);position:absolute;inset:0}:host .ui5-di-rect:before{content:" ";position:absolute;inset:0;background:var(--sapContent_DragAndDropActiveColor);opacity:.05}
113
- `;
114
-
115
- var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
116
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
117
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
118
- 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;
119
- return c > 3 && r && Object.defineProperty(target, key, r), r;
120
- };
121
- /**
122
- * @class
123
- *
124
- * ### Overview
125
- *
126
- * ### Usage
127
- *
128
- * ### ES6 Module Import
129
- *
130
- * `import "@ui5/webcomponents/dist/DropIndicator.js";`
131
- *
132
- * @constructor
133
- * @extends UI5Element
134
- * @private
135
- */
136
- let DropIndicator = class DropIndicator extends webcomponentsBase.b {
137
- get _positionProperty() {
138
- if (this.orientation === a.Vertical) {
139
- return "left";
140
- }
141
- return "top";
142
- }
143
- constructor() {
144
- super();
145
- /**
146
- * Element where the drop indicator will be shown.
147
- *
148
- * @public
149
- * @default null
150
- */
151
- this.targetReference = null;
152
- /**
153
- * Owner of the indicator and the target.
154
- * @public
155
- * @default null
156
- */
157
- this.ownerReference = null;
158
- /**
159
- * Placement of the indicator relative to the target.
160
- *
161
- * @default "Before"
162
- * @public
163
- */
164
- this.placement = "Before";
165
- /**
166
- * Orientation of the indicator.
167
- *
168
- * @default "Vertical"
169
- * @public
170
- */
171
- this.orientation = "Vertical";
172
- }
173
- onAfterRendering() {
174
- if (!this.targetReference || !this.ownerReference) {
175
- Object.assign(this.style, {
176
- display: "none",
177
- });
178
- return;
179
- }
180
- const { left, width, right, top, bottom, height, } = this.targetReference.getBoundingClientRect();
181
- const { top: containerTop, height: containerHeight, } = this.ownerReference.getBoundingClientRect();
182
- const style = {
183
- display: "",
184
- [this._positionProperty]: "",
185
- width: "",
186
- height: "",
187
- };
188
- let position = 0;
189
- let isLast = false;
190
- let isFirst = false;
191
- if (this.orientation === a.Vertical) {
192
- switch (this.placement) {
193
- case r.Before:
194
- position = left;
195
- break;
196
- case r.On:
197
- style.width = `${width}px`;
198
- position = left;
199
- break;
200
- case r.After:
201
- position = right;
202
- break;
203
- }
204
- style.height = `${height}px`;
205
- }
206
- if (this.orientation === a.Horizontal) {
207
- switch (this.placement) {
208
- case r.Before:
209
- position = top;
210
- break;
211
- case r.On:
212
- style.height = `${height}px`;
213
- position = top;
214
- break;
215
- case r.After:
216
- position = bottom;
217
- break;
218
- }
219
- style.width = `${width}px`;
220
- position -= containerTop;
221
- if (position <= 0) {
222
- isFirst = true;
223
- }
224
- if (position >= containerHeight) {
225
- isLast = true;
226
- }
227
- }
228
- style[this._positionProperty] = `${position}px`;
229
- this.toggleAttribute("first", isFirst);
230
- this.toggleAttribute("last", isLast);
231
- Object.assign(this.style, style);
232
- }
233
- };
234
- __decorate$2([
235
- webcomponentsBase.s({ type: Object })
236
- ], DropIndicator.prototype, "targetReference", void 0);
237
- __decorate$2([
238
- webcomponentsBase.s({ type: Object })
239
- ], DropIndicator.prototype, "ownerReference", void 0);
240
- __decorate$2([
241
- webcomponentsBase.s()
242
- ], DropIndicator.prototype, "placement", void 0);
243
- __decorate$2([
244
- webcomponentsBase.s()
245
- ], DropIndicator.prototype, "orientation", void 0);
246
- DropIndicator = __decorate$2([
247
- webcomponentsBase.m({
248
- tag: "ui5-drop-indicator",
249
- renderer: parametersBundle_css.y,
250
- styles: DropIndicatorCss,
251
- template: DropIndicatorTemplate,
252
- })
253
- ], DropIndicator);
254
- DropIndicator.define();
255
- var DropIndicator$1 = DropIndicator;
256
-
257
- function ListItemGroupHeaderTemplate() {
258
- return (parametersBundle_css.jsxs("div", { part: "native-li", role: this.effectiveAccRole, tabindex: this.forcedTabIndex ? parseInt(this.forcedTabIndex) : undefined, class: {
259
- "ui5-ghli-root": true,
260
- ...this.classes.main,
261
- }, "aria-label": this.ariaLabelText, "aria-roledescription": this.groupHeaderText, onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, children: [parametersBundle_css.jsx("div", { id: `${this._id}-content`, class: "ui5-li-content", children: renderTitle.call(this) }), this.hasSubItems && parametersBundle_css.jsx("slot", { name: "subItems" })] }));
262
- }
263
- function renderTitle() {
264
- if (this.wrappingType === WrappingType.WrappingType.Normal) {
265
- return this.expandableTextTemplate?.call(this, {
266
- className: "ui5-ghli-title",
267
- text: this._textContent,
268
- maxCharacters: this._maxCharacters,
269
- part: "title",
270
- });
271
- }
272
- return (parametersBundle_css.jsx("span", { part: "title", class: "ui5-ghli-title", children: parametersBundle_css.jsx("slot", {}) }));
273
- }
274
-
275
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
276
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
277
- var ListItemGroupHeaderCss = `.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{height:var(--_ui5-v2-15-0_group_header_list_item_height);background:var(--ui5-v2-15-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([wrapping-type="Normal"]){height:auto}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}:host([actionable]:not([disabled])){cursor:default}.ui5-li-root.ui5-ghli-root{padding-top:.5rem;color:currentColor;font-size:var(--sapFontHeader6Size);font-weight:400;line-height:2rem;margin:0}.ui5-ghli-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-family:var(--sapFontHeaderFamily)}.ui5-li-content{width:100%}
278
- `;
279
-
280
- /**
281
- * ListItem accessible roles.
282
- * @public
283
- * @since 2.0.0
284
- */
285
- var ListItemAccessibleRole;
286
- (function (ListItemAccessibleRole) {
287
- /**
288
- * Represents the ARIA role "group".
289
- * @private
290
- */
291
- ListItemAccessibleRole["Group"] = "Group";
292
- /**
293
- * Represents the ARIA role "listitem". (by default)
294
- * @public
295
- */
296
- ListItemAccessibleRole["ListItem"] = "ListItem";
297
- /**
298
- * Represents the ARIA role "menuitem".
299
- * @public
300
- */
301
- ListItemAccessibleRole["MenuItem"] = "MenuItem";
302
- /**
303
- * Represents the ARIA role "treeitem".
304
- * @public
305
- */
306
- ListItemAccessibleRole["TreeItem"] = "TreeItem";
307
- /**
308
- * Represents the ARIA role "option".
309
- * @public
310
- */
311
- ListItemAccessibleRole["Option"] = "Option";
312
- /**
313
- * Represents the ARIA role "none".
314
- * @public
315
- */
316
- ListItemAccessibleRole["None"] = "None";
317
- })(ListItemAccessibleRole || (ListItemAccessibleRole = {}));
318
- var ListItemAccessibleRole$1 = ListItemAccessibleRole;
319
-
320
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
321
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
322
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
323
- 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;
324
- return c > 3 && r && Object.defineProperty(target, key, r), r;
325
- };
326
- var ListItemGroupHeader_1;
327
- /**
328
- * Maximum number of characters to display for small screens (Size S)
329
- * @private
330
- */
331
- const MAX_CHARACTERS_SIZE_S = 100;
332
- /**
333
- * Maximum number of characters to display for medium and larger screens (Size M and above)
334
- * @private
335
- */
336
- const MAX_CHARACTERS_SIZE_M = 300;
337
- /**
338
- * @class
339
- * The `ui5-li-group-header` is a special list item, used only to separate other list items into logical groups.
340
- * @slot {Node[]} default - Defines the text of the component.
341
- *
342
- * **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
343
- * @constructor
344
- * @extends ListItemBase
345
- * @private
346
- */
347
- let ListItemGroupHeader = ListItemGroupHeader_1 = class ListItemGroupHeader extends ListItemBase.ListItemBase {
348
- constructor() {
349
- super(...arguments);
350
- this.accessibleRole = ListItemAccessibleRole$1.ListItem;
351
- /**
352
- * Defines if the text of the component should wrap when it's too long.
353
- * When set to "Normal", the content (title, description) will be wrapped
354
- * using the `ui5-expandable-text` component.<br/>
355
- *
356
- * The text can wrap up to 100 characters on small screens (size S) and
357
- * up to 300 characters on larger screens (size M and above). When text exceeds
358
- * these limits, it truncates with an ellipsis followed by a text expansion trigger.
359
- *
360
- * Available options are:
361
- * - `None` (default) - The text will truncate with an ellipsis.
362
- * - `Normal` - The text will wrap (without truncation).
363
- *
364
- * @default "None"
365
- * @public
366
- * @since 2.15.0
367
- */
368
- this.wrappingType = "None";
369
- /**
370
- * Defines the current media query size.
371
- * @default "S"
372
- * @private
373
- */
374
- this.mediaRange = "S";
375
- }
376
- get effectiveAccRole() {
377
- return toLowercaseEnumValue.n(this.accessibleRole);
378
- }
379
- get groupItem() {
380
- return true;
381
- }
382
- get _pressable() {
383
- return false;
384
- }
385
- get groupHeaderText() {
386
- return ListItemGroupHeader_1.i18nBundle.getText(i18nDefaults.GROUP_HEADER_TEXT);
387
- }
388
- get defaultSlotText() {
389
- return this.textContent;
390
- }
391
- get ariaLabelText() {
392
- return [this.textContent, this.accessibleName].filter(Boolean).join(" ");
393
- }
394
- get hasSubItems() {
395
- return this.subItems.length > 0;
396
- }
397
- onBeforeRendering() {
398
- super.onBeforeRendering();
399
- // Only load ExpandableText if "Normal" wrapping is used
400
- if (this.wrappingType === "Normal") {
401
- // If feature is already loaded (preloaded by the user via importing ListItemGroupHeaderExpandableText.js), the template is already available
402
- if (ListItemGroupHeader_1.ExpandableTextTemplate) {
403
- this.expandableTextTemplate = ListItemGroupHeader_1.ExpandableTextTemplate;
404
- // If feature is not preloaded, load the template dynamically
405
- }
406
- else {
407
- new Promise(function (resolve, reject) { require(['sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate'], resolve, reject); }).then(module => {
408
- this.expandableTextTemplate = module.default;
409
- });
410
- }
411
- }
412
- }
413
- /**
414
- * Determines the maximum characters to display based on the current media range.
415
- * - Size S: 100 characters
416
- * - Size M and larger: 300 characters
417
- * @private
418
- */
419
- get _maxCharacters() {
420
- return this.mediaRange === "S" ? MAX_CHARACTERS_SIZE_S : MAX_CHARACTERS_SIZE_M;
421
- }
422
- /**
423
- * Returns the content text, either from text property or from the default slot
424
- * @private
425
- */
426
- get _textContent() {
427
- return this.defaultSlotText || this.groupHeaderText || "";
428
- }
429
- };
430
- __decorate$1([
431
- webcomponentsBase.s()
432
- ], ListItemGroupHeader.prototype, "accessibleName", void 0);
433
- __decorate$1([
434
- webcomponentsBase.s()
435
- ], ListItemGroupHeader.prototype, "accessibleRole", void 0);
436
- __decorate$1([
437
- webcomponentsBase.s()
438
- ], ListItemGroupHeader.prototype, "wrappingType", void 0);
439
- __decorate$1([
440
- webcomponentsBase.s()
441
- ], ListItemGroupHeader.prototype, "mediaRange", void 0);
442
- __decorate$1([
443
- webcomponentsBase.s({ noAttribute: true })
444
- ], ListItemGroupHeader.prototype, "expandableTextTemplate", void 0);
445
- __decorate$1([
446
- webcomponentsBase.d()
447
- ], ListItemGroupHeader.prototype, "subItems", void 0);
448
- __decorate$1([
449
- parametersBundle_css$1.i("@ui5/webcomponents")
450
- ], ListItemGroupHeader, "i18nBundle", void 0);
451
- ListItemGroupHeader = ListItemGroupHeader_1 = __decorate$1([
452
- webcomponentsBase.m({
453
- tag: "ui5-li-group-header",
454
- languageAware: true,
455
- template: ListItemGroupHeaderTemplate,
456
- styles: [ListItemBase.ListItemBase.styles, ListItemGroupHeaderCss],
457
- })
458
- ], ListItemGroupHeader);
459
- ListItemGroupHeader.define();
460
- var ListItemGroupHeader$1 = ListItemGroupHeader;
461
-
462
- function ListItemGroupTemplate() {
463
- return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [this.hasHeader &&
464
- parametersBundle_css.jsxs(ListItemGroupHeader$1, { wrappingType: this.wrappingType, focused: this.focused, part: "header", accessibleRole: ListItemAccessibleRole$1.ListItem, children: [this.hasFormattedHeader ? parametersBundle_css.jsx("slot", { name: "header" }) : this.headerText, parametersBundle_css.jsx("div", { role: "list", slot: "subItems", "aria-owns": `${this._id}-content`, "aria-label": this.headerText })] }), parametersBundle_css.jsxs("div", { class: "ui5-group-li-root", onDragEnter: this._ondragenter, onDragOver: this._ondragover, onDrop: this._ondrop, onDragLeave: this._ondragleave, id: `${this._id}-content`, children: [parametersBundle_css.jsx("slot", {}), parametersBundle_css.jsx(DropIndicator$1, { orientation: "Horizontal", ownerReference: this })] })] }));
465
- }
466
-
467
- Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
468
- Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
469
- var ListItemGroupCss = `.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{height:var(--_ui5-v2-15-0_group_header_list_item_height);background:var(--ui5-v2-15-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}.ui5-group-li-root{width:100%;height:100%;position:relative;box-sizing:border-box;padding:0;margin:0;list-style-type:none}
470
- `;
471
-
472
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
473
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
474
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
475
- 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;
476
- return c > 3 && r && Object.defineProperty(target, key, r), r;
477
- };
478
- /**
479
- * @class
480
- * ### Overview
481
- * The `ui5-li-group` is a special list item, used only to create groups of list items.
482
- *
483
- * This is the item to use inside a `ui5-list`.
484
- *
485
- * ### ES6 Module Import
486
- * `import "@ui5/webcomponents/dist/ListItemGroup.js";`
487
- * @csspart header - Used to style the header item of the group
488
- * @constructor
489
- * @extends UI5Element
490
- * @public
491
- * @since 2.0.0
492
- */
493
- let ListItemGroup = class ListItemGroup extends webcomponentsBase.b {
494
- constructor() {
495
- super();
496
- /**
497
- * Defines if the text of the component should wrap when it's too long.
498
- * When set to "Normal", the content (title, description) will be wrapped
499
- * using the `ui5-expandable-text` component.<br/>
500
- *
501
- * The text can wrap up to 100 characters on small screens (size S) and
502
- * up to 300 characters on larger screens (size M and above). When text exceeds
503
- * these limits, it truncates with an ellipsis followed by a text expansion trigger.
504
- *
505
- * Available options are:
506
- * - `None` (default) - The text will truncate with an ellipsis.
507
- * - `Normal` - The text will wrap (without truncation).
508
- *
509
- * @default "None"
510
- * @public
511
- * @since 2.15.0
512
- */
513
- this.wrappingType = "None";
514
- /**
515
- * Indicates whether the header is focused
516
- * @private
517
- */
518
- this.focused = false;
519
- // Initialize the DragAndDropHandler with the necessary configurations
520
- // The handler will manage the drag and drop operations for the list items.
521
- this._dragAndDropHandler = new DragAndDropHandler(this, {
522
- getItems: () => this.items,
523
- getDropIndicator: () => this.dropIndicatorDOM,
524
- filterPlacements: this._filterPlacements.bind(this),
525
- });
526
- }
527
- get groupHeaderItem() {
528
- return this.shadowRoot.querySelector("[ui5-li-group-header]");
529
- }
530
- get hasHeader() {
531
- return !!this.headerText || this.hasFormattedHeader;
532
- }
533
- get hasFormattedHeader() {
534
- return !!this.header.length;
535
- }
536
- get isListItemGroup() {
537
- return true;
538
- }
539
- get dropIndicatorDOM() {
540
- return this.shadowRoot.querySelector("[ui5-drop-indicator]");
541
- }
542
- _ondragenter(e) {
543
- this._dragAndDropHandler.ondragenter(e);
544
- }
545
- _ondragleave(e) {
546
- this._dragAndDropHandler.ondragleave(e);
547
- }
548
- _ondragover(e) {
549
- this._dragAndDropHandler.ondragover(e);
550
- }
551
- _ondrop(e) {
552
- this._dragAndDropHandler.ondrop(e);
553
- }
554
- _filterPlacements(placements, draggedElement, targetElement) {
555
- // Filter out MovePlacement.On when dragged element is the same as target
556
- if (targetElement === draggedElement) {
557
- return placements.filter(placement => placement !== r.On);
558
- }
559
- return placements;
560
- }
561
- getFocusDomRef() {
562
- return this.groupHeaderItem || this.items.at(0);
563
- }
564
- };
565
- __decorate([
566
- webcomponentsBase.s()
567
- ], ListItemGroup.prototype, "headerText", void 0);
568
- __decorate([
569
- webcomponentsBase.s()
570
- ], ListItemGroup.prototype, "headerAccessibleName", void 0);
571
- __decorate([
572
- webcomponentsBase.d({
573
- "default": true,
574
- invalidateOnChildChange: true,
575
- type: HTMLElement,
576
- })
577
- ], ListItemGroup.prototype, "items", void 0);
578
- __decorate([
579
- webcomponentsBase.s()
580
- ], ListItemGroup.prototype, "wrappingType", void 0);
581
- __decorate([
582
- webcomponentsBase.s({ type: Boolean })
583
- ], ListItemGroup.prototype, "focused", void 0);
584
- __decorate([
585
- webcomponentsBase.d({ type: HTMLElement })
586
- ], ListItemGroup.prototype, "header", void 0);
587
- ListItemGroup = __decorate([
588
- webcomponentsBase.m({
589
- tag: "ui5-li-group",
590
- renderer: parametersBundle_css.y,
591
- languageAware: true,
592
- template: ListItemGroupTemplate,
593
- styles: [ListItemGroupCss],
594
- })
595
- /**
596
- * Fired when a movable list item is moved over a potential drop target during a dragging operation.
597
- *
598
- * If the new position is valid, prevent the default action of the event using `preventDefault()`.
599
- * @param {object} source Contains information about the moved element under `element` property.
600
- * @param {object} destination Contains information about the destination of the moved element. Has `element` and `placement` properties.
601
- * @public
602
- * @since 2.1.0
603
- */
604
- ,
605
- eventStrict.l("move-over", {
606
- bubbles: true,
607
- cancelable: true,
608
- })
609
- /**
610
- * Fired when a movable list item is dropped onto a drop target.
611
- *
612
- * **Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.
613
- * @param {object} source Contains information about the moved element under `element` property.
614
- * @param {object} destination Contains information about the destination of the moved element. Has `element` and `placement` properties.
615
- * @public
616
- * @since 2.1.0
617
- */
618
- ,
619
- eventStrict.l("move", {
620
- bubbles: true,
621
- })
622
- ], ListItemGroup);
623
- ListItemGroup.define();
624
- const isInstanceOfListItemGroup = (object) => {
625
- return "isListItemGroup" in object;
626
- };
627
- var ListItemGroup$1 = ListItemGroup;
628
-
629
- exports.DragAndDropHandler = DragAndDropHandler;
630
- exports.DropIndicator = DropIndicator$1;
631
- exports.ListItemAccessibleRole = ListItemAccessibleRole$1;
632
- exports.ListItemGroup = ListItemGroup$1;
633
- exports.ListItemGroupHeader = ListItemGroupHeader$1;
634
- exports.isInstanceOfListItemGroup = isInstanceOfListItemGroup;
635
- exports.k = k;
636
-
637
- }));
1
+ sap.ui.define(["require","exports","sap/f/thirdparty/webcomponents","sap/f/thirdparty/event-strict","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/toLowercaseEnumValue","sap/f/thirdparty/ListItemBase","sap/f/thirdparty/i18n-defaults2","sap/f/thirdparty/WrappingType","sap/f/thirdparty/Theme"],function(e,t,r,n,o,i,a,s,l,c,p){"use strict";function d(e,t,n,o,i={}){const a=r.D$1.getDraggedElement(),s={targetReference:null,placement:null};if(!a&&!i?.crossDnD)return s;const l=n.placements;return s.targetReference=e.target,l.some(r=>{const l=i.originalEvent?{originalEvent:e}:{};return t.fireDecoratorEvent("move-over",{...l,source:{element:a},destination:{element:o,placement:r}})?false:(e.preventDefault(),s.targetReference=n.element,s.placement=r,true)})||(s.targetReference=null),s}function h(e,t,n,o,i={}){e.preventDefault();const a=r.D$1.getDraggedElement();if(!a&&i?.crossDnD)return;const s=i.originalEvent?{originalEvent:e}:{};t.fireDecoratorEvent("move",{...s,source:{element:a},destination:{element:n,placement:o}}),a?.focus()}var u=(e=>(e.On="On",e.Before="Before",e.After="After",e))(u||{});var g=(e=>(e.Vertical="Vertical",e.Horizontal="Horizontal",e))(g||{});const f=(e,t,r,n)=>{const o=Math.abs(e-t),i=Math.abs(e-r),a=Math.abs(e-n),s=Math.min(o,i,a);let l=[];switch(s){case o:l=[u.Before];break;case i:l=[u.On,o<a?u.Before:u.After];break;case a:l=[u.After];break}return l},m=(e,t,r)=>{let n=Number.POSITIVE_INFINITY,o=null;for(let i=0;i<e.length;i++){const a=e[i],{left:s,width:l,top:c,height:p}=a.getBoundingClientRect();let d;r===g.Vertical?d=c+p/2:d=s+l/2;const h=Math.abs(t-d);h<n&&(n=h,o=a)}if(!o)return null;const{width:i,height:a,left:s,right:l,top:c,bottom:p}=o.getBoundingClientRect();let d;return r===g.Vertical?d=f(t,c,c+a/2,p):d=f(t,s,s+i/2,l),{element:o,placements:d}},b=(e,t)=>(t--,t<0?[]:[{element:e[t],placement:u.Before}]),v=(e,t)=>(t++,t>=e.length?[]:[{element:e[t],placement:u.After}]),y={ArrowLeft:b,ArrowUp:b,ArrowRight:v,ArrowDown:v,Home:(e,t)=>e.slice(0,t).map(e=>({element:e,placement:u.Before})),End:(e,t)=>e.slice(t+1,e.length).reverse().map(e=>({element:e,placement:u.After}))},x=(e,t,r)=>_(r.key)?y[r.key](e,e.indexOf(t)):[],_=e=>e in y;class T{constructor(e,t){this.component=e;this.config={orientation:g.Vertical,clientCoordinate:"clientY",...t}}ondragenter(e){e.preventDefault()}ondragleave(e){if(e.relatedTarget instanceof Node&&this.component.shadowRoot?.contains(e.relatedTarget)){return}const t=this.config.getDropIndicator();if(t){t.targetReference=null}}ondragover(e){if(!this._validateDragOver(e)){return}const t=r.D$1.getDraggedElement();const n=this.config.getDropIndicator();const o=this._findClosestPosition(e);if(!o){n.targetReference=null;return}const i=this._transformTargetElement(o.element);if(!this._isValidDragTarget(t,i)){n.targetReference=null;return}const a=this._filterPlacements(o.placements,t,i);const s=this.config.useOriginalEvent?{originalEvent:true}:{};const{targetReference:l,placement:c}=d(e,this.component,{element:i,placements:a},i,s);n.targetReference=l;n.placement=c}ondrop(e){const t=this.config.getDropIndicator();if(!t?.targetReference||!t?.placement){e.preventDefault();return}const r=this.config.useOriginalEvent?{originalEvent:true}:{};h(e,this.component,t.targetReference,t.placement,r);t.targetReference=null}_validateDragOver(e){if(!(e.target instanceof HTMLElement)){return false}const t=r.D$1.getDraggedElement();const n=this.config.getDropIndicator();return!!(t&&n)}_findClosestPosition(e){const t=this.config.getItems();const r=this.config.clientCoordinate==="clientX"?e.clientX:e.clientY;return m(t,r,this.config.orientation)}_transformTargetElement(e){if(this.config.transformElement){return this.config.transformElement(e)}return e}_isValidDragTarget(e,t){if(this.config.validateDraggedElement){return this.config.validateDraggedElement(e,t)}return true}_filterPlacements(e,t,r){if(this.config.filterPlacements){return this.config.filterPlacements(e,t,r)}return e}}function w(){return o.jsx("div",{class:{"ui5-di-rect":this.placement===u.On,"ui5-di-needle":this.placement!==u.On}})}p.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>o.defaultThemeBase);p.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>i.defaultTheme,"host");var D=`:host{position:absolute;pointer-events:none;z-index:99}:host([orientation="Vertical"]) .ui5-di-needle{width:.125rem;height:100%;inset-block:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Vertical"]){margin-left:-.0625rem}:host([orientation="Horizontal"]) .ui5-di-needle{height:.125rem;width:100%;inset-inline:0;background:var(--sapContent_DragAndDropActiveColor)}:host([orientation="Horizontal"]){margin-top:-.0625rem}:host([orientation="Horizontal"][placement="Before"][first]){margin-top:.3125rem}:host([orientation="Horizontal"][placement="After"][last]){margin-top:-.3125rem}:host([orientation="Vertical"]) .ui5-di-needle:before{left:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host([orientation="Horizontal"]) .ui5-di-needle:before{top:-.1875rem;content:"";position:absolute;width:.25rem;height:.25rem;border-radius:.25rem;border:.125rem solid var(--sapContent_DragAndDropActiveColor);background-color:#fff;pointer-events:none}:host .ui5-di-rect{border:.125rem solid var(--sapContent_DragAndDropActiveColor);position:absolute;inset:0}:host .ui5-di-rect:before{content:" ";position:absolute;inset:0;background:var(--sapContent_DragAndDropActiveColor);opacity:.05}\n`;var R=this&&this.__decorate||function(e,t,r,n){var o=arguments.length,i=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)if(a=e[s])i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i;return o>3&&i&&Object.defineProperty(t,r,i),i};let I=class e extends r.S{get _positionProperty(){if(this.orientation===g.Vertical){return"left"}return"top"}constructor(){super();this.targetReference=null;this.ownerReference=null;this.placement="Before";this.orientation="Vertical"}onAfterRendering(){if(!this.targetReference||!this.ownerReference){Object.assign(this.style,{display:"none"});return}const{left:e,width:t,right:r,top:n,bottom:o,height:i}=this.targetReference.getBoundingClientRect();const{top:a,height:s}=this.ownerReference.getBoundingClientRect();const l={display:"",[this._positionProperty]:"",width:"",height:""};let c=0;let p=false;let d=false;if(this.orientation===g.Vertical){switch(this.placement){case u.Before:c=e;break;case u.On:l.width=`${t}px`;c=e;break;case u.After:c=r;break}l.height=`${i}px`}if(this.orientation===g.Horizontal){switch(this.placement){case u.Before:c=n;break;case u.On:l.height=`${i}px`;c=n;break;case u.After:c=o;break}l.width=`${t}px`;c-=a;if(c<=0){d=true}if(c>=s){p=true}}l[this._positionProperty]=`${c}px`;this.toggleAttribute("first",d);this.toggleAttribute("last",p);Object.assign(this.style,l)}};R([r.s({type:Object})],I.prototype,"targetReference",void 0);R([r.s({type:Object})],I.prototype,"ownerReference",void 0);R([r.s()],I.prototype,"placement",void 0);R([r.s()],I.prototype,"orientation",void 0);I=R([r.m({tag:"ui5-drop-indicator",renderer:o.y,styles:D,template:w})],I);I.define();var A=I;function H(){return o.jsxs("div",{part:"native-li",role:this.effectiveAccRole,tabindex:this.forcedTabIndex?parseInt(this.forcedTabIndex):undefined,class:{"ui5-ghli-root":true,...this.classes.main},"aria-label":this.ariaLabelText,"aria-roledescription":this.groupHeaderText,onFocusIn:this._onfocusin,onKeyDown:this._onkeydown,children:[o.jsx("div",{id:`${this._id}-content`,class:"ui5-li-content",children:O.call(this)}),this.hasSubItems&&o.jsx("slot",{name:"subItems"})]})}function O(){if(this.wrappingType===c.WrappingType.Normal){return this.expandableTextTemplate?.call(this,{className:"ui5-ghli-title",text:this._textContent,maxCharacters:this._maxCharacters,part:"title"})}return o.jsx("span",{part:"title",class:"ui5-ghli-title",children:o.jsx("slot",{})})}p.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>o.defaultThemeBase);p.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>i.defaultTheme,"host");var C=`.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{height:var(--_ui5_group_header_list_item_height);background:var(--ui5-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([wrapping-type="Normal"]){height:auto}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}:host([actionable]:not([disabled])){cursor:default}.ui5-li-root.ui5-ghli-root{padding-top:.5rem;color:currentColor;font-size:var(--sapFontHeader6Size);font-weight:400;line-height:2rem;margin:0}.ui5-ghli-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-family:var(--sapFontHeaderFamily)}.ui5-li-content{width:100%}\n`;var E;(function(e){e["Group"]="Group";e["ListItem"]="ListItem";e["MenuItem"]="MenuItem";e["TreeItem"]="TreeItem";e["Option"]="Option";e["None"]="None"})(E||(E={}));var B=E;var j=this&&this.__decorate||function(e,t,r,n){var o=arguments.length,i=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)if(a=e[s])i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i;return o>3&&i&&Object.defineProperty(t,r,i),i};var L;const k=100;const z=300;let P=L=class t extends s.ListItemBase{constructor(){super(...arguments);this.accessibleRole=B.ListItem;this.wrappingType="None";this.mediaRange="S"}get effectiveAccRole(){return a.n(this.accessibleRole)}get groupItem(){return true}get _pressable(){return false}get groupHeaderText(){return L.i18nBundle.getText(l.GROUP_HEADER_TEXT)}get defaultSlotText(){return this.textContent}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}get hasSubItems(){return this.subItems.length>0}onBeforeRendering(){super.onBeforeRendering();if(this.wrappingType==="Normal"){if(L.ExpandableTextTemplate){this.expandableTextTemplate=L.ExpandableTextTemplate}else{new Promise(function(t,r){e(["sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate"],t,r)}).then(e=>{this.expandableTextTemplate=e.default})}}}get _maxCharacters(){return this.mediaRange==="S"?k:z}get _textContent(){return this.defaultSlotText||this.groupHeaderText||""}};j([r.s()],P.prototype,"accessibleName",void 0);j([r.s()],P.prototype,"accessibleRole",void 0);j([r.s()],P.prototype,"wrappingType",void 0);j([r.s()],P.prototype,"mediaRange",void 0);j([r.s({noAttribute:true})],P.prototype,"expandableTextTemplate",void 0);j([r.d()],P.prototype,"subItems",void 0);j([i.i("@ui5/webcomponents")],P,"i18nBundle",void 0);P=L=j([r.m({tag:"ui5-li-group-header",languageAware:true,template:H,styles:[s.ListItemBase.styles,C]})],P);P.define();var N=P;function V(){return o.jsxs(o.Fragment,{children:[this.hasHeader&&o.jsxs(N,{wrappingType:this.wrappingType,focused:this.focused,part:"header",accessibleRole:B.ListItem,children:[this.hasFormattedHeader?o.jsx("slot",{name:"header"}):this.headerText,o.jsx("div",{role:"list",slot:"subItems","aria-owns":`${this._id}-content`,"aria-label":this.headerText})]}),o.jsxs("div",{class:"ui5-group-li-root",onDragEnter:this._ondragenter,onDragOver:this._ondragover,onDrop:this._ondrop,onDragLeave:this._ondragleave,id:`${this._id}-content`,children:[o.jsx("slot",{}),o.jsx(A,{orientation:"Horizontal",ownerReference:this})]})]})}p.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>o.defaultThemeBase);p.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>i.defaultTheme,"host");var S=`.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{height:var(--_ui5_group_header_list_item_height);background:var(--ui5-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}.ui5-group-li-root{width:100%;height:100%;position:relative;box-sizing:border-box;padding:0;margin:0;list-style-type:none}\n`;var $=this&&this.__decorate||function(e,t,r,n){var o=arguments.length,i=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)if(a=e[s])i=(o<3?a(i):o>3?a(t,r,i):a(t,r))||i;return o>3&&i&&Object.defineProperty(t,r,i),i};let G=class e extends r.S{constructor(){super();this.wrappingType="None";this.focused=false;this._dragAndDropHandler=new T(this,{getItems:()=>this.items,getDropIndicator:()=>this.dropIndicatorDOM,filterPlacements:this._filterPlacements.bind(this)})}get groupHeaderItem(){return this.shadowRoot.querySelector("[ui5-li-group-header]")}get hasHeader(){return!!this.headerText||this.hasFormattedHeader}get hasFormattedHeader(){return!!this.header.length}get isListItemGroup(){return true}get dropIndicatorDOM(){return this.shadowRoot.querySelector("[ui5-drop-indicator]")}_ondragenter(e){this._dragAndDropHandler.ondragenter(e)}_ondragleave(e){this._dragAndDropHandler.ondragleave(e)}_ondragover(e){this._dragAndDropHandler.ondragover(e)}_ondrop(e){this._dragAndDropHandler.ondrop(e)}_filterPlacements(e,t,r){if(r===t){return e.filter(e=>e!==u.On)}return e}getFocusDomRef(){return this.groupHeaderItem||this.items.at(0)}getGroupHeaderWrapping(){return c.WrappingType.None}};$([r.s()],G.prototype,"headerText",void 0);$([r.s()],G.prototype,"headerAccessibleName",void 0);$([r.d({default:true,invalidateOnChildChange:true,type:HTMLElement})],G.prototype,"items",void 0);$([r.s()],G.prototype,"wrappingType",void 0);$([r.s({type:Boolean})],G.prototype,"focused",void 0);$([r.d()],G.prototype,"header",void 0);G=$([r.m({tag:"ui5-li-group",renderer:o.y,languageAware:true,template:V,styles:[S]}),n.l("move-over",{bubbles:true,cancelable:true}),n.l("move",{bubbles:true})],G);G.define();var M=G;const F=r.r$1("isListItemGroup");t.DragAndDropHandler=T;t.DropIndicator=A;t.ListItemAccessibleRole=B;t.ListItemGroup=M;t.ListItemGroupHeader=N;t.isInstanceOfListItemGroup=F;t.k=x});
2
+ //# sourceMappingURL=ListItemGroup.js.map