@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
@@ -1 +1 @@
1
- {"version":3,"file":"MediaGalleryItem.js","sourceRoot":"","sources":["../src/MediaGalleryItem.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AACjE,OAAO,IAAI,MAAM,iCAAiC,CAAC;AACnD,OAAO,6CAA6C,CAAC;AACrD,OAAO,aAAa,MAA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OAAO,EAAE,CAAC;0DACD;AAM3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;iDACV;AAMlB;IADC,QAAQ,EAAE;wDACa;AAMxB;IADC,QAAQ,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;uDACT;AAQvB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;iDAChB;AAQ7B;IADC,IAAI,EAAE;mDACwB;AAhG1B,gBAAgB;IAPrB,aAAa,CAAC;QACd,GAAG,EAAE,wBAAwB;QAC7B,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,mBAAmB;QAC3B,QAAQ,EAAE,wBAAwB;QAClC,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,gBAAgB,CAyOrB;AAED,gBAAgB,CAAC,MAAM,EAAE,CAAC;AAE1B,eAAe,gBAAgB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { isSpace, isEnter } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { isPhone } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport \"@ui5/webcomponents-icons/dist/background.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 MediaGalleryItemLayout from \"./types/MediaGalleryItemLayout.js\";\nimport type { IMediaGalleryItem } from \"./MediaGallery.js\";\n\n// Styles\nimport MediaGalleryItemCss from \"./generated/themes/MediaGalleryItem.css.js\";\n\n// Template\nimport MediaGalleryItemTemplate from \"./generated/templates/MediaGalleryItemTemplate.lit.js\";\n\n/**\n * @class\n * <h3 class=\"comment-api-title\">Overview</h3>\n * The <code>ui5-media-gallery-item</code> web component represents the items displayed in the\n * <code>ui5-media-gallery</code> web component.\n * <br><br>\n * <b>Note:</b> <code>ui5-media-gallery-item</code> is not supported when used outside of <code>ui5-media-gallery</code>.\n * <br><br>\n *\n * <h3>Keyboard Handling</h3>\n * The <code>ui5-media-gallery</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>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>\n * </ul>\n *\n * <h3>ES6 Module Import</h3>\n * <code>import \"@ui5/webcomponents-fiori/dist/MediaGalleryItem.js\";</code> (comes with <code>ui5-media-gallery</code>)\n *\n * @constructor\n * @extends UI5Element\n * @public\n * @implements {IMediaGalleryItem}\n * @since 1.1.0\n */\n@customElement({\n\ttag: \"ui5-media-gallery-item\",\n\trenderer: litRender,\n\tstyles: MediaGalleryItemCss,\n\ttemplate: MediaGalleryItemTemplate,\n\tdependencies: [Icon],\n})\nclass MediaGalleryItem extends UI5Element implements IMediaGalleryItem {\n\t/**\n\t * Defines the selected state of the component.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tselected!: boolean;\n\n\t/**\n\t * Defines whether the component is in disabled state.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Determines the layout of the item container.\n\t * <br><br>\n\t * Available options are:\n\t * <ul>\n\t * <li><code>Square</code></li>\n\t * <li><code>Wide</code></li>\n\t * </ul>\n\t *\n\t * @default \"Square\"\n\t * @public\n\t */\n\t@property({ type: MediaGalleryItemLayout, defaultValue: MediaGalleryItemLayout.Square })\n\tlayout!: `${MediaGalleryItemLayout}`;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_interactive!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_square!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_contentImageNotFound!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_thumbnailNotFound!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_thumbnailDesign!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tfocused!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property()\n\tforcedTabIndex!: string;\n\n\t/**\n\t * @private\n\t */\n\t@property({ noAttribute: true })\n\tcontentHeight!: string;\n\n\t/**\n\t * Defines the content of the component.\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 content of the thumbnail.\n\t *\n\t * @public\n\t */\n\t@slot()\n\tthumbnail!: Array<HTMLElement>;\n\n\t_monitoredThumbnail: HTMLElement | null;\n\t_monitoredContent: HTMLElement | null;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._monitoredContent = null;\n\t\tthis._monitoredThumbnail = null;\n\t}\n\n\tonEnterDOM() {\n\t\tthis._thumbnailDesign = !isPhone();\n\t\tthis._interactive = !isPhone();\n\t\tthis._square = true;\n\t}\n\n\tget _thumbnail() {\n\t\treturn this.thumbnail.length ? this.thumbnail[0] : null;\n\t}\n\n\tget displayedContent() {\n\t\treturn this.content.length ? this.content[0] : null;\n\t}\n\n\tget _isThubmnailAvailable() {\n\t\treturn this._thumbnail && !this._thumbnailNotFound;\n\t}\n\n\tget _isContentAvailable() {\n\t\treturn this.displayedContent && !this._contentImageNotFound;\n\t}\n\n\tget _useThumbnail() {\n\t\treturn this._thumbnailDesign && this._isThubmnailAvailable;\n\t}\n\n\tget _useContent() {\n\t\treturn !this._useThumbnail && this._isContentAvailable;\n\t}\n\n\tget effectiveTabIndex() {\n\t\treturn this.disabled ? undefined : this.forcedTabIndex;\n\t}\n\n\tget _showBackgroundIcon() {\n\t\treturn this._thumbnailNotFound || this._contentImageNotFound;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\twrapper: {\n\t\t\t\theight: this.contentHeight,\n\t\t\t},\n\t\t};\n\t}\n\n\tget _role() {\n\t\treturn this._interactive ? \"button\" : undefined;\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._monitorLoadingError();\n\t}\n\n\t_monitorLoadingError() {\n\t\tlet callback,\n\t\t\tsuccess;\n\t\tif (this._thumbnailDesign && this.thumbnail.length && (this._monitoredThumbnail !== this._thumbnail)) {\n\t\t\tthis._thumbnailNotFound = false; // reset flag\n\t\t\tcallback = this._updateThumbnailLoaded.bind(this);\n\t\t\tsuccess = this._attachListeners(this._thumbnail as HTMLImageElement, callback);\n\t\t\tsuccess && (this._monitoredThumbnail = this._thumbnail);\n\t\t}\n\t\tif (!this._useThumbnail && this.content.length && (this._monitoredContent !== this.displayedContent)) {\n\t\t\tthis._contentImageNotFound = false; // reset flag\n\t\t\tcallback = this._updateContentImageLoaded.bind(this);\n\t\t\tsuccess = this._attachListeners(this.displayedContent as HTMLImageElement, callback);\n\t\t\tsuccess && (this._monitoredContent = this.displayedContent);\n\t\t}\n\t}\n\n\t_attachListeners(element: HTMLImageElement, callback: (image: HTMLImageElement) => void) {\n\t\tconst isImg = element.tagName === \"IMG\",\n\t\t\timg = isImg ? element : element.querySelector(\"img\");\n\t\tif (img) {\n\t\t\tcallback(img);\n\t\t\timg.addEventListener(\"error\", () => {\n\t\t\t\tif (this.contains(img)) { // img still belongs to us\n\t\t\t\t\tcallback(img);\n\t\t\t\t}\n\t\t\t});\n\t\t\timg.addEventListener(\"load\", () => {\n\t\t\t\tif (this.contains(img)) { // img still belongs to us\n\t\t\t\t\tcallback(img);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn true;\n\t\t}\n\t}\n\n\t_updateContentImageLoaded(image: HTMLImageElement) {\n\t\tthis._contentImageNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;\n\t}\n\n\t_updateThumbnailLoaded(image: HTMLImageElement) {\n\t\tthis._thumbnailNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t}\n\n\t\tif (isEnter(e)) {\n\t\t\tthis._fireItemClick();\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\tthis._fireItemClick();\n\t\t}\n\t}\n\n\t_onfocusout() {\n\t\tthis.focused = false;\n\t}\n\n\t_onfocusin() {\n\t\tthis.focused = true;\n\t}\n\n\t_fireItemClick() {\n\t\tthis.fireEvent(\"click\", { item: this });\n\t}\n}\n\nMediaGalleryItem.define();\n\nexport default MediaGalleryItem;\n"]}
1
+ {"version":3,"file":"MediaGalleryItem.js","sourceRoot":"","sources":["../src/MediaGalleryItem.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AACjE,OAAO,IAAI,MAAM,iCAAiC,CAAC;AACnD,OAAO,6CAA6C,CAAC;AACrD,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,sBAAsB,MAAM,mCAAmC,CAAC;AAGvE,SAAS;AACT,OAAO,mBAAmB,MAAM,4CAA4C,CAAC;AAE7E,WAAW;AACX,OAAO,wBAAwB,MAAM,uDAAuD,CAAC;AAE7F;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAQH,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IA0FxC;QACC,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,iBAAiB,GAAG,IAAI,C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,EAAE,mBAAmB;QAC3B,QAAQ,EAAE,wBAAwB;QAClC,YAAY,EAAE,CAAC,IAAI,CAAC;KACpB,CAAC;GACI,gBAAgB,CA8NrB;AAED,gBAAgB,CAAC,MAAM,EAAE,CAAC;AAE1B,eAAe,gBAAgB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { isSpace, isEnter } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport { isPhone } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport \"@ui5/webcomponents-icons/dist/background.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 MediaGalleryItemLayout from \"./types/MediaGalleryItemLayout.js\";\nimport type { IMediaGalleryItem } from \"./MediaGallery.js\";\n\n// Styles\nimport MediaGalleryItemCss from \"./generated/themes/MediaGalleryItem.css.js\";\n\n// Template\nimport MediaGalleryItemTemplate from \"./generated/templates/MediaGalleryItemTemplate.lit.js\";\n\n/**\n * @class\n * ### Overview\n * The `ui5-media-gallery-item` web component represents the items displayed in the\n * `ui5-media-gallery` web component.\n *\n * **Note:** `ui5-media-gallery-item` is not supported when used outside of `ui5-media-gallery`.\n *\n * ### Keyboard Handling\n * The `ui5-media-gallery` provides advanced keyboard handling.\n * When focused, the user can use the following keyboard\n * shortcuts in order to perform a navigation:\n *\n * - [SPACE/ENTER/RETURN] - Trigger `ui5-click` event\n *\n * ### ES6 Module Import\n * `import \"@ui5/webcomponents-fiori/dist/MediaGalleryItem.js\";` (comes with `ui5-media-gallery`)\n * @constructor\n * @extends UI5Element\n * @public\n * @implements {IMediaGalleryItem}\n * @since 1.1.0\n */\n@customElement({\n\ttag: \"ui5-media-gallery-item\",\n\trenderer: litRender,\n\tstyles: MediaGalleryItemCss,\n\ttemplate: MediaGalleryItemTemplate,\n\tdependencies: [Icon],\n})\nclass MediaGalleryItem extends UI5Element implements IMediaGalleryItem {\n\t/**\n\t * Defines the selected state of the component.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tselected!: boolean;\n\n\t/**\n\t * Defines whether the component is in disabled state.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Determines the layout of the item container.\n\t * @default \"Square\"\n\t * @public\n\t */\n\t@property({ type: MediaGalleryItemLayout, defaultValue: MediaGalleryItemLayout.Square })\n\tlayout!: `${MediaGalleryItemLayout}`;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_interactive!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_square!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_contentImageNotFound!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_thumbnailNotFound!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_thumbnailDesign!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tfocused!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property()\n\tforcedTabIndex!: string;\n\n\t/**\n\t * @private\n\t */\n\t@property({ noAttribute: true })\n\tcontentHeight!: string;\n\n\t/**\n\t * Defines the content of the component.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tcontent!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the content of the thumbnail.\n\t * @public\n\t */\n\t@slot()\n\tthumbnail!: Array<HTMLElement>;\n\n\t_monitoredThumbnail: HTMLElement | null;\n\t_monitoredContent: HTMLElement | null;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._monitoredContent = null;\n\t\tthis._monitoredThumbnail = null;\n\t}\n\n\tonEnterDOM() {\n\t\tthis._thumbnailDesign = !isPhone();\n\t\tthis._interactive = !isPhone();\n\t\tthis._square = true;\n\t}\n\n\tget _thumbnail() {\n\t\treturn this.thumbnail.length ? this.thumbnail[0] : null;\n\t}\n\n\tget displayedContent() {\n\t\treturn this.content.length ? this.content[0] : null;\n\t}\n\n\tget _isThubmnailAvailable() {\n\t\treturn this._thumbnail && !this._thumbnailNotFound;\n\t}\n\n\tget _isContentAvailable() {\n\t\treturn this.displayedContent && !this._contentImageNotFound;\n\t}\n\n\tget _useThumbnail() {\n\t\treturn this._thumbnailDesign && this._isThubmnailAvailable;\n\t}\n\n\tget _useContent() {\n\t\treturn !this._useThumbnail && this._isContentAvailable;\n\t}\n\n\tget effectiveTabIndex() {\n\t\treturn this.disabled ? undefined : this.forcedTabIndex;\n\t}\n\n\tget _showBackgroundIcon() {\n\t\treturn this._thumbnailNotFound || this._contentImageNotFound;\n\t}\n\n\tget styles() {\n\t\treturn {\n\t\t\twrapper: {\n\t\t\t\theight: this.contentHeight,\n\t\t\t},\n\t\t};\n\t}\n\n\tget _role() {\n\t\treturn this._interactive ? \"button\" : undefined;\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._monitorLoadingError();\n\t}\n\n\t_monitorLoadingError() {\n\t\tlet callback,\n\t\t\tsuccess;\n\t\tif (this._thumbnailDesign && this.thumbnail.length && (this._monitoredThumbnail !== this._thumbnail)) {\n\t\t\tthis._thumbnailNotFound = false; // reset flag\n\t\t\tcallback = this._updateThumbnailLoaded.bind(this);\n\t\t\tsuccess = this._attachListeners(this._thumbnail as HTMLImageElement, callback);\n\t\t\tsuccess && (this._monitoredThumbnail = this._thumbnail);\n\t\t}\n\t\tif (!this._useThumbnail && this.content.length && (this._monitoredContent !== this.displayedContent)) {\n\t\t\tthis._contentImageNotFound = false; // reset flag\n\t\t\tcallback = this._updateContentImageLoaded.bind(this);\n\t\t\tsuccess = this._attachListeners(this.displayedContent as HTMLImageElement, callback);\n\t\t\tsuccess && (this._monitoredContent = this.displayedContent);\n\t\t}\n\t}\n\n\t_attachListeners(element: HTMLImageElement, callback: (image: HTMLImageElement) => void) {\n\t\tconst isImg = element.tagName === \"IMG\",\n\t\t\timg = isImg ? element : element.querySelector(\"img\");\n\t\tif (img) {\n\t\t\tcallback(img);\n\t\t\timg.addEventListener(\"error\", () => {\n\t\t\t\tif (this.contains(img)) { // img still belongs to us\n\t\t\t\t\tcallback(img);\n\t\t\t\t}\n\t\t\t});\n\t\t\timg.addEventListener(\"load\", () => {\n\t\t\t\tif (this.contains(img)) { // img still belongs to us\n\t\t\t\t\tcallback(img);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn true;\n\t\t}\n\t}\n\n\t_updateContentImageLoaded(image: HTMLImageElement) {\n\t\tthis._contentImageNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;\n\t}\n\n\t_updateThumbnailLoaded(image: HTMLImageElement) {\n\t\tthis._thumbnailNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\te.preventDefault();\n\t\t}\n\n\t\tif (isEnter(e)) {\n\t\t\tthis._fireItemClick();\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tif (isSpace(e)) {\n\t\t\tthis._fireItemClick();\n\t\t}\n\t}\n\n\t_onfocusout() {\n\t\tthis.focused = false;\n\t}\n\n\t_onfocusin() {\n\t\tthis.focused = true;\n\t}\n\n\t_fireItemClick() {\n\t\tthis.fireEvent(\"click\", { item: this });\n\t}\n}\n\nMediaGalleryItem.define();\n\nexport default MediaGalleryItem;\n"]}
@@ -6,9 +6,8 @@ type NotificationActionClickEventDetail = {
6
6
  };
7
7
  /**
8
8
  * @class
9
- * The <code>ui5-notification-action</code> represents an abstract action,
10
- * used in the <code>ui5-li-notification</code> and the <code>ui5-li-notification-group</code> items.
11
- *
9
+ * The `ui5-notification-action` represents an abstract action,
10
+ * used in the `ui5-li-notification` and the `ui5-li-notification-group` items.
12
11
  * @constructor
13
12
  * @extends UI5Element
14
13
  * @abstract
@@ -16,43 +15,38 @@ type NotificationActionClickEventDetail = {
16
15
  */
17
16
  declare class NotificationAction extends UI5Element {
18
17
  /**
19
- * Defines the text of the <code>ui5-notification-action</code>.
20
- *
18
+ * Defines the text of the `ui5-notification-action`.
21
19
  * @default ""
22
20
  * @public
23
21
  */
24
22
  text: string;
25
23
  /**
26
24
  * Defines if the action is disabled.
27
- * <br><br>
28
- * <b>Note:</b> a disabled action can't be pressed or focused, and it is not in the tab chain.
29
25
  *
26
+ * **Note:** a disabled action can't be pressed or focused, and it is not in the tab chain.
30
27
  * @default false
31
28
  * @public
32
29
  */
33
30
  disabled: boolean;
34
31
  /**
35
32
  * Defines the action design.
36
- *
37
33
  * @default "Transparent"
38
34
  * @public
39
35
  */
40
36
  design: `${ButtonDesign}`;
41
37
  /**
42
- * Defines the <code>icon</code> source URI.
43
- * <br><br>
44
- * <b>Note:</b>
45
- * SAP-icons font provides numerous built-in icons. To find all the available icons, see the
46
- * <ui5-link target="_blank" href="https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html">Icon Explorer</ui5-link>.
38
+ * Defines the `icon` source URI.
47
39
  *
40
+ * **Note:**
41
+ * SAP-icons font provides numerous built-in icons. To find all the available icons, see the
42
+ * [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
48
43
  * @default ""
49
44
  * @public
50
45
  */
51
46
  icon: string;
52
47
  /**
53
48
  * Fires a custom event "click".
54
- * <b>Note:</b> Called by NotificationListItem and NotificationListGroupItem components.
55
- *
49
+ * **Note:** Called by NotificationListItem and NotificationListGroupItem components.
56
50
  * @param e
57
51
  * @protected
58
52
  * @returns false, if the event was cancelled (preventDefault called), true otherwise
@@ -11,9 +11,8 @@ import property from "@ui5/webcomponents-base/dist/decorators/property.js";
11
11
  import event from "@ui5/webcomponents-base/dist/decorators/event.js";
12
12
  /**
13
13
  * @class
14
- * The <code>ui5-notification-action</code> represents an abstract action,
15
- * used in the <code>ui5-li-notification</code> and the <code>ui5-li-notification-group</code> items.
16
- *
14
+ * The `ui5-notification-action` represents an abstract action,
15
+ * used in the `ui5-li-notification` and the `ui5-li-notification-group` items.
17
16
  * @constructor
18
17
  * @extends UI5Element
19
18
  * @abstract
@@ -22,8 +21,7 @@ import event from "@ui5/webcomponents-base/dist/decorators/event.js";
22
21
  let NotificationAction = class NotificationAction extends UI5Element {
23
22
  /**
24
23
  * Fires a custom event "click".
25
- * <b>Note:</b> Called by NotificationListItem and NotificationListGroupItem components.
26
- *
24
+ * **Note:** Called by NotificationListItem and NotificationListGroupItem components.
27
25
  * @param e
28
26
  * @protected
29
27
  * @returns false, if the event was cancelled (preventDefault called), true otherwise
@@ -50,7 +48,6 @@ NotificationAction = __decorate([
50
48
  customElement("ui5-notification-action")
51
49
  /**
52
50
  * Fired, when the action is pressed.
53
- *
54
51
  * @param {HTMLElement} targetRef DOM ref of the clicked element
55
52
  * @public
56
53
  */
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationAction.js","sourceRoot":"","sources":["../src/NotificationAction.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AAOrE;;;;;;;;;GASG;AAcH,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,UAAU;IA2C1C;;;;;;;OAOG;IACH,cAAc,CAAC,CAAa;QAC3B,OAAO,IAAI,CAAC,SAAS,CAAqC,OAAO,EAAE;YAClE,SAAS,EAAG,CAAC,CAAC,MAAiB;SAC/B,EAAE,IAAI,CAAC,CAAC;IACV,CAAC;CACD,CAAA;AAhDA;IADC,QAAQ,EAAE;gDACG;AAWd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDACT;AASnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,WAAW,EAAE,CAAC;kDAC9C;AAa3B;IADC,QAAQ,EAAE;gDACG;AAzCT,kBAAkB;IAbvB,aAAa,CAAC,yBAAyB,CAAC;IAEzC;;;;;OAKG;;IACF,KAAK,CAAqC,OAAO,EAAE;QACnD,MAAM,EAAE;YACP,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;SAChC;KACD,CAAC;GACI,kBAAkB,CAwDvB;AAED,kBAAkB,CAAC,MAAM,EAAE,CAAC;AAE5B,eAAe,kBAAkB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport ButtonDesign from \"@ui5/webcomponents/dist/types/ButtonDesign.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport type Button from \"@ui5/webcomponents/dist/Button.js\";\n\ntype NotificationActionClickEventDetail = {\n\ttargetRef: Button,\n};\n\n/**\n * @class\n * The <code>ui5-notification-action</code> represents an abstract action,\n * used in the <code>ui5-li-notification</code> and the <code>ui5-li-notification-group</code> items.\n *\n * @constructor\n * @extends UI5Element\n * @abstract\n * @public\n */\n@customElement(\"ui5-notification-action\")\n\n/**\n * Fired, when the action is pressed.\n *\n * @param {HTMLElement} targetRef DOM ref of the clicked element\n * @public\n */\n@event<NotificationActionClickEventDetail>(\"click\", {\n\tdetail: {\n\t\ttargetRef: { type: HTMLElement },\n\t},\n})\nclass NotificationAction extends UI5Element {\n\t/**\n\t * Defines the text of the <code>ui5-notification-action</code>.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttext!: string;\n\n\t/**\n\t * Defines if the action is disabled.\n\t * <br><br>\n\t * <b>Note:</b> a disabled action can't be pressed or focused, and it is not in the tab chain.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Defines the action design.\n\t *\n\t * @default \"Transparent\"\n\t * @public\n\t */\n\t@property({ type: ButtonDesign, defaultValue: ButtonDesign.Transparent })\n\tdesign!: `${ButtonDesign}`;\n\n\t/**\n\t * Defines the <code>icon</code> source URI.\n\t * <br><br>\n\t * <b>Note:</b>\n\t * SAP-icons font provides numerous built-in icons. To find all the available icons, see the\n\t * <ui5-link target=\"_blank\" href=\"https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html\">Icon Explorer</ui5-link>.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ticon!: string;\n\n\t/**\n\t * Fires a custom event \"click\".\n\t * <b>Note:</b> Called by NotificationListItem and NotificationListGroupItem components.\n\t *\n\t * @param e\n\t * @protected\n\t * @returns false, if the event was cancelled (preventDefault called), true otherwise\n\t */\n\tfireClickEvent(e: MouseEvent): boolean {\n\t\treturn this.fireEvent<NotificationActionClickEventDetail>(\"click\", {\n\t\t\ttargetRef: (e.target as Button),\n\t\t}, true);\n\t}\n}\n\nNotificationAction.define();\n\nexport default NotificationAction;\n\nexport type {\n\tNotificationActionClickEventDetail,\n};\n"]}
1
+ {"version":3,"file":"NotificationAction.js","sourceRoot":"","sources":["../src/NotificationAction.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,YAAY,MAAM,+CAA+C,CAAC;AACzE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,KAAK,MAAM,kDAAkD,CAAC;AAOrE;;;;;;;;GAQG;AAaH,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,UAAU;IAuC1C;;;;;;OAMG;IACH,cAAc,CAAC,CAAa;QAC3B,OAAO,IAAI,CAAC,SAAS,CAAqC,OAAO,EAAE;YAClE,SAAS,EAAG,CAAC,CAAC,MAAiB;SAC/B,EAAE,IAAI,CAAC,CAAC;IACV,CAAC;CACD,CAAA;AA5CA;IADC,QAAQ,EAAE;gDACG;AAUd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;oDACT;AAQnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,WAAW,EAAE,CAAC;kDAC9C;AAY3B;IADC,QAAQ,EAAE;gDACG;AArCT,kBAAkB;IAZvB,aAAa,CAAC,yBAAyB,CAAC;IAEzC;;;;OAIG;;IACF,KAAK,CAAqC,OAAO,EAAE;QACnD,MAAM,EAAE;YACP,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;SAChC;KACD,CAAC;GACI,kBAAkB,CAmDvB;AAED,kBAAkB,CAAC,MAAM,EAAE,CAAC;AAE5B,eAAe,kBAAkB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport ButtonDesign from \"@ui5/webcomponents/dist/types/ButtonDesign.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport type Button from \"@ui5/webcomponents/dist/Button.js\";\n\ntype NotificationActionClickEventDetail = {\n\ttargetRef: Button,\n};\n\n/**\n * @class\n * The `ui5-notification-action` represents an abstract action,\n * used in the `ui5-li-notification` and the `ui5-li-notification-group` items.\n * @constructor\n * @extends UI5Element\n * @abstract\n * @public\n */\n@customElement(\"ui5-notification-action\")\n\n/**\n * Fired, when the action is pressed.\n * @param {HTMLElement} targetRef DOM ref of the clicked element\n * @public\n */\n@event<NotificationActionClickEventDetail>(\"click\", {\n\tdetail: {\n\t\ttargetRef: { type: HTMLElement },\n\t},\n})\nclass NotificationAction extends UI5Element {\n\t/**\n\t * Defines the text of the `ui5-notification-action`.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttext!: string;\n\n\t/**\n\t * Defines if the action is disabled.\n\t *\n\t * **Note:** a disabled action can't be pressed or focused, and it is not in the tab chain.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Defines the action design.\n\t * @default \"Transparent\"\n\t * @public\n\t */\n\t@property({ type: ButtonDesign, defaultValue: ButtonDesign.Transparent })\n\tdesign!: `${ButtonDesign}`;\n\n\t/**\n\t * Defines the `icon` source URI.\n\t *\n\t * **Note:**\n\t * SAP-icons font provides numerous built-in icons. To find all the available icons, see the\n\t * [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ticon!: string;\n\n\t/**\n\t * Fires a custom event \"click\".\n\t * **Note:** Called by NotificationListItem and NotificationListGroupItem components.\n\t * @param e\n\t * @protected\n\t * @returns false, if the event was cancelled (preventDefault called), true otherwise\n\t */\n\tfireClickEvent(e: MouseEvent): boolean {\n\t\treturn this.fireEvent<NotificationActionClickEventDetail>(\"click\", {\n\t\t\ttargetRef: (e.target as Button),\n\t\t}, true);\n\t}\n}\n\nNotificationAction.define();\n\nexport default NotificationAction;\n\nexport type {\n\tNotificationActionClickEventDetail,\n};\n"]}
@@ -10,28 +10,26 @@ type NotificationListGroupItemToggleEventDetail = {
10
10
  /**
11
11
  * @class
12
12
  *
13
- * <h3 class="comment-api-title">Overview</h3>
14
- * The <code>ui5-li-notification-group</code> is a special type of list item,
15
- * that unlike others can group items within self, usually <code>ui5-li-notification</code> items.
16
- * <br>
13
+ * ### Overview
14
+ * The `ui5-li-notification-group` is a special type of list item,
15
+ * that unlike others can group items within self, usually `ui5-li-notification` items.
17
16
  *
18
17
  * The component consists of:
19
- * <ul>
20
- * <li><code>Toggle</code> button to expand and collapse the group</li>
21
- * <li><code>Priority</code> icon to display the priority of the group</li>
22
- * <li><code>TitleText</code> to entitle the group</li>
23
- * <li>Custom actions - with the use of <code>ui5-notification-action</code></li>
24
- * <li>Items of the group</li>
25
- * </ul>
26
18
  *
27
- * <h3>Usage</h3>
28
- * The component can be used in a standard <code>ui5-list</code>.
19
+ * - `Toggle` button to expand and collapse the group
20
+ * - `Priority` icon to display the priority of the group
21
+ * - `TitleText` to entitle the group
22
+ * - Custom actions - with the use of `ui5-notification-action`
23
+ * - Items of the group
29
24
  *
30
- * <h3>ES6 Module Import</h3>
25
+ * ### Usage
26
+ * The component can be used in a standard `ui5-list`.
31
27
  *
32
- * <code>import "@ui5/webcomponents/dist/NotificationListGroupItem.js";</code>
33
- * <br>
34
- * <code>import "@ui5/webcomponents/dist/NotificationAction.js";</code> (optional)
28
+ * ### ES6 Module Import
29
+ *
30
+ * `import "@ui5/webcomponents/dist/NotificationListGroupItem.js";`
31
+ *
32
+ * `import "@ui5/webcomponents/dist/NotificationAction.js";` (optional)
35
33
  * @constructor
36
34
  * @extends NotificationListItemBase
37
35
  * @since 1.0.0-rc.8
@@ -45,15 +43,14 @@ declare class NotificationListGroupItem extends NotificationListItemBase {
45
43
  */
46
44
  collapsed: boolean;
47
45
  /**
48
- * Defines if the items <code>counter</code> would be displayed.
46
+ * Defines if the items `counter` would be displayed.
49
47
  * @default false
50
48
  * @public
51
49
  */
52
50
  showCounter: boolean;
53
51
  /**
54
- * Defines the items of the <code>ui5-li-notification-group</code>,
55
- * usually <code>ui5-li-notification</code> items.
56
- *
52
+ * Defines the items of the `ui5-li-notification-group`,
53
+ * usually `ui5-li-notification` items.
57
54
  * @public
58
55
  */
59
56
  items: Array<NotificationListItemBase>;
@@ -30,28 +30,26 @@ import NotificationListGroupItemCss from "./generated/themes/NotificationListGro
30
30
  /**
31
31
  * @class
32
32
  *
33
- * <h3 class="comment-api-title">Overview</h3>
34
- * The <code>ui5-li-notification-group</code> is a special type of list item,
35
- * that unlike others can group items within self, usually <code>ui5-li-notification</code> items.
36
- * <br>
33
+ * ### Overview
34
+ * The `ui5-li-notification-group` is a special type of list item,
35
+ * that unlike others can group items within self, usually `ui5-li-notification` items.
37
36
  *
38
37
  * The component consists of:
39
- * <ul>
40
- * <li><code>Toggle</code> button to expand and collapse the group</li>
41
- * <li><code>Priority</code> icon to display the priority of the group</li>
42
- * <li><code>TitleText</code> to entitle the group</li>
43
- * <li>Custom actions - with the use of <code>ui5-notification-action</code></li>
44
- * <li>Items of the group</li>
45
- * </ul>
46
38
  *
47
- * <h3>Usage</h3>
48
- * The component can be used in a standard <code>ui5-list</code>.
39
+ * - `Toggle` button to expand and collapse the group
40
+ * - `Priority` icon to display the priority of the group
41
+ * - `TitleText` to entitle the group
42
+ * - Custom actions - with the use of `ui5-notification-action`
43
+ * - Items of the group
49
44
  *
50
- * <h3>ES6 Module Import</h3>
45
+ * ### Usage
46
+ * The component can be used in a standard `ui5-list`.
51
47
  *
52
- * <code>import "@ui5/webcomponents/dist/NotificationListGroupItem.js";</code>
53
- * <br>
54
- * <code>import "@ui5/webcomponents/dist/NotificationAction.js";</code> (optional)
48
+ * ### ES6 Module Import
49
+ *
50
+ * `import "@ui5/webcomponents/dist/NotificationListGroupItem.js";`
51
+ *
52
+ * `import "@ui5/webcomponents/dist/NotificationAction.js";` (optional)
55
53
  * @constructor
56
54
  * @extends NotificationListItemBase
57
55
  * @since 1.0.0-rc.8
@@ -163,8 +161,7 @@ NotificationListGroupItem = NotificationListGroupItem_1 = __decorate([
163
161
  ],
164
162
  })
165
163
  /**
166
- * Fired when the <code>ui5-li-notification-group</code> is expanded/collapsed by user interaction.
167
- *
164
+ * Fired when the `ui5-li-notification-group` is expanded/collapsed by user interaction.
168
165
  * @public
169
166
  */
170
167
  ,
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationListGroupItem.js","sourceRoot":"","sources":["../src/NotificationListGroupItem.ts"],"names":[],"mappings":";;;;;;;AAAA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AQpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8DACN;AAStB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;wDACN;AAxBlC,yBAAyB;IApB9B,aAAa,CAAC;QACd,GAAG,EAAE,2BAA2B;QAChC,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE,iCAAiC;QAC3C,YAAY,EAAE;YACb,IAAI;YACJ,MAAM;YACN,IAAI;YACJ,aAAa;YACb,OAAO;SACP;KACD,CAAC;IAEF;;;;OAIG;;IACF,KAAK,CAAC,QAAQ,CAAC;GACV,yBAAyB,CA+H9B;AAED,yBAAyB,CAAC,MAAM,EAAE,CAAC;AAEnC,eAAe,yBAAyB,CAAC","sourcesContent":["import Priority from \"@ui5/webcomponents/dist/types/Priority.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 event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport List from \"@ui5/webcomponents/dist/List.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport BusyIndicator from \"@ui5/webcomponents/dist/BusyIndicator.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport NotificationListItemBase from \"./NotificationListItemBase.js\";\nimport type { NotificationListItemBaseCloseEventDetail as NotificationListGroupItemCloseEventDetail } from \"./NotificationListItemBase.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/navigation-right-arrow.js\";\nimport \"@ui5/webcomponents-icons/dist/navigation-down-arrow.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\n\n// Texts\nimport {\n\tNOTIFICATION_LIST_GROUP_ITEM_TXT,\n\tNOTIFICATION_LIST_GROUP_ITEM_COUNTER_TXT,\n\tNOTIFICATION_LIST_ITEM_READ,\n\tNOTIFICATION_LIST_ITEM_UNREAD,\n\tNOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE,\n\tNOTIFICATION_LIST_GROUP_ITEM_CLOSE_BTN_TITLE,\n\tNOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_COLLAPSE_TITLE,\n\tNOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_EXPAND_TITLE,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Templates\nimport NotificationListGroupItemTemplate from \"./generated/templates/NotificationListGroupItemTemplate.lit.js\";\n\n// Styles\nimport NotificationListGroupItemCss from \"./generated/themes/NotificationListGroupItem.css.js\";\n\ntype NotificationListGroupItemToggleEventDetail = {\n\titem: NotificationListGroupItem,\n};\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n * The <code>ui5-li-notification-group</code> is a special type of list item,\n * that unlike others can group items within self, usually <code>ui5-li-notification</code> items.\n * <br>\n *\n * The component consists of:\n * <ul>\n * <li><code>Toggle</code> button to expand and collapse the group</li>\n * <li><code>Priority</code> icon to display the priority of the group</li>\n * <li><code>TitleText</code> to entitle the group</li>\n * <li>Custom actions - with the use of <code>ui5-notification-action</code></li>\n * <li>Items of the group</li>\n * </ul>\n *\n * <h3>Usage</h3>\n * The component can be used in a standard <code>ui5-list</code>.\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/NotificationListGroupItem.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents/dist/NotificationAction.js\";</code> (optional)\n * @constructor\n * @extends NotificationListItemBase\n * @since 1.0.0-rc.8\n * @public\n */\n@customElement({\n\ttag: \"ui5-li-notification-group\",\n\tlanguageAware: true,\n\tstyles: NotificationListGroupItemCss,\n\ttemplate: NotificationListGroupItemTemplate,\n\tdependencies: [\n\t\tList,\n\t\tButton,\n\t\tIcon,\n\t\tBusyIndicator,\n\t\tPopover,\n\t],\n})\n\n/**\n * Fired when the <code>ui5-li-notification-group</code> is expanded/collapsed by user interaction.\n *\n * @public\n */\n@event(\"toggle\")\nclass NotificationListGroupItem extends NotificationListItemBase {\n\t/**\n\t * Defines if the group is collapsed or expanded.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tcollapsed!: boolean;\n\n\t/**\n\t * Defines if the items <code>counter</code> would be displayed.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowCounter!: boolean;\n\n\t/**\n\t * Defines the items of the <code>ui5-li-notification-group</code>,\n\t * usually <code>ui5-li-notification</code> items.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\titems!: Array<NotificationListItemBase>\n\n\tonBeforeRendering() {\n\t\tif (this.busy) {\n\t\t\tthis.clearChildBusyIndicator();\n\t\t}\n\t}\n\n\t/**\n\t * Clears child items busy state to show a single busy over the entire group,\n\t * instead of multiple BusyIndicator instances\n\t */\n\tclearChildBusyIndicator() {\n\t\tthis.items.forEach(item => {\n\t\t\titem.busy = false;\n\t\t});\n\t}\n\n\tget itemsCount() {\n\t\treturn this.items.length;\n\t}\n\n\tget overflowBtnAccessibleName() {\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);\n\t}\n\n\tget closeBtnAccessibleName() {\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_CLOSE_BTN_TITLE);\n\t}\n\n\tget toggleBtnAccessibleName() {\n\t\tif (this.collapsed) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_EXPAND_TITLE);\n\t\t}\n\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_COLLAPSE_TITLE);\n\t}\n\n\tget priorityText() {\n\t\tif (this.priority === Priority.High) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Medium) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Low) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\tget accInvisibleText() {\n\t\treturn `${this.groupText} ${this.readText} ${this.priorityText} ${this.counterText}`;\n\t}\n\n\tget readText() {\n\t\tif (this.read) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_READ);\n\t\t}\n\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_UNREAD);\n\t}\n\n\tget groupText() {\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_TXT);\n\t}\n\n\tget counterText() {\n\t\tconst text = NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_COUNTER_TXT);\n\t\treturn this.showCounter ? `${text} ${this.itemsCount}` : \"\";\n\t}\n\n\tget ariaLabelledBy() {\n\t\tconst id = this._id;\n\t\tconst ids = [];\n\n\t\tif (this.hasTitleText) {\n\t\t\tids.push(`${id}-title-text`);\n\t\t}\n\n\t\tids.push(`${id}-invisibleText`);\n\t\treturn ids.join(\" \");\n\t}\n\n\tget _ariaExpanded() {\n\t\treturn !this.collapsed;\n\t}\n\n\tget groupCollapsedIcon() {\n\t\treturn this.collapsed ? \"navigation-right-arrow\" : \"navigation-down-arrow\";\n\t}\n\n\t/**\n\t * Event handlers\n\t *\n\t */\n\t_onBtnToggleClick() {\n\t\tthis.collapsed = !this.collapsed;\n\t\tthis.fireEvent<NotificationListGroupItemToggleEventDetail>(\"toggle\", { item: this });\n\t}\n}\n\nNotificationListGroupItem.define();\n\nexport default NotificationListGroupItem;\nexport type {\n\tNotificationListGroupItemToggleEventDetail,\n\tNotificationListGroupItemCloseEventDetail,\n};\n"]}
1
+ {"version":3,"file":"NotificationListGroupItem.js","sourceRoot":"","sources":["../src/NotificationListGroupItem.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,QAAQ,MAAM,2CAA2C,CAAC;AACjE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,IAAI,MAAM,iCAAiC,CAAC;AACnD,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,aAAa,MAAM,0CAA0C,CAAC;AACrE,OAAO,IAAI,MAAM,iCAAiC,CAAC;AACnD,OAAO,OAAO,MAAM,oCAAoC,CAAC;AACzD,OAAO,wBAAwB,MAAM,+BAA+B,CAAC;AAGrE,QAAQ;AACR,OAAO,yDAAyD,CAAC;AACjE,OAAO,wDAAwD,CAAC;AAChE,OAAO,2CAA2C,CAAC;AACnD,OAAO,0CAA0C,CAAC;AAElD,QAAQ;AACR,OAAO,EACN,gCAAgC,EAChC,wCAAwC,EACxC,2BAA2B,EAC3B,6BAA6B,EAC7B,wCAAwC,EACxC,0CAA0C,EAC1C,uCAAuC,EACvC,wCAAwC,EACxC,4CAA4C,EAC5C,sDAAsD,EACtD,oDAAoD,GACpD,MAAM,mCAAmC,CAAC;AAE3C,YAAY;AACZ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ED,IAAI,aAAa;QAChB,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,IAAI,kBAAkB;QACrB,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,uBAAuB,CAAC;IAC5E,CAAC;IAED;;;OAGG;IACH,iBAAiB;QAChB,IAAI,CAAC,SAAS,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;QACjC,IAAI,CAAC,SAAS,CAA6C,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;IACtF,CAAC;CACD,CAAA;AAvHA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;4DACR;AAQpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8DACN;AAQtB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;wDACN;AAvBlC,yBAAyB;IAnB9B,aAAa,CAAC;QACd,GAAG,EAAE,2BAA2B;QAChC,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,4BAA4B;QACpC,QAAQ,EAAE,iCAAiC;QAC3C,YAAY,EAAE;YACb,IAAI;YACJ,MAAM;YACN,IAAI;YACJ,aAAa;YACb,OAAO;SACP;KACD,CAAC;IAEF;;;OAGG;;IACF,KAAK,CAAC,QAAQ,CAAC;GACV,yBAAyB,CA8H9B;AAED,yBAAyB,CAAC,MAAM,EAAE,CAAC;AAEnC,eAAe,yBAAyB,CAAC","sourcesContent":["import Priority from \"@ui5/webcomponents/dist/types/Priority.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 event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport List from \"@ui5/webcomponents/dist/List.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport BusyIndicator from \"@ui5/webcomponents/dist/BusyIndicator.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport NotificationListItemBase from \"./NotificationListItemBase.js\";\nimport type { NotificationListItemBaseCloseEventDetail as NotificationListGroupItemCloseEventDetail } from \"./NotificationListItemBase.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/navigation-right-arrow.js\";\nimport \"@ui5/webcomponents-icons/dist/navigation-down-arrow.js\";\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\n\n// Texts\nimport {\n\tNOTIFICATION_LIST_GROUP_ITEM_TXT,\n\tNOTIFICATION_LIST_GROUP_ITEM_COUNTER_TXT,\n\tNOTIFICATION_LIST_ITEM_READ,\n\tNOTIFICATION_LIST_ITEM_UNREAD,\n\tNOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE,\n\tNOTIFICATION_LIST_GROUP_ITEM_CLOSE_BTN_TITLE,\n\tNOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_COLLAPSE_TITLE,\n\tNOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_EXPAND_TITLE,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Templates\nimport NotificationListGroupItemTemplate from \"./generated/templates/NotificationListGroupItemTemplate.lit.js\";\n\n// Styles\nimport NotificationListGroupItemCss from \"./generated/themes/NotificationListGroupItem.css.js\";\n\ntype NotificationListGroupItemToggleEventDetail = {\n\titem: NotificationListGroupItem,\n};\n\n/**\n * @class\n *\n * ### Overview\n * The `ui5-li-notification-group` is a special type of list item,\n * that unlike others can group items within self, usually `ui5-li-notification` items.\n *\n * The component consists of:\n *\n * - `Toggle` button to expand and collapse the group\n * - `Priority` icon to display the priority of the group\n * - `TitleText` to entitle the group\n * - Custom actions - with the use of `ui5-notification-action`\n * - Items of the group\n *\n * ### Usage\n * The component can be used in a standard `ui5-list`.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/NotificationListGroupItem.js\";`\n *\n * `import \"@ui5/webcomponents/dist/NotificationAction.js\";` (optional)\n * @constructor\n * @extends NotificationListItemBase\n * @since 1.0.0-rc.8\n * @public\n */\n@customElement({\n\ttag: \"ui5-li-notification-group\",\n\tlanguageAware: true,\n\tstyles: NotificationListGroupItemCss,\n\ttemplate: NotificationListGroupItemTemplate,\n\tdependencies: [\n\t\tList,\n\t\tButton,\n\t\tIcon,\n\t\tBusyIndicator,\n\t\tPopover,\n\t],\n})\n\n/**\n * Fired when the `ui5-li-notification-group` is expanded/collapsed by user interaction.\n * @public\n */\n@event(\"toggle\")\nclass NotificationListGroupItem extends NotificationListItemBase {\n\t/**\n\t * Defines if the group is collapsed or expanded.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tcollapsed!: boolean;\n\n\t/**\n\t * Defines if the items `counter` would be displayed.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowCounter!: boolean;\n\n\t/**\n\t * Defines the items of the `ui5-li-notification-group`,\n\t * usually `ui5-li-notification` items.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\titems!: Array<NotificationListItemBase>\n\n\tonBeforeRendering() {\n\t\tif (this.busy) {\n\t\t\tthis.clearChildBusyIndicator();\n\t\t}\n\t}\n\n\t/**\n\t * Clears child items busy state to show a single busy over the entire group,\n\t * instead of multiple BusyIndicator instances\n\t */\n\tclearChildBusyIndicator() {\n\t\tthis.items.forEach(item => {\n\t\t\titem.busy = false;\n\t\t});\n\t}\n\n\tget itemsCount() {\n\t\treturn this.items.length;\n\t}\n\n\tget overflowBtnAccessibleName() {\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);\n\t}\n\n\tget closeBtnAccessibleName() {\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_CLOSE_BTN_TITLE);\n\t}\n\n\tget toggleBtnAccessibleName() {\n\t\tif (this.collapsed) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_EXPAND_TITLE);\n\t\t}\n\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_COLLAPSE_TITLE);\n\t}\n\n\tget priorityText() {\n\t\tif (this.priority === Priority.High) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Medium) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Low) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\tget accInvisibleText() {\n\t\treturn `${this.groupText} ${this.readText} ${this.priorityText} ${this.counterText}`;\n\t}\n\n\tget readText() {\n\t\tif (this.read) {\n\t\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_READ);\n\t\t}\n\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_UNREAD);\n\t}\n\n\tget groupText() {\n\t\treturn NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_TXT);\n\t}\n\n\tget counterText() {\n\t\tconst text = NotificationListGroupItem.i18nFioriBundle.getText(NOTIFICATION_LIST_GROUP_ITEM_COUNTER_TXT);\n\t\treturn this.showCounter ? `${text} ${this.itemsCount}` : \"\";\n\t}\n\n\tget ariaLabelledBy() {\n\t\tconst id = this._id;\n\t\tconst ids = [];\n\n\t\tif (this.hasTitleText) {\n\t\t\tids.push(`${id}-title-text`);\n\t\t}\n\n\t\tids.push(`${id}-invisibleText`);\n\t\treturn ids.join(\" \");\n\t}\n\n\tget _ariaExpanded() {\n\t\treturn !this.collapsed;\n\t}\n\n\tget groupCollapsedIcon() {\n\t\treturn this.collapsed ? \"navigation-right-arrow\" : \"navigation-down-arrow\";\n\t}\n\n\t/**\n\t * Event handlers\n\t *\n\t */\n\t_onBtnToggleClick() {\n\t\tthis.collapsed = !this.collapsed;\n\t\tthis.fireEvent<NotificationListGroupItemToggleEventDetail>(\"toggle\", { item: this });\n\t}\n}\n\nNotificationListGroupItem.define();\n\nexport default NotificationListGroupItem;\nexport type {\n\tNotificationListGroupItemToggleEventDetail,\n\tNotificationListGroupItemCloseEventDetail,\n};\n"]}
@@ -10,30 +10,27 @@ type NotificationListItemPressEventDetail = {
10
10
  /**
11
11
  * @class
12
12
  *
13
- * <h3 class="comment-api-title">Overview</h3>
14
- * The <code>ui5-li-notification</code> is a type of list item, meant to display notifications.
15
- * <br>
13
+ * ### Overview
14
+ * The `ui5-li-notification` is a type of list item, meant to display notifications.
16
15
  *
17
- * The component has a rich set of various properties that allows the user to set <code>avatar</code>, <code>titleText</code>, descriptive <code>content</code>
18
- * and <code>footnotes</code> to fully describe a notification.
19
- * <br>
16
+ * The component has a rich set of various properties that allows the user to set `avatar`, `titleText`, descriptive `content`
17
+ * and `footnotes` to fully describe a notification.
20
18
  *
21
19
  * The user can:
22
- * <ul>
23
- * <li>display a <code>Close</code> button</li>
24
- * <li>can control whether the <code>titleText</code> and <code>description</code> should wrap or truncate
25
- * and display a <code>ShowMore</code> button to switch between less and more information</li>
26
- * <li>add custom actions by using the <code>ui5-notification-action</code> component</li>
27
- * </ul>
28
20
  *
29
- * <h3>Usage</h3>
30
- * The component can be used in a standard <code>ui5-list</code>.
21
+ * - display a `Close` button
22
+ * - can control whether the `titleText` and `description` should wrap or truncate
23
+ * and display a `ShowMore` button to switch between less and more information
24
+ * - add custom actions by using the `ui5-notification-action` component
31
25
  *
32
- * <h3>ES6 Module Import</h3>
26
+ * ### Usage
27
+ * The component can be used in a standard `ui5-list`.
33
28
  *
34
- * <code>import "@ui5/webcomponents/dist/NotificationListItem.js";</code>
35
- * <br>
36
- * <code>import "@ui5/webcomponents/dist/NotificationAction.js";</code> (optional)
29
+ * ### ES6 Module Import
30
+ *
31
+ * `import "@ui5/webcomponents/dist/NotificationListItem.js";`
32
+ *
33
+ * `import "@ui5/webcomponents/dist/NotificationAction.js";` (optional)
37
34
  * @constructor
38
35
  * @extends NotificationListItemBase
39
36
  * @since 1.0.0-rc.8
@@ -42,38 +39,35 @@ type NotificationListItemPressEventDetail = {
42
39
  */
43
40
  declare class NotificationListItem extends NotificationListItemBase {
44
41
  /**
45
- * Defines if the <code>titleText</code> and <code>description</code> should wrap,
42
+ * Defines if the `titleText` and `description` should wrap,
46
43
  * they truncate by default.
47
44
  *
48
- * <br><br>
49
- * <b>Note:</b> by default the <code>titleText</code> and <code>description</code>,
50
- * and a <code>ShowMore/Less</code> button would be displayed.
45
+ * **Note:** by default the `titleText` and `description`,
46
+ * and a `ShowMore/Less` button would be displayed.
51
47
  * @default "None"
52
48
  * @public
53
49
  * @since 1.0.0-rc.15
54
50
  */
55
51
  wrappingType: `${WrappingType}`;
56
52
  /**
57
- * Defines the state of the <code>titleText</code> and <code>description</code>,
53
+ * Defines the state of the `titleText` and `description`,
58
54
  * if less or more information is displayed.
59
55
  * @private
60
56
  */
61
57
  _showMorePressed: boolean;
62
58
  /**
63
- * Defines the visibility of the <code>showMore</code> button.
59
+ * Defines the visibility of the `showMore` button.
64
60
  * @private
65
61
  */
66
62
  _showMore: boolean;
67
63
  /**
68
- * Defines the avatar, displayed in the <code>ui5-li-notification</code>.
64
+ * Defines the avatar, displayed in the `ui5-li-notification`.
69
65
  *
70
- * <br><br>
71
- * <b>Note:</b> Consider using the <code>ui5-avatar</code> to display icons, initials or images.
72
- * <br>
73
- * <b>Note:</b>In order to be complaint with the UX guidlines and for best experience,
74
- * we recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the <code>ui5-avatar</code>
75
- * you can set its <code>size</code> property to <code>XS</code> to get the required size - <code>&lt;ui5-avatar size="XS">&lt;/ui5-avatar></code>.
66
+ * **Note:** Consider using the `ui5-avatar` to display icons, initials or images.
76
67
  *
68
+ * **Note:** In order to be complaint with the UX guidlines and for best experience,
69
+ * we recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the `ui5-avatar`
70
+ * you can set its `size` property to `XS` to get the required size - `<ui5-avatar size="XS"></ui5-avatar>`.
77
71
  * @public
78
72
  */
79
73
  avatar: Array<HTMLElement>;
@@ -83,12 +77,10 @@ declare class NotificationListItem extends NotificationListItemBase {
83
77
  */
84
78
  footnotes: Array<HTMLElement>;
85
79
  /**
86
- * Defines the content of the <code>ui5-li-notification</code>,
80
+ * Defines the content of the `ui5-li-notification`,
87
81
  * usually a description of the notification.
88
82
  *
89
- * <br><br>
90
- * <b>Note:</b> Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
91
- *
83
+ * **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
92
84
  * @public
93
85
  */
94
86
  description: Array<Node>;
@@ -32,30 +32,27 @@ import NotificationListItemCss from "./generated/themes/NotificationListItem.css
32
32
  /**
33
33
  * @class
34
34
  *
35
- * <h3 class="comment-api-title">Overview</h3>
36
- * The <code>ui5-li-notification</code> is a type of list item, meant to display notifications.
37
- * <br>
35
+ * ### Overview
36
+ * The `ui5-li-notification` is a type of list item, meant to display notifications.
38
37
  *
39
- * The component has a rich set of various properties that allows the user to set <code>avatar</code>, <code>titleText</code>, descriptive <code>content</code>
40
- * and <code>footnotes</code> to fully describe a notification.
41
- * <br>
38
+ * The component has a rich set of various properties that allows the user to set `avatar`, `titleText`, descriptive `content`
39
+ * and `footnotes` to fully describe a notification.
42
40
  *
43
41
  * The user can:
44
- * <ul>
45
- * <li>display a <code>Close</code> button</li>
46
- * <li>can control whether the <code>titleText</code> and <code>description</code> should wrap or truncate
47
- * and display a <code>ShowMore</code> button to switch between less and more information</li>
48
- * <li>add custom actions by using the <code>ui5-notification-action</code> component</li>
49
- * </ul>
50
42
  *
51
- * <h3>Usage</h3>
52
- * The component can be used in a standard <code>ui5-list</code>.
43
+ * - display a `Close` button
44
+ * - can control whether the `titleText` and `description` should wrap or truncate
45
+ * and display a `ShowMore` button to switch between less and more information
46
+ * - add custom actions by using the `ui5-notification-action` component
53
47
  *
54
- * <h3>ES6 Module Import</h3>
48
+ * ### Usage
49
+ * The component can be used in a standard `ui5-list`.
55
50
  *
56
- * <code>import "@ui5/webcomponents/dist/NotificationListItem.js";</code>
57
- * <br>
58
- * <code>import "@ui5/webcomponents/dist/NotificationAction.js";</code> (optional)
51
+ * ### ES6 Module Import
52
+ *
53
+ * `import "@ui5/webcomponents/dist/NotificationListItem.js";`
54
+ *
55
+ * `import "@ui5/webcomponents/dist/NotificationAction.js";` (optional)
59
56
  * @constructor
60
57
  * @extends NotificationListItemBase
61
58
  * @since 1.0.0-rc.8
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationListItem.js","sourceRoot":"","sources":["../src/NotificationListItem.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,EAAE,YAAY,EAAE,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,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;YACrE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,OAAO;SACP;QAED,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;IACxB,CAAC;CACD,CAAA;AA3QA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,CAAC;0DACjC;AAQjC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8DACD;AAO3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;uDACR;AAepB;IADC,IAAI,EAAE;oDACqB;AAO5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;uDACpB;AAY/B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;yDACZ;AA9DrB,oBAAoB;IAfzB,aAAa,CAAC;QACd,GAAG,EAAE,qBAAqB;QAC1B,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,uBAAuB;QAC/B,QAAQ,EAAE,4BAA4B;QACtC,YAAY,EAAE;YACb,MAAM;YACN,IAAI;YACJ,aAAa;YACb,IAAI;YACJ,OAAO;SACP;KACD,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC;GACV,oBAAoB,CAwRzB;AAED,oBAAoB,CAAC,MAAM,EAAE,CAAC;AAE9B,eAAe,oBAAoB,CAAC","sourcesContent":["import { isSpace, isEnter } from \"@ui5/webcomponents-base/dist/Keys.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 event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport Priority from \"@ui5/webcomponents/dist/types/Priority.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport BusyIndicator from \"@ui5/webcomponents/dist/BusyIndicator.js\";\nimport Link from \"@ui5/webcomponents/dist/Link.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport WrappingType from \"@ui5/webcomponents/dist/types/WrappingType.js\";\nimport NotificationListItemBase from \"./NotificationListItemBase.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\n\n// Texts\nimport {\n\tNOTIFICATION_LIST_ITEM_TXT,\n\tNOTIFICATION_LIST_ITEM_READ,\n\tNOTIFICATION_LIST_ITEM_UNREAD,\n\tNOTIFICATION_LIST_ITEM_SHOW_MORE,\n\tNOTIFICATION_LIST_ITEM_SHOW_LESS,\n\tNOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE,\n\tNOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Templates\nimport NotificationListItemTemplate from \"./generated/templates/NotificationListItemTemplate.lit.js\";\n\n// Styles\nimport NotificationListItemCss from \"./generated/themes/NotificationListItem.css.js\";\n\nimport type { NotificationListItemBaseCloseEventDetail as NotificationListItemCloseEventDetail } from \"./NotificationListItemBase.js\";\n\ntype NotificationListItemPressEventDetail = {\n\titem: NotificationListItem,\n};\n\ntype Footnote = Record<string, any>;\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n * The <code>ui5-li-notification</code> is a type of list item, meant to display notifications.\n * <br>\n *\n * The component has a rich set of various properties that allows the user to set <code>avatar</code>, <code>titleText</code>, descriptive <code>content</code>\n * and <code>footnotes</code> to fully describe a notification.\n * <br>\n *\n * The user can:\n * <ul>\n * <li>display a <code>Close</code> button</li>\n * <li>can control whether the <code>titleText</code> and <code>description</code> should wrap or truncate\n * and display a <code>ShowMore</code> button to switch between less and more information</li>\n * <li>add custom actions by using the <code>ui5-notification-action</code> component</li>\n * </ul>\n *\n * <h3>Usage</h3>\n * The component can be used in a standard <code>ui5-list</code>.\n *\n * <h3>ES6 Module Import</h3>\n *\n * <code>import \"@ui5/webcomponents/dist/NotificationListItem.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents/dist/NotificationAction.js\";</code> (optional)\n * @constructor\n * @extends NotificationListItemBase\n * @since 1.0.0-rc.8\n * @public\n * @csspart title-text - Used to style the titleText of the notification list item\n */\n@customElement({\n\ttag: \"ui5-li-notification\",\n\tlanguageAware: true,\n\tstyles: NotificationListItemCss,\n\ttemplate: NotificationListItemTemplate,\n\tdependencies: [\n\t\tButton,\n\t\tIcon,\n\t\tBusyIndicator,\n\t\tLink,\n\t\tPopover,\n\t],\n})\n\n@event(\"_press\")\nclass NotificationListItem extends NotificationListItemBase {\n\t/**\n\t* Defines if the <code>titleText</code> and <code>description</code> should wrap,\n\t* they truncate by default.\n\t*\n\t* <br><br>\n\t* <b>Note:</b> by default the <code>titleText</code> and <code>description</code>,\n\t* and a <code>ShowMore/Less</code> button would be displayed.\n\t* @default \"None\"\n\t* @public\n\t* @since 1.0.0-rc.15\n\t*/\n\t@property({ type: WrappingType, defaultValue: WrappingType.None })\n\twrappingType!: `${WrappingType}`;\n\n\t/**\n\t* Defines the state of the <code>titleText</code> and <code>description</code>,\n\t* if less or more information is displayed.\n\t* @private\n\t*/\n\t@property({ type: Boolean })\n\t_showMorePressed!: boolean;\n\n\t/**\n\t* Defines the visibility of the <code>showMore</code> button.\n\t* @private\n\t*/\n\t@property({ type: Boolean })\n\t_showMore!: boolean;\n\n\t/**\n\t* Defines the avatar, displayed in the <code>ui5-li-notification</code>.\n\t*\n\t* <br><br>\n\t* <b>Note:</b> Consider using the <code>ui5-avatar</code> to display icons, initials or images.\n\t* <br>\n\t* <b>Note:</b>In order to be complaint with the UX guidlines and for best experience,\n\t* we recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the <code>ui5-avatar</code>\n\t* you can set its <code>size</code> property to <code>XS</code> to get the required size - <code>&lt;ui5-avatar size=\"XS\">&lt;/ui5-avatar></code>.\n\t*\n\t* @public\n\t*/\n\t@slot()\n\tavatar!: Array<HTMLElement>;\n\n\t/**\n\t* Defines the elements, displayed in the footer of the of the component.\n\t* @public\n\t*/\n\t@slot({ type: HTMLElement, individualSlots: true })\n\tfootnotes!: Array<HTMLElement>;\n\n\t/**\n\t* Defines the content of the <code>ui5-li-notification</code>,\n\t* usually a description of the notification.\n\t*\n\t* <br><br>\n\t* <b>Note:</b> Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.\n\t*\n\t* @public\n\t*/\n\t@slot({ type: Node, \"default\": true })\n\tdescription!: Array<Node>;\n\n\t_titleTextOverflowHeight: number;\n\t_descOverflowHeight: number;\n\t_onResizeBound: ResizeObserverCallback;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\t// the titleText overflow height\n\t\tthis._titleTextOverflowHeight = 0;\n\n\t\t// the description overflow height\n\t\tthis._descOverflowHeight = 0;\n\n\t\t// the resize handler\n\t\tthis._onResizeBound = this.onResize.bind(this);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._onResizeBound);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._onResizeBound);\n\t}\n\n\tget hasDesc() {\n\t\treturn !!this.description.length;\n\t}\n\n\tget hasFootNotes() {\n\t\treturn !!this.footnotes.length;\n\t}\n\n\tget showMoreText() {\n\t\tif (this._showMorePressed) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_SHOW_LESS);\n\t\t}\n\n\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_SHOW_MORE);\n\t}\n\n\tget overflowBtnAccessibleName() {\n\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);\n\t}\n\n\tget closeBtnAccessibleName() {\n\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);\n\t}\n\n\tget hideShowMore() {\n\t\tif (this.wrappingType === WrappingType.None && this._showMore) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tget descriptionDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-description\");\n\t}\n\n\tget titleTextDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-title-text\");\n\t}\n\n\tget titleTextHeight() {\n\t\treturn (this.titleTextDOM as HTMLElement).offsetHeight;\n\t}\n\n\tget descriptionHeight() {\n\t\treturn (this.descriptionDOM as HTMLElement).offsetHeight;\n\t}\n\n\tget titleTextOverflows() {\n\t\tconst titleText = this.titleTextDOM;\n\n\t\tif (!titleText) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn titleText.offsetHeight < titleText.scrollHeight;\n\t}\n\n\tget descriptionOverflows() {\n\t\tconst description = this.descriptionDOM;\n\n\t\tif (!description) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn description.offsetHeight < description.scrollHeight;\n\t}\n\n\tget footerItems() {\n\t\treturn this.footnotes.map((el, idx, arr) => {\n\t\t\treturn {\n\t\t\t\tslotName: (el as Footnote)._individualSlot,\n\t\t\t\tshowDivider: idx !== arr.length - 1,\n\t\t\t};\n\t\t});\n\t}\n\n\tget ariaLabelledBy() {\n\t\tconst id = this._id;\n\t\tconst ids = [];\n\n\t\tif (this.hasTitleText) {\n\t\t\tids.push(`${id}-title-text`);\n\t\t}\n\t\tif (this.hasDesc) {\n\t\t\tids.push(`${id}-description`);\n\t\t}\n\n\t\tif (this.hasFootNotes) {\n\t\t\tids.push(`${id}-footer`);\n\t\t}\n\n\t\tids.push(`${id}-invisibleText`);\n\n\t\treturn ids.join(\" \");\n\t}\n\n\tget priorityText() {\n\t\tif (this.priority === Priority.High) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Medium) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Low) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\tget accInvisibleText() {\n\t\tconst notificationText = NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_TXT);\n\t\tconst readText = this.read ? NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_READ) : NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_UNREAD);\n\t\tconst priorityText = this.priorityText;\n\n\t\treturn `${notificationText} ${readText} ${priorityText}`;\n\t}\n\n\t/**\n\t * Event handlers\n\t */\n\t_onclick(e: MouseEvent) {\n\t\tthis.fireItemPress(e);\n\t}\n\n\t_onShowMoreClick(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tthis._showMorePressed = !this._showMorePressed;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tsuper._onkeydown(e);\n\n\t\tif (isEnter(e)) {\n\t\t\tthis.fireItemPress(e);\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tsuper._onkeyup(e);\n\n\t\tconst space = isSpace(e);\n\n\t\tif (space && getEventMark(e) === \"link\") {\n\t\t\tthis._onShowMoreClick(e as unknown as MouseEvent);\n\t\t\treturn;\n\t\t}\n\n\t\tif (space) {\n\t\t\tthis.fireItemPress(e);\n\t\t}\n\t}\n\n\t/**\n\t * Private\n\t */\n\tfireItemPress(e: Event) {\n\t\tif (getEventMark(e) === \"button\" || getEventMark(e) === \"link\") {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.fireEvent<NotificationListItemPressEventDetail>(\"_press\", { item: this });\n\t}\n\n\tonResize() {\n\t\tif (this.wrappingType === WrappingType.Normal) {\n\t\t\tthis._showMore = false;\n\t\t\treturn;\n\t\t}\n\n\t\tconst titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;\n\t\tconst descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;\n\t\tconst overflows = titleTextWouldOverflow || descWouldOverflow;\n\n\t\tif (this._showMorePressed && overflows) {\n\t\t\tthis._showMore = true;\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.titleTextOverflows || this.descriptionOverflows) {\n\t\t\tthis._titleTextOverflowHeight = this.titleTextHeight;\n\t\t\tthis._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;\n\t\t\tthis._showMore = true;\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showMore = false;\n\t}\n}\n\nNotificationListItem.define();\n\nexport default NotificationListItem;\nexport type {\n\tNotificationListItemPressEventDetail,\n\tNotificationListItemCloseEventDetail,\n};\n"]}
1
+ {"version":3,"file":"NotificationListItem.js","sourceRoot":"","sources":["../src/NotificationListItem.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,K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IAAI,CAAC,eAAe,CAAC;YACrD,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;YACrE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;YACtB,OAAO;SACP;QAED,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;IACxB,CAAC;CACD,CAAA;AAvQA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC,IAAI,EAAE,CAAC;0DACjC;AAQjC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;8DACD;AAO3B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;uDACR;AAapB;IADC,IAAI,EAAE;oDACqB;AAO5B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC;uDACpB;AAU/B;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;yDACZ;AAzDrB,oBAAoB;IAfzB,aAAa,CAAC;QACd,GAAG,EAAE,qBAAqB;QAC1B,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,uBAAuB;QAC/B,QAAQ,EAAE,4BAA4B;QACtC,YAAY,EAAE;YACb,MAAM;YACN,IAAI;YACJ,aAAa;YACb,IAAI;YACJ,OAAO;SACP;KACD,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC;GACV,oBAAoB,CAmRzB;AAED,oBAAoB,CAAC,MAAM,EAAE,CAAC;AAE9B,eAAe,oBAAoB,CAAC","sourcesContent":["import { isSpace, isEnter } from \"@ui5/webcomponents-base/dist/Keys.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 event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport Priority from \"@ui5/webcomponents/dist/types/Priority.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport BusyIndicator from \"@ui5/webcomponents/dist/BusyIndicator.js\";\nimport Link from \"@ui5/webcomponents/dist/Link.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Popover from \"@ui5/webcomponents/dist/Popover.js\";\nimport WrappingType from \"@ui5/webcomponents/dist/types/WrappingType.js\";\nimport NotificationListItemBase from \"./NotificationListItemBase.js\";\n\n// Icons\nimport \"@ui5/webcomponents-icons/dist/overflow.js\";\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\n\n// Texts\nimport {\n\tNOTIFICATION_LIST_ITEM_TXT,\n\tNOTIFICATION_LIST_ITEM_READ,\n\tNOTIFICATION_LIST_ITEM_UNREAD,\n\tNOTIFICATION_LIST_ITEM_SHOW_MORE,\n\tNOTIFICATION_LIST_ITEM_SHOW_LESS,\n\tNOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT,\n\tNOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE,\n\tNOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Templates\nimport NotificationListItemTemplate from \"./generated/templates/NotificationListItemTemplate.lit.js\";\n\n// Styles\nimport NotificationListItemCss from \"./generated/themes/NotificationListItem.css.js\";\n\nimport type { NotificationListItemBaseCloseEventDetail as NotificationListItemCloseEventDetail } from \"./NotificationListItemBase.js\";\n\ntype NotificationListItemPressEventDetail = {\n\titem: NotificationListItem,\n};\n\ntype Footnote = Record<string, any>;\n\n/**\n * @class\n *\n * ### Overview\n * The `ui5-li-notification` is a type of list item, meant to display notifications.\n *\n * The component has a rich set of various properties that allows the user to set `avatar`, `titleText`, descriptive `content`\n * and `footnotes` to fully describe a notification.\n *\n * The user can:\n *\n * - display a `Close` button\n * - can control whether the `titleText` and `description` should wrap or truncate\n * and display a `ShowMore` button to switch between less and more information\n * - add custom actions by using the `ui5-notification-action` component\n *\n * ### Usage\n * The component can be used in a standard `ui5-list`.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/NotificationListItem.js\";`\n *\n * `import \"@ui5/webcomponents/dist/NotificationAction.js\";` (optional)\n * @constructor\n * @extends NotificationListItemBase\n * @since 1.0.0-rc.8\n * @public\n * @csspart title-text - Used to style the titleText of the notification list item\n */\n@customElement({\n\ttag: \"ui5-li-notification\",\n\tlanguageAware: true,\n\tstyles: NotificationListItemCss,\n\ttemplate: NotificationListItemTemplate,\n\tdependencies: [\n\t\tButton,\n\t\tIcon,\n\t\tBusyIndicator,\n\t\tLink,\n\t\tPopover,\n\t],\n})\n\n@event(\"_press\")\nclass NotificationListItem extends NotificationListItemBase {\n\t/**\n\t* Defines if the `titleText` and `description` should wrap,\n\t* they truncate by default.\n\t*\n\t* **Note:** by default the `titleText` and `description`,\n\t* and a `ShowMore/Less` button would be displayed.\n\t* @default \"None\"\n\t* @public\n\t* @since 1.0.0-rc.15\n\t*/\n\t@property({ type: WrappingType, defaultValue: WrappingType.None })\n\twrappingType!: `${WrappingType}`;\n\n\t/**\n\t* Defines the state of the `titleText` and `description`,\n\t* if less or more information is displayed.\n\t* @private\n\t*/\n\t@property({ type: Boolean })\n\t_showMorePressed!: boolean;\n\n\t/**\n\t* Defines the visibility of the `showMore` button.\n\t* @private\n\t*/\n\t@property({ type: Boolean })\n\t_showMore!: boolean;\n\n\t/**\n\t* Defines the avatar, displayed in the `ui5-li-notification`.\n\t*\n\t* **Note:** Consider using the `ui5-avatar` to display icons, initials or images.\n\t*\n\t* **Note:** In order to be complaint with the UX guidlines and for best experience,\n\t* we recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the `ui5-avatar`\n\t* you can set its `size` property to `XS` to get the required size - `<ui5-avatar size=\"XS\"></ui5-avatar>`.\n\t* @public\n\t*/\n\t@slot()\n\tavatar!: Array<HTMLElement>;\n\n\t/**\n\t* Defines the elements, displayed in the footer of the of the component.\n\t* @public\n\t*/\n\t@slot({ type: HTMLElement, individualSlots: true })\n\tfootnotes!: Array<HTMLElement>;\n\n\t/**\n\t* Defines the content of the `ui5-li-notification`,\n\t* usually a description of the notification.\n\t*\n\t* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.\n\t* @public\n\t*/\n\t@slot({ type: Node, \"default\": true })\n\tdescription!: Array<Node>;\n\n\t_titleTextOverflowHeight: number;\n\t_descOverflowHeight: number;\n\t_onResizeBound: ResizeObserverCallback;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\t// the titleText overflow height\n\t\tthis._titleTextOverflowHeight = 0;\n\n\t\t// the description overflow height\n\t\tthis._descOverflowHeight = 0;\n\n\t\t// the resize handler\n\t\tthis._onResizeBound = this.onResize.bind(this);\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._onResizeBound);\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._onResizeBound);\n\t}\n\n\tget hasDesc() {\n\t\treturn !!this.description.length;\n\t}\n\n\tget hasFootNotes() {\n\t\treturn !!this.footnotes.length;\n\t}\n\n\tget showMoreText() {\n\t\tif (this._showMorePressed) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_SHOW_LESS);\n\t\t}\n\n\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_SHOW_MORE);\n\t}\n\n\tget overflowBtnAccessibleName() {\n\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);\n\t}\n\n\tget closeBtnAccessibleName() {\n\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);\n\t}\n\n\tget hideShowMore() {\n\t\tif (this.wrappingType === WrappingType.None && this._showMore) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tget descriptionDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-description\");\n\t}\n\n\tget titleTextDOM() {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(\".ui5-nli-title-text\");\n\t}\n\n\tget titleTextHeight() {\n\t\treturn (this.titleTextDOM as HTMLElement).offsetHeight;\n\t}\n\n\tget descriptionHeight() {\n\t\treturn (this.descriptionDOM as HTMLElement).offsetHeight;\n\t}\n\n\tget titleTextOverflows() {\n\t\tconst titleText = this.titleTextDOM;\n\n\t\tif (!titleText) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn titleText.offsetHeight < titleText.scrollHeight;\n\t}\n\n\tget descriptionOverflows() {\n\t\tconst description = this.descriptionDOM;\n\n\t\tif (!description) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn description.offsetHeight < description.scrollHeight;\n\t}\n\n\tget footerItems() {\n\t\treturn this.footnotes.map((el, idx, arr) => {\n\t\t\treturn {\n\t\t\t\tslotName: (el as Footnote)._individualSlot,\n\t\t\t\tshowDivider: idx !== arr.length - 1,\n\t\t\t};\n\t\t});\n\t}\n\n\tget ariaLabelledBy() {\n\t\tconst id = this._id;\n\t\tconst ids = [];\n\n\t\tif (this.hasTitleText) {\n\t\t\tids.push(`${id}-title-text`);\n\t\t}\n\t\tif (this.hasDesc) {\n\t\t\tids.push(`${id}-description`);\n\t\t}\n\n\t\tif (this.hasFootNotes) {\n\t\t\tids.push(`${id}-footer`);\n\t\t}\n\n\t\tids.push(`${id}-invisibleText`);\n\n\t\treturn ids.join(\" \");\n\t}\n\n\tget priorityText() {\n\t\tif (this.priority === Priority.High) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Medium) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);\n\t\t}\n\n\t\tif (this.priority === Priority.Low) {\n\t\t\treturn NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\tget accInvisibleText() {\n\t\tconst notificationText = NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_TXT);\n\t\tconst readText = this.read ? NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_READ) : NotificationListItem.i18nFioriBundle.getText(NOTIFICATION_LIST_ITEM_UNREAD);\n\t\tconst priorityText = this.priorityText;\n\n\t\treturn `${notificationText} ${readText} ${priorityText}`;\n\t}\n\n\t/**\n\t * Event handlers\n\t */\n\t_onclick(e: MouseEvent) {\n\t\tthis.fireItemPress(e);\n\t}\n\n\t_onShowMoreClick(e: MouseEvent) {\n\t\te.preventDefault();\n\t\tthis._showMorePressed = !this._showMorePressed;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tsuper._onkeydown(e);\n\n\t\tif (isEnter(e)) {\n\t\t\tthis.fireItemPress(e);\n\t\t}\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\tsuper._onkeyup(e);\n\n\t\tconst space = isSpace(e);\n\n\t\tif (space && getEventMark(e) === \"link\") {\n\t\t\tthis._onShowMoreClick(e as unknown as MouseEvent);\n\t\t\treturn;\n\t\t}\n\n\t\tif (space) {\n\t\t\tthis.fireItemPress(e);\n\t\t}\n\t}\n\n\t/**\n\t * Private\n\t */\n\tfireItemPress(e: Event) {\n\t\tif (getEventMark(e) === \"button\" || getEventMark(e) === \"link\") {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.fireEvent<NotificationListItemPressEventDetail>(\"_press\", { item: this });\n\t}\n\n\tonResize() {\n\t\tif (this.wrappingType === WrappingType.Normal) {\n\t\t\tthis._showMore = false;\n\t\t\treturn;\n\t\t}\n\n\t\tconst titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;\n\t\tconst descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;\n\t\tconst overflows = titleTextWouldOverflow || descWouldOverflow;\n\n\t\tif (this._showMorePressed && overflows) {\n\t\t\tthis._showMore = true;\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.titleTextOverflows || this.descriptionOverflows) {\n\t\t\tthis._titleTextOverflowHeight = this.titleTextHeight;\n\t\t\tthis._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;\n\t\t\tthis._showMore = true;\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showMore = false;\n\t}\n}\n\nNotificationListItem.define();\n\nexport default NotificationListItem;\nexport type {\n\tNotificationListItemPressEventDetail,\n\tNotificationListItemCloseEventDetail,\n};\n"]}