@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/Wizard.js CHANGED
@@ -55,91 +55,87 @@ const RESPONSIVE_BREAKPOINTS = {
55
55
  /**
56
56
  * @class
57
57
  *
58
- * <h3 class="comment-api-title">Overview</h3>
58
+ * ### Overview
59
59
  *
60
- * The <code>ui5-wizard</code> helps users to complete a complex task by dividing it into sections and guiding them through it.
60
+ * The `ui5-wizard` helps users to complete a complex task by dividing it into sections and guiding them through it.
61
61
  * It has two main areas - a navigation area at the top showing the step sequence and a content area below it.
62
62
  *
63
- * <h3>Structure</h3>
64
- * <h4>Navigation area</h4>
65
- * The top most area of the <code>ui5-wizard</code> is occupied by the navigation area.
63
+ * ### Structure
64
+ * #### Navigation area
65
+ * The top most area of the `ui5-wizard` is occupied by the navigation area.
66
66
  * It shows the sequence of steps, where the recommended number of steps is between 3 and 8 steps.
67
- * <ul>
68
- * <li> Steps can have different visual representations - numbers or icons.</li>
69
- * <li> Steps might have labels for better readability - titleText and subTitleText.</li>
70
- * <li> Steps are defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.</li>
71
- * </ul>
72
67
  *
73
- * <b>Note:</b> If no selected step is defined, the first step will be auto selected.
74
- * <br>
75
- * <b>Note:</b> If multiple selected steps are defined, the last step will be selected.
68
+ * - Steps can have different visual representations - numbers or icons.
69
+ * - Steps might have labels for better readability - titleText and subTitleText.
70
+ * - Steps are defined by using the `ui5-wizard-step` as slotted element within the `ui5-wizard`.
76
71
  *
77
- * <h3>Keyboard Handling</h3>
72
+ * **Note:** If no selected step is defined, the first step will be auto selected.
73
+ *
74
+ * **Note:** If multiple selected steps are defined, the last step will be selected.
75
+ *
76
+ * ### Keyboard Handling
78
77
  * The user can navigate using the following keyboard shortcuts:
79
- * <br>
80
78
  *
81
- * <h4>Wizard Progress Navigation</h4>
82
- * <ul>
83
- * <li>[LEFT], [DOWN] - Focus moves backward to the WizardProgressNavAnchors.</li>
84
- * <li>[UP], [RIGHT] - Focus moves forward to the WizardProgressNavAnchor.</li>
85
- * <li>[SPACE] or [ENTER], [RETURN] - Selects an active step</li>
86
- * <li>[HOME] or [PAGE UP] - Focus goes to the first step</li>
87
- * <li>[END] or [PAGE DOWN] - Focus goes to the last step</li>
88
- * </ul>
79
+ * #### Wizard Progress Navigation
80
+ *
81
+ * - [LEFT], [DOWN] - Focus moves backward to the WizardProgressNavAnchors.
82
+ * - [UP], [RIGHT] - Focus moves forward to the WizardProgressNavAnchor.
83
+ * - [SPACE] or [ENTER], [RETURN] - Selects an active step
84
+ * - [HOME] or [PAGE UP] - Focus goes to the first step
85
+ * - [END] or [PAGE DOWN] - Focus goes to the last step
89
86
  *
90
- * <h4>Fast Navigation</h4>
91
- * This component provides a build in fast navigation group which can be used via <code>F6 / Shift + F6</code> or <code> Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up</code>.
87
+ * #### Fast Navigation
88
+ * This component provides a build in fast navigation group which can be used via `F6 / Shift + F6` or ` Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up`.
92
89
  * In order to use this functionality, you need to import the following module:
93
- * <code>import "@ui5/webcomponents-base/dist/features/F6Navigation.js"</code>
90
+ * `import "@ui5/webcomponents-base/dist/features/F6Navigation.js"`
94
91
  *
95
- * <h4>Content</h4>
92
+ * #### Content
96
93
  * The content occupies the main part of the page. It can hold any type of HTML elements.
97
- * It's defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.
94
+ * It's defined by using the `ui5-wizard-step` as slotted element within the `ui5-wizard`.
98
95
  *
99
- * <h3>Scrolling</h3>
96
+ * ### Scrolling
100
97
  * The component handles user scrolling by selecting the closest step, based on the current scroll position
101
98
  * and scrolls to particular place, when the user clicks on the step within the navigation area.
102
- * <br><br>
103
99
  *
104
- * <b>Important:</b> In order the component's scrolling behaviour to work, it has to be limited from the outside parent element in terms of height.
100
+ * **Important:** In order the component's scrolling behaviour to work, it has to be limited from the outside parent element in terms of height.
105
101
  * The component or its parent has to be given percentage or absolute height. Otherwise, the component will be scrolled out with the entire page.
106
- * <br><br>
107
- * <b>For example:</b>
108
- * <br><br>
109
- * <code>&lt;ui5-dialog style="height: 80%"&gt;<br></code>
110
- * <code>&#9;&lt;ui5-wizard&gt;&lt;/ui5-wizard&gt;<br></code>
111
- * <code>&lt;/ui5-dialog&gt;</code>
112
102
  *
113
- * <h4>Moving to next step</h4>
114
- * The <code>ui5-wizard-step</code> provides the necessary API and it's up to the user of the component to use it to move to the next step.
115
- * You have to set its <code>selected</code> property (and remove the <code>disabled</code> one if set) to <code>true</code>.
116
- * The <code>ui5-wizard</code> will automatically scroll to the content of the newly selected step.
117
- * <br><br>
103
+ * **For example:**
104
+ *
105
+ * ```html
106
+ * <ui5-dialog style="height: 80%">
107
+ * <ui5-wizard></ui5-wizard>
108
+ * </ui5-dialog>
109
+ * ```
110
+ *
111
+ * #### Moving to next step
112
+ * The `ui5-wizard-step` provides the necessary API and it's up to the user of the component to use it to move to the next step.
113
+ * You have to set its `selected` property (and remove the `disabled` one if set) to `true`.
114
+ * The `ui5-wizard` will automatically scroll to the content of the newly selected step.
118
115
  *
119
116
  * The Fiori 3 guidelines recommends having a "nextStep" button in the content area.
120
- * You can place a button, or any other type of element to trigger step change, inside the <code>ui5-wizard-step</code>,
117
+ * You can place a button, or any other type of element to trigger step change, inside the `ui5-wizard-step`,
121
118
  * and show/hide it when certain fields are filled or user defined criteria is met.
122
119
  *
123
- * <h3>Usage</h3>
124
- * <h4>When to use:</h4>
120
+ * ### Usage
121
+ * #### When to use:
125
122
  * When the user has to accomplish a long or unfamiliar task.
126
123
  *
127
- * <h4>When not to use:</h4>
124
+ * #### When not to use:
128
125
  * When the task has less than 3 steps.
129
126
  *
130
- * <h3>Responsive Behavior</h3>
127
+ * ### Responsive Behavior
131
128
  * On small widths the step's titleText, subtitleText and separators in the navigation area shrink and from particular point the steps are grouped together and overlap.
132
129
  * Tapping on them will show a popover to select the step to navigate to. On mobile device, the grouped steps are presented within a dialog.
133
130
  *
134
- * <h3>ES6 Module Import</h3>
135
- * <code>import "@ui5/webcomponents-fiori/dist/Wizard.js";</code> (includes &lt;ui5-wizard-step/&gt;)
136
- *
131
+ * ### ES6 Module Import
132
+ * `import "@ui5/webcomponents-fiori/dist/Wizard.js";` (includes <ui5-wizard-step/>)
137
133
  * @constructor
138
134
  * @extends UI5Element
139
135
  * @since 1.0.0-rc.10
140
136
  * @public
141
- * @csspart navigator - Used to style the progress navigator of the <code>ui5-wizard</code>.
142
- * @csspart step-content - Used to style a <code>ui5-wizard-step</code> container.
137
+ * @csspart navigator - Used to style the progress navigator of the `ui5-wizard`.
138
+ * @csspart step-content - Used to style a `ui5-wizard-step` container.
143
139
  */
144
140
  let Wizard = Wizard_1 = class Wizard extends UI5Element {
145
141
  constructor() {
@@ -264,7 +260,7 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
264
260
  * Stores the scroll offsets of the steps,
265
261
  * e.g. the steps' starting point.
266
262
  *
267
- * <b>Note:</b> the disabled ones has negative offsets.
263
+ * **Note:** the disabled ones has negative offsets.
268
264
  * @private
269
265
  */
270
266
  storeStepScrollOffsets() {
@@ -275,7 +271,7 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
275
271
  }
276
272
  /**
277
273
  * Handles user click on steps' tabs within the header.
278
- * <b>Note:</b> the handler is bound in the template.
274
+ * **Note:** the handler is bound in the template.
279
275
  * @private
280
276
  */
281
277
  onSelectionChangeRequested(e) {
@@ -284,7 +280,7 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
284
280
  }
285
281
  /**
286
282
  * Handles user scrolling with debouncing.
287
- * <b>Note:</b> the handler is bound in the template.
283
+ * **Note:** the handler is bound in the template.
288
284
  * @private
289
285
  */
290
286
  onScroll(e) {
@@ -295,8 +291,8 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
295
291
  debounce(this.changeSelectionByScroll.bind(this, e.target.scrollTop), Wizard_1.SCROLL_DEBOUNCE_RATE);
296
292
  }
297
293
  /**
298
- * Handles when a step in the header is focused in order to update the <code>ItemNavigation</code>.
299
- * <b>Note:</b> the handler is bound in the template.
294
+ * Handles when a step in the header is focused in order to update the `ItemNavigation`.
295
+ * **Note:** the handler is bound in the template.
300
296
  * @private
301
297
  */
302
298
  onStepInHeaderFocused(e) {
@@ -453,7 +449,7 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
453
449
  return staticAreaItem.querySelector(`.ui5-wizard-responsive-popover`);
454
450
  }
455
451
  /**
456
- * Called upon <code>onScroll</code>.
452
+ * Called upon `onScroll`.
457
453
  * Selects the closest step, based on the user scroll position.
458
454
  * @param scrollPos the current scroll position
459
455
  * @private
@@ -473,7 +469,7 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
473
469
  }
474
470
  }
475
471
  /**
476
- * Called upon <code>onSelectionChangeRequested</code>.
472
+ * Called upon `onSelectionChangeRequested`.
477
473
  * Selects the external step (ui5-wizard-step),
478
474
  * based on the clicked or activated via keyboard step in the header (ui5-wizard-tab).
479
475
  * @param stepInHeader the step equivalent in the header
@@ -678,7 +674,7 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
678
674
  return this.getStepWrapperByRefId(this.steps[idx]._id);
679
675
  }
680
676
  /**
681
- * Scrolls to the content of the selected step, used in <code>onAfterRendering</cod>.
677
+ * Scrolls to the content of the selected step, used in `onAfterRendering`.
682
678
  * @private
683
679
  */
684
680
  scrollToSelectedStep() {
@@ -688,9 +684,8 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
688
684
  this.selectionRequestedByScroll = false;
689
685
  }
690
686
  /**
691
- * Scrolls to the content item within the <code>ui5-wizard</code> shadowDOM
687
+ * Scrolls to the content item within the `ui5-wizard` shadowDOM
692
688
  * by given step index.
693
- *
694
689
  * @private
695
690
  * @param stepIndex the index of a step
696
691
  */
@@ -699,7 +694,6 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
699
694
  }
700
695
  /**
701
696
  * Returns to closest scroll position for the given step index.
702
- *
703
697
  * @private
704
698
  * @param stepIndex the index of a step
705
699
  */
@@ -738,7 +732,6 @@ let Wizard = Wizard_1 = class Wizard extends UI5Element {
738
732
  }
739
733
  /**
740
734
  * Switches the selection from the old step to the newly selected step.
741
- *
742
735
  * @param selectedStep the old step
743
736
  * @param stepToSelect the step to be selected
744
737
  * @param stepToSelectIndex the index of the newly selected step
@@ -823,7 +816,6 @@ Wizard = Wizard_1 = __decorate([
823
816
  /**
824
817
  * Fired when the step is changed by user interaction - either with scrolling,
825
818
  * or by clicking on the steps within the component header.
826
- *
827
819
  * @param {WizardStep} step The new step.
828
820
  * @param {WizardStep} previousStep The previous step.
829
821
  * @param {boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.
@@ -1 +1 @@
1
- {"version":3,"file":"Wizard.js","sourceRoot":"","sources":["../src/Wizard.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,0BAA0B,MAAM,iEAAiE,CAAC;AAEzG,OAAO,cAAc,MAAM,yDAAyD,CAAC;AACrF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,KAAK,MAAM,4CAA4C,CAAC;AAC/D,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AACjE,OAAO,QAAQ,MAAM,+CAA+C,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAClG,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,iBAAiB,MAAM,8CAA8C,CAAC;AAC7E,OAAO,mBAAmB,MAAM,kEAAkE,CAAC;AACnG,OAAO,mBAAmB,MAAM,gCAAgC,CAAC;AAEjE,QAAQ;AACR,OAAO,EACN,+BAA+B,EAC/B,gCAAgC,EAChC,qBAAqB,EACrB,sBAAsB,EACtB,4BAA4B,EAC5B,mCAAmC,EACnC,+BAA+B,EAC/B,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,GACpB,MAAM,mCAAmC,CAAC;AAE3C,6BAA6B;AAC7B,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,UAAU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E,QAAQ,EAAE,IAAI,EAAE,CAAC;4CACZ;AAG/B;IADC,QAAQ,EAAE;2CACS;AAepB;IANC,IAAI,CAAC;QACL,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,WAAW;QACjB,iBAAiB,EAAE,IAAI;QACvB,uBAAuB,EAAE,IAAI;KAC7B,CAAC;qCACuB;AA9DpB,MAAM;IA9CX,aAAa,CAAC;QACd,GAAG,EAAE,YAAY;QACjB,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,IAAI;QACpB,QAAQ,EAAE,SAAS;QACnB,MAAM,EAAE;YACP,mBAAmB;YACnB,SAAS;SACT;QACD,gBAAgB,EAAE,gBAAgB;QAClC,QAAQ,EAAE,cAAc;QACxB,kBAAkB,EAAE,qBAAqB;QACzC,YAAY,EAAE;YACb,SAAS;YACT,UAAU;YACV,iBAAiB;YACjB,MAAM;SACN;KACD,CAAC;IAEF;;;;;;;;OAQG;;IACF,KAAK,CAA8B,aAAa,EAAE;QAClD,MAAM,EAAE;YACP;;cAEE;YACF,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;YAC3B;;cAEE;YACF,YAAY,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;YACnC;;cAEE;YACF,eAAe,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAClC;KACD,CAAC;GAEI,MAAM,CAi0BX;AAED,MAAM,CAAC,MAAM,EAAE,CAAC;AAMhB,eAAe,MAAM,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport getEffectiveScrollbarStyle from \"@ui5/webcomponents-base/dist/util/getEffectiveScrollbarStyle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport NavigationMode from \"@ui5/webcomponents-base/dist/types/NavigationMode.js\";\nimport Float from \"@ui5/webcomponents-base/dist/types/Float.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { isPhone } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport debounce from \"@ui5/webcomponents-base/dist/util/debounce.js\";\nimport { getFirstFocusableElement } from \"@ui5/webcomponents-base/dist/util/FocusableElements.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport ResponsivePopover from \"@ui5/webcomponents/dist/ResponsivePopover.js\";\nimport browserScrollbarCSS from \"@ui5/webcomponents/dist/generated/themes/BrowserScrollbar.css.js\";\nimport WizardContentLayout from \"./types/WizardContentLayout.js\";\n\n// Texts\nimport {\n\tWIZARD_NAV_STEP_DEFAULT_HEADING,\n\tWIZARD_NAV_ARIA_ROLE_DESCRIPTION,\n\tWIZARD_NAV_ARIA_LABEL,\n\tWIZARD_LIST_ARIA_LABEL,\n\tWIZARD_LIST_ARIA_DESCRIBEDBY,\n\tWIZARD_ACTIONSHEET_STEPS_ARIA_LABEL,\n\tWIZARD_OPTIONAL_STEP_ARIA_LABEL,\n\tWIZARD_STEP_ARIA_LABEL,\n\tWIZARD_STEP_ACTIVE,\n\tWIZARD_STEP_INACTIVE,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Step in header and content\nimport WizardTab from \"./WizardTab.js\";\nimport WizardStep from \"./WizardStep.js\";\n\n// Template and Styles\nimport WizardTemplate from \"./generated/templates/WizardTemplate.lit.js\";\nimport WizardPopoverTemplate from \"./generated/templates/WizardPopoverTemplate.lit.js\";\nimport WizardCss from \"./generated/themes/Wizard.css.js\";\nimport WizardPopoverCss from \"./generated/themes/WizardPopover.css.js\";\n\nconst MIN_STEP_WIDTH_NO_TITLE = 64;\nconst MIN_STEP_WIDTH_WITH_TITLE = 200;\n\nconst EXPANDED_STEP = \"data-ui5-wizard-expanded-tab\";\nconst AFTER_EXPANDED_STEP = \"data-ui5-wizard-expanded-tab-next\";\nconst AFTER_CURRENT_STEP = \"data-ui5-wizard-after-current-tab\";\nconst BEFORE_EXPANDED_STEP = \"data-ui5-wizard-expanded-tab-prev\";\n\nconst STEP_SWITCH_THRESHOLDS = {\n\tMIN: 0.5,\n\tDEFAULT: 0.7,\n\tMAX: 1,\n};\n\ntype ResponsiveBreakpoints = {\n\t[key: string]: string,\n}\n\ntype WizardStepChangeEventDetail = {\n\tstep: WizardStep,\n\tpreviousStep: WizardStep,\n\tchangeWithClick: boolean,\n}\n\nconst RESPONSIVE_BREAKPOINTS: ResponsiveBreakpoints = {\n\t\"0\": \"S\",\n\t\"599\": \"M\",\n\t\"1023\": \"L\",\n\t\"1439\": \"XL\",\n};\n\ntype AccessibilityInformation = {\n\tariaSetsize: number,\n\tariaPosinset: number,\n\tariaLabel: string,\n}\n\ntype StepInfo = {\n\ticon: string,\n\ttitleText: string,\n\tsubtitleText: string,\n\tnumber: number,\n\tselected: boolean,\n\tdisabled: boolean,\n\thideSeparator: boolean,\n\tactiveSeparator: boolean,\n\tbranchingSeparator: boolean,\n\tpos: number,\n\taccInfo: AccessibilityInformation,\n\trefStepId: string,\n\ttabIndex: string,\n\tstyles: object,\n}\n\n/**\n * @class\n *\n * <h3 class=\"comment-api-title\">Overview</h3>\n *\n * The <code>ui5-wizard</code> helps users to complete a complex task by dividing it into sections and guiding them through it.\n * It has two main areas - a navigation area at the top showing the step sequence and a content area below it.\n *\n * <h3>Structure</h3>\n * <h4>Navigation area</h4>\n * The top most area of the <code>ui5-wizard</code> is occupied by the navigation area.\n * It shows the sequence of steps, where the recommended number of steps is between 3 and 8 steps.\n * <ul>\n * <li> Steps can have different visual representations - numbers or icons.</li>\n * <li> Steps might have labels for better readability - titleText and subTitleText.</li>\n * <li> Steps are defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.</li>\n * </ul>\n *\n * <b>Note:</b> If no selected step is defined, the first step will be auto selected.\n * <br>\n * <b>Note:</b> If multiple selected steps are defined, the last step will be selected.\n *\n * <h3>Keyboard Handling</h3>\n * The user can navigate using the following keyboard shortcuts:\n * <br>\n *\n * <h4>Wizard Progress Navigation</h4>\n * <ul>\n * \t<li>[LEFT], [DOWN] - Focus moves backward to the WizardProgressNavAnchors.</li>\n * \t<li>[UP], [RIGHT] - Focus moves forward to the WizardProgressNavAnchor.</li>\n * \t<li>[SPACE] or [ENTER], [RETURN] - Selects an active step</li>\n * \t<li>[HOME] or [PAGE UP] - Focus goes to the first step</li>\n * \t<li>[END] or [PAGE DOWN] - Focus goes to the last step</li>\n * </ul>\n *\n * <h4>Fast Navigation</h4>\n * This component provides a build in fast navigation group which can be used via <code>F6 / Shift + F6</code> or <code> Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up</code>.\n * In order to use this functionality, you need to import the following module:\n * <code>import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"</code>\n *\n * <h4>Content</h4>\n * The content occupies the main part of the page. It can hold any type of HTML elements.\n * It's defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.\n *\n * <h3>Scrolling</h3>\n * The component handles user scrolling by selecting the closest step, based on the current scroll position\n * and scrolls to particular place, when the user clicks on the step within the navigation area.\n * <br><br>\n *\n * <b>Important:</b> In order the component's scrolling behaviour to work, it has to be limited from the outside parent element in terms of height.\n * The component or its parent has to be given percentage or absolute height. Otherwise, the component will be scrolled out with the entire page.\n * <br><br>\n * <b>For example:</b>\n * <br><br>\n * <code>&lt;ui5-dialog style=\"height: 80%\"&gt;<br></code>\n * <code>&#9;&lt;ui5-wizard&gt;&lt;/ui5-wizard&gt;<br></code>\n * <code>&lt;/ui5-dialog&gt;</code>\n *\n * <h4>Moving to next step</h4>\n * The <code>ui5-wizard-step</code> provides the necessary API and it's up to the user of the component to use it to move to the next step.\n * You have to set its <code>selected</code> property (and remove the <code>disabled</code> one if set) to <code>true</code>.\n * The <code>ui5-wizard</code> will automatically scroll to the content of the newly selected step.\n * <br><br>\n *\n * The Fiori 3 guidelines recommends having a \"nextStep\" button in the content area.\n * You can place a button, or any other type of element to trigger step change, inside the <code>ui5-wizard-step</code>,\n * and show/hide it when certain fields are filled or user defined criteria is met.\n *\n * <h3>Usage</h3>\n * <h4>When to use:</h4>\n * When the user has to accomplish a long or unfamiliar task.\n *\n * <h4>When not to use:</h4>\n * When the task has less than 3 steps.\n *\n * <h3>Responsive Behavior</h3>\n * On small widths the step's titleText, subtitleText and separators in the navigation area shrink and from particular point the steps are grouped together and overlap.\n * Tapping on them will show a popover to select the step to navigate to. On mobile device, the grouped steps are presented within a dialog.\n *\n * <h3>ES6 Module Import</h3>\n * <code>import \"@ui5/webcomponents-fiori/dist/Wizard.js\";</code> (includes &lt;ui5-wizard-step/&gt;)\n *\n * @constructor\n * @extends UI5Element\n * @since 1.0.0-rc.10\n * @public\n * @csspart navigator - Used to style the progress navigator of the <code>ui5-wizard</code>.\n * @csspart step-content - Used to style a <code>ui5-wizard-step</code> container.\n */\n@customElement({\n\ttag: \"ui5-wizard\",\n\tlanguageAware: true,\n\tfastNavigation: true,\n\trenderer: litRender,\n\tstyles: [\n\t\tbrowserScrollbarCSS,\n\t\tWizardCss,\n\t],\n\tstaticAreaStyles: WizardPopoverCss,\n\ttemplate: WizardTemplate,\n\tstaticAreaTemplate: WizardPopoverTemplate,\n\tdependencies: [\n\t\tWizardTab,\n\t\tWizardStep,\n\t\tResponsivePopover,\n\t\tButton,\n\t],\n})\n\n/**\n * Fired when the step is changed by user interaction - either with scrolling,\n * or by clicking on the steps within the component header.\n *\n * @param {WizardStep} step The new step.\n * @param {WizardStep} previousStep The previous step.\n * @param {boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.\n * @public\n */\n@event<WizardStepChangeEventDetail>(\"step-change\", {\n\tdetail: {\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tstep: { type: HTMLElement },\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tpreviousStep: { type: HTMLElement },\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tchangeWithClick: { type: Boolean },\n\t},\n})\n\nclass Wizard extends UI5Element {\n\t/**\n\t * Defines how the content of the <code>ui5-wizard</code> would be visualized.\n\t * @public\n\t * @since 1.14.0\n\t * @default \"MultipleSteps\"\n\t */\n\t@property({ type: WizardContentLayout, defaultValue: WizardContentLayout.MultipleSteps })\n\tcontentLayout!: WizardContentLayout\n\n\t/**\n\t * Defines the width of the <code>ui5-wizard</code>.\n\t * @private\n\t */\n\t@property({ validator: Float })\n\twidth?: number\n\n\t/**\n\t * Defines the threshold to switch between steps upon user scrolling.\n\t * <br><br>\n\t *\n\t * <b>For Example:</b>\n\t * <br>\n\t * (1) To switch to the next step, when half of the step is scrolled out - set <code>step-switch-threshold=\"0.5\"</code>.\n\t * (2) To switch to the next step, when the entire current step is scrolled out - set <code>step-switch-threshold=\"1\"</code>.\n\t *\n\t * <br><br>\n\t * <b>Note:</b> Supported values are between 0.5 and 1\n\t * and values out of the range will be normalized to 0.5 and 1 respectively.\n\t * @private\n\t * @default 0.7\n\t * @since 1.0.0-rc.13\n\t */\n\t@property({ validator: Float, defaultValue: STEP_SWITCH_THRESHOLDS.DEFAULT })\n\tstepSwitchThreshold!: number;\n\n\t/**\n\t * Defines the height of the <code>ui5-wizard</code> content.\n\t * @private\n\t */\n\t@property({ validator: Float })\n\tcontentHeight?: number;\n\n\t@property({ type: Object, multiple: true })\n\t_groupedTabs!: Array<WizardTab>\n\n\t@property()\n\t_breakpoint!: string\n\n\t/**\n\t * Defines the steps.\n\t * <br><br>\n\t * <b>Note:</b> Use the available <code>ui5-wizard-step</code> component.\n\t *\n\t * @public\n\t */\n\t@slot({\n\t\t\"default\": true,\n\t\ttype: HTMLElement,\n\t\t\"individualSlots\": true,\n\t\tinvalidateOnChildChange: true,\n\t})\n\tsteps!: Array<WizardStep>\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstepScrollOffsets: Array<number>;\n\tselectedStepIndex: number;\n\tpreviouslySelectedStepIndex: number;\n\tselectionRequestedByClick: boolean;\n\tselectionRequestedByScroll: boolean;\n\n\t_prevWidth: number;\n\t_prevContentHeight: number;\n\t_itemNavigation: ItemNavigation;\n\t_onStepResize: ResizeObserverCallback;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\t// Stores the scroll offsets of the steps,\n\t\t// e.g. the steps' starting point.\n\t\tthis.stepScrollOffsets = [];\n\n\t\t// Stores references to the grouped steps.\n\t\tthis._groupedTabs = [];\n\n\t\t// Keeps track of the currently selected step index.\n\t\tthis.selectedStepIndex = 0;\n\n\t\t// Keeps track of the previously selected step index.\n\t\tthis.previouslySelectedStepIndex = 0;\n\n\t\t// Indicates that selection will be changed\n\t\t// due to user click.\n\t\tthis.selectionRequestedByClick = false;\n\n\t\t// Stores the previous width\n\t\tthis._prevWidth = 0;\n\n\t\t// Stores the previous height\n\t\tthis._prevContentHeight = 0;\n\n\t\t// Indicates that selection will be changed\n\t\t// due to user scroll.\n\t\tthis.selectionRequestedByScroll = false;\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\tnavigationMode: NavigationMode.Auto,\n\t\t\tgetItemsCallback: () => this.enabledStepsInHeaderDOM,\n\t\t});\n\n\t\tthis._onStepResize = this.onStepResize.bind(this);\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-wiz-root\": true,\n\t\t\t\t\"ui5-content-native-scrollbars\": getEffectiveScrollbarStyle(),\n\t\t\t},\n\t\t\tpopover: {\n\t\t\t\t\"ui5-wizard-responsive-popover\": true,\n\t\t\t\t\"ui5-wizard-popover\": !isPhone(),\n\t\t\t\t\"ui5-wizard-dialog\": isPhone(),\n\t\t\t},\n\t\t};\n\t}\n\n\tstatic async onDefine() {\n\t\tWizard.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tstatic get SCROLL_DEBOUNCE_RATE() {\n\t\treturn 25;\n\t}\n\n\tonExitDOM() {\n\t\tthis.detachStepsResizeObserver();\n\t}\n\n\tonBeforeRendering() {\n\t\tthis.syncSelection();\n\t}\n\n\tonAfterRendering() {\n\t\tthis.storeStepScrollOffsets();\n\n\t\tif (this.previouslySelectedStepIndex !== this.selectedStepIndex) {\n\t\t\tthis.scrollToSelectedStep();\n\t\t}\n\n\t\tthis.attachStepsResizeObserver();\n\t\tthis.previouslySelectedStepIndex = this.selectedStepIndex;\n\t}\n\n\t/**\n\t * Normalizes the step selection as follows:\n\t * (1) If there is no selected step - the first step is going to be selected.\n\t * (2) If the selected steps are more than one - the last step is going to be selected.\n\t * (3) If the selected step is also disabled - log a warning.\n\t * @private\n\t */\n\tsyncSelection() {\n\t\tif (this.stepsCount === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If no selected steps -> select the first step.\n\t\tif (this.selectedStepsCount === 0) {\n\t\t\tthis.selectFirstStep();\n\t\t\tconsole.warn(\"Selecting the first step: no selected step is defined.\"); // eslint-disable-line\n\t\t}\n\n\t\t// If there are multiple selected steps -> keep the last selected one.\n\t\tif (this.selectedStepsCount > 1) {\n\t\t\tthis.selectLastSelectedStep();\n\t\t\tconsole.warn(`Selecting the last step defined as selected: multiple selected steps are defined.`); // eslint-disable-line\n\t\t}\n\n\t\t// If the selected step is defined as disabled - log warning.\n\t\tif (this.selectedStep && this.selectedStep.disabled) {\n\t\t\tconsole.warn(\"The selected step is disabled: you need to enable it in order to interact with the step.\"); // eslint-disable-line\n\t\t}\n\n\t\t// Place for improvement: If the selected step is not the first, enable all the prior steps\n\t\tthis.selectedStepIndex = this.getSelectedStepIndex();\n\t}\n\n\t/**\n\t * Selects the first step.\n\t * @private\n\t */\n\tselectFirstStep() {\n\t\tthis.deselectAll();\n\t\tthis.slottedSteps[0].selected = true;\n\t\tthis.slottedSteps[0].disabled = false;\n\t}\n\n\t/**\n\t * Selects the last step from multiple selected ones.\n\t * @private\n\t */\n\tselectLastSelectedStep() {\n\t\tconst lastSelectedStep = this.lastSelectedStep;\n\n\t\tif (lastSelectedStep) {\n\t\t\tthis.deselectAll();\n\t\t\tlastSelectedStep.selected = true;\n\t\t\tlastSelectedStep.disabled = false;\n\t\t}\n\t}\n\n\t/**\n\t * Deselects all steps.\n\t * @private\n\t */\n\tdeselectAll() {\n\t\tthis.slottedSteps.forEach(step => {\n\t\t\tstep.selected = false;\n\t\t});\n\t}\n\n\t/**\n\t * Stores the scroll offsets of the steps,\n\t * e.g. the steps' starting point.\n\t *\n\t * <b>Note:</b> the disabled ones has negative offsets.\n\t * @private\n\t */\n\tstoreStepScrollOffsets() {\n\t\tthis.stepScrollOffsets = this.slottedSteps.map(step => {\n\t\t\tconst contentItem = this.getStepWrapperByRefId(step._id);\n\t\t\treturn contentItem.offsetTop + contentItem.offsetHeight;\n\t\t});\n\t}\n\n\t/**\n\t * Handles user click on steps' tabs within the header.\n\t * <b>Note:</b> the handler is bound in the template.\n\t * @private\n\t */\n\tonSelectionChangeRequested(e: MouseEvent) {\n\t\tthis.selectionRequestedByClick = true;\n\t\tthis.changeSelectionByStepAction(e.target as WizardTab);\n\t}\n\n\t/**\n\t * Handles user scrolling with debouncing.\n\t * <b>Note:</b> the handler is bound in the template.\n\t * @private\n\t */\n\tonScroll(e: MouseEvent) {\n\t\tif (this.selectionRequestedByClick) {\n\t\t\tthis.selectionRequestedByClick = false;\n\t\t\treturn;\n\t\t}\n\n\t\tdebounce(this.changeSelectionByScroll.bind(this, (e.target as HTMLElement).scrollTop), Wizard.SCROLL_DEBOUNCE_RATE);\n\t}\n\n\t/**\n\t * Handles when a step in the header is focused in order to update the <code>ItemNavigation</code>.\n\t * <b>Note:</b> the handler is bound in the template.\n\t * @private\n\t */\n\tonStepInHeaderFocused(e: FocusEvent) {\n\t\tthis._itemNavigation.setCurrentItem(e.target as WizardTab);\n\t}\n\n\t/**\n\t * Handles resize in order to:\n\t * (1) sync steps' scroll offset and selection\n\t * (2) adapt navition step header\n\t * @private\n\t */\n\tonStepResize() {\n\t\tthis.width = this.getBoundingClientRect().width;\n\t\tthis.contentHeight = this.getContentHeight();\n\n\t\tif (this._prevWidth !== this.width || this.contentHeight !== this._prevContentHeight) {\n\t\t\tthis._closeRespPopover();\n\t\t}\n\n\t\tthis._prevWidth = this.width;\n\t\tthis._prevContentHeight = this.contentHeight;\n\n\t\tthis._calcCurrentBreakpoint();\n\t}\n\n\tattachStepsResizeObserver() {\n\t\tthis.stepsDOM.forEach(stepDOM => {\n\t\t\tResizeHandler.deregister(stepDOM, this._onStepResize);\n\t\t\tResizeHandler.register(stepDOM, this._onStepResize);\n\t\t});\n\t}\n\n\tdetachStepsResizeObserver() {\n\t\tthis.stepsDOM.forEach(stepDOM => {\n\t\t\tResizeHandler.deregister(stepDOM, this._onStepResize);\n\t\t});\n\t}\n\n\t_calcCurrentBreakpoint() {\n\t\tconst breakpointDimensions = Object.keys(RESPONSIVE_BREAKPOINTS).reverse();\n\t\tconst breakpoint = breakpointDimensions.find((size: string) => Number(size) < this.width!);\n\t\tthis._breakpoint = breakpoint ? RESPONSIVE_BREAKPOINTS[breakpoint] : RESPONSIVE_BREAKPOINTS[\"0\"];\n\t}\n\n\t/**\n\t * Updates the expanded attribute for each ui5-wizard-tab based on the ui5-wizard width\n\t * @private\n\t */\n\t_adjustHeaderOverflow() {\n\t\tlet counter = 0;\n\t\tlet isForward = true;\n\t\tconst tabs = this.stepsInHeaderDOM;\n\n\t\tif (!tabs.length) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst iWidth = this.progressNavigatorListDOM.getBoundingClientRect().width;\n\t\tconst iCurrStep = this.getSelectedStepIndex();\n\t\tconst iStepsToShow = this.steps.length ? Math.floor(iWidth / MIN_STEP_WIDTH_WITH_TITLE) : Math.floor(iWidth / MIN_STEP_WIDTH_NO_TITLE);\n\n\t\t[...tabs].forEach((step, index) => {\n\t\t\tstep.setAttribute(EXPANDED_STEP, \"false\");\n\t\t\tstep.setAttribute(BEFORE_EXPANDED_STEP, \"false\");\n\t\t\tstep.setAttribute(AFTER_EXPANDED_STEP, \"false\");\n\n\t\t\t// Add \"data-ui5-wizard-after-current-tab\" to all tabs after the current one\n\t\t\tif (index > iCurrStep) {\n\t\t\t\ttabs[index].setAttribute(AFTER_CURRENT_STEP, \"true\");\n\t\t\t} else {\n\t\t\t\ttabs[index].removeAttribute(AFTER_CURRENT_STEP);\n\t\t\t}\n\t\t});\n\n\t\t// Add \"data-ui5-wizard-expanded-tab\" to the current step\n\t\tif (tabs[iCurrStep]) {\n\t\t\ttabs[iCurrStep].setAttribute(EXPANDED_STEP, \"true\");\n\t\t}\n\n\t\t// Set the \"data-ui5-wizard-expanded-tab\" to the steps that are expanded\n\t\t// The algorithm is as follows:\n\t\t// 1. A step towards the end is expanded\n\t\t// \t1.2. If there are no available steps towards the end a step towards the beginning is expanded\n\t\t// 2. A step towards the beginning is expanded\n\t\t// \t2.2. If there are no available steps towards the beginning a step towards the end is expanded\n\t\tfor (let i = 1; i < iStepsToShow; i++) {\n\t\t\tif (isForward) {\n\t\t\t\tcounter += 1;\n\t\t\t}\n\n\t\t\tif (isForward && tabs[iCurrStep + counter]) {\n\t\t\t\ttabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tisForward = !isForward;\n\t\t\t} else if (!isForward && tabs[iCurrStep - counter]) {\n\t\t\t\ttabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tisForward = !isForward;\n\t\t\t} else if (tabs[iCurrStep + counter + 1]) {\n\t\t\t\tcounter += 1;\n\t\t\t\ttabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tisForward = true;\n\t\t\t} else if (tabs[iCurrStep - counter]) {\n\t\t\t\ttabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tcounter += 1;\n\t\t\t\tisForward = false;\n\t\t\t}\n\t\t}\n\n\t\t// mark the topmost steps of both groups (in the beginning and the end),\n\t\t// using the \"data-ui5-wizard-after-current-tab\" and \"data-ui5-wizard-expanded-tab-prev\" attributes\n\t\tfor (let i = 0; i < tabs.length; i++) {\n\t\t\tif (tabs[i].getAttribute(EXPANDED_STEP) === \"true\" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === \"false\") {\n\t\t\t\ttabs[i - 1].setAttribute(BEFORE_EXPANDED_STEP, \"true\");\n\t\t\t}\n\n\t\t\tif (tabs[i].getAttribute(EXPANDED_STEP) === \"false\" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === \"true\") {\n\t\t\t\ttabs[i].setAttribute(AFTER_EXPANDED_STEP, \"true\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t_isGroupAtStart(selectedStep: WizardTab) {\n\t\tconst iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);\n\t\treturn selectedStep.getAttribute(EXPANDED_STEP) === \"false\" && selectedStep.getAttribute(BEFORE_EXPANDED_STEP) === \"true\" && iStepNumber > 0;\n\t}\n\n\t_isGroupAtEnd(selectedStep: WizardTab) {\n\t\tconst iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);\n\t\treturn selectedStep.getAttribute(EXPANDED_STEP) === \"false\" && selectedStep.getAttribute(AFTER_EXPANDED_STEP) === \"true\" && (iStepNumber + 1 < this.steps.length);\n\t}\n\n\tasync _showPopover(oDomTarget: WizardTab, isAtStart: boolean) {\n\t\tconst tabs = Array.from(this.stepsInHeaderDOM);\n\t\tthis._groupedTabs = [];\n\n\t\tconst iFromStep = isAtStart ? 0 : this.stepsInHeaderDOM.indexOf(oDomTarget);\n\t\tconst iToStep = isAtStart ? this.stepsInHeaderDOM.indexOf(oDomTarget) : tabs.length - 1;\n\n\t\tfor (let i = iFromStep; i <= iToStep; i++) {\n\t\t\tthis._groupedTabs.push(tabs[i]);\n\t\t}\n\n\t\tconst responsivePopover = await this._respPopover();\n\t\tresponsivePopover.showAt(oDomTarget);\n\t}\n\n\tasync _onGroupedTabClick(e: MouseEvent) {\n\t\tconst eTarget = e.target as WizardTab;\n\n\t\tif (this._isGroupAtStart(eTarget)) {\n\t\t\treturn this._showPopover(eTarget, true);\n\t\t}\n\n\t\tif (this._isGroupAtEnd(eTarget)) {\n\t\t\treturn this._showPopover(eTarget, false);\n\t\t}\n\t}\n\n\t_onOverflowStepButtonClick(e: MouseEvent) {\n\t\tconst tabs = Array.from(this.stepsInHeaderDOM);\n\t\tconst eTarget = e.target as HTMLElement;\n\t\tconst stepRefId = eTarget.getAttribute(\"data-ui5-header-tab-ref-id\");\n\t\tconst stepToSelect = this.slottedSteps[Number(stepRefId) - 1];\n\t\tconst selectedStep = this.selectedStep;\n\t\tconst newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);\n\n\t\tthis.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);\n\t\tthis._closeRespPopover();\n\t\ttabs[newlySelectedIndex].focus();\n\t}\n\n\tasync _closeRespPopover() {\n\t\tconst responsivePopover = await this._respPopover();\n\t\tresponsivePopover && responsivePopover.close();\n\t}\n\n\tasync _respPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<ResponsivePopover>(`.ui5-wizard-responsive-popover`)!;\n\t}\n\n\t/**\n\t * Called upon <code>onScroll</code>.\n\t * Selects the closest step, based on the user scroll position.\n\t * @param scrollPos the current scroll position\n\t * @private\n\t */\n\tchangeSelectionByScroll(scrollPos: number) {\n\t\tconst newlySelectedIndex = this.getClosestStepIndexByScrollPos(scrollPos);\n\t\tconst stepToSelect = this.slottedSteps[newlySelectedIndex];\n\n\t\t// Skip if already selected - stop.\n\t\tif (this.selectedStepIndex === newlySelectedIndex) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If the calculated index is in range,\n\t\t// change selection and fire \"step-change\".\n\t\tif (!stepToSelect.disabled && newlySelectedIndex >= 0 && newlySelectedIndex <= this.stepsCount - 1) {\n\t\t\tthis.switchSelectionFromOldToNewStep(this.selectedStep, stepToSelect, newlySelectedIndex, false);\n\t\t\tthis.selectionRequestedByScroll = true;\n\t\t}\n\t}\n\n\t/**\n\t * Called upon <code>onSelectionChangeRequested</code>.\n\t * Selects the external step (ui5-wizard-step),\n\t * based on the clicked or activated via keyboard step in the header (ui5-wizard-tab).\n\t * @param stepInHeader the step equivalent in the header\n\t * @private\n\t */\n\tasync changeSelectionByStepAction(stepInHeader: WizardTab) {\n\t\tconst stepRefId = stepInHeader.getAttribute(\"data-ui5-content-ref-id\")!;\n\t\tconst selectedStep = this.selectedStep;\n\t\tconst stepToSelect = this.getStepByRefId(stepRefId);\n\t\tconst bExpanded = stepInHeader.getAttribute(EXPANDED_STEP) === \"true\";\n\t\tconst newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);\n\t\tconst firstElementChild = stepToSelect.firstElementChild as HTMLElement;\n\t\tconst firstFocusableElement = await getFirstFocusableElement(firstElementChild);\n\n\t\tif (firstFocusableElement) {\n\t\t\t// Focus the first focusable element within the step content corresponding to the currently focused tab\n\t\t\tfirstFocusableElement.focus();\n\t\t}\n\n\t\t// If the currently selected (active) step is clicked,\n\t\t// just scroll to its starting point and stop.\n\t\tif (selectedStep === stepToSelect) {\n\t\t\tthis.scrollToContentItem(this.selectedStepIndex);\n\t\t\treturn;\n\t\t}\n\n\t\tif (bExpanded || (!bExpanded && (newlySelectedIndex === 0 || newlySelectedIndex === this.steps.length - 1))) {\n\t\t\t// Change selection and fire \"step-change\".\n\t\t\tthis.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);\n\t\t}\n\t}\n\n\tgetContentHeight() {\n\t\tlet contentHeight = 0;\n\n\t\tthis.stepsDOM.forEach(step => {\n\t\t\tcontentHeight += step.getBoundingClientRect().height;\n\t\t});\n\n\t\treturn contentHeight;\n\t}\n\n\tgetStepAriaLabelText(step: WizardStep, ariaLabel: string) {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_STEP_ARIA_LABEL, ariaLabel);\n\t}\n\n\tget stepsDOM() {\n\t\treturn Array.from(this.shadowRoot!.querySelectorAll<HTMLElement>(\".ui5-wiz-content-item\"));\n\t}\n\n\tget progressNavigatorListDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-wiz-nav-list\")!;\n\t}\n\n\tget _stepsInHeader() {\n\t\treturn this.getStepsInfo();\n\t}\n\n\tget _steps() {\n\t\tconst lastEnabledStepIndex = this.getLastEnabledStepIndex();\n\t\tconst stepsInfo = this.getStepsInfo();\n\n\t\treturn this.steps.map((step, idx) => {\n\t\t\tstep.stretch = idx === lastEnabledStepIndex;\n\t\t\tstep.stepContentAriaLabel = `${this.navStepDefaultHeading} ${stepsInfo[idx].number} ${stepsInfo[idx].titleText}`;\n\t\t\treturn step;\n\t\t});\n\t}\n\n\tget stepsCount() {\n\t\treturn this.slottedSteps.length;\n\t}\n\n\tget selectedStep() {\n\t\tif (this.selectedStepsCount) {\n\t\t\treturn this.selectedSteps[0];\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tget lastSelectedStep() {\n\t\tif (this.selectedStepsCount) {\n\t\t\treturn this.selectedSteps[this.selectedStepsCount - 1];\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tget selectedSteps() {\n\t\treturn this.slottedSteps.filter(step => step.selected);\n\t}\n\n\tget enabledSteps() {\n\t\treturn this.slottedSteps.filter(step => !step.disabled);\n\t}\n\n\tget selectedStepsCount() {\n\t\treturn this.selectedSteps.length;\n\t}\n\n\tget slottedSteps() {\n\t\treturn this.getSlottedNodes<WizardStep>(\"steps\");\n\t}\n\n\tget contentDOM() {\n\t\treturn this.shadowRoot!.querySelector(`.ui5-wiz-content`)!;\n\t}\n\n\tget stepsInHeaderDOM() {\n\t\treturn Array.from(this.shadowRoot!.querySelectorAll<WizardTab>(\"[ui5-wizard-tab]\"));\n\t}\n\n\tget enabledStepsInHeaderDOM() {\n\t\treturn this.stepsInHeaderDOM;\n\t}\n\n\tget navAriaRoleDescription() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);\n\t}\n\n\tget navAriaLabelText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_LABEL);\n\t}\n\n\tget navAriaDescribedbyText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_LIST_ARIA_DESCRIBEDBY);\n\t}\n\n\tget listAriaLabelText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_LIST_ARIA_LABEL);\n\t}\n\n\tget actionSheetStepsText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);\n\t}\n\n\tget navStepDefaultHeading() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_STEP_DEFAULT_HEADING);\n\t}\n\n\tget optionalStepText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_OPTIONAL_STEP_ARIA_LABEL);\n\t}\n\n\tget activeStepText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_STEP_ACTIVE);\n\t}\n\n\tget inactiveStepText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_STEP_INACTIVE);\n\t}\n\n\tget ariaLabelText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);\n\t}\n\n\tget effectiveStepSwitchThreshold() {\n\t\treturn clamp(this.stepSwitchThreshold, STEP_SWITCH_THRESHOLDS.MIN, STEP_SWITCH_THRESHOLDS.MAX);\n\t}\n\n\t/**\n\t * Returns an array of data objects, based on the user defined steps\n\t * to later build the steps (tabs) within the header.\n\t * @private\n\t */\n\tgetStepsInfo() {\n\t\tconst lastEnabledStepIndex = this.getLastEnabledStepIndex();\n\t\tconst stepsCount = this.stepsCount;\n\t\tconst selectedStepIndex = this.getSelectedStepIndex();\n\t\tlet inintialZIndex = this.steps.length + 10;\n\t\tlet accInfo;\n\n\t\tthis._adjustHeaderOverflow();\n\n\t\treturn this.steps.map((step, idx) => {\n\t\t\tconst pos = idx + 1;\n\n\t\t\t// Hide separator if it's the last step and it's not a branching one\n\t\t\tconst hideSeparator = (idx === stepsCount - 1) && !step.branching;\n\n\t\t\tconst isOptional = step.subtitleText ? this.optionalStepText : \"\";\n\t\t\tconst stepStateText = step.disabled ? this.inactiveStepText : this.activeStepText;\n\t\t\tconst ariaLabel = (step.titleText ? `${pos} ${step.titleText} ${stepStateText} ${isOptional}` : `${this.navStepDefaultHeading} ${pos} ${stepStateText} ${isOptional}`).trim();\n\t\t\tconst isAfterCurrent = (idx > selectedStepIndex);\n\n\t\t\taccInfo = {\n\t\t\t\t\"ariaSetsize\": stepsCount,\n\t\t\t\t\"ariaPosinset\": pos,\n\t\t\t\t\"ariaLabel\": this.getStepAriaLabelText(step, ariaLabel),\n\t\t\t};\n\n\t\t\tconst stepInfo: StepInfo = {\n\t\t\t\ticon: step.icon,\n\t\t\t\ttitleText: step.titleText,\n\t\t\t\tsubtitleText: step.subtitleText,\n\t\t\t\tnumber: pos,\n\t\t\t\tselected: step.selected,\n\t\t\t\tdisabled: step.disabled,\n\t\t\t\thideSeparator,\n\t\t\t\tactiveSeparator: (idx < lastEnabledStepIndex) && !step.disabled,\n\t\t\t\tbranchingSeparator: step.branching,\n\t\t\t\tpos,\n\t\t\t\taccInfo,\n\t\t\t\trefStepId: step._id,\n\t\t\t\ttabIndex: this.selectedStepIndex === idx ? \"0\" : \"-1\",\n\t\t\t\tstyles: {\n\t\t\t\t\tzIndex: isAfterCurrent ? --inintialZIndex : 1,\n\t\t\t\t},\n\t\t\t};\n\n\t\t\treturn stepInfo;\n\t\t});\n\t}\n\n\t/**\n\t * Returns the index of the selected step.\n\t * @private\n\t */\n\tgetSelectedStepIndex() {\n\t\tif (this.selectedStep) {\n\t\t\treturn this.slottedSteps.indexOf(this.selectedStep);\n\t\t}\n\t\treturn 0;\n\t}\n\n\t/**\n\t * Returns the index of the last enabled step.\n\t * @private\n\t */\n\tgetLastEnabledStepIndex() {\n\t\tlet lastEnabledStepIndex = 0;\n\n\t\tthis.slottedSteps.forEach((step, idx) => {\n\t\t\tif (!step.disabled) {\n\t\t\t\tlastEnabledStepIndex = idx;\n\t\t\t}\n\t\t});\n\n\t\treturn lastEnabledStepIndex;\n\t}\n\n\tgetStepByRefId(refId: string) {\n\t\treturn this.slottedSteps.find(step => step._id === refId)!;\n\t}\n\n\tgetStepWrapperByRefId(refId: string) {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(`[data-ui5-content-item-ref-id=${refId}]`)!;\n\t}\n\n\tgetStepWrapperByIdx(idx: number) {\n\t\treturn this.getStepWrapperByRefId(this.steps[idx]._id);\n\t}\n\n\t/**\n\t * Scrolls to the content of the selected step, used in <code>onAfterRendering</cod>.\n\t * @private\n\t */\n\tscrollToSelectedStep() {\n\t\tif (!this.selectionRequestedByScroll) {\n\t\t\tthis.scrollToContentItem(this.selectedStepIndex);\n\t\t}\n\t\tthis.selectionRequestedByScroll = false;\n\t}\n\n\t/**\n\t * Scrolls to the content item within the <code>ui5-wizard</code> shadowDOM\n\t * by given step index.\n\t *\n\t * @private\n\t * @param stepIndex the index of a step\n\t */\n\tscrollToContentItem(stepIndex: number) {\n\t\tthis.contentDOM.scrollTop = this.getClosestScrollPosByStepIndex(stepIndex);\n\t}\n\n\t/**\n\t * Returns to closest scroll position for the given step index.\n\t *\n\t * @private\n\t * @param stepIndex the index of a step\n\t */\n\tgetClosestScrollPosByStepIndex(stepIndex: number) {\n\t\tif (stepIndex === 0) {\n\t\t\treturn 0;\n\t\t}\n\n\t\t// It's possible to have [enabled - 0, disabled - 1, enabled - 2, disabled - 3] step definition and similar.\n\t\t// Consider selection of the third step at index 2, the wizard should scroll where the previous step ends,\n\t\t// but in this case the 2nd step is disabled, so we have to fallback to the first possible step.\n\t\tfor (let closestStepIndex = stepIndex - 1; closestStepIndex >= 0; closestStepIndex--) {\n\t\t\tif (this.stepScrollOffsets[closestStepIndex] > 0) {\n\t\t\t\treturn this.stepScrollOffsets[closestStepIndex];\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\t/**\n\t * Returns the closest step index by given scroll position.\n\t * @private\n\t * @param scrollPos the scroll position\n\t */\n\tgetClosestStepIndexByScrollPos(scrollPos: number) {\n\t\tfor (let closestStepIndex = 0; closestStepIndex <= this.stepScrollOffsets.length - 1; closestStepIndex++) {\n\t\t\tconst stepScrollOffset = this.stepScrollOffsets[closestStepIndex];\n\t\t\tconst step = this.getStepWrapperByIdx(closestStepIndex);\n\t\t\tconst switchStepBoundary = step.offsetTop + (step.offsetHeight * this.effectiveStepSwitchThreshold);\n\n\t\t\tif (stepScrollOffset > 0 && scrollPos < stepScrollOffset) {\n\t\t\t\tif (scrollPos > switchStepBoundary) {\n\t\t\t\t\treturn closestStepIndex + 1;\n\t\t\t\t}\n\n\t\t\t\treturn closestStepIndex;\n\t\t\t}\n\t\t}\n\n\t\treturn this.selectedStepIndex;\n\t}\n\n\t/**\n\t * Switches the selection from the old step to the newly selected step.\n\t *\n\t * @param selectedStep the old step\n\t * @param stepToSelect the step to be selected\n\t * @param stepToSelectIndex the index of the newly selected step\n\t * @param changeWithClick the selection changed due to user click in the step navigation\n\t * @private\n\t */\n\tswitchSelectionFromOldToNewStep(selectedStep: WizardStep | null, stepToSelect: WizardStep, stepToSelectIndex: number, changeWithClick: boolean) {\n\t\tif (selectedStep && stepToSelect) {\n\t\t\t// keep the selection if next step is disabled\n\t\t\tif (!stepToSelect.disabled) {\n\t\t\t\tselectedStep.selected = false;\n\t\t\t\tstepToSelect.selected = true;\n\t\t\t}\n\n\t\t\tthis.fireEvent<WizardStepChangeEventDetail>(\"step-change\", {\n\t\t\t\tstep: stepToSelect,\n\t\t\t\tpreviousStep: selectedStep,\n\t\t\t\tchangeWithClick,\n\t\t\t});\n\n\t\t\tthis.selectedStepIndex = stepToSelectIndex;\n\t\t}\n\t}\n\n\t/**\n\t * Sorter method for sorting an array in ascending order.\n\t * @private\n\t */\n\tsortAscending(a: number, b: number) {\n\t\tif (a < b) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (a > b) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn 0;\n\t}\n}\n\nWizard.define();\n\nexport type {\n\tWizardStepChangeEventDetail,\n};\n\nexport default Wizard;\n"]}
1
+ {"version":3,"file":"Wizard.js","sourceRoot":"","sources":["../src/Wizard.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AACrE,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,0BAA0B,MAAM,iEAAiE,CAAC;AAEzG,OAAO,cAAc,MAAM,yDAAyD,CAAC;AACrF,OAAO,cAAc,MAAM,sDAAsD,CAAC;AAClF,OAAO,KAAK,MAAM,6CAA6C,CAAC;AAChE,OAAO,KAAK,MAAM,4CAA4C,CAAC;AAC/D,OAAO,aAAa,MAAM,wDAAwD,CAAC;AAEnF,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC;AACjE,OAAO,QAAQ,MAAM,+CAA+C,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAClG,OAAO,MAAM,MAAM,mCAAmC,CAAC;AACvD,OAAO,iBAAiB,MAAM,8CAA8C,CAAC;AAC7E,OAAO,mBAAmB,MAAM,kE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Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport getEffectiveScrollbarStyle from \"@ui5/webcomponents-base/dist/util/getEffectiveScrollbarStyle.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport ItemNavigation from \"@ui5/webcomponents-base/dist/delegate/ItemNavigation.js\";\nimport NavigationMode from \"@ui5/webcomponents-base/dist/types/NavigationMode.js\";\nimport Float from \"@ui5/webcomponents-base/dist/types/Float.js\";\nimport clamp from \"@ui5/webcomponents-base/dist/util/clamp.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { isPhone } from \"@ui5/webcomponents-base/dist/Device.js\";\nimport debounce from \"@ui5/webcomponents-base/dist/util/debounce.js\";\nimport { getFirstFocusableElement } from \"@ui5/webcomponents-base/dist/util/FocusableElements.js\";\nimport Button from \"@ui5/webcomponents/dist/Button.js\";\nimport ResponsivePopover from \"@ui5/webcomponents/dist/ResponsivePopover.js\";\nimport browserScrollbarCSS from \"@ui5/webcomponents/dist/generated/themes/BrowserScrollbar.css.js\";\nimport WizardContentLayout from \"./types/WizardContentLayout.js\";\n\n// Texts\nimport {\n\tWIZARD_NAV_STEP_DEFAULT_HEADING,\n\tWIZARD_NAV_ARIA_ROLE_DESCRIPTION,\n\tWIZARD_NAV_ARIA_LABEL,\n\tWIZARD_LIST_ARIA_LABEL,\n\tWIZARD_LIST_ARIA_DESCRIBEDBY,\n\tWIZARD_ACTIONSHEET_STEPS_ARIA_LABEL,\n\tWIZARD_OPTIONAL_STEP_ARIA_LABEL,\n\tWIZARD_STEP_ARIA_LABEL,\n\tWIZARD_STEP_ACTIVE,\n\tWIZARD_STEP_INACTIVE,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Step in header and content\nimport WizardTab from \"./WizardTab.js\";\nimport WizardStep from \"./WizardStep.js\";\n\n// Template and Styles\nimport WizardTemplate from \"./generated/templates/WizardTemplate.lit.js\";\nimport WizardPopoverTemplate from \"./generated/templates/WizardPopoverTemplate.lit.js\";\nimport WizardCss from \"./generated/themes/Wizard.css.js\";\nimport WizardPopoverCss from \"./generated/themes/WizardPopover.css.js\";\n\nconst MIN_STEP_WIDTH_NO_TITLE = 64;\nconst MIN_STEP_WIDTH_WITH_TITLE = 200;\n\nconst EXPANDED_STEP = \"data-ui5-wizard-expanded-tab\";\nconst AFTER_EXPANDED_STEP = \"data-ui5-wizard-expanded-tab-next\";\nconst AFTER_CURRENT_STEP = \"data-ui5-wizard-after-current-tab\";\nconst BEFORE_EXPANDED_STEP = \"data-ui5-wizard-expanded-tab-prev\";\n\nconst STEP_SWITCH_THRESHOLDS = {\n\tMIN: 0.5,\n\tDEFAULT: 0.7,\n\tMAX: 1,\n};\n\ntype ResponsiveBreakpoints = {\n\t[key: string]: string,\n}\n\ntype WizardStepChangeEventDetail = {\n\tstep: WizardStep,\n\tpreviousStep: WizardStep,\n\tchangeWithClick: boolean,\n}\n\nconst RESPONSIVE_BREAKPOINTS: ResponsiveBreakpoints = {\n\t\"0\": \"S\",\n\t\"599\": \"M\",\n\t\"1023\": \"L\",\n\t\"1439\": \"XL\",\n};\n\ntype AccessibilityInformation = {\n\tariaSetsize: number,\n\tariaPosinset: number,\n\tariaLabel: string,\n}\n\ntype StepInfo = {\n\ticon: string,\n\ttitleText: string,\n\tsubtitleText: string,\n\tnumber: number,\n\tselected: boolean,\n\tdisabled: boolean,\n\thideSeparator: boolean,\n\tactiveSeparator: boolean,\n\tbranchingSeparator: boolean,\n\tpos: number,\n\taccInfo: AccessibilityInformation,\n\trefStepId: string,\n\ttabIndex: string,\n\tstyles: object,\n}\n\n/**\n * @class\n *\n * ### Overview\n *\n * The `ui5-wizard` helps users to complete a complex task by dividing it into sections and guiding them through it.\n * It has two main areas - a navigation area at the top showing the step sequence and a content area below it.\n *\n * ### Structure\n * #### Navigation area\n * The top most area of the `ui5-wizard` is occupied by the navigation area.\n * It shows the sequence of steps, where the recommended number of steps is between 3 and 8 steps.\n *\n * - Steps can have different visual representations - numbers or icons.\n * - Steps might have labels for better readability - titleText and subTitleText.\n * - Steps are defined by using the `ui5-wizard-step` as slotted element within the `ui5-wizard`.\n *\n * **Note:** If no selected step is defined, the first step will be auto selected.\n *\n * **Note:** If multiple selected steps are defined, the last step will be selected.\n *\n * ### Keyboard Handling\n * The user can navigate using the following keyboard shortcuts:\n *\n * #### Wizard Progress Navigation\n *\n * \t- [LEFT], [DOWN] - Focus moves backward to the WizardProgressNavAnchors.\n * \t- [UP], [RIGHT] - Focus moves forward to the WizardProgressNavAnchor.\n * \t- [SPACE] or [ENTER], [RETURN] - Selects an active step\n * \t- [HOME] or [PAGE UP] - Focus goes to the first step\n * \t- [END] or [PAGE DOWN] - Focus goes to the last step\n *\n * #### Fast Navigation\n * This component provides a build in fast navigation group which can be used via `F6 / Shift + F6` or ` Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up`.\n * In order to use this functionality, you need to import the following module:\n * `import \"@ui5/webcomponents-base/dist/features/F6Navigation.js\"`\n *\n * #### Content\n * The content occupies the main part of the page. It can hold any type of HTML elements.\n * It's defined by using the `ui5-wizard-step` as slotted element within the `ui5-wizard`.\n *\n * ### Scrolling\n * The component handles user scrolling by selecting the closest step, based on the current scroll position\n * and scrolls to particular place, when the user clicks on the step within the navigation area.\n *\n * **Important:** In order the component's scrolling behaviour to work, it has to be limited from the outside parent element in terms of height.\n * The component or its parent has to be given percentage or absolute height. Otherwise, the component will be scrolled out with the entire page.\n *\n * **For example:**\n *\n * ```html\n * <ui5-dialog style=\"height: 80%\">\n * \t<ui5-wizard></ui5-wizard>\n * </ui5-dialog>\n * ```\n *\n * #### Moving to next step\n * The `ui5-wizard-step` provides the necessary API and it's up to the user of the component to use it to move to the next step.\n * You have to set its `selected` property (and remove the `disabled` one if set) to `true`.\n * The `ui5-wizard` will automatically scroll to the content of the newly selected step.\n *\n * The Fiori 3 guidelines recommends having a \"nextStep\" button in the content area.\n * You can place a button, or any other type of element to trigger step change, inside the `ui5-wizard-step`,\n * and show/hide it when certain fields are filled or user defined criteria is met.\n *\n * ### Usage\n * #### When to use:\n * When the user has to accomplish a long or unfamiliar task.\n *\n * #### When not to use:\n * When the task has less than 3 steps.\n *\n * ### Responsive Behavior\n * On small widths the step's titleText, subtitleText and separators in the navigation area shrink and from particular point the steps are grouped together and overlap.\n * Tapping on them will show a popover to select the step to navigate to. On mobile device, the grouped steps are presented within a dialog.\n *\n * ### ES6 Module Import\n * `import \"@ui5/webcomponents-fiori/dist/Wizard.js\";` (includes <ui5-wizard-step/>)\n * @constructor\n * @extends UI5Element\n * @since 1.0.0-rc.10\n * @public\n * @csspart navigator - Used to style the progress navigator of the `ui5-wizard`.\n * @csspart step-content - Used to style a `ui5-wizard-step` container.\n */\n@customElement({\n\ttag: \"ui5-wizard\",\n\tlanguageAware: true,\n\tfastNavigation: true,\n\trenderer: litRender,\n\tstyles: [\n\t\tbrowserScrollbarCSS,\n\t\tWizardCss,\n\t],\n\tstaticAreaStyles: WizardPopoverCss,\n\ttemplate: WizardTemplate,\n\tstaticAreaTemplate: WizardPopoverTemplate,\n\tdependencies: [\n\t\tWizardTab,\n\t\tWizardStep,\n\t\tResponsivePopover,\n\t\tButton,\n\t],\n})\n\n/**\n * Fired when the step is changed by user interaction - either with scrolling,\n * or by clicking on the steps within the component header.\n * @param {WizardStep} step The new step.\n * @param {WizardStep} previousStep The previous step.\n * @param {boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.\n * @public\n */\n@event<WizardStepChangeEventDetail>(\"step-change\", {\n\tdetail: {\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tstep: { type: HTMLElement },\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tpreviousStep: { type: HTMLElement },\n\t\t/**\n\t\t* @public\n\t\t*/\n\t\tchangeWithClick: { type: Boolean },\n\t},\n})\n\nclass Wizard extends UI5Element {\n\t/**\n\t * Defines how the content of the `ui5-wizard` would be visualized.\n\t * @public\n\t * @since 1.14.0\n\t * @default \"MultipleSteps\"\n\t */\n\t@property({ type: WizardContentLayout, defaultValue: WizardContentLayout.MultipleSteps })\n\tcontentLayout!: WizardContentLayout\n\n\t/**\n\t * Defines the width of the `ui5-wizard`.\n\t * @private\n\t */\n\t@property({ validator: Float })\n\twidth?: number\n\n\t/**\n\t * Defines the threshold to switch between steps upon user scrolling.\n\t *\n\t * **For Example:**\n\t *\n\t * (1) To switch to the next step, when half of the step is scrolled out - set `step-switch-threshold=\"0.5\"`.\n\t * (2) To switch to the next step, when the entire current step is scrolled out - set `step-switch-threshold=\"1\"`.\n\t *\n\t * **Note:** Supported values are between 0.5 and 1\n\t * and values out of the range will be normalized to 0.5 and 1 respectively.\n\t * @private\n\t * @default 0.7\n\t * @since 1.0.0-rc.13\n\t */\n\t@property({ validator: Float, defaultValue: STEP_SWITCH_THRESHOLDS.DEFAULT })\n\tstepSwitchThreshold!: number;\n\n\t/**\n\t * Defines the height of the `ui5-wizard` content.\n\t * @private\n\t */\n\t@property({ validator: Float })\n\tcontentHeight?: number;\n\n\t@property({ type: Object, multiple: true })\n\t_groupedTabs!: Array<WizardTab>\n\n\t@property()\n\t_breakpoint!: string\n\n\t/**\n\t * Defines the steps.\n\t *\n\t * **Note:** Use the available `ui5-wizard-step` component.\n\t * @public\n\t */\n\t@slot({\n\t\t\"default\": true,\n\t\ttype: HTMLElement,\n\t\t\"individualSlots\": true,\n\t\tinvalidateOnChildChange: true,\n\t})\n\tsteps!: Array<WizardStep>\n\n\tstatic i18nBundle: I18nBundle;\n\n\tstepScrollOffsets: Array<number>;\n\tselectedStepIndex: number;\n\tpreviouslySelectedStepIndex: number;\n\tselectionRequestedByClick: boolean;\n\tselectionRequestedByScroll: boolean;\n\n\t_prevWidth: number;\n\t_prevContentHeight: number;\n\t_itemNavigation: ItemNavigation;\n\t_onStepResize: ResizeObserverCallback;\n\n\tconstructor() {\n\t\tsuper();\n\n\t\t// Stores the scroll offsets of the steps,\n\t\t// e.g. the steps' starting point.\n\t\tthis.stepScrollOffsets = [];\n\n\t\t// Stores references to the grouped steps.\n\t\tthis._groupedTabs = [];\n\n\t\t// Keeps track of the currently selected step index.\n\t\tthis.selectedStepIndex = 0;\n\n\t\t// Keeps track of the previously selected step index.\n\t\tthis.previouslySelectedStepIndex = 0;\n\n\t\t// Indicates that selection will be changed\n\t\t// due to user click.\n\t\tthis.selectionRequestedByClick = false;\n\n\t\t// Stores the previous width\n\t\tthis._prevWidth = 0;\n\n\t\t// Stores the previous height\n\t\tthis._prevContentHeight = 0;\n\n\t\t// Indicates that selection will be changed\n\t\t// due to user scroll.\n\t\tthis.selectionRequestedByScroll = false;\n\n\t\tthis._itemNavigation = new ItemNavigation(this, {\n\t\t\tnavigationMode: NavigationMode.Auto,\n\t\t\tgetItemsCallback: () => this.enabledStepsInHeaderDOM,\n\t\t});\n\n\t\tthis._onStepResize = this.onStepResize.bind(this);\n\t}\n\n\tget classes() {\n\t\treturn {\n\t\t\troot: {\n\t\t\t\t\"ui5-wiz-root\": true,\n\t\t\t\t\"ui5-content-native-scrollbars\": getEffectiveScrollbarStyle(),\n\t\t\t},\n\t\t\tpopover: {\n\t\t\t\t\"ui5-wizard-responsive-popover\": true,\n\t\t\t\t\"ui5-wizard-popover\": !isPhone(),\n\t\t\t\t\"ui5-wizard-dialog\": isPhone(),\n\t\t\t},\n\t\t};\n\t}\n\n\tstatic async onDefine() {\n\t\tWizard.i18nBundle = await getI18nBundle(\"@ui5/webcomponents-fiori\");\n\t}\n\n\tstatic get SCROLL_DEBOUNCE_RATE() {\n\t\treturn 25;\n\t}\n\n\tonExitDOM() {\n\t\tthis.detachStepsResizeObserver();\n\t}\n\n\tonBeforeRendering() {\n\t\tthis.syncSelection();\n\t}\n\n\tonAfterRendering() {\n\t\tthis.storeStepScrollOffsets();\n\n\t\tif (this.previouslySelectedStepIndex !== this.selectedStepIndex) {\n\t\t\tthis.scrollToSelectedStep();\n\t\t}\n\n\t\tthis.attachStepsResizeObserver();\n\t\tthis.previouslySelectedStepIndex = this.selectedStepIndex;\n\t}\n\n\t/**\n\t * Normalizes the step selection as follows:\n\t * (1) If there is no selected step - the first step is going to be selected.\n\t * (2) If the selected steps are more than one - the last step is going to be selected.\n\t * (3) If the selected step is also disabled - log a warning.\n\t * @private\n\t */\n\tsyncSelection() {\n\t\tif (this.stepsCount === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If no selected steps -> select the first step.\n\t\tif (this.selectedStepsCount === 0) {\n\t\t\tthis.selectFirstStep();\n\t\t\tconsole.warn(\"Selecting the first step: no selected step is defined.\"); // eslint-disable-line\n\t\t}\n\n\t\t// If there are multiple selected steps -> keep the last selected one.\n\t\tif (this.selectedStepsCount > 1) {\n\t\t\tthis.selectLastSelectedStep();\n\t\t\tconsole.warn(`Selecting the last step defined as selected: multiple selected steps are defined.`); // eslint-disable-line\n\t\t}\n\n\t\t// If the selected step is defined as disabled - log warning.\n\t\tif (this.selectedStep && this.selectedStep.disabled) {\n\t\t\tconsole.warn(\"The selected step is disabled: you need to enable it in order to interact with the step.\"); // eslint-disable-line\n\t\t}\n\n\t\t// Place for improvement: If the selected step is not the first, enable all the prior steps\n\t\tthis.selectedStepIndex = this.getSelectedStepIndex();\n\t}\n\n\t/**\n\t * Selects the first step.\n\t * @private\n\t */\n\tselectFirstStep() {\n\t\tthis.deselectAll();\n\t\tthis.slottedSteps[0].selected = true;\n\t\tthis.slottedSteps[0].disabled = false;\n\t}\n\n\t/**\n\t * Selects the last step from multiple selected ones.\n\t * @private\n\t */\n\tselectLastSelectedStep() {\n\t\tconst lastSelectedStep = this.lastSelectedStep;\n\n\t\tif (lastSelectedStep) {\n\t\t\tthis.deselectAll();\n\t\t\tlastSelectedStep.selected = true;\n\t\t\tlastSelectedStep.disabled = false;\n\t\t}\n\t}\n\n\t/**\n\t * Deselects all steps.\n\t * @private\n\t */\n\tdeselectAll() {\n\t\tthis.slottedSteps.forEach(step => {\n\t\t\tstep.selected = false;\n\t\t});\n\t}\n\n\t/**\n\t * Stores the scroll offsets of the steps,\n\t * e.g. the steps' starting point.\n\t *\n\t * **Note:** the disabled ones has negative offsets.\n\t * @private\n\t */\n\tstoreStepScrollOffsets() {\n\t\tthis.stepScrollOffsets = this.slottedSteps.map(step => {\n\t\t\tconst contentItem = this.getStepWrapperByRefId(step._id);\n\t\t\treturn contentItem.offsetTop + contentItem.offsetHeight;\n\t\t});\n\t}\n\n\t/**\n\t * Handles user click on steps' tabs within the header.\n\t * **Note:** the handler is bound in the template.\n\t * @private\n\t */\n\tonSelectionChangeRequested(e: MouseEvent) {\n\t\tthis.selectionRequestedByClick = true;\n\t\tthis.changeSelectionByStepAction(e.target as WizardTab);\n\t}\n\n\t/**\n\t * Handles user scrolling with debouncing.\n\t * **Note:** the handler is bound in the template.\n\t * @private\n\t */\n\tonScroll(e: MouseEvent) {\n\t\tif (this.selectionRequestedByClick) {\n\t\t\tthis.selectionRequestedByClick = false;\n\t\t\treturn;\n\t\t}\n\n\t\tdebounce(this.changeSelectionByScroll.bind(this, (e.target as HTMLElement).scrollTop), Wizard.SCROLL_DEBOUNCE_RATE);\n\t}\n\n\t/**\n\t * Handles when a step in the header is focused in order to update the `ItemNavigation`.\n\t * **Note:** the handler is bound in the template.\n\t * @private\n\t */\n\tonStepInHeaderFocused(e: FocusEvent) {\n\t\tthis._itemNavigation.setCurrentItem(e.target as WizardTab);\n\t}\n\n\t/**\n\t * Handles resize in order to:\n\t * (1) sync steps' scroll offset and selection\n\t * (2) adapt navition step header\n\t * @private\n\t */\n\tonStepResize() {\n\t\tthis.width = this.getBoundingClientRect().width;\n\t\tthis.contentHeight = this.getContentHeight();\n\n\t\tif (this._prevWidth !== this.width || this.contentHeight !== this._prevContentHeight) {\n\t\t\tthis._closeRespPopover();\n\t\t}\n\n\t\tthis._prevWidth = this.width;\n\t\tthis._prevContentHeight = this.contentHeight;\n\n\t\tthis._calcCurrentBreakpoint();\n\t}\n\n\tattachStepsResizeObserver() {\n\t\tthis.stepsDOM.forEach(stepDOM => {\n\t\t\tResizeHandler.deregister(stepDOM, this._onStepResize);\n\t\t\tResizeHandler.register(stepDOM, this._onStepResize);\n\t\t});\n\t}\n\n\tdetachStepsResizeObserver() {\n\t\tthis.stepsDOM.forEach(stepDOM => {\n\t\t\tResizeHandler.deregister(stepDOM, this._onStepResize);\n\t\t});\n\t}\n\n\t_calcCurrentBreakpoint() {\n\t\tconst breakpointDimensions = Object.keys(RESPONSIVE_BREAKPOINTS).reverse();\n\t\tconst breakpoint = breakpointDimensions.find((size: string) => Number(size) < this.width!);\n\t\tthis._breakpoint = breakpoint ? RESPONSIVE_BREAKPOINTS[breakpoint] : RESPONSIVE_BREAKPOINTS[\"0\"];\n\t}\n\n\t/**\n\t * Updates the expanded attribute for each ui5-wizard-tab based on the ui5-wizard width\n\t * @private\n\t */\n\t_adjustHeaderOverflow() {\n\t\tlet counter = 0;\n\t\tlet isForward = true;\n\t\tconst tabs = this.stepsInHeaderDOM;\n\n\t\tif (!tabs.length) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst iWidth = this.progressNavigatorListDOM.getBoundingClientRect().width;\n\t\tconst iCurrStep = this.getSelectedStepIndex();\n\t\tconst iStepsToShow = this.steps.length ? Math.floor(iWidth / MIN_STEP_WIDTH_WITH_TITLE) : Math.floor(iWidth / MIN_STEP_WIDTH_NO_TITLE);\n\n\t\t[...tabs].forEach((step, index) => {\n\t\t\tstep.setAttribute(EXPANDED_STEP, \"false\");\n\t\t\tstep.setAttribute(BEFORE_EXPANDED_STEP, \"false\");\n\t\t\tstep.setAttribute(AFTER_EXPANDED_STEP, \"false\");\n\n\t\t\t// Add \"data-ui5-wizard-after-current-tab\" to all tabs after the current one\n\t\t\tif (index > iCurrStep) {\n\t\t\t\ttabs[index].setAttribute(AFTER_CURRENT_STEP, \"true\");\n\t\t\t} else {\n\t\t\t\ttabs[index].removeAttribute(AFTER_CURRENT_STEP);\n\t\t\t}\n\t\t});\n\n\t\t// Add \"data-ui5-wizard-expanded-tab\" to the current step\n\t\tif (tabs[iCurrStep]) {\n\t\t\ttabs[iCurrStep].setAttribute(EXPANDED_STEP, \"true\");\n\t\t}\n\n\t\t// Set the \"data-ui5-wizard-expanded-tab\" to the steps that are expanded\n\t\t// The algorithm is as follows:\n\t\t// 1. A step towards the end is expanded\n\t\t// \t1.2. If there are no available steps towards the end a step towards the beginning is expanded\n\t\t// 2. A step towards the beginning is expanded\n\t\t// \t2.2. If there are no available steps towards the beginning a step towards the end is expanded\n\t\tfor (let i = 1; i < iStepsToShow; i++) {\n\t\t\tif (isForward) {\n\t\t\t\tcounter += 1;\n\t\t\t}\n\n\t\t\tif (isForward && tabs[iCurrStep + counter]) {\n\t\t\t\ttabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tisForward = !isForward;\n\t\t\t} else if (!isForward && tabs[iCurrStep - counter]) {\n\t\t\t\ttabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tisForward = !isForward;\n\t\t\t} else if (tabs[iCurrStep + counter + 1]) {\n\t\t\t\tcounter += 1;\n\t\t\t\ttabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tisForward = true;\n\t\t\t} else if (tabs[iCurrStep - counter]) {\n\t\t\t\ttabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, \"true\");\n\t\t\t\tcounter += 1;\n\t\t\t\tisForward = false;\n\t\t\t}\n\t\t}\n\n\t\t// mark the topmost steps of both groups (in the beginning and the end),\n\t\t// using the \"data-ui5-wizard-after-current-tab\" and \"data-ui5-wizard-expanded-tab-prev\" attributes\n\t\tfor (let i = 0; i < tabs.length; i++) {\n\t\t\tif (tabs[i].getAttribute(EXPANDED_STEP) === \"true\" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === \"false\") {\n\t\t\t\ttabs[i - 1].setAttribute(BEFORE_EXPANDED_STEP, \"true\");\n\t\t\t}\n\n\t\t\tif (tabs[i].getAttribute(EXPANDED_STEP) === \"false\" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === \"true\") {\n\t\t\t\ttabs[i].setAttribute(AFTER_EXPANDED_STEP, \"true\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t_isGroupAtStart(selectedStep: WizardTab) {\n\t\tconst iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);\n\t\treturn selectedStep.getAttribute(EXPANDED_STEP) === \"false\" && selectedStep.getAttribute(BEFORE_EXPANDED_STEP) === \"true\" && iStepNumber > 0;\n\t}\n\n\t_isGroupAtEnd(selectedStep: WizardTab) {\n\t\tconst iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);\n\t\treturn selectedStep.getAttribute(EXPANDED_STEP) === \"false\" && selectedStep.getAttribute(AFTER_EXPANDED_STEP) === \"true\" && (iStepNumber + 1 < this.steps.length);\n\t}\n\n\tasync _showPopover(oDomTarget: WizardTab, isAtStart: boolean) {\n\t\tconst tabs = Array.from(this.stepsInHeaderDOM);\n\t\tthis._groupedTabs = [];\n\n\t\tconst iFromStep = isAtStart ? 0 : this.stepsInHeaderDOM.indexOf(oDomTarget);\n\t\tconst iToStep = isAtStart ? this.stepsInHeaderDOM.indexOf(oDomTarget) : tabs.length - 1;\n\n\t\tfor (let i = iFromStep; i <= iToStep; i++) {\n\t\t\tthis._groupedTabs.push(tabs[i]);\n\t\t}\n\n\t\tconst responsivePopover = await this._respPopover();\n\t\tresponsivePopover.showAt(oDomTarget);\n\t}\n\n\tasync _onGroupedTabClick(e: MouseEvent) {\n\t\tconst eTarget = e.target as WizardTab;\n\n\t\tif (this._isGroupAtStart(eTarget)) {\n\t\t\treturn this._showPopover(eTarget, true);\n\t\t}\n\n\t\tif (this._isGroupAtEnd(eTarget)) {\n\t\t\treturn this._showPopover(eTarget, false);\n\t\t}\n\t}\n\n\t_onOverflowStepButtonClick(e: MouseEvent) {\n\t\tconst tabs = Array.from(this.stepsInHeaderDOM);\n\t\tconst eTarget = e.target as HTMLElement;\n\t\tconst stepRefId = eTarget.getAttribute(\"data-ui5-header-tab-ref-id\");\n\t\tconst stepToSelect = this.slottedSteps[Number(stepRefId) - 1];\n\t\tconst selectedStep = this.selectedStep;\n\t\tconst newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);\n\n\t\tthis.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);\n\t\tthis._closeRespPopover();\n\t\ttabs[newlySelectedIndex].focus();\n\t}\n\n\tasync _closeRespPopover() {\n\t\tconst responsivePopover = await this._respPopover();\n\t\tresponsivePopover && responsivePopover.close();\n\t}\n\n\tasync _respPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<ResponsivePopover>(`.ui5-wizard-responsive-popover`)!;\n\t}\n\n\t/**\n\t * Called upon `onScroll`.\n\t * Selects the closest step, based on the user scroll position.\n\t * @param scrollPos the current scroll position\n\t * @private\n\t */\n\tchangeSelectionByScroll(scrollPos: number) {\n\t\tconst newlySelectedIndex = this.getClosestStepIndexByScrollPos(scrollPos);\n\t\tconst stepToSelect = this.slottedSteps[newlySelectedIndex];\n\n\t\t// Skip if already selected - stop.\n\t\tif (this.selectedStepIndex === newlySelectedIndex) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If the calculated index is in range,\n\t\t// change selection and fire \"step-change\".\n\t\tif (!stepToSelect.disabled && newlySelectedIndex >= 0 && newlySelectedIndex <= this.stepsCount - 1) {\n\t\t\tthis.switchSelectionFromOldToNewStep(this.selectedStep, stepToSelect, newlySelectedIndex, false);\n\t\t\tthis.selectionRequestedByScroll = true;\n\t\t}\n\t}\n\n\t/**\n\t * Called upon `onSelectionChangeRequested`.\n\t * Selects the external step (ui5-wizard-step),\n\t * based on the clicked or activated via keyboard step in the header (ui5-wizard-tab).\n\t * @param stepInHeader the step equivalent in the header\n\t * @private\n\t */\n\tasync changeSelectionByStepAction(stepInHeader: WizardTab) {\n\t\tconst stepRefId = stepInHeader.getAttribute(\"data-ui5-content-ref-id\")!;\n\t\tconst selectedStep = this.selectedStep;\n\t\tconst stepToSelect = this.getStepByRefId(stepRefId);\n\t\tconst bExpanded = stepInHeader.getAttribute(EXPANDED_STEP) === \"true\";\n\t\tconst newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);\n\t\tconst firstElementChild = stepToSelect.firstElementChild as HTMLElement;\n\t\tconst firstFocusableElement = await getFirstFocusableElement(firstElementChild);\n\n\t\tif (firstFocusableElement) {\n\t\t\t// Focus the first focusable element within the step content corresponding to the currently focused tab\n\t\t\tfirstFocusableElement.focus();\n\t\t}\n\n\t\t// If the currently selected (active) step is clicked,\n\t\t// just scroll to its starting point and stop.\n\t\tif (selectedStep === stepToSelect) {\n\t\t\tthis.scrollToContentItem(this.selectedStepIndex);\n\t\t\treturn;\n\t\t}\n\n\t\tif (bExpanded || (!bExpanded && (newlySelectedIndex === 0 || newlySelectedIndex === this.steps.length - 1))) {\n\t\t\t// Change selection and fire \"step-change\".\n\t\t\tthis.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);\n\t\t}\n\t}\n\n\tgetContentHeight() {\n\t\tlet contentHeight = 0;\n\n\t\tthis.stepsDOM.forEach(step => {\n\t\t\tcontentHeight += step.getBoundingClientRect().height;\n\t\t});\n\n\t\treturn contentHeight;\n\t}\n\n\tgetStepAriaLabelText(step: WizardStep, ariaLabel: string) {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_STEP_ARIA_LABEL, ariaLabel);\n\t}\n\n\tget stepsDOM() {\n\t\treturn Array.from(this.shadowRoot!.querySelectorAll<HTMLElement>(\".ui5-wiz-content-item\"));\n\t}\n\n\tget progressNavigatorListDOM() {\n\t\treturn this.shadowRoot!.querySelector(\".ui5-wiz-nav-list\")!;\n\t}\n\n\tget _stepsInHeader() {\n\t\treturn this.getStepsInfo();\n\t}\n\n\tget _steps() {\n\t\tconst lastEnabledStepIndex = this.getLastEnabledStepIndex();\n\t\tconst stepsInfo = this.getStepsInfo();\n\n\t\treturn this.steps.map((step, idx) => {\n\t\t\tstep.stretch = idx === lastEnabledStepIndex;\n\t\t\tstep.stepContentAriaLabel = `${this.navStepDefaultHeading} ${stepsInfo[idx].number} ${stepsInfo[idx].titleText}`;\n\t\t\treturn step;\n\t\t});\n\t}\n\n\tget stepsCount() {\n\t\treturn this.slottedSteps.length;\n\t}\n\n\tget selectedStep() {\n\t\tif (this.selectedStepsCount) {\n\t\t\treturn this.selectedSteps[0];\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tget lastSelectedStep() {\n\t\tif (this.selectedStepsCount) {\n\t\t\treturn this.selectedSteps[this.selectedStepsCount - 1];\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tget selectedSteps() {\n\t\treturn this.slottedSteps.filter(step => step.selected);\n\t}\n\n\tget enabledSteps() {\n\t\treturn this.slottedSteps.filter(step => !step.disabled);\n\t}\n\n\tget selectedStepsCount() {\n\t\treturn this.selectedSteps.length;\n\t}\n\n\tget slottedSteps() {\n\t\treturn this.getSlottedNodes<WizardStep>(\"steps\");\n\t}\n\n\tget contentDOM() {\n\t\treturn this.shadowRoot!.querySelector(`.ui5-wiz-content`)!;\n\t}\n\n\tget stepsInHeaderDOM() {\n\t\treturn Array.from(this.shadowRoot!.querySelectorAll<WizardTab>(\"[ui5-wizard-tab]\"));\n\t}\n\n\tget enabledStepsInHeaderDOM() {\n\t\treturn this.stepsInHeaderDOM;\n\t}\n\n\tget navAriaRoleDescription() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);\n\t}\n\n\tget navAriaLabelText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_LABEL);\n\t}\n\n\tget navAriaDescribedbyText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_LIST_ARIA_DESCRIBEDBY);\n\t}\n\n\tget listAriaLabelText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_LIST_ARIA_LABEL);\n\t}\n\n\tget actionSheetStepsText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);\n\t}\n\n\tget navStepDefaultHeading() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_STEP_DEFAULT_HEADING);\n\t}\n\n\tget optionalStepText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_OPTIONAL_STEP_ARIA_LABEL);\n\t}\n\n\tget activeStepText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_STEP_ACTIVE);\n\t}\n\n\tget inactiveStepText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_STEP_INACTIVE);\n\t}\n\n\tget ariaLabelText() {\n\t\treturn Wizard.i18nBundle.getText(WIZARD_NAV_ARIA_ROLE_DESCRIPTION);\n\t}\n\n\tget effectiveStepSwitchThreshold() {\n\t\treturn clamp(this.stepSwitchThreshold, STEP_SWITCH_THRESHOLDS.MIN, STEP_SWITCH_THRESHOLDS.MAX);\n\t}\n\n\t/**\n\t * Returns an array of data objects, based on the user defined steps\n\t * to later build the steps (tabs) within the header.\n\t * @private\n\t */\n\tgetStepsInfo() {\n\t\tconst lastEnabledStepIndex = this.getLastEnabledStepIndex();\n\t\tconst stepsCount = this.stepsCount;\n\t\tconst selectedStepIndex = this.getSelectedStepIndex();\n\t\tlet inintialZIndex = this.steps.length + 10;\n\t\tlet accInfo;\n\n\t\tthis._adjustHeaderOverflow();\n\n\t\treturn this.steps.map((step, idx) => {\n\t\t\tconst pos = idx + 1;\n\n\t\t\t// Hide separator if it's the last step and it's not a branching one\n\t\t\tconst hideSeparator = (idx === stepsCount - 1) && !step.branching;\n\n\t\t\tconst isOptional = step.subtitleText ? this.optionalStepText : \"\";\n\t\t\tconst stepStateText = step.disabled ? this.inactiveStepText : this.activeStepText;\n\t\t\tconst ariaLabel = (step.titleText ? `${pos} ${step.titleText} ${stepStateText} ${isOptional}` : `${this.navStepDefaultHeading} ${pos} ${stepStateText} ${isOptional}`).trim();\n\t\t\tconst isAfterCurrent = (idx > selectedStepIndex);\n\n\t\t\taccInfo = {\n\t\t\t\t\"ariaSetsize\": stepsCount,\n\t\t\t\t\"ariaPosinset\": pos,\n\t\t\t\t\"ariaLabel\": this.getStepAriaLabelText(step, ariaLabel),\n\t\t\t};\n\n\t\t\tconst stepInfo: StepInfo = {\n\t\t\t\ticon: step.icon,\n\t\t\t\ttitleText: step.titleText,\n\t\t\t\tsubtitleText: step.subtitleText,\n\t\t\t\tnumber: pos,\n\t\t\t\tselected: step.selected,\n\t\t\t\tdisabled: step.disabled,\n\t\t\t\thideSeparator,\n\t\t\t\tactiveSeparator: (idx < lastEnabledStepIndex) && !step.disabled,\n\t\t\t\tbranchingSeparator: step.branching,\n\t\t\t\tpos,\n\t\t\t\taccInfo,\n\t\t\t\trefStepId: step._id,\n\t\t\t\ttabIndex: this.selectedStepIndex === idx ? \"0\" : \"-1\",\n\t\t\t\tstyles: {\n\t\t\t\t\tzIndex: isAfterCurrent ? --inintialZIndex : 1,\n\t\t\t\t},\n\t\t\t};\n\n\t\t\treturn stepInfo;\n\t\t});\n\t}\n\n\t/**\n\t * Returns the index of the selected step.\n\t * @private\n\t */\n\tgetSelectedStepIndex() {\n\t\tif (this.selectedStep) {\n\t\t\treturn this.slottedSteps.indexOf(this.selectedStep);\n\t\t}\n\t\treturn 0;\n\t}\n\n\t/**\n\t * Returns the index of the last enabled step.\n\t * @private\n\t */\n\tgetLastEnabledStepIndex() {\n\t\tlet lastEnabledStepIndex = 0;\n\n\t\tthis.slottedSteps.forEach((step, idx) => {\n\t\t\tif (!step.disabled) {\n\t\t\t\tlastEnabledStepIndex = idx;\n\t\t\t}\n\t\t});\n\n\t\treturn lastEnabledStepIndex;\n\t}\n\n\tgetStepByRefId(refId: string) {\n\t\treturn this.slottedSteps.find(step => step._id === refId)!;\n\t}\n\n\tgetStepWrapperByRefId(refId: string) {\n\t\treturn this.shadowRoot!.querySelector<HTMLElement>(`[data-ui5-content-item-ref-id=${refId}]`)!;\n\t}\n\n\tgetStepWrapperByIdx(idx: number) {\n\t\treturn this.getStepWrapperByRefId(this.steps[idx]._id);\n\t}\n\n\t/**\n\t * Scrolls to the content of the selected step, used in `onAfterRendering`.\n\t * @private\n\t */\n\tscrollToSelectedStep() {\n\t\tif (!this.selectionRequestedByScroll) {\n\t\t\tthis.scrollToContentItem(this.selectedStepIndex);\n\t\t}\n\t\tthis.selectionRequestedByScroll = false;\n\t}\n\n\t/**\n\t * Scrolls to the content item within the `ui5-wizard` shadowDOM\n\t * by given step index.\n\t * @private\n\t * @param stepIndex the index of a step\n\t */\n\tscrollToContentItem(stepIndex: number) {\n\t\tthis.contentDOM.scrollTop = this.getClosestScrollPosByStepIndex(stepIndex);\n\t}\n\n\t/**\n\t * Returns to closest scroll position for the given step index.\n\t * @private\n\t * @param stepIndex the index of a step\n\t */\n\tgetClosestScrollPosByStepIndex(stepIndex: number) {\n\t\tif (stepIndex === 0) {\n\t\t\treturn 0;\n\t\t}\n\n\t\t// It's possible to have [enabled - 0, disabled - 1, enabled - 2, disabled - 3] step definition and similar.\n\t\t// Consider selection of the third step at index 2, the wizard should scroll where the previous step ends,\n\t\t// but in this case the 2nd step is disabled, so we have to fallback to the first possible step.\n\t\tfor (let closestStepIndex = stepIndex - 1; closestStepIndex >= 0; closestStepIndex--) {\n\t\t\tif (this.stepScrollOffsets[closestStepIndex] > 0) {\n\t\t\t\treturn this.stepScrollOffsets[closestStepIndex];\n\t\t\t}\n\t\t}\n\n\t\treturn 0;\n\t}\n\n\t/**\n\t * Returns the closest step index by given scroll position.\n\t * @private\n\t * @param scrollPos the scroll position\n\t */\n\tgetClosestStepIndexByScrollPos(scrollPos: number) {\n\t\tfor (let closestStepIndex = 0; closestStepIndex <= this.stepScrollOffsets.length - 1; closestStepIndex++) {\n\t\t\tconst stepScrollOffset = this.stepScrollOffsets[closestStepIndex];\n\t\t\tconst step = this.getStepWrapperByIdx(closestStepIndex);\n\t\t\tconst switchStepBoundary = step.offsetTop + (step.offsetHeight * this.effectiveStepSwitchThreshold);\n\n\t\t\tif (stepScrollOffset > 0 && scrollPos < stepScrollOffset) {\n\t\t\t\tif (scrollPos > switchStepBoundary) {\n\t\t\t\t\treturn closestStepIndex + 1;\n\t\t\t\t}\n\n\t\t\t\treturn closestStepIndex;\n\t\t\t}\n\t\t}\n\n\t\treturn this.selectedStepIndex;\n\t}\n\n\t/**\n\t * Switches the selection from the old step to the newly selected step.\n\t * @param selectedStep the old step\n\t * @param stepToSelect the step to be selected\n\t * @param stepToSelectIndex the index of the newly selected step\n\t * @param changeWithClick the selection changed due to user click in the step navigation\n\t * @private\n\t */\n\tswitchSelectionFromOldToNewStep(selectedStep: WizardStep | null, stepToSelect: WizardStep, stepToSelectIndex: number, changeWithClick: boolean) {\n\t\tif (selectedStep && stepToSelect) {\n\t\t\t// keep the selection if next step is disabled\n\t\t\tif (!stepToSelect.disabled) {\n\t\t\t\tselectedStep.selected = false;\n\t\t\t\tstepToSelect.selected = true;\n\t\t\t}\n\n\t\t\tthis.fireEvent<WizardStepChangeEventDetail>(\"step-change\", {\n\t\t\t\tstep: stepToSelect,\n\t\t\t\tpreviousStep: selectedStep,\n\t\t\t\tchangeWithClick,\n\t\t\t});\n\n\t\t\tthis.selectedStepIndex = stepToSelectIndex;\n\t\t}\n\t}\n\n\t/**\n\t * Sorter method for sorting an array in ascending order.\n\t * @private\n\t */\n\tsortAscending(a: number, b: number) {\n\t\tif (a < b) {\n\t\t\treturn -1;\n\t\t}\n\t\tif (a > b) {\n\t\t\treturn 1;\n\t\t}\n\t\treturn 0;\n\t}\n}\n\nWizard.define();\n\nexport type {\n\tWizardStepChangeEventDetail,\n};\n\nexport default Wizard;\n"]}