@openui5/sap.ui.webc.fiori 1.111.6 → 1.112.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 (314) hide show
  1. package/package.json +4 -4
  2. package/src/sap/ui/webc/fiori/.library +1 -1
  3. package/src/sap/ui/webc/fiori/Bar.js +1 -1
  4. package/src/sap/ui/webc/fiori/BarcodeScannerDialog.js +1 -1
  5. package/src/sap/ui/webc/fiori/DynamicSideContent.js +1 -1
  6. package/src/sap/ui/webc/fiori/FilterItem.js +1 -1
  7. package/src/sap/ui/webc/fiori/FilterItemOption.js +1 -1
  8. package/src/sap/ui/webc/fiori/FlexibleColumnLayout.js +1 -1
  9. package/src/sap/ui/webc/fiori/IllustratedMessage.js +1 -1
  10. package/src/sap/ui/webc/fiori/MediaGallery.js +1 -1
  11. package/src/sap/ui/webc/fiori/MediaGalleryItem.js +1 -1
  12. package/src/sap/ui/webc/fiori/NotificationAction.js +1 -1
  13. package/src/sap/ui/webc/fiori/NotificationListGroupItem.js +1 -1
  14. package/src/sap/ui/webc/fiori/NotificationListItem.js +1 -1
  15. package/src/sap/ui/webc/fiori/Page.js +1 -1
  16. package/src/sap/ui/webc/fiori/ProductSwitch.js +1 -1
  17. package/src/sap/ui/webc/fiori/ProductSwitchItem.js +1 -1
  18. package/src/sap/ui/webc/fiori/ShellBar.js +1 -1
  19. package/src/sap/ui/webc/fiori/ShellBarItem.js +1 -1
  20. package/src/sap/ui/webc/fiori/SideNavigation.js +1 -1
  21. package/src/sap/ui/webc/fiori/SideNavigationItem.js +1 -1
  22. package/src/sap/ui/webc/fiori/SideNavigationSubItem.js +1 -1
  23. package/src/sap/ui/webc/fiori/SortItem.js +1 -1
  24. package/src/sap/ui/webc/fiori/Timeline.js +1 -1
  25. package/src/sap/ui/webc/fiori/TimelineItem.js +1 -1
  26. package/src/sap/ui/webc/fiori/UploadCollection.js +1 -1
  27. package/src/sap/ui/webc/fiori/UploadCollectionItem.js +24 -24
  28. package/src/sap/ui/webc/fiori/ViewSettingsDialog.js +1 -1
  29. package/src/sap/ui/webc/fiori/Wizard.js +1 -1
  30. package/src/sap/ui/webc/fiori/WizardStep.js +1 -1
  31. package/src/sap/ui/webc/fiori/designtime/library.designtime.js +12 -0
  32. package/src/sap/ui/webc/fiori/illustrations/AddColumn.js +6 -0
  33. package/src/sap/ui/webc/fiori/illustrations/AddPeople.js +6 -0
  34. package/src/sap/ui/webc/fiori/illustrations/BalloonSky.js +6 -0
  35. package/src/sap/ui/webc/fiori/illustrations/BeforeSearch.js +6 -0
  36. package/src/sap/ui/webc/fiori/illustrations/Connection.js +6 -0
  37. package/src/sap/ui/webc/fiori/illustrations/EmptyCalendar.js +6 -0
  38. package/src/sap/ui/webc/fiori/illustrations/EmptyList.js +6 -0
  39. package/src/sap/ui/webc/fiori/illustrations/EmptyPlanningCalendar.js +6 -0
  40. package/src/sap/ui/webc/fiori/illustrations/ErrorScreen.js +6 -0
  41. package/src/sap/ui/webc/fiori/illustrations/FilterTable.js +6 -0
  42. package/src/sap/ui/webc/fiori/illustrations/GroupTable.js +6 -0
  43. package/src/sap/ui/webc/fiori/illustrations/NoActivities.js +6 -0
  44. package/src/sap/ui/webc/fiori/illustrations/NoData.js +6 -0
  45. package/src/sap/ui/webc/fiori/illustrations/NoEntries.js +6 -0
  46. package/src/sap/ui/webc/fiori/illustrations/NoFilterResults.js +6 -0
  47. package/src/sap/ui/webc/fiori/illustrations/NoMail.js +6 -0
  48. package/src/sap/ui/webc/fiori/illustrations/NoMail_v1.js +6 -0
  49. package/src/sap/ui/webc/fiori/illustrations/NoNotifications.js +6 -0
  50. package/src/sap/ui/webc/fiori/illustrations/NoSavedItems.js +6 -0
  51. package/src/sap/ui/webc/fiori/illustrations/NoSavedItems_v1.js +6 -0
  52. package/src/sap/ui/webc/fiori/illustrations/NoSearchResults.js +6 -0
  53. package/src/sap/ui/webc/fiori/illustrations/NoTasks.js +6 -0
  54. package/src/sap/ui/webc/fiori/illustrations/NoTasks_v1.js +6 -0
  55. package/src/sap/ui/webc/fiori/illustrations/PageNotFound.js +6 -0
  56. package/src/sap/ui/webc/fiori/illustrations/ReloadScreen.js +6 -0
  57. package/src/sap/ui/webc/fiori/illustrations/ResizeColumn.js +6 -0
  58. package/src/sap/ui/webc/fiori/illustrations/SearchEarth.js +6 -0
  59. package/src/sap/ui/webc/fiori/illustrations/SearchFolder.js +6 -0
  60. package/src/sap/ui/webc/fiori/illustrations/SimpleBalloon.js +6 -0
  61. package/src/sap/ui/webc/fiori/illustrations/SimpleBell.js +6 -0
  62. package/src/sap/ui/webc/fiori/illustrations/SimpleCalendar.js +6 -0
  63. package/src/sap/ui/webc/fiori/illustrations/SimpleCheckMark.js +6 -0
  64. package/src/sap/ui/webc/fiori/illustrations/SimpleConnection.js +6 -0
  65. package/src/sap/ui/webc/fiori/illustrations/SimpleEmptyDoc.js +6 -0
  66. package/src/sap/ui/webc/fiori/illustrations/SimpleEmptyList.js +6 -0
  67. package/src/sap/ui/webc/fiori/illustrations/SimpleError.js +6 -0
  68. package/src/sap/ui/webc/fiori/illustrations/SimpleMagnifier.js +6 -0
  69. package/src/sap/ui/webc/fiori/illustrations/SimpleMail.js +6 -0
  70. package/src/sap/ui/webc/fiori/illustrations/SimpleNoSavedItems.js +6 -0
  71. package/src/sap/ui/webc/fiori/illustrations/SimpleNotFoundMagnifier.js +6 -0
  72. package/src/sap/ui/webc/fiori/illustrations/SimpleReload.js +6 -0
  73. package/src/sap/ui/webc/fiori/illustrations/SimpleTask.js +6 -0
  74. package/src/sap/ui/webc/fiori/illustrations/SleepingBell.js +6 -0
  75. package/src/sap/ui/webc/fiori/illustrations/SortColumn.js +6 -0
  76. package/src/sap/ui/webc/fiori/illustrations/SuccessBalloon.js +6 -0
  77. package/src/sap/ui/webc/fiori/illustrations/SuccessCheckMark.js +6 -0
  78. package/src/sap/ui/webc/fiori/illustrations/SuccessHighFive.js +6 -0
  79. package/src/sap/ui/webc/fiori/illustrations/SuccessScreen.js +6 -0
  80. package/src/sap/ui/webc/fiori/illustrations/Tent.js +6 -0
  81. package/src/sap/ui/webc/fiori/illustrations/UnableToLoad.js +6 -0
  82. package/src/sap/ui/webc/fiori/illustrations/UnableToLoadImage.js +6 -0
  83. package/src/sap/ui/webc/fiori/illustrations/UnableToUpload.js +6 -0
  84. package/src/sap/ui/webc/fiori/illustrations/UploadCollection.js +6 -0
  85. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartArea.js +6 -0
  86. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartArea2.js +6 -0
  87. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartBPMNFlow.js +6 -0
  88. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartBar.js +6 -0
  89. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartBullet.js +6 -0
  90. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartDoughnut.js +6 -0
  91. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartFlow.js +6 -0
  92. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartGantt.js +6 -0
  93. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartOrg.js +6 -0
  94. package/src/sap/ui/webc/fiori/illustrations/tnt/ChartPie.js +6 -0
  95. package/src/sap/ui/webc/fiori/illustrations/tnt/CodePlaceholder.js +6 -0
  96. package/src/sap/ui/webc/fiori/illustrations/tnt/Company.js +6 -0
  97. package/src/sap/ui/webc/fiori/illustrations/tnt/Components.js +6 -0
  98. package/src/sap/ui/webc/fiori/illustrations/tnt/ExternalLink.js +6 -0
  99. package/src/sap/ui/webc/fiori/illustrations/tnt/FaceID.js +6 -0
  100. package/src/sap/ui/webc/fiori/illustrations/tnt/Fingerprint.js +6 -0
  101. package/src/sap/ui/webc/fiori/illustrations/tnt/Lock.js +6 -0
  102. package/src/sap/ui/webc/fiori/illustrations/tnt/Mission.js +6 -0
  103. package/src/sap/ui/webc/fiori/illustrations/tnt/NoApplications.js +6 -0
  104. package/src/sap/ui/webc/fiori/illustrations/tnt/NoFlows.js +6 -0
  105. package/src/sap/ui/webc/fiori/illustrations/tnt/NoUsers.js +6 -0
  106. package/src/sap/ui/webc/fiori/illustrations/tnt/Radar.js +6 -0
  107. package/src/sap/ui/webc/fiori/illustrations/tnt/Secrets.js +6 -0
  108. package/src/sap/ui/webc/fiori/illustrations/tnt/Services.js +6 -0
  109. package/src/sap/ui/webc/fiori/illustrations/tnt/SessionExpired.js +6 -0
  110. package/src/sap/ui/webc/fiori/illustrations/tnt/SessionExpiring.js +6 -0
  111. package/src/sap/ui/webc/fiori/illustrations/tnt/Success.js +6 -0
  112. package/src/sap/ui/webc/fiori/illustrations/tnt/SuccessfulAuth.js +6 -0
  113. package/src/sap/ui/webc/fiori/illustrations/tnt/Systems.js +6 -0
  114. package/src/sap/ui/webc/fiori/illustrations/tnt/Teams.js +6 -0
  115. package/src/sap/ui/webc/fiori/illustrations/tnt/Tools.js +6 -0
  116. package/src/sap/ui/webc/fiori/illustrations/tnt/UnableToLoad.js +6 -0
  117. package/src/sap/ui/webc/fiori/illustrations/tnt/Unlock.js +6 -0
  118. package/src/sap/ui/webc/fiori/illustrations/tnt/UnsuccessfulAuth.js +6 -0
  119. package/src/sap/ui/webc/fiori/illustrations/tnt/User2.js +6 -0
  120. package/src/sap/ui/webc/fiori/library.config.js +6 -0
  121. package/src/sap/ui/webc/fiori/library.js +3 -3
  122. package/src/sap/ui/webc/fiori/thirdparty/Bar.js +5 -27
  123. package/src/sap/ui/webc/fiori/thirdparty/BarcodeScannerDialog.js +11 -49
  124. package/src/sap/ui/webc/fiori/thirdparty/DynamicSideContent.js +36 -93
  125. package/src/sap/ui/webc/fiori/thirdparty/FilterItem.js +5 -15
  126. package/src/sap/ui/webc/fiori/thirdparty/FilterItemOption.js +6 -15
  127. package/src/sap/ui/webc/fiori/thirdparty/FlexibleColumnLayout.js +31 -122
  128. package/src/sap/ui/webc/fiori/thirdparty/IllustratedMessage.js +9 -53
  129. package/src/sap/ui/webc/fiori/thirdparty/Interfaces.js +13 -14
  130. package/src/sap/ui/webc/fiori/thirdparty/MediaGallery.js +17 -113
  131. package/src/sap/ui/webc/fiori/thirdparty/MediaGalleryItem.js +5 -55
  132. package/src/sap/ui/webc/fiori/thirdparty/NotificationAction.js +4 -17
  133. package/src/sap/ui/webc/fiori/thirdparty/NotificationListGroupItem.js +8 -41
  134. package/src/sap/ui/webc/fiori/thirdparty/NotificationListItem.js +14 -74
  135. package/src/sap/ui/webc/fiori/thirdparty/NotificationListItemBase.js +7 -45
  136. package/src/sap/ui/webc/fiori/thirdparty/Page.js +5 -31
  137. package/src/sap/ui/webc/fiori/thirdparty/ProductSwitch.js +3 -34
  138. package/src/sap/ui/webc/fiori/thirdparty/ProductSwitchItem.js +4 -39
  139. package/src/sap/ui/webc/fiori/thirdparty/ShellBar.js +24 -168
  140. package/src/sap/ui/webc/fiori/thirdparty/ShellBarItem.js +3 -15
  141. package/src/sap/ui/webc/fiori/thirdparty/SideNavigation.js +4 -45
  142. package/src/sap/ui/webc/fiori/thirdparty/SideNavigationItem.js +4 -20
  143. package/src/sap/ui/webc/fiori/thirdparty/SideNavigationSubItem.js +3 -15
  144. package/src/sap/ui/webc/fiori/thirdparty/SortItem.js +6 -15
  145. package/src/sap/ui/webc/fiori/thirdparty/Timeline.js +5 -31
  146. package/src/sap/ui/webc/fiori/thirdparty/TimelineItem.js +6 -28
  147. package/src/sap/ui/webc/fiori/thirdparty/UploadCollection.js +5 -55
  148. package/src/sap/ui/webc/fiori/thirdparty/UploadCollectionItem.js +15 -83
  149. package/src/sap/ui/webc/fiori/thirdparty/ViewSettingsDialog.js +32 -129
  150. package/src/sap/ui/webc/fiori/thirdparty/Wizard.js +77 -180
  151. package/src/sap/ui/webc/fiori/thirdparty/WizardStep.js +4 -19
  152. package/src/sap/ui/webc/fiori/thirdparty/WizardTab.js +4 -34
  153. package/src/sap/ui/webc/fiori/thirdparty/fcl-utils/FCLLayout.js +0 -6
  154. package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/Themes.js +0 -16
  155. package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/i18n.js +0 -52
  156. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarTemplate.lit.js +1 -2
  157. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarcodeScannerDialogTemplate.lit.js +1 -2
  158. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/DynamicSideContentTemplate.lit.js +1 -2
  159. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FlexibleColumnLayoutTemplate.lit.js +1 -2
  160. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/IllustratedMessageTemplate.lit.js +1 -8
  161. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryItemTemplate.lit.js +1 -5
  162. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryTemplate.lit.js +1 -8
  163. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListGroupItemTemplate.lit.js +1 -10
  164. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListItemTemplate.lit.js +1 -11
  165. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js +1 -3
  166. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/PageTemplate.lit.js +1 -2
  167. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchItemTemplate.lit.js +1 -10
  168. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchTemplate.lit.js +1 -2
  169. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarPopoverTemplate.lit.js +1 -4
  170. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarTemplate.lit.js +1 -25
  171. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +1 -3
  172. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationTemplate.lit.js +1 -11
  173. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineItemTemplate.lit.js +1 -8
  174. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineTemplate.lit.js +1 -3
  175. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionItemTemplate.lit.js +1 -16
  176. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionTemplate.lit.js +1 -4
  177. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ViewSettingsDialogTemplate.lit.js +1 -17
  178. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardPopoverTemplate.lit.js +1 -3
  179. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTabTemplate.lit.js +1 -6
  180. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTemplate.lit.js +1 -4
  181. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Bar.css.js +0 -2
  182. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/BarcodeScannerDialog.css.js +0 -2
  183. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/DynamicSideContent.css.js +0 -2
  184. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/FlexibleColumnLayout.css.js +0 -2
  185. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/IllustratedMessage.css.js +0 -2
  186. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/InvisibleTextStyles.css.js +0 -2
  187. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGallery.css.js +0 -2
  188. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGalleryItem.css.js +0 -2
  189. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListGroupItem.css.js +0 -2
  190. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItem.css.js +0 -2
  191. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItemBase.css.js +0 -2
  192. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationOverflowActionsPopover.css.js +0 -2
  193. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationPrioIcon.css.js +0 -2
  194. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Page.css.js +0 -2
  195. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitch.css.js +0 -2
  196. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitchItem.css.js +0 -2
  197. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBar.css.js +0 -2
  198. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBarPopover.css.js +0 -2
  199. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigation.css.js +0 -2
  200. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigationPopover.css.js +0 -2
  201. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Timeline.css.js +0 -2
  202. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/TimelineItem.css.js +0 -2
  203. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollection.css.js +0 -2
  204. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollectionItem.css.js +0 -2
  205. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ViewSettingsDialog.css.js +0 -2
  206. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Wizard.css.js +0 -2
  207. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardPopover.css.js +0 -2
  208. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardTab.css.js +0 -2
  209. package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddColumn.js +0 -2
  210. package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddPeople.js +0 -2
  211. package/src/sap/ui/webc/fiori/thirdparty/illustrations/BalloonSky.js +0 -2
  212. package/src/sap/ui/webc/fiori/thirdparty/illustrations/BeforeSearch.js +0 -2
  213. package/src/sap/ui/webc/fiori/thirdparty/illustrations/Connection.js +0 -2
  214. package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyCalendar.js +0 -2
  215. package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyList.js +0 -2
  216. package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyPlanningCalendar.js +0 -2
  217. package/src/sap/ui/webc/fiori/thirdparty/illustrations/ErrorScreen.js +0 -2
  218. package/src/sap/ui/webc/fiori/thirdparty/illustrations/FilterTable.js +0 -2
  219. package/src/sap/ui/webc/fiori/thirdparty/illustrations/GroupTable.js +0 -2
  220. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoActivities.js +0 -2
  221. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoData.js +0 -2
  222. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoEntries.js +0 -2
  223. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoFilterResults.js +0 -2
  224. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail.js +0 -2
  225. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail_v1.js +0 -2
  226. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoNotifications.js +0 -2
  227. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems.js +0 -2
  228. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems_v1.js +0 -2
  229. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSearchResults.js +0 -2
  230. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks.js +0 -2
  231. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks_v1.js +0 -2
  232. package/src/sap/ui/webc/fiori/thirdparty/illustrations/PageNotFound.js +0 -2
  233. package/src/sap/ui/webc/fiori/thirdparty/illustrations/ReloadScreen.js +0 -2
  234. package/src/sap/ui/webc/fiori/thirdparty/illustrations/ResizeColumn.js +0 -2
  235. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchEarth.js +0 -2
  236. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchFolder.js +0 -2
  237. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBalloon.js +0 -2
  238. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBell.js +0 -2
  239. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCalendar.js +0 -2
  240. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCheckMark.js +0 -2
  241. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleConnection.js +0 -2
  242. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyDoc.js +0 -2
  243. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyList.js +0 -2
  244. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleError.js +0 -2
  245. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMagnifier.js +0 -2
  246. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMail.js +0 -2
  247. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNoSavedItems.js +0 -2
  248. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNotFoundMagnifier.js +0 -2
  249. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleReload.js +0 -2
  250. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleTask.js +0 -2
  251. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SleepingBell.js +0 -2
  252. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SortColumn.js +0 -2
  253. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessBalloon.js +0 -2
  254. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessCheckMark.js +0 -2
  255. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessHighFive.js +0 -2
  256. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessScreen.js +0 -2
  257. package/src/sap/ui/webc/fiori/thirdparty/illustrations/Tent.js +0 -2
  258. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoad.js +0 -2
  259. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoadImage.js +0 -2
  260. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToUpload.js +0 -2
  261. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UploadCollection.js +0 -2
  262. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartArea.js +0 -2
  263. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartArea2.js +0 -2
  264. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBPMNFlow.js +0 -2
  265. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBar.js +0 -2
  266. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBullet.js +0 -2
  267. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartDoughnut.js +0 -2
  268. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartFlow.js +0 -2
  269. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartGantt.js +0 -2
  270. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartOrg.js +0 -2
  271. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartPie.js +0 -2
  272. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/CodePlaceholder.js +0 -2
  273. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Company.js +0 -2
  274. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Components.js +0 -2
  275. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ExternalLink.js +0 -2
  276. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/FaceID.js +0 -2
  277. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Fingerprint.js +0 -2
  278. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Lock.js +0 -2
  279. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Mission.js +0 -2
  280. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoApplications.js +0 -2
  281. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoFlows.js +0 -2
  282. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoUsers.js +0 -2
  283. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Radar.js +0 -2
  284. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Secrets.js +0 -2
  285. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Services.js +0 -2
  286. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpired.js +0 -2
  287. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpiring.js +0 -2
  288. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Success.js +0 -2
  289. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SuccessfulAuth.js +0 -2
  290. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Systems.js +0 -2
  291. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Teams.js +0 -2
  292. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Tools.js +0 -2
  293. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/UnableToLoad.js +0 -2
  294. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Unlock.js +0 -2
  295. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/UnsuccessfulAuth.js +0 -2
  296. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/User2.js +0 -2
  297. package/src/sap/ui/webc/fiori/thirdparty/types/BarDesign.js +1 -8
  298. package/src/sap/ui/webc/fiori/thirdparty/types/FCLLayout.js +1 -13
  299. package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageSize.js +1 -9
  300. package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageType.js +1 -92
  301. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryItemLayout.js +1 -6
  302. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryLayout.js +1 -7
  303. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuHorizontalAlign.js +1 -6
  304. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuVerticalAlign.js +1 -6
  305. package/src/sap/ui/webc/fiori/thirdparty/types/PageBackgroundDesign.js +1 -7
  306. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentFallDown.js +1 -8
  307. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentPosition.js +1 -6
  308. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentVisibility.js +1 -9
  309. package/src/sap/ui/webc/fiori/thirdparty/types/TimelineLayout.js +1 -6
  310. package/src/sap/ui/webc/fiori/thirdparty/types/UploadCollectionDnDMode.js +1 -7
  311. package/src/sap/ui/webc/fiori/thirdparty/types/UploadState.js +1 -8
  312. package/src/sap/ui/webc/fiori/thirdparty/types/ViewSettingsDialogMode.js +1 -6
  313. package/src/sap/ui/webc/fiori/thirdparty/upload-utils/UploadCollectionBodyDnD.js +1 -16
  314. package/ui5.yaml +1 -1
@@ -18,24 +18,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
18
18
  _ShellBarPopoverTemplate = _interopRequireDefault(_ShellBarPopoverTemplate);
19
19
  _ShellBar = _interopRequireDefault(_ShellBar);
20
20
  _ShellBarPopover = _interopRequireDefault(_ShellBarPopover);
21
-
22
21
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
-
24
22
  // Templates
23
+
25
24
  // Styles
25
+
26
26
  const HANDLE_RESIZE_DEBOUNCE_RATE = 200; // ms
27
27
 
28
28
  /**
29
29
  * @public
30
30
  */
31
-
32
31
  const metadata = {
33
32
  tag: "ui5-shellbar",
34
33
  languageAware: true,
35
34
  fastNavigation: true,
36
- properties:
37
- /** @lends sap.ui.webcomponents.fiori.ShellBar.prototype */
38
- {
35
+ properties: /** @lends sap.ui.webcomponents.fiori.ShellBar.prototype */{
39
36
  /**
40
37
  * Defines the <code>primaryTitle</code>.
41
38
  * <br><br>
@@ -47,7 +44,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
47
44
  primaryTitle: {
48
45
  type: String
49
46
  },
50
-
51
47
  /**
52
48
  * Defines the <code>secondaryTitle</code>.
53
49
  * <br><br>
@@ -59,7 +55,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
59
55
  secondaryTitle: {
60
56
  type: String
61
57
  },
62
-
63
58
  /**
64
59
  * Defines the <code>notificationsCount</code>,
65
60
  * displayed in the notification icon top-right corner.
@@ -70,7 +65,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
70
65
  notificationsCount: {
71
66
  type: String
72
67
  },
73
-
74
68
  /**
75
69
  * Defines, if the notification icon would be displayed.
76
70
  * @type {boolean}
@@ -80,7 +74,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
80
74
  showNotifications: {
81
75
  type: Boolean
82
76
  },
83
-
84
77
  /**
85
78
  * Defines, if the product switch icon would be displayed.
86
79
  * @type {boolean}
@@ -90,7 +83,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
90
83
  showProductSwitch: {
91
84
  type: Boolean
92
85
  },
93
-
94
86
  /**
95
87
  * Defines, if the product CoPilot icon would be displayed.
96
88
  * <br><b>Note:</b> By default the co-pilot is displayed as static SVG.
@@ -102,7 +94,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
102
94
  showCoPilot: {
103
95
  type: Boolean
104
96
  },
105
-
106
97
  /**
107
98
  * An object of strings that defines several additional accessibility texts
108
99
  * for even further customization.
@@ -118,28 +109,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
118
109
  accessibilityTexts: {
119
110
  type: Object
120
111
  },
121
-
122
112
  /**
123
113
  * @private
124
114
  */
125
115
  breakpointSize: {
126
116
  type: String
127
117
  },
128
-
129
118
  /**
130
119
  * @private
131
120
  */
132
121
  showSearchField: {
133
122
  type: Boolean
134
123
  },
135
-
136
124
  /**
137
125
  * @private
138
126
  */
139
127
  coPilotActive: {
140
128
  type: Boolean
141
129
  },
142
-
143
130
  /**
144
131
  * @private
145
132
  */
@@ -170,9 +157,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
170
157
  }
171
158
  },
172
159
  managedSlots: true,
173
- slots:
174
- /** @lends sap.ui.webcomponents.fiori.ShellBar.prototype */
175
- {
160
+ slots: /** @lends sap.ui.webcomponents.fiori.ShellBar.prototype */{
176
161
  /**
177
162
  * Defines the <code>ui5-shellbar</code> aditional items.
178
163
  * <br><br>
@@ -188,7 +173,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
188
173
  type: HTMLElement,
189
174
  invalidateOnChildChange: true
190
175
  },
191
-
192
176
  /**
193
177
  * You can pass <code>ui5-avatar</code> to set the profile image/icon.
194
178
  * If no profile slot is set - profile will be excluded from actions.
@@ -203,7 +187,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
203
187
  profile: {
204
188
  type: HTMLElement
205
189
  },
206
-
207
190
  /**
208
191
  * Defines the logo of the <code>ui5-shellbar</code>.
209
192
  * For example, you can use <code>ui5-avatar</code> or <code>img</code> elements as logo.
@@ -215,7 +198,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
215
198
  logo: {
216
199
  type: HTMLElement
217
200
  },
218
-
219
201
  /**
220
202
  * Defines the items displayed in menu after a click on the primary title.
221
203
  * <br><br>
@@ -230,7 +212,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
230
212
  menuItems: {
231
213
  type: HTMLElement
232
214
  },
233
-
234
215
  /**
235
216
  * Defines the <code>ui5-input</code>, that will be used as a search field.
236
217
  *
@@ -241,7 +222,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
241
222
  searchField: {
242
223
  type: HTMLElement
243
224
  },
244
-
245
225
  /**
246
226
  * Defines a <code>ui5-button</code> in the bar that will be placed in the beginning.
247
227
  * We encourage this slot to be used for a back or home button.
@@ -255,9 +235,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
255
235
  type: HTMLElement
256
236
  }
257
237
  },
258
- events:
259
- /** @lends sap.ui.webcomponents.fiori.ShellBar.prototype */
260
- {
238
+ events: /** @lends sap.ui.webcomponents.fiori.ShellBar.prototype */{
261
239
  /**
262
240
  *
263
241
  * Fired, when the notification icon is activated.
@@ -275,7 +253,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
275
253
  }
276
254
  }
277
255
  },
278
-
279
256
  /**
280
257
  * Fired, when the profile slot is present.
281
258
  *
@@ -290,7 +267,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
290
267
  }
291
268
  }
292
269
  },
293
-
294
270
  /**
295
271
  * Fired, when the product switch icon is activated.
296
272
  * <b>Note:</b> You can prevent closing of overflow popover by calling <code>event.preventDefault()</code>.
@@ -307,7 +283,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
307
283
  }
308
284
  }
309
285
  },
310
-
311
286
  /**
312
287
  * Fired, when the logo is activated.
313
288
  *
@@ -323,7 +298,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
323
298
  }
324
299
  }
325
300
  },
326
-
327
301
  /**
328
302
  * Fired, when the co pilot is activated.
329
303
  *
@@ -339,7 +313,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
339
313
  }
340
314
  }
341
315
  },
342
-
343
316
  /**
344
317
  * Fired, when a menu item is activated
345
318
  * <b>Note:</b> You can prevent closing of overflow popover by calling <code>event.preventDefault()</code>.
@@ -358,6 +331,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
358
331
  }
359
332
  }
360
333
  };
334
+
361
335
  /**
362
336
  * @class
363
337
  * <h3 class="comment-api-title">Overview</h3>
@@ -407,36 +381,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
407
381
  * @public
408
382
  * @since 0.8.0
409
383
  */
410
-
411
384
  class ShellBar extends _UI5Element.default {
412
385
  static get metadata() {
413
386
  return metadata;
414
387
  }
415
-
416
388
  static get render() {
417
389
  return _LitRenderer.default;
418
390
  }
419
-
420
391
  static get template() {
421
392
  return _ShellBarTemplate.default;
422
393
  }
423
-
424
394
  static get staticAreaTemplate() {
425
395
  return _ShellBarPopoverTemplate.default;
426
396
  }
427
-
428
397
  static get styles() {
429
398
  return _ShellBar.default;
430
399
  }
431
-
432
400
  static get staticAreaStyles() {
433
401
  return [_ShellBarPopover.default];
434
402
  }
435
-
436
403
  static get FIORI_3_BREAKPOINTS() {
437
404
  return [599, 1023, 1439, 1919, 10000];
438
405
  }
439
-
440
406
  static get FIORI_3_BREAKPOINTS_MAP() {
441
407
  return {
442
408
  "599": "S",
@@ -446,13 +412,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
446
412
  "10000": "XXL"
447
413
  };
448
414
  }
449
-
450
415
  constructor() {
451
416
  super();
452
417
  this._itemsInfo = [];
453
418
  this._isInitialRendering = true;
454
- this._focusedItem = null; // marks if preventDefault() is called in item's press handler
419
+ this._focusedItem = null;
455
420
 
421
+ // marks if preventDefault() is called in item's press handler
456
422
  this._defaultItemPressPrevented = false;
457
423
  this.menuItemsObserver = new MutationObserver(() => {
458
424
  this._updateClonedMenuItems();
@@ -460,24 +426,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
460
426
  this._header = {
461
427
  press: async () => {
462
428
  this._updateClonedMenuItems();
463
-
464
429
  if (this.hasMenuItems) {
465
430
  const menuPopover = await this._getMenuPopover();
466
431
  menuPopover.showAt(this.shadowRoot.querySelector(".ui5-shellbar-menu-button"));
467
432
  }
468
433
  }
469
434
  };
470
-
471
435
  this._handleResize = async event => {
472
436
  this._debounce(async () => {
473
437
  await this._getResponsivePopover();
474
438
  this.overflowPopover.close();
475
-
476
439
  this._overflowActions();
477
440
  }, HANDLE_RESIZE_DEBOUNCE_RATE);
478
441
  };
479
442
  }
480
-
481
443
  _debounce(fn, delay) {
482
444
  clearTimeout(this._debounceInterval);
483
445
  this._debounceInterval = setTimeout(() => {
@@ -485,88 +447,70 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
485
447
  fn();
486
448
  }, delay);
487
449
  }
488
-
489
450
  _menuItemPress(event) {
490
451
  this.menuPopover.close();
491
452
  this.fireEvent("menu-item-click", {
492
453
  item: event.detail.selectedItems[0]
493
454
  }, true);
494
455
  }
495
-
496
456
  _logoPress() {
497
457
  this.fireEvent("logo-click", {
498
458
  targetRef: this.shadowRoot.querySelector(".ui5-shellbar-logo")
499
459
  });
500
460
  }
501
-
502
461
  _menuPopoverBeforeOpen() {
503
462
  this._menuPopoverExpanded = true;
504
463
  }
505
-
506
464
  _menuPopoverAfterClose() {
507
465
  this._menuPopoverExpanded = false;
508
466
  }
509
-
510
467
  _overflowPopoverBeforeOpen() {
511
468
  this._overflowPopoverExpanded = true;
512
469
  }
513
-
514
470
  _overflowPopoverAfterClose() {
515
471
  this._overflowPopoverExpanded = false;
516
472
  }
517
-
518
473
  _logoKeyup(event) {
519
474
  if ((0, _Keys.isSpace)(event)) {
520
475
  this._logoPress();
521
476
  }
522
477
  }
523
-
524
478
  _logoKeydown(event) {
525
479
  if ((0, _Keys.isSpace)(event)) {
526
480
  event.preventDefault();
527
481
  return;
528
482
  }
529
-
530
483
  if ((0, _Keys.isEnter)(event)) {
531
484
  this._logoPress();
532
485
  }
533
486
  }
534
-
535
487
  _fireCoPilotClick() {
536
488
  this.fireEvent("co-pilot-click", {
537
489
  targetRef: this.shadowRoot.querySelector(".ui5-shellbar-coPilot")
538
490
  });
539
491
  }
540
-
541
492
  _coPilotClick() {
542
493
  this._fireCoPilotClick();
543
494
  }
544
-
545
495
  _coPilotKeydown(event) {
546
496
  if ((0, _Keys.isSpace)(event)) {
547
497
  this.coPilotActive = true;
548
498
  event.preventDefault();
549
499
  return;
550
500
  }
551
-
552
501
  if ((0, _Keys.isEnter)(event)) {
553
502
  this.coPilotActive = true;
554
-
555
503
  this._fireCoPilotClick();
556
504
  }
557
505
  }
558
-
559
506
  _coPilotKeyup(event) {
560
507
  if ((0, _Keys.isSpace)(event)) {
561
508
  this._fireCoPilotClick();
562
509
  }
563
-
564
510
  this.coPilotActive = false;
565
511
  }
566
-
567
512
  onBeforeRendering() {
568
513
  const animationsOn = (0, _AnimationMode2.getAnimationMode)() === _AnimationMode.default.Full;
569
-
570
514
  const coPilotAnimation = (0, _FeaturesRegistry.getFeature)("CoPilotAnimation");
571
515
  this.coPilot = coPilotAnimation && animationsOn ? coPilotAnimation : {
572
516
  animated: false
@@ -580,94 +524,75 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
580
524
  const shouldStayOnScreen = isOverflowIcon || isImageIcon && this.hasProfile;
581
525
  return isHidden && isSet && !shouldStayOnScreen;
582
526
  });
583
-
584
527
  this._observeMenuItems();
585
528
  }
586
-
587
529
  onAfterRendering() {
588
530
  this._overflowActions();
589
-
590
531
  this._fullWidthSearch = this._showFullWidthSearch;
591
532
  }
533
+
592
534
  /**
593
535
  * Closes the overflow area.
594
536
  * Useful to manually close the overflow after having suppressed automatic closing with preventDefault() of ShellbarItem's press event
595
537
  * @public
596
538
  */
597
-
598
-
599
539
  closeOverflow() {
600
540
  if (this.overflowPopover) {
601
541
  this.overflowPopover.close();
602
542
  }
603
543
  }
604
-
605
544
  _handleBarBreakpoints() {
606
545
  const width = this.getBoundingClientRect().width;
607
546
  const breakpoints = ShellBar.FIORI_3_BREAKPOINTS;
608
547
  const size = breakpoints.find(bp1 => width < bp1) || ShellBar.FIORI_3_BREAKPOINTS[ShellBar.FIORI_3_BREAKPOINTS.length - 1];
609
548
  const mappedSize = ShellBar.FIORI_3_BREAKPOINTS_MAP[size];
610
-
611
549
  if (this.breakpointSize !== mappedSize) {
612
550
  this.breakpointSize = mappedSize;
613
551
  }
614
-
615
552
  return mappedSize;
616
553
  }
617
-
618
554
  _handleSizeS() {
619
555
  const hasIcons = this.showNotifications || this.showProductSwitch || this.searchField.length || this.items.length;
620
-
621
556
  const newItems = this._getAllItems(hasIcons).map(info => {
622
557
  const isOverflowIcon = info.classes.indexOf("ui5-shellbar-overflow-button") !== -1;
623
558
  const isImageIcon = info.classes.indexOf("ui5-shellbar-image-button") !== -1;
624
559
  const shouldStayOnScreen = isOverflowIcon || isImageIcon && this.hasProfile;
625
- return { ...info,
560
+ return {
561
+ ...info,
626
562
  classes: `${info.classes} ${shouldStayOnScreen ? "" : "ui5-shellbar-hidden-button"} ui5-shellbar-button`,
627
563
  styles: {
628
564
  order: shouldStayOnScreen ? 1 : -1
629
565
  }
630
566
  };
631
567
  });
632
-
633
568
  this._updateItemsInfo(newItems);
634
569
  }
635
-
636
570
  _handleActionsOverflow() {
637
571
  const rightContainerRect = this.shadowRoot.querySelector(".ui5-shellbar-overflow-container-right").getBoundingClientRect();
638
572
  let overflowSelector = ".ui5-shellbar-button:not(.ui5-shellbar-overflow-button):not(.ui5-shellbar-invisible-button)";
639
-
640
573
  if (this.showSearchField) {
641
574
  overflowSelector += ",.ui5-shellbar-search-field";
642
575
  }
643
-
644
576
  const elementsToOverflow = this.shadowRoot.querySelectorAll(overflowSelector);
645
577
  const isRTL = this.effectiveDir === "rtl";
646
578
  let overflowCount = [].filter.call(elementsToOverflow, icon => {
647
579
  const iconRect = icon.getBoundingClientRect();
648
-
649
580
  if (isRTL) {
650
581
  return iconRect.left + iconRect.width > rightContainerRect.left + rightContainerRect.width;
651
582
  }
652
-
653
583
  return iconRect.left < rightContainerRect.left;
654
584
  });
655
585
  overflowCount = overflowCount.length;
656
-
657
586
  const items = this._getAllItems(!!overflowCount).filter(item => item.show);
658
-
659
587
  const itemsByPriority = items.sort((item1, item2) => {
660
588
  if (item1.priority > item2.priority) {
661
589
  return 1;
662
590
  }
663
-
664
591
  if (item1.priority < item2.priority) {
665
592
  return -1;
666
593
  }
667
-
668
594
  return 0;
669
595
  });
670
-
671
596
  for (let i = 0; i < itemsByPriority.length; i++) {
672
597
  if (i < overflowCount) {
673
598
  itemsByPriority[i].classes = `${itemsByPriority[i].classes} ui5-shellbar-hidden-button`;
@@ -676,76 +601,60 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
676
601
  };
677
602
  }
678
603
  }
679
-
680
604
  return itemsByPriority;
681
605
  }
682
-
683
606
  _overflowActions() {
684
607
  const size = this._handleBarBreakpoints();
685
-
686
608
  if (size === "S") {
687
609
  return this._handleSizeS();
688
610
  }
689
-
690
611
  const newItems = this._handleActionsOverflow();
691
-
692
612
  this._updateItemsInfo(newItems);
693
613
  }
694
-
695
614
  async _toggleActionPopover() {
696
615
  const overflowButton = this.shadowRoot.querySelector(".ui5-shellbar-overflow-button");
697
616
  const overflowPopover = await this._getOverflowPopover();
698
617
  overflowPopover.showAt(overflowButton);
699
618
  }
700
-
701
619
  onEnterDOM() {
702
620
  _ResizeHandler.default.register(this, this._handleResize);
703
621
  }
704
-
705
622
  onExitDOM() {
706
623
  this.menuItemsObserver.disconnect();
707
-
708
624
  _ResizeHandler.default.deregister(this, this._handleResize);
709
-
710
625
  clearTimeout(this._debounceInterval);
711
626
  this._debounceInterval = null;
712
627
  }
713
-
714
628
  _handleSearchIconPress(event) {
715
629
  this.showSearchField = !this.showSearchField;
716
-
717
630
  if (!this.showSearchField) {
718
631
  return;
719
632
  }
633
+ const input = this.searchField[0];
720
634
 
721
- const input = this.searchField[0]; // update the state immediately
722
-
635
+ // update the state immediately
723
636
  if (input) {
724
637
  input.focused = true;
725
- } // move the focus later
726
-
638
+ }
727
639
 
640
+ // move the focus later
728
641
  setTimeout(() => {
729
642
  if (input) {
730
643
  input.focus();
731
644
  }
732
645
  }, 100);
733
646
  }
734
-
735
647
  async _handleActionListClick(event) {
736
648
  if (!this._defaultItemPressPrevented) {
737
- this.closeOverflow(); // wait for DOM to be updated when ui5-popover is closed, otherwise if Enter key is hold
649
+ this.closeOverflow();
650
+ // wait for DOM to be updated when ui5-popover is closed, otherwise if Enter key is hold
738
651
  // there will be no visual indication that this has happened
739
-
740
652
  await (0, _Render.renderFinished)();
741
653
  }
742
-
743
654
  this._defaultItemPressPrevented = false;
744
655
  }
745
-
746
656
  _handleCustomActionPress(event) {
747
657
  const refItemId = event.target.getAttribute("data-ui5-external-action-item-id");
748
-
749
658
  if (refItemId) {
750
659
  const shellbarItem = this.items.find(item => {
751
660
  return item._id === refItemId;
@@ -756,34 +665,30 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
756
665
  this._defaultItemPressPrevented = prevented;
757
666
  }
758
667
  }
759
-
760
668
  _handleOverflowPress(event) {
761
669
  this._toggleActionPopover();
762
670
  }
763
-
764
671
  _handleNotificationsPress(event) {
765
672
  const notificationIconRef = this.shadowRoot.querySelector(".ui5-shellbar-bell-button");
766
673
  this._defaultItemPressPrevented = !this.fireEvent("notifications-click", {
767
674
  targetRef: notificationIconRef.classList.contains("ui5-shellbar-hidden-button") ? event.target : notificationIconRef
768
675
  }, true);
769
676
  }
770
-
771
677
  _handleProfilePress(event) {
772
678
  this.fireEvent("profile-click", {
773
679
  targetRef: this.shadowRoot.querySelector(".ui5-shellbar-image-button")
774
680
  });
775
681
  }
776
-
777
682
  _handleCancelButtonPress() {
778
683
  this.showSearchField = false;
779
684
  }
780
-
781
685
  _handleProductSwitchPress(event) {
782
686
  const buttonRef = this.shadowRoot.querySelector(".ui5-shellbar-button-product-switch");
783
687
  this._defaultItemPressPrevented = !this.fireEvent("product-switch-click", {
784
688
  targetRef: buttonRef.classList.contains("ui5-shellbar-hidden-button") ? event.target : buttonRef
785
689
  }, true);
786
690
  }
691
+
787
692
  /**
788
693
  * Returns the <code>logo</code> DOM ref.
789
694
  * @type { HTMLElement }
@@ -791,11 +696,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
791
696
  * @readonly
792
697
  * @since 1.0.0-rc.16
793
698
  */
794
-
795
-
796
699
  get logoDomRef() {
797
700
  return this.shadowRoot.querySelector(`*[data-ui5-stable="logo"]`);
798
701
  }
702
+
799
703
  /**
800
704
  * Returns the <code>copilot</code> DOM ref.
801
705
  * @type { HTMLElement }
@@ -803,11 +707,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
803
707
  * @readonly
804
708
  * @since 1.0.0-rc.16
805
709
  */
806
-
807
-
808
710
  get copilotDomRef() {
809
711
  return this.shadowRoot.querySelector(`*[data-ui5-stable="copilot"]`);
810
712
  }
713
+
811
714
  /**
812
715
  * Returns the <code>notifications</code> icon DOM ref.
813
716
  * @type { HTMLElement }
@@ -815,11 +718,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
815
718
  * @readonly
816
719
  * @since 1.0.0-rc.16
817
720
  */
818
-
819
-
820
721
  get notificationsDomRef() {
821
722
  return this.shadowRoot.querySelector(`*[data-ui5-stable="notifications"]`);
822
723
  }
724
+
823
725
  /**
824
726
  * Returns the <code>overflow</code> icon DOM ref.
825
727
  * @type { HTMLElement }
@@ -827,11 +729,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
827
729
  * @readonly
828
730
  * @since 1.0.0-rc.16
829
731
  */
830
-
831
-
832
732
  get overflowDomRef() {
833
733
  return this.shadowRoot.querySelector(`*[data-ui5-stable="overflow"]`);
834
734
  }
735
+
835
736
  /**
836
737
  * Returns the <code>profile</code> icon DOM ref.
837
738
  * @type { HTMLElement }
@@ -839,11 +740,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
839
740
  * @readonly
840
741
  * @since 1.0.0-rc.16
841
742
  */
842
-
843
-
844
743
  get profileDomRef() {
845
744
  return this.shadowRoot.querySelector(`*[data-ui5-stable="profile"]`);
846
745
  }
746
+
847
747
  /**
848
748
  * Returns the <code>product-switch</code> icon DOM ref.
849
749
  * @type { HTMLElement }
@@ -851,17 +751,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
851
751
  * @readonly
852
752
  * @since 1.0.0-rc.16
853
753
  */
854
-
855
-
856
754
  get productSwitchDomRef() {
857
755
  return this.shadowRoot.querySelector(`*[data-ui5-stable="product-switch"]`);
858
756
  }
757
+
859
758
  /**
860
759
  * Returns all items that will be placed in the right of the bar as icons / dom elements.
861
760
  * @param {boolean} showOverflowButton Determines if overflow button should be visible (not overflowing)
862
761
  */
863
-
864
-
865
762
  _getAllItems(showOverflowButton) {
866
763
  let domOrder = -1;
867
764
  const items = [{
@@ -878,7 +775,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
878
775
  show: !!this.searchField.length
879
776
  }, ...this.items.map((item, index) => {
880
777
  item._getRealDomRef = () => this.getDomRef().querySelector(`*[data-ui5-stable=${item.stableDomRef}]`);
881
-
882
778
  return {
883
779
  icon: item.icon,
884
780
  id: item._id,
@@ -949,15 +845,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
949
845
  }];
950
846
  return items;
951
847
  }
952
-
953
848
  _updateItemsInfo(newItems) {
954
849
  const isDifferent = JSON.stringify(this._itemsInfo) !== JSON.stringify(newItems);
955
-
956
850
  if (isDifferent) {
957
851
  this._itemsInfo = newItems;
958
852
  }
959
853
  }
960
-
961
854
  _updateClonedMenuItems() {
962
855
  this._menuPopoverItems = [];
963
856
  this.menuItems.forEach(item => {
@@ -965,11 +858,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
965
858
  // otherwise would not be slotted in the internal ui5-li
966
859
  const clonedItem = item.cloneNode(true);
967
860
  clonedItem.removeAttribute("slot");
968
-
969
861
  this._menuPopoverItems.push(clonedItem);
970
862
  });
971
863
  }
972
-
973
864
  _observeMenuItems() {
974
865
  this.menuItems.forEach(item => {
975
866
  this.menuItemsObserver.observe(item, {
@@ -980,33 +871,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
980
871
  });
981
872
  });
982
873
  }
983
-
984
874
  async _getResponsivePopover() {
985
875
  const staticAreaItem = await this.getStaticAreaItemDomRef();
986
876
  this.overflowPopover = staticAreaItem.querySelector(".ui5-shellbar-overflow-popover");
987
877
  this.menuPopover = staticAreaItem.querySelector(".ui5-shellbar-menu-popover");
988
878
  }
989
-
990
879
  async _getOverflowPopover() {
991
880
  const staticAreaItem = await this.getStaticAreaItemDomRef();
992
881
  return staticAreaItem.querySelector(".ui5-shellbar-overflow-popover");
993
882
  }
994
-
995
883
  async _getMenuPopover() {
996
884
  const staticAreaItem = await this.getStaticAreaItemDomRef();
997
885
  return staticAreaItem.querySelector(".ui5-shellbar-menu-popover");
998
886
  }
999
-
1000
887
  isIconHidden(name) {
1001
888
  const itemInfo = this._itemsInfo.find(item => item.icon === name);
1002
-
1003
889
  if (!itemInfo) {
1004
890
  return false;
1005
891
  }
1006
-
1007
892
  return itemInfo.classes.indexOf("ui5-shellbar-hidden-button") !== -1;
1008
893
  }
1009
-
1010
894
  get classes() {
1011
895
  return {
1012
896
  wrapper: {
@@ -1033,7 +917,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1033
917
  }
1034
918
  };
1035
919
  }
1036
-
1037
920
  get styles() {
1038
921
  return {
1039
922
  items: {
@@ -1055,94 +938,71 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1055
938
  }
1056
939
  };
1057
940
  }
1058
-
1059
941
  get correctSearchFieldStyles() {
1060
942
  if (this.showSearchField) {
1061
943
  return "flex";
1062
944
  }
1063
-
1064
945
  return "none";
1065
946
  }
1066
-
1067
947
  get customItemsInfo() {
1068
948
  return this._itemsInfo.filter(itemInfo => !!itemInfo.custom);
1069
949
  }
1070
-
1071
950
  get hasLogo() {
1072
951
  return !!this.logo.length;
1073
952
  }
1074
-
1075
953
  get showLogoInMenuButton() {
1076
954
  return this.hasLogo && this.breakpointSize === "S";
1077
955
  }
1078
-
1079
956
  get showTitleInMenuButton() {
1080
957
  return this.primaryTitle && !this.showLogoInMenuButton;
1081
958
  }
1082
-
1083
959
  get showMenuButton() {
1084
960
  return this.primaryTitle || this.showLogoInMenuButton;
1085
961
  }
1086
-
1087
962
  get popoverHorizontalAlign() {
1088
963
  return this.effectiveDir === "rtl" ? "Left" : "Right";
1089
964
  }
1090
-
1091
965
  get hasSearchField() {
1092
966
  return !!this.searchField.length;
1093
967
  }
1094
-
1095
968
  get hasProfile() {
1096
969
  return !!this.profile.length;
1097
970
  }
1098
-
1099
971
  get hasMenuItems() {
1100
972
  return this.menuItems.length > 0;
1101
973
  }
1102
-
1103
974
  get _shellbarText() {
1104
975
  return ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_LABEL);
1105
976
  }
1106
-
1107
977
  get _logoText() {
1108
978
  return this.accessibilityTexts.logoTitle || ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_LOGO);
1109
979
  }
1110
-
1111
980
  get _copilotText() {
1112
981
  return ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_COPILOT);
1113
982
  }
1114
-
1115
983
  get _notificationsText() {
1116
984
  return ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_NOTIFICATIONS, this.notificationsCount);
1117
985
  }
1118
-
1119
986
  get _cancelBtnText() {
1120
987
  return ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_CANCEL);
1121
988
  }
1122
-
1123
989
  get _showFullWidthSearch() {
1124
990
  const size = this._handleBarBreakpoints();
1125
-
1126
991
  const searchBtnHidden = !!this.shadowRoot.querySelector(".ui5-shellbar-search-button.ui5-shellbar-hidden-button");
1127
992
  return size === "S" || searchBtnHidden;
1128
993
  }
1129
-
1130
994
  get _profileText() {
1131
995
  return this.accessibilityTexts.profileButtonTitle || ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_PROFILE);
1132
996
  }
1133
-
1134
997
  get _productsText() {
1135
998
  return ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_PRODUCTS);
1136
999
  }
1137
-
1138
1000
  get _searchText() {
1139
1001
  return ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_SEARCH);
1140
1002
  }
1141
-
1142
1003
  get _overflowText() {
1143
1004
  return ShellBar.i18nBundle.getText(_i18nDefaults.SHELLBAR_OVERFLOW);
1144
1005
  }
1145
-
1146
1006
  get accInfo() {
1147
1007
  return {
1148
1008
  notifications: {
@@ -1169,17 +1029,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1169
1029
  }
1170
1030
  };
1171
1031
  }
1172
-
1173
1032
  static get dependencies() {
1174
1033
  return [_Button.default, _List.default, _Popover.default, _StandardListItem.default];
1175
1034
  }
1176
-
1177
1035
  static async onDefine() {
1178
1036
  ShellBar.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori");
1179
1037
  }
1180
-
1181
1038
  }
1182
-
1183
1039
  ShellBar.define();
1184
1040
  var _default = ShellBar;
1185
1041
  _exports.default = _default;