@ui5/webcomponents-fiori 1.7.1 → 1.9.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 (283) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/Bar.js +2 -2
  3. package/dist/BarcodeScannerDialog.js +7 -3
  4. package/dist/DynamicSideContent.js +4 -4
  5. package/dist/FilterItem.js +1 -1
  6. package/dist/FilterItemOption.js +1 -1
  7. package/dist/FlexibleColumnLayout.js +13 -13
  8. package/dist/IllustratedMessage.js +87 -11
  9. package/dist/MediaGallery.js +5 -5
  10. package/dist/MediaGalleryItem.js +1 -1
  11. package/dist/NotificationAction.js +2 -2
  12. package/dist/NotificationListGroupItem.js +6 -1
  13. package/dist/NotificationListItem.js +6 -2
  14. package/dist/NotificationListItemBase.js +13 -12
  15. package/dist/Page.js +3 -3
  16. package/dist/ShellBar.js +6 -6
  17. package/dist/SideNavigation.js +1 -1
  18. package/dist/SideNavigationItem.js +1 -1
  19. package/dist/SideNavigationSubItem.js +1 -1
  20. package/dist/SortItem.js +1 -1
  21. package/dist/Timeline.js +2 -2
  22. package/dist/TimelineItem.js +2 -2
  23. package/dist/UploadCollection.js +4 -4
  24. package/dist/UploadCollectionItem.js +3 -3
  25. package/dist/ViewSettingsDialog.js +5 -5
  26. package/dist/Wizard.js +2 -2
  27. package/dist/WizardStep.js +1 -1
  28. package/dist/WizardTab.js +1 -1
  29. package/dist/api.json +1 -1
  30. package/dist/assets/AddColumn.f560b280.js +123 -0
  31. package/dist/assets/AddPeople.58572c32.js +93 -0
  32. package/dist/assets/BalloonSky.b88691ec.js +105 -0
  33. package/dist/assets/ChartArea.3c1b1e95.js +47 -0
  34. package/dist/assets/ChartArea2.6642bc07.js +36 -0
  35. package/dist/assets/ChartBPMNFlow.6d1588c8.js +41 -0
  36. package/dist/assets/ChartBar.6a5503e2.js +37 -0
  37. package/dist/assets/ChartBullet.9bdd18db.js +42 -0
  38. package/dist/assets/ChartDoughnut.cb55c934.js +39 -0
  39. package/dist/assets/ChartFlow.6d02cef7.js +39 -0
  40. package/dist/assets/ChartGantt.0f060aa9.js +53 -0
  41. package/dist/assets/ChartOrg.489c277b.js +46 -0
  42. package/dist/assets/ChartPie.d33d8c3c.js +36 -0
  43. package/dist/assets/CodePlaceholder.b5b4c61f.js +19 -0
  44. package/dist/assets/Company.85efc351.js +54 -0
  45. package/dist/assets/Components.123624b6.js +28 -0
  46. package/dist/assets/Connection.545f9ff6.js +72 -0
  47. package/dist/assets/EmptyCalendar.f293b7ad.js +205 -0
  48. package/dist/assets/EmptyList.66e35d41.js +109 -0
  49. package/dist/assets/EmptyPlanningCalendar.c61881e2.js +248 -0
  50. package/dist/assets/ErrorScreen.25cf5ac9.js +145 -0
  51. package/dist/assets/ExternalLink.8ed79faa.js +32 -0
  52. package/dist/assets/FaceID.60f45394.js +52 -0
  53. package/dist/assets/FilterTable.3fb329c3.js +144 -0
  54. package/dist/assets/Fingerprint.2f6ffd48.js +59 -0
  55. package/dist/assets/GroupTable.e80dd008.js +211 -0
  56. package/dist/assets/Lock.c7cfd3ef.js +45 -0
  57. package/dist/assets/Mission.731370bf.js +52 -0
  58. package/dist/assets/NoActivities.e342c680.js +69 -0
  59. package/dist/assets/NoApplications.7e80fd05.js +42 -0
  60. package/dist/assets/NoData.410ae200.js +40 -0
  61. package/dist/assets/NoEntries.a49d15b1.js +57 -0
  62. package/dist/assets/NoFilterResults.d8fa48cd.js +89 -0
  63. package/dist/assets/NoFlows.e76a9c25.js +37 -0
  64. package/dist/assets/NoMail.3cc9402b.js +45 -0
  65. package/dist/assets/NoMail_v1.f4966bfa.js +94 -0
  66. package/dist/assets/NoNotifications.772ce48a.js +58 -0
  67. package/dist/assets/NoSavedItems.bad51286.js +57 -0
  68. package/dist/assets/NoSavedItems_v1.21195ecc.js +109 -0
  69. package/dist/assets/NoSearchResults.89d4fbc9.js +44 -0
  70. package/dist/assets/NoTasks.b8f418da.js +60 -0
  71. package/dist/assets/NoTasks_v1.bcf760c9.js +159 -0
  72. package/dist/assets/NoUsers.88f027ad.js +40 -0
  73. package/dist/assets/PageNotFound.59b5abf6.js +94 -0
  74. package/dist/assets/Radar.784928ce.js +47 -0
  75. package/dist/assets/ReloadScreen.ec67fdf9.js +147 -0
  76. package/dist/assets/ResizeColumn.dccbb8f5.js +135 -0
  77. package/dist/assets/SearchEarth.eb0a89c4.js +104 -0
  78. package/dist/assets/SearchFolder.2668391d.js +89 -0
  79. package/dist/assets/Secrets.1354daa5.js +34 -0
  80. package/dist/assets/Services.44a4d469.js +45 -0
  81. package/dist/assets/SessionExpired.fe4b0703.js +36 -0
  82. package/dist/assets/SessionExpiring.5c5ff346.js +34 -0
  83. package/dist/assets/SimpleBalloon.e12df542.js +45 -0
  84. package/dist/assets/SimpleBell.8e5a2f79.js +42 -0
  85. package/dist/assets/SimpleCalendar.1bfeed06.js +137 -0
  86. package/dist/assets/SimpleCheckMark.8e53cef4.js +21 -0
  87. package/dist/assets/SimpleConnection.a0d00684.js +51 -0
  88. package/dist/assets/SimpleEmptyDoc.b0877b35.js +44 -0
  89. package/dist/assets/SimpleEmptyList.b44f9d8d.js +30 -0
  90. package/dist/assets/SimpleError.2d291c89.js +33 -0
  91. package/dist/assets/SimpleMagnifier.1901f2de.js +32 -0
  92. package/dist/assets/SimpleMail.8ba30c4d.js +42 -0
  93. package/dist/assets/SimpleNoSavedItems.7c739cbd.js +68 -0
  94. package/dist/assets/SimpleNotFoundMagnifier.3bbf551f.js +56 -0
  95. package/dist/assets/SimpleReload.6cbc52ba.js +33 -0
  96. package/dist/assets/SimpleTask.4c6aa5f2.js +65 -0
  97. package/dist/assets/SleepingBell.adf360fd.js +119 -0
  98. package/dist/assets/SortColumn.c20a1f97.js +129 -0
  99. package/dist/assets/Success.4351a30e.js +35 -0
  100. package/dist/assets/SuccessBalloon.4ea72f5a.js +68 -0
  101. package/dist/assets/SuccessCheckMark.8f8c0916.js +59 -0
  102. package/dist/assets/SuccessHighFive.d7a0e5af.js +104 -0
  103. package/dist/assets/SuccessScreen.545aa464.js +143 -0
  104. package/dist/assets/SuccessfulAuth.d81d46d8.js +37 -0
  105. package/dist/assets/Systems.ced8b765.js +33 -0
  106. package/dist/assets/Teams.3ebf4235.js +48 -0
  107. package/dist/assets/Tent.c8ec619c.js +120 -0
  108. package/dist/assets/Tools.0bf4c16b.js +36 -0
  109. package/dist/assets/UnableToLoad.58a018f8.js +45 -0
  110. package/dist/assets/UnableToLoad.ec626d07.js +38 -0
  111. package/dist/assets/UnableToLoadImage.b29b78a5.js +110 -0
  112. package/dist/assets/UnableToUpload.518c6ee4.js +37 -0
  113. package/dist/assets/Unlock.37e1fcc3.js +36 -0
  114. package/dist/assets/UnsuccessfulAuth.7d6c15df.js +41 -0
  115. package/dist/assets/UploadCollection.f58cf20e.js +94 -0
  116. package/dist/assets/User2.b8230908.js +43 -0
  117. package/dist/assets/messagebundle_ar.9ae1ef26.js +1 -0
  118. package/dist/assets/messagebundle_bg.8915155f.js +1 -0
  119. package/dist/assets/messagebundle_ca.5a8698fb.js +1 -0
  120. package/dist/assets/messagebundle_cs.222493c4.js +1 -0
  121. package/dist/assets/messagebundle_cy.1610bf93.js +1 -0
  122. package/dist/assets/messagebundle_da.c70ac6a5.js +1 -0
  123. package/dist/assets/messagebundle_de.61975ddf.js +1 -0
  124. package/dist/assets/{messagebundle_el.a040436a.js → messagebundle_el.9414cc27.js} +1 -1
  125. package/dist/assets/messagebundle_en.1d91201b.js +1 -0
  126. package/dist/assets/messagebundle_en_GB.c961adcf.js +1 -0
  127. package/dist/assets/messagebundle_en_US_sappsd.7db7f6c1.js +1 -0
  128. package/dist/assets/messagebundle_en_US_saprigi.ce036cd2.js +1 -0
  129. package/dist/assets/messagebundle_en_US_saptrc.9f8cb5df.js +1 -0
  130. package/dist/assets/messagebundle_es.569f058e.js +1 -0
  131. package/dist/assets/messagebundle_es_MX.75195377.js +1 -0
  132. package/dist/assets/messagebundle_et.2226af00.js +1 -0
  133. package/dist/assets/messagebundle_fi.40b715b4.js +1 -0
  134. package/dist/assets/messagebundle_fr.8343dbcd.js +1 -0
  135. package/dist/assets/messagebundle_fr_CA.b91a615f.js +1 -0
  136. package/dist/assets/messagebundle_hi.d26b9cfe.js +1 -0
  137. package/dist/assets/messagebundle_hr.ec384f53.js +1 -0
  138. package/dist/assets/messagebundle_hu.e33d4ba9.js +1 -0
  139. package/dist/assets/messagebundle_it.b89654c3.js +1 -0
  140. package/dist/assets/messagebundle_iw.f40c5f23.js +1 -0
  141. package/dist/assets/messagebundle_ja.89b080b3.js +1 -0
  142. package/dist/assets/messagebundle_kk.67fb56c3.js +1 -0
  143. package/dist/assets/messagebundle_ko.bb921ae5.js +1 -0
  144. package/dist/assets/messagebundle_lt.7986fd0d.js +1 -0
  145. package/dist/assets/messagebundle_lv.49648e6a.js +1 -0
  146. package/dist/assets/messagebundle_ms.fe46c49c.js +1 -0
  147. package/dist/assets/messagebundle_nl.b281c1d7.js +1 -0
  148. package/dist/assets/messagebundle_no.f0ba231a.js +1 -0
  149. package/dist/assets/messagebundle_pl.e964021e.js +1 -0
  150. package/dist/assets/messagebundle_pt.add94464.js +1 -0
  151. package/dist/assets/messagebundle_pt_PT.92ccc9a9.js +1 -0
  152. package/dist/assets/messagebundle_ro.f0758555.js +1 -0
  153. package/dist/assets/messagebundle_ru.42826b15.js +1 -0
  154. package/dist/assets/messagebundle_sh.f7e099f7.js +1 -0
  155. package/dist/assets/messagebundle_sk.a7f2ed36.js +1 -0
  156. package/dist/assets/messagebundle_sl.8b342853.js +1 -0
  157. package/dist/assets/messagebundle_sv.0b283996.js +1 -0
  158. package/dist/assets/messagebundle_th.f042ce17.js +1 -0
  159. package/dist/assets/messagebundle_tr.f75d5c80.js +1 -0
  160. package/dist/assets/messagebundle_uk.6e5392c6.js +1 -0
  161. package/dist/assets/messagebundle_vi.4eec9279.js +1 -0
  162. package/dist/assets/messagebundle_zh_CN.0f726b0d.js +1 -0
  163. package/dist/assets/messagebundle_zh_TW.ec0b4612.js +1 -0
  164. package/dist/assets/parameters-bundle.css.07bd8ef1.js +1 -0
  165. package/dist/assets/parameters-bundle.css.21c245e8.js +1 -0
  166. package/dist/assets/{parameters-bundle.css.1cf9c836.js → parameters-bundle.css.4fb41a5c.js} +1 -1
  167. package/dist/assets/parameters-bundle.css.622db577.js +1 -0
  168. package/dist/assets/parameters-bundle.css.62be7a06.js +1 -0
  169. package/dist/assets/{parameters-bundle.css.41102715.js → parameters-bundle.css.796da330.js} +1 -1
  170. package/dist/assets/parameters-bundle.css.87b29f19.js +1 -0
  171. package/dist/assets/parameters-bundle.css.9f32aa91.js +1 -0
  172. package/dist/assets/parameters-bundle.css.aecbab9a.js +1 -0
  173. package/dist/assets/parameters-bundle.css.b7537961.js +1 -0
  174. package/dist/assets/parameters-bundle.css.d3c2d700.js +1 -0
  175. package/dist/assets/parameters-bundle.css.e54ea388.js +1 -0
  176. package/dist/assets/parameters-bundle.css.ff267227.js +1 -0
  177. package/dist/assets/parameters-bundle.css.ffa67d1b.js +1 -0
  178. package/dist/css/themes/IllustratedMessage.css +1 -1
  179. package/dist/css/themes/SideNavigation.css +1 -1
  180. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  181. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  182. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  183. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  184. package/dist/generated/i18n/i18n-defaults.js +1 -1
  185. package/dist/generated/js-imports/Illustrations.js +103 -0
  186. package/dist/generated/themes/IllustratedMessage.css.js +1 -1
  187. package/dist/generated/themes/SideNavigation.css.js +1 -1
  188. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  189. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  190. package/dist/illustrations/AllIllustrations.js +1 -0
  191. package/package.json +9 -8
  192. package/src/Bar.js +2 -2
  193. package/src/BarcodeScannerDialog.js +7 -3
  194. package/src/DynamicSideContent.js +4 -4
  195. package/src/FilterItem.js +1 -1
  196. package/src/FilterItemOption.js +1 -1
  197. package/src/FlexibleColumnLayout.js +13 -13
  198. package/src/IllustratedMessage.js +87 -11
  199. package/src/MediaGallery.js +5 -5
  200. package/src/MediaGalleryItem.js +1 -1
  201. package/src/NotificationAction.js +2 -2
  202. package/src/NotificationListGroupItem.js +6 -1
  203. package/src/NotificationListItem.js +6 -2
  204. package/src/NotificationListItemBase.js +13 -12
  205. package/src/Page.js +3 -3
  206. package/src/ShellBar.js +6 -6
  207. package/src/SideNavigation.js +1 -1
  208. package/src/SideNavigationItem.js +1 -1
  209. package/src/SideNavigationSubItem.js +1 -1
  210. package/src/SortItem.js +1 -1
  211. package/src/Timeline.js +2 -2
  212. package/src/TimelineItem.js +2 -2
  213. package/src/UploadCollection.js +4 -4
  214. package/src/UploadCollectionItem.js +3 -3
  215. package/src/ViewSettingsDialog.js +5 -5
  216. package/src/Wizard.js +2 -2
  217. package/src/WizardStep.js +1 -1
  218. package/src/WizardTab.js +1 -1
  219. package/src/illustrations/AllIllustrations.js +1 -0
  220. package/src/themes/IllustratedMessage.css +1 -1
  221. package/src/themes/SideNavigation.css +1 -0
  222. package/src/themes/sap_fiori_3/ShellBar-parameters.css +5 -0
  223. package/src/themes/sap_fiori_3/parameters-bundle.css +1 -1
  224. package/src/themes/sap_fiori_3_dark/ShellBar-parameters.css +5 -0
  225. package/src/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  226. package/dist/assets/messagebundle_ar.55a0cd17.js +0 -1
  227. package/dist/assets/messagebundle_bg.006edda7.js +0 -1
  228. package/dist/assets/messagebundle_ca.e2612a6a.js +0 -1
  229. package/dist/assets/messagebundle_cs.b6c249d4.js +0 -1
  230. package/dist/assets/messagebundle_cy.7652b91d.js +0 -1
  231. package/dist/assets/messagebundle_da.0ff032fe.js +0 -1
  232. package/dist/assets/messagebundle_de.a44fd61f.js +0 -1
  233. package/dist/assets/messagebundle_en.3308e6b5.js +0 -1
  234. package/dist/assets/messagebundle_en_GB.ed832f6b.js +0 -1
  235. package/dist/assets/messagebundle_en_US_sappsd.ff841311.js +0 -1
  236. package/dist/assets/messagebundle_en_US_saprigi.2de07c97.js +0 -1
  237. package/dist/assets/messagebundle_en_US_saptrc.af4bf147.js +0 -1
  238. package/dist/assets/messagebundle_es.f0b9bbbd.js +0 -1
  239. package/dist/assets/messagebundle_es_MX.e7d68fdd.js +0 -1
  240. package/dist/assets/messagebundle_et.bd271c64.js +0 -1
  241. package/dist/assets/messagebundle_fi.a251eca0.js +0 -1
  242. package/dist/assets/messagebundle_fr.30890a6a.js +0 -1
  243. package/dist/assets/messagebundle_fr_CA.5b2f0a9f.js +0 -1
  244. package/dist/assets/messagebundle_hi.30fcd3f9.js +0 -1
  245. package/dist/assets/messagebundle_hr.bbcb860f.js +0 -1
  246. package/dist/assets/messagebundle_hu.09c24fef.js +0 -1
  247. package/dist/assets/messagebundle_it.a460f288.js +0 -1
  248. package/dist/assets/messagebundle_iw.28c9921d.js +0 -1
  249. package/dist/assets/messagebundle_ja.8da4392a.js +0 -1
  250. package/dist/assets/messagebundle_kk.124c94ff.js +0 -1
  251. package/dist/assets/messagebundle_ko.77a3990f.js +0 -1
  252. package/dist/assets/messagebundle_lt.d76fb8f5.js +0 -1
  253. package/dist/assets/messagebundle_lv.8628f22e.js +0 -1
  254. package/dist/assets/messagebundle_ms.07cc763c.js +0 -1
  255. package/dist/assets/messagebundle_nl.d35b2a63.js +0 -1
  256. package/dist/assets/messagebundle_no.61fbe33b.js +0 -1
  257. package/dist/assets/messagebundle_pl.1497797a.js +0 -1
  258. package/dist/assets/messagebundle_pt.3704cbde.js +0 -1
  259. package/dist/assets/messagebundle_pt_PT.4294ae20.js +0 -1
  260. package/dist/assets/messagebundle_ro.67997c8b.js +0 -1
  261. package/dist/assets/messagebundle_ru.2c98cf57.js +0 -1
  262. package/dist/assets/messagebundle_sh.5b2d6f70.js +0 -1
  263. package/dist/assets/messagebundle_sk.6c154b5c.js +0 -1
  264. package/dist/assets/messagebundle_sl.72a26af6.js +0 -1
  265. package/dist/assets/messagebundle_sv.981dfa89.js +0 -1
  266. package/dist/assets/messagebundle_th.d677d8c2.js +0 -1
  267. package/dist/assets/messagebundle_tr.171f6129.js +0 -1
  268. package/dist/assets/messagebundle_uk.350665d4.js +0 -1
  269. package/dist/assets/messagebundle_vi.76aa284f.js +0 -1
  270. package/dist/assets/messagebundle_zh_CN.b6ef64a2.js +0 -1
  271. package/dist/assets/messagebundle_zh_TW.365fded9.js +0 -1
  272. package/dist/assets/parameters-bundle.css.0d724c75.js +0 -1
  273. package/dist/assets/parameters-bundle.css.1014ca51.js +0 -1
  274. package/dist/assets/parameters-bundle.css.279e4ddc.js +0 -1
  275. package/dist/assets/parameters-bundle.css.34239892.js +0 -1
  276. package/dist/assets/parameters-bundle.css.3abf266e.js +0 -1
  277. package/dist/assets/parameters-bundle.css.63f96642.js +0 -1
  278. package/dist/assets/parameters-bundle.css.73a91aef.js +0 -1
  279. package/dist/assets/parameters-bundle.css.8e4c7de4.js +0 -1
  280. package/dist/assets/parameters-bundle.css.cb724654.js +0 -1
  281. package/dist/assets/parameters-bundle.css.cba466b0.js +0 -1
  282. package/dist/assets/parameters-bundle.css.ccdb8d0e.js +0 -1
  283. package/dist/assets/parameters-bundle.css.e873f632.js +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,24 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.8.0](https://github.com/SAP/ui5-webcomponents/compare/v1.7.1...v1.8.0) (2022-10-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui5-illustrated-message:** removed redundant scrollbar in RTL ([#5819](https://github.com/SAP/ui5-webcomponents/issues/5819)) ([676adcd](https://github.com/SAP/ui5-webcomponents/commit/676adcd1e706e528440c9a75edb5713ef538460d)), closes [#5788](https://github.com/SAP/ui5-webcomponents/issues/5788)
12
+ * **ui5-side-navigation:** toggle icon no longer shrinks with long text ([#5837](https://github.com/SAP/ui5-webcomponents/issues/5837)) ([8a69be2](https://github.com/SAP/ui5-webcomponents/commit/8a69be21c683ed98a522e2391eeb61901acb0e7d)), closes [#5825](https://github.com/SAP/ui5-webcomponents/issues/5825)
13
+
14
+
15
+ ### Features
16
+
17
+ * **f6navigation:** improve fastgroup navigation ([#5844](https://github.com/SAP/ui5-webcomponents/issues/5844)) ([f44f57b](https://github.com/SAP/ui5-webcomponents/commit/f44f57b27850de03e430d08e3e9adc71d60296fe))
18
+ * **ui5-illustrated-message:** accessible-name-ref added ([#5765](https://github.com/SAP/ui5-webcomponents/issues/5765)) ([51165df](https://github.com/SAP/ui5-webcomponents/commit/51165df780d92404c63e16a09dbfe579c533456c))
19
+
20
+
21
+
22
+
23
+
6
24
  ## [1.7.1](https://github.com/SAP/ui5-webcomponents/compare/v1.7.0...v1.7.1) (2022-09-08)
7
25
 
8
26
  **Note:** Version bump only for package @ui5/webcomponents-fiori
package/dist/Bar.js CHANGED
@@ -28,7 +28,7 @@ const metadata = {
28
28
  * <li><code>FloatingFooter</code></li>
29
29
  * </ul>
30
30
  *
31
- * @type {BarDesign}
31
+ * @type {sap.ui.webcomponents.fiori.types.BarDesign}
32
32
  * @defaultvalue "Header"
33
33
  * @public
34
34
  */
@@ -117,7 +117,7 @@ const metadata = {
117
117
  * @author SAP SE
118
118
  * @alias sap.ui.webcomponents.fiori.Bar
119
119
  * @implements sap.ui.webcomponents.fiori.IBar
120
- * @extends UI5Element
120
+ * @extends sap.ui.webcomponents.base.UI5Element
121
121
  * @tagname ui5-bar
122
122
  * @public
123
123
  * @since 1.0.0-rc.11
@@ -4,8 +4,7 @@ import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
4
4
  import Dialog from "@ui5/webcomponents/dist/Dialog.js";
5
5
  import Button from "@ui5/webcomponents/dist/Button.js";
6
6
  import BusyIndicator from "@ui5/webcomponents/dist/BusyIndicator.js";
7
- import { BrowserMultiFormatReader, NotFoundException } from "@zxing/library";
8
-
7
+ import * as ZXing from "@zxing/library/umd/index.min.js";
9
8
  // Template
10
9
  import BarcodeScannerDialogTemplate from "./generated/templates/BarcodeScannerDialogTemplate.lit.js";
11
10
 
@@ -18,6 +17,11 @@ import {
18
17
  BARCODE_SCANNER_DIALOG_LOADING_TXT,
19
18
  } from "./generated/i18n/i18n-defaults.js";
20
19
 
20
+ // some tools handle named exports from UMD files and the window object is not assigned but the imports work (vitejs)
21
+ // other tools do not handle named exports (they are undefined after the import), but the window global is assigned and can be used (web dev server)
22
+ const effectiveZXing = { ...ZXing, ...window.ZXing };
23
+ const { BrowserMultiFormatReader, NotFoundException } = effectiveZXing;
24
+
21
25
  const defaultMediaConstraints = {
22
26
  audio: false,
23
27
  video: {
@@ -102,7 +106,7 @@ const metadata = {
102
106
  * @constructor
103
107
  * @author SAP SE
104
108
  * @alias sap.ui.webcomponents.fiori.BarcodeScannerDialog
105
- * @extends UI5Element
109
+ * @extends sap.ui.webcomponents.base.UI5Element
106
110
  * @tagname ui5-barcode-scanner-dialog
107
111
  * @public
108
112
  * @since 1.0.0-rc.15
@@ -65,7 +65,7 @@ const metadata = {
65
65
  * <li><code>End</code></li>
66
66
  * </ul>
67
67
  *
68
- * @type {SideContentPosition}
68
+ * @type {sap.ui.webcomponents.fiori.types.SideContentPosition}
69
69
  * @defaultvalue "End"
70
70
  * @public
71
71
  *
@@ -89,7 +89,7 @@ const metadata = {
89
89
  * <li><code>NeverShow</code></li>
90
90
  * </ul>
91
91
  *
92
- * @type {SideContentVisibility}
92
+ * @type {sap.ui.webcomponents.fiori.types.SideContentVisibility}
93
93
  * @defaultvalue "ShowAboveS"
94
94
  * @public
95
95
  *
@@ -112,7 +112,7 @@ const metadata = {
112
112
  * <li><code>OnMinimumWidth</code></li>
113
113
  * </ul>
114
114
  *
115
- * @type {SideContentFallDown}
115
+ * @type {sap.ui.webcomponents.fiori.types.SideContentFallDown}
116
116
  * @defaultvalue "OnMinimumWidth"
117
117
  * @public
118
118
  *
@@ -300,7 +300,7 @@ const metadata = {
300
300
  * @constructor
301
301
  * @author SAP SE
302
302
  * @alias sap.ui.webcomponents.fiori.DynamicSideContent
303
- * @extends UI5Element
303
+ * @extends sap.ui.webcomponents.base.UI5Element
304
304
  * @tagname ui5-dynamic-side-content
305
305
  * @public
306
306
  * @since 1.1.0
@@ -61,7 +61,7 @@ const metadata = {
61
61
  * @constructor
62
62
  * @author SAP SE
63
63
  * @alias sap.ui.webcomponents.fiori.FilterItem
64
- * @extends UI5Element
64
+ * @extends sap.ui.webcomponents.base.UI5Element
65
65
  * @since 1.0.0-rc.16
66
66
  * @tagname ui5-filter-item
67
67
  * @implements sap.ui.webcomponents.fiori.IFilterItem
@@ -52,7 +52,7 @@ const metadata = {
52
52
  * @constructor
53
53
  * @author SAP SE
54
54
  * @alias sap.ui.webcomponents.fiori.FilterItemOption
55
- * @extends UI5Element
55
+ * @extends sap.ui.webcomponents.base.UI5Element
56
56
  * @since 1.0.0-rc.16
57
57
  * @tagname ui5-filter-item-option
58
58
  * @implements sap.ui.webcomponents.fiori.IFilterItemOption
@@ -61,7 +61,7 @@ const metadata = {
61
61
  * <br><br>
62
62
  * <b>For example:</b> layout=<code>TwoColumnsStartExpanded</code> means the layout will display up to two columns
63
63
  * in 67%/33% proportion.
64
- * @type {FCLLayout}
64
+ * @type {sap.ui.webcomponents.fiori.types.FCLLayout}
65
65
  * @defaultvalue "OneColumn"
66
66
  * @public
67
67
  */
@@ -126,7 +126,7 @@ const metadata = {
126
126
  /**
127
127
  * Defines the component width in px.
128
128
  *
129
- * @type {Float}
129
+ * @type {sap.ui.webcomponents.base.types.Float}
130
130
  * @defaultvalue 0
131
131
  * @private
132
132
  */
@@ -140,7 +140,7 @@ const metadata = {
140
140
  * based on both the <code>layout</code> property and the screen size.
141
141
  * Example: [67%, 33%, 0], [25%, 50%, 25%], etc.
142
142
  *
143
- * @type {Object}
143
+ * @type {object}
144
144
  * @defaultvalue undefined
145
145
  * @private
146
146
  */
@@ -152,7 +152,7 @@ const metadata = {
152
152
  /**
153
153
  * Defines the visible columns count - 1, 2 or 3.
154
154
  *
155
- * @type {Integer}
155
+ * @type {sap.ui.webcomponents.base.types.Integer}
156
156
  * @defaultvalue 1
157
157
  * @private
158
158
  */
@@ -164,7 +164,7 @@ const metadata = {
164
164
  /**
165
165
  * Allows the user to replace the whole layouts configuration
166
166
  *
167
- * @type {Object}
167
+ * @type {object}
168
168
  * @private
169
169
  * @sap-restricted
170
170
  */
@@ -209,8 +209,8 @@ const metadata = {
209
209
  * Fired when the layout changes via user interaction by clicking the arrows
210
210
  * or by changing the component size due to resizing.
211
211
  *
212
- * @param {FCLLayout} layout The current layout
213
- * @param {Array} columnLayout The effective column layout, f.e [67%, 33%, 0]
212
+ * @param {sap.ui.webcomponents.fiori.types.FCLLayout} layout The current layout
213
+ * @param {array} columnLayout The effective column layout, f.e [67%, 33%, 0]
214
214
  * @param {boolean} startColumnVisible Indicates if the start column is currently visible
215
215
  * @param {boolean} midColumnVisible Indicates if the middle column is currently visible
216
216
  * @param {boolean} endColumnVisible Indicates if the end column is currently visible
@@ -276,7 +276,7 @@ const metadata = {
276
276
  * @constructor
277
277
  * @author SAP SE
278
278
  * @alias sap.ui.webcomponents.fiori.FlexibleColumnLayout
279
- * @extends UI5Element
279
+ * @extends sap.ui.webcomponents.base.UI5Element
280
280
  * @tagname ui5-flexible-column-layout
281
281
  * @public
282
282
  * @since 1.0.0-rc.8
@@ -493,7 +493,7 @@ class FlexibleColumnLayout extends UI5Element {
493
493
  * <b>For example:</b> ["67%", "33%", 0], ["100%", 0, 0], ["25%", "50%", "25%"], etc,
494
494
  * where the numbers represents the width of the start, middle and end columns.
495
495
  * @readonly
496
- * @type { Array }
496
+ * @type {array}
497
497
  * @defaultvalue ["100%", 0, 0]
498
498
  * @public
499
499
  */
@@ -505,7 +505,7 @@ class FlexibleColumnLayout extends UI5Element {
505
505
  * Returns if the <code>start</code> column is visible.
506
506
  * @readonly
507
507
  * @defaultvalue true
508
- * @type { boolean }
508
+ * @type {boolean}
509
509
  * @public
510
510
  */
511
511
  get startColumnVisible() {
@@ -519,7 +519,7 @@ class FlexibleColumnLayout extends UI5Element {
519
519
  /**
520
520
  * Returns if the <code>middle</code> column is visible.
521
521
  * @readonly
522
- * @type { boolean }
522
+ * @type {boolean}
523
523
  * @defaultvalue false
524
524
  * @public
525
525
  */
@@ -534,7 +534,7 @@ class FlexibleColumnLayout extends UI5Element {
534
534
  /**
535
535
  * Returns if the <code>end</code> column is visible.
536
536
  * @readonly
537
- * @type { boolean }
537
+ * @type {boolean}
538
538
  * @defaultvalue false
539
539
  * @public
540
540
  */
@@ -549,7 +549,7 @@ class FlexibleColumnLayout extends UI5Element {
549
549
  /**
550
550
  * Returns the number of currently visible columns.
551
551
  * @readonly
552
- * @type { Integer }
552
+ * @type {sap.ui.webcomponents.base.types.Integer}
553
553
  * @defaultvalue 1
554
554
  * @public
555
555
  */
@@ -1,6 +1,7 @@
1
1
  import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
2
  import ResizeHandler from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
3
- import { getIllustrationDataSync } from "@ui5/webcomponents-base/dist/asset-registries/Illustrations.js";
3
+ import { getIllustrationDataSync, getIllustrationData } from "@ui5/webcomponents-base/dist/asset-registries/Illustrations.js";
4
+ import { getEffectiveAriaLabelText } from "@ui5/webcomponents-base/dist/util/AriaLabelHelper.js";
4
5
 
5
6
  import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
6
7
  import Title from "@ui5/webcomponents/dist/Title.js";
@@ -23,6 +24,19 @@ const metadata = {
23
24
  languageAware: true,
24
25
  managedSlots: true,
25
26
  properties: /** @lends sap.ui.webcomponents.fiori.IllustratedMessage.prototype */ {
27
+
28
+ /**
29
+ * Receives id(or many ids) of the elements that label the component.
30
+ *
31
+ * @type {string}
32
+ * @defaultvalue ""
33
+ * @public
34
+ * @since 1.7.0
35
+ */
36
+ accessibleNameRef: {
37
+ type: String,
38
+ defaultValue: "",
39
+ },
26
40
  /**
27
41
  * Defines the title of the component.
28
42
  * <br><br>
@@ -166,7 +180,7 @@ const metadata = {
166
180
  * You can import them removing the <code>Tnt</code> prefix like this:
167
181
  * <br>
168
182
  * <code>import "@ui5/webcomponents-fiori/dist/illustrations/tnt/SessionExpired.js";</code>
169
- * @type {IllustrationMessageType}
183
+ * @type {sap.ui.webcomponents.fiori.types.IllustrationMessageType}
170
184
  * @defaultvalue "BeforeSearch"
171
185
  * @public
172
186
  */
@@ -189,7 +203,7 @@ const metadata = {
189
203
  * As <code>IllustratedMessage</code> adapts itself around the <code>Illustration</code>, the other
190
204
  * elements of the component are displayed differently on the different breakpoints/illustration sizes.
191
205
  *
192
- * @type {IllustrationMessageSize}
206
+ * @type {sap.ui.webcomponents.fiori.types.IllustrationMessageSize}
193
207
  * @defaultvalue "Auto"
194
208
  * @public
195
209
  * @since 1.5.0
@@ -198,6 +212,36 @@ const metadata = {
198
212
  type: IllustrationMessageSize,
199
213
  defaultValue: IllustrationMessageSize.Auto,
200
214
  },
215
+ /**
216
+ * Illustration breakpoint variant for the <code>Dialog</code> size.
217
+ *
218
+ * @private
219
+ * @type {String}
220
+ * @since 1.9.0
221
+ */
222
+ dialogSvg: {
223
+ type: String,
224
+ },
225
+ /**
226
+ * Illustration breakpoint variant for the <code>Scene</code> size.
227
+ *
228
+ * @private
229
+ * @type {String}
230
+ * @since 1.9.0
231
+ */
232
+ sceneSvg: {
233
+ type: String,
234
+ },
235
+ /**
236
+ * Illustration breakpoint variant for the <code>Spot</code> size.
237
+ *
238
+ * @private
239
+ * @type {String}
240
+ * @since 1.9.0
241
+ */
242
+ spotSvg: {
243
+ type: String,
244
+ },
201
245
  },
202
246
  slots: /** @lends sap.ui.webcomponents.fiori.IllustratedMessage.prototype */ {
203
247
  /**
@@ -282,7 +326,7 @@ const metadata = {
282
326
  * @constructor
283
327
  * @author SAP SE
284
328
  * @alias sap.ui.webcomponents.fiori.IllustratedMessage
285
- * @extends UI5Element
329
+ * @extends sap.ui.webcomponents.base.UI5Element
286
330
  * @tagname ui5-illustrated-message
287
331
  * @public
288
332
  * @since 1.0.0-rc.15
@@ -292,6 +336,7 @@ class IllustratedMessage extends UI5Element {
292
336
  super();
293
337
 
294
338
  this._handleResize = this.handleResize.bind(this);
339
+ this._lastKnownOffsetWidthForMedia = {}; // this will store the last known offsetWidth of the IllustratedMessage DOM node for a given media (e.g. "Spot")
295
340
  }
296
341
 
297
342
  static get metadata() {
@@ -335,15 +380,19 @@ class IllustratedMessage extends UI5Element {
335
380
  return [Title];
336
381
  }
337
382
 
338
- onBeforeRendering() {
339
- const illustrationData = getIllustrationDataSync(this.name);
383
+ async onBeforeRendering() {
384
+ let illustrationData = getIllustrationDataSync(this.name);
385
+
386
+ if (illustrationData === undefined) {
387
+ illustrationData = await getIllustrationData(this.name);
388
+ }
340
389
 
341
390
  if (illustrationData === ILLUSTRATION_NOT_FOUND) {
342
391
  this.invalid = true;
343
392
  const illustrationPath = this.name.includes("Tnt") ? `tnt/${this.name.replace("Tnt", "")}` : this.name;
344
393
 
345
394
  /* eslint-disable-next-line */
346
- return console.warn(`Required illustration is not registered. You can either import the illustration as a module in order to use it e.g. "@ui5/webcomponents-fiori/dist/illustrations/${illustrationPath}.js".`);
395
+ return console.warn(`Required illustration is not registered. You can either import the specific illustration as a module - e.g. "@ui5/webcomponents-fiori/dist/illustrations/${illustrationPath}.js" or import the "@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js" module to fetch any existing illustration on demand`);
347
396
  }
348
397
 
349
398
  this.invalid = false;
@@ -372,17 +421,40 @@ class IllustratedMessage extends UI5Element {
372
421
  return;
373
422
  }
374
423
 
424
+ this._applyMedia();
425
+ }
426
+
427
+ _applyMedia() {
428
+ const currOffsetWidth = this.offsetWidth;
429
+ let newMedia = "";
430
+
375
431
  if (this.offsetWidth <= IllustratedMessage.BREAKPOINTS.BASE) {
376
- this.media = IllustratedMessage.MEDIA.BASE;
432
+ newMedia = IllustratedMessage.MEDIA.BASE;
377
433
  } else if (this.offsetWidth <= IllustratedMessage.BREAKPOINTS.SPOT) {
378
- this.media = IllustratedMessage.MEDIA.SPOT;
434
+ newMedia = IllustratedMessage.MEDIA.SPOT;
379
435
  } else if (this.offsetWidth <= IllustratedMessage.BREAKPOINTS.DIALOG) {
380
- this.media = IllustratedMessage.MEDIA.DIALOG;
436
+ newMedia = IllustratedMessage.MEDIA.DIALOG;
381
437
  } else {
382
- this.media = IllustratedMessage.MEDIA.SCENE;
438
+ newMedia = IllustratedMessage.MEDIA.SCENE;
439
+ }
440
+ const lastKnownOffsetWidth = this._lastKnownOffsetWidthForMedia[newMedia];
441
+ if (!(lastKnownOffsetWidth && currOffsetWidth === lastKnownOffsetWidth)) { // prevents infinite resize
442
+ this.media = newMedia;
443
+ this._lastKnownOffsetWidthForMedia[newMedia] = currOffsetWidth;
444
+ }
445
+ }
446
+
447
+ _setSVGAccAttrs() {
448
+ const svg = this.shadowRoot.querySelector(".ui5-illustrated-message-illustration svg");
449
+ if (svg && this.ariaLabelText !== "") {
450
+ svg.setAttribute("aria-label", this.ariaLabelText);
383
451
  }
384
452
  }
385
453
 
454
+ onAfterRendering() {
455
+ this._setSVGAccAttrs();
456
+ }
457
+
386
458
  /**
387
459
  * Modifies the IM styles in accordance to the `size` property's value.
388
460
  * Note: The resize handler has no effect when size is different than "Auto".
@@ -405,6 +477,10 @@ class IllustratedMessage extends UI5Element {
405
477
  }
406
478
  }
407
479
 
480
+ get ariaLabelText() {
481
+ return getEffectiveAriaLabelText(this);
482
+ }
483
+
408
484
  get effectiveIllustration() {
409
485
  switch (this.media) {
410
486
  case IllustratedMessage.MEDIA.SPOT:
@@ -95,7 +95,7 @@ const metadata = {
95
95
  * <li><code>Horizontal</code></li>
96
96
  * </ul>
97
97
  *
98
- * @type {MediaGalleryLayout}
98
+ * @type {sap.ui.webcomponents.fiori.types.MediaGalleryLayout}
99
99
  * @defaultvalue "Auto"
100
100
  * @public
101
101
  */
@@ -114,7 +114,7 @@ const metadata = {
114
114
  * <li><code>Right</code></li>
115
115
  * </ul>
116
116
  *
117
- * @type {MediaGalleryMenuHorizontalAlign}
117
+ * @type {sap.ui.webcomponents.fiori.types.MediaGalleryMenuHorizontalAlign}
118
118
  * @defaultvalue "Left"
119
119
  * @public
120
120
  */
@@ -133,7 +133,7 @@ const metadata = {
133
133
  * <li><code>Bottom</code></li>
134
134
  * </ul>
135
135
  *
136
- * @type {MediaGalleryMenuVerticalAlign}
136
+ * @type {sap.ui.webcomponents.fiori.types.MediaGalleryMenuVerticalAlign}
137
137
  * @defaultvalue "Bottom"
138
138
  * @public
139
139
  */
@@ -153,7 +153,7 @@ const metadata = {
153
153
  * <li><code>Horizontal</code></li>
154
154
  * </ul>
155
155
  *
156
- * @type {MediaGalleryLayout}
156
+ * @type {sap.ui.webcomponents.fiori.types.MediaGalleryLayout}
157
157
  * @defaultvalue "Vertical"
158
158
  * @private
159
159
  */
@@ -254,7 +254,7 @@ const metadata = {
254
254
  * @constructor
255
255
  * @author SAP SE
256
256
  * @alias sap.ui.webcomponents.fiori.MediaGallery
257
- * @extends UI5Element
257
+ * @extends sap.ui.webcomponents.base.UI5Element
258
258
  * @tagname ui5-media-gallery
259
259
  * @appenddocs MediaGalleryItem
260
260
  * @public
@@ -49,7 +49,7 @@ const metadata = {
49
49
  * <li><code>Wide</code></li>
50
50
  * </ul>
51
51
  *
52
- * @type {MediaGalleryItemLayout}
52
+ * @type {sap.ui.webcomponents.fiori.types.MediaGalleryItemLayout}
53
53
  * @defaultvalue "Square"
54
54
  * @public
55
55
  */
@@ -44,7 +44,7 @@ const metadata = {
44
44
  * <li><code>Transparent</code></li>
45
45
  * </ul>
46
46
  *
47
- * @type {ButtonDesign}
47
+ * @type {sap.ui.webcomponents.main.types.ButtonDesign}
48
48
  * @defaultvalue "Transparent"
49
49
  * @public
50
50
  */
@@ -83,7 +83,7 @@ const metadata = {
83
83
  * @constructor
84
84
  * @author SAP SE
85
85
  * @alias sap.ui.webcomponents.fiori.NotificationAction
86
- * @extends UI5Element
86
+ * @extends sap.ui.webcomponents.base.UI5Element
87
87
  * @tagname ui5-notification-action
88
88
  * @implements sap.ui.webcomponents.fiori.INotificationAction
89
89
  * @public
@@ -6,6 +6,11 @@ import Icon from "@ui5/webcomponents/dist/Icon.js";
6
6
  import Popover from "@ui5/webcomponents/dist/Popover.js";
7
7
  import NotificationListItemBase from "./NotificationListItemBase.js";
8
8
 
9
+ // Icons
10
+ import "@ui5/webcomponents-icons/dist/navigation-right-arrow.js";
11
+ import "@ui5/webcomponents-icons/dist/overflow.js";
12
+ import "@ui5/webcomponents-icons/dist/decline.js";
13
+
9
14
  // Texts
10
15
  import {
11
16
  NOTIFICATION_LIST_GROUP_ITEM_TXT,
@@ -120,7 +125,7 @@ const metadata = {
120
125
  * @constructor
121
126
  * @author SAP SE
122
127
  * @alias sap.ui.webcomponents.fiori.NotificationListGroupItem
123
- * @extends NotificationListItemBase
128
+ * @extends sap.ui.webcomponents.fiori.NotificationListItemBase
124
129
  * @tagname ui5-li-notification-group
125
130
  * @since 1.0.0-rc.8
126
131
  * @appenddocs NotificationAction
@@ -10,6 +10,10 @@ import Popover from "@ui5/webcomponents/dist/Popover.js";
10
10
  import WrappingType from "@ui5/webcomponents/dist/types/WrappingType.js";
11
11
  import NotificationListItemBase from "./NotificationListItemBase.js";
12
12
 
13
+ // Icons
14
+ import "@ui5/webcomponents-icons/dist/overflow.js";
15
+ import "@ui5/webcomponents-icons/dist/decline.js";
16
+
13
17
  // Texts
14
18
  import {
15
19
  NOTIFICATION_LIST_ITEM_TXT,
@@ -46,7 +50,7 @@ const metadata = {
46
50
  * <br><br>
47
51
  * <b>Note:</b> by default the <code>titleText</code> and <code>decription</code>,
48
52
  * and a <code>ShowMore/Less</code> button would be displayed.
49
- * @type {WrappingType}
53
+ * @type {sap.ui.webcomponents.main.types.WrappingType}
50
54
  * @defaultvalue "None"
51
55
  * @public
52
56
  * @since 1.0.0-rc.15
@@ -164,7 +168,7 @@ const metadata = {
164
168
  * @constructor
165
169
  * @author SAP SE
166
170
  * @alias sap.ui.webcomponents.fiori.NotificationListItem
167
- * @extends NotificationListItemBase
171
+ * @extends sap.ui.webcomponents.fiori.NotificationListItemBase
168
172
  * @tagname ui5-li-notification
169
173
  * @appenddocs NotificationAction
170
174
  * @since 1.0.0-rc.8
@@ -17,6 +17,15 @@ import NotificationOverflowActionsPopoverTemplate from "./generated/templates/No
17
17
  // Styles
18
18
  import NotificationOverflowActionsPopoverCss from "./generated/themes/NotificationOverflowActionsPopover.css.js";
19
19
 
20
+ /**
21
+ * Defines the icons corresponding to the notification's priority.
22
+ */
23
+ const ICON_PER_PRIORITY = {
24
+ [Priority.High]: "message-error",
25
+ [Priority.Medium]: "message-warning",
26
+ [Priority.Low]: "message-success",
27
+ };
28
+
20
29
  /**
21
30
  * @public
22
31
  */
@@ -43,7 +52,7 @@ const metadata = {
43
52
  * <li><code>Medium</code></li>
44
53
  * <li><code>High</code></li>
45
54
  * </ul>
46
- * @type {Priority}
55
+ * @type {sap.ui.webcomponents.main.types.Priority}
47
56
  * @defaultvalue "None"
48
57
  * @public
49
58
  */
@@ -89,7 +98,7 @@ const metadata = {
89
98
  /**
90
99
  * Defines the delay in milliseconds, after which the busy indicator will show up for this component.
91
100
  *
92
- * @type {Integer}
101
+ * @type {sap.ui.webcomponents.base.types.Integer}
93
102
  * @defaultValue 1000
94
103
  * @public
95
104
  */
@@ -133,7 +142,7 @@ const metadata = {
133
142
  * @constructor
134
143
  * @author SAP SE
135
144
  * @alias sap.ui.webcomponents.fiori.NotificationListItemBase
136
- * @extends ListItemBase
145
+ * @extends sap.ui.webcomponents.main.ListItemBase
137
146
  * @tagname ui5-li-notification-group
138
147
  * @since 1.0.0-rc.8
139
148
  * @appenddocs NotificationAction
@@ -152,14 +161,6 @@ class NotificationListItemBase extends ListItemBase {
152
161
  return NotificationOverflowActionsPopoverCss;
153
162
  }
154
163
 
155
- static priorityIconsMappings() {
156
- return {
157
- "High": "message-error",
158
- "Medium": "message-warning",
159
- "Low": "message-success",
160
- };
161
- }
162
-
163
164
  get hasTitleText() {
164
165
  return !!this.titleText.length;
165
166
  }
@@ -169,7 +170,7 @@ class NotificationListItemBase extends ListItemBase {
169
170
  }
170
171
 
171
172
  get priorityIcon() {
172
- return NotificationListItemBase.priorityIconsMappings()[this.priority];
173
+ return ICON_PER_PRIORITY[this.priority];
173
174
  }
174
175
 
175
176
  get overflowButtonDOM() {
package/dist/Page.js CHANGED
@@ -30,12 +30,12 @@ const metadata = {
30
30
  * <li><code>Transparent</code></li>
31
31
  * <li><code>List</code></li>
32
32
  * </ul>
33
- * @type {PageBackgroundDesign}
33
+ * @type {sap.ui.webcomponents.fiori.types.PageBackgroundDesign}
34
34
  * @defaultvalue "Solid"
35
35
  * @public
36
36
  */
37
37
  backgroundDesign: {
38
- type: String,
38
+ type: PageBackgroundDesign,
39
39
  defaultValue: PageBackgroundDesign.Solid,
40
40
  },
41
41
 
@@ -154,7 +154,7 @@ const metadata = {
154
154
  * @constructor
155
155
  * @author SAP SE
156
156
  * @alias sap.ui.webcomponents.fiori.Page
157
- * @extends UI5Element
157
+ * @extends sap.ui.webcomponents.base.UI5Element
158
158
  * @tagname ui5-page
159
159
  * @since 1.0.0-rc.12
160
160
  * @public
package/dist/ShellBar.js CHANGED
@@ -812,7 +812,7 @@ class ShellBar extends UI5Element {
812
812
 
813
813
  /**
814
814
  * Returns the <code>logo</code> DOM ref.
815
- * @type { HTMLElement }
815
+ * @type {HTMLElement}
816
816
  * @public
817
817
  * @readonly
818
818
  * @since 1.0.0-rc.16
@@ -823,7 +823,7 @@ class ShellBar extends UI5Element {
823
823
 
824
824
  /**
825
825
  * Returns the <code>copilot</code> DOM ref.
826
- * @type { HTMLElement }
826
+ * @type {HTMLElement}
827
827
  * @public
828
828
  * @readonly
829
829
  * @since 1.0.0-rc.16
@@ -834,7 +834,7 @@ class ShellBar extends UI5Element {
834
834
 
835
835
  /**
836
836
  * Returns the <code>notifications</code> icon DOM ref.
837
- * @type { HTMLElement }
837
+ * @type {HTMLElement}
838
838
  * @public
839
839
  * @readonly
840
840
  * @since 1.0.0-rc.16
@@ -845,7 +845,7 @@ class ShellBar extends UI5Element {
845
845
 
846
846
  /**
847
847
  * Returns the <code>overflow</code> icon DOM ref.
848
- * @type { HTMLElement }
848
+ * @type {HTMLElement}
849
849
  * @public
850
850
  * @readonly
851
851
  * @since 1.0.0-rc.16
@@ -856,7 +856,7 @@ class ShellBar extends UI5Element {
856
856
 
857
857
  /**
858
858
  * Returns the <code>profile</code> icon DOM ref.
859
- * @type { HTMLElement }
859
+ * @type {HTMLElement}
860
860
  * @public
861
861
  * @readonly
862
862
  * @since 1.0.0-rc.16
@@ -867,7 +867,7 @@ class ShellBar extends UI5Element {
867
867
 
868
868
  /**
869
869
  * Returns the <code>product-switch</code> icon DOM ref.
870
- * @type { HTMLElement }
870
+ * @type {HTMLElement}
871
871
  * @public
872
872
  * @readonly
873
873
  * @since 1.0.0-rc.16