@ui5/webcomponents-fiori 1.23.0-rc.5 → 1.23.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 (739) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/Bar.d.ts +11 -14
  3. package/dist/Bar.js +11 -13
  4. package/dist/Bar.js.map +1 -1
  5. package/dist/BarcodeScannerDialog.d.ts +7 -11
  6. package/dist/BarcodeScannerDialog.js +7 -12
  7. package/dist/BarcodeScannerDialog.js.map +1 -1
  8. package/dist/DynamicSideContent.d.ts +25 -64
  9. package/dist/DynamicSideContent.js +24 -28
  10. package/dist/DynamicSideContent.js.map +1 -1
  11. package/dist/FilterItem.d.ts +6 -9
  12. package/dist/FilterItem.js +5 -6
  13. package/dist/FilterItem.js.map +1 -1
  14. package/dist/FilterItemOption.d.ts +5 -9
  15. package/dist/FilterItemOption.js +5 -7
  16. package/dist/FilterItemOption.js.map +1 -1
  17. package/dist/FlexibleColumnLayout.d.ts +41 -52
  18. package/dist/FlexibleColumnLayout.js +22 -27
  19. package/dist/FlexibleColumnLayout.js.map +1 -1
  20. package/dist/IllustratedMessage.d.ts +63 -68
  21. package/dist/IllustratedMessage.js +43 -32
  22. package/dist/IllustratedMessage.js.map +1 -1
  23. package/dist/MediaGallery.d.ts +22 -39
  24. package/dist/MediaGallery.js +16 -24
  25. package/dist/MediaGallery.js.map +1 -1
  26. package/dist/MediaGalleryItem.d.ts +10 -25
  27. package/dist/MediaGalleryItem.js +10 -14
  28. package/dist/MediaGalleryItem.js.map +1 -1
  29. package/dist/NotificationAction.d.ts +9 -15
  30. package/dist/NotificationAction.js +3 -6
  31. package/dist/NotificationAction.js.map +1 -1
  32. package/dist/NotificationListGroupItem.d.ts +18 -21
  33. package/dist/NotificationListGroupItem.js +16 -19
  34. package/dist/NotificationListGroupItem.js.map +1 -1
  35. package/dist/NotificationListItem.d.ts +27 -35
  36. package/dist/NotificationListItem.js +15 -18
  37. package/dist/NotificationListItem.js.map +1 -1
  38. package/dist/NotificationListItemBase.d.ts +8 -12
  39. package/dist/NotificationListItemBase.js +2 -4
  40. package/dist/NotificationListItemBase.js.map +1 -1
  41. package/dist/Page.d.ts +16 -26
  42. package/dist/Page.js +13 -14
  43. package/dist/Page.js.map +1 -1
  44. package/dist/ProductSwitch.d.ts +14 -21
  45. package/dist/ProductSwitch.js +12 -17
  46. package/dist/ProductSwitch.js.map +1 -1
  47. package/dist/ProductSwitchItem.d.ts +22 -28
  48. package/dist/ProductSwitchItem.js +11 -16
  49. package/dist/ProductSwitchItem.js.map +1 -1
  50. package/dist/ShellBar.d.ts +64 -81
  51. package/dist/ShellBar.js +27 -36
  52. package/dist/ShellBar.js.map +1 -1
  53. package/dist/ShellBarItem.d.ts +7 -9
  54. package/dist/ShellBarItem.js +5 -8
  55. package/dist/ShellBarItem.js.map +1 -1
  56. package/dist/SideNavigation.d.ts +29 -41
  57. package/dist/SideNavigation.js +18 -22
  58. package/dist/SideNavigation.js.map +1 -1
  59. package/dist/SideNavigationItem.d.ts +7 -11
  60. package/dist/SideNavigationItem.js +5 -6
  61. package/dist/SideNavigationItem.js.map +1 -1
  62. package/dist/SideNavigationItemBase.d.ts +10 -19
  63. package/dist/SideNavigationItemBase.js +2 -5
  64. package/dist/SideNavigationItemBase.js.map +1 -1
  65. package/dist/SideNavigationSubItem.d.ts +4 -5
  66. package/dist/SideNavigationSubItem.js +4 -5
  67. package/dist/SideNavigationSubItem.js.map +1 -1
  68. package/dist/SortItem.d.ts +5 -9
  69. package/dist/SortItem.js +5 -7
  70. package/dist/SortItem.js.map +1 -1
  71. package/dist/Timeline.d.ts +4 -17
  72. package/dist/Timeline.js +2 -3
  73. package/dist/Timeline.js.map +1 -1
  74. package/dist/TimelineItem.d.ts +6 -14
  75. package/dist/TimelineItem.js +4 -6
  76. package/dist/TimelineItem.js.map +1 -1
  77. package/dist/UploadCollection.d.ts +18 -27
  78. package/dist/UploadCollection.js +9 -13
  79. package/dist/UploadCollection.js.map +1 -1
  80. package/dist/UploadCollectionItem.d.ts +17 -29
  81. package/dist/UploadCollectionItem.js +11 -17
  82. package/dist/UploadCollectionItem.js.map +1 -1
  83. package/dist/ViewSettingsDialog.d.ts +28 -48
  84. package/dist/ViewSettingsDialog.js +30 -46
  85. package/dist/ViewSettingsDialog.js.map +1 -1
  86. package/dist/Wizard.d.ts +66 -76
  87. package/dist/Wizard.js +57 -65
  88. package/dist/Wizard.js.map +1 -1
  89. package/dist/WizardStep.d.ts +25 -39
  90. package/dist/WizardStep.js +10 -12
  91. package/dist/WizardStep.js.map +1 -1
  92. package/dist/WizardTab.d.ts +12 -24
  93. package/dist/WizardTab.js +6 -8
  94. package/dist/WizardTab.js.map +1 -1
  95. package/dist/css/themes/Bar.css +1 -1
  96. package/dist/css/themes/FlexibleColumnLayout.css +1 -1
  97. package/dist/css/themes/IllustratedMessage.css +1 -1
  98. package/dist/css/themes/MediaGallery.css +1 -1
  99. package/dist/css/themes/MediaGalleryItem.css +1 -1
  100. package/dist/css/themes/NotificationListGroupItem.css +1 -1
  101. package/dist/css/themes/NotificationListItem.css +1 -1
  102. package/dist/css/themes/NotificationListItemBase.css +1 -1
  103. package/dist/css/themes/NotificationOverflowActionsPopover.css +1 -1
  104. package/dist/css/themes/Page.css +1 -1
  105. package/dist/css/themes/ProductSwitchItem.css +1 -1
  106. package/dist/css/themes/ShellBar.css +1 -1
  107. package/dist/css/themes/SideNavigation.css +1 -1
  108. package/dist/css/themes/SideNavigationPopover.css +1 -1
  109. package/dist/css/themes/Timeline.css +1 -1
  110. package/dist/css/themes/TimelineItem.css +1 -1
  111. package/dist/css/themes/UploadCollection.css +1 -1
  112. package/dist/css/themes/UploadCollectionItem.css +1 -1
  113. package/dist/css/themes/ViewSettingsDialog.css +1 -1
  114. package/dist/css/themes/Wizard.css +1 -1
  115. package/dist/css/themes/WizardTab.css +1 -1
  116. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
  117. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  118. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  119. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  120. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  121. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  122. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  123. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  124. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  125. package/dist/css/themes/sap_horizon_dark_exp/parameters-bundle.css +1 -1
  126. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  127. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  128. package/dist/css/themes/sap_horizon_hcb_exp/parameters-bundle.css +1 -1
  129. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  130. package/dist/css/themes/sap_horizon_hcw_exp/parameters-bundle.css +1 -1
  131. package/dist/custom-elements-internal.json +194 -185
  132. package/dist/custom-elements.json +165 -165
  133. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  134. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  135. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  136. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  137. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  138. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  139. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  140. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  141. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  142. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  143. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  144. package/dist/generated/assets/themes/sap_horizon_dark_exp/parameters-bundle.css.json +1 -1
  145. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
  146. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  147. package/dist/generated/assets/themes/sap_horizon_hcb_exp/parameters-bundle.css.json +1 -1
  148. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  149. package/dist/generated/assets/themes/sap_horizon_hcw_exp/parameters-bundle.css.json +1 -1
  150. package/dist/generated/js-imports/Illustrations.js +47 -1
  151. package/dist/generated/js-imports/Illustrations.js.map +1 -1
  152. package/dist/generated/templates/IllustratedMessageTemplate.lit.js +1 -1
  153. package/dist/generated/templates/IllustratedMessageTemplate.lit.js.map +1 -1
  154. package/dist/generated/themes/Bar.css.js +1 -1
  155. package/dist/generated/themes/Bar.css.js.map +1 -1
  156. package/dist/generated/themes/FlexibleColumnLayout.css.js +1 -1
  157. package/dist/generated/themes/FlexibleColumnLayout.css.js.map +1 -1
  158. package/dist/generated/themes/IllustratedMessage.css.js +1 -1
  159. package/dist/generated/themes/IllustratedMessage.css.js.map +1 -1
  160. package/dist/generated/themes/MediaGallery.css.js +1 -1
  161. package/dist/generated/themes/MediaGallery.css.js.map +1 -1
  162. package/dist/generated/themes/MediaGalleryItem.css.js +1 -1
  163. package/dist/generated/themes/MediaGalleryItem.css.js.map +1 -1
  164. package/dist/generated/themes/NotificationListGroupItem.css.js +1 -1
  165. package/dist/generated/themes/NotificationListGroupItem.css.js.map +1 -1
  166. package/dist/generated/themes/NotificationListItem.css.js +1 -1
  167. package/dist/generated/themes/NotificationListItem.css.js.map +1 -1
  168. package/dist/generated/themes/NotificationListItemBase.css.js +1 -1
  169. package/dist/generated/themes/NotificationListItemBase.css.js.map +1 -1
  170. package/dist/generated/themes/NotificationOverflowActionsPopover.css.js +1 -1
  171. package/dist/generated/themes/NotificationOverflowActionsPopover.css.js.map +1 -1
  172. package/dist/generated/themes/Page.css.js +1 -1
  173. package/dist/generated/themes/Page.css.js.map +1 -1
  174. package/dist/generated/themes/ProductSwitchItem.css.js +1 -1
  175. package/dist/generated/themes/ProductSwitchItem.css.js.map +1 -1
  176. package/dist/generated/themes/ShellBar.css.js +1 -1
  177. package/dist/generated/themes/ShellBar.css.js.map +1 -1
  178. package/dist/generated/themes/SideNavigation.css.js +1 -1
  179. package/dist/generated/themes/SideNavigation.css.js.map +1 -1
  180. package/dist/generated/themes/SideNavigationPopover.css.js +1 -1
  181. package/dist/generated/themes/SideNavigationPopover.css.js.map +1 -1
  182. package/dist/generated/themes/Timeline.css.js +1 -1
  183. package/dist/generated/themes/Timeline.css.js.map +1 -1
  184. package/dist/generated/themes/TimelineItem.css.js +1 -1
  185. package/dist/generated/themes/TimelineItem.css.js.map +1 -1
  186. package/dist/generated/themes/UploadCollection.css.js +1 -1
  187. package/dist/generated/themes/UploadCollection.css.js.map +1 -1
  188. package/dist/generated/themes/UploadCollectionItem.css.js +1 -1
  189. package/dist/generated/themes/UploadCollectionItem.css.js.map +1 -1
  190. package/dist/generated/themes/ViewSettingsDialog.css.js +1 -1
  191. package/dist/generated/themes/ViewSettingsDialog.css.js.map +1 -1
  192. package/dist/generated/themes/Wizard.css.js +1 -1
  193. package/dist/generated/themes/Wizard.css.js.map +1 -1
  194. package/dist/generated/themes/WizardTab.css.js +1 -1
  195. package/dist/generated/themes/WizardTab.css.js.map +1 -1
  196. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  197. package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -1
  198. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  199. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -1
  200. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  201. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -1
  202. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  203. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  204. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  205. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  206. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  207. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  208. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  209. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  210. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  211. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  212. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  213. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  214. package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js +1 -1
  215. package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js.map +1 -1
  216. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
  217. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
  218. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  219. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  220. package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js +1 -1
  221. package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js.map +1 -1
  222. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  223. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  224. package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js +1 -1
  225. package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js.map +1 -1
  226. package/dist/illustrations/AddColumn.d.ts +2 -1
  227. package/dist/illustrations/AddColumn.js +4 -1
  228. package/dist/illustrations/AddDimensions.d.ts +2 -1
  229. package/dist/illustrations/AddDimensions.js +4 -1
  230. package/dist/illustrations/AddPeople.d.ts +2 -1
  231. package/dist/illustrations/AddPeople.js +4 -1
  232. package/dist/illustrations/BalloonSky.d.ts +2 -1
  233. package/dist/illustrations/BalloonSky.js +4 -1
  234. package/dist/illustrations/BeforeSearch.d.ts +2 -1
  235. package/dist/illustrations/BeforeSearch.js +4 -1
  236. package/dist/illustrations/Connection.d.ts +2 -1
  237. package/dist/illustrations/Connection.js +4 -1
  238. package/dist/illustrations/EmptyCalendar.d.ts +2 -1
  239. package/dist/illustrations/EmptyCalendar.js +4 -1
  240. package/dist/illustrations/EmptyList.d.ts +2 -1
  241. package/dist/illustrations/EmptyList.js +4 -1
  242. package/dist/illustrations/EmptyPlanningCalendar.d.ts +2 -1
  243. package/dist/illustrations/EmptyPlanningCalendar.js +4 -1
  244. package/dist/illustrations/ErrorScreen.d.ts +2 -1
  245. package/dist/illustrations/ErrorScreen.js +4 -1
  246. package/dist/illustrations/FilterTable.d.ts +2 -1
  247. package/dist/illustrations/FilterTable.js +4 -1
  248. package/dist/illustrations/GroupTable.d.ts +2 -1
  249. package/dist/illustrations/GroupTable.js +4 -1
  250. package/dist/illustrations/NewMail.d.ts +2 -1
  251. package/dist/illustrations/NewMail.js +4 -1
  252. package/dist/illustrations/NoActivities.d.ts +2 -1
  253. package/dist/illustrations/NoActivities.js +4 -1
  254. package/dist/illustrations/NoColumnsSet.d.ts +2 -1
  255. package/dist/illustrations/NoColumnsSet.js +4 -1
  256. package/dist/illustrations/NoData.d.ts +2 -1
  257. package/dist/illustrations/NoData.js +4 -1
  258. package/dist/illustrations/NoDimensionsSet.d.ts +2 -1
  259. package/dist/illustrations/NoDimensionsSet.js +4 -1
  260. package/dist/illustrations/NoEntries.d.ts +2 -1
  261. package/dist/illustrations/NoEntries.js +4 -1
  262. package/dist/illustrations/NoFilterResults.d.ts +2 -1
  263. package/dist/illustrations/NoFilterResults.js +4 -1
  264. package/dist/illustrations/NoMail.d.ts +2 -1
  265. package/dist/illustrations/NoMail.js +4 -1
  266. package/dist/illustrations/NoMail_v1.d.ts +2 -1
  267. package/dist/illustrations/NoMail_v1.js +4 -1
  268. package/dist/illustrations/NoNotifications.d.ts +2 -1
  269. package/dist/illustrations/NoNotifications.js +4 -1
  270. package/dist/illustrations/NoSavedItems.d.ts +2 -1
  271. package/dist/illustrations/NoSavedItems.js +4 -1
  272. package/dist/illustrations/NoSavedItems_v1.d.ts +2 -1
  273. package/dist/illustrations/NoSavedItems_v1.js +4 -1
  274. package/dist/illustrations/NoSearchResults.d.ts +2 -1
  275. package/dist/illustrations/NoSearchResults.js +4 -1
  276. package/dist/illustrations/NoTasks.d.ts +2 -1
  277. package/dist/illustrations/NoTasks.js +4 -1
  278. package/dist/illustrations/NoTasks_v1.d.ts +2 -1
  279. package/dist/illustrations/NoTasks_v1.js +4 -1
  280. package/dist/illustrations/PageNotFound.d.ts +2 -1
  281. package/dist/illustrations/PageNotFound.js +4 -1
  282. package/dist/illustrations/ReloadScreen.d.ts +2 -1
  283. package/dist/illustrations/ReloadScreen.js +4 -1
  284. package/dist/illustrations/ResizeColumn.d.ts +2 -1
  285. package/dist/illustrations/ResizeColumn.js +4 -1
  286. package/dist/illustrations/SearchEarth.d.ts +2 -1
  287. package/dist/illustrations/SearchEarth.js +4 -1
  288. package/dist/illustrations/SearchFolder.d.ts +2 -1
  289. package/dist/illustrations/SearchFolder.js +4 -1
  290. package/dist/illustrations/SignOut.d.ts +2 -1
  291. package/dist/illustrations/SignOut.js +4 -1
  292. package/dist/illustrations/SimpleBalloon.d.ts +2 -1
  293. package/dist/illustrations/SimpleBalloon.js +4 -1
  294. package/dist/illustrations/SimpleBell.d.ts +2 -1
  295. package/dist/illustrations/SimpleBell.js +4 -1
  296. package/dist/illustrations/SimpleCalendar.d.ts +2 -1
  297. package/dist/illustrations/SimpleCalendar.js +4 -1
  298. package/dist/illustrations/SimpleCheckMark.d.ts +2 -1
  299. package/dist/illustrations/SimpleCheckMark.js +4 -1
  300. package/dist/illustrations/SimpleConnection.d.ts +2 -1
  301. package/dist/illustrations/SimpleConnection.js +4 -1
  302. package/dist/illustrations/SimpleEmptyDoc.d.ts +2 -1
  303. package/dist/illustrations/SimpleEmptyDoc.js +4 -1
  304. package/dist/illustrations/SimpleEmptyList.d.ts +2 -1
  305. package/dist/illustrations/SimpleEmptyList.js +4 -1
  306. package/dist/illustrations/SimpleError.d.ts +2 -1
  307. package/dist/illustrations/SimpleError.js +4 -1
  308. package/dist/illustrations/SimpleMagnifier.d.ts +2 -1
  309. package/dist/illustrations/SimpleMagnifier.js +4 -1
  310. package/dist/illustrations/SimpleMail.d.ts +2 -1
  311. package/dist/illustrations/SimpleMail.js +4 -1
  312. package/dist/illustrations/SimpleNoSavedItems.d.ts +2 -1
  313. package/dist/illustrations/SimpleNoSavedItems.js +4 -1
  314. package/dist/illustrations/SimpleNotFoundMagnifier.d.ts +2 -1
  315. package/dist/illustrations/SimpleNotFoundMagnifier.js +4 -1
  316. package/dist/illustrations/SimpleReload.d.ts +2 -1
  317. package/dist/illustrations/SimpleReload.js +4 -1
  318. package/dist/illustrations/SimpleTask.d.ts +2 -1
  319. package/dist/illustrations/SimpleTask.js +4 -1
  320. package/dist/illustrations/SleepingBell.d.ts +2 -1
  321. package/dist/illustrations/SleepingBell.js +4 -1
  322. package/dist/illustrations/SortColumn.d.ts +2 -1
  323. package/dist/illustrations/SortColumn.js +4 -1
  324. package/dist/illustrations/SuccessBalloon.d.ts +2 -1
  325. package/dist/illustrations/SuccessBalloon.js +4 -1
  326. package/dist/illustrations/SuccessCheckMark.d.ts +2 -1
  327. package/dist/illustrations/SuccessCheckMark.js +4 -1
  328. package/dist/illustrations/SuccessHighFive.d.ts +2 -1
  329. package/dist/illustrations/SuccessHighFive.js +4 -1
  330. package/dist/illustrations/SuccessScreen.d.ts +2 -1
  331. package/dist/illustrations/SuccessScreen.js +4 -1
  332. package/dist/illustrations/Survey.d.ts +2 -1
  333. package/dist/illustrations/Survey.js +4 -1
  334. package/dist/illustrations/Tent.d.ts +2 -1
  335. package/dist/illustrations/Tent.js +4 -1
  336. package/dist/illustrations/UnableToLoad.d.ts +2 -1
  337. package/dist/illustrations/UnableToLoad.js +4 -1
  338. package/dist/illustrations/UnableToLoadImage.d.ts +2 -1
  339. package/dist/illustrations/UnableToLoadImage.js +4 -1
  340. package/dist/illustrations/UnableToUpload.d.ts +2 -1
  341. package/dist/illustrations/UnableToUpload.js +4 -1
  342. package/dist/illustrations/UploadCollection.d.ts +2 -1
  343. package/dist/illustrations/UploadCollection.js +4 -1
  344. package/dist/illustrations/UploadToCloud.d.ts +2 -1
  345. package/dist/illustrations/UploadToCloud.js +4 -1
  346. package/dist/illustrations/sapIllus-Dot-AddColumn.js +27 -0
  347. package/dist/illustrations/sapIllus-Dot-AddDimensions.js +16 -0
  348. package/dist/illustrations/sapIllus-Dot-AddPeople.js +9 -0
  349. package/dist/illustrations/sapIllus-Dot-BalloonSky.js +7 -0
  350. package/dist/illustrations/sapIllus-Dot-Connection.js +10 -0
  351. package/dist/illustrations/sapIllus-Dot-EmptyCalendar.js +37 -0
  352. package/dist/illustrations/sapIllus-Dot-EmptyList.js +7 -0
  353. package/dist/illustrations/sapIllus-Dot-EmptyPlanningCalendar.js +37 -0
  354. package/dist/illustrations/sapIllus-Dot-ErrorScreen.js +9 -0
  355. package/dist/illustrations/sapIllus-Dot-FilterTable.js +8 -0
  356. package/dist/illustrations/sapIllus-Dot-GroupTable.js +36 -0
  357. package/dist/illustrations/sapIllus-Dot-NoColumnsSet.js +7 -0
  358. package/dist/illustrations/sapIllus-Dot-NoDimensionsSet.js +7 -0
  359. package/dist/illustrations/sapIllus-Dot-NoFilterResults.js +8 -0
  360. package/dist/illustrations/sapIllus-Dot-NoMail_v1.js +10 -0
  361. package/dist/illustrations/sapIllus-Dot-NoSavedItems_v1.js +13 -0
  362. package/dist/illustrations/sapIllus-Dot-NoSearchResults.js +11 -0
  363. package/dist/illustrations/sapIllus-Dot-NoTasks_v1.js +13 -0
  364. package/dist/illustrations/sapIllus-Dot-PageNotFound.js +7 -0
  365. package/dist/illustrations/sapIllus-Dot-ReloadScreen.js +9 -0
  366. package/dist/illustrations/sapIllus-Dot-ResizeColumn.js +27 -0
  367. package/dist/illustrations/sapIllus-Dot-SearchEarth.js +7 -0
  368. package/dist/illustrations/sapIllus-Dot-SearchFolder.js +11 -0
  369. package/dist/illustrations/sapIllus-Dot-SimpleBalloon.js +7 -0
  370. package/dist/illustrations/sapIllus-Dot-SimpleBell.js +8 -0
  371. package/dist/illustrations/sapIllus-Dot-SimpleCalendar.js +37 -0
  372. package/dist/illustrations/sapIllus-Dot-SimpleCheckMark.js +5 -0
  373. package/dist/illustrations/sapIllus-Dot-SimpleConnection.js +10 -0
  374. package/dist/illustrations/sapIllus-Dot-SimpleEmptyDoc.js +8 -0
  375. package/dist/illustrations/sapIllus-Dot-SimpleEmptyList.js +7 -0
  376. package/dist/illustrations/sapIllus-Dot-SimpleError.js +9 -0
  377. package/dist/illustrations/sapIllus-Dot-SimpleMagnifier.js +7 -0
  378. package/dist/illustrations/sapIllus-Dot-SimpleMail.js +10 -0
  379. package/dist/illustrations/sapIllus-Dot-SimpleNoSavedItems.js +13 -0
  380. package/dist/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.js +11 -0
  381. package/dist/illustrations/sapIllus-Dot-SimpleReload.js +9 -0
  382. package/dist/illustrations/sapIllus-Dot-SimpleTask.js +13 -0
  383. package/dist/illustrations/sapIllus-Dot-SleepingBell.js +8 -0
  384. package/dist/illustrations/sapIllus-Dot-SortColumn.js +29 -0
  385. package/dist/illustrations/sapIllus-Dot-SuccessHighFive.js +7 -0
  386. package/dist/illustrations/sapIllus-Dot-SuccessScreen.js +5 -0
  387. package/dist/illustrations/sapIllus-Dot-Survey.js +8 -0
  388. package/dist/illustrations/sapIllus-Dot-Tent.js +8 -0
  389. package/dist/illustrations/sapIllus-Dot-UnableToLoadImage.js +9 -0
  390. package/dist/illustrations/sapIllus-Dot-UploadCollection.js +7 -0
  391. package/dist/illustrations/sapIllus-Dot-UploadToCloud.js +6 -0
  392. package/dist/illustrations/tnt/Avatar.d.ts +2 -1
  393. package/dist/illustrations/tnt/Avatar.js +3 -0
  394. package/dist/illustrations/tnt/Calculator.d.ts +2 -1
  395. package/dist/illustrations/tnt/Calculator.js +3 -0
  396. package/dist/illustrations/tnt/ChartArea.d.ts +2 -1
  397. package/dist/illustrations/tnt/ChartArea.js +3 -0
  398. package/dist/illustrations/tnt/ChartArea2.d.ts +2 -1
  399. package/dist/illustrations/tnt/ChartArea2.js +3 -0
  400. package/dist/illustrations/tnt/ChartBPMNFlow.d.ts +2 -1
  401. package/dist/illustrations/tnt/ChartBPMNFlow.js +3 -0
  402. package/dist/illustrations/tnt/ChartBar.d.ts +2 -1
  403. package/dist/illustrations/tnt/ChartBar.js +3 -0
  404. package/dist/illustrations/tnt/ChartBullet.d.ts +2 -1
  405. package/dist/illustrations/tnt/ChartBullet.js +3 -0
  406. package/dist/illustrations/tnt/ChartDoughnut.d.ts +2 -1
  407. package/dist/illustrations/tnt/ChartDoughnut.js +3 -0
  408. package/dist/illustrations/tnt/ChartFlow.d.ts +2 -1
  409. package/dist/illustrations/tnt/ChartFlow.js +3 -0
  410. package/dist/illustrations/tnt/ChartGantt.d.ts +2 -1
  411. package/dist/illustrations/tnt/ChartGantt.js +3 -0
  412. package/dist/illustrations/tnt/ChartOrg.d.ts +2 -1
  413. package/dist/illustrations/tnt/ChartOrg.js +3 -0
  414. package/dist/illustrations/tnt/ChartPie.d.ts +2 -1
  415. package/dist/illustrations/tnt/ChartPie.js +3 -0
  416. package/dist/illustrations/tnt/CodePlaceholder.d.ts +2 -1
  417. package/dist/illustrations/tnt/CodePlaceholder.js +3 -0
  418. package/dist/illustrations/tnt/Company.d.ts +2 -1
  419. package/dist/illustrations/tnt/Company.js +3 -0
  420. package/dist/illustrations/tnt/Compass.d.ts +2 -1
  421. package/dist/illustrations/tnt/Compass.js +3 -0
  422. package/dist/illustrations/tnt/Components.d.ts +2 -1
  423. package/dist/illustrations/tnt/Components.js +3 -0
  424. package/dist/illustrations/tnt/Dialog.d.ts +2 -1
  425. package/dist/illustrations/tnt/Dialog.js +3 -0
  426. package/dist/illustrations/tnt/ExternalLink.d.ts +2 -1
  427. package/dist/illustrations/tnt/ExternalLink.js +3 -0
  428. package/dist/illustrations/tnt/FaceID.d.ts +2 -1
  429. package/dist/illustrations/tnt/FaceID.js +3 -0
  430. package/dist/illustrations/tnt/Fingerprint.d.ts +2 -1
  431. package/dist/illustrations/tnt/Fingerprint.js +3 -0
  432. package/dist/illustrations/tnt/Handshake.d.ts +2 -1
  433. package/dist/illustrations/tnt/Handshake.js +3 -0
  434. package/dist/illustrations/tnt/Help.d.ts +2 -1
  435. package/dist/illustrations/tnt/Help.js +3 -0
  436. package/dist/illustrations/tnt/Lock.d.ts +2 -1
  437. package/dist/illustrations/tnt/Lock.js +3 -0
  438. package/dist/illustrations/tnt/Mission.d.ts +2 -1
  439. package/dist/illustrations/tnt/Mission.js +3 -0
  440. package/dist/illustrations/tnt/MissionFailed.d.ts +2 -1
  441. package/dist/illustrations/tnt/MissionFailed.js +3 -0
  442. package/dist/illustrations/tnt/NoApplications.d.ts +2 -1
  443. package/dist/illustrations/tnt/NoApplications.js +3 -0
  444. package/dist/illustrations/tnt/NoFlows.d.ts +2 -1
  445. package/dist/illustrations/tnt/NoFlows.js +3 -0
  446. package/dist/illustrations/tnt/NoUsers.d.ts +2 -1
  447. package/dist/illustrations/tnt/NoUsers.js +3 -0
  448. package/dist/illustrations/tnt/Radar.d.ts +2 -1
  449. package/dist/illustrations/tnt/Radar.js +3 -0
  450. package/dist/illustrations/tnt/RoadMap.d.ts +2 -1
  451. package/dist/illustrations/tnt/RoadMap.js +3 -0
  452. package/dist/illustrations/tnt/Secrets.d.ts +2 -1
  453. package/dist/illustrations/tnt/Secrets.js +3 -0
  454. package/dist/illustrations/tnt/Services.d.ts +2 -1
  455. package/dist/illustrations/tnt/Services.js +3 -0
  456. package/dist/illustrations/tnt/SessionExpired.d.ts +2 -1
  457. package/dist/illustrations/tnt/SessionExpired.js +3 -0
  458. package/dist/illustrations/tnt/SessionExpiring.d.ts +2 -1
  459. package/dist/illustrations/tnt/SessionExpiring.js +3 -0
  460. package/dist/illustrations/tnt/Settings.d.ts +2 -1
  461. package/dist/illustrations/tnt/Settings.js +3 -0
  462. package/dist/illustrations/tnt/Success.d.ts +2 -1
  463. package/dist/illustrations/tnt/Success.js +3 -0
  464. package/dist/illustrations/tnt/SuccessfulAuth.d.ts +2 -1
  465. package/dist/illustrations/tnt/SuccessfulAuth.js +3 -0
  466. package/dist/illustrations/tnt/Systems.d.ts +2 -1
  467. package/dist/illustrations/tnt/Systems.js +3 -0
  468. package/dist/illustrations/tnt/Teams.d.ts +2 -1
  469. package/dist/illustrations/tnt/Teams.js +3 -0
  470. package/dist/illustrations/tnt/Tools.d.ts +2 -1
  471. package/dist/illustrations/tnt/Tools.js +3 -0
  472. package/dist/illustrations/tnt/Tutorials.d.ts +2 -1
  473. package/dist/illustrations/tnt/Tutorials.js +3 -0
  474. package/dist/illustrations/tnt/UnableToLoad.d.ts +2 -1
  475. package/dist/illustrations/tnt/UnableToLoad.js +3 -0
  476. package/dist/illustrations/tnt/Unlock.d.ts +2 -1
  477. package/dist/illustrations/tnt/Unlock.js +3 -0
  478. package/dist/illustrations/tnt/UnsuccessfulAuth.d.ts +2 -1
  479. package/dist/illustrations/tnt/UnsuccessfulAuth.js +3 -0
  480. package/dist/illustrations/tnt/User2.d.ts +2 -1
  481. package/dist/illustrations/tnt/User2.js +3 -0
  482. package/dist/illustrations-v5/tnt/ChartArea.d.ts +2 -1
  483. package/dist/illustrations-v5/tnt/ChartArea.js +3 -0
  484. package/dist/illustrations-v5/tnt/ChartArea2.d.ts +2 -1
  485. package/dist/illustrations-v5/tnt/ChartArea2.js +3 -0
  486. package/dist/illustrations-v5/tnt/ChartBPMNFlow.d.ts +2 -1
  487. package/dist/illustrations-v5/tnt/ChartBPMNFlow.js +3 -0
  488. package/dist/illustrations-v5/tnt/ChartBar.d.ts +2 -1
  489. package/dist/illustrations-v5/tnt/ChartBar.js +3 -0
  490. package/dist/illustrations-v5/tnt/ChartBullet.d.ts +2 -1
  491. package/dist/illustrations-v5/tnt/ChartBullet.js +3 -0
  492. package/dist/illustrations-v5/tnt/ChartDoughnut.d.ts +2 -1
  493. package/dist/illustrations-v5/tnt/ChartDoughnut.js +3 -0
  494. package/dist/illustrations-v5/tnt/ChartFlow.d.ts +2 -1
  495. package/dist/illustrations-v5/tnt/ChartFlow.js +3 -0
  496. package/dist/illustrations-v5/tnt/ChartGantt.d.ts +2 -1
  497. package/dist/illustrations-v5/tnt/ChartGantt.js +3 -0
  498. package/dist/illustrations-v5/tnt/ChartOrg.d.ts +2 -1
  499. package/dist/illustrations-v5/tnt/ChartOrg.js +3 -0
  500. package/dist/illustrations-v5/tnt/ChartPie.d.ts +2 -1
  501. package/dist/illustrations-v5/tnt/ChartPie.js +3 -0
  502. package/dist/illustrations-v5/tnt/CodePlaceholder.d.ts +2 -1
  503. package/dist/illustrations-v5/tnt/CodePlaceholder.js +3 -0
  504. package/dist/illustrations-v5/tnt/Company.d.ts +2 -1
  505. package/dist/illustrations-v5/tnt/Company.js +3 -0
  506. package/dist/illustrations-v5/tnt/Components.d.ts +2 -1
  507. package/dist/illustrations-v5/tnt/Components.js +3 -0
  508. package/dist/illustrations-v5/tnt/EmptyContentPane.d.ts +2 -1
  509. package/dist/illustrations-v5/tnt/EmptyContentPane.js +3 -0
  510. package/dist/illustrations-v5/tnt/ExternalLink.d.ts +2 -1
  511. package/dist/illustrations-v5/tnt/ExternalLink.js +3 -0
  512. package/dist/illustrations-v5/tnt/FaceID.d.ts +2 -1
  513. package/dist/illustrations-v5/tnt/FaceID.js +3 -0
  514. package/dist/illustrations-v5/tnt/Fingerprint.d.ts +2 -1
  515. package/dist/illustrations-v5/tnt/Fingerprint.js +3 -0
  516. package/dist/illustrations-v5/tnt/Lock.d.ts +2 -1
  517. package/dist/illustrations-v5/tnt/Lock.js +3 -0
  518. package/dist/illustrations-v5/tnt/Mission.d.ts +2 -1
  519. package/dist/illustrations-v5/tnt/Mission.js +3 -0
  520. package/dist/illustrations-v5/tnt/NoApplications.d.ts +2 -1
  521. package/dist/illustrations-v5/tnt/NoApplications.js +3 -0
  522. package/dist/illustrations-v5/tnt/NoFlows.d.ts +2 -1
  523. package/dist/illustrations-v5/tnt/NoFlows.js +3 -0
  524. package/dist/illustrations-v5/tnt/NoUsers.d.ts +2 -1
  525. package/dist/illustrations-v5/tnt/NoUsers.js +3 -0
  526. package/dist/illustrations-v5/tnt/Radar.d.ts +2 -1
  527. package/dist/illustrations-v5/tnt/Radar.js +3 -0
  528. package/dist/illustrations-v5/tnt/Secrets.d.ts +2 -1
  529. package/dist/illustrations-v5/tnt/Secrets.js +3 -0
  530. package/dist/illustrations-v5/tnt/Services.d.ts +2 -1
  531. package/dist/illustrations-v5/tnt/Services.js +3 -0
  532. package/dist/illustrations-v5/tnt/SessionExpired.d.ts +2 -1
  533. package/dist/illustrations-v5/tnt/SessionExpired.js +3 -0
  534. package/dist/illustrations-v5/tnt/SessionExpiring.d.ts +2 -1
  535. package/dist/illustrations-v5/tnt/SessionExpiring.js +3 -0
  536. package/dist/illustrations-v5/tnt/Success.d.ts +2 -1
  537. package/dist/illustrations-v5/tnt/Success.js +3 -0
  538. package/dist/illustrations-v5/tnt/SuccessfulAuth.d.ts +2 -1
  539. package/dist/illustrations-v5/tnt/SuccessfulAuth.js +3 -0
  540. package/dist/illustrations-v5/tnt/Systems.d.ts +2 -1
  541. package/dist/illustrations-v5/tnt/Systems.js +3 -0
  542. package/dist/illustrations-v5/tnt/Teams.d.ts +2 -1
  543. package/dist/illustrations-v5/tnt/Teams.js +3 -0
  544. package/dist/illustrations-v5/tnt/Tools.d.ts +2 -1
  545. package/dist/illustrations-v5/tnt/Tools.js +3 -0
  546. package/dist/illustrations-v5/tnt/UnSuccessfulAuth.d.ts +2 -1
  547. package/dist/illustrations-v5/tnt/UnSuccessfulAuth.js +3 -0
  548. package/dist/illustrations-v5/tnt/Unlock.d.ts +2 -1
  549. package/dist/illustrations-v5/tnt/Unlock.js +3 -0
  550. package/dist/illustrations-v5/tnt/hc/Avatar.d.ts +2 -1
  551. package/dist/illustrations-v5/tnt/hc/Avatar.js +3 -0
  552. package/dist/illustrations-v5/tnt/hc/Calculator.d.ts +2 -1
  553. package/dist/illustrations-v5/tnt/hc/Calculator.js +3 -0
  554. package/dist/illustrations-v5/tnt/hc/ChartArea.d.ts +2 -1
  555. package/dist/illustrations-v5/tnt/hc/ChartArea.js +3 -0
  556. package/dist/illustrations-v5/tnt/hc/ChartArea2.d.ts +2 -1
  557. package/dist/illustrations-v5/tnt/hc/ChartArea2.js +3 -0
  558. package/dist/illustrations-v5/tnt/hc/ChartBPMNFlow.d.ts +2 -1
  559. package/dist/illustrations-v5/tnt/hc/ChartBPMNFlow.js +3 -0
  560. package/dist/illustrations-v5/tnt/hc/ChartBar.d.ts +2 -1
  561. package/dist/illustrations-v5/tnt/hc/ChartBar.js +3 -0
  562. package/dist/illustrations-v5/tnt/hc/ChartBullet.d.ts +2 -1
  563. package/dist/illustrations-v5/tnt/hc/ChartBullet.js +3 -0
  564. package/dist/illustrations-v5/tnt/hc/ChartDoughnut.d.ts +2 -1
  565. package/dist/illustrations-v5/tnt/hc/ChartDoughnut.js +3 -0
  566. package/dist/illustrations-v5/tnt/hc/ChartFlow.d.ts +2 -1
  567. package/dist/illustrations-v5/tnt/hc/ChartFlow.js +3 -0
  568. package/dist/illustrations-v5/tnt/hc/ChartGantt.d.ts +2 -1
  569. package/dist/illustrations-v5/tnt/hc/ChartGantt.js +3 -0
  570. package/dist/illustrations-v5/tnt/hc/ChartOrg.d.ts +2 -1
  571. package/dist/illustrations-v5/tnt/hc/ChartOrg.js +3 -0
  572. package/dist/illustrations-v5/tnt/hc/ChartPie.d.ts +2 -1
  573. package/dist/illustrations-v5/tnt/hc/ChartPie.js +3 -0
  574. package/dist/illustrations-v5/tnt/hc/CodePlaceholder.d.ts +2 -1
  575. package/dist/illustrations-v5/tnt/hc/CodePlaceholder.js +3 -0
  576. package/dist/illustrations-v5/tnt/hc/Company.d.ts +2 -1
  577. package/dist/illustrations-v5/tnt/hc/Company.js +3 -0
  578. package/dist/illustrations-v5/tnt/hc/Compass.d.ts +2 -1
  579. package/dist/illustrations-v5/tnt/hc/Compass.js +3 -0
  580. package/dist/illustrations-v5/tnt/hc/Components.d.ts +2 -1
  581. package/dist/illustrations-v5/tnt/hc/Components.js +3 -0
  582. package/dist/illustrations-v5/tnt/hc/Dialog.d.ts +2 -1
  583. package/dist/illustrations-v5/tnt/hc/Dialog.js +3 -0
  584. package/dist/illustrations-v5/tnt/hc/EmptyContentPane.d.ts +2 -1
  585. package/dist/illustrations-v5/tnt/hc/EmptyContentPane.js +3 -0
  586. package/dist/illustrations-v5/tnt/hc/ExternalLink.d.ts +2 -1
  587. package/dist/illustrations-v5/tnt/hc/ExternalLink.js +3 -0
  588. package/dist/illustrations-v5/tnt/hc/FaceID.d.ts +2 -1
  589. package/dist/illustrations-v5/tnt/hc/FaceID.js +3 -0
  590. package/dist/illustrations-v5/tnt/hc/Fingerprint.d.ts +2 -1
  591. package/dist/illustrations-v5/tnt/hc/Fingerprint.js +3 -0
  592. package/dist/illustrations-v5/tnt/hc/Handshake.d.ts +2 -1
  593. package/dist/illustrations-v5/tnt/hc/Handshake.js +3 -0
  594. package/dist/illustrations-v5/tnt/hc/Help.d.ts +2 -1
  595. package/dist/illustrations-v5/tnt/hc/Help.js +3 -0
  596. package/dist/illustrations-v5/tnt/hc/Lock.d.ts +2 -1
  597. package/dist/illustrations-v5/tnt/hc/Lock.js +3 -0
  598. package/dist/illustrations-v5/tnt/hc/Mission.d.ts +2 -1
  599. package/dist/illustrations-v5/tnt/hc/Mission.js +3 -0
  600. package/dist/illustrations-v5/tnt/hc/MissionFailed.d.ts +2 -1
  601. package/dist/illustrations-v5/tnt/hc/MissionFailed.js +3 -0
  602. package/dist/illustrations-v5/tnt/hc/NoApplications.d.ts +2 -1
  603. package/dist/illustrations-v5/tnt/hc/NoApplications.js +3 -0
  604. package/dist/illustrations-v5/tnt/hc/NoFlows.d.ts +2 -1
  605. package/dist/illustrations-v5/tnt/hc/NoFlows.js +3 -0
  606. package/dist/illustrations-v5/tnt/hc/NoUsers.d.ts +2 -1
  607. package/dist/illustrations-v5/tnt/hc/NoUsers.js +3 -0
  608. package/dist/illustrations-v5/tnt/hc/Radar.d.ts +2 -1
  609. package/dist/illustrations-v5/tnt/hc/Radar.js +3 -0
  610. package/dist/illustrations-v5/tnt/hc/RoadMap.d.ts +2 -1
  611. package/dist/illustrations-v5/tnt/hc/RoadMap.js +3 -0
  612. package/dist/illustrations-v5/tnt/hc/Secrets.d.ts +2 -1
  613. package/dist/illustrations-v5/tnt/hc/Secrets.js +3 -0
  614. package/dist/illustrations-v5/tnt/hc/Services.d.ts +2 -1
  615. package/dist/illustrations-v5/tnt/hc/Services.js +3 -0
  616. package/dist/illustrations-v5/tnt/hc/SessionExpired.d.ts +2 -1
  617. package/dist/illustrations-v5/tnt/hc/SessionExpired.js +3 -0
  618. package/dist/illustrations-v5/tnt/hc/SessionExpiring.d.ts +2 -1
  619. package/dist/illustrations-v5/tnt/hc/SessionExpiring.js +3 -0
  620. package/dist/illustrations-v5/tnt/hc/Settings.d.ts +2 -1
  621. package/dist/illustrations-v5/tnt/hc/Settings.js +3 -0
  622. package/dist/illustrations-v5/tnt/hc/Success.d.ts +2 -1
  623. package/dist/illustrations-v5/tnt/hc/Success.js +3 -0
  624. package/dist/illustrations-v5/tnt/hc/SuccessfulAuth.d.ts +2 -1
  625. package/dist/illustrations-v5/tnt/hc/SuccessfulAuth.js +3 -0
  626. package/dist/illustrations-v5/tnt/hc/Systems.d.ts +2 -1
  627. package/dist/illustrations-v5/tnt/hc/Systems.js +3 -0
  628. package/dist/illustrations-v5/tnt/hc/Teams.d.ts +2 -1
  629. package/dist/illustrations-v5/tnt/hc/Teams.js +3 -0
  630. package/dist/illustrations-v5/tnt/hc/Tools.d.ts +2 -1
  631. package/dist/illustrations-v5/tnt/hc/Tools.js +3 -0
  632. package/dist/illustrations-v5/tnt/hc/Tutorials.d.ts +2 -1
  633. package/dist/illustrations-v5/tnt/hc/Tutorials.js +3 -0
  634. package/dist/illustrations-v5/tnt/hc/UnSuccessfulAuth.d.ts +2 -1
  635. package/dist/illustrations-v5/tnt/hc/UnSuccessfulAuth.js +3 -0
  636. package/dist/illustrations-v5/tnt/hc/Unlock.d.ts +2 -1
  637. package/dist/illustrations-v5/tnt/hc/Unlock.js +3 -0
  638. package/dist/types/BarDesign.d.ts +0 -1
  639. package/dist/types/BarDesign.js +0 -1
  640. package/dist/types/BarDesign.js.map +1 -1
  641. package/dist/types/FCLLayout.d.ts +0 -9
  642. package/dist/types/FCLLayout.js +0 -9
  643. package/dist/types/FCLLayout.js.map +1 -1
  644. package/dist/types/IllustrationMessageSize.d.ts +12 -10
  645. package/dist/types/IllustrationMessageSize.js +12 -10
  646. package/dist/types/IllustrationMessageSize.js.map +1 -1
  647. package/dist/types/IllustrationMessageType.d.ts +0 -1
  648. package/dist/types/IllustrationMessageType.js +0 -1
  649. package/dist/types/IllustrationMessageType.js.map +1 -1
  650. package/dist/types/MediaGalleryItemLayout.d.ts +1 -2
  651. package/dist/types/MediaGalleryItemLayout.js +1 -2
  652. package/dist/types/MediaGalleryItemLayout.js.map +1 -1
  653. package/dist/types/MediaGalleryLayout.d.ts +1 -2
  654. package/dist/types/MediaGalleryLayout.js +1 -2
  655. package/dist/types/MediaGalleryLayout.js.map +1 -1
  656. package/dist/types/MediaGalleryMenuHorizontalAlign.d.ts +1 -2
  657. package/dist/types/MediaGalleryMenuHorizontalAlign.js +1 -2
  658. package/dist/types/MediaGalleryMenuHorizontalAlign.js.map +1 -1
  659. package/dist/types/MediaGalleryMenuVerticalAlign.d.ts +1 -2
  660. package/dist/types/MediaGalleryMenuVerticalAlign.js +1 -2
  661. package/dist/types/MediaGalleryMenuVerticalAlign.js.map +1 -1
  662. package/dist/types/PageBackgroundDesign.d.ts +0 -4
  663. package/dist/types/PageBackgroundDesign.js +0 -4
  664. package/dist/types/PageBackgroundDesign.js.map +1 -1
  665. package/dist/types/SideContentFallDown.d.ts +0 -1
  666. package/dist/types/SideContentFallDown.js +0 -1
  667. package/dist/types/SideContentFallDown.js.map +1 -1
  668. package/dist/types/SideContentPosition.d.ts +0 -1
  669. package/dist/types/SideContentPosition.js +0 -1
  670. package/dist/types/SideContentPosition.js.map +1 -1
  671. package/dist/types/SideContentVisibility.d.ts +0 -1
  672. package/dist/types/SideContentVisibility.js +0 -1
  673. package/dist/types/SideContentVisibility.js.map +1 -1
  674. package/dist/types/TimelineLayout.d.ts +0 -1
  675. package/dist/types/TimelineLayout.js +0 -1
  676. package/dist/types/TimelineLayout.js.map +1 -1
  677. package/dist/types/UploadCollectionDnDMode.d.ts +0 -1
  678. package/dist/types/UploadCollectionDnDMode.js +0 -1
  679. package/dist/types/UploadCollectionDnDMode.js.map +1 -1
  680. package/dist/types/UploadState.d.ts +0 -1
  681. package/dist/types/UploadState.js +0 -1
  682. package/dist/types/UploadState.js.map +1 -1
  683. package/dist/types/ViewSettingsDialogMode.d.ts +0 -1
  684. package/dist/types/ViewSettingsDialogMode.js +0 -1
  685. package/dist/types/ViewSettingsDialogMode.js.map +1 -1
  686. package/dist/types/WizardContentLayout.d.ts +3 -4
  687. package/dist/types/WizardContentLayout.js +3 -4
  688. package/dist/types/WizardContentLayout.js.map +1 -1
  689. package/package.json +7 -7
  690. package/src/IllustratedMessage.hbs +25 -22
  691. package/src/i18n/messagebundle_sk.properties +6 -6
  692. package/src/i18n/messagebundle_th.properties +6 -6
  693. package/src/illustrations/sapIllus-Dot-AddColumn.svg +26 -0
  694. package/src/illustrations/sapIllus-Dot-AddDimensions.svg +15 -0
  695. package/src/illustrations/sapIllus-Dot-AddPeople.svg +8 -0
  696. package/src/illustrations/sapIllus-Dot-BalloonSky.svg +6 -0
  697. package/src/illustrations/sapIllus-Dot-Connection.svg +9 -0
  698. package/src/illustrations/sapIllus-Dot-EmptyCalendar.svg +36 -0
  699. package/src/illustrations/sapIllus-Dot-EmptyList.svg +6 -0
  700. package/src/illustrations/sapIllus-Dot-EmptyPlanningCalendar.svg +36 -0
  701. package/src/illustrations/sapIllus-Dot-ErrorScreen.svg +8 -0
  702. package/src/illustrations/sapIllus-Dot-FilterTable.svg +7 -0
  703. package/src/illustrations/sapIllus-Dot-GroupTable.svg +35 -0
  704. package/src/illustrations/sapIllus-Dot-NoColumnsSet.svg +6 -0
  705. package/src/illustrations/sapIllus-Dot-NoDimensionsSet.svg +6 -0
  706. package/src/illustrations/sapIllus-Dot-NoFilterResults.svg +7 -0
  707. package/src/illustrations/sapIllus-Dot-NoMail_v1.svg +9 -0
  708. package/src/illustrations/sapIllus-Dot-NoSavedItems_v1.svg +12 -0
  709. package/src/illustrations/sapIllus-Dot-NoSearchResults.svg +10 -0
  710. package/src/illustrations/sapIllus-Dot-NoTasks_v1.svg +12 -0
  711. package/src/illustrations/sapIllus-Dot-PageNotFound.svg +6 -0
  712. package/src/illustrations/sapIllus-Dot-ReloadScreen.svg +8 -0
  713. package/src/illustrations/sapIllus-Dot-ResizeColumn.svg +26 -0
  714. package/src/illustrations/sapIllus-Dot-SearchEarth.svg +6 -0
  715. package/src/illustrations/sapIllus-Dot-SearchFolder.svg +10 -0
  716. package/src/illustrations/sapIllus-Dot-SimpleBalloon.svg +6 -0
  717. package/src/illustrations/sapIllus-Dot-SimpleBell.svg +7 -0
  718. package/src/illustrations/sapIllus-Dot-SimpleCalendar.svg +36 -0
  719. package/src/illustrations/sapIllus-Dot-SimpleCheckMark.svg +4 -0
  720. package/src/illustrations/sapIllus-Dot-SimpleConnection.svg +9 -0
  721. package/src/illustrations/sapIllus-Dot-SimpleEmptyDoc.svg +7 -0
  722. package/src/illustrations/sapIllus-Dot-SimpleEmptyList.svg +6 -0
  723. package/src/illustrations/sapIllus-Dot-SimpleError.svg +8 -0
  724. package/src/illustrations/sapIllus-Dot-SimpleMagnifier.svg +6 -0
  725. package/src/illustrations/sapIllus-Dot-SimpleMail.svg +9 -0
  726. package/src/illustrations/sapIllus-Dot-SimpleNoSavedItems.svg +12 -0
  727. package/src/illustrations/sapIllus-Dot-SimpleNotFoundMagnifier.svg +10 -0
  728. package/src/illustrations/sapIllus-Dot-SimpleReload.svg +8 -0
  729. package/src/illustrations/sapIllus-Dot-SimpleTask.svg +12 -0
  730. package/src/illustrations/sapIllus-Dot-SleepingBell.svg +7 -0
  731. package/src/illustrations/sapIllus-Dot-SortColumn.svg +28 -0
  732. package/src/illustrations/sapIllus-Dot-SuccessHighFive.svg +6 -0
  733. package/src/illustrations/sapIllus-Dot-SuccessScreen.svg +4 -0
  734. package/src/illustrations/sapIllus-Dot-Survey.svg +7 -0
  735. package/src/illustrations/sapIllus-Dot-Tent.svg +7 -0
  736. package/src/illustrations/sapIllus-Dot-UnableToLoadImage.svg +8 -0
  737. package/src/illustrations/sapIllus-Dot-UploadCollection.svg +6 -0
  738. package/src/illustrations/sapIllus-Dot-UploadToCloud.svg +5 -0
  739. package/src/themes/IllustratedMessage.css +37 -1
@@ -14,8 +14,7 @@ type NotificationListItemBaseCloseEventDetail = {
14
14
  /**
15
15
  * @class
16
16
  *
17
- * The base class of the <code>NotificationListItem</code> and <code>NotificationListGroupItem</code>.
18
- *
17
+ * The base class of the `NotificationListItem` and `NotificationListGroupItem`.
19
18
  * @constructor
20
19
  * @extends ListItemBase
21
20
  * @since 1.0.0-rc.8
@@ -23,28 +22,27 @@ type NotificationListItemBaseCloseEventDetail = {
23
22
  */
24
23
  declare class NotificationListItemBase extends ListItemBase {
25
24
  /**
26
- * Defines the <code>titleText</code> of the item.
25
+ * Defines the `titleText` of the item.
27
26
  * @default ""
28
27
  * @public
29
28
  */
30
29
  titleText: string;
31
30
  /**
32
- * Defines the <code>priority</code> of the item.
33
- *
31
+ * Defines the `priority` of the item.
34
32
  * @default "None"
35
33
  * @public
36
34
  */
37
35
  priority: `${Priority}`;
38
36
  /**
39
- * Defines if the <code>close</code> button would be displayed.
37
+ * Defines if the `close` button would be displayed.
40
38
  * @default false
41
39
  * @public
42
40
  */
43
41
  showClose: boolean;
44
42
  /**
45
- * Defines if the <code>notification</code> is new or has been already read.
46
- * <br><br>
47
- * <b>Note:</b> if set to <code>false</code> the <code>titleText</code> has bold font,
43
+ * Defines if the `notification` is new or has been already read.
44
+ *
45
+ * **Note:** if set to `false` the `titleText` has bold font,
48
46
  * if set to true - it has a normal font.
49
47
  * @default false
50
48
  * @public
@@ -59,16 +57,14 @@ declare class NotificationListItemBase extends ListItemBase {
59
57
  busy: boolean;
60
58
  /**
61
59
  * Defines the delay in milliseconds, after which the busy indicator will show up for this component.
62
- *
63
60
  * @default 1000
64
61
  * @public
65
62
  */
66
63
  busyDelay: number;
67
64
  /**
68
65
  * Defines the actions, displayed in the top-right area.
69
- * <br><br>
70
- * <b>Note:</b> use the <code>ui5-notification-action</code> component.
71
66
  *
67
+ * **Note:** use the `ui5-notification-action` component.
72
68
  * @public
73
69
  */
74
70
  actions: Array<NotificationAction>;
@@ -37,8 +37,7 @@ const ICON_PER_PRIORITY = {
37
37
  /**
38
38
  * @class
39
39
  *
40
- * The base class of the <code>NotificationListItem</code> and <code>NotificationListGroupItem</code>.
41
- *
40
+ * The base class of the `NotificationListItem` and `NotificationListGroupItem`.
42
41
  * @constructor
43
42
  * @extends ListItemBase
44
43
  * @since 1.0.0-rc.8
@@ -155,8 +154,7 @@ NotificationListItemBase = NotificationListItemBase_1 = __decorate([
155
154
  staticAreaTemplate: NotificationOverflowActionsPopoverTemplate,
156
155
  })
157
156
  /**
158
- * Fired when the <code>Close</code> button is pressed.
159
- *
157
+ * Fired when the `Close` button is pressed.
160
158
  * @param {HTMLElement} item the closed item.
161
159
  * @public
162
160
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationListItemBase.js","sourceRoot":"","sources":["../src/NotificationListItemBase.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,YAAY,MAAM,yCAAyC,CAAC;AACnE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AAIjE,QAAQ;AACR,OAAO,0CAA0C,CAAC;AAClD,OAAO,kDAAkD,CAAC;AAC1D,OAAO,gDAAgD,CAAC;AACxD,OAAO,kDAAkD,CAAC;AAC1D,OAAO,2CAA2C,CAAC;AAEnD,YAAY;AACZ,OAAO,0CAA0C,MAAM,yEAAyE,CAAC;AAEjI,SAAS;AACT,OAAO,qCAAqC,MAAM,8DAA8D,CAAC;AAEjH;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACzB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,eAAe;IAChC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB;IACpC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,iBAAiB;IACjC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE;CACnB,CAAC;AAMF;;;;;;;;;GASG;AAsBH,IAAM,wBAAwB,gCAA9B,MAAM,wBAAyB,SAAQ,YAAY;IAmElD,IAAI,YAAY;QACf,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;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AwB,CAAC,eAAe,GAAG,MAAM,aAAa,CAAC,0BAA0B,CAAC,CAAC;IAC5F,CAAC;CACD,CAAA;AAnKA;IADC,QAAQ,EAAE;2DACQ;AASnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;0DACjC;AAQzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2DACR;AAWpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AASf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AASf;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;2DAClC;AAUnB;IADC,IAAI,EAAE;yDAC4B;AA/D9B,wBAAwB;IArB7B,aAAa,CAAC;QACd,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,0CAA0C;KAC9D,CAAC;IAEF;;;;;OAKG;;IACF,KAAK,CAA2C,OAAO,EAAE;QACxD,MAAM,EAAE;YACR;;eAEG;YACH,IAAI,EAAE;gBACL,IAAI,EAAE,WAAW;aACjB;SACD;KACD,CAAC;GACI,wBAAwB,CA0K7B;AAED,eAAe,wBAAwB,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport { isSpace } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport ListItemBase from \"@ui5/webcomponents/dist/ListItemBase.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport Priority from \"@ui5/webcomponents/dist/types/Priority.js\";\nimport type Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport type NotificationAction from \"./NotificationAction.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\nimport \"@ui5/webcomponents-icons/dist/message-success.js\";\nimport \"@ui5/webcomponents-icons/dist/message-error.js\";\nimport \"@ui5/webcomponents-icons/dist/message-warning.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\n\n// Templates\nimport NotificationOverflowActionsPopoverTemplate from \"./generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js\";\n\n// Styles\nimport NotificationOverflowActionsPopoverCss from \"./generated/themes/NotificationOverflowActionsPopover.css.js\";\n\n/**\n * Defines the icons corresponding to the notification's priority.\n */\nconst ICON_PER_PRIORITY = {\n\t[Priority.High]: \"message-error\",\n\t[Priority.Medium]: \"message-warning\",\n\t[Priority.Low]: \"message-success\",\n\t[Priority.None]: \"\",\n};\n\ntype NotificationListItemBaseCloseEventDetail = {\n\titem: HTMLElement,\n};\n\n/**\n * @class\n *\n * The base class of the <code>NotificationListItem</code> and <code>NotificationListGroupItem</code>.\n *\n * @constructor\n * @extends ListItemBase\n * @since 1.0.0-rc.8\n * @public\n */\n@customElement({\n\tstaticAreaStyles: NotificationOverflowActionsPopoverCss,\n\tstaticAreaTemplate: NotificationOverflowActionsPopoverTemplate,\n})\n\n/**\n * Fired when the <code>Close</code> button is pressed.\n *\n * @param {HTMLElement} item the closed item.\n * @public\n */\n@event<NotificationListItemBaseCloseEventDetail>(\"close\", {\n\t detail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\titem: {\n\t\t\ttype: HTMLElement,\n\t\t},\n\t},\n})\nclass NotificationListItemBase extends ListItemBase {\n\t/**\n\t * Defines the <code>titleText</code> of the item.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the <code>priority</code> of the item.\n\t *\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: Priority, defaultValue: Priority.None })\n\tpriority!: `${Priority}`;\n\n\t/**\n\t * Defines if the <code>close</code> button would be displayed.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowClose!: boolean;\n\n\t/**\n\t * Defines if the <code>notification</code> is new or has been already read.\n\t * <br><br>\n\t * <b>Note:</b> if set to <code>false</code> the <code>titleText</code> has bold font,\n\t * if set to true - it has a normal font.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tread!: boolean;\n\n\t/**\n\t * Defines if a busy indicator would be displayed over the item.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.8\n\t */\n\t@property({ type: Boolean })\n\tbusy!: boolean;\n\n\t/**\n\t * Defines the delay in milliseconds, after which the busy indicator will show up for this component.\n\t *\n\t * @default 1000\n\t * @public\n\t */\n\t@property({ validator: Integer, defaultValue: 1000 })\n\tbusyDelay!: number;\n\n\t/**\n\t * Defines the actions, displayed in the top-right area.\n\t * <br><br>\n\t * <b>Note:</b> use the <code>ui5-notification-action</code> component.\n\t *\n\t * @public\n\t */\n\t@slot()\n\tactions!: Array<NotificationAction>\n\n\tstatic i18nFioriBundle: I18nBundle;\n\n\tget hasTitleText() {\n\t\treturn !!this.titleText.length;\n\t}\n\n\tget hasPriority() {\n\t\treturn this.priority !== Priority.None;\n\t}\n\n\tget priorityIcon() {\n\t\treturn ICON_PER_PRIORITY[this.priority];\n\t}\n\n\tget overflowButtonDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-overflow-btn\")!;\n\t}\n\n\tget showOverflow() {\n\t\treturn !!this.overflowActions.length;\n\t}\n\n\tget overflowActions() {\n\t\tif (this.actions.length <= 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget standardActions() {\n\t\tif (this.actions.length > 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget actionsInfo() {\n\t\treturn this.actions.map(action => {\n\t\t\treturn {\n\t\t\t\ticon: action.icon,\n\t\t\t\ttext: action.text,\n\t\t\t\tpress: this._onCustomActionClick.bind(this),\n\t\t\t\trefItemid: action._id,\n\t\t\t\tdisabled: action.disabled ? true : undefined,\n\t\t\t\tdesign: action.design,\n\t\t\t};\n\t\t});\n\t}\n\n\t/**\n\t * Event handlers\n\t */\n\t_onBtnCloseClick() {\n\t\tthis.fireEvent<NotificationListItemBaseCloseEventDetail>(\"close\", { item: this });\n\t}\n\n\t_onBtnOverflowClick() {\n\t\tthis.openOverflow();\n\t}\n\n\t_onCustomActionClick(e: MouseEvent) {\n\t\tconst refItemId = (e.target as Element).getAttribute(\"data-ui5-external-action-item-id\");\n\n\t\tif (refItemId) {\n\t\t\tthis.getActionByID(refItemId)!.fireClickEvent(e);\n\t\t\tthis.closeOverflow();\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tsuper._onkeydown(e);\n\n\t\tif (getEventMark(e) === \"button\") {\n\t\t\treturn;\n\t\t}\n\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\tgetActionByID(id: string) {\n\t\treturn this.actions.find(action => action._id === id);\n\t}\n\n\tasync openOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.showAt(this.overflowButtonDOM);\n\t}\n\n\tasync closeOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.close();\n\t}\n\n\tasync getOverflowPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\".ui5-notification-overflow-popover\")!;\n\t}\n\n\tstatic async onDefine() {\n\t\tNotificationListItemBase.i18nFioriBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n}\n\nexport default NotificationListItemBase;\nexport type {\n\tNotificationListItemBaseCloseEventDetail,\n};\n"]}
1
+ {"version":3,"file":"NotificationListItemBase.js","sourceRoot":"","sources":["../src/NotificationListItemBase.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,YAAY,MAAM,yCAAyC,CAAC;AACnE,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AAIjE,QAAQ;AACR,OAAO,0CAA0C,CAAC;AAClD,OAAO,kDAAkD,CAAC;AAC1D,OAAO,gDAAgD,CAAC;AACxD,OAAO,kDAAkD,CAAC;AAC1D,OAAO,2CAA2C,CAAC;AAEnD,YAAY;AACZ,OAAO,0CAA0C,MAAM,yEAAyE,CAAC;AAEjI,SAAS;AACT,OAAO,qCAAqC,MAAM,8DAA8D,CAAC;AAEjH;;GAEG;AACH,MAAM,iBAAiB,GAAG;IACzB,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,eAAe;IAChC,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB;IACpC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,iBAAiB;IACjC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,EAAE;CACnB,CAAC;AAMF;;;;;;;;GAQG;AAqBH,IAAM,wBAAwB,gCAA9B,MAAM,wBAAyB,SAAQ,YAAY;IAgElD,IAAI,YAAY;QACf,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;IAChC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CAAC,eAAe,GAAG,MAAM,aAAa,CAAC,0BAA0B,CAAC,CAAC;IAC5F,CAAC;CACD,CAAA;AAhKA;IADC,QAAQ,EAAE;2DACQ;AAQnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC;0DACjC;AAQzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;2DACR;AAWpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AASf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;sDACb;AAQf;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;2DAClC;AASnB;IADC,IAAI,EAAE;yDAC4B;AA5D9B,wBAAwB;IApB7B,aAAa,CAAC;QACd,gBAAgB,EAAE,qCAAqC;QACvD,kBAAkB,EAAE,0CAA0C;KAC9D,CAAC;IAEF;;;;OAIG;;IACF,KAAK,CAA2C,OAAO,EAAE;QACxD,MAAM,EAAE;YACR;;eAEG;YACH,IAAI,EAAE;gBACL,IAAI,EAAE,WAAW;aACjB;SACD;KACD,CAAC;GACI,wBAAwB,CAuK7B;AAED,eAAe,wBAAwB,CAAC","sourcesContent":["import customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport { isSpace } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport ListItemBase from \"@ui5/webcomponents/dist/ListItemBase.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport Priority from \"@ui5/webcomponents/dist/types/Priority.js\";\nimport type Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport type NotificationAction from \"./NotificationAction.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\nimport \"@ui5/webcomponents-icons/dist/message-success.js\";\nimport \"@ui5/webcomponents-icons/dist/message-error.js\";\nimport \"@ui5/webcomponents-icons/dist/message-warning.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\n\n// Templates\nimport NotificationOverflowActionsPopoverTemplate from \"./generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js\";\n\n// Styles\nimport NotificationOverflowActionsPopoverCss from \"./generated/themes/NotificationOverflowActionsPopover.css.js\";\n\n/**\n * Defines the icons corresponding to the notification's priority.\n */\nconst ICON_PER_PRIORITY = {\n\t[Priority.High]: \"message-error\",\n\t[Priority.Medium]: \"message-warning\",\n\t[Priority.Low]: \"message-success\",\n\t[Priority.None]: \"\",\n};\n\ntype NotificationListItemBaseCloseEventDetail = {\n\titem: HTMLElement,\n};\n\n/**\n * @class\n *\n * The base class of the `NotificationListItem` and `NotificationListGroupItem`.\n * @constructor\n * @extends ListItemBase\n * @since 1.0.0-rc.8\n * @public\n */\n@customElement({\n\tstaticAreaStyles: NotificationOverflowActionsPopoverCss,\n\tstaticAreaTemplate: NotificationOverflowActionsPopoverTemplate,\n})\n\n/**\n * Fired when the `Close` button is pressed.\n * @param {HTMLElement} item the closed item.\n * @public\n */\n@event<NotificationListItemBaseCloseEventDetail>(\"close\", {\n\t detail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\titem: {\n\t\t\ttype: HTMLElement,\n\t\t},\n\t},\n})\nclass NotificationListItemBase extends ListItemBase {\n\t/**\n\t * Defines the `titleText` of the item.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the `priority` of the item.\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: Priority, defaultValue: Priority.None })\n\tpriority!: `${Priority}`;\n\n\t/**\n\t * Defines if the `close` button would be displayed.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowClose!: boolean;\n\n\t/**\n\t * Defines if the `notification` is new or has been already read.\n\t *\n\t * **Note:** if set to `false` the `titleText` has bold font,\n\t * if set to true - it has a normal font.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tread!: boolean;\n\n\t/**\n\t * Defines if a busy indicator would be displayed over the item.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.8\n\t */\n\t@property({ type: Boolean })\n\tbusy!: boolean;\n\n\t/**\n\t * Defines the delay in milliseconds, after which the busy indicator will show up for this component.\n\t * @default 1000\n\t * @public\n\t */\n\t@property({ validator: Integer, defaultValue: 1000 })\n\tbusyDelay!: number;\n\n\t/**\n\t * Defines the actions, displayed in the top-right area.\n\t *\n\t * **Note:** use the `ui5-notification-action` component.\n\t * @public\n\t */\n\t@slot()\n\tactions!: Array<NotificationAction>\n\n\tstatic i18nFioriBundle: I18nBundle;\n\n\tget hasTitleText() {\n\t\treturn !!this.titleText.length;\n\t}\n\n\tget hasPriority() {\n\t\treturn this.priority !== Priority.None;\n\t}\n\n\tget priorityIcon() {\n\t\treturn ICON_PER_PRIORITY[this.priority];\n\t}\n\n\tget overflowButtonDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-overflow-btn\")!;\n\t}\n\n\tget showOverflow() {\n\t\treturn !!this.overflowActions.length;\n\t}\n\n\tget overflowActions() {\n\t\tif (this.actions.length <= 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget standardActions() {\n\t\tif (this.actions.length > 1) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn this.actionsInfo;\n\t}\n\n\tget actionsInfo() {\n\t\treturn this.actions.map(action => {\n\t\t\treturn {\n\t\t\t\ticon: action.icon,\n\t\t\t\ttext: action.text,\n\t\t\t\tpress: this._onCustomActionClick.bind(this),\n\t\t\t\trefItemid: action._id,\n\t\t\t\tdisabled: action.disabled ? true : undefined,\n\t\t\t\tdesign: action.design,\n\t\t\t};\n\t\t});\n\t}\n\n\t/**\n\t * Event handlers\n\t */\n\t_onBtnCloseClick() {\n\t\tthis.fireEvent<NotificationListItemBaseCloseEventDetail>(\"close\", { item: this });\n\t}\n\n\t_onBtnOverflowClick() {\n\t\tthis.openOverflow();\n\t}\n\n\t_onCustomActionClick(e: MouseEvent) {\n\t\tconst refItemId = (e.target as Element).getAttribute(\"data-ui5-external-action-item-id\");\n\n\t\tif (refItemId) {\n\t\t\tthis.getActionByID(refItemId)!.fireClickEvent(e);\n\t\t\tthis.closeOverflow();\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tsuper._onkeydown(e);\n\n\t\tif (getEventMark(e) === \"button\") {\n\t\t\treturn;\n\t\t}\n\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\tgetActionByID(id: string) {\n\t\treturn this.actions.find(action => action._id === id);\n\t}\n\n\tasync openOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.showAt(this.overflowButtonDOM);\n\t}\n\n\tasync closeOverflow() {\n\t\tconst overflowPopover = await this.getOverflowPopover();\n\t\toverflowPopover.close();\n\t}\n\n\tasync getOverflowPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\".ui5-notification-overflow-popover\")!;\n\t}\n\n\tstatic async onDefine() {\n\t\tNotificationListItemBase.i18nFioriBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n}\n\nexport default NotificationListItemBase;\nexport type {\n\tNotificationListItemBaseCloseEventDetail,\n};\n"]}
package/dist/Page.d.ts CHANGED
@@ -4,28 +4,27 @@ import PageBackgroundDesign from "./types/PageBackgroundDesign.js";
4
4
  /**
5
5
  * @class
6
6
  *
7
- * <h3 class="comment-api-title">Overview</h3>
7
+ * ### Overview
8
8
  *
9
- * The <code>ui5-page</code> is a container component that holds one whole screen of an application.
9
+ * The `ui5-page` is a container component that holds one whole screen of an application.
10
10
  * The page has three distinct areas that can hold content - a header, content area and a footer.
11
- * <h3>Structure</h3>
12
- * <h4>Header</h4>
11
+ * ### Structure
12
+ * #### Header
13
13
  * The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.
14
- * <h4>Content</h4>
14
+ * #### Content
15
15
  * The content occupies the main part of the page. Only the content area is scrollable by default.
16
- * This can be prevented by setting <code>enableScrolling</code> to <code>false</code>.
17
- * <h4>Footer</h4>
16
+ * This can be prevented by setting `enableScrolling` to `false`.
17
+ * #### Footer
18
18
  * The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.
19
- * This is enabled with the <code>floatingFooter</code> property.
19
+ * This is enabled with the `floatingFooter` property.
20
20
  *
21
- * <b>Note:</b> <code>ui5-page</code> occipues the whole available space of its parent. In order to achieve the intended design you have to make sure
22
- * that there is enough space for the <code>ui5-page</code> to be rendered.
23
- * <b>Note:</b> In order for the <code>ui5-page</code> to be displayed, the parent element should have fixed height.
21
+ * **Note:** `ui5-page` occipues the whole available space of its parent. In order to achieve the intended design you have to make sure
22
+ * that there is enough space for the `ui5-page` to be rendered.
23
+ * **Note:** In order for the `ui5-page` to be displayed, the parent element should have fixed height.
24
24
  *
25
- * <h3>ES6 Module Import</h3>
26
- *
27
- * <code>import "@ui5/webcomponents-fiori/dist/Page.js";</code>
25
+ * ### ES6 Module Import
28
26
  *
27
+ * `import "@ui5/webcomponents-fiori/dist/Page.js";`
29
28
  * @constructor
30
29
  * @extends UI5Element
31
30
  * @since 1.0.0-rc.12
@@ -34,11 +33,9 @@ import PageBackgroundDesign from "./types/PageBackgroundDesign.js";
34
33
  */
35
34
  declare class Page extends UI5Element {
36
35
  /**
37
- * Defines the background color of the <code>ui5-page</code>.
38
- * <br><br>
39
- * <b>Note:</b> When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.
40
- * <br><br>
36
+ * Defines the background color of the `ui5-page`.
41
37
  *
38
+ * **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.
42
39
  * @default "Solid"
43
40
  * @public
44
41
  */
@@ -46,49 +43,42 @@ declare class Page extends UI5Element {
46
43
  /**
47
44
  * Disables vertical scrolling of page content.
48
45
  * If set to true, there will be no vertical scrolling at all.
49
- *
50
46
  * @default false
51
47
  * @public
52
48
  */
53
49
  disableScrolling: boolean;
54
50
  /**
55
51
  * Defines if the footer should float over the content.
56
- * <br><br>
57
- * <b>Note:</b> When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page.
58
52
  *
53
+ * **Note:** When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page.
59
54
  * @default true
60
55
  * @public
61
56
  */
62
57
  floatingFooter: boolean;
63
58
  /**
64
59
  * Defines the footer visibility.
65
- *
66
60
  * @default false
67
61
  * @public
68
62
  */
69
63
  hideFooter: boolean;
70
64
  /**
71
65
  * Defines the current media query size.
72
- *
73
66
  * @private
74
67
  * @since 1.0.0-rc.15
75
68
  */
76
69
  mediaRange: string;
77
70
  /**
78
71
  * Defines the header HTML Element.
79
- *
80
72
  * @public
81
73
  */
82
74
  header: Array<HTMLElement>;
83
75
  /**
84
76
  * Defines the content HTML Element.
85
- *
86
77
  * @public
87
78
  */
88
79
  content: Array<HTMLElement>;
89
80
  /**
90
81
  * Defines the footer HTML Element.
91
- *
92
82
  * @public
93
83
  */
94
84
  footer: Array<HTMLElement>;
package/dist/Page.js CHANGED
@@ -20,28 +20,27 @@ import PageCss from "./generated/themes/Page.css.js";
20
20
  /**
21
21
  * @class
22
22
  *
23
- * <h3 class="comment-api-title">Overview</h3>
23
+ * ### Overview
24
24
  *
25
- * The <code>ui5-page</code> is a container component that holds one whole screen of an application.
25
+ * The `ui5-page` is a container component that holds one whole screen of an application.
26
26
  * The page has three distinct areas that can hold content - a header, content area and a footer.
27
- * <h3>Structure</h3>
28
- * <h4>Header</h4>
27
+ * ### Structure
28
+ * #### Header
29
29
  * The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.
30
- * <h4>Content</h4>
30
+ * #### Content
31
31
  * The content occupies the main part of the page. Only the content area is scrollable by default.
32
- * This can be prevented by setting <code>enableScrolling</code> to <code>false</code>.
33
- * <h4>Footer</h4>
32
+ * This can be prevented by setting `enableScrolling` to `false`.
33
+ * #### Footer
34
34
  * The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.
35
- * This is enabled with the <code>floatingFooter</code> property.
35
+ * This is enabled with the `floatingFooter` property.
36
36
  *
37
- * <b>Note:</b> <code>ui5-page</code> occipues the whole available space of its parent. In order to achieve the intended design you have to make sure
38
- * that there is enough space for the <code>ui5-page</code> to be rendered.
39
- * <b>Note:</b> In order for the <code>ui5-page</code> to be displayed, the parent element should have fixed height.
37
+ * **Note:** `ui5-page` occipues the whole available space of its parent. In order to achieve the intended design you have to make sure
38
+ * that there is enough space for the `ui5-page` to be rendered.
39
+ * **Note:** In order for the `ui5-page` to be displayed, the parent element should have fixed height.
40
40
  *
41
- * <h3>ES6 Module Import</h3>
42
- *
43
- * <code>import "@ui5/webcomponents-fiori/dist/Page.js";</code>
41
+ * ### ES6 Module Import
44
42
  *
43
+ * `import "@ui5/webcomponents-fiori/dist/Page.js";`
45
44
  * @constructor
46
45
  * @extends UI5Element
47
46
  * @since 1.0.0-rc.12
package/dist/Page.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Page.js","sourceRoot":"","sources":["../src/Page.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAA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CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC;IAChD,CAAC;IAED,IAAI,MAAM;QACT,OAAO;YACN,OAAO,EAAE;gBACR,gBAAgB,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,IAAI,CAAC,qBAAqB;gBAClE,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,IAAI,CAAC,cAAc;gBACnD,KAAK,EAAE,IAAI,CAAC,WAAW;aACvB;YACD,MAAM,EAAE,EAAE;SACV,CAAC;IACH,CAAC;CACD,CAAA;AA3GA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,CAAC,KAAK,EAAE,CAAC;8CACtC;AAU7C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CACD;AAW3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4CACH;AASzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;wCACP;AASrB;IADC,QAAQ,EAAE;wCACS;AAQpB;IADC,IAAI,EAAE;oCACqB;AAQ5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;qCAChB;AAQ7B;IADC,IAAI,EAAE;oCACqB;AA1EvB,IAAI;IAVT,aAAa,CAAC;QACd,GAAG,EAAE,UAAU;QACf,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE;YACP,mBAAmB;YACnB,OAAO;SACP;QACD,QAAQ,EAAE,YAAY;KACtB,CAAC;GACI,IAAI,CAsHT;AAED,IAAI,CAAC,MAAM,EAAE,CAAC;AAEd,eAAe,IAAI,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport MediaRange from \"@ui5/webcomponents-base/dist/MediaRange.js\";\nimport browserScrollbarCSS from \"@ui5/webcomponents/dist/generated/themes/BrowserScrollbar.css.js\";\nimport PageBackgroundDesign from \"./types/PageBackgroundDesign.js\";\n\n// Template\nimport PageTemplate from \"./generated/templates/PageTemplate.lit.js\";\n\n// Styles\nimport PageCss from \"./generated/themes/Page.css.js\";\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-page</code> is a container component that holds one whole screen of an application.\n * The page has three distinct areas that can hold content - a header, content area and a footer.\n * <h3>Structure</h3>\n * <h4>Header</h4>\n * The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.\n * <h4>Content</h4>\n * The content occupies the main part of the page. Only the content area is scrollable by default.\n * This can be prevented by setting <code>enableScrolling</code> to <code>false</code>.\n * <h4>Footer</h4>\n * The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.\n * This is enabled with the <code>floatingFooter</code> property.\n *\n * <b>Note:</b> <code>ui5-page</code> occipues the whole available space of its parent. In order to achieve the intended design you have to make sure\n * that there is enough space for the <code>ui5-page</code> to be rendered.\n * <b>Note:</b> In order for the <code>ui5-page</code> to be displayed, the parent element should have fixed height.\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents-fiori/dist/Page.js\";</code>\n *\n * @constructor\n * @extends UI5Element\n * @since 1.0.0-rc.12\n * @public\n * @csspart content - Used to style the content section of the component\n */\n@customElement({\n\ttag: \"ui5-page\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: [\n\t\tbrowserScrollbarCSS,\n\t\tPageCss,\n\t],\n\ttemplate: PageTemplate,\n})\nclass Page extends UI5Element {\n\t/**\n\t * Defines the background color of the <code>ui5-page</code>.\n\t * <br><br>\n\t * <b>Note:</b> When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.\n\t * <br><br>\n\t *\n\t * @default \"Solid\"\n\t * @public\n\t */\n\t@property({ type: PageBackgroundDesign, defaultValue: PageBackgroundDesign.Solid })\n\tbackgroundDesign!: `${PageBackgroundDesign}`;\n\n\t/**\n\t * Disables vertical scrolling of page content.\n\t * If set to true, there will be no vertical scrolling at all.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisableScrolling!: boolean;\n\n\t/**\n\t * Defines if the footer should float over the content.\n\t * <br><br>\n\t * <b>Note:</b> When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page.\n\t *\n\t * @default true\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tfloatingFooter!: boolean;\n\n\t/**\n\t * Defines the footer visibility.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideFooter!: boolean;\n\n\t/**\n\t * Defines the current media query size.\n\t *\n\t * @private\n\t * @since 1.0.0-rc.15\n\t */\n\t@property()\n\tmediaRange!: string;\n\n\t/**\n\t * Defines the header HTML Element.\n\t *\n\t * @public\n\t */\n\t@slot()\n\theader!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the content HTML Element.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t *\n\t * @public\n\t */\n\t@slot()\n\tfooter!: Array<HTMLElement>;\n\n\t_updateMediaRange: ResizeObserverCallback;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._updateMediaRange = this.updateMediaRange.bind(this);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._updateMediaRange);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._updateMediaRange);\n\t}\n\n\tupdateMediaRange() {\n\t\tthis.mediaRange = MediaRange.getCurrentRange(MediaRange.RANGESETS.RANGE_4STEPS, this.getDomRef()!.offsetWidth);\n\t}\n\n\tget _contentBottom() {\n\t\treturn !this.floatingFooter && !this.hideFooter ? \"2.75rem\" : \"0\";\n\t}\n\n\tget _contentPaddingBottom() {\n\t\treturn this.floatingFooter && !this.hideFooter ? \"3.5rem\" : \"0\";\n\t}\n\n\tget _contentTop() {\n\t\treturn this.header.length ? \"2.75rem\" : \"0rem\";\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\tcontent: {\n\t\t\t\t\"padding-bottom\": this.footer.length && this._contentPaddingBottom,\n\t\t\t\t\"bottom\": this.footer.length && this._contentBottom,\n\t\t\t\t\"top\": this._contentTop,\n\t\t\t},\n\t\t\tfooter: {},\n\t\t};\n\t}\n}\n\nPage.define();\n\nexport default Page;\n"]}
1
+ {"version":3,"file":"Page.js","sourceRoot":"","sources":["../src/Page.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,mBAAmB,MAAM,kEAAkE,CAAC;AACnG,OAAO,oBAAoB,MAAM,iCAAiC,CAAC;AAEnE,WAAW;AACX,OAAO,YAAY,MAAM,2CAA2C,CAAC;AAErE,SAAS;AACT,OAAO,OAAO,MAAM,gCAAgC,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAWH,IAAM,I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,CAAA;AApGA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,YAAY,EAAE,oBAAoB,CAAC,KAAK,EAAE,CAAC;8CACtC;AAS7C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8CACD;AAU3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4CACH;AAQzB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;wCACP;AAQrB;IADC,QAAQ,EAAE;wCACS;AAOpB;IADC,IAAI,EAAE;oCACqB;AAO5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;qCAChB;AAO7B;IADC,IAAI,EAAE;oCACqB;AAjEvB,IAAI;IAVT,aAAa,CAAC;QACd,GAAG,EAAE,UAAU;QACf,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE;YACP,mBAAmB;YACnB,OAAO;SACP;QACD,QAAQ,EAAE,YAAY;KACtB,CAAC;GACI,IAAI,CA6GT;AAED,IAAI,CAAC,MAAM,EAAE,CAAC;AAEd,eAAe,IAAI,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport MediaRange from \"@ui5/webcomponents-base/dist/MediaRange.js\";\nimport browserScrollbarCSS from \"@ui5/webcomponents/dist/generated/themes/BrowserScrollbar.css.js\";\nimport PageBackgroundDesign from \"./types/PageBackgroundDesign.js\";\n\n// Template\nimport PageTemplate from \"./generated/templates/PageTemplate.lit.js\";\n\n// Styles\nimport PageCss from \"./generated/themes/Page.css.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-page` is a container component that holds one whole screen of an application.\n * The page has three distinct areas that can hold content - a header, content area and a footer.\n * ### Structure\n * #### Header\n * The top most area of the page is occupied by the header. The standard header includes a navigation button and a title.\n * #### Content\n * The content occupies the main part of the page. Only the content area is scrollable by default.\n * This can be prevented by setting `enableScrolling` to `false`.\n * #### Footer\n * The footer is optional and occupies the fixed bottom part of the page. Alternatively, the footer can be floating above the bottom part of the content.\n * This is enabled with the `floatingFooter` property.\n *\n * **Note:** `ui5-page` occipues the whole available space of its parent. In order to achieve the intended design you have to make sure\n * that there is enough space for the `ui5-page` to be rendered.\n * **Note:** In order for the `ui5-page` to be displayed, the parent element should have fixed height.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents-fiori/dist/Page.js\";`\n * @constructor\n * @extends UI5Element\n * @since 1.0.0-rc.12\n * @public\n * @csspart content - Used to style the content section of the component\n */\n@customElement({\n\ttag: \"ui5-page\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: [\n\t\tbrowserScrollbarCSS,\n\t\tPageCss,\n\t],\n\ttemplate: PageTemplate,\n})\nclass Page extends UI5Element {\n\t/**\n\t * Defines the background color of the `ui5-page`.\n\t *\n\t * **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.\n\t * @default \"Solid\"\n\t * @public\n\t */\n\t@property({ type: PageBackgroundDesign, defaultValue: PageBackgroundDesign.Solid })\n\tbackgroundDesign!: `${PageBackgroundDesign}`;\n\n\t/**\n\t * Disables vertical scrolling of page content.\n\t * If set to true, there will be no vertical scrolling at all.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisableScrolling!: boolean;\n\n\t/**\n\t * Defines if the footer should float over the content.\n\t *\n\t * **Note:** When set to true the footer floats over the content with a slight offset from the bottom, otherwise it is fixed at the very bottom of the page.\n\t * @default true\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tfloatingFooter!: boolean;\n\n\t/**\n\t * Defines the footer visibility.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideFooter!: boolean;\n\n\t/**\n\t * Defines the current media query size.\n\t * @private\n\t * @since 1.0.0-rc.15\n\t */\n\t@property()\n\tmediaRange!: string;\n\n\t/**\n\t * Defines the header HTML Element.\n\t * @public\n\t */\n\t@slot()\n\theader!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the content HTML Element.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the footer HTML Element.\n\t * @public\n\t */\n\t@slot()\n\tfooter!: Array<HTMLElement>;\n\n\t_updateMediaRange: ResizeObserverCallback;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._updateMediaRange = this.updateMediaRange.bind(this);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._updateMediaRange);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._updateMediaRange);\n\t}\n\n\tupdateMediaRange() {\n\t\tthis.mediaRange = MediaRange.getCurrentRange(MediaRange.RANGESETS.RANGE_4STEPS, this.getDomRef()!.offsetWidth);\n\t}\n\n\tget _contentBottom() {\n\t\treturn !this.floatingFooter && !this.hideFooter ? \"2.75rem\" : \"0\";\n\t}\n\n\tget _contentPaddingBottom() {\n\t\treturn this.floatingFooter && !this.hideFooter ? \"3.5rem\" : \"0\";\n\t}\n\n\tget _contentTop() {\n\t\treturn this.header.length ? \"2.75rem\" : \"0rem\";\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\tcontent: {\n\t\t\t\t\"padding-bottom\": this.footer.length && this._contentPaddingBottom,\n\t\t\t\t\"bottom\": this.footer.length && this._contentBottom,\n\t\t\t\t\"top\": this._contentTop,\n\t\t\t},\n\t\t\tfooter: {},\n\t\t};\n\t}\n}\n\nPage.define();\n\nexport default Page;\n"]}
@@ -4,8 +4,7 @@ import ItemNavigation from "@ui5/webcomponents-base/dist/delegate/ItemNavigation
4
4
  import type { ITabbable } from "@ui5/webcomponents-base/dist/delegate/ItemNavigation.js";
5
5
  import type { ResizeObserverCallback } from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js";
6
6
  /**
7
- * Interface for components that may be slotted inside <code>ui5-product-switch</code> as items
8
- *
7
+ * Interface for components that may be slotted inside `ui5-product-switch` as items
9
8
  * @public
10
9
  */
11
10
  interface IProductSwitchItem extends HTMLElement, ITabbable {
@@ -18,29 +17,24 @@ interface IProductSwitchItem extends HTMLElement, ITabbable {
18
17
  }
19
18
  /**
20
19
  * @class
21
- * <h3 class="comment-api-title">Overview</h3>
20
+ * ### Overview
22
21
  *
23
- * The <code>ui5-product-switch</code> is an SAP Fiori specific web component that is used in <code>ui5-shellbar</code>
22
+ * The `ui5-product-switch` is an SAP Fiori specific web component that is used in `ui5-shellbar`
24
23
  * and allows the user to easily switch between products.
25
- * <br><br>
26
24
  *
27
- * <h3>Keyboard Handling</h3>
28
- * The <code>ui5-product-switch</code> provides advanced keyboard handling.
25
+ * ### Keyboard Handling
26
+ * The `ui5-product-switch` provides advanced keyboard handling.
29
27
  * When focused, the user can use the following keyboard
30
28
  * shortcuts in order to perform a navigation:
31
- * <br>
32
- * <ul>
33
- * <li>[TAB] - Move focus to the next interactive element after the <code>ui5-product-switch</code></li>
34
- * <li>[UP/DOWN] - Navigates up and down the items </li>
35
- * <li>[LEFT/RIGHT] - Navigates left and right the items</li>
36
- * </ul>
37
- * <br>
38
- * <br>
39
29
  *
40
- * <h3>ES6 Module Import</h3>
41
- * <code>import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";</code>
42
- * <br>
43
- * <code>import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";</code> (for <code>ui5-product-switch-item</code>)
30
+ * - [TAB] - Move focus to the next interactive element after the `ui5-product-switch`
31
+ * - [UP/DOWN] - Navigates up and down the items
32
+ * - [LEFT/RIGHT] - Navigates left and right the items
33
+ *
34
+ * ### ES6 Module Import
35
+ * `import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";`
36
+ *
37
+ * `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";` (for `ui5-product-switch-item`)
44
38
  * @constructor
45
39
  * @extends UI5Element
46
40
  * @public
@@ -54,8 +48,7 @@ declare class ProductSwitch extends UI5Element {
54
48
  */
55
49
  desktopColumns?: number;
56
50
  /**
57
- * Defines the items of the <code>ui5-product-switch</code>.
58
- *
51
+ * Defines the items of the `ui5-product-switch`.
59
52
  * @public
60
53
  */
61
54
  items: Array<IProductSwitchItem>;
@@ -21,29 +21,24 @@ import { PRODUCT_SWITCH_CONTAINER_LABEL, } from "./generated/i18n/i18n-defaults.
21
21
  import ProductSwitchCss from "./generated/themes/ProductSwitch.css.js";
22
22
  /**
23
23
  * @class
24
- * <h3 class="comment-api-title">Overview</h3>
24
+ * ### Overview
25
25
  *
26
- * The <code>ui5-product-switch</code> is an SAP Fiori specific web component that is used in <code>ui5-shellbar</code>
26
+ * The `ui5-product-switch` is an SAP Fiori specific web component that is used in `ui5-shellbar`
27
27
  * and allows the user to easily switch between products.
28
- * <br><br>
29
28
  *
30
- * <h3>Keyboard Handling</h3>
31
- * The <code>ui5-product-switch</code> provides advanced keyboard handling.
29
+ * ### Keyboard Handling
30
+ * The `ui5-product-switch` provides advanced keyboard handling.
32
31
  * When focused, the user can use the following keyboard
33
32
  * shortcuts in order to perform a navigation:
34
- * <br>
35
- * <ul>
36
- * <li>[TAB] - Move focus to the next interactive element after the <code>ui5-product-switch</code></li>
37
- * <li>[UP/DOWN] - Navigates up and down the items </li>
38
- * <li>[LEFT/RIGHT] - Navigates left and right the items</li>
39
- * </ul>
40
- * <br>
41
- * <br>
42
33
  *
43
- * <h3>ES6 Module Import</h3>
44
- * <code>import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";</code>
45
- * <br>
46
- * <code>import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";</code> (for <code>ui5-product-switch-item</code>)
34
+ * - [TAB] - Move focus to the next interactive element after the `ui5-product-switch`
35
+ * - [UP/DOWN] - Navigates up and down the items
36
+ * - [LEFT/RIGHT] - Navigates left and right the items
37
+ *
38
+ * ### ES6 Module Import
39
+ * `import "@ui5/webcomponents-fiori/dist/ProductSwitch.js";`
40
+ *
41
+ * `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";` (for `ui5-product-switch-item`)
47
42
  * @constructor
48
43
  * @extends UI5Element
49
44
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSwitch.js","sourceRoot":"","sources":["../src/ProductSwitch.ts"],"names":[],"mappings":";;;;;;;AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,cAAc,MAAM,yDAAyD,CAAC;AAErF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EACN,MAAM,EACN,IAAI,GACJ,MAAM,sCAAsC,CAAC;AAE9C,OAAO,qBAAqB,MAAM,oDAAoD,CAAC;AAEvF,OAAO,EACN,8BAA8B,GAC9B,MAAM,mCAAmC,CAAC;AAE3C,SAAS;AACT,OAAO,gBAAgB,MAAM,yCAAyC,CAAC;AAgBvE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAOH,IAAM,aAAa,qBAAnB,MAAM,aAAc,SAAQ,UAAU;IACrC;QACC,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG,CA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AAC,CAAC,eAAe,EAAE,CAAC;SACpB;IACF,CAAC;IAED,SAAS,CAAC,CAAgB;QACzB,IAAI,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,GAAG,CAAC,EAAE,EAAE,6BAA6B;YAC1E,CAAC,CAAC,eAAe,EAAE,CAAC;SACpB;IACF,CAAC;CACD,CAAA;AA7FA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;qDACT;AAQxB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;4CACZ;AA5B5B,aAAa;IANlB,aAAa,CAAC;QACd,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,gBAAgB;QACxB,QAAQ,EAAE,qBAAqB;KAC/B,CAAC;GACI,aAAa,CAiHlB;AAED,aAAa,CAAC,MAAM,EAAE,CAAC;AAEvB,eAAe,aAAa,CAAC","sourcesContent":["import type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\n\nimport {\n\tisDown,\n\tisUp,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\n\nimport ProductSwitchTemplate from \"./generated/templates/ProductSwitchTemplate.lit.js\";\n\nimport {\n\tPRODUCT_SWITCH_CONTAINER_LABEL,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport ProductSwitchCss from \"./generated/themes/ProductSwitch.css.js\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-product-switch</code> as items\n *\n * @public\n */\ninterface IProductSwitchItem extends HTMLElement, ITabbable {\n\ttitleText: string,\n\tsubtitleText: string,\n\ticon: string,\n\ttarget: string,\n\ttargetSrc: string,\n\tselected: boolean,\n}\n\n/**\n * @class\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-product-switch</code> is an SAP Fiori specific web component that is used in <code>ui5-shellbar</code>\n * and allows the user to easily switch between products.\n * <br><br>\n *\n * <h3>Keyboard Handling</h3>\n * The <code>ui5-product-switch</code> provides advanced keyboard handling.\n * When focused, the user can use the following keyboard\n * shortcuts in order to perform a navigation:\n * <br>\n * <ul>\n * <li>[TAB] - Move focus to the next interactive element after the <code>ui5-product-switch</code></li>\n * <li>[UP/DOWN] - Navigates up and down the items </li>\n * <li>[LEFT/RIGHT] - Navigates left and right the items</li>\n * </ul>\n * <br>\n * <br>\n *\n * <h3>ES6 Module Import</h3>\n * <code>import \"@ui5/webcomponents-fiori/dist/ProductSwitch.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-fiori/dist/ProductSwitchItem.js\";</code> (for <code>ui5-product-switch-item</code>)\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.5\n */\n@customElement({\n\ttag: \"ui5-product-switch\",\n\trenderer: litRender,\n\tstyles: ProductSwitchCss,\n\ttemplate: ProductSwitchTemplate,\n})\nclass ProductSwitch extends UI5Element {\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._currentIndex = 0;\n\t\tthis._rowSize = 4;\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\trowSize: this._rowSize,\n\t\t\tgetItemsCallback: () => this.items,\n\t\t});\n\n\t\tthis._handleResizeBound = this._handleResize.bind(this);\n\t}\n\n\t/**\n\t * Indicates how many columns are displayed.\n\t * @private\n\t */\n\t@property({ validator: Integer })\n\tdesktopColumns?: number;\n\n\t/**\n\t * Defines the items of the <code>ui5-product-switch</code>.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\titems!: Array<IProductSwitchItem>\n\n\t_itemNavigation: ItemNavigation;\n\t_currentIndex: number;\n\t_rowSize: number;\n\t_handleResizeBound: ResizeObserverCallback;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstatic get ROW_MIN_WIDTH() {\n\t\treturn {\n\t\t\tONE_COLUMN: 600,\n\t\t\tTHREE_COLUMN: 900,\n\t\t};\n\t}\n\n\tstatic async onDefine() {\n\t\tProductSwitch.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tget _ariaLabelText() {\n\t\treturn ProductSwitch.i18nBundle.getText(PRODUCT_SWITCH_CONTAINER_LABEL);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(document.body, this._handleResizeBound);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(document.body, this._handleResizeBound);\n\t}\n\n\tonBeforeRendering() {\n\t\tthis.desktopColumns = this.items.length > 6 ? 4 : 3;\n\t}\n\n\t_handleResize() {\n\t\tconst documentWidth = document.body.clientWidth;\n\n\t\tif (documentWidth <= (this.constructor as typeof ProductSwitch).ROW_MIN_WIDTH.ONE_COLUMN) {\n\t\t\tthis._setRowSize(1);\n\t\t} else if (documentWidth <= (this.constructor as typeof ProductSwitch).ROW_MIN_WIDTH.THREE_COLUMN || this.items.length <= 6) {\n\t\t\tthis._setRowSize(3);\n\t\t} else {\n\t\t\tthis._setRowSize(4);\n\t\t}\n\t}\n\n\thandleProductSwitchItemClick(e: MouseEvent) {\n\t\tthis.items.forEach(item => { item.selected = false; });\n\t\t(e.target as IProductSwitchItem).selected = true;\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tconst target = e.target as IProductSwitchItem;\n\n\t\tthis._itemNavigation.setCurrentItem(target);\n\t\tthis._currentIndex = this.items.indexOf(target);\n\t}\n\n\t_setRowSize(size: number) {\n\t\tthis._rowSize = size;\n\t\tthis._itemNavigation.setRowSize(size);\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isDown(e)) {\n\t\t\tthis._handleDown(e);\n\t\t} else if (isUp(e)) {\n\t\t\tthis._handleUp(e);\n\t\t}\n\t}\n\n\t_handleDown(e: KeyboardEvent) {\n\t\tconst itemsLength = this.items.length;\n\t\tif (this._currentIndex + this._rowSize > itemsLength) { // border reached, do nothing\n\t\t\te.stopPropagation();\n\t\t}\n\t}\n\n\t_handleUp(e: KeyboardEvent) {\n\t\tif (this._currentIndex - this._rowSize < 0) { // border reached, do nothing\n\t\t\te.stopPropagation();\n\t\t}\n\t}\n}\n\nProductSwitch.define();\n\nexport default ProductSwitch;\n\nexport type {\n\tIProductSwitchItem,\n};\n"]}
1
+ {"version":3,"file":"ProductSwitch.js","sourceRoot":"","sources":["../src/ProductSwitch.ts"],"names":[],"mappings":";;;;;;;AACA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,cAAc,MAAM,yDAAyD,CAAC;AAErF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,OAAO,MAAM,+CAA+C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EACN,MAAM,EACN,IAAI,GACJ,MAAM,sCAAsC,CAAC;AAE9C,OAAO,qBAAqB,MAAM,oDAAoD,CAAC;AAEvF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C,EAAE;YACnB,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;SAClB;IACF,CAAC;IAED,WAAW,CAAC,CAAgB;QAC3B,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;QACtC,IAAI,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,GAAG,WAAW,EAAE,EAAE,6BAA6B;YACpF,CAAC,CAAC,eAAe,EAAE,CAAC;SACpB;IACF,CAAC;IAED,SAAS,CAAC,CAAgB;QACzB,IAAI,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,GAAG,CAAC,EAAE,EAAE,6BAA6B;YAC1E,CAAC,CAAC,eAAe,EAAE,CAAC;SACpB;IACF,CAAC;CACD,CAAA;AA5FA;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;qDACT;AAOxB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;4CACZ;AA3B5B,aAAa;IANlB,aAAa,CAAC;QACd,GAAG,EAAE,oBAAoB;QACzB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,gBAAgB;QACxB,QAAQ,EAAE,qBAAqB;KAC/B,CAAC;GACI,aAAa,CAgHlB;AAED,aAAa,CAAC,MAAM,EAAE,CAAC;AAEvB,eAAe,aAAa,CAAC","sourcesContent":["import type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\n\nimport {\n\tisDown,\n\tisUp,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\n\nimport ProductSwitchTemplate from \"./generated/templates/ProductSwitchTemplate.lit.js\";\n\nimport {\n\tPRODUCT_SWITCH_CONTAINER_LABEL,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport ProductSwitchCss from \"./generated/themes/ProductSwitch.css.js\";\n\n/**\n * Interface for components that may be slotted inside `ui5-product-switch` as items\n * @public\n */\ninterface IProductSwitchItem extends HTMLElement, ITabbable {\n\ttitleText: string,\n\tsubtitleText: string,\n\ticon: string,\n\ttarget: string,\n\ttargetSrc: string,\n\tselected: boolean,\n}\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-product-switch` is an SAP Fiori specific web component that is used in `ui5-shellbar`\n * and allows the user to easily switch between products.\n *\n * ### Keyboard Handling\n * The `ui5-product-switch` provides advanced keyboard handling.\n * When focused, the user can use the following keyboard\n * shortcuts in order to perform a navigation:\n *\n * - [TAB] - Move focus to the next interactive element after the `ui5-product-switch`\n * - [UP/DOWN] - Navigates up and down the items\n * - [LEFT/RIGHT] - Navigates left and right the items\n *\n * ### ES6 Module Import\n * `import \"@ui5/webcomponents-fiori/dist/ProductSwitch.js\";`\n *\n * `import \"@ui5/webcomponents-fiori/dist/ProductSwitchItem.js\";` (for `ui5-product-switch-item`)\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.5\n */\n@customElement({\n\ttag: \"ui5-product-switch\",\n\trenderer: litRender,\n\tstyles: ProductSwitchCss,\n\ttemplate: ProductSwitchTemplate,\n})\nclass ProductSwitch extends UI5Element {\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._currentIndex = 0;\n\t\tthis._rowSize = 4;\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\trowSize: this._rowSize,\n\t\t\tgetItemsCallback: () => this.items,\n\t\t});\n\n\t\tthis._handleResizeBound = this._handleResize.bind(this);\n\t}\n\n\t/**\n\t * Indicates how many columns are displayed.\n\t * @private\n\t */\n\t@property({ validator: Integer })\n\tdesktopColumns?: number;\n\n\t/**\n\t * Defines the items of the `ui5-product-switch`.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\titems!: Array<IProductSwitchItem>\n\n\t_itemNavigation: ItemNavigation;\n\t_currentIndex: number;\n\t_rowSize: number;\n\t_handleResizeBound: ResizeObserverCallback;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstatic get ROW_MIN_WIDTH() {\n\t\treturn {\n\t\t\tONE_COLUMN: 600,\n\t\t\tTHREE_COLUMN: 900,\n\t\t};\n\t}\n\n\tstatic async onDefine() {\n\t\tProductSwitch.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tget _ariaLabelText() {\n\t\treturn ProductSwitch.i18nBundle.getText(PRODUCT_SWITCH_CONTAINER_LABEL);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(document.body, this._handleResizeBound);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(document.body, this._handleResizeBound);\n\t}\n\n\tonBeforeRendering() {\n\t\tthis.desktopColumns = this.items.length > 6 ? 4 : 3;\n\t}\n\n\t_handleResize() {\n\t\tconst documentWidth = document.body.clientWidth;\n\n\t\tif (documentWidth <= (this.constructor as typeof ProductSwitch).ROW_MIN_WIDTH.ONE_COLUMN) {\n\t\t\tthis._setRowSize(1);\n\t\t} else if (documentWidth <= (this.constructor as typeof ProductSwitch).ROW_MIN_WIDTH.THREE_COLUMN || this.items.length <= 6) {\n\t\t\tthis._setRowSize(3);\n\t\t} else {\n\t\t\tthis._setRowSize(4);\n\t\t}\n\t}\n\n\thandleProductSwitchItemClick(e: MouseEvent) {\n\t\tthis.items.forEach(item => { item.selected = false; });\n\t\t(e.target as IProductSwitchItem).selected = true;\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tconst target = e.target as IProductSwitchItem;\n\n\t\tthis._itemNavigation.setCurrentItem(target);\n\t\tthis._currentIndex = this.items.indexOf(target);\n\t}\n\n\t_setRowSize(size: number) {\n\t\tthis._rowSize = size;\n\t\tthis._itemNavigation.setRowSize(size);\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isDown(e)) {\n\t\t\tthis._handleDown(e);\n\t\t} else if (isUp(e)) {\n\t\t\tthis._handleUp(e);\n\t\t}\n\t}\n\n\t_handleDown(e: KeyboardEvent) {\n\t\tconst itemsLength = this.items.length;\n\t\tif (this._currentIndex + this._rowSize > itemsLength) { // border reached, do nothing\n\t\t\te.stopPropagation();\n\t\t}\n\t}\n\n\t_handleUp(e: KeyboardEvent) {\n\t\tif (this._currentIndex - this._rowSize < 0) { // border reached, do nothing\n\t\t\te.stopPropagation();\n\t\t}\n\t}\n}\n\nProductSwitch.define();\n\nexport default ProductSwitch;\n\nexport type {\n\tIProductSwitchItem,\n};\n"]}
@@ -2,25 +2,21 @@ import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
2
2
  import type { IProductSwitchItem } from "./ProductSwitch.js";
3
3
  /**
4
4
  * @class
5
- * <h3 class="comment-api-title">Overview</h3>
6
- * The <code>ui5-product-switch-item</code> web component represents the items displayed in the
7
- * <code>ui5-product-switch</code> web component.
8
- * <br><br>
9
- * <b>Note:</b> <code>ui5-product-switch-item</code> is not supported when used outside of <code>ui5-product-switch</code>.
10
- * <br><br>
5
+ * ### Overview
6
+ * The `ui5-product-switch-item` web component represents the items displayed in the
7
+ * `ui5-product-switch` web component.
11
8
  *
12
- * <h3>Keyboard Handling</h3>
13
- * The <code>ui5-product-switch</code> provides advanced keyboard handling.
9
+ * **Note:** `ui5-product-switch-item` is not supported when used outside of `ui5-product-switch`.
10
+ *
11
+ * ### Keyboard Handling
12
+ * The `ui5-product-switch` provides advanced keyboard handling.
14
13
  * When focused, the user can use the following keyboard
15
14
  * shortcuts in order to perform a navigation:
16
- * <br>
17
- * <ul>
18
- * <li>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>
19
- * </ul>
20
15
  *
21
- * <h3>ES6 Module Import</h3>
22
- * <code>import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";</code>
16
+ * - [SPACE/ENTER/RETURN] - Trigger `ui5-click` event
23
17
  *
18
+ * ### ES6 Module Import
19
+ * `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";`
24
20
  * @constructor
25
21
  * @extends UI5Element
26
22
  * @public
@@ -45,28 +41,26 @@ declare class ProductSwitchItem extends UI5Element implements IProductSwitchItem
45
41
  subtitleText: string;
46
42
  /**
47
43
  * Defines the icon to be displayed as a graphical element within the component.
48
- * <br><br>
44
+ *
49
45
  * Example:
50
- * <br>
51
- * <pre>ui5-product-switch-item icon="palette"</pre>
52
46
  *
53
- * See all the available icons in the <ui5-link target="_blank" href="https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html">Icon Explorer</ui5-link>.
47
+ * `<ui5-product-switch-item icon="palette">`
54
48
  *
49
+ * See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
55
50
  * @default ""
56
51
  * @public
57
52
  */
58
53
  icon: string;
59
54
  /**
60
- * Defines a target where the <code>targetSrc</code> content must be open.
61
- * <br><br>
55
+ * Defines a target where the `targetSrc` content must be open.
56
+ *
62
57
  * Available options are:
63
- * <ul>
64
- * <li><code>_self</code></li>
65
- * <li><code>_top</code></li>
66
- * <li><code>_blank</code></li>
67
- * <li><code>_parent</code></li>
68
- * <li><code>_search</code></li>
69
- * </ul>
58
+ *
59
+ * - `_self`
60
+ * - `_top`
61
+ * - `_blank`
62
+ * - `_parent`
63
+ * - `_search`
70
64
  * @default "_self"
71
65
  * @public
72
66
  */
@@ -89,7 +83,7 @@ declare class ProductSwitchItem extends UI5Element implements IProductSwitchItem
89
83
  private focused;
90
84
  /**
91
85
  * Used to set the selected state of the component. Only one selected in a sequence.
92
- * <b>Note:</b> Set by the <code>ProductSwitch</code>
86
+ * **Note:** Set by the `ProductSwitch`
93
87
  */
94
88
  selected: boolean;
95
89
  /**
@@ -16,25 +16,21 @@ import ProductSwitchItemTemplate from "./generated/templates/ProductSwitchItemTe
16
16
  import ProductSwitchItemCss from "./generated/themes/ProductSwitchItem.css.js";
17
17
  /**
18
18
  * @class
19
- * <h3 class="comment-api-title">Overview</h3>
20
- * The <code>ui5-product-switch-item</code> web component represents the items displayed in the
21
- * <code>ui5-product-switch</code> web component.
22
- * <br><br>
23
- * <b>Note:</b> <code>ui5-product-switch-item</code> is not supported when used outside of <code>ui5-product-switch</code>.
24
- * <br><br>
19
+ * ### Overview
20
+ * The `ui5-product-switch-item` web component represents the items displayed in the
21
+ * `ui5-product-switch` web component.
25
22
  *
26
- * <h3>Keyboard Handling</h3>
27
- * The <code>ui5-product-switch</code> provides advanced keyboard handling.
23
+ * **Note:** `ui5-product-switch-item` is not supported when used outside of `ui5-product-switch`.
24
+ *
25
+ * ### Keyboard Handling
26
+ * The `ui5-product-switch` provides advanced keyboard handling.
28
27
  * When focused, the user can use the following keyboard
29
28
  * shortcuts in order to perform a navigation:
30
- * <br>
31
- * <ul>
32
- * <li>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>
33
- * </ul>
34
29
  *
35
- * <h3>ES6 Module Import</h3>
36
- * <code>import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";</code>
30
+ * - [SPACE/ENTER/RETURN] - Trigger `ui5-click` event
37
31
  *
32
+ * ### ES6 Module Import
33
+ * `import "@ui5/webcomponents-fiori/dist/ProductSwitchItem.js";`
38
34
  * @constructor
39
35
  * @extends UI5Element
40
36
  * @public
@@ -129,9 +125,8 @@ ProductSwitchItem = __decorate([
129
125
  dependencies: [Icon],
130
126
  })
131
127
  /**
132
- * Fired when the <code>ui5-product-switch-item</code> is activated either with a
128
+ * Fired when the `ui5-product-switch-item` is activated either with a
133
129
  * click/tap or by using the Enter or Space key.
134
- *
135
130
  * @public
136
131
  */
137
132
  ,