@openui5/sap.ui.webc.fiori 1.115.1 → 1.117.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 (278) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +4 -4
  4. package/src/sap/ui/webc/fiori/.library +1 -1
  5. package/src/sap/ui/webc/fiori/Bar.js +1 -1
  6. package/src/sap/ui/webc/fiori/BarcodeScannerDialog.js +1 -1
  7. package/src/sap/ui/webc/fiori/DynamicSideContent.js +1 -1
  8. package/src/sap/ui/webc/fiori/FilterItem.js +9 -1
  9. package/src/sap/ui/webc/fiori/FilterItemOption.js +2 -2
  10. package/src/sap/ui/webc/fiori/FlexibleColumnLayout.js +3 -3
  11. package/src/sap/ui/webc/fiori/IllustratedMessage.js +27 -1
  12. package/src/sap/ui/webc/fiori/MediaGallery.js +2 -2
  13. package/src/sap/ui/webc/fiori/MediaGalleryItem.js +1 -1
  14. package/src/sap/ui/webc/fiori/NotificationAction.js +17 -1
  15. package/src/sap/ui/webc/fiori/NotificationListGroupItem.js +9 -2
  16. package/src/sap/ui/webc/fiori/NotificationListItem.js +10 -3
  17. package/src/sap/ui/webc/fiori/Page.js +2 -2
  18. package/src/sap/ui/webc/fiori/ProductSwitch.js +1 -1
  19. package/src/sap/ui/webc/fiori/ProductSwitchItem.js +2 -3
  20. package/src/sap/ui/webc/fiori/ShellBar.js +49 -1
  21. package/src/sap/ui/webc/fiori/ShellBarItem.js +1 -1
  22. package/src/sap/ui/webc/fiori/SideNavigation.js +2 -2
  23. package/src/sap/ui/webc/fiori/SideNavigationItem.js +11 -2
  24. package/src/sap/ui/webc/fiori/SideNavigationSubItem.js +10 -1
  25. package/src/sap/ui/webc/fiori/SortItem.js +1 -1
  26. package/src/sap/ui/webc/fiori/Timeline.js +2 -2
  27. package/src/sap/ui/webc/fiori/TimelineItem.js +1 -1
  28. package/src/sap/ui/webc/fiori/UploadCollection.js +2 -2
  29. package/src/sap/ui/webc/fiori/UploadCollectionItem.js +1 -1
  30. package/src/sap/ui/webc/fiori/ViewSettingsDialog.js +5 -5
  31. package/src/sap/ui/webc/fiori/Wizard.js +23 -4
  32. package/src/sap/ui/webc/fiori/WizardStep.js +1 -1
  33. package/src/sap/ui/webc/fiori/illustrations/AddDimensions.js +9 -0
  34. package/src/sap/ui/webc/fiori/illustrations/AllIllustrations.js +9 -0
  35. package/src/sap/ui/webc/fiori/illustrations/NoColumnsSet.js +9 -0
  36. package/src/sap/ui/webc/fiori/illustrations/NoDimensionsSet.js +9 -0
  37. package/src/sap/ui/webc/fiori/illustrations/Survey.js +9 -0
  38. package/src/sap/ui/webc/fiori/illustrations/UploadToCloud.js +9 -0
  39. package/src/sap/ui/webc/fiori/library.js +97 -17
  40. package/src/sap/ui/webc/fiori/thirdparty/Bar.js +47 -97
  41. package/src/sap/ui/webc/fiori/thirdparty/BarcodeScannerDialog.js +86 -105
  42. package/src/sap/ui/webc/fiori/thirdparty/DynamicSideContent.js +93 -225
  43. package/src/sap/ui/webc/fiori/thirdparty/FilterItem.js +19 -52
  44. package/src/sap/ui/webc/fiori/thirdparty/FilterItemOption.js +19 -43
  45. package/src/sap/ui/webc/fiori/thirdparty/FlexibleColumnLayout.js +196 -333
  46. package/src/sap/ui/webc/fiori/thirdparty/IllustratedMessage.js +126 -267
  47. package/src/sap/ui/webc/fiori/thirdparty/Interfaces.js +28 -41
  48. package/src/sap/ui/webc/fiori/thirdparty/MediaGallery.js +105 -236
  49. package/src/sap/ui/webc/fiori/thirdparty/MediaGalleryItem.js +76 -164
  50. package/src/sap/ui/webc/fiori/thirdparty/NotificationAction.js +51 -77
  51. package/src/sap/ui/webc/fiori/thirdparty/NotificationListGroupItem.js +53 -90
  52. package/src/sap/ui/webc/fiori/thirdparty/NotificationListItem.js +72 -146
  53. package/src/sap/ui/webc/fiori/thirdparty/NotificationListItemBase.js +67 -139
  54. package/src/sap/ui/webc/fiori/thirdparty/Page.js +42 -126
  55. package/src/sap/ui/webc/fiori/thirdparty/ProductSwitch.js +45 -65
  56. package/src/sap/ui/webc/fiori/thirdparty/ProductSwitchItem.js +61 -146
  57. package/src/sap/ui/webc/fiori/thirdparty/ShellBar.js +288 -418
  58. package/src/sap/ui/webc/fiori/thirdparty/ShellBarItem.js +41 -67
  59. package/src/sap/ui/webc/fiori/thirdparty/SideNavigation.js +127 -141
  60. package/src/sap/ui/webc/fiori/thirdparty/SideNavigationItem.js +52 -100
  61. package/src/sap/ui/webc/fiori/thirdparty/SideNavigationSubItem.js +30 -62
  62. package/src/sap/ui/webc/fiori/thirdparty/SortItem.js +19 -42
  63. package/src/sap/ui/webc/fiori/thirdparty/Timeline.js +53 -96
  64. package/src/sap/ui/webc/fiori/thirdparty/TimelineItem.js +63 -135
  65. package/src/sap/ui/webc/fiori/thirdparty/UploadCollection.js +111 -207
  66. package/src/sap/ui/webc/fiori/thirdparty/UploadCollectionItem.js +153 -268
  67. package/src/sap/ui/webc/fiori/thirdparty/ViewSettingsDialog.js +154 -244
  68. package/src/sap/ui/webc/fiori/thirdparty/Wizard.js +165 -236
  69. package/src/sap/ui/webc/fiori/thirdparty/WizardStep.js +27 -117
  70. package/src/sap/ui/webc/fiori/thirdparty/WizardTab.js +53 -137
  71. package/src/sap/ui/webc/fiori/thirdparty/css/themes/Bar.css +1 -1
  72. package/src/sap/ui/webc/fiori/thirdparty/css/themes/BarcodeScannerDialog.css +1 -1
  73. package/src/sap/ui/webc/fiori/thirdparty/css/themes/DynamicSideContent.css +1 -1
  74. package/src/sap/ui/webc/fiori/thirdparty/css/themes/FlexibleColumnLayout.css +1 -1
  75. package/src/sap/ui/webc/fiori/thirdparty/css/themes/IllustratedMessage.css +1 -1
  76. package/src/sap/ui/webc/fiori/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
  77. package/src/sap/ui/webc/fiori/thirdparty/css/themes/MediaGallery.css +1 -1
  78. package/src/sap/ui/webc/fiori/thirdparty/css/themes/MediaGalleryItem.css +1 -1
  79. package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListGroupItem.css +1 -1
  80. package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListItem.css +1 -1
  81. package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListItemBase.css +1 -1
  82. package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationOverflowActionsPopover.css +1 -1
  83. package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationPrioIcon.css +1 -1
  84. package/src/sap/ui/webc/fiori/thirdparty/css/themes/Page.css +1 -1
  85. package/src/sap/ui/webc/fiori/thirdparty/css/themes/ProductSwitch.css +1 -1
  86. package/src/sap/ui/webc/fiori/thirdparty/css/themes/ProductSwitchItem.css +1 -1
  87. package/src/sap/ui/webc/fiori/thirdparty/css/themes/ShellBar.css +1 -1
  88. package/src/sap/ui/webc/fiori/thirdparty/css/themes/ShellBarPopover.css +1 -1
  89. package/src/sap/ui/webc/fiori/thirdparty/css/themes/SideNavigation.css +1 -1
  90. package/src/sap/ui/webc/fiori/thirdparty/css/themes/SideNavigationPopover.css +1 -1
  91. package/src/sap/ui/webc/fiori/thirdparty/css/themes/Timeline.css +1 -1
  92. package/src/sap/ui/webc/fiori/thirdparty/css/themes/TimelineItem.css +1 -1
  93. package/src/sap/ui/webc/fiori/thirdparty/css/themes/UploadCollection.css +1 -1
  94. package/src/sap/ui/webc/fiori/thirdparty/css/themes/UploadCollectionItem.css +1 -1
  95. package/src/sap/ui/webc/fiori/thirdparty/css/themes/ViewSettingsDialog.css +1 -1
  96. package/src/sap/ui/webc/fiori/thirdparty/css/themes/Wizard.css +1 -1
  97. package/src/sap/ui/webc/fiori/thirdparty/css/themes/WizardPopover.css +1 -1
  98. package/src/sap/ui/webc/fiori/thirdparty/css/themes/WizardTab.css +1 -1
  99. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
  100. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  101. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  102. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  103. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  104. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  105. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  106. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
  107. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  108. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  109. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  110. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  111. package/src/sap/ui/webc/fiori/thirdparty/fcl-utils/FCLLayout.js +25 -55
  112. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
  113. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
  114. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
  115. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
  116. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
  117. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
  118. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
  119. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
  120. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
  121. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
  122. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
  123. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
  124. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
  125. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
  126. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
  127. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
  128. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
  129. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
  130. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
  131. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
  132. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
  133. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
  134. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
  135. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
  136. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
  137. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
  138. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
  139. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
  140. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
  141. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
  142. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
  143. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
  144. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
  145. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
  146. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
  147. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
  148. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
  149. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
  150. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
  151. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
  152. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
  153. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
  154. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
  155. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
  156. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
  157. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
  158. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
  159. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
  160. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
  161. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
  162. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
  163. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
  164. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
  165. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
  166. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
  167. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
  168. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
  169. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
  170. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
  171. package/src/sap/ui/webc/fiori/thirdparty/generated/i18n/i18n-defaults.js +104 -29
  172. package/src/sap/ui/webc/fiori/thirdparty/generated/js-imports/Illustrations.js +202 -0
  173. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarTemplate.lit.js +3 -1
  174. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarcodeScannerDialogTemplate.lit.js +3 -1
  175. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/DynamicSideContentTemplate.lit.js +9 -1
  176. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FlexibleColumnLayoutTemplate.lit.js +3 -1
  177. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/IllustratedMessageTemplate.lit.js +28 -7
  178. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryItemTemplate.lit.js +12 -4
  179. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryTemplate.lit.js +21 -7
  180. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListGroupItemTemplate.lit.js +27 -9
  181. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListItemTemplate.lit.js +30 -10
  182. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js +6 -2
  183. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/PageTemplate.lit.js +3 -1
  184. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchItemTemplate.lit.js +27 -9
  185. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchTemplate.lit.js +3 -1
  186. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarPopoverTemplate.lit.js +9 -3
  187. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarTemplate.lit.js +73 -24
  188. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationPopoverTemplate.lit.js +18 -0
  189. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationTemplate.lit.js +30 -10
  190. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineItemTemplate.lit.js +21 -7
  191. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineTemplate.lit.js +6 -2
  192. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionItemTemplate.lit.js +51 -15
  193. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionTemplate.lit.js +9 -3
  194. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ViewSettingsDialogTemplate.lit.js +48 -16
  195. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardPopoverTemplate.lit.js +6 -2
  196. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTabTemplate.lit.js +15 -5
  197. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTemplate.lit.js +9 -3
  198. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Bar.css.js +5 -4
  199. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/BarcodeScannerDialog.css.js +5 -4
  200. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/DynamicSideContent.css.js +5 -4
  201. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/FlexibleColumnLayout.css.js +5 -4
  202. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/IllustratedMessage.css.js +5 -4
  203. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
  204. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGallery.css.js +5 -4
  205. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGalleryItem.css.js +5 -4
  206. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListGroupItem.css.js +5 -4
  207. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItem.css.js +5 -4
  208. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItemBase.css.js +5 -4
  209. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationOverflowActionsPopover.css.js +5 -4
  210. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationPrioIcon.css.js +5 -4
  211. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Page.css.js +5 -4
  212. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitch.css.js +5 -4
  213. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitchItem.css.js +5 -4
  214. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBar.css.js +5 -4
  215. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBarPopover.css.js +5 -4
  216. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigation.css.js +5 -4
  217. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigationPopover.css.js +5 -4
  218. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Timeline.css.js +5 -4
  219. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/TimelineItem.css.js +5 -4
  220. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollection.css.js +5 -4
  221. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollectionItem.css.js +5 -4
  222. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ViewSettingsDialog.css.js +5 -4
  223. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Wizard.css.js +5 -4
  224. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardPopover.css.js +5 -4
  225. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardTab.css.js +5 -4
  226. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
  227. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
  228. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
  229. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
  230. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
  231. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
  232. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
  233. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
  234. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
  235. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
  236. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
  237. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
  238. package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddDimensions.js +41 -0
  239. package/src/sap/ui/webc/fiori/thirdparty/illustrations/AllIllustrations.js +3 -0
  240. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoColumnsSet.js +41 -0
  241. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoDimensionsSet.js +41 -0
  242. package/src/sap/ui/webc/fiori/thirdparty/illustrations/Survey.js +41 -0
  243. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UploadToCloud.js +41 -0
  244. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-AddDimensions.js +48 -0
  245. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoColumnsSet.js +45 -0
  246. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoDimensionsSet.js +49 -0
  247. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-Survey.js +32 -0
  248. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UploadToCloud.js +40 -0
  249. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-AddDimensions.js +44 -0
  250. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoColumnsSet.js +46 -0
  251. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoDimensionsSet.js +48 -0
  252. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-Survey.js +31 -0
  253. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UploadToCloud.js +34 -0
  254. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-AddDimensions.js +48 -0
  255. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoColumnsSet.js +46 -0
  256. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoDimensionsSet.js +52 -0
  257. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-Survey.js +42 -0
  258. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UploadToCloud.js +40 -0
  259. package/src/sap/ui/webc/fiori/thirdparty/types/BarDesign.js +14 -26
  260. package/src/sap/ui/webc/fiori/thirdparty/types/FCLLayout.js +42 -56
  261. package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageSize.js +19 -27
  262. package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageType.js +128 -110
  263. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryItemLayout.js +12 -24
  264. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryLayout.js +13 -25
  265. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuHorizontalAlign.js +12 -24
  266. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuVerticalAlign.js +12 -24
  267. package/src/sap/ui/webc/fiori/thirdparty/types/PageBackgroundDesign.js +13 -27
  268. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentFallDown.js +14 -26
  269. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentPosition.js +12 -24
  270. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentVisibility.js +15 -27
  271. package/src/sap/ui/webc/fiori/thirdparty/types/TimelineLayout.js +12 -25
  272. package/src/sap/ui/webc/fiori/thirdparty/types/UploadCollectionDnDMode.js +11 -25
  273. package/src/sap/ui/webc/fiori/thirdparty/types/UploadState.js +13 -27
  274. package/src/sap/ui/webc/fiori/thirdparty/types/ViewSettingsDialogMode.js +12 -25
  275. package/src/sap/ui/webc/fiori/thirdparty/types/WizardContentLayout.js +34 -0
  276. package/src/sap/ui/webc/fiori/thirdparty/upload-utils/UploadCollectionBodyDnD.js +2 -2
  277. package/ui5.yaml +10 -6
  278. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +0 -14
@@ -1,4 +1,4 @@
1
- sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/types/Float", "sap/ui/webc/common/thirdparty/base/util/clamp", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/FocusableElements", "sap/ui/webc/main/thirdparty/Button", "sap/ui/webc/main/thirdparty/ResponsivePopover", "./generated/i18n/i18n-defaults", "./WizardTab", "./WizardStep", "./generated/templates/WizardTemplate.lit", "./generated/templates/WizardPopoverTemplate.lit", "./generated/themes/Wizard.css", "./generated/themes/WizardPopover.css"], function (_exports, _UI5Element, _LitRenderer, _i18nBundle, _ItemNavigation, _NavigationMode, _Float, _clamp, _ResizeHandler, _Device, _debounce, _FocusableElements, _Button, _ResponsivePopover, _i18nDefaults, _WizardTab, _WizardStep, _WizardTemplate, _WizardPopoverTemplate, _Wizard, _WizardPopover) {
1
+ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/types/Float", "sap/ui/webc/common/thirdparty/base/util/clamp", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/FocusableElements", "sap/ui/webc/main/thirdparty/Button", "sap/ui/webc/main/thirdparty/ResponsivePopover", "./types/WizardContentLayout", "./generated/i18n/i18n-defaults", "./WizardTab", "./WizardStep", "./generated/templates/WizardTemplate.lit", "./generated/templates/WizardPopoverTemplate.lit", "./generated/themes/Wizard.css", "./generated/themes/WizardPopover.css"], function (_exports, _UI5Element, _property, _slot, _event, _customElement, _LitRenderer, _i18nBundle, _ItemNavigation, _NavigationMode, _Float, _clamp, _ResizeHandler, _Device, _debounce, _FocusableElements, _Button, _ResponsivePopover, _WizardContentLayout, _i18nDefaults, _WizardTab, _WizardStep, _WizardTemplate, _WizardPopoverTemplate, _Wizard, _WizardPopover) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
@@ -6,6 +6,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
6
6
  });
7
7
  _exports.default = void 0;
8
8
  _UI5Element = _interopRequireDefault(_UI5Element);
9
+ _property = _interopRequireDefault(_property);
10
+ _slot = _interopRequireDefault(_slot);
11
+ _event = _interopRequireDefault(_event);
12
+ _customElement = _interopRequireDefault(_customElement);
9
13
  _LitRenderer = _interopRequireDefault(_LitRenderer);
10
14
  _ItemNavigation = _interopRequireDefault(_ItemNavigation);
11
15
  _NavigationMode = _interopRequireDefault(_NavigationMode);
@@ -15,6 +19,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
15
19
  _debounce = _interopRequireDefault(_debounce);
16
20
  _Button = _interopRequireDefault(_Button);
17
21
  _ResponsivePopover = _interopRequireDefault(_ResponsivePopover);
22
+ _WizardContentLayout = _interopRequireDefault(_WizardContentLayout);
18
23
  _WizardTab = _interopRequireDefault(_WizardTab);
19
24
  _WizardStep = _interopRequireDefault(_WizardStep);
20
25
  _WizardTemplate = _interopRequireDefault(_WizardTemplate);
@@ -22,12 +27,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
22
27
  _Wizard = _interopRequireDefault(_Wizard);
23
28
  _WizardPopover = _interopRequireDefault(_WizardPopover);
24
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
- // Texts
26
-
27
- // Step in header and content
28
-
29
- // Template and Styles
30
-
30
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
31
+ var c = arguments.length,
32
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
33
+ d;
34
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
35
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
36
+ };
37
+ var Wizard_1;
31
38
  const MIN_STEP_WIDTH_NO_TITLE = 64;
32
39
  const MIN_STEP_WIDTH_WITH_TITLE = 200;
33
40
  const EXPANDED_STEP = "data-ui5-wizard-expanded-tab";
@@ -39,99 +46,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
39
46
  DEFAULT: 0.7,
40
47
  MAX: 1
41
48
  };
42
-
43
- /**
44
- * @public
45
- */
46
- const metadata = {
47
- tag: "ui5-wizard",
48
- managedSlots: true,
49
- fastNavigation: true,
50
- properties: /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */{
51
- /**
52
- * Defines the width of the <code>ui5-wizard</code>.
53
- * @private
54
- */
55
- width: {
56
- type: _Float.default
57
- },
58
- /**
59
- * Defines the threshold to switch between steps upon user scrolling.
60
- * <br><br>
61
- *
62
- * <b>For Example:</b>
63
- * <br>
64
- * (1) To switch to the next step, when half of the step is scrolled out - set <code>step-switch-threshold="0.5"</code>.
65
- * (2) To switch to the next step, when the entire current step is scrolled out - set <code>step-switch-threshold="1"</code>.
66
- *
67
- * <br><br>
68
- * <b>Note:</b> Supported values are between 0.5 and 1
69
- * and values out of the range will be normalized to 0.5 and 1 respectively.
70
- * @private
71
- * @type {Float}
72
- * @defaultvalue 0.7
73
- * @since 1.0.0-rc.13
74
- */
75
- stepSwitchThreshold: {
76
- type: _Float.default,
77
- defaultValue: STEP_SWITCH_THRESHOLDS.DEFAULT
78
- },
79
- /**
80
- * Defines the height of the <code>ui5-wizard</code> content.
81
- * @private
82
- */
83
- contentHeight: {
84
- type: _Float.default
85
- },
86
- _groupedTabs: {
87
- type: String,
88
- multiple: true
89
- }
90
- },
91
- slots: /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */{
92
- /**
93
- * Defines the steps.
94
- * <br><br>
95
- * <b>Note:</b> Use the available <code>ui5-wizard-step</code> component.
96
- *
97
- * @type {sap.ui.webcomponents.fiori.IWizardStep[]}
98
- * @public
99
- * @slot steps
100
- */
101
- "default": {
102
- propertyName: "steps",
103
- type: HTMLElement,
104
- "individualSlots": true,
105
- invalidateOnChildChange: true
106
- }
107
- },
108
- events: /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */{
109
- /**
110
- * Fired when the step is changed by user interaction - either with scrolling,
111
- * or by clicking on the steps within the component header.
112
- *
113
- * @event sap.ui.webcomponents.fiori.Wizard#step-change
114
- * @param {HTMLElement} step The new step.
115
- * @param {HTMLElement} previousStep The previous step.
116
- * @param {boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.
117
- * @public
118
- */
119
- "step-change": {
120
- detail: {
121
- step: {
122
- type: HTMLElement
123
- },
124
- previousStep: {
125
- type: HTMLElement
126
- },
127
- changeWithClick: {
128
- Boolean
129
- }
130
- }
131
- }
132
- }
49
+ const RESPONSIVE_BREAKPOINTS = {
50
+ "0": "S",
51
+ "599": "M",
52
+ "1023": "L",
53
+ "1439": "XL"
133
54
  };
134
-
135
55
  /**
136
56
  * @class
137
57
  *
@@ -145,7 +65,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
145
65
  * The top most area of the <code>ui5-wizard</code> is occupied by the navigation area.
146
66
  * It shows the sequence of steps, where the recommended number of steps is between 3 and 8 steps.
147
67
  * <ul>
148
- * <li> Steps can have different visual representations - numbers or icons.
68
+ * <li> Steps can have different visual representations - numbers or icons.</li>
149
69
  * <li> Steps might have labels for better readability - titleText and subTitleText.</li>
150
70
  * <li> Steps are defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.</li>
151
71
  * </ul>
@@ -154,6 +74,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
154
74
  * <br>
155
75
  * <b>Note:</b> If multiple selected steps are defined, the last step will be selected.
156
76
  *
77
+ * <h3>CSS Shadow Parts</h3>
78
+ *
79
+ * <ui5-link target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.
80
+ * <br>
81
+ * The <code>ui5-wizard</code> exposes the following CSS Shadow Parts:
82
+ * <ul>
83
+ * <li>navigator - Used to style the progress navigator of the <code>ui5-wizard</code>.</li>
84
+ * <li>step-content - Used to style a <code>ui5-wizard-step</code> container.</li>
85
+ * </ul>
86
+ *
157
87
  * <h3>Keyboard Handling</h3>
158
88
  * The user can navigate using the following keyboard shortcuts:
159
89
  * <br>
@@ -212,44 +142,36 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
212
142
  * 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.
213
143
  *
214
144
  * <h3>ES6 Module Import</h3>
215
- * <code>import "@ui5/webcomponents-fiori/dist/Wizard.js";</code> (includes <ui5-wizard-step>)
145
+ * <code>import "@ui5/webcomponents-fiori/dist/Wizard.js";</code> (includes &lt;ui5-wizard-step/&gt;)
216
146
  *
217
147
  * @constructor
218
148
  * @author SAP SE
219
- * @alias sap.ui.webcomponents.fiori.Wizard
220
- * @extends UI5Element
149
+ * @alias sap.ui.webc.fiori.Wizard
150
+ * @extends sap.ui.webc.base.UI5Element
221
151
  * @tagname ui5-wizard
222
152
  * @since 1.0.0-rc.10
223
- * @appenddocs WizardStep
153
+ * @appenddocs sap.ui.webc.fiori.WizardStep
224
154
  * @public
225
155
  */
226
- class Wizard extends _UI5Element.default {
156
+ let Wizard = Wizard_1 = class Wizard extends _UI5Element.default {
227
157
  constructor() {
228
158
  super();
229
-
230
159
  // Stores the scroll offsets of the steps,
231
160
  // e.g. the steps' starting point.
232
161
  this.stepScrollOffsets = [];
233
-
234
162
  // Stores references to the grouped steps.
235
163
  this._groupedTabs = [];
236
-
237
164
  // Keeps track of the currently selected step index.
238
165
  this.selectedStepIndex = 0;
239
-
240
166
  // Keeps track of the previously selected step index.
241
167
  this.previouslySelectedStepIndex = 0;
242
-
243
168
  // Indicates that selection will be changed
244
169
  // due to user click.
245
170
  this.selectionRequestedByClick = false;
246
-
247
171
  // Stores the previous width
248
172
  this._prevWidth = 0;
249
-
250
173
  // Stores the previous height
251
174
  this._prevContentHeight = 0;
252
-
253
175
  // Indicates that selection will be changed
254
176
  // due to user scroll.
255
177
  this.selectionRequestedByScroll = false;
@@ -259,12 +181,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
259
181
  });
260
182
  this._onStepResize = this.onStepResize.bind(this);
261
183
  }
262
- static get metadata() {
263
- return metadata;
264
- }
265
- static get render() {
266
- return _LitRenderer.default;
267
- }
268
184
  get classes() {
269
185
  return {
270
186
  popover: {
@@ -274,30 +190,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
274
190
  }
275
191
  };
276
192
  }
277
- static get styles() {
278
- return _Wizard.default;
279
- }
280
- static get staticAreaStyles() {
281
- return _WizardPopover.default;
282
- }
283
- static get template() {
284
- return _WizardTemplate.default;
285
- }
286
- static get dependencies() {
287
- return [_WizardTab.default, _WizardStep.default, _ResponsivePopover.default, _Button.default];
288
- }
289
193
  static async onDefine() {
290
- Wizard.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori");
291
- }
292
- static get PHONE_BREAKPOINT() {
293
- return 599;
194
+ Wizard_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori");
294
195
  }
295
196
  static get SCROLL_DEBOUNCE_RATE() {
296
197
  return 25;
297
198
  }
298
- static get staticAreaTemplate() {
299
- return _WizardPopoverTemplate.default;
300
- }
301
199
  onExitDOM() {
302
200
  this.detachStepsResizeObserver();
303
201
  }
@@ -312,7 +210,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
312
210
  this.attachStepsResizeObserver();
313
211
  this.previouslySelectedStepIndex = this.selectedStepIndex;
314
212
  }
315
-
316
213
  /**
317
214
  * Normalizes the step selection as follows:
318
215
  * (1) If there is no selected step - the first step is going to be selected.
@@ -324,28 +221,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
324
221
  if (this.stepsCount === 0) {
325
222
  return;
326
223
  }
327
-
328
224
  // If no selected steps -> select the first step.
329
225
  if (this.selectedStepsCount === 0) {
330
226
  this.selectFirstStep();
331
227
  console.warn("Selecting the first step: no selected step is defined."); // eslint-disable-line
332
228
  }
333
-
334
229
  // If there are multiple selected steps -> keep the last selected one.
335
230
  if (this.selectedStepsCount > 1) {
336
231
  this.selectLastSelectedStep();
337
232
  console.warn(`Selecting the last step defined as selected: multiple selected steps are defined.`); // eslint-disable-line
338
233
  }
339
-
340
234
  // If the selected step is defined as disabled - log warning.
341
235
  if (this.selectedStep && this.selectedStep.disabled) {
342
236
  console.warn("The selected step is disabled: you need to enable it in order to interact with the step."); // eslint-disable-line
343
237
  }
344
-
345
238
  // Place for improvement: If the selected step is not the first, enable all the prior steps
346
239
  this.selectedStepIndex = this.getSelectedStepIndex();
347
240
  }
348
-
349
241
  /**
350
242
  * Selects the first step.
351
243
  * @private
@@ -355,7 +247,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
355
247
  this.slottedSteps[0].selected = true;
356
248
  this.slottedSteps[0].disabled = false;
357
249
  }
358
-
359
250
  /**
360
251
  * Selects the last step from multiple selected ones.
361
252
  * @private
@@ -368,7 +259,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
368
259
  lastSelectedStep.disabled = false;
369
260
  }
370
261
  }
371
-
372
262
  /**
373
263
  * Deselects all steps.
374
264
  * @private
@@ -378,7 +268,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
378
268
  step.selected = false;
379
269
  });
380
270
  }
381
-
382
271
  /**
383
272
  * Stores the scroll offsets of the steps,
384
273
  * e.g. the steps' starting point.
@@ -392,42 +281,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
392
281
  return contentItem.offsetTop + contentItem.offsetHeight;
393
282
  });
394
283
  }
395
-
396
284
  /**
397
285
  * Handles user click on steps' tabs within the header.
398
286
  * <b>Note:</b> the handler is bound in the template.
399
- * @param {Event} event
287
+ * @param {MouseEvent} e
400
288
  * @private
401
289
  */
402
- onSelectionChangeRequested(event) {
290
+ onSelectionChangeRequested(e) {
403
291
  this.selectionRequestedByClick = true;
404
- this.changeSelectionByStepAction(event.target);
292
+ this.changeSelectionByStepAction(e.target);
405
293
  }
406
-
407
294
  /**
408
295
  * Handles user scrolling with debouncing.
409
296
  * <b>Note:</b> the handler is bound in the template.
410
- * @param {Event} event
297
+ * @param {MouseEvent} e
411
298
  * @private
412
299
  */
413
- onScroll(event) {
300
+ onScroll(e) {
414
301
  if (this.selectionRequestedByClick) {
415
302
  this.selectionRequestedByClick = false;
416
303
  return;
417
304
  }
418
- (0, _debounce.default)(this.changeSelectionByScroll.bind(this, event.target.scrollTop), Wizard.SCROLL_DEBOUNCE_RATE);
305
+ (0, _debounce.default)(this.changeSelectionByScroll.bind(this, e.target.scrollTop), Wizard_1.SCROLL_DEBOUNCE_RATE);
419
306
  }
420
-
421
307
  /**
422
308
  * Handles when a step in the header is focused in order to update the <code>ItemNavigation</code>.
423
309
  * <b>Note:</b> the handler is bound in the template.
424
- * @param {Event} event
310
+ * @param {FocusEvent} e
425
311
  * @private
426
312
  */
427
- onStepInHeaderFocused(event) {
428
- this._itemNavigation.setCurrentItem(event.target);
313
+ onStepInHeaderFocused(e) {
314
+ this._itemNavigation.setCurrentItem(e.target);
429
315
  }
430
-
431
316
  /**
432
317
  * Handles resize in order to:
433
318
  * (1) sync steps' scroll offset and selection
@@ -442,6 +327,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
442
327
  }
443
328
  this._prevWidth = this.width;
444
329
  this._prevContentHeight = this.contentHeight;
330
+ this._calcCurrentBreakpoint();
445
331
  }
446
332
  attachStepsResizeObserver() {
447
333
  this.stepsDOM.forEach(stepDOM => {
@@ -454,7 +340,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
454
340
  _ResizeHandler.default.deregister(stepDOM, this._onStepResize);
455
341
  });
456
342
  }
457
-
343
+ _calcCurrentBreakpoint() {
344
+ const breakpointDimensions = Object.keys(RESPONSIVE_BREAKPOINTS).reverse();
345
+ const breakpoint = breakpointDimensions.find(size => Number(size) < this.width);
346
+ this._breakpoint = breakpoint ? RESPONSIVE_BREAKPOINTS[breakpoint] : RESPONSIVE_BREAKPOINTS["0"];
347
+ }
458
348
  /**
459
349
  * Updates the expanded attribute for each ui5-wizard-tab based on the ui5-wizard width
460
350
  * @private
@@ -462,31 +352,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
462
352
  _adjustHeaderOverflow() {
463
353
  let counter = 0;
464
354
  let isForward = true;
465
- const iWidth = this.width;
466
- const iCurrStep = this.getSelectedStepIndex();
467
- const iStepsToShow = this.steps.length ? Math.floor(iWidth / MIN_STEP_WIDTH_WITH_TITLE) : Math.floor(iWidth / MIN_STEP_WIDTH_NO_TITLE);
468
- const tabs = this.shadowRoot.querySelectorAll("[ui5-wizard-tab]");
355
+ const tabs = this.stepsInHeaderDOM;
469
356
  if (!tabs.length) {
470
357
  return;
471
358
  }
472
- [].forEach.call(tabs, (step, index) => {
473
- step.setAttribute(EXPANDED_STEP, false);
474
- step.setAttribute(BEFORE_EXPANDED_STEP, false);
475
- step.setAttribute(AFTER_EXPANDED_STEP, false);
476
-
359
+ const iWidth = this.progressNavigatorListDOM.getBoundingClientRect().width;
360
+ const iCurrStep = this.getSelectedStepIndex();
361
+ const iStepsToShow = this.steps.length ? Math.floor(iWidth / MIN_STEP_WIDTH_WITH_TITLE) : Math.floor(iWidth / MIN_STEP_WIDTH_NO_TITLE);
362
+ [...tabs].forEach((step, index) => {
363
+ step.setAttribute(EXPANDED_STEP, "false");
364
+ step.setAttribute(BEFORE_EXPANDED_STEP, "false");
365
+ step.setAttribute(AFTER_EXPANDED_STEP, "false");
477
366
  // Add "data-ui5-wizard-after-current-tab" to all tabs after the current one
478
367
  if (index > iCurrStep) {
479
- tabs[index].setAttribute(AFTER_CURRENT_STEP, true);
368
+ tabs[index].setAttribute(AFTER_CURRENT_STEP, "true");
480
369
  } else {
481
370
  tabs[index].removeAttribute(AFTER_CURRENT_STEP);
482
371
  }
483
372
  });
484
-
485
373
  // Add "data-ui5-wizard-expanded-tab" to the current step
486
374
  if (tabs[iCurrStep]) {
487
- tabs[iCurrStep].setAttribute(EXPANDED_STEP, true);
375
+ tabs[iCurrStep].setAttribute(EXPANDED_STEP, "true");
488
376
  }
489
-
490
377
  // Set the "data-ui5-wizard-expanded-tab" to the steps that are expanded
491
378
  // The algorithm is as follows:
492
379
  // 1. A step towards the end is expanded
@@ -498,30 +385,29 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
498
385
  counter += 1;
499
386
  }
500
387
  if (isForward && tabs[iCurrStep + counter]) {
501
- tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, true);
388
+ tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, "true");
502
389
  isForward = !isForward;
503
390
  } else if (!isForward && tabs[iCurrStep - counter]) {
504
- tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, true);
391
+ tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, "true");
505
392
  isForward = !isForward;
506
393
  } else if (tabs[iCurrStep + counter + 1]) {
507
394
  counter += 1;
508
- tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, true);
395
+ tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, "true");
509
396
  isForward = true;
510
397
  } else if (tabs[iCurrStep - counter]) {
511
- tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, true);
398
+ tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, "true");
512
399
  counter += 1;
513
400
  isForward = false;
514
401
  }
515
402
  }
516
-
517
403
  // mark the topmost steps of both groups (in the beginning and the end),
518
404
  // using the "data-ui5-wizard-after-current-tab" and "data-ui5-wizard-expanded-tab-prev" attributes
519
405
  for (let i = 0; i < tabs.length; i++) {
520
406
  if (tabs[i].getAttribute(EXPANDED_STEP) === "true" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === "false") {
521
- tabs[i - 1].setAttribute(BEFORE_EXPANDED_STEP, true);
407
+ tabs[i - 1].setAttribute(BEFORE_EXPANDED_STEP, "true");
522
408
  }
523
409
  if (tabs[i].getAttribute(EXPANDED_STEP) === "false" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === "true") {
524
- tabs[i].setAttribute(AFTER_EXPANDED_STEP, true);
410
+ tabs[i].setAttribute(AFTER_EXPANDED_STEP, "true");
525
411
  break;
526
412
  }
527
413
  }
@@ -534,29 +420,31 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
534
420
  const iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);
535
421
  return selectedStep.getAttribute(EXPANDED_STEP) === "false" && selectedStep.getAttribute(AFTER_EXPANDED_STEP) === "true" && iStepNumber + 1 < this.steps.length;
536
422
  }
537
- async _showPopover(oDomTarget, bAtStart) {
538
- const tabs = Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
423
+ async _showPopover(oDomTarget, isAtStart) {
424
+ const tabs = Array.from(this.stepsInHeaderDOM);
539
425
  this._groupedTabs = [];
540
- const iFromStep = bAtStart ? 0 : this.stepsInHeaderDOM.indexOf(oDomTarget);
541
- const iToStep = bAtStart ? this.stepsInHeaderDOM.indexOf(oDomTarget) : tabs.length - 1;
426
+ const iFromStep = isAtStart ? 0 : this.stepsInHeaderDOM.indexOf(oDomTarget);
427
+ const iToStep = isAtStart ? this.stepsInHeaderDOM.indexOf(oDomTarget) : tabs.length - 1;
542
428
  for (let i = iFromStep; i <= iToStep; i++) {
543
429
  this._groupedTabs.push(tabs[i]);
544
430
  }
545
431
  const responsivePopover = await this._respPopover();
546
432
  responsivePopover.showAt(oDomTarget);
547
433
  }
548
- async _onGroupedTabClick(event) {
549
- if (this._isGroupAtStart(event.target)) {
550
- return this._showPopover(event.target, true);
434
+ async _onGroupedTabClick(e) {
435
+ const eTarget = e.target;
436
+ if (this._isGroupAtStart(eTarget)) {
437
+ return this._showPopover(eTarget, true);
551
438
  }
552
- if (this._isGroupAtEnd(event.target)) {
553
- return this._showPopover(event.target, false);
439
+ if (this._isGroupAtEnd(eTarget)) {
440
+ return this._showPopover(eTarget, false);
554
441
  }
555
442
  }
556
- _onOverflowStepButtonClick(event) {
557
- const tabs = Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
558
- const stepRefId = event.target.getAttribute("data-ui5-header-tab-ref-id");
559
- const stepToSelect = this.slottedSteps[stepRefId - 1];
443
+ _onOverflowStepButtonClick(e) {
444
+ const tabs = Array.from(this.stepsInHeaderDOM);
445
+ const eTarget = e.target;
446
+ const stepRefId = eTarget.getAttribute("data-ui5-header-tab-ref-id");
447
+ const stepToSelect = this.slottedSteps[Number(stepRefId) - 1];
560
448
  const selectedStep = this.selectedStep;
561
449
  const newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);
562
450
  this.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);
@@ -571,7 +459,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
571
459
  const staticAreaItem = await this.getStaticAreaItemDomRef();
572
460
  return staticAreaItem.querySelector(`.ui5-wizard-responsive-popover`);
573
461
  }
574
-
575
462
  /**
576
463
  * Called upon <code>onScroll</code>.
577
464
  * Selects the closest step, based on the user scroll position.
@@ -580,26 +467,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
580
467
  */
581
468
  changeSelectionByScroll(scrollPos) {
582
469
  const newlySelectedIndex = this.getClosestStepIndexByScrollPos(scrollPos);
583
-
470
+ const stepToSelect = this.slottedSteps[newlySelectedIndex];
584
471
  // Skip if already selected - stop.
585
472
  if (this.selectedStepIndex === newlySelectedIndex) {
586
473
  return;
587
474
  }
588
-
589
475
  // If the calculated index is in range,
590
476
  // change selection and fire "step-change".
591
- if (newlySelectedIndex >= 0 && newlySelectedIndex <= this.stepsCount - 1) {
592
- const stepToSelect = this.slottedSteps[newlySelectedIndex];
477
+ if (!stepToSelect.disabled && newlySelectedIndex >= 0 && newlySelectedIndex <= this.stepsCount - 1) {
593
478
  this.switchSelectionFromOldToNewStep(this.selectedStep, stepToSelect, newlySelectedIndex, false);
594
479
  this.selectionRequestedByScroll = true;
595
480
  }
596
481
  }
597
-
598
482
  /**
599
483
  * Called upon <code>onSelectionChangeRequested</code>.
600
484
  * Selects the external step (ui5-wizard-step),
601
485
  * based on the clicked or activated via keyboard step in the header (ui5-wizard-tab).
602
- * @param {HTMLElement} stepInHeader the step equivalent in the header
486
+ * @param {WizardTab} stepInHeader the step equivalent in the header
603
487
  * @private
604
488
  */
605
489
  async changeSelectionByStepAction(stepInHeader) {
@@ -608,12 +492,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
608
492
  const stepToSelect = this.getStepByRefId(stepRefId);
609
493
  const bExpanded = stepInHeader.getAttribute(EXPANDED_STEP) === "true";
610
494
  const newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);
611
- const firstFocusableElement = await (0, _FocusableElements.getFirstFocusableElement)(stepToSelect.firstElementChild);
495
+ const firstElementChild = stepToSelect.firstElementChild;
496
+ const firstFocusableElement = await (0, _FocusableElements.getFirstFocusableElement)(firstElementChild);
612
497
  if (firstFocusableElement) {
613
498
  // Focus the first focusable element within the step content corresponding to the currently focused tab
614
499
  firstFocusableElement.focus();
615
500
  }
616
-
617
501
  // If the currently selected (active) step is clicked,
618
502
  // just scroll to its starting point and stop.
619
503
  if (selectedStep === stepToSelect) {
@@ -633,11 +517,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
633
517
  return contentHeight;
634
518
  }
635
519
  getStepAriaLabelText(step, ariaLabel) {
636
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_ARIA_LABEL, ariaLabel);
520
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_ARIA_LABEL, ariaLabel);
637
521
  }
638
522
  get stepsDOM() {
639
523
  return Array.from(this.shadowRoot.querySelectorAll(".ui5-wiz-content-item"));
640
524
  }
525
+ get progressNavigatorListDOM() {
526
+ return this.shadowRoot.querySelector(".ui5-wiz-nav-list");
527
+ }
641
528
  get _stepsInHeader() {
642
529
  return this.getStepsInfo();
643
530
  }
@@ -686,50 +573,43 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
686
573
  get enabledStepsInHeaderDOM() {
687
574
  return this.stepsInHeaderDOM;
688
575
  }
689
- get phoneMode() {
690
- if ((0, _Device.isPhone)()) {
691
- return true;
692
- }
693
- return this.width <= Wizard.PHONE_BREAKPOINT;
694
- }
695
576
  get navAriaRoleDescription() {
696
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
577
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
697
578
  }
698
579
  get navAriaLabelText() {
699
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_LABEL);
580
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_LABEL);
700
581
  }
701
582
  get navAriaDescribedbyText() {
702
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_LIST_ARIA_DESCRIBEDBY);
583
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_LIST_ARIA_DESCRIBEDBY);
703
584
  }
704
585
  get listAriaLabelText() {
705
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_LIST_ARIA_LABEL);
586
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_LIST_ARIA_LABEL);
706
587
  }
707
588
  get actionSheetStepsText() {
708
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);
589
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);
709
590
  }
710
591
  get navStepDefaultHeading() {
711
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_STEP_DEFAULT_HEADING);
592
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_STEP_DEFAULT_HEADING);
712
593
  }
713
594
  get optionalStepText() {
714
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_OPTIONAL_STEP_ARIA_LABEL);
595
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_OPTIONAL_STEP_ARIA_LABEL);
715
596
  }
716
597
  get activeStepText() {
717
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_ACTIVE);
598
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_ACTIVE);
718
599
  }
719
600
  get inactiveStepText() {
720
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_INACTIVE);
601
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_INACTIVE);
721
602
  }
722
603
  get ariaLabelText() {
723
- return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
604
+ return Wizard_1.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
724
605
  }
725
606
  get effectiveStepSwitchThreshold() {
726
607
  return (0, _clamp.default)(this.stepSwitchThreshold, STEP_SWITCH_THRESHOLDS.MIN, STEP_SWITCH_THRESHOLDS.MAX);
727
608
  }
728
-
729
609
  /**
730
610
  * Returns an array of data objects, based on the user defined steps
731
611
  * to later build the steps (tabs) within the header.
732
- * @returns {Array<Object>}
612
+ * @returns {Array<StepInfo>}
733
613
  * @private
734
614
  */
735
615
  getStepsInfo() {
@@ -741,7 +621,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
741
621
  this._adjustHeaderOverflow();
742
622
  return this.steps.map((step, idx) => {
743
623
  const pos = idx + 1;
744
-
745
624
  // Hide separator if it's the last step and it's not a branching one
746
625
  const hideSeparator = idx === stepsCount - 1 && !step.branching;
747
626
  const isOptional = step.subtitleText ? this.optionalStepText : "";
@@ -753,7 +632,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
753
632
  "ariaPosinset": pos,
754
633
  "ariaLabel": this.getStepAriaLabelText(step, ariaLabel)
755
634
  };
756
- return {
635
+ const stepInfo = {
757
636
  icon: step.icon,
758
637
  titleText: step.titleText,
759
638
  subtitleText: step.subtitleText,
@@ -771,9 +650,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
771
650
  zIndex: isAfterCurrent ? --inintialZIndex : 1
772
651
  }
773
652
  };
653
+ return stepInfo;
774
654
  });
775
655
  }
776
-
777
656
  /**
778
657
  * Returns the index of the selected step.
779
658
  * @returns {Integer}
@@ -785,7 +664,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
785
664
  }
786
665
  return 0;
787
666
  }
788
-
789
667
  /**
790
668
  * Returns the index of the last enabled step.
791
669
  * @returns {Integer}
@@ -809,7 +687,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
809
687
  getStepWrapperByIdx(idx) {
810
688
  return this.getStepWrapperByRefId(this.steps[idx]._id);
811
689
  }
812
-
813
690
  /**
814
691
  * Scrolls to the content of the selected step, used in <code>onAfterRendering</cod>.
815
692
  * @private
@@ -820,7 +697,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
820
697
  }
821
698
  this.selectionRequestedByScroll = false;
822
699
  }
823
-
824
700
  /**
825
701
  * Scrolls to the content item within the <code>ui5-wizard</code> shadowDOM
826
702
  * by given step index.
@@ -831,7 +707,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
831
707
  scrollToContentItem(stepIndex) {
832
708
  this.contentDOM.scrollTop = this.getClosestScrollPosByStepIndex(stepIndex);
833
709
  }
834
-
835
710
  /**
836
711
  * Returns to closest scroll position for the given step index.
837
712
  *
@@ -842,7 +717,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
842
717
  if (stepIndex === 0) {
843
718
  return 0;
844
719
  }
845
-
846
720
  // It's possible to have [enabled - 0, disabled - 1, enabled - 2, disabled - 3] step definition and similar.
847
721
  // Consider selection of the third step at index 2, the wizard should scroll where the previous step ends,
848
722
  // but in this case the 2nd step is disabled, so we have to fallback to the first possible step.
@@ -853,7 +727,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
853
727
  }
854
728
  return 0;
855
729
  }
856
-
857
730
  /**
858
731
  * Returns the closest step index by given scroll position.
859
732
  * @private
@@ -873,12 +746,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
873
746
  }
874
747
  return this.selectedStepIndex;
875
748
  }
876
-
877
749
  /**
878
750
  * Switches the selection from the old step to the newly selected step.
879
751
  *
880
- * @param {HTMLElement} selectedStep the old step
881
- * @param {HTMLElement} stepToSelect the step to be selected
752
+ * @param {WizardStep} selectedStep the old step
753
+ * @param {WizardStep} stepToSelect the step to be selected
882
754
  * @param {Integer} stepToSelectIndex the index of the newly selected step
883
755
  * @param {boolean} changeWithClick the selection changed due to user click in the step navigation
884
756
  * @private
@@ -898,7 +770,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
898
770
  this.selectedStepIndex = stepToSelectIndex;
899
771
  }
900
772
  }
901
-
902
773
  /**
903
774
  * Sorter method for sorting an array in ascending order.
904
775
  * @private
@@ -912,7 +783,65 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
912
783
  }
913
784
  return 0;
914
785
  }
915
- }
786
+ };
787
+ __decorate([(0, _property.default)({
788
+ validator: String,
789
+ defaultValue: _WizardContentLayout.default.MultipleSteps
790
+ })], Wizard.prototype, "contentLayout", void 0);
791
+ __decorate([(0, _property.default)({
792
+ validator: _Float.default
793
+ })], Wizard.prototype, "width", void 0);
794
+ __decorate([(0, _property.default)({
795
+ validator: _Float.default,
796
+ defaultValue: STEP_SWITCH_THRESHOLDS.DEFAULT
797
+ })], Wizard.prototype, "stepSwitchThreshold", void 0);
798
+ __decorate([(0, _property.default)({
799
+ validator: _Float.default
800
+ })], Wizard.prototype, "contentHeight", void 0);
801
+ __decorate([(0, _property.default)({
802
+ type: Object,
803
+ multiple: true
804
+ })], Wizard.prototype, "_groupedTabs", void 0);
805
+ __decorate([(0, _property.default)()], Wizard.prototype, "_breakpoint", void 0);
806
+ __decorate([(0, _slot.default)({
807
+ "default": true,
808
+ type: HTMLElement,
809
+ "individualSlots": true,
810
+ invalidateOnChildChange: true
811
+ })], Wizard.prototype, "steps", void 0);
812
+ Wizard = Wizard_1 = __decorate([(0, _customElement.default)({
813
+ tag: "ui5-wizard",
814
+ languageAware: true,
815
+ fastNavigation: true,
816
+ renderer: _LitRenderer.default,
817
+ styles: _Wizard.default,
818
+ staticAreaStyles: _WizardPopover.default,
819
+ template: _WizardTemplate.default,
820
+ staticAreaTemplate: _WizardPopoverTemplate.default,
821
+ dependencies: [_WizardTab.default, _WizardStep.default, _ResponsivePopover.default, _Button.default]
822
+ })
823
+ /**
824
+ * Fired when the step is changed by user interaction - either with scrolling,
825
+ * or by clicking on the steps within the component header.
826
+ *
827
+ * @event sap.ui.webc.fiori.Wizard#step-change
828
+ * @param {sap.ui.webc.fiori.IWizardStep} step The new step.
829
+ * @param {sap.ui.webc.fiori.IWizardStep} previousStep The previous step.
830
+ * @param {boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.
831
+ * @public
832
+ */, (0, _event.default)("step-change", {
833
+ detail: {
834
+ step: {
835
+ type: HTMLElement
836
+ },
837
+ previousStep: {
838
+ type: HTMLElement
839
+ },
840
+ changeWithClick: {
841
+ Boolean
842
+ }
843
+ }
844
+ })], Wizard);
916
845
  Wizard.define();
917
846
  var _default = Wizard;
918
847
  _exports.default = _default;