@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
package/dist/SortItem.js CHANGED
@@ -10,16 +10,14 @@ import customElement from "@ui5/webcomponents-base/dist/decorators/customElement
10
10
  /**
11
11
  * @class
12
12
  *
13
- * <h3 class="comment-api-title">Overview</h3>
13
+ * ### Overview
14
14
  *
15
+ * ### Usage
15
16
  *
16
- * <h3>Usage</h3>
17
- *
18
- * For the <code>ui5-sort-item</code>
19
- * <h3>ES6 Module Import</h3>
20
- *
21
- * <code>import @ui5/webcomponents-fiori/dist/SortItem.js";</code>
17
+ * For the `ui5-sort-item`
18
+ * ### ES6 Module Import
22
19
  *
20
+ * `import @ui5/webcomponents-fiori/dist/SortItem.js";`
23
21
  * @constructor
24
22
  * @extends UI5Element
25
23
  * @abstract
@@ -1 +1 @@
1
- {"version":3,"file":"SortItem.js","sourceRoot":"","sources":["../src/SortItem.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,aAAa,MAAM,0DAA0D,CAAC;AAErF;;;;;;;;;;;;;;;;;;GAkBG;AAEH,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;CAkBhC,CAAA;AAVA;IADC,QAAQ,EAAE;sCACG;AASd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;0CACT;AAjBd,QAAQ;IADb,aAAa,CAAC,eAAe,CAAC;GACzB,QAAQ,CAkBb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n *\n * <h3>Usage</h3>\n *\n * For the <code>ui5-sort-item</code>\n * <h3>ES6 Module Import</h3>\n *\n * <code>import @ui5/webcomponents-fiori/dist/SortItem.js\";</code>\n *\n * @constructor\n * @extends UI5Element\n * @abstract\n * @since 1.0.0-rc.16\n * @public\n */\n@customElement(\"ui5-sort-item\")\nclass SortItem extends UI5Element {\n\t/**\n\t * Defines the text of the component.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttext!: string;\n\n\t/**\n\t * Defines if the component is selected.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tselected!: boolean;\n}\n\nSortItem.define();\n\nexport default SortItem;\n"]}
1
+ {"version":3,"file":"SortItem.js","sourceRoot":"","sources":["../src/SortItem.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,aAAa,MAAM,0DAA0D,CAAC;AAErF;;;;;;;;;;;;;;;;GAgBG;AAEH,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,UAAU;CAgBhC,CAAA;AATA;IADC,QAAQ,EAAE;sCACG;AAQd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;0CACT;AAfd,QAAQ;IADb,aAAa,CAAC,eAAe,CAAC;GACzB,QAAQ,CAgBb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * ### Usage\n *\n * For the `ui5-sort-item`\n * ### ES6 Module Import\n *\n * `import @ui5/webcomponents-fiori/dist/SortItem.js\";`\n * @constructor\n * @extends UI5Element\n * @abstract\n * @since 1.0.0-rc.16\n * @public\n */\n@customElement(\"ui5-sort-item\")\nclass SortItem extends UI5Element {\n\t/**\n\t * Defines the text of the component.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttext!: string;\n\n\t/**\n\t * Defines if the component is selected.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tselected!: boolean;\n}\n\nSortItem.define();\n\nexport default SortItem;\n"]}
@@ -4,8 +4,7 @@ import ItemNavigation from "@ui5/webcomponents-base/dist/delegate/ItemNavigation
4
4
  import type { ITabbable } from "@ui5/webcomponents-base/dist/delegate/ItemNavigation.js";
5
5
  import TimelineLayout from "./types/TimelineLayout.js";
6
6
  /**
7
- * Interface for components that may be slotted inside <code>ui5-timeline</code> as items
8
- *
7
+ * Interface for components that may be slotted inside `ui5-timeline` as items
9
8
  * @public
10
9
  */
11
10
  interface ITimelineItem extends UI5Element, ITabbable {
@@ -18,14 +17,13 @@ interface ITimelineItem extends UI5Element, ITabbable {
18
17
  /**
19
18
  * @class
20
19
  *
21
- * <h3 class="comment-api-title">Overview</h3>
20
+ * ### Overview
22
21
  *
23
- * The <code>ui5-timeline</code> component shows entries (such as objects, events, or posts) in chronological order.
22
+ * The `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.
24
23
  * A common use case is to provide information about changes to an object, or events related to an object.
25
24
  * These entries can be generated by the system (for example, value XY changed from A to B), or added manually.
26
25
  * There are two distinct variants of the timeline: basic and social. The basic timeline is read-only,
27
26
  * while the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.
28
- *
29
27
  * @constructor
30
28
  * @extends UI5Element
31
29
  * @public
@@ -34,15 +32,6 @@ interface ITimelineItem extends UI5Element, ITabbable {
34
32
  declare class Timeline extends UI5Element {
35
33
  /**
36
34
  * Defines the items orientation.
37
- *
38
- * <br><br>
39
- * <b>Note:</b>
40
- * Available options are:
41
- * <ul>
42
- * <li><code>Vertical</code></li>
43
- * <li><code>Horizontal</code></li>
44
- * </ul>
45
- *
46
35
  * @default "Vertical"
47
36
  * @since 1.0.0-rc.15
48
37
  * @public
@@ -50,15 +39,13 @@ declare class Timeline extends UI5Element {
50
39
  layout: `${TimelineLayout}`;
51
40
  /**
52
41
  * Defines the accessible ARIA name of the component.
53
- *
54
42
  * @default ""
55
43
  * @public
56
44
  * @since 1.2.0
57
45
  */
58
46
  accessibleName: string;
59
47
  /**
60
- * Determines the content of the <code>ui5-timeline</code>.
61
- *
48
+ * Determines the content of the `ui5-timeline`.
62
49
  * @public
63
50
  */
64
51
  items: Array<ITimelineItem>;
package/dist/Timeline.js CHANGED
@@ -26,14 +26,13 @@ const LARGE_LINE_WIDTH = "LargeLineWidth";
26
26
  /**
27
27
  * @class
28
28
  *
29
- * <h3 class="comment-api-title">Overview</h3>
29
+ * ### Overview
30
30
  *
31
- * The <code>ui5-timeline</code> component shows entries (such as objects, events, or posts) in chronological order.
31
+ * The `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.
32
32
  * A common use case is to provide information about changes to an object, or events related to an object.
33
33
  * These entries can be generated by the system (for example, value XY changed from A to B), or added manually.
34
34
  * There are two distinct variants of the timeline: basic and social. The basic timeline is read-only,
35
35
  * while the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.
36
- *
37
36
  * @constructor
38
37
  * @extends UI5Element
39
38
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.js","sourceRoot":"","sources":["../src/Timeline.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,cAAc,MAAM,yDAAyD,CAAC;AAErF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,gBAAgB,MAAM,+CAA+C,CAAC;AAC7E,OAAO,YAAY,MAAM,mBAAmB,CAAC;AAE7C,SAAS;AACT,OAAO,WAAW,MAAM,oCAAoC,CAAC;AAC7D,OAAO,cAAc,MAAM,2BAA2B,CAAC;AAevD,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAC1C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAE1C;;;;;;;;;;;;;;;GAeG;AASH,IAAM,QA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E;YACxC,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,UAAU,CAAC,SAAS,EAAE,CAAC;YACvB,OAAO;SACP;QACD,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,UAAU,CAAC,KAAK,EAAE,CAAC;QACnB,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;CACD,CAAA;AAzFA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC;wCAC7C;AAU7B;IADC,QAAQ,EAAE;gDACa;AAQxB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;uCACvC;AAnCxB,QAAQ;IARb,aAAa,CAAC;QACd,GAAG,EAAE,cAAc;QACnB,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,gBAAgB;QAC1B,YAAY,EAAE,CAAC,YAAY,CAAC;KAC5B,CAAC;GACI,QAAQ,CA0Gb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { isTabNext, isTabPrevious } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport NavigationMode from \"@ui5/webcomponents-base/dist/types/NavigationMode.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport { TIMELINE_ARIA_LABEL } from \"./generated/i18n/i18n-defaults.js\";\nimport TimelineTemplate from \"./generated/templates/TimelineTemplate.lit.js\";\nimport TimelineItem from \"./TimelineItem.js\";\n\n// Styles\nimport TimelineCss from \"./generated/themes/Timeline.css.js\";\nimport TimelineLayout from \"./types/TimelineLayout.js\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-timeline</code> as items\n *\n * @public\n */\ninterface ITimelineItem extends UI5Element, ITabbable {\n layout: `${TimelineLayout}`,\n icon: string,\n forcedLineWidth: string,\n nameClickable: boolean,\n focusLink: () => void,\n}\n\nconst SHORT_LINE_WIDTH = \"ShortLineWidth\";\nconst LARGE_LINE_WIDTH = \"LargeLineWidth\";\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-timeline</code> component shows entries (such as objects, events, or posts) in chronological order.\n * A common use case is to provide information about changes to an object, or events related to an object.\n * These entries can be generated by the system (for example, value XY changed from A to B), or added manually.\n * There are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\n * while the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.\n *\n * @constructor\n * @extends UI5Element\n * @public\n * @since 0.8.0\n */\n@customElement({\n\ttag: \"ui5-timeline\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: TimelineCss,\n\ttemplate: TimelineTemplate,\n\tdependencies: [TimelineItem],\n})\nclass Timeline extends UI5Element {\n\t/**\n\t * Defines the items orientation.\n\t *\n\t * <br><br>\n\t * <b>Note:</b>\n\t * Available options are:\n\t * <ul>\n\t * <li><code>Vertical</code></li>\n\t * <li><code>Horizontal</code></li>\n\t * </ul>\n\t *\n\t * @default \"Vertical\"\n\t * @since 1.0.0-rc.15\n\t * @public\n\t */\n\t@property({ type: TimelineLayout, defaultValue: TimelineLayout.Vertical })\n\tlayout!: `${TimelineLayout}`;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t *\n\t * @default \"\"\n\t * @public\n\t * @since 1.2.0\n\t */\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * Determines the content of the <code>ui5-timeline</code>.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, individualSlots: true, \"default\": true })\n\titems!: Array<ITimelineItem>;\n\n\tstatic i18nBundle: I18nBundle;\n\n\t_itemNavigation: ItemNavigation;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\tgetItemsCallback: () => this.items,\n\t\t});\n\t}\n\n\tstatic async onDefine() {\n\t\tTimeline.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tget ariaLabel() {\n\t\treturn this.accessibleName\n\t\t\t? `${Timeline.i18nBundle.getText(TIMELINE_ARIA_LABEL)} ${this.accessibleName}`\n\t\t\t: Timeline.i18nBundle.getText(TIMELINE_ARIA_LABEL);\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tconst target = e.target as TimelineItem;\n\n\t\tthis._itemNavigation.setCurrentItem(target);\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._itemNavigation._navigationMode = this.layout === TimelineLayout.Horizontal ? NavigationMode.Horizontal : NavigationMode.Vertical;\n\n\t\tfor (let i = 0; i < this.items.length; i++) {\n\t\t\tthis.items[i].layout = this.layout;\n\t\t\tif (this.items[i + 1] && !!this.items[i + 1].icon) {\n\t\t\t\tthis.items[i].forcedLineWidth = SHORT_LINE_WIDTH;\n\t\t\t} else if (this.items[i].icon && this.items[i + 1] && !this.items[i + 1].icon) {\n\t\t\t\tthis.items[i].forcedLineWidth = LARGE_LINE_WIDTH;\n\t\t\t}\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst target = e.target as TimelineItem;\n\n\t\tif (isTabNext(e)) {\n\t\t\tif (!target.nameClickable || getEventMark(e) === \"link\") {\n\t\t\t\tthis._handleTabNextOrPrevious(e, isTabNext(e));\n\t\t\t}\n\t\t} else if (isTabPrevious(e)) {\n\t\t\tthis._handleTabNextOrPrevious(e);\n\t\t}\n\t}\n\n\t_handleTabNextOrPrevious(e: KeyboardEvent, isNext?: boolean) {\n\t\tconst target = e.target as TimelineItem;\n\t\tconst nextTargetIndex = isNext ? this.items.indexOf(target) + 1 : this.items.indexOf(target) - 1;\n\t\tconst nextTarget = this.items[nextTargetIndex] as TimelineItem;\n\t\tif (!nextTarget) {\n\t\t\treturn;\n\t\t}\n\t\tif (nextTarget.nameClickable && !isNext) {\n\t\t\te.preventDefault();\n\t\t\tnextTarget.focusLink();\n\t\t\treturn;\n\t\t}\n\t\te.preventDefault();\n\t\tnextTarget.focus();\n\t\tthis._itemNavigation.setCurrentItem(nextTarget);\n\t}\n}\n\nTimeline.define();\n\nexport default Timeline;\nexport type {\n\tITimelineItem,\n};\n"]}
1
+ {"version":3,"file":"Timeline.js","sourceRoot":"","sources":["../src/Timeline.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AAEnE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,cAAc,MAAM,yDAAyD,CAAC;AAErF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,MAAM,8CAA8C,CAAC;AAC5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,gBAAgB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AAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QACjG,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,CAAiB,CAAC;QAC/D,IAAI,CAAC,UAAU,EAAE;YAChB,OAAO;SACP;QACD,IAAI,UAAU,CAAC,aAAa,IAAI,CAAC,MAAM,EAAE;YACxC,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,UAAU,CAAC,SAAS,EAAE,CAAC;YACvB,OAAO;SACP;QACD,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,UAAU,CAAC,KAAK,EAAE,CAAC;QACnB,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;CACD,CAAA;AAvFA;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC;wCAC7C;AAS7B;IADC,QAAQ,EAAE;gDACa;AAOxB;IADC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;uCACvC;AAxBxB,QAAQ;IARb,aAAa,CAAC;QACd,GAAG,EAAE,cAAc;QACnB,aAAa,EAAE,IAAI;QACnB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,WAAW;QACnB,QAAQ,EAAE,gBAAgB;QAC1B,YAAY,EAAE,CAAC,YAAY,CAAC;KAC5B,CAAC;GACI,QAAQ,CA+Fb;AAED,QAAQ,CAAC,MAAM,EAAE,CAAC;AAElB,eAAe,QAAQ,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { isTabNext, isTabPrevious } from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport type { ITabbable } from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport NavigationMode from \"@ui5/webcomponents-base/dist/types/NavigationMode.js\";\nimport { getEventMark } from \"@ui5/webcomponents-base/dist/MarkedEvents.js\";\nimport { TIMELINE_ARIA_LABEL } from \"./generated/i18n/i18n-defaults.js\";\nimport TimelineTemplate from \"./generated/templates/TimelineTemplate.lit.js\";\nimport TimelineItem from \"./TimelineItem.js\";\n\n// Styles\nimport TimelineCss from \"./generated/themes/Timeline.css.js\";\nimport TimelineLayout from \"./types/TimelineLayout.js\";\n\n/**\n * Interface for components that may be slotted inside `ui5-timeline` as items\n * @public\n */\ninterface ITimelineItem extends UI5Element, ITabbable {\n layout: `${TimelineLayout}`,\n icon: string,\n forcedLineWidth: string,\n nameClickable: boolean,\n focusLink: () => void,\n}\n\nconst SHORT_LINE_WIDTH = \"ShortLineWidth\";\nconst LARGE_LINE_WIDTH = \"LargeLineWidth\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-timeline` component shows entries (such as objects, events, or posts) in chronological order.\n * A common use case is to provide information about changes to an object, or events related to an object.\n * These entries can be generated by the system (for example, value XY changed from A to B), or added manually.\n * There are two distinct variants of the timeline: basic and social. The basic timeline is read-only,\n * while the social timeline offers a high level of interaction and collaboration, and is integrated within SAP Jam.\n * @constructor\n * @extends UI5Element\n * @public\n * @since 0.8.0\n */\n@customElement({\n\ttag: \"ui5-timeline\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: TimelineCss,\n\ttemplate: TimelineTemplate,\n\tdependencies: [TimelineItem],\n})\nclass Timeline extends UI5Element {\n\t/**\n\t * Defines the items orientation.\n\t * @default \"Vertical\"\n\t * @since 1.0.0-rc.15\n\t * @public\n\t */\n\t@property({ type: TimelineLayout, defaultValue: TimelineLayout.Vertical })\n\tlayout!: `${TimelineLayout}`;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t * @default \"\"\n\t * @public\n\t * @since 1.2.0\n\t */\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * Determines the content of the `ui5-timeline`.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, individualSlots: true, \"default\": true })\n\titems!: Array<ITimelineItem>;\n\n\tstatic i18nBundle: I18nBundle;\n\n\t_itemNavigation: ItemNavigation;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\tgetItemsCallback: () => this.items,\n\t\t});\n\t}\n\n\tstatic async onDefine() {\n\t\tTimeline.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tget ariaLabel() {\n\t\treturn this.accessibleName\n\t\t\t? `${Timeline.i18nBundle.getText(TIMELINE_ARIA_LABEL)} ${this.accessibleName}`\n\t\t\t: Timeline.i18nBundle.getText(TIMELINE_ARIA_LABEL);\n\t}\n\n\t_onfocusin(e: FocusEvent) {\n\t\tconst target = e.target as TimelineItem;\n\n\t\tthis._itemNavigation.setCurrentItem(target);\n\t}\n\n\tonBeforeRendering() {\n\t\tthis._itemNavigation._navigationMode = this.layout === TimelineLayout.Horizontal ? NavigationMode.Horizontal : NavigationMode.Vertical;\n\n\t\tfor (let i = 0; i < this.items.length; i++) {\n\t\t\tthis.items[i].layout = this.layout;\n\t\t\tif (this.items[i + 1] && !!this.items[i + 1].icon) {\n\t\t\t\tthis.items[i].forcedLineWidth = SHORT_LINE_WIDTH;\n\t\t\t} else if (this.items[i].icon && this.items[i + 1] && !this.items[i + 1].icon) {\n\t\t\t\tthis.items[i].forcedLineWidth = LARGE_LINE_WIDTH;\n\t\t\t}\n\t\t}\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tconst target = e.target as TimelineItem;\n\n\t\tif (isTabNext(e)) {\n\t\t\tif (!target.nameClickable || getEventMark(e) === \"link\") {\n\t\t\t\tthis._handleTabNextOrPrevious(e, isTabNext(e));\n\t\t\t}\n\t\t} else if (isTabPrevious(e)) {\n\t\t\tthis._handleTabNextOrPrevious(e);\n\t\t}\n\t}\n\n\t_handleTabNextOrPrevious(e: KeyboardEvent, isNext?: boolean) {\n\t\tconst target = e.target as TimelineItem;\n\t\tconst nextTargetIndex = isNext ? this.items.indexOf(target) + 1 : this.items.indexOf(target) - 1;\n\t\tconst nextTarget = this.items[nextTargetIndex] as TimelineItem;\n\t\tif (!nextTarget) {\n\t\t\treturn;\n\t\t}\n\t\tif (nextTarget.nameClickable && !isNext) {\n\t\t\te.preventDefault();\n\t\t\tnextTarget.focusLink();\n\t\t\treturn;\n\t\t}\n\t\te.preventDefault();\n\t\tnextTarget.focus();\n\t\tthis._itemNavigation.setCurrentItem(nextTarget);\n\t}\n}\n\nTimeline.define();\n\nexport default Timeline;\nexport type {\n\tITimelineItem,\n};\n"]}
@@ -4,45 +4,39 @@ import TimelineLayout from "./types/TimelineLayout.js";
4
4
  /**
5
5
  * @class
6
6
  *
7
- * <h3 class="comment-api-title">Overview</h3>
7
+ * ### Overview
8
8
  *
9
9
  * An entry posted on the timeline.
10
- *
11
10
  * @constructor
12
11
  * @extends UI5Element
13
12
  * @implements { ITimelineItem }
14
13
  * @public
15
- * @slot {Node[]} default - Determines the description of the <code>ui5-timeline-item</code>.
14
+ * @slot {Node[]} default - Determines the description of the `ui5-timeline-item`.
16
15
  */
17
16
  declare class TimelineItem extends UI5Element implements ITimelineItem {
18
17
  /**
19
- * Defines the icon to be displayed as graphical element within the <code>ui5-timeline-item</code>.
18
+ * Defines the icon to be displayed as graphical element within the `ui5-timeline-item`.
20
19
  * SAP-icons font provides numerous options.
21
- * <br><br>
22
- *
23
- * See all the available icons in the <ui5-link target="_blank" href="https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html">Icon Explorer</ui5-link>.
24
20
  *
21
+ * See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
25
22
  * @default ""
26
23
  * @public
27
24
  */
28
25
  icon: string;
29
26
  /**
30
- * Defines the name of the item, displayed before the <code>title-text</code>.
31
- *
27
+ * Defines the name of the item, displayed before the `title-text`.
32
28
  * @default ""
33
29
  * @public
34
30
  */
35
31
  name: string;
36
32
  /**
37
- * Defines if the <code>name</code> is clickable.
38
- *
33
+ * Defines if the `name` is clickable.
39
34
  * @default false
40
35
  * @public
41
36
  */
42
37
  nameClickable: boolean;
43
38
  /**
44
39
  * Defines the title text of the component.
45
- *
46
40
  * @default ""
47
41
  * @public
48
42
  */
@@ -56,14 +50,12 @@ declare class TimelineItem extends UI5Element implements ITimelineItem {
56
50
  forcedTabIndex: string;
57
51
  /**
58
52
  * Defines the items orientation.
59
- *
60
53
  * @default "Vertical"
61
54
  * @private
62
55
  */
63
56
  layout: `${TimelineLayout}`;
64
57
  /**
65
58
  * Defines the indicator line width.
66
- *
67
59
  * @private
68
60
  */
69
61
  forcedLineWidth: string;
@@ -20,15 +20,14 @@ const LARGE_LINE_WIDTH = "LargeLineWidth";
20
20
  /**
21
21
  * @class
22
22
  *
23
- * <h3 class="comment-api-title">Overview</h3>
23
+ * ### Overview
24
24
  *
25
25
  * An entry posted on the timeline.
26
- *
27
26
  * @constructor
28
27
  * @extends UI5Element
29
28
  * @implements { ITimelineItem }
30
29
  * @public
31
- * @slot {Node[]} default - Determines the description of the <code>ui5-timeline-item</code>.
30
+ * @slot {Node[]} default - Determines the description of the `ui5-timeline-item`.
32
31
  */
33
32
  let TimelineItem = class TimelineItem extends UI5Element {
34
33
  constructor() {
@@ -96,10 +95,9 @@ TimelineItem = __decorate([
96
95
  /**
97
96
  * Fired when the item name is pressed either with a
98
97
  * click/tap or by using the Enter or Space key.
99
- * <br><br>
100
- * <b>Note:</b> The event will not be fired if the <code>name-clickable</code>
101
- * attribute is not set.
102
98
  *
99
+ * **Note:** The event will not be fired if the `name-clickable`
100
+ * attribute is not set.
103
101
  * @public
104
102
  */
105
103
  ,
@@ -1 +1 @@
1
- {"version":3,"file":"TimelineItem.js","sourceRoot":"","sources":["../src/TimelineItem.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,IAAI,MAAM,iCAAiC,CAAC;AACnD,OAAO,IAAI,MAAM,iCAAiC,CAAC;AAEnD,OAAO,oBAAoB,MAAM,mDAAmD,CAAC;AACrF,OAAO,cAAc,MAAM,2BAA2B,CAAC;AACvD,SAAS;AACT,OAAO,eAAe,MAAM,wCAAwC,CAAC;AAErE,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAC1C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAE1C;;;;;;;;;;;;GAYG;AAqBH,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,UAAU;IAqEpC;QACC,KAAK,EAAE,CAAC;IACT,CAAC;IAED,WAAW;QACV,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,SAAS;QACR,IAAI,CAAC,UAAW,CAAC,aAAa,CAAO,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC;IAC7D,CAAC;IAED,IAAI,OAAO;QACV,OAAO;YACN,SAAS,EAAE;gBACV,mBAAmB,EAAE,IAAI;gBACzB,8BAA8B,EAAE,IAAI,CAAC,eAAe,KAAK,gBAAgB;gBACzE,8BAA8B,EAAE,IAAI,CAAC,eAAe,KAAK,gBAAgB;aACzE;YACD,mBAAmB,EAAE;gBACpB,sBAAsB,EAAE,IAAI;gBAC5B,4BAA4B,EAAE,IAAI,CAAC,MAAM,KAAK,cAAc,CAAC,QAAQ;gBACrE,2BAA2B,EAAE,IAAI,CAAC,MAAM,KAAK,cAAc,CAAC,UAAU;aACtE;SACD,CAAC;IACH,CAAC;CACD,CAAA;AAtFA;IADC,QAAQ,EAAE;0CACG;AASd;IADC,QAAQ,EAAE;0CACG;AASd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;mDACJ;AASxB;IADC,QAAQ,EAAE;+CACQ;AAQnB;IADC,QAAQ,EAAE;kDACW;AAGtB;IADC,QAAQ,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;oDAC5B;AASxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC;4CAC7C;AAQ7B;IADC,QAAQ,EAAE;qDACc;AAnEpB,YAAY;IApBjB,aAAa,CAAC;QACd,GAAG,EAAE,mBAAmB;QACxB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,eAAe;QACvB,QAAQ,EAAE,oBAAoB;QAC9B,YAAY,EAAE;YACb,IAAI;YACJ,IAAI;SACJ;KACD,CAAC;IACF;;;;;;;;OAQG;;IACF,KAAK,CAAC,YAAY,CAAC;GACd,YAAY,CAkGjB;AAED,YAAY,CAAC,MAAM,EAAE,CAAC;AAEtB,eAAe,YAAY,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Link from \"@ui5/webcomponents/dist/Link.js\";\nimport type { ITimelineItem } from \"./Timeline.js\";\nimport TimelineItemTemplate from \"./generated/templates/TimelineItemTemplate.lit.js\";\nimport TimelineLayout from \"./types/TimelineLayout.js\";\n// Styles\nimport TimelineItemCss from \"./generated/themes/TimelineItem.css.js\";\n\nconst SHORT_LINE_WIDTH = \"ShortLineWidth\";\nconst LARGE_LINE_WIDTH = \"LargeLineWidth\";\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * An entry posted on the timeline.\n *\n * @constructor\n * @extends UI5Element\n * @implements { ITimelineItem }\n * @public\n * @slot {Node[]} default - Determines the description of the <code>ui5-timeline-item</code>.\n */\n@customElement({\n\ttag: \"ui5-timeline-item\",\n\trenderer: litRender,\n\tstyles: TimelineItemCss,\n\ttemplate: TimelineItemTemplate,\n\tdependencies: [\n\t\tIcon,\n\t\tLink,\n\t],\n})\n/**\n * Fired when the item name is pressed either with a\n * click/tap or by using the Enter or Space key.\n * <br><br>\n * <b>Note:</b> The event will not be fired if the <code>name-clickable</code>\n * attribute is not set.\n *\n * @public\n */\n@event(\"name-click\")\nclass TimelineItem extends UI5Element implements ITimelineItem {\n\t/**\n\t * Defines the icon to be displayed as graphical element within the <code>ui5-timeline-item</code>.\n\t * SAP-icons font provides numerous options.\n\t * <br><br>\n\t *\n\t * See all the available icons in the <ui5-link target=\"_blank\" href=\"https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html\">Icon Explorer</ui5-link>.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ticon!: string;\n\n\t/**\n\t * Defines the name of the item, displayed before the <code>title-text</code>.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tname!: string;\n\n\t/**\n\t * Defines if the <code>name</code> is clickable.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tnameClickable!: boolean;\n\n\t/**\n\t * Defines the title text of the component.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the subtitle text of the component.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tsubtitleText!: string;\n\n\t@property({ defaultValue: \"-1\", noAttribute: true })\n\tforcedTabIndex!: string;\n\n\t/**\n\t * Defines the items orientation.\n\t *\n\t * @default \"Vertical\"\n\t * @private\n\t */\n\t@property({ type: TimelineLayout, defaultValue: TimelineLayout.Vertical })\n\tlayout!: `${TimelineLayout}`;\n\n\t/**\n\t * Defines the indicator line width.\n\t *\n\t * @private\n\t */\n\t@property()\n\tforcedLineWidth!: string;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tonNamePress() {\n\t\tthis.fireEvent(\"name-click\", {});\n\t}\n\n\t/**\n\t * Focus the internal link.\n\t */\n\tfocusLink() {\n\t\tthis.shadowRoot!.querySelector<Link>(\"[ui5-link]\")?.focus();\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\tindicator: {\n\t\t\t\t\"ui5-tli-indicator\": true,\n\t\t\t\t\"ui5-tli-indicator-short-line\": this.forcedLineWidth === SHORT_LINE_WIDTH,\n\t\t\t\t\"ui5-tli-indicator-large-line\": this.forcedLineWidth === LARGE_LINE_WIDTH,\n\t\t\t},\n\t\t\tbubbleArrowPosition: {\n\t\t\t\t\"ui5-tli-bubble-arrow\": true,\n\t\t\t\t\"ui5-tli-bubble-arrow--left\": this.layout === TimelineLayout.Vertical,\n\t\t\t\t\"ui5-tli-bubble-arrow--top\": this.layout === TimelineLayout.Horizontal,\n\t\t\t},\n\t\t};\n\t}\n}\n\nTimelineItem.define();\n\nexport default TimelineItem;\n"]}
1
+ {"version":3,"file":"TimelineItem.js","sourceRoot":"","sources":["../src/TimelineItem.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACr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AE,CAAC;mDACJ;AAQxB;IADC,QAAQ,EAAE;+CACQ;AAQnB;IADC,QAAQ,EAAE;kDACW;AAGtB;IADC,QAAQ,CAAC,EAAE,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;oDAC5B;AAQxB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,CAAC,QAAQ,EAAE,CAAC;4CAC7C;AAO7B;IADC,QAAQ,EAAE;qDACc;AA5DpB,YAAY;IAnBjB,aAAa,CAAC;QACd,GAAG,EAAE,mBAAmB;QACxB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE,eAAe;QACvB,QAAQ,EAAE,oBAAoB;QAC9B,YAAY,EAAE;YACb,IAAI;YACJ,IAAI;SACJ;KACD,CAAC;IACF;;;;;;;OAOG;;IACF,KAAK,CAAC,YAAY,CAAC;GACd,YAAY,CA2FjB;AAED,YAAY,CAAC,MAAM,EAAE,CAAC;AAEtB,eAAe,YAAY,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Link from \"@ui5/webcomponents/dist/Link.js\";\nimport type { ITimelineItem } from \"./Timeline.js\";\nimport TimelineItemTemplate from \"./generated/templates/TimelineItemTemplate.lit.js\";\nimport TimelineLayout from \"./types/TimelineLayout.js\";\n// Styles\nimport TimelineItemCss from \"./generated/themes/TimelineItem.css.js\";\n\nconst SHORT_LINE_WIDTH = \"ShortLineWidth\";\nconst LARGE_LINE_WIDTH = \"LargeLineWidth\";\n\n/**\n * @class\n *\n * ### Overview\n *\n * An entry posted on the timeline.\n * @constructor\n * @extends UI5Element\n * @implements { ITimelineItem }\n * @public\n * @slot {Node[]} default - Determines the description of the `ui5-timeline-item`.\n */\n@customElement({\n\ttag: \"ui5-timeline-item\",\n\trenderer: litRender,\n\tstyles: TimelineItemCss,\n\ttemplate: TimelineItemTemplate,\n\tdependencies: [\n\t\tIcon,\n\t\tLink,\n\t],\n})\n/**\n * Fired when the item name is pressed either with a\n * click/tap or by using the Enter or Space key.\n *\n * **Note:** The event will not be fired if the `name-clickable`\n * attribute is not set.\n * @public\n */\n@event(\"name-click\")\nclass TimelineItem extends UI5Element implements ITimelineItem {\n\t/**\n\t * Defines the icon to be displayed as graphical element within the `ui5-timeline-item`.\n\t * SAP-icons font provides numerous options.\n\t *\n\t * See all the available icons in the [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 * Defines the name of the item, displayed before the `title-text`.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tname!: string;\n\n\t/**\n\t * Defines if the `name` is clickable.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tnameClickable!: boolean;\n\n\t/**\n\t * Defines the title text of the component.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\ttitleText!: string;\n\n\t/**\n\t * Defines the subtitle text of the component.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tsubtitleText!: string;\n\n\t@property({ defaultValue: \"-1\", noAttribute: true })\n\tforcedTabIndex!: string;\n\n\t/**\n\t * Defines the items orientation.\n\t * @default \"Vertical\"\n\t * @private\n\t */\n\t@property({ type: TimelineLayout, defaultValue: TimelineLayout.Vertical })\n\tlayout!: `${TimelineLayout}`;\n\n\t/**\n\t * Defines the indicator line width.\n\t * @private\n\t */\n\t@property()\n\tforcedLineWidth!: string;\n\n\tconstructor() {\n\t\tsuper();\n\t}\n\n\tonNamePress() {\n\t\tthis.fireEvent(\"name-click\", {});\n\t}\n\n\t/**\n\t * Focus the internal link.\n\t */\n\tfocusLink() {\n\t\tthis.shadowRoot!.querySelector<Link>(\"[ui5-link]\")?.focus();\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\tindicator: {\n\t\t\t\t\"ui5-tli-indicator\": true,\n\t\t\t\t\"ui5-tli-indicator-short-line\": this.forcedLineWidth === SHORT_LINE_WIDTH,\n\t\t\t\t\"ui5-tli-indicator-large-line\": this.forcedLineWidth === LARGE_LINE_WIDTH,\n\t\t\t},\n\t\t\tbubbleArrowPosition: {\n\t\t\t\t\"ui5-tli-bubble-arrow\": true,\n\t\t\t\t\"ui5-tli-bubble-arrow--left\": this.layout === TimelineLayout.Vertical,\n\t\t\t\t\"ui5-tli-bubble-arrow--top\": this.layout === TimelineLayout.Horizontal,\n\t\t\t},\n\t\t};\n\t}\n}\n\nTimelineItem.define();\n\nexport default TimelineItem;\n"]}
@@ -8,8 +8,7 @@ import "@ui5/webcomponents-icons/dist/document.js";
8
8
  import type { DnDEventListener, DnDEventListenerParam } from "./upload-utils/UploadCollectionBodyDnD.js";
9
9
  import UploadCollectionDnDOverlayMode from "./types/UploadCollectionDnDMode.js";
10
10
  /**
11
- * Interface for components that may be slotted inside <code>ui5-upload-collection</code> as items
12
- *
11
+ * Interface for components that may be slotted inside `ui5-upload-collection` as items
13
12
  * @public
14
13
  */
15
14
  interface IUploadCollectionItem extends HTMLElement {
@@ -23,15 +22,14 @@ type UploadCollectionItemDeleteEventDetail = {
23
22
  /**
24
23
  * @class
25
24
  *
26
- * <h3 class="comment-api-title">Overview</h3>
27
- * This component allows you to represent files before uploading them to a server, with the help of <code>ui5-upload-collection-item</code>.
25
+ * ### Overview
26
+ * This component allows you to represent files before uploading them to a server, with the help of `ui5-upload-collection-item`.
28
27
  * It also allows you to show already uploaded files.
29
28
  *
30
- * <h3>ES6 Module Import</h3>
31
- * <code>import "@ui5/webcomponents-fiori/dist/UploadCollection.js";</code>
32
- * <br>
33
- * <code>import "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js";</code> (for <code>ui5-upload-collection-item</code>)
29
+ * ### ES6 Module Import
30
+ * `import "@ui5/webcomponents-fiori/dist/UploadCollection.js";`
34
31
  *
32
+ * `import "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js";` (for `ui5-upload-collection-item`)
35
33
  * @constructor
36
34
  * @extends UI5Element
37
35
  * @public
@@ -39,43 +37,38 @@ type UploadCollectionItemDeleteEventDetail = {
39
37
  */
40
38
  declare class UploadCollection extends UI5Element {
41
39
  /**
42
- * Defines the mode of the <code>ui5-upload-collection</code>.
43
- *
44
- * <br><b>Note:</b>
45
- * Mode "Delete" has no effect. The delete button is controlled by the <code>hideDeleteButton</code> property of UploadCollectionItem
40
+ * Defines the mode of the `ui5-upload-collection`.
46
41
  *
42
+ * **Note:**
43
+ * Mode "Delete" has no effect. The delete button is controlled by the `hideDeleteButton` property of UploadCollectionItem
47
44
  * @default "None"
48
45
  * @public
49
46
  */
50
47
  mode: `${ListMode}`;
51
48
  /**
52
49
  * Allows you to set your own text for the 'No data' description.
53
- *
54
50
  * @default ""
55
51
  * @public
56
52
  */
57
53
  noDataDescription: string;
58
54
  /**
59
55
  * Allows you to set your own text for the 'No data' text.
60
- *
61
56
  * @default ""
62
57
  * @public
63
58
  */
64
59
  noDataText: string;
65
60
  /**
66
- * By default there will be drag and drop overlay shown over the <code>ui5-upload-collection</code> when files
61
+ * By default there will be drag and drop overlay shown over the `ui5-upload-collection` when files
67
62
  * are dragged. If you don't intend to use drag and drop, set this property.
68
- * <br><br>
69
- * <b>Note:</b> It is up to the application developer to add handler for <code>drop</code> event and handle it.
70
- * <code>ui5-upload-collection</code> only displays an overlay.
71
63
  *
64
+ * **Note:** It is up to the application developer to add handler for `drop` event and handle it.
65
+ * `ui5-upload-collection` only displays an overlay.
72
66
  * @default false
73
67
  * @public
74
68
  */
75
69
  hideDragOverlay: boolean;
76
70
  /**
77
71
  * Defines the accessible ARIA name of the component.
78
- *
79
72
  * @default ""
80
73
  * @public
81
74
  * @since 1.0.0-rc.16
@@ -83,25 +76,23 @@ declare class UploadCollection extends UI5Element {
83
76
  accessibleName: string;
84
77
  /**
85
78
  * Indicates what overlay to show when files are being dragged.
86
- *
87
79
  * @default "None"
88
80
  * @private
89
81
  */
90
82
  _dndOverlayMode: UploadCollectionDnDOverlayMode;
91
83
  /**
92
- * Defines the items of the <code>ui5-upload-collection</code>.
93
- * <br><b>Note:</b> Use <code>ui5-upload-collection-item</code> for the intended design.
84
+ * Defines the items of the `ui5-upload-collection`.
94
85
  *
86
+ * **Note:** Use `ui5-upload-collection-item` for the intended design.
95
87
  * @public
96
88
  */
97
89
  items: Array<IUploadCollectionItem>;
98
90
  /**
99
- * Defines the <code>ui5-upload-collection</code> header.
100
- * <br><br>
101
- * <b>Note:</b> If <code>header</code> slot is provided,
102
- * the labelling of the <code>UploadCollection</code> is a responsibility of the application developer.
103
- * <code>accessibleName</code> should be used.
91
+ * Defines the `ui5-upload-collection` header.
104
92
  *
93
+ * **Note:** If `header` slot is provided,
94
+ * the labelling of the `UploadCollection` is a responsibility of the application developer.
95
+ * `accessibleName` should be used.
105
96
  * @public
106
97
  */
107
98
  header: Array<HTMLElement>;
@@ -31,15 +31,14 @@ import UploadCollectionCss from "./generated/themes/UploadCollection.css.js";
31
31
  /**
32
32
  * @class
33
33
  *
34
- * <h3 class="comment-api-title">Overview</h3>
35
- * This component allows you to represent files before uploading them to a server, with the help of <code>ui5-upload-collection-item</code>.
34
+ * ### Overview
35
+ * This component allows you to represent files before uploading them to a server, with the help of `ui5-upload-collection-item`.
36
36
  * It also allows you to show already uploaded files.
37
37
  *
38
- * <h3>ES6 Module Import</h3>
39
- * <code>import "@ui5/webcomponents-fiori/dist/UploadCollection.js";</code>
40
- * <br>
41
- * <code>import "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js";</code> (for <code>ui5-upload-collection-item</code>)
38
+ * ### ES6 Module Import
39
+ * `import "@ui5/webcomponents-fiori/dist/UploadCollection.js";`
42
40
  *
41
+ * `import "@ui5/webcomponents-fiori/dist/UploadCollectionItem.js";` (for `ui5-upload-collection-item`)
43
42
  * @constructor
44
43
  * @extends UI5Element
45
44
  * @public
@@ -192,10 +191,9 @@ UploadCollection = UploadCollection_1 = __decorate([
192
191
  })
193
192
  /**
194
193
  * Fired when an element is dropped inside the drag and drop overlay.
195
- * <br><br>
196
- * <b>Note:</b> The <code>drop</code> event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the <code>ui5-upload-collection</code>.
197
194
  *
198
- * @param {DataTransfer} dataTransfer The <code>drop</code> event operation data.
195
+ * **Note:** The `drop` event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the `ui5-upload-collection`.
196
+ * @param {DataTransfer} dataTransfer The `drop` event operation data.
199
197
  * @public
200
198
  * @native
201
199
  */
@@ -203,8 +201,7 @@ UploadCollection = UploadCollection_1 = __decorate([
203
201
  event("drop")
204
202
  /**
205
203
  * Fired when the delete button of any item is pressed.
206
- *
207
- * @param {HTMLElement} item The <code>ui5-upload-collection-item</code> which was deleted.
204
+ * @param {HTMLElement} item The `ui5-upload-collection-item` which was deleted.
208
205
  * @public
209
206
  */
210
207
  ,
@@ -218,8 +215,7 @@ UploadCollection = UploadCollection_1 = __decorate([
218
215
  })
219
216
  /**
220
217
  * Fired when selection is changed by user interaction
221
- * in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
222
- *
218
+ * in `SingleSelect` and `MultiSelect` modes.
223
219
  * @param {Array} selectedItems An array of the selected items.
224
220
  * @public
225
221
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UploadCollection.js","sourceRoot":"","sources":["../src/UploadCollection.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAA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AC;IAEF;;;;;;OAMG;;IACF,KAAK,CAA6C,kBAAkB,EAAE;QACtE,MAAM,EAAE;YACP;;eAEG;YACH,aAAa,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;SAC9B;KACD,CAAC;GACI,gBAAgB,CA4NrB;AAED,gBAAgB,CAAC,MAAM,EAAE,CAAC;AAE1B,eAAe,gBAAgB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Label from \"@ui5/webcomponents/dist/Label.js\";\nimport List from \"@ui5/webcomponents/dist/List.js\";\nimport type { ListSelectionChangeEventDetail } from \"@ui5/webcomponents/dist/List.js\";\nimport ListMode from \"@ui5/webcomponents/dist/types/ListMode.js\";\nimport Title from \"@ui5/webcomponents/dist/Title.js\";\nimport IllustratedMessage from \"./IllustratedMessage.js\";\nimport \"./illustrations/Tent.js\";\nimport \"@ui5/webcomponents-icons/dist/upload-to-cloud.js\";\nimport \"@ui5/webcomponents-icons/dist/document.js\";\nimport {\n\tUPLOADCOLLECTION_NO_DATA_TEXT,\n\tUPLOADCOLLECTION_NO_DATA_DESCRIPTION,\n\tUPLOADCOLLECTION_DRAG_FILE_INDICATOR,\n\tUPLOADCOLLECTION_DROP_FILE_INDICATOR,\n\tUPLOADCOLLECTION_ARIA_ROLE_DESCRIPTION,\n} from \"./generated/i18n/i18n-defaults.js\";\nimport {\n\tattachBodyDnDHandler,\n\tdetachBodyDnDHandler,\n\tdraggingFiles,\n} from \"./upload-utils/UploadCollectionBodyDnD.js\";\nimport type { DnDEventListener, DnDEventListenerParam } from \"./upload-utils/UploadCollectionBodyDnD.js\";\nimport UploadCollectionDnDOverlayMode from \"./types/UploadCollectionDnDMode.js\";\n\n// Template\nimport UploadCollectionTemplate from \"./generated/templates/UploadCollectionTemplate.lit.js\";\n\n// Styles\nimport UploadCollectionCss from \"./generated/themes/UploadCollection.css.js\";\n\n/**\n * Interface for components that may be slotted inside <code>ui5-upload-collection</code> as items\n *\n * @public\n */\ninterface IUploadCollectionItem extends HTMLElement { }\n\ntype UploadCollectionSelectionChangeEventDetail = {\n\tselectedItems: Array<IUploadCollectionItem>,\n};\n\ntype UploadCollectionItemDeleteEventDetail = {\n\titem: IUploadCollectionItem,\n};\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n * This component allows you to represent files before uploading them to a server, with the help of <code>ui5-upload-collection-item</code>.\n * It also allows you to show already uploaded files.\n *\n * <h3>ES6 Module Import</h3>\n * <code>import \"@ui5/webcomponents-fiori/dist/UploadCollection.js\";</code>\n * <br>\n * <code>import \"@ui5/webcomponents-fiori/dist/UploadCollectionItem.js\";</code> (for <code>ui5-upload-collection-item</code>)\n *\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.7\n */\n@customElement({\n\ttag: \"ui5-upload-collection\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: UploadCollectionCss,\n\ttemplate: UploadCollectionTemplate,\n\tdependencies: [\n\t\tIcon,\n\t\tLabel,\n\t\tList,\n\t\tTitle,\n\t\tIllustratedMessage,\n\t],\n})\n/**\n * Fired when an element is dropped inside the drag and drop overlay.\n * <br><br>\n * <b>Note:</b> The <code>drop</code> event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the <code>ui5-upload-collection</code>.\n *\n * @param {DataTransfer} dataTransfer The <code>drop</code> event operation data.\n * @public\n * @native\n */\n@event(\"drop\")\n\n/**\n * Fired when the delete button of any item is pressed.\n *\n * @param {HTMLElement} item The <code>ui5-upload-collection-item</code> which was deleted.\n * @public\n */\n@event<UploadCollectionItemDeleteEventDetail>(\"item-delete\", {\n\tdetail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\titem: { type: HTMLElement },\n\t},\n})\n\n/**\n * Fired when selection is changed by user interaction\n * in <code>SingleSelect</code> and <code>MultiSelect</code> modes.\n *\n * @param {Array} selectedItems An array of the selected items.\n * @public\n */\n@event<UploadCollectionSelectionChangeEventDetail>(\"selection-change\", {\n\tdetail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\tselectedItems: { type: Array },\n\t},\n})\nclass UploadCollection extends UI5Element {\n\t/**\n\t * Defines the mode of the <code>ui5-upload-collection</code>.\n\t *\n\t * <br><b>Note:</b>\n\t * Mode \"Delete\" has no effect. The delete button is controlled by the <code>hideDeleteButton</code> property of UploadCollectionItem\n\t *\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: ListMode, defaultValue: ListMode.None })\n\tmode!: `${ListMode}`;\n\n\t/**\n\t * Allows you to set your own text for the 'No data' description.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tnoDataDescription!: string;\n\n\t/**\n\t * Allows you to set your own text for the 'No data' text.\n\t *\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tnoDataText!: string;\n\n\t/**\n\t * By default there will be drag and drop overlay shown over the <code>ui5-upload-collection</code> when files\n\t * are dragged. If you don't intend to use drag and drop, set this property.\n\t * <br><br>\n\t * <b>Note:</b> It is up to the application developer to add handler for <code>drop</code> event and handle it.\n\t * <code>ui5-upload-collection</code> only displays an overlay.\n\t *\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideDragOverlay!: boolean;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t *\n\t * @default \"\"\n\t * @public\n\t * @since 1.0.0-rc.16\n\t */\n\t @property()\n\t accessibleName!: string;\n\n\t/**\n\t * Indicates what overlay to show when files are being dragged.\n\t *\n\t * @default \"None\"\n\t * @private\n\t */\n\t@property({ type: UploadCollectionDnDOverlayMode, defaultValue: UploadCollectionDnDOverlayMode.None })\n\t_dndOverlayMode!: UploadCollectionDnDOverlayMode;\n\n\t/**\n\t * Defines the items of the <code>ui5-upload-collection</code>.\n\t * <br><b>Note:</b> Use <code>ui5-upload-collection-item</code> for the intended design.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\titems!: Array<IUploadCollectionItem>;\n\n\t/**\n\t * Defines the <code>ui5-upload-collection</code> header.\n\t * <br><br>\n\t * <b>Note:</b> If <code>header</code> slot is provided,\n\t * the labelling of the <code>UploadCollection</code> is a responsibility of the application developer.\n\t * <code>accessibleName</code> should be used.\n\t *\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\theader!: Array<HTMLElement>;\n\n\t_bodyDnDHandler: DnDEventListener;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstatic async onDefine() {\n\t\tUploadCollection.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._bodyDnDHandler = this.bodyDnDHandler.bind(this);\n\t}\n\n\tbodyDnDHandler(e: DnDEventListenerParam) {\n\t\tif (this._dndOverlayMode !== UploadCollectionDnDOverlayMode.Drop) {\n\t\t\tthis._dndOverlayMode = e.mode;\n\t\t}\n\t}\n\n\tonEnterDOM() {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tattachBodyDnDHandler(this._bodyDnDHandler);\n\t}\n\n\tonExitDOM() {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tdetachBodyDnDHandler(this._bodyDnDHandler);\n\t}\n\n\t_ondragenter(e: DragEvent) {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!draggingFiles(e)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._dndOverlayMode = UploadCollectionDnDOverlayMode.Drop;\n\t}\n\n\t_ondrop(e: DragEvent) {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (e.target !== this.shadowRoot!.querySelector(\".uc-dnd-overlay\")) {\n\t\t\te.stopPropagation();\n\t\t}\n\n\t\tthis._dndOverlayMode = UploadCollectionDnDOverlayMode.None;\n\t}\n\n\t_ondragover(e: DragEvent) {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\te.preventDefault();\n\t}\n\n\t_ondragleave() {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._dndOverlayMode = UploadCollectionDnDOverlayMode.Drag;\n\t}\n\n\t_onItemDelete(e: CustomEvent) {\n\t\tthis.fireEvent<UploadCollectionItemDeleteEventDetail>(\"item-delete\", { item: e.target as IUploadCollectionItem });\n\t}\n\n\t_onSelectionChange(e: CustomEvent<ListSelectionChangeEventDetail>) {\n\t\tthis.fireEvent<UploadCollectionSelectionChangeEventDetail>(\"selection-change\", { selectedItems: e.detail.selectedItems as IUploadCollectionItem[] });\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\tcontent: {\n\t\t\t\t\"ui5-uc-content\": true,\n\t\t\t\t\"ui5-uc-content-no-data\": this.items.length === 0,\n\t\t\t},\n\t\t\tdndOverlay: {\n\t\t\t\t\"uc-dnd-overlay\": true,\n\t\t\t\t\"uc-drag-overlay\": this._dndOverlayMode === UploadCollectionDnDOverlayMode.Drag,\n\t\t\t\t\"uc-drop-overlay\": this._dndOverlayMode === UploadCollectionDnDOverlayMode.Drop,\n\t\t\t},\n\t\t\tnoFiles: {\n\t\t\t\t\"uc-no-files\": true,\n\t\t\t\t\"uc-no-files-dnd-overlay\": this._showDndOverlay,\n\t\t\t},\n\t\t};\n\t}\n\n\tget _root() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-uc-root\");\n\t}\n\n\tget _dndOverlay() {\n\t\treturn this._root?.querySelector(\".uc-dnd-overlay\");\n\t}\n\n\tget _showDndOverlay() {\n\t\treturn this._dndOverlayMode !== UploadCollectionDnDOverlayMode.None;\n\t}\n\n\tget _showNoData() {\n\t\treturn this.items.length === 0;\n\t}\n\n\tget _noDataText() {\n\t\treturn this.noDataText || UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_NO_DATA_TEXT);\n\t}\n\n\tget _noDataDescription() {\n\t\treturn this.noDataDescription || UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_NO_DATA_DESCRIPTION);\n\t}\n\n\tget _roleDescription() {\n\t\treturn UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_ARIA_ROLE_DESCRIPTION);\n\t}\n\n\tget _dndOverlayText() {\n\t\tif (this._dndOverlayMode === UploadCollectionDnDOverlayMode.Drag) {\n\t\t\treturn UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_DRAG_FILE_INDICATOR);\n\t\t}\n\n\t\treturn UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_DROP_FILE_INDICATOR);\n\t}\n}\n\nUploadCollection.define();\n\nexport default UploadCollection;\nexport type {\n\tIUploadCollectionItem,\n\tUploadCollectionItemDeleteEventDetail,\n\tUploadCollectionSelectionChangeEventDetail,\n};\n"]}
1
+ {"version":3,"file":"UploadCollection.js","sourceRoot":"","sources":["../src/UploadCollection.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAE3E,OAAO,IAAI,MAAM,iCAAiC,CAAC;AACnD,OAAO,KAAK,MAAM,kC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gBAAgB,CAAC,MAAM,EAAE,CAAC;AAE1B,eAAe,gBAAgB,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport Icon from \"@ui5/webcomponents/dist/Icon.js\";\nimport Label from \"@ui5/webcomponents/dist/Label.js\";\nimport List from \"@ui5/webcomponents/dist/List.js\";\nimport type { ListSelectionChangeEventDetail } from \"@ui5/webcomponents/dist/List.js\";\nimport ListMode from \"@ui5/webcomponents/dist/types/ListMode.js\";\nimport Title from \"@ui5/webcomponents/dist/Title.js\";\nimport IllustratedMessage from \"./IllustratedMessage.js\";\nimport \"./illustrations/Tent.js\";\nimport \"@ui5/webcomponents-icons/dist/upload-to-cloud.js\";\nimport \"@ui5/webcomponents-icons/dist/document.js\";\nimport {\n\tUPLOADCOLLECTION_NO_DATA_TEXT,\n\tUPLOADCOLLECTION_NO_DATA_DESCRIPTION,\n\tUPLOADCOLLECTION_DRAG_FILE_INDICATOR,\n\tUPLOADCOLLECTION_DROP_FILE_INDICATOR,\n\tUPLOADCOLLECTION_ARIA_ROLE_DESCRIPTION,\n} from \"./generated/i18n/i18n-defaults.js\";\nimport {\n\tattachBodyDnDHandler,\n\tdetachBodyDnDHandler,\n\tdraggingFiles,\n} from \"./upload-utils/UploadCollectionBodyDnD.js\";\nimport type { DnDEventListener, DnDEventListenerParam } from \"./upload-utils/UploadCollectionBodyDnD.js\";\nimport UploadCollectionDnDOverlayMode from \"./types/UploadCollectionDnDMode.js\";\n\n// Template\nimport UploadCollectionTemplate from \"./generated/templates/UploadCollectionTemplate.lit.js\";\n\n// Styles\nimport UploadCollectionCss from \"./generated/themes/UploadCollection.css.js\";\n\n/**\n * Interface for components that may be slotted inside `ui5-upload-collection` as items\n * @public\n */\ninterface IUploadCollectionItem extends HTMLElement { }\n\ntype UploadCollectionSelectionChangeEventDetail = {\n\tselectedItems: Array<IUploadCollectionItem>,\n};\n\ntype UploadCollectionItemDeleteEventDetail = {\n\titem: IUploadCollectionItem,\n};\n\n/**\n * @class\n *\n * ### Overview\n * This component allows you to represent files before uploading them to a server, with the help of `ui5-upload-collection-item`.\n * It also allows you to show already uploaded files.\n *\n * ### ES6 Module Import\n * `import \"@ui5/webcomponents-fiori/dist/UploadCollection.js\";`\n *\n * `import \"@ui5/webcomponents-fiori/dist/UploadCollectionItem.js\";` (for `ui5-upload-collection-item`)\n * @constructor\n * @extends UI5Element\n * @public\n * @since 1.0.0-rc.7\n */\n@customElement({\n\ttag: \"ui5-upload-collection\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\tstyles: UploadCollectionCss,\n\ttemplate: UploadCollectionTemplate,\n\tdependencies: [\n\t\tIcon,\n\t\tLabel,\n\t\tList,\n\t\tTitle,\n\t\tIllustratedMessage,\n\t],\n})\n/**\n * Fired when an element is dropped inside the drag and drop overlay.\n *\n * **Note:** The `drop` event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the `ui5-upload-collection`.\n * @param {DataTransfer} dataTransfer The `drop` event operation data.\n * @public\n * @native\n */\n@event(\"drop\")\n\n/**\n * Fired when the delete button of any item is pressed.\n * @param {HTMLElement} item The `ui5-upload-collection-item` which was deleted.\n * @public\n */\n@event<UploadCollectionItemDeleteEventDetail>(\"item-delete\", {\n\tdetail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\titem: { type: HTMLElement },\n\t},\n})\n\n/**\n * Fired when selection is changed by user interaction\n * in `SingleSelect` and `MultiSelect` modes.\n * @param {Array} selectedItems An array of the selected items.\n * @public\n */\n@event<UploadCollectionSelectionChangeEventDetail>(\"selection-change\", {\n\tdetail: {\n\t\t/**\n\t\t * @public\n\t\t */\n\t\tselectedItems: { type: Array },\n\t},\n})\nclass UploadCollection extends UI5Element {\n\t/**\n\t * Defines the mode of the `ui5-upload-collection`.\n\t *\n\t * **Note:**\n\t * Mode \"Delete\" has no effect. The delete button is controlled by the `hideDeleteButton` property of UploadCollectionItem\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: ListMode, defaultValue: ListMode.None })\n\tmode!: `${ListMode}`;\n\n\t/**\n\t * Allows you to set your own text for the 'No data' description.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tnoDataDescription!: string;\n\n\t/**\n\t * Allows you to set your own text for the 'No data' text.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tnoDataText!: string;\n\n\t/**\n\t * By default there will be drag and drop overlay shown over the `ui5-upload-collection` when files\n\t * are dragged. If you don't intend to use drag and drop, set this property.\n\t *\n\t * **Note:** It is up to the application developer to add handler for `drop` event and handle it.\n\t * `ui5-upload-collection` only displays an overlay.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\thideDragOverlay!: boolean;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t * @default \"\"\n\t * @public\n\t * @since 1.0.0-rc.16\n\t */\n\t @property()\n\t accessibleName!: string;\n\n\t/**\n\t * Indicates what overlay to show when files are being dragged.\n\t * @default \"None\"\n\t * @private\n\t */\n\t@property({ type: UploadCollectionDnDOverlayMode, defaultValue: UploadCollectionDnDOverlayMode.None })\n\t_dndOverlayMode!: UploadCollectionDnDOverlayMode;\n\n\t/**\n\t * Defines the items of the `ui5-upload-collection`.\n\t *\n\t * **Note:** Use `ui5-upload-collection-item` for the intended design.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\titems!: Array<IUploadCollectionItem>;\n\n\t/**\n\t * Defines the `ui5-upload-collection` header.\n\t *\n\t * **Note:** If `header` slot is provided,\n\t * the labelling of the `UploadCollection` is a responsibility of the application developer.\n\t * `accessibleName` should be used.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement })\n\theader!: Array<HTMLElement>;\n\n\t_bodyDnDHandler: DnDEventListener;\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstatic async onDefine() {\n\t\tUploadCollection.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tconstructor() {\n\t\tsuper();\n\t\tthis._bodyDnDHandler = this.bodyDnDHandler.bind(this);\n\t}\n\n\tbodyDnDHandler(e: DnDEventListenerParam) {\n\t\tif (this._dndOverlayMode !== UploadCollectionDnDOverlayMode.Drop) {\n\t\t\tthis._dndOverlayMode = e.mode;\n\t\t}\n\t}\n\n\tonEnterDOM() {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tattachBodyDnDHandler(this._bodyDnDHandler);\n\t}\n\n\tonExitDOM() {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tdetachBodyDnDHandler(this._bodyDnDHandler);\n\t}\n\n\t_ondragenter(e: DragEvent) {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!draggingFiles(e)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._dndOverlayMode = UploadCollectionDnDOverlayMode.Drop;\n\t}\n\n\t_ondrop(e: DragEvent) {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (e.target !== this.shadowRoot!.querySelector(\".uc-dnd-overlay\")) {\n\t\t\te.stopPropagation();\n\t\t}\n\n\t\tthis._dndOverlayMode = UploadCollectionDnDOverlayMode.None;\n\t}\n\n\t_ondragover(e: DragEvent) {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\te.preventDefault();\n\t}\n\n\t_ondragleave() {\n\t\tif (this.hideDragOverlay) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._dndOverlayMode = UploadCollectionDnDOverlayMode.Drag;\n\t}\n\n\t_onItemDelete(e: CustomEvent) {\n\t\tthis.fireEvent<UploadCollectionItemDeleteEventDetail>(\"item-delete\", { item: e.target as IUploadCollectionItem });\n\t}\n\n\t_onSelectionChange(e: CustomEvent<ListSelectionChangeEventDetail>) {\n\t\tthis.fireEvent<UploadCollectionSelectionChangeEventDetail>(\"selection-change\", { selectedItems: e.detail.selectedItems as IUploadCollectionItem[] });\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\tcontent: {\n\t\t\t\t\"ui5-uc-content\": true,\n\t\t\t\t\"ui5-uc-content-no-data\": this.items.length === 0,\n\t\t\t},\n\t\t\tdndOverlay: {\n\t\t\t\t\"uc-dnd-overlay\": true,\n\t\t\t\t\"uc-drag-overlay\": this._dndOverlayMode === UploadCollectionDnDOverlayMode.Drag,\n\t\t\t\t\"uc-drop-overlay\": this._dndOverlayMode === UploadCollectionDnDOverlayMode.Drop,\n\t\t\t},\n\t\t\tnoFiles: {\n\t\t\t\t\"uc-no-files\": true,\n\t\t\t\t\"uc-no-files-dnd-overlay\": this._showDndOverlay,\n\t\t\t},\n\t\t};\n\t}\n\n\tget _root() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-uc-root\");\n\t}\n\n\tget _dndOverlay() {\n\t\treturn this._root?.querySelector(\".uc-dnd-overlay\");\n\t}\n\n\tget _showDndOverlay() {\n\t\treturn this._dndOverlayMode !== UploadCollectionDnDOverlayMode.None;\n\t}\n\n\tget _showNoData() {\n\t\treturn this.items.length === 0;\n\t}\n\n\tget _noDataText() {\n\t\treturn this.noDataText || UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_NO_DATA_TEXT);\n\t}\n\n\tget _noDataDescription() {\n\t\treturn this.noDataDescription || UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_NO_DATA_DESCRIPTION);\n\t}\n\n\tget _roleDescription() {\n\t\treturn UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_ARIA_ROLE_DESCRIPTION);\n\t}\n\n\tget _dndOverlayText() {\n\t\tif (this._dndOverlayMode === UploadCollectionDnDOverlayMode.Drag) {\n\t\t\treturn UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_DRAG_FILE_INDICATOR);\n\t\t}\n\n\t\treturn UploadCollection.i18nBundle.getText(UPLOADCOLLECTION_DROP_FILE_INDICATOR);\n\t}\n}\n\nUploadCollection.define();\n\nexport default UploadCollection;\nexport type {\n\tIUploadCollectionItem,\n\tUploadCollectionItemDeleteEventDetail,\n\tUploadCollectionSelectionChangeEventDetail,\n};\n"]}