@ui5/webcomponents-fiori 1.1.2 → 1.2.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 (439) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +3 -0
  3. package/dist/Bar.js +3 -2
  4. package/dist/BarcodeScannerDialog.js +2 -2
  5. package/dist/DynamicSideContent.js +4 -5
  6. package/dist/FilterItem.js +2 -2
  7. package/dist/FilterItemOption.js +2 -2
  8. package/dist/FlexibleColumnLayout.js +31 -3
  9. package/dist/IllustratedMessage.js +7 -1
  10. package/dist/Interfaces.js +10 -0
  11. package/dist/MediaGallery.js +1 -1
  12. package/dist/MediaGalleryItem.js +4 -5
  13. package/dist/NotificationListItem.js +1 -2
  14. package/dist/Page.js +2 -2
  15. package/dist/ShellBar.js +13 -6
  16. package/dist/SideNavigation.js +5 -2
  17. package/dist/SortItem.js +2 -2
  18. package/dist/Timeline.js +16 -2
  19. package/dist/TimelineItem.js +1 -1
  20. package/dist/UploadCollection.js +1 -1
  21. package/dist/ViewSettingsDialog.js +27 -8
  22. package/dist/Wizard.js +2 -2
  23. package/dist/WizardStep.js +3 -3
  24. package/dist/WizardTab.js +5 -5
  25. package/dist/api.json +180 -26
  26. package/dist/css/themes/BarcodeScannerDialog.css +1 -1
  27. package/dist/css/themes/ViewSettingsDialog.css +1 -1
  28. package/dist/css/themes/Wizard.css +1 -1
  29. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  30. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  31. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  32. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  33. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  34. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  35. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  36. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  37. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  38. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  39. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  40. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  41. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  42. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  43. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  44. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  45. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  46. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  47. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  48. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  49. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  50. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  51. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  52. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  53. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  54. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  55. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  56. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  57. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  58. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  59. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  60. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  61. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  62. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  63. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  64. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  65. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  66. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  67. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  68. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  69. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  70. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  71. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  72. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  73. package/dist/generated/i18n/i18n-defaults.js +1 -1
  74. package/dist/generated/templates/FilterItemTemplate.lit.js +2 -2
  75. package/dist/generated/templates/FlexibleColumnLayoutTemplate.lit.js +1 -1
  76. package/dist/generated/templates/NotificationListGroupItemTemplate.lit.js +3 -3
  77. package/dist/generated/templates/NotificationListItemTemplate.lit.js +2 -2
  78. package/dist/generated/templates/ShellBarTemplate.lit.js +6 -6
  79. package/dist/generated/templates/TimelineTemplate.lit.js +1 -1
  80. package/dist/generated/templates/UploadCollectionItemTemplate.lit.js +5 -5
  81. package/dist/generated/templates/ViewSettingsDialogTemplate.lit.js +3 -3
  82. package/dist/generated/templates/WizardPopoverTemplate.lit.js +1 -1
  83. package/dist/generated/themes/BarcodeScannerDialog.css.js +1 -1
  84. package/dist/generated/themes/ViewSettingsDialog.css.js +1 -1
  85. package/dist/generated/themes/Wizard.css.js +1 -1
  86. package/dist/i18n/messagebundle_ar.properties +52 -0
  87. package/dist/i18n/messagebundle_bg.properties +52 -0
  88. package/dist/i18n/messagebundle_ca.properties +52 -0
  89. package/dist/i18n/messagebundle_cs.properties +52 -0
  90. package/dist/i18n/messagebundle_cy.properties +52 -0
  91. package/dist/i18n/messagebundle_da.properties +52 -0
  92. package/dist/i18n/messagebundle_de.properties +52 -0
  93. package/dist/i18n/messagebundle_el.properties +52 -0
  94. package/dist/i18n/messagebundle_en.properties +52 -0
  95. package/dist/i18n/messagebundle_en_GB.properties +52 -0
  96. package/dist/i18n/messagebundle_es.properties +52 -0
  97. package/dist/i18n/messagebundle_es_MX.properties +52 -0
  98. package/dist/i18n/messagebundle_et.properties +52 -0
  99. package/dist/i18n/messagebundle_fi.properties +52 -0
  100. package/dist/i18n/messagebundle_fr.properties +52 -0
  101. package/dist/i18n/messagebundle_fr_CA.properties +52 -0
  102. package/dist/i18n/messagebundle_hi.properties +52 -0
  103. package/dist/i18n/messagebundle_hr.properties +52 -0
  104. package/dist/i18n/messagebundle_hu.properties +52 -0
  105. package/dist/i18n/messagebundle_id.properties +52 -0
  106. package/dist/i18n/messagebundle_it.properties +52 -0
  107. package/dist/i18n/messagebundle_iw.properties +52 -0
  108. package/dist/i18n/messagebundle_ja.properties +52 -0
  109. package/dist/i18n/messagebundle_kk.properties +52 -0
  110. package/dist/i18n/messagebundle_ko.properties +52 -0
  111. package/dist/i18n/messagebundle_lt.properties +52 -0
  112. package/dist/i18n/messagebundle_lv.properties +52 -0
  113. package/dist/i18n/messagebundle_ms.properties +52 -0
  114. package/dist/i18n/messagebundle_nl.properties +52 -0
  115. package/dist/i18n/messagebundle_no.properties +52 -0
  116. package/dist/i18n/messagebundle_pl.properties +52 -0
  117. package/dist/i18n/messagebundle_pt.properties +52 -0
  118. package/dist/i18n/messagebundle_pt_PT.properties +52 -0
  119. package/dist/i18n/messagebundle_ro.properties +52 -0
  120. package/dist/i18n/messagebundle_ru.properties +52 -0
  121. package/dist/i18n/messagebundle_sh.properties +52 -0
  122. package/dist/i18n/messagebundle_sk.properties +52 -0
  123. package/dist/i18n/messagebundle_sl.properties +52 -0
  124. package/dist/i18n/messagebundle_sv.properties +52 -0
  125. package/dist/i18n/messagebundle_th.properties +52 -0
  126. package/dist/i18n/messagebundle_tr.properties +52 -0
  127. package/dist/i18n/messagebundle_uk.properties +53 -1
  128. package/dist/i18n/messagebundle_vi.properties +52 -0
  129. package/dist/i18n/messagebundle_zh_CN.properties +52 -0
  130. package/dist/i18n/messagebundle_zh_TW.properties +52 -0
  131. package/dist/illustrations/tnt/ChartArea.js +20 -0
  132. package/dist/illustrations/tnt/ChartArea2.js +20 -0
  133. package/dist/illustrations/tnt/ChartBPMNFlow.js +20 -0
  134. package/dist/illustrations/tnt/ChartBar.js +20 -0
  135. package/dist/illustrations/tnt/ChartBullet.js +20 -0
  136. package/dist/illustrations/tnt/ChartDoughnut.js +20 -0
  137. package/dist/illustrations/tnt/ChartFlow.js +20 -0
  138. package/dist/illustrations/tnt/ChartGantt.js +20 -0
  139. package/dist/illustrations/tnt/ChartOrg.js +20 -0
  140. package/dist/illustrations/tnt/ChartPie.js +20 -0
  141. package/dist/illustrations/tnt/Components.js +20 -0
  142. package/dist/illustrations/tnt/Secrets.js +20 -0
  143. package/dist/illustrations/tnt/Systems.js +20 -0
  144. package/dist/illustrations/tnt/Teams.js +20 -0
  145. package/dist/illustrations/tnt/Tools.js +20 -0
  146. package/dist/illustrations/tnt/UnableToLoad.js +20 -0
  147. package/dist/illustrations/tnt/User2.js +20 -0
  148. package/dist/illustrations/tnt/tnt-Dialog-ChartArea.js +14 -0
  149. package/dist/illustrations/tnt/tnt-Dialog-ChartArea2.js +12 -0
  150. package/dist/illustrations/tnt/tnt-Dialog-ChartBPMNFlow.js +13 -0
  151. package/dist/illustrations/tnt/tnt-Dialog-ChartBar.js +12 -0
  152. package/dist/illustrations/tnt/tnt-Dialog-ChartBullet.js +14 -0
  153. package/dist/illustrations/tnt/tnt-Dialog-ChartDoughnut.js +13 -0
  154. package/dist/illustrations/tnt/tnt-Dialog-ChartFlow.js +13 -0
  155. package/dist/illustrations/tnt/tnt-Dialog-ChartGantt.js +17 -0
  156. package/dist/illustrations/tnt/tnt-Dialog-ChartOrg.js +15 -0
  157. package/dist/illustrations/tnt/tnt-Dialog-ChartPie.js +12 -0
  158. package/dist/illustrations/tnt/tnt-Dialog-CodePlaceholder.js +5 -5
  159. package/dist/illustrations/tnt/tnt-Dialog-Company.js +12 -12
  160. package/dist/illustrations/tnt/tnt-Dialog-Components.js +9 -0
  161. package/dist/illustrations/tnt/tnt-Dialog-ExternalLink.js +10 -10
  162. package/dist/illustrations/tnt/tnt-Dialog-FaceID.js +16 -16
  163. package/dist/illustrations/tnt/tnt-Dialog-Fingerprint.js +15 -15
  164. package/dist/illustrations/tnt/tnt-Dialog-Lock.js +11 -11
  165. package/dist/illustrations/tnt/tnt-Dialog-Mission.js +17 -17
  166. package/dist/illustrations/tnt/tnt-Dialog-NoApplications.js +15 -15
  167. package/dist/illustrations/tnt/tnt-Dialog-NoFlows.js +11 -11
  168. package/dist/illustrations/tnt/tnt-Dialog-NoUsers.js +15 -15
  169. package/dist/illustrations/tnt/tnt-Dialog-Radar.js +14 -14
  170. package/dist/illustrations/tnt/tnt-Dialog-Secrets.js +12 -0
  171. package/dist/illustrations/tnt/tnt-Dialog-Services.js +15 -15
  172. package/dist/illustrations/tnt/tnt-Dialog-SessionExpired.js +10 -10
  173. package/dist/illustrations/tnt/tnt-Dialog-SessionExpiring.js +9 -9
  174. package/dist/illustrations/tnt/tnt-Dialog-Success.js +9 -9
  175. package/dist/illustrations/tnt/tnt-Dialog-SuccessfulAuth.js +9 -9
  176. package/dist/illustrations/tnt/tnt-Dialog-Systems.js +12 -0
  177. package/dist/illustrations/tnt/tnt-Dialog-Teams.js +17 -0
  178. package/dist/illustrations/tnt/tnt-Dialog-Tools.js +12 -0
  179. package/dist/illustrations/tnt/tnt-Dialog-UnableToLoad.js +10 -0
  180. package/dist/illustrations/tnt/tnt-Dialog-Unlock.js +11 -11
  181. package/dist/illustrations/tnt/tnt-Dialog-UnsuccessfulAuth.js +10 -10
  182. package/dist/illustrations/tnt/tnt-Dialog-User2.js +13 -0
  183. package/dist/illustrations/tnt/tnt-Scene-ChartArea.js +22 -0
  184. package/dist/illustrations/tnt/tnt-Scene-ChartArea2.js +19 -0
  185. package/dist/illustrations/tnt/tnt-Scene-ChartBPMNFlow.js +21 -0
  186. package/dist/illustrations/tnt/tnt-Scene-ChartBar.js +19 -0
  187. package/dist/illustrations/tnt/tnt-Scene-ChartBullet.js +20 -0
  188. package/dist/illustrations/tnt/tnt-Scene-ChartDoughnut.js +19 -0
  189. package/dist/illustrations/tnt/tnt-Scene-ChartFlow.js +20 -0
  190. package/dist/illustrations/tnt/tnt-Scene-ChartGantt.js +26 -0
  191. package/dist/illustrations/tnt/tnt-Scene-ChartOrg.js +27 -0
  192. package/dist/illustrations/tnt/tnt-Scene-ChartPie.js +18 -0
  193. package/dist/illustrations/tnt/tnt-Scene-CodePlaceholder.js +8 -8
  194. package/dist/illustrations/tnt/tnt-Scene-Company.js +29 -29
  195. package/dist/illustrations/tnt/tnt-Scene-Components.js +16 -0
  196. package/dist/illustrations/tnt/tnt-Scene-ExternalLink.js +13 -13
  197. package/dist/illustrations/tnt/tnt-Scene-FaceID.js +20 -20
  198. package/dist/illustrations/tnt/tnt-Scene-Fingerprint.js +34 -34
  199. package/dist/illustrations/tnt/tnt-Scene-Lock.js +21 -21
  200. package/dist/illustrations/tnt/tnt-Scene-Mission.js +18 -18
  201. package/dist/illustrations/tnt/tnt-Scene-NoApplications.js +17 -17
  202. package/dist/illustrations/tnt/tnt-Scene-NoFlows.js +19 -19
  203. package/dist/illustrations/tnt/tnt-Scene-NoUsers.js +16 -16
  204. package/dist/illustrations/tnt/tnt-Scene-Radar.js +19 -19
  205. package/dist/illustrations/tnt/tnt-Scene-Secrets.js +15 -0
  206. package/dist/illustrations/tnt/tnt-Scene-Services.js +16 -16
  207. package/dist/illustrations/tnt/tnt-Scene-SessionExpired.js +17 -17
  208. package/dist/illustrations/tnt/tnt-Scene-SessionExpiring.js +16 -16
  209. package/dist/illustrations/tnt/tnt-Scene-Success.js +17 -17
  210. package/dist/illustrations/tnt/tnt-Scene-SuccessfulAuth.js +19 -19
  211. package/dist/illustrations/tnt/tnt-Scene-Systems.js +13 -0
  212. package/dist/illustrations/tnt/tnt-Scene-Teams.js +20 -0
  213. package/dist/illustrations/tnt/tnt-Scene-Tools.js +19 -0
  214. package/dist/illustrations/tnt/tnt-Scene-UnableToLoad.js +21 -0
  215. package/dist/illustrations/tnt/tnt-Scene-Unlock.js +14 -14
  216. package/dist/illustrations/tnt/tnt-Scene-UnsuccessfulAuth.js +21 -21
  217. package/dist/illustrations/tnt/tnt-Scene-User2.js +22 -0
  218. package/dist/illustrations/tnt/tnt-Spot-ChartArea.js +13 -0
  219. package/dist/illustrations/tnt/tnt-Spot-ChartArea2.js +7 -0
  220. package/dist/illustrations/tnt/tnt-Spot-ChartBPMNFlow.js +9 -0
  221. package/dist/illustrations/tnt/tnt-Spot-ChartBar.js +8 -0
  222. package/dist/illustrations/tnt/tnt-Spot-ChartBullet.js +10 -0
  223. package/dist/illustrations/tnt/tnt-Spot-ChartDoughnut.js +9 -0
  224. package/dist/illustrations/tnt/tnt-Spot-ChartFlow.js +8 -0
  225. package/dist/illustrations/tnt/tnt-Spot-ChartGantt.js +12 -0
  226. package/dist/illustrations/tnt/tnt-Spot-ChartOrg.js +6 -0
  227. package/dist/illustrations/tnt/tnt-Spot-ChartPie.js +8 -0
  228. package/dist/illustrations/tnt/tnt-Spot-CodePlaceholder.js +5 -5
  229. package/dist/illustrations/tnt/tnt-Spot-Company.js +12 -12
  230. package/dist/illustrations/tnt/tnt-Spot-Components.js +5 -0
  231. package/dist/illustrations/tnt/tnt-Spot-ExternalLink.js +8 -8
  232. package/dist/illustrations/tnt/tnt-Spot-FaceID.js +15 -15
  233. package/dist/illustrations/tnt/tnt-Spot-Fingerprint.js +9 -9
  234. package/dist/illustrations/tnt/tnt-Spot-Lock.js +12 -12
  235. package/dist/illustrations/tnt/tnt-Spot-Mission.js +16 -16
  236. package/dist/illustrations/tnt/tnt-Spot-NoApplications.js +11 -11
  237. package/dist/illustrations/tnt/tnt-Spot-NoFlows.js +8 -8
  238. package/dist/illustrations/tnt/tnt-Spot-NoUsers.js +11 -11
  239. package/dist/illustrations/tnt/tnt-Spot-Radar.js +13 -13
  240. package/dist/illustrations/tnt/tnt-Spot-Secrets.js +9 -0
  241. package/dist/illustrations/tnt/tnt-Spot-Services.js +13 -14
  242. package/dist/illustrations/tnt/tnt-Spot-SessionExpired.js +8 -8
  243. package/dist/illustrations/tnt/tnt-Spot-SessionExpiring.js +8 -8
  244. package/dist/illustrations/tnt/tnt-Spot-Success.js +8 -8
  245. package/dist/illustrations/tnt/tnt-Spot-SuccessfulAuth.js +8 -8
  246. package/dist/illustrations/tnt/tnt-Spot-Systems.js +10 -0
  247. package/dist/illustrations/tnt/tnt-Spot-Teams.js +13 -0
  248. package/dist/illustrations/tnt/tnt-Spot-Tools.js +7 -0
  249. package/dist/illustrations/tnt/tnt-Spot-UnableToLoad.js +9 -0
  250. package/dist/illustrations/tnt/tnt-Spot-Unlock.js +10 -10
  251. package/dist/illustrations/tnt/tnt-Spot-UnsuccessfulAuth.js +9 -9
  252. package/dist/illustrations/tnt/tnt-Spot-User2.js +10 -0
  253. package/dist/types/IllustrationMessageType.js +102 -0
  254. package/package.json +10 -8
  255. package/src/Bar.js +3 -2
  256. package/src/BarcodeScannerDialog.js +2 -2
  257. package/src/DynamicSideContent.js +4 -5
  258. package/src/FilterItem.js +2 -2
  259. package/src/FilterItemOption.js +2 -2
  260. package/src/FlexibleColumnLayout.hbs +8 -5
  261. package/src/FlexibleColumnLayout.js +31 -3
  262. package/src/IllustratedMessage.js +7 -1
  263. package/src/Interfaces.js +10 -0
  264. package/src/MediaGallery.js +1 -1
  265. package/src/MediaGalleryItem.js +4 -5
  266. package/src/NotificationListGroupItem.hbs +3 -3
  267. package/src/NotificationListItem.hbs +2 -2
  268. package/src/NotificationListItem.js +1 -2
  269. package/src/Page.js +2 -2
  270. package/src/ShellBar.hbs +8 -11
  271. package/src/ShellBar.js +13 -6
  272. package/src/SideNavigation.js +5 -2
  273. package/src/SortItem.js +2 -2
  274. package/src/Timeline.hbs +1 -1
  275. package/src/Timeline.js +16 -2
  276. package/src/TimelineItem.js +1 -1
  277. package/src/UploadCollection.js +1 -1
  278. package/src/UploadCollectionItem.hbs +3 -3
  279. package/src/ViewSettingsDialog.hbs +3 -3
  280. package/src/ViewSettingsDialog.js +27 -8
  281. package/src/Wizard.js +2 -2
  282. package/src/WizardPopover.hbs +0 -1
  283. package/src/WizardStep.js +3 -3
  284. package/src/WizardTab.js +5 -5
  285. package/src/i18n/messagebundle_ar.properties +52 -0
  286. package/src/i18n/messagebundle_bg.properties +52 -0
  287. package/src/i18n/messagebundle_ca.properties +52 -0
  288. package/src/i18n/messagebundle_cs.properties +52 -0
  289. package/src/i18n/messagebundle_cy.properties +52 -0
  290. package/src/i18n/messagebundle_da.properties +52 -0
  291. package/src/i18n/messagebundle_de.properties +52 -0
  292. package/src/i18n/messagebundle_el.properties +52 -0
  293. package/src/i18n/messagebundle_en.properties +52 -0
  294. package/src/i18n/messagebundle_en_GB.properties +52 -0
  295. package/src/i18n/messagebundle_es.properties +52 -0
  296. package/src/i18n/messagebundle_es_MX.properties +52 -0
  297. package/src/i18n/messagebundle_et.properties +52 -0
  298. package/src/i18n/messagebundle_fi.properties +52 -0
  299. package/src/i18n/messagebundle_fr.properties +52 -0
  300. package/src/i18n/messagebundle_fr_CA.properties +52 -0
  301. package/src/i18n/messagebundle_hi.properties +52 -0
  302. package/src/i18n/messagebundle_hr.properties +52 -0
  303. package/src/i18n/messagebundle_hu.properties +52 -0
  304. package/src/i18n/messagebundle_id.properties +52 -0
  305. package/src/i18n/messagebundle_it.properties +52 -0
  306. package/src/i18n/messagebundle_iw.properties +52 -0
  307. package/src/i18n/messagebundle_ja.properties +52 -0
  308. package/src/i18n/messagebundle_kk.properties +52 -0
  309. package/src/i18n/messagebundle_ko.properties +52 -0
  310. package/src/i18n/messagebundle_lt.properties +52 -0
  311. package/src/i18n/messagebundle_lv.properties +52 -0
  312. package/src/i18n/messagebundle_ms.properties +52 -0
  313. package/src/i18n/messagebundle_nl.properties +52 -0
  314. package/src/i18n/messagebundle_no.properties +52 -0
  315. package/src/i18n/messagebundle_pl.properties +52 -0
  316. package/src/i18n/messagebundle_pt.properties +52 -0
  317. package/src/i18n/messagebundle_pt_PT.properties +52 -0
  318. package/src/i18n/messagebundle_ro.properties +52 -0
  319. package/src/i18n/messagebundle_ru.properties +52 -0
  320. package/src/i18n/messagebundle_sh.properties +52 -0
  321. package/src/i18n/messagebundle_sk.properties +52 -0
  322. package/src/i18n/messagebundle_sl.properties +52 -0
  323. package/src/i18n/messagebundle_sv.properties +52 -0
  324. package/src/i18n/messagebundle_th.properties +52 -0
  325. package/src/i18n/messagebundle_tr.properties +52 -0
  326. package/src/i18n/messagebundle_uk.properties +53 -1
  327. package/src/i18n/messagebundle_vi.properties +52 -0
  328. package/src/i18n/messagebundle_zh_CN.properties +52 -0
  329. package/src/i18n/messagebundle_zh_TW.properties +52 -0
  330. package/src/illustrations/tnt/tnt-Dialog-ChartArea.svg +14 -0
  331. package/src/illustrations/tnt/tnt-Dialog-ChartArea2.svg +12 -0
  332. package/src/illustrations/tnt/tnt-Dialog-ChartBPMNFlow.svg +13 -0
  333. package/src/illustrations/tnt/tnt-Dialog-ChartBar.svg +12 -0
  334. package/src/illustrations/tnt/tnt-Dialog-ChartBullet.svg +14 -0
  335. package/src/illustrations/tnt/tnt-Dialog-ChartDoughnut.svg +13 -0
  336. package/src/illustrations/tnt/tnt-Dialog-ChartFlow.svg +13 -0
  337. package/src/illustrations/tnt/tnt-Dialog-ChartGantt.svg +17 -0
  338. package/src/illustrations/tnt/tnt-Dialog-ChartOrg.svg +15 -0
  339. package/src/illustrations/tnt/tnt-Dialog-ChartPie.svg +12 -0
  340. package/src/illustrations/tnt/tnt-Dialog-CodePlaceholder.svg +5 -5
  341. package/src/illustrations/tnt/tnt-Dialog-Company.svg +12 -12
  342. package/src/illustrations/tnt/tnt-Dialog-Components.svg +9 -0
  343. package/src/illustrations/tnt/tnt-Dialog-ExternalLink.svg +10 -10
  344. package/src/illustrations/tnt/tnt-Dialog-FaceID.svg +16 -16
  345. package/src/illustrations/tnt/tnt-Dialog-Fingerprint.svg +15 -15
  346. package/src/illustrations/tnt/tnt-Dialog-Lock.svg +11 -11
  347. package/src/illustrations/tnt/tnt-Dialog-Mission.svg +17 -17
  348. package/src/illustrations/tnt/tnt-Dialog-NoApplications.svg +15 -15
  349. package/src/illustrations/tnt/tnt-Dialog-NoFlows.svg +11 -11
  350. package/src/illustrations/tnt/tnt-Dialog-NoUsers.svg +15 -15
  351. package/src/illustrations/tnt/tnt-Dialog-Radar.svg +14 -14
  352. package/src/illustrations/tnt/tnt-Dialog-Secrets.svg +11 -0
  353. package/src/illustrations/tnt/tnt-Dialog-Services.svg +15 -15
  354. package/src/illustrations/tnt/tnt-Dialog-SessionExpired.svg +10 -10
  355. package/src/illustrations/tnt/tnt-Dialog-SessionExpiring.svg +9 -9
  356. package/src/illustrations/tnt/tnt-Dialog-Success.svg +9 -9
  357. package/src/illustrations/tnt/tnt-Dialog-SuccessfulAuth.svg +9 -9
  358. package/src/illustrations/tnt/tnt-Dialog-Systems.svg +11 -0
  359. package/src/illustrations/tnt/tnt-Dialog-Teams.svg +17 -0
  360. package/src/illustrations/tnt/tnt-Dialog-Tools.svg +12 -0
  361. package/src/illustrations/tnt/tnt-Dialog-UnableToLoad.svg +9 -0
  362. package/src/illustrations/tnt/tnt-Dialog-Unlock.svg +11 -11
  363. package/src/illustrations/tnt/tnt-Dialog-UnsuccessfulAuth.svg +10 -10
  364. package/src/illustrations/tnt/tnt-Dialog-User2.svg +13 -0
  365. package/src/illustrations/tnt/tnt-Scene-ChartArea.svg +22 -0
  366. package/src/illustrations/tnt/tnt-Scene-ChartArea2.svg +19 -0
  367. package/src/illustrations/tnt/tnt-Scene-ChartBPMNFlow.svg +21 -0
  368. package/src/illustrations/tnt/tnt-Scene-ChartBar.svg +19 -0
  369. package/src/illustrations/tnt/tnt-Scene-ChartBullet.svg +20 -0
  370. package/src/illustrations/tnt/tnt-Scene-ChartDoughnut.svg +19 -0
  371. package/src/illustrations/tnt/tnt-Scene-ChartFlow.svg +20 -0
  372. package/src/illustrations/tnt/tnt-Scene-ChartGantt.svg +26 -0
  373. package/src/illustrations/tnt/tnt-Scene-ChartOrg.svg +26 -0
  374. package/src/illustrations/tnt/tnt-Scene-ChartPie.svg +18 -0
  375. package/src/illustrations/tnt/tnt-Scene-CodePlaceholder.svg +8 -8
  376. package/src/illustrations/tnt/tnt-Scene-Company.svg +29 -29
  377. package/src/illustrations/tnt/tnt-Scene-Components.svg +16 -0
  378. package/src/illustrations/tnt/tnt-Scene-ExternalLink.svg +13 -13
  379. package/src/illustrations/tnt/tnt-Scene-FaceID.svg +20 -20
  380. package/src/illustrations/tnt/tnt-Scene-Fingerprint.svg +34 -34
  381. package/src/illustrations/tnt/tnt-Scene-Lock.svg +21 -21
  382. package/src/illustrations/tnt/tnt-Scene-Mission.svg +18 -18
  383. package/src/illustrations/tnt/tnt-Scene-NoApplications.svg +17 -17
  384. package/src/illustrations/tnt/tnt-Scene-NoFlows.svg +19 -19
  385. package/src/illustrations/tnt/tnt-Scene-NoUsers.svg +16 -16
  386. package/src/illustrations/tnt/tnt-Scene-Radar.svg +19 -19
  387. package/src/illustrations/tnt/tnt-Scene-Secrets.svg +14 -0
  388. package/src/illustrations/tnt/tnt-Scene-Services.svg +16 -16
  389. package/src/illustrations/tnt/tnt-Scene-SessionExpired.svg +17 -17
  390. package/src/illustrations/tnt/tnt-Scene-SessionExpiring.svg +16 -16
  391. package/src/illustrations/tnt/tnt-Scene-Success.svg +17 -17
  392. package/src/illustrations/tnt/tnt-Scene-SuccessfulAuth.svg +19 -19
  393. package/src/illustrations/tnt/tnt-Scene-Systems.svg +12 -0
  394. package/src/illustrations/tnt/tnt-Scene-Teams.svg +20 -0
  395. package/src/illustrations/tnt/tnt-Scene-Tools.svg +18 -0
  396. package/src/illustrations/tnt/tnt-Scene-UnableToLoad.svg +20 -0
  397. package/src/illustrations/tnt/tnt-Scene-Unlock.svg +14 -14
  398. package/src/illustrations/tnt/tnt-Scene-UnsuccessfulAuth.svg +21 -21
  399. package/src/illustrations/tnt/tnt-Scene-User2.svg +22 -0
  400. package/src/illustrations/tnt/tnt-Spot-ChartArea.svg +13 -0
  401. package/src/illustrations/tnt/tnt-Spot-ChartArea2.svg +7 -0
  402. package/src/illustrations/tnt/tnt-Spot-ChartBPMNFlow.svg +9 -0
  403. package/src/illustrations/tnt/tnt-Spot-ChartBar.svg +8 -0
  404. package/src/illustrations/tnt/tnt-Spot-ChartBullet.svg +10 -0
  405. package/src/illustrations/tnt/tnt-Spot-ChartDoughnut.svg +9 -0
  406. package/src/illustrations/tnt/tnt-Spot-ChartFlow.svg +8 -0
  407. package/src/illustrations/tnt/tnt-Spot-ChartGantt.svg +12 -0
  408. package/src/illustrations/tnt/tnt-Spot-ChartOrg.svg +6 -0
  409. package/src/illustrations/tnt/tnt-Spot-ChartPie.svg +8 -0
  410. package/src/illustrations/tnt/tnt-Spot-CodePlaceholder.svg +5 -5
  411. package/src/illustrations/tnt/tnt-Spot-Company.svg +12 -12
  412. package/src/illustrations/tnt/tnt-Spot-Components.svg +5 -0
  413. package/src/illustrations/tnt/tnt-Spot-ExternalLink.svg +8 -8
  414. package/src/illustrations/tnt/tnt-Spot-FaceID.svg +15 -15
  415. package/src/illustrations/tnt/tnt-Spot-Fingerprint.svg +9 -9
  416. package/src/illustrations/tnt/tnt-Spot-Lock.svg +12 -12
  417. package/src/illustrations/tnt/tnt-Spot-Mission.svg +16 -16
  418. package/src/illustrations/tnt/tnt-Spot-NoApplications.svg +11 -11
  419. package/src/illustrations/tnt/tnt-Spot-NoFlows.svg +8 -8
  420. package/src/illustrations/tnt/tnt-Spot-NoUsers.svg +11 -11
  421. package/src/illustrations/tnt/tnt-Spot-Radar.svg +13 -13
  422. package/src/illustrations/tnt/tnt-Spot-Secrets.svg +9 -0
  423. package/src/illustrations/tnt/tnt-Spot-Services.svg +13 -14
  424. package/src/illustrations/tnt/tnt-Spot-SessionExpired.svg +8 -8
  425. package/src/illustrations/tnt/tnt-Spot-SessionExpiring.svg +8 -8
  426. package/src/illustrations/tnt/tnt-Spot-Success.svg +8 -8
  427. package/src/illustrations/tnt/tnt-Spot-SuccessfulAuth.svg +8 -8
  428. package/src/illustrations/tnt/tnt-Spot-Systems.svg +10 -0
  429. package/src/illustrations/tnt/tnt-Spot-Teams.svg +13 -0
  430. package/src/illustrations/tnt/tnt-Spot-Tools.svg +7 -0
  431. package/src/illustrations/tnt/tnt-Spot-UnableToLoad.svg +8 -0
  432. package/src/illustrations/tnt/tnt-Spot-Unlock.svg +10 -10
  433. package/src/illustrations/tnt/tnt-Spot-UnsuccessfulAuth.svg +9 -9
  434. package/src/illustrations/tnt/tnt-Spot-User2.svg +10 -0
  435. package/src/themes/BarcodeScannerDialog.css +0 -5
  436. package/src/themes/ViewSettingsDialog.css +11 -0
  437. package/src/themes/Wizard.css +1 -1
  438. package/src/themes/WizardPopover.css +1 -1
  439. package/src/types/IllustrationMessageType.js +102 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,34 @@
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.2.0](https://github.com/SAP/ui5-webcomponents/compare/v1.1.2...v1.2.0) (2022-02-28)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * correct scoping issues with several components ([#4820](https://github.com/SAP/ui5-webcomponents/issues/4820)) ([621dc20](https://github.com/SAP/ui5-webcomponents/commit/621dc20))
12
+ * **ui5-flexible-column-layout:** fix accessibility of hidden columns ([#4811](https://github.com/SAP/ui5-webcomponents/issues/4811)) ([d9f514f](https://github.com/SAP/ui5-webcomponents/commit/d9f514f)), closes [#4789](https://github.com/SAP/ui5-webcomponents/issues/4789)
13
+ * **ui5-media-gallery-item:** correct jsdoc ([#4819](https://github.com/SAP/ui5-webcomponents/issues/4819)) ([5783fa7](https://github.com/SAP/ui5-webcomponents/commit/5783fa7))
14
+ * **ui5-view-settings-dialog:** improve `title` text accessibility ([#4783](https://github.com/SAP/ui5-webcomponents/issues/4783)) ([88a13df](https://github.com/SAP/ui5-webcomponents/commit/88a13df)), closes [#4660](https://github.com/SAP/ui5-webcomponents/issues/4660)
15
+ * **ui5-wizard:** prevent unnecessary content scrolling ([#4774](https://github.com/SAP/ui5-webcomponents/issues/4774)) ([751db3f](https://github.com/SAP/ui5-webcomponents/commit/751db3f))
16
+ * scoped bundles ([#4745](https://github.com/SAP/ui5-webcomponents/issues/4745)) ([2cd4c7e](https://github.com/SAP/ui5-webcomponents/commit/2cd4c7e))
17
+
18
+
19
+ ### Features
20
+
21
+ * **ui5-breadcrumbs:** allow preventDefault in item-click event listener ([#4589](https://github.com/SAP/ui5-webcomponents/issues/4589)) ([ccb4c83](https://github.com/SAP/ui5-webcomponents/commit/ccb4c83))
22
+ * **ui5-button:** add new `tooltip` property ([#4737](https://github.com/SAP/ui5-webcomponents/issues/4737)) ([df8f013](https://github.com/SAP/ui5-webcomponents/commit/df8f013)), closes [#4689](https://github.com/SAP/ui5-webcomponents/issues/4689)
23
+ * **ui5-button:** implement accessibilityAttributes property ([#4655](https://github.com/SAP/ui5-webcomponents/issues/4655)) ([d27c4b5](https://github.com/SAP/ui5-webcomponents/commit/d27c4b5)), closes [#3546](https://github.com/SAP/ui5-webcomponents/issues/3546)
24
+ * **ui5-illustrated-message:** add TNT illustrations ([#4710](https://github.com/SAP/ui5-webcomponents/issues/4710)) ([822a73c](https://github.com/SAP/ui5-webcomponents/commit/822a73c))
25
+ * **ui5-popup:** аdd default responsive paddings ([#4567](https://github.com/SAP/ui5-webcomponents/issues/4567)) ([ddc1e39](https://github.com/SAP/ui5-webcomponents/commit/ddc1e39)), closes [#4402](https://github.com/SAP/ui5-webcomponents/issues/4402)
26
+ * **ui5-side-navigation:** make selection-change event preventable ([#4732](https://github.com/SAP/ui5-webcomponents/issues/4732)) ([d908465](https://github.com/SAP/ui5-webcomponents/commit/d908465)), closes [#4700](https://github.com/SAP/ui5-webcomponents/issues/4700)
27
+ * **ui5-timeline:** add `accessible-name` support ([#4721](https://github.com/SAP/ui5-webcomponents/issues/4721)) ([0562e89](https://github.com/SAP/ui5-webcomponents/commit/0562e89)), closes [#4644](https://github.com/SAP/ui5-webcomponents/issues/4644)
28
+ * **ui5-view-settings-dialog:** add more event.details to confirm/cancel events ([#4772](https://github.com/SAP/ui5-webcomponents/issues/4772)) ([a3eca7a](https://github.com/SAP/ui5-webcomponents/commit/a3eca7a)), closes [#4539](https://github.com/SAP/ui5-webcomponents/issues/4539)
29
+
30
+
31
+
32
+
33
+
6
34
  ## [1.1.2](https://github.com/SAP/ui5-webcomponents/compare/v1.1.1...v1.1.2) (2022-01-26)
7
35
 
8
36
 
package/README.md CHANGED
@@ -14,8 +14,11 @@ such as a common header (ShellBar).
14
14
  |-------------------------------------------|--------------------------------|-----------------------------------------------------------------------|
15
15
  | Bar | `ui5-bar` | `import "@ui5/webcomponents-fiori/dist/Bar.js";` |
16
16
  | Barcode Scanner Dialog | `ui5-barcode-scanner-dialog` | `import "@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js";` |
17
+ | Dynamic Side Content | `ui5-dynamic-side-content` | `import "@ui5/webcomponents-fiori/dist/DynamicSideContent.js";` |
17
18
  | Flexible Column Layout | `ui5-flexible-column-layout` | `import "@ui5/webcomponents-fiori/dist/FlexibleColumnLayout.js";` |
18
19
  | Illustrated Message | `ui5-illustrated-message` | `import "@ui5/webcomponents-fiori/dist/IllustratedMessage.js";` |
20
+ | Media Gallery | `ui5-media-gallery` | `import "@ui5/webcomponents-fiori/dist/MediaGallery.js";` |
21
+ | Media Gallery Item | `ui5-media-gallery-item` | comes with `ui5-media-gallery` |
19
22
  | Notification List Item | `ui5-li-notifcation` | `import "@ui5/webcomponents-fiori/dist/NotifcationListItem.js";` |
20
23
  | Notification Group List Item | `ui5-li-notification-group` | `import "@ui5/webcomponents-fiori/dist/NotifcationListGroupItem.js";` |
21
24
  | Notification Action | `ui5-notification-action` | `import "@ui5/webcomponents-fiori/dist/NotificationAction.js";` |
package/dist/Bar.js CHANGED
@@ -39,7 +39,7 @@ const metadata = {
39
39
 
40
40
  /**
41
41
  * Defines if the component middle area needs to be centered between start and end area
42
- * @type {Boolean}
42
+ * @type {boolean}
43
43
  * @private
44
44
  */
45
45
  _shrinked: {
@@ -60,7 +60,7 @@ const metadata = {
60
60
  /**
61
61
  * Defines the content in the middle of the bar
62
62
  * @type {HTMLElement[]}
63
- * @slot
63
+ * @slot middleContent
64
64
  * @public
65
65
  */
66
66
  "default": {
@@ -125,6 +125,7 @@ const metadata = {
125
125
  * @constructor
126
126
  * @author SAP SE
127
127
  * @alias sap.ui.webcomponents.fiori.Bar
128
+ * @implements sap.ui.webcomponents.fiori.IBar
128
129
  * @extends UI5Element
129
130
  * @tagname ui5-bar
130
131
  * @public
@@ -56,7 +56,7 @@ const metadata = {
56
56
  * Fires when the scan is completed successfuuly.
57
57
  *
58
58
  * @event sap.ui.webcomponents.fiori.BarcodeScannerDialog#scan-success
59
- * @param {String} text the scan result as string
59
+ * @param {string} text the scan result as string
60
60
  * @param {Object} rawBytes the scan result as a Uint8Array
61
61
  * @public
62
62
  */
@@ -71,7 +71,7 @@ const metadata = {
71
71
  * Fires when the scan fails with error.
72
72
  *
73
73
  * @event sap.ui.webcomponents.fiori.BarcodeScannerDialog#scan-error
74
- * @param {String} message the error message
74
+ * @param {string} message the error message
75
75
  * @public
76
76
  */
77
77
  "scan-error": {
@@ -202,10 +202,10 @@ const metadata = {
202
202
  /**
203
203
  * Fires when the current breakpoint has been changed.
204
204
  * @event sap.ui.webcomponents.fiori.DynamicSideContent#layout-change
205
- * @param {String} currentBreakpoint the current breakpoint.
206
- * @param {String} previousBreakpoint the breakpoint that was active before change to current breakpoint.
207
- * @param {Boolean} mainContentVisible visibility of the main content.
208
- * @param {Boolean} sideContentVisible visibility of the side content.
205
+ * @param {string} currentBreakpoint the current breakpoint.
206
+ * @param {string} previousBreakpoint the breakpoint that was active before change to current breakpoint.
207
+ * @param {boolean} mainContentVisible visibility of the main content.
208
+ * @param {boolean} sideContentVisible visibility of the side content.
209
209
  * @public
210
210
  */
211
211
  "layout-change": {
@@ -345,7 +345,6 @@ class DynamicSideContent extends UI5Element {
345
345
 
346
346
  /**
347
347
  * Toggles visibility of main and side contents on S screen size (mobile device).
348
- * @type {String}
349
348
  * @public
350
349
  */
351
350
  toggleContents() {
@@ -14,7 +14,7 @@ const metadata = {
14
14
  /**
15
15
  * Defines the text of the component.
16
16
  *
17
- * @type {String}
17
+ * @type {string}
18
18
  * @defaultvalue ""
19
19
  * @public
20
20
  */
@@ -25,7 +25,7 @@ const metadata = {
25
25
  /**
26
26
  * Defines the additional text of the component.
27
27
  *
28
- * @type {String}
28
+ * @type {string}
29
29
  * @defaultvalue ""
30
30
  * @private
31
31
  */
@@ -10,7 +10,7 @@ const metadata = {
10
10
  * Defines the text of the component.
11
11
  *
12
12
  * @public
13
- * @type {String}
13
+ * @type {string}
14
14
  * @defaultvalue ""
15
15
  */
16
16
  text: {
@@ -21,7 +21,7 @@ const metadata = {
21
21
  * Defines whether the option is selected
22
22
  *
23
23
  * @public
24
- * @type {Boolean}
24
+ * @type {boolean}
25
25
  * @defaultvalue false
26
26
  */
27
27
  selected: {
@@ -705,15 +705,24 @@ class FlexibleColumnLayout extends UI5Element {
705
705
  }
706
706
 
707
707
  get accStartColumnRole() {
708
- return this.accessibilityRoles.startColumnRole || "region";
708
+ if (this.startColumnVisible) {
709
+ return this.accessibilityRoles.startColumnRole || "region";
710
+ }
711
+ return undefined;
709
712
  }
710
713
 
711
714
  get accMiddleColumnRole() {
712
- return this.accessibilityRoles.midColumnRole || "region";
715
+ if (this.midColumnVisible) {
716
+ return this.accessibilityRoles.midColumnRole || "region";
717
+ }
718
+ return undefined;
713
719
  }
714
720
 
715
721
  get accEndColumnRole() {
716
- return this.accessibilityRoles.endColumnRole || "region";
722
+ if (this.endColumnVisible) {
723
+ return this.accessibilityRoles.endColumnRole || "region";
724
+ }
725
+ return undefined;
717
726
  }
718
727
 
719
728
  get accStartArrowContainerRole() {
@@ -728,6 +737,25 @@ class FlexibleColumnLayout extends UI5Element {
728
737
  return this._layoutsConfiguration || getLayoutsByMedia();
729
738
  }
730
739
 
740
+ get _accAttributes() {
741
+ return {
742
+ columns: {
743
+ start: {
744
+ role: this.accStartColumnRole,
745
+ ariaHidden: !this.startColumnVisible || undefined,
746
+ },
747
+ middle: {
748
+ role: this.accMiddleColumnRole,
749
+ ariaHidden: !this.midColumnVisible || undefined,
750
+ },
751
+ end: {
752
+ role: this.accEndColumnRole,
753
+ ariaHidden: !this.endColumnVisible || undefined,
754
+ },
755
+ },
756
+ };
757
+ }
758
+
731
759
  get accStartArrowText() {
732
760
  const customTexts = this.accessibilityTexts;
733
761
 
@@ -200,6 +200,10 @@ const metadata = {
200
200
  * <b>Note:</b> By default the “BeforeSearch” illustration is loaded. To use other illustrations, make sure you import them in addition, for example:
201
201
  * <br>
202
202
  * <code>import "@ui5/webcomponents-fiori/dist/illustrations/NoData.js"</code>
203
+ * <br>
204
+ * <b>Note:</b> Illustrations starting with the “Tnt” prefix are part of another illustration set. For example to use the “TntSuccess” illustration, add the following import::
205
+ * <br>
206
+ * <code>import "@ui5/webcomponents-fiori/dist/illustrations/tnt/Success.js"</code>
203
207
  *
204
208
  * <h3>Structure</h3>
205
209
  * The IllustratedMessage consists of the following elements, which are displayed below each other in the following order:
@@ -280,8 +284,10 @@ class IllustratedMessage extends UI5Element {
280
284
 
281
285
  if (illustrationData === ILLUSTRATION_NOT_FOUND) {
282
286
  this.invalid = true;
287
+ const illustrationPath = this.name.includes("Tnt") ? `tnt/${this.name.replace("Tnt", "")}` : this.name;
288
+
283
289
  /* eslint-disable-next-line */
284
- 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/${this.name}.js".`);
290
+ 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".`);
285
291
  }
286
292
 
287
293
  this.invalid = false;
@@ -1,3 +1,12 @@
1
+ /**
2
+ * Interface for components that may be slotted inside <code>ui5-page</code> as header and footer.
3
+ *
4
+ * @name sap.ui.webcomponents.fiori.IBar
5
+ * @interface
6
+ * @public
7
+ */
8
+ const IBar = "sap.ui.webcomponents.fiori.IBar";
9
+
1
10
  /**
2
11
  * Interface for components that may be slotted inside <code>ui5-view-settings-dialog</code> as filter items
3
12
  *
@@ -116,6 +125,7 @@ const IUploadCollectionItem = "sap.ui.webcomponents.fiori.IUploadCollectionItem"
116
125
  const IWizardStep = "sap.ui.webcomponents.fiori.IWizardStep";
117
126
 
118
127
  export {
128
+ IBar,
119
129
  IFilterItem,
120
130
  IFilterItemOption,
121
131
  IMediaGalleryItem,
@@ -460,7 +460,7 @@ class MediaGallery extends UI5Element {
460
460
  }
461
461
 
462
462
  _onThumbnailClick(event) {
463
- const item = event.target.closest("ui5-media-gallery-item");
463
+ const item = event.target.closest("[ui5-media-gallery-item]");
464
464
 
465
465
  if (item.disabled) {
466
466
  return;
@@ -123,8 +123,8 @@ const metadata = {
123
123
  /**
124
124
  * Defines the content of the component.
125
125
  *
126
- * @type {HTMLElement[]}
127
- * @slot
126
+ * @type {HTMLElement}
127
+ * @slot content
128
128
  * @public
129
129
  */
130
130
  "default": {
@@ -135,12 +135,11 @@ const metadata = {
135
135
  /**
136
136
  * Defines the content of the thumbnail.
137
137
  *
138
- * @type {HTMLElement[]}
138
+ * @type {HTMLElement}
139
139
  * @slot
140
140
  * @public
141
141
  */
142
142
  "thumbnail": {
143
- propertyName: "thumbnail",
144
143
  type: HTMLElement,
145
144
  },
146
145
  },
@@ -165,7 +164,7 @@ const metadata = {
165
164
  * </ul>
166
165
  *
167
166
  * <h3>ES6 Module Import</h3>
168
- * <code>import "@ui5/webcomponents-fiori/dist/MediaGalleryItem.js";</code>
167
+ * <code>import "@ui5/webcomponents-fiori/dist/MediaGalleryItem.js";</code> (comes with <code>ui5-media-gallery</code>)
169
168
  *
170
169
  * @constructor
171
170
  * @author SAP SE
@@ -99,12 +99,11 @@ const metadata = {
99
99
  /**
100
100
  * Defines the elements, displayed in the footer of the of the component.
101
101
  * @type {HTMLElement[]}
102
- * @slot footnotes
102
+ * @slot
103
103
  * @public
104
104
  */
105
105
  footnotes: {
106
106
  type: HTMLElement,
107
- propertyName: "footnotes",
108
107
  individualSlots: true,
109
108
  },
110
109
 
package/dist/Page.js CHANGED
@@ -91,7 +91,7 @@ const metadata = {
91
91
  /**
92
92
  * Defines the header HTML Element.
93
93
  *
94
- * @type {HTMLElement[]}
94
+ * @type {sap.ui.webcomponents.fiori.IBar}
95
95
  * @slot
96
96
  * @public
97
97
  */
@@ -114,7 +114,7 @@ const metadata = {
114
114
  /**
115
115
  * Defines the footer HTML Element.
116
116
  *
117
- * @type {HTMLElement[]}
117
+ * @type {sap.ui.webcomponents.fiori.IBar}
118
118
  * @slot
119
119
  * @public
120
120
  */
package/dist/ShellBar.js CHANGED
@@ -10,6 +10,7 @@ import StandardListItem from "@ui5/webcomponents/dist/StandardListItem.js";
10
10
  import List from "@ui5/webcomponents/dist/List.js";
11
11
  import Popover from "@ui5/webcomponents/dist/Popover.js";
12
12
  import Button from "@ui5/webcomponents/dist/Button.js";
13
+ import HasPopup from "@ui5/webcomponents/dist/types/HasPopup.js";
13
14
  import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
14
15
  import "@ui5/webcomponents-icons/dist/search.js";
15
16
  import "@ui5/webcomponents-icons/dist/bell.js";
@@ -169,6 +170,7 @@ const metadata = {
169
170
  type: String,
170
171
  multiple: true,
171
172
  },
173
+
172
174
  _menuPopoverExpanded: {
173
175
  type: Boolean,
174
176
  noAttribute: true,
@@ -177,6 +179,7 @@ const metadata = {
177
179
  type: Boolean,
178
180
  noAttribute: true,
179
181
  },
182
+
180
183
  _fullWidthSearch: {
181
184
  type: Boolean,
182
185
  noAttribute: true,
@@ -298,7 +301,7 @@ const metadata = {
298
301
 
299
302
  /**
300
303
  * Fired, when the product switch icon is activated.
301
- * <b>Note:</b> You can prevent closing of oveflow popover by calling <code>event.preventDefault()</code>.
304
+ * <b>Note:</b> You can prevent closing of overflow popover by calling <code>event.preventDefault()</code>.
302
305
  *
303
306
  * @event sap.ui.webcomponents.fiori.ShellBar#product-switch-click
304
307
  * @allowPreventDefault
@@ -341,7 +344,7 @@ const metadata = {
341
344
 
342
345
  /**
343
346
  * Fired, when a menu item is activated
344
- * <b>Note:</b> You can prevent closing of oveflow popover by calling <code>event.preventDefault()</code>.
347
+ * <b>Note:</b> You can prevent closing of overflow popover by calling <code>event.preventDefault()</code>.
345
348
  *
346
349
  * @event sap.ui.webcomponents.fiori.ShellBar#menu-item-click
347
350
  * @param {HTMLElement} item DOM ref of the activated list item
@@ -1112,7 +1115,7 @@ class ShellBar extends UI5Element {
1112
1115
  }
1113
1116
 
1114
1117
  get menuBtnHasPopup() {
1115
- return this.hasMenuItems ? true : undefined;
1118
+ return this.hasMenuItems ? HasPopup.Menu : undefined;
1116
1119
  }
1117
1120
 
1118
1121
  get menuBtnTabindex() {
@@ -1178,13 +1181,17 @@ class ShellBar extends UI5Element {
1178
1181
  "title": this._productsText,
1179
1182
  },
1180
1183
  search: {
1181
- "ariaExpanded": this.showSearchField,
1182
1184
  "title": this._searchText,
1185
+ "accessibilityAttributes": {
1186
+ expanded: this.showSearchField,
1187
+ },
1183
1188
  },
1184
1189
  overflow: {
1185
1190
  "title": this._overflowText,
1186
- "ariaHaspopup": true,
1187
- "ariaExpanded": this._overflowPopoverExpanded,
1191
+ "accessibilityAttributes": {
1192
+ hasPopup: HasPopup.Menu,
1193
+ expanded: this._overflowPopoverExpanded,
1194
+ },
1188
1195
  },
1189
1196
  };
1190
1197
  }
@@ -90,6 +90,7 @@ const metadata = {
90
90
  *
91
91
  * @event sap.ui.webcomponents.fiori.SideNavigation#selection-change
92
92
  * @param {HTMLElement} item the clicked item.
93
+ * @allowPreventDefault
93
94
  * @public
94
95
  */
95
96
  "selection-change": {
@@ -198,12 +199,14 @@ class SideNavigation extends UI5Element {
198
199
  }
199
200
 
200
201
  _setSelectedItem(item) {
202
+ if (!this.fireEvent("selection-change", { item }, true)) {
203
+ return;
204
+ }
205
+
201
206
  this._walk(current => {
202
207
  current.selected = false;
203
208
  });
204
209
  item.selected = true;
205
-
206
- this.fireEvent("selection-change", { item });
207
210
  }
208
211
 
209
212
  _buildPopoverContent(item) {
package/dist/SortItem.js CHANGED
@@ -9,7 +9,7 @@ const metadata = {
9
9
  /**
10
10
  * Defines the text of the component.
11
11
  *
12
- * @type {String}
12
+ * @type {string}
13
13
  * @defaultvalue ""
14
14
  * @public
15
15
  */
@@ -19,7 +19,7 @@ const metadata = {
19
19
 
20
20
  /**
21
21
  * Defines if the component is selected.
22
- * @type {Boolean}
22
+ * @type {boolean}
23
23
  * @defaultvalue false
24
24
  * @public
25
25
  */
package/dist/Timeline.js CHANGED
@@ -4,8 +4,8 @@ import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
4
4
  import { isTabNext, isTabPrevious } from "@ui5/webcomponents-base/dist/Keys.js";
5
5
  import ItemNavigation from "@ui5/webcomponents-base/dist/delegate/ItemNavigation.js";
6
6
  import NavigationMode from "@ui5/webcomponents-base/dist/types/NavigationMode.js";
7
- import TimelineTemplate from "./generated/templates/TimelineTemplate.lit.js";
8
7
  import { TIMELINE_ARIA_LABEL } from "./generated/i18n/i18n-defaults.js";
8
+ import TimelineTemplate from "./generated/templates/TimelineTemplate.lit.js";
9
9
  import TimelineItem from "./TimelineItem.js";
10
10
 
11
11
  // Styles
@@ -43,6 +43,18 @@ const metadata = {
43
43
  type: TimelineLayout,
44
44
  defaultValue: TimelineLayout.Vertical,
45
45
  },
46
+
47
+ /**
48
+ * Defines the accessible aria name of the component.
49
+ *
50
+ * @type {string}
51
+ * @defaultvalue: ""
52
+ * @public
53
+ * @since 1.2.0
54
+ */
55
+ accessibleName: {
56
+ type: String,
57
+ },
46
58
  },
47
59
  slots: /** @lends sap.ui.webcomponents.fiori.Timeline.prototype */ {
48
60
  /**
@@ -115,7 +127,9 @@ class Timeline extends UI5Element {
115
127
  }
116
128
 
117
129
  get ariaLabel() {
118
- return Timeline.i18nBundle.getText(TIMELINE_ARIA_LABEL);
130
+ return this.accessibleName
131
+ ? `${Timeline.i18nBundle.getText(TIMELINE_ARIA_LABEL)} ${this.accessibleName}`
132
+ : Timeline.i18nBundle.getText(TIMELINE_ARIA_LABEL);
119
133
  }
120
134
 
121
135
  _onfocusin(event) {
@@ -107,7 +107,7 @@ const metadata = {
107
107
  /**
108
108
  * Defines the indicator line width.
109
109
  *
110
- * @type {String}
110
+ * @type {string}
111
111
  * @private
112
112
  */
113
113
  _lineWidth: {
@@ -106,7 +106,7 @@ const metadata = {
106
106
  },
107
107
 
108
108
  /**
109
- * Sets the accessible aria name of the component.
109
+ * Defines the accessible aria name of the component.
110
110
  *
111
111
  * @type {string}
112
112
  * @defaultvalue ""
@@ -8,6 +8,7 @@ import Label from "@ui5/webcomponents/dist/Label.js";
8
8
  import GroupHeaderListItem from "@ui5/webcomponents/dist/GroupHeaderListItem.js";
9
9
  import List from "@ui5/webcomponents/dist/List.js";
10
10
  import StandardListItem from "@ui5/webcomponents/dist/StandardListItem.js";
11
+ import Title from "@ui5/webcomponents/dist/Title.js";
11
12
  import SegmentedButton from "@ui5/webcomponents/dist/SegmentedButton.js";
12
13
  import SegmentedButtonItem from "@ui5/webcomponents/dist/SegmentedButtonItem.js";
13
14
  import Bar from "./Bar.js";
@@ -146,12 +147,17 @@ const metadata = {
146
147
  * @event sap.ui.webcomponents.fiori.ViewSettingsDialog#confirm
147
148
  * @param {String} sortOrder The current sort order selected.
148
149
  * @param {String} sortBy The currently selected <code>ui5-sort-item</code> text attribute.
150
+ * @param {HTMLElement} sortByItem The currently selected <code>ui5-sort-item</code>.
151
+ * @param {Boolean} sortDescending The selected sort order (true = descending, false = ascending).
152
+ * @param {Array} filterItems The selected filters items.
149
153
  * @public
150
154
  */
151
155
  confirm: {
152
156
  detail: {
153
157
  sortOrder: { type: String },
154
158
  sortBy: { type: String },
159
+ sortByItem: { type: HTMLElement },
160
+ sortDescending: { type: Boolean },
155
161
  filters: { type: Array },
156
162
  },
157
163
  },
@@ -162,12 +168,17 @@ const metadata = {
162
168
  * @event sap.ui.webcomponents.fiori.ViewSettingsDialog#cancel
163
169
  * @param {String} sortOrder The current sort order selected.
164
170
  * @param {String} sortBy The currently selected <code>ui5-sort-item</code> text attribute.
171
+ * @param {HTMLElement} sortByItem The currently selected <code>ui5-sort-item</code>.
172
+ * @param {Boolean} sortDescending The selected sort order (true = descending, false = ascending).
173
+ * @param {Array} filterItems The selected filters items.
165
174
  * @public
166
175
  */
167
176
  cancel: {
168
177
  detail: {
169
178
  sortOrder: { type: String },
170
179
  sortBy: { type: String },
180
+ sortByItem: { type: HTMLElement },
181
+ sortDescending: { type: Boolean },
171
182
  filters: { type: Array },
172
183
  },
173
184
  },
@@ -251,6 +262,7 @@ class ViewSettingsDialog extends UI5Element {
251
262
  return [
252
263
  Bar,
253
264
  Button,
265
+ Title,
254
266
  Dialog,
255
267
  Label,
256
268
  List,
@@ -400,10 +412,12 @@ class ViewSettingsDialog extends UI5Element {
400
412
  }
401
413
 
402
414
  get initSortByItems() {
403
- return this.sortItems.map(item => {
415
+ return this.sortItems.map((item, index) => {
404
416
  return {
405
417
  text: item.text,
406
418
  selected: item.selected,
419
+ associatedItem: item,
420
+ index,
407
421
  };
408
422
  });
409
423
  }
@@ -412,11 +426,11 @@ class ViewSettingsDialog extends UI5Element {
412
426
  return [
413
427
  {
414
428
  text: this._ascendingLabel,
415
- selected: true,
429
+ selected: !this.sortDescending,
416
430
  },
417
431
  {
418
432
  text: this._descendingLabel,
419
- selected: false,
433
+ selected: this.sortDescending,
420
434
  },
421
435
  ];
422
436
  }
@@ -548,11 +562,16 @@ class ViewSettingsDialog extends UI5Element {
548
562
  const _currentSortOrderSelected = this._currentSettings.sortOrder.filter(item => item.selected)[0],
549
563
  _currentSortBySelected = this._currentSettings.sortBy.filter(item => item.selected)[0],
550
564
  sortOrder = _currentSortOrderSelected && _currentSortOrderSelected.text,
551
- sortBy = _currentSortBySelected && _currentSortBySelected.text;
552
-
565
+ sortDescending = !this._currentSettings.sortOrder[0].selected,
566
+ sortBy = _currentSortBySelected && _currentSortBySelected.text,
567
+ sortByElementIndex = _currentSortBySelected && _currentSortBySelected.index,
568
+ initSortIByItem = this.initSortByItems.find((item, index) => index === sortByElementIndex),
569
+ sortByItem = initSortIByItem && initSortIByItem.associatedItem;
553
570
  return {
554
571
  sortOrder,
572
+ sortDescending,
555
573
  sortBy,
574
+ sortByItem,
556
575
  filters: this.selectedFilters,
557
576
  };
558
577
  }
@@ -628,12 +647,12 @@ class ViewSettingsDialog extends UI5Element {
628
647
  * Stores <code>Sort By</code> list as recently used control and its selected item in current state.
629
648
  */
630
649
  _onSortByChange(event) {
650
+ const selectedItemIndex = Number(event.detail.item.getAttribute("data-ui5-external-action-item-index"));
631
651
  this._recentlyFocused = this._sortBy;
632
- this._currentSettings.sortBy = this.initSortByItems.map(item => {
633
- item.selected = item.text === event.detail.item.innerText;
652
+ this._currentSettings.sortBy = this.initSortByItems.map((item, index) => {
653
+ item.selected = index === selectedItemIndex;
634
654
  return item;
635
655
  });
636
-
637
656
  // Invalidate
638
657
  this._currentSettings = JSON.parse(JSON.stringify(this._currentSettings));
639
658
  }
package/dist/Wizard.js CHANGED
@@ -126,7 +126,7 @@ const metadata = {
126
126
  * @event sap.ui.webcomponents.fiori.Wizard#step-change
127
127
  * @param {HTMLElement} step The new step.
128
128
  * @param {HTMLElement} previousStep The previous step.
129
- * @param {Boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.
129
+ * @param {boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.
130
130
  * @public
131
131
  */
132
132
  "step-change": {
@@ -985,7 +985,7 @@ class Wizard extends UI5Element {
985
985
  * @param {HTMLElement} selectedStep the old step
986
986
  * @param {HTMLElement} stepToSelect the step to be selected
987
987
  * @param {Integer} stepToSelectIndex the index of the newly selected step
988
- * @param {Boolean} changeWithClick the selection changed due to user click in the step navigation
988
+ * @param {boolean} changeWithClick the selection changed due to user click in the step navigation
989
989
  * @private
990
990
  */
991
991
  switchSelectionFromOldToNewStep(selectedStep, stepToSelect, stepToSelectIndex, changeWithClick) {