@openui5/sap.ui.webc.fiori 1.103.1 → 1.106.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 (651) hide show
  1. package/.reuse/dep5 +35 -15
  2. package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
  3. package/THIRDPARTY.txt +64 -21
  4. package/package.json +8 -4
  5. package/src/sap/ui/webc/fiori/.library +9 -2
  6. package/src/sap/ui/webc/fiori/Bar.js +3 -3
  7. package/src/sap/ui/webc/fiori/BarcodeScannerDialog.js +2 -2
  8. package/src/sap/ui/webc/fiori/DynamicSideContent.js +1 -1
  9. package/src/sap/ui/webc/fiori/FilterItem.js +1 -1
  10. package/src/sap/ui/webc/fiori/FilterItemOption.js +1 -1
  11. package/src/sap/ui/webc/fiori/FlexibleColumnLayout.js +2 -2
  12. package/src/sap/ui/webc/fiori/IllustratedMessage.js +21 -1
  13. package/src/sap/ui/webc/fiori/MediaGallery.js +2 -2
  14. package/src/sap/ui/webc/fiori/MediaGalleryItem.js +1 -1
  15. package/src/sap/ui/webc/fiori/NotificationAction.js +2 -2
  16. package/src/sap/ui/webc/fiori/NotificationListGroupItem.js +2 -2
  17. package/src/sap/ui/webc/fiori/NotificationListItem.js +2 -2
  18. package/src/sap/ui/webc/fiori/Page.js +2 -2
  19. package/src/sap/ui/webc/fiori/ProductSwitch.js +1 -1
  20. package/src/sap/ui/webc/fiori/ProductSwitchItem.js +2 -2
  21. package/src/sap/ui/webc/fiori/ShellBar.js +2 -2
  22. package/src/sap/ui/webc/fiori/ShellBarItem.js +1 -1
  23. package/src/sap/ui/webc/fiori/SideNavigation.js +1 -1
  24. package/src/sap/ui/webc/fiori/SideNavigationItem.js +2 -2
  25. package/src/sap/ui/webc/fiori/SideNavigationSubItem.js +2 -2
  26. package/src/sap/ui/webc/fiori/SortItem.js +1 -1
  27. package/src/sap/ui/webc/fiori/Timeline.js +1 -1
  28. package/src/sap/ui/webc/fiori/TimelineItem.js +2 -2
  29. package/src/sap/ui/webc/fiori/UploadCollection.js +1 -1
  30. package/src/sap/ui/webc/fiori/UploadCollectionItem.js +1 -1
  31. package/src/sap/ui/webc/fiori/ViewSettingsDialog.js +17 -2
  32. package/src/sap/ui/webc/fiori/Wizard.js +1 -1
  33. package/src/sap/ui/webc/fiori/WizardStep.js +2 -2
  34. package/src/sap/ui/webc/fiori/lib/zxing.js +24247 -0
  35. package/src/sap/ui/webc/fiori/library.config.js +16 -1
  36. package/src/sap/ui/webc/fiori/library.js +57 -12
  37. package/src/sap/ui/webc/fiori/thirdparty/Assets.js +3 -5
  38. package/src/sap/ui/webc/fiori/thirdparty/Bar.js +211 -88
  39. package/src/sap/ui/webc/fiori/thirdparty/BarcodeScannerDialog.js +239 -18952
  40. package/src/sap/ui/webc/fiori/thirdparty/DynamicSideContent.js +571 -293
  41. package/src/sap/ui/webc/fiori/thirdparty/FilterItem.js +89 -30
  42. package/src/sap/ui/webc/fiori/thirdparty/FilterItemOption.js +79 -26
  43. package/src/sap/ui/webc/fiori/thirdparty/FlexibleColumnLayout.js +806 -432
  44. package/src/sap/ui/webc/fiori/thirdparty/IllustratedMessage.js +458 -148
  45. package/src/sap/ui/webc/fiori/thirdparty/Interfaces.js +148 -35
  46. package/src/sap/ui/webc/fiori/thirdparty/MediaGallery.js +631 -342
  47. package/src/sap/ui/webc/fiori/thirdparty/MediaGalleryItem.js +354 -193
  48. package/src/sap/ui/webc/fiori/thirdparty/NotificationAction.js +115 -40
  49. package/src/sap/ui/webc/fiori/thirdparty/NotificationListGroupItem.js +251 -127
  50. package/src/sap/ui/webc/fiori/thirdparty/NotificationListItem.js +407 -238
  51. package/src/sap/ui/webc/fiori/thirdparty/NotificationListItemBase.js +280 -144
  52. package/src/sap/ui/webc/fiori/thirdparty/Page.js +234 -97
  53. package/src/sap/ui/webc/fiori/thirdparty/ProductSwitch.js +206 -116
  54. package/src/sap/ui/webc/fiori/thirdparty/ProductSwitchItem.js +265 -121
  55. package/src/sap/ui/webc/fiori/thirdparty/ShellBar.js +1186 -752
  56. package/src/sap/ui/webc/fiori/thirdparty/ShellBarItem.js +107 -44
  57. package/src/sap/ui/webc/fiori/thirdparty/SideNavigation.js +319 -178
  58. package/src/sap/ui/webc/fiori/thirdparty/SideNavigationItem.js +150 -52
  59. package/src/sap/ui/webc/fiori/thirdparty/SideNavigationSubItem.js +107 -38
  60. package/src/sap/ui/webc/fiori/thirdparty/SortItem.js +78 -26
  61. package/src/sap/ui/webc/fiori/thirdparty/Timeline.js +195 -107
  62. package/src/sap/ui/webc/fiori/thirdparty/TimelineItem.js +210 -96
  63. package/src/sap/ui/webc/fiori/thirdparty/UploadCollection.js +381 -191
  64. package/src/sap/ui/webc/fiori/thirdparty/UploadCollectionItem.js +507 -263
  65. package/src/sap/ui/webc/fiori/thirdparty/ViewSettingsDialog.js +757 -410
  66. package/src/sap/ui/webc/fiori/thirdparty/Wizard.js +1022 -567
  67. package/src/sap/ui/webc/fiori/thirdparty/WizardStep.js +171 -46
  68. package/src/sap/ui/webc/fiori/thirdparty/WizardTab.js +230 -106
  69. package/src/sap/ui/webc/fiori/thirdparty/css/themes/Bar.css +1 -1
  70. package/src/sap/ui/webc/fiori/thirdparty/css/themes/FlexibleColumnLayout.css +1 -1
  71. package/src/sap/ui/webc/fiori/thirdparty/css/themes/MediaGalleryItem.css +1 -1
  72. package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListItem.css +1 -1
  73. package/src/sap/ui/webc/fiori/thirdparty/css/themes/Page.css +1 -1
  74. package/src/sap/ui/webc/fiori/thirdparty/css/themes/ProductSwitchItem.css +1 -1
  75. package/src/sap/ui/webc/fiori/thirdparty/css/themes/ShellBar.css +1 -1
  76. package/src/sap/ui/webc/fiori/thirdparty/css/themes/TimelineItem.css +1 -1
  77. package/src/sap/ui/webc/fiori/thirdparty/css/themes/UploadCollectionItem.css +1 -1
  78. package/src/sap/ui/webc/fiori/thirdparty/css/themes/Wizard.css +1 -1
  79. package/src/sap/ui/webc/fiori/thirdparty/css/themes/WizardTab.css +1 -1
  80. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
  81. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  82. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  83. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  84. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  85. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  86. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  87. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
  88. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  89. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  90. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  91. package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  92. package/src/sap/ui/webc/fiori/thirdparty/fcl-utils/FCLLayout.js +342 -244
  93. package/src/sap/ui/webc/fiori/thirdparty/features/CoPilotAnimation.js +8 -8
  94. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -0
  95. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -0
  96. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -0
  97. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -0
  98. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -0
  99. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -0
  100. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -0
  101. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -0
  102. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -0
  103. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -0
  104. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -0
  105. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -0
  106. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -0
  107. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -0
  108. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -0
  109. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -0
  110. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -0
  111. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -0
  112. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -0
  113. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -0
  114. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -0
  115. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -0
  116. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_in.json.js +1 -0
  117. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -0
  118. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -0
  119. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -0
  120. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -0
  121. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -0
  122. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -0
  123. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -0
  124. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -0
  125. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -0
  126. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -0
  127. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -0
  128. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -0
  129. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -0
  130. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -0
  131. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -0
  132. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -0
  133. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -0
  134. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -0
  135. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -0
  136. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -0
  137. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -0
  138. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -0
  139. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -0
  140. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -0
  141. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -0
  142. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -0
  143. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -0
  144. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -0
  145. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -0
  146. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -0
  147. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -0
  148. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -0
  149. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -0
  150. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -0
  151. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -0
  152. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -0
  153. package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -0
  154. package/src/sap/ui/webc/fiori/thirdparty/generated/i18n/i18n-defaults.js +588 -123
  155. package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/Themes.js +58 -30
  156. package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/i18n.js +169 -115
  157. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarTemplate.lit.js +11 -4
  158. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarcodeScannerDialogTemplate.lit.js +11 -4
  159. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/DynamicSideContentTemplate.lit.js +11 -4
  160. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FlexibleColumnLayoutTemplate.lit.js +11 -4
  161. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/IllustratedMessageTemplate.lit.js +23 -10
  162. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryItemTemplate.lit.js +17 -7
  163. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryTemplate.lit.js +23 -10
  164. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListGroupItemTemplate.lit.js +27 -12
  165. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListItemTemplate.lit.js +32 -16
  166. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js +13 -5
  167. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/PageTemplate.lit.js +11 -4
  168. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchItemTemplate.lit.js +27 -12
  169. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchTemplate.lit.js +11 -4
  170. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarPopoverTemplate.lit.js +15 -6
  171. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarTemplate.lit.js +60 -25
  172. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +13 -5
  173. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationTemplate.lit.js +32 -16
  174. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineItemTemplate.lit.js +23 -10
  175. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineTemplate.lit.js +13 -5
  176. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionItemTemplate.lit.js +42 -26
  177. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionTemplate.lit.js +15 -6
  178. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ViewSettingsDialogTemplate.lit.js +44 -22
  179. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardPopoverTemplate.lit.js +13 -5
  180. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTabTemplate.lit.js +19 -8
  181. package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTemplate.lit.js +15 -6
  182. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Bar.css.js +18 -10
  183. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/BarcodeScannerDialog.css.js +18 -10
  184. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/DynamicSideContent.css.js +18 -10
  185. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/FlexibleColumnLayout.css.js +18 -10
  186. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/IllustratedMessage.css.js +18 -10
  187. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/InvisibleTextStyles.css.js +18 -10
  188. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGallery.css.js +18 -10
  189. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGalleryItem.css.js +18 -10
  190. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListGroupItem.css.js +18 -10
  191. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItem.css.js +18 -10
  192. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItemBase.css.js +18 -10
  193. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationOverflowActionsPopover.css.js +18 -10
  194. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationPrioIcon.css.js +18 -10
  195. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Page.css.js +18 -10
  196. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitch.css.js +18 -10
  197. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitchItem.css.js +18 -10
  198. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBar.css.js +18 -10
  199. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBarPopover.css.js +18 -10
  200. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigation.css.js +18 -10
  201. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigationPopover.css.js +18 -10
  202. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Timeline.css.js +18 -10
  203. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/TimelineItem.css.js +18 -10
  204. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollection.css.js +18 -10
  205. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollectionItem.css.js +18 -10
  206. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ViewSettingsDialog.css.js +18 -10
  207. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Wizard.css.js +18 -10
  208. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardPopover.css.js +18 -10
  209. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardTab.css.js +18 -10
  210. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +13 -6
  211. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +13 -6
  212. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +13 -6
  213. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +13 -6
  214. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +13 -6
  215. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +13 -6
  216. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +13 -6
  217. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +13 -6
  218. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +13 -6
  219. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +13 -6
  220. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +13 -6
  221. package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +13 -6
  222. package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddColumn.js +40 -19
  223. package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddPeople.js +40 -19
  224. package/src/sap/ui/webc/fiori/thirdparty/illustrations/BalloonSky.js +40 -19
  225. package/src/sap/ui/webc/fiori/thirdparty/illustrations/BeforeSearch.js +40 -19
  226. package/src/sap/ui/webc/fiori/thirdparty/illustrations/Connection.js +40 -19
  227. package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyCalendar.js +40 -19
  228. package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyList.js +40 -19
  229. package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyPlanningCalendar.js +40 -19
  230. package/src/sap/ui/webc/fiori/thirdparty/illustrations/ErrorScreen.js +40 -19
  231. package/src/sap/ui/webc/fiori/thirdparty/illustrations/FilterTable.js +40 -19
  232. package/src/sap/ui/webc/fiori/thirdparty/illustrations/GroupTable.js +40 -19
  233. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoActivities.js +40 -19
  234. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoData.js +40 -19
  235. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoEntries.js +40 -19
  236. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoFilterResults.js +40 -19
  237. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail.js +40 -19
  238. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail_v1.js +40 -19
  239. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoNotifications.js +40 -19
  240. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems.js +40 -19
  241. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems_v1.js +40 -19
  242. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSearchResults.js +40 -19
  243. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks.js +40 -19
  244. package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks_v1.js +40 -19
  245. package/src/sap/ui/webc/fiori/thirdparty/illustrations/PageNotFound.js +40 -19
  246. package/src/sap/ui/webc/fiori/thirdparty/illustrations/ReloadScreen.js +40 -19
  247. package/src/sap/ui/webc/fiori/thirdparty/illustrations/ResizeColumn.js +40 -19
  248. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchEarth.js +40 -19
  249. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchFolder.js +40 -19
  250. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBalloon.js +40 -19
  251. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBell.js +40 -19
  252. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCalendar.js +40 -19
  253. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCheckMark.js +40 -19
  254. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleConnection.js +40 -19
  255. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyDoc.js +40 -19
  256. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyList.js +40 -19
  257. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleError.js +40 -19
  258. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMagnifier.js +40 -19
  259. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMail.js +40 -19
  260. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNoSavedItems.js +40 -19
  261. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNotFoundMagnifier.js +40 -19
  262. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleReload.js +40 -19
  263. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleTask.js +40 -19
  264. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SleepingBell.js +40 -19
  265. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SortColumn.js +40 -19
  266. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessBalloon.js +40 -19
  267. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessCheckMark.js +40 -19
  268. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessHighFive.js +40 -19
  269. package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessScreen.js +40 -19
  270. package/src/sap/ui/webc/fiori/thirdparty/illustrations/Tent.js +40 -19
  271. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoad.js +40 -19
  272. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoadImage.js +40 -19
  273. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToUpload.js +40 -19
  274. package/src/sap/ui/webc/fiori/thirdparty/illustrations/UploadCollection.js +40 -19
  275. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-AddColumn.js +9 -6
  276. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-AddPeople.js +9 -6
  277. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-BalloonSky.js +9 -6
  278. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-BeforeSearch.js +9 -6
  279. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-Connection.js +9 -6
  280. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-EmptyCalendar.js +9 -6
  281. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-EmptyList.js +9 -6
  282. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.js +9 -6
  283. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-ErrorScreen.js +9 -6
  284. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-FilterTable.js +9 -6
  285. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-GroupTable.js +9 -6
  286. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoActivities.js +9 -6
  287. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoData.js +9 -6
  288. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoEntries.js +9 -6
  289. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoFilterResults.js +9 -6
  290. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoMail.js +9 -6
  291. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoMail_v1.js +9 -6
  292. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoNotifications.js +9 -6
  293. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoSavedItems.js +9 -6
  294. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoSavedItems_v1.js +9 -6
  295. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoSearchResults.js +9 -6
  296. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoTasks.js +9 -6
  297. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoTasks_v1.js +9 -6
  298. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-PageNotFound.js +9 -6
  299. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-ReloadScreen.js +9 -6
  300. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-ResizeColumn.js +9 -6
  301. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SearchEarth.js +9 -6
  302. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SearchFolder.js +9 -6
  303. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleBalloon.js +9 -6
  304. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleBell.js +9 -6
  305. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleCalendar.js +9 -6
  306. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleCheckMark.js +9 -6
  307. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleConnection.js +9 -6
  308. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleEmptyDoc.js +9 -6
  309. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleEmptyList.js +9 -6
  310. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleError.js +9 -6
  311. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleMagnifier.js +9 -6
  312. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleMail.js +9 -6
  313. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleNoSavedItems.js +9 -6
  314. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.js +9 -6
  315. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleReload.js +9 -6
  316. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleTask.js +9 -6
  317. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SleepingBell.js +9 -6
  318. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SortColumn.js +9 -6
  319. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessBalloon.js +9 -6
  320. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessCheckMark.js +9 -6
  321. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessHighFive.js +9 -6
  322. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessScreen.js +9 -6
  323. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-Tent.js +9 -6
  324. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UnableToLoad.js +9 -6
  325. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UnableToLoadImage.js +9 -6
  326. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UnableToUpload.js +9 -6
  327. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UploadCollection.js +9 -6
  328. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-AddColumn.js +9 -6
  329. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-AddPeople.js +9 -6
  330. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-BalloonSky.js +9 -6
  331. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-BeforeSearch.js +9 -6
  332. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-Connection.js +9 -6
  333. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-EmptyCalendar.js +9 -6
  334. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-EmptyList.js +9 -6
  335. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-EmptyPlanningCalendar.js +9 -6
  336. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-ErrorScreen.js +9 -6
  337. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-FilterTable.js +9 -6
  338. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-GroupTable.js +9 -6
  339. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoActivities.js +9 -6
  340. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoData.js +9 -6
  341. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoEntries.js +9 -6
  342. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoFilterResults.js +9 -6
  343. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoMail.js +9 -6
  344. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoMail_v1.js +9 -6
  345. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoNotifications.js +9 -6
  346. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoSavedItems.js +9 -6
  347. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoSavedItems_v1.js +9 -6
  348. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoSearchResults.js +9 -6
  349. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoTasks.js +9 -6
  350. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoTasks_v1.js +9 -6
  351. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-PageNotFound.js +9 -6
  352. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-ReloadScreen.js +9 -6
  353. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-ResizeColumn.js +9 -6
  354. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SearchEarth.js +9 -6
  355. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SearchFolder.js +9 -6
  356. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleBalloon.js +9 -6
  357. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleBell.js +9 -6
  358. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleCalendar.js +9 -6
  359. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleCheckMark.js +9 -6
  360. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleConnection.js +9 -6
  361. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleEmptyDoc.js +9 -6
  362. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleEmptyList.js +9 -6
  363. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleError.js +9 -6
  364. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleMagnifier.js +9 -6
  365. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleMail.js +9 -6
  366. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleNoSavedItems.js +9 -6
  367. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.js +9 -6
  368. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleReload.js +9 -6
  369. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleTask.js +9 -6
  370. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SleepingBell.js +9 -6
  371. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SortColumn.js +9 -6
  372. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessBalloon.js +9 -6
  373. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessCheckMark.js +9 -6
  374. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessHighFive.js +9 -6
  375. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessScreen.js +9 -6
  376. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-Tent.js +9 -6
  377. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UnableToLoad.js +9 -6
  378. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UnableToLoadImage.js +9 -6
  379. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UnableToUpload.js +9 -6
  380. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UploadCollection.js +9 -6
  381. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-AddColumn.js +9 -6
  382. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-AddPeople.js +9 -6
  383. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-BalloonSky.js +9 -6
  384. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-BeforeSearch.js +9 -6
  385. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-Connection.js +9 -6
  386. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-EmptyCalendar.js +9 -6
  387. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-EmptyList.js +9 -6
  388. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-EmptyPlanningCalendar.js +9 -6
  389. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-ErrorScreen.js +9 -6
  390. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-FilterTable.js +9 -6
  391. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-GroupTable.js +9 -6
  392. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoActivities.js +9 -6
  393. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoData.js +9 -6
  394. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoEntries.js +9 -6
  395. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoFilterResults.js +9 -6
  396. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoMail.js +9 -6
  397. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoMail_v1.js +9 -6
  398. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoNotifications.js +9 -6
  399. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoSavedItems.js +9 -6
  400. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoSavedItems_v1.js +9 -6
  401. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoSearchResults.js +9 -6
  402. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoTasks.js +9 -6
  403. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoTasks_v1.js +9 -6
  404. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-PageNotFound.js +9 -6
  405. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-ReloadScreen.js +9 -6
  406. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-ResizeColumn.js +9 -6
  407. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SearchEarth.js +9 -6
  408. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SearchFolder.js +9 -6
  409. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleBalloon.js +9 -6
  410. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleBell.js +9 -6
  411. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleCalendar.js +9 -6
  412. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleCheckMark.js +9 -6
  413. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleConnection.js +9 -6
  414. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleEmptyDoc.js +9 -6
  415. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleEmptyList.js +9 -6
  416. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleError.js +9 -6
  417. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleMagnifier.js +9 -6
  418. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleMail.js +9 -6
  419. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleNoSavedItems.js +9 -6
  420. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.js +9 -6
  421. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleReload.js +9 -6
  422. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleTask.js +9 -6
  423. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SleepingBell.js +9 -6
  424. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SortColumn.js +9 -6
  425. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessBalloon.js +9 -6
  426. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessCheckMark.js +9 -6
  427. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessHighFive.js +9 -6
  428. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessScreen.js +9 -6
  429. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-Tent.js +9 -6
  430. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UnableToLoad.js +9 -6
  431. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UnableToLoadImage.js +9 -6
  432. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UnableToUpload.js +9 -6
  433. package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UploadCollection.js +9 -6
  434. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartArea.js +36 -15
  435. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartArea2.js +36 -15
  436. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBPMNFlow.js +36 -15
  437. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBar.js +36 -15
  438. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBullet.js +36 -15
  439. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartDoughnut.js +36 -15
  440. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartFlow.js +36 -15
  441. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartGantt.js +36 -15
  442. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartOrg.js +36 -15
  443. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartPie.js +36 -15
  444. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/CodePlaceholder.js +36 -15
  445. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Company.js +36 -15
  446. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Components.js +36 -15
  447. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ExternalLink.js +36 -15
  448. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/FaceID.js +36 -15
  449. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Fingerprint.js +36 -15
  450. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Lock.js +36 -15
  451. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Mission.js +36 -15
  452. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoApplications.js +36 -15
  453. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoFlows.js +36 -15
  454. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoUsers.js +36 -15
  455. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Radar.js +36 -15
  456. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Secrets.js +36 -15
  457. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Services.js +36 -15
  458. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpired.js +36 -15
  459. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpiring.js +36 -15
  460. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Success.js +36 -15
  461. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SuccessfulAuth.js +36 -15
  462. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Systems.js +36 -15
  463. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Teams.js +36 -15
  464. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Tools.js +36 -15
  465. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/UnableToLoad.js +36 -15
  466. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Unlock.js +36 -15
  467. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/UnsuccessfulAuth.js +36 -15
  468. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/User2.js +36 -15
  469. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartArea.js +21 -18
  470. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartArea2.js +19 -16
  471. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartBPMNFlow.js +20 -17
  472. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartBar.js +19 -16
  473. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartBullet.js +21 -18
  474. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartDoughnut.js +20 -17
  475. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartFlow.js +20 -17
  476. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartGantt.js +24 -21
  477. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartOrg.js +22 -19
  478. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ChartPie.js +19 -16
  479. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-CodePlaceholder.js +13 -10
  480. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Company.js +20 -17
  481. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Components.js +16 -13
  482. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ExternalLink.js +18 -15
  483. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-FaceID.js +24 -21
  484. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Fingerprint.js +23 -20
  485. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Lock.js +19 -16
  486. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Mission.js +25 -22
  487. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-NoApplications.js +22 -19
  488. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-NoFlows.js +18 -15
  489. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-NoUsers.js +22 -19
  490. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Radar.js +22 -19
  491. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Secrets.js +19 -16
  492. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Services.js +23 -20
  493. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-SessionExpired.js +18 -15
  494. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-SessionExpiring.js +17 -14
  495. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Success.js +17 -14
  496. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-SuccessfulAuth.js +17 -14
  497. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Systems.js +19 -16
  498. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Teams.js +24 -21
  499. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Tools.js +19 -16
  500. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-UnableToLoad.js +17 -14
  501. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Unlock.js +19 -16
  502. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-UnsuccessfulAuth.js +18 -15
  503. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-User2.js +20 -17
  504. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartArea.js +29 -26
  505. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartArea2.js +26 -23
  506. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartBPMNFlow.js +28 -25
  507. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartBar.js +26 -23
  508. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartBullet.js +27 -24
  509. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartDoughnut.js +26 -23
  510. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartFlow.js +27 -24
  511. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartGantt.js +33 -30
  512. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartOrg.js +34 -31
  513. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ChartPie.js +25 -22
  514. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-CodePlaceholder.js +16 -13
  515. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Company.js +37 -34
  516. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Components.js +23 -20
  517. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ExternalLink.js +21 -18
  518. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-FaceID.js +28 -25
  519. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Fingerprint.js +42 -39
  520. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Lock.js +29 -26
  521. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Mission.js +26 -23
  522. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-NoApplications.js +25 -22
  523. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-NoFlows.js +27 -24
  524. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-NoUsers.js +23 -20
  525. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Radar.js +27 -24
  526. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Secrets.js +22 -19
  527. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Services.js +24 -21
  528. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-SessionExpired.js +25 -22
  529. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-SessionExpiring.js +24 -21
  530. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Success.js +25 -22
  531. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-SuccessfulAuth.js +27 -24
  532. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Systems.js +20 -17
  533. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Teams.js +27 -24
  534. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Tools.js +26 -23
  535. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-UnableToLoad.js +28 -25
  536. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Unlock.js +22 -19
  537. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-UnsuccessfulAuth.js +29 -26
  538. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-User2.js +29 -26
  539. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartArea.js +20 -17
  540. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartArea2.js +14 -11
  541. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartBPMNFlow.js +16 -13
  542. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartBar.js +15 -12
  543. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartBullet.js +17 -14
  544. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartDoughnut.js +16 -13
  545. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartFlow.js +15 -12
  546. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartGantt.js +19 -16
  547. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartOrg.js +13 -10
  548. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ChartPie.js +15 -12
  549. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-CodePlaceholder.js +13 -10
  550. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Company.js +20 -17
  551. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Components.js +12 -9
  552. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ExternalLink.js +16 -13
  553. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-FaceID.js +23 -20
  554. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Fingerprint.js +17 -14
  555. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Lock.js +20 -17
  556. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Mission.js +24 -21
  557. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-NoApplications.js +18 -15
  558. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-NoFlows.js +15 -12
  559. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-NoUsers.js +18 -15
  560. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Radar.js +21 -18
  561. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Secrets.js +16 -13
  562. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Services.js +21 -18
  563. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-SessionExpired.js +16 -13
  564. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-SessionExpiring.js +16 -13
  565. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Success.js +16 -13
  566. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-SuccessfulAuth.js +16 -13
  567. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Systems.js +17 -14
  568. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Teams.js +20 -17
  569. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Tools.js +14 -11
  570. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-UnableToLoad.js +16 -13
  571. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Unlock.js +18 -15
  572. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-UnsuccessfulAuth.js +17 -14
  573. package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-User2.js +17 -14
  574. package/src/sap/ui/webc/fiori/thirdparty/types/BarDesign.js +60 -17
  575. package/src/sap/ui/webc/fiori/thirdparty/types/FCLLayout.js +145 -27
  576. package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageSize.js +78 -0
  577. package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageType.js +653 -106
  578. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryItemLayout.js +49 -15
  579. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryLayout.js +53 -16
  580. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuHorizontalAlign.js +46 -15
  581. package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuVerticalAlign.js +46 -15
  582. package/src/sap/ui/webc/fiori/thirdparty/types/PageBackgroundDesign.js +58 -16
  583. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentFallDown.js +60 -17
  584. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentPosition.js +48 -15
  585. package/src/sap/ui/webc/fiori/thirdparty/types/SideContentVisibility.js +67 -18
  586. package/src/sap/ui/webc/fiori/thirdparty/types/TimelineLayout.js +48 -15
  587. package/src/sap/ui/webc/fiori/thirdparty/types/UploadCollectionDnDMode.js +55 -16
  588. package/src/sap/ui/webc/fiori/thirdparty/types/UploadState.js +62 -17
  589. package/src/sap/ui/webc/fiori/thirdparty/types/ViewSettingsDialogMode.js +49 -15
  590. package/src/sap/ui/webc/fiori/thirdparty/upload-utils/UploadCollectionBodyDnD.js +92 -65
  591. package/ui5.yaml +141 -4
  592. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_ar.js +0 -124
  593. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_bg.js +0 -124
  594. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_ca.js +0 -124
  595. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_cs.js +0 -124
  596. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_cy.js +0 -124
  597. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_da.js +0 -124
  598. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_de.js +0 -124
  599. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_el.js +0 -124
  600. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_en.js +0 -124
  601. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_en_GB.js +0 -124
  602. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_en_US_sappsd.js +0 -124
  603. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_en_US_saprigi.js +0 -124
  604. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_en_US_saptrc.js +0 -124
  605. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_es.js +0 -124
  606. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_es_MX.js +0 -124
  607. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_et.js +0 -124
  608. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_fi.js +0 -124
  609. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_fr.js +0 -124
  610. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_fr_CA.js +0 -124
  611. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_hi.js +0 -124
  612. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_hr.js +0 -124
  613. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_hu.js +0 -124
  614. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_in.js +0 -53
  615. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_it.js +0 -124
  616. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_iw.js +0 -124
  617. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_ja.js +0 -124
  618. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_kk.js +0 -124
  619. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_ko.js +0 -124
  620. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_lt.js +0 -124
  621. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_lv.js +0 -124
  622. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_ms.js +0 -124
  623. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_nl.js +0 -124
  624. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_no.js +0 -124
  625. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_pl.js +0 -124
  626. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_pt.js +0 -124
  627. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_pt_PT.js +0 -124
  628. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_ro.js +0 -124
  629. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_ru.js +0 -124
  630. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_sh.js +0 -124
  631. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_sk.js +0 -124
  632. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_sl.js +0 -124
  633. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_sv.js +0 -124
  634. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_th.js +0 -124
  635. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_tr.js +0 -124
  636. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_uk.js +0 -124
  637. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_vi.js +0 -124
  638. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_zh_CN.js +0 -124
  639. package/src/sap/ui/webc/fiori/thirdparty/_chunks/messagebundle_zh_TW.js +0 -124
  640. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css.js +0 -13
  641. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css10.js +0 -13
  642. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css11.js +0 -13
  643. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css12.js +0 -13
  644. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css2.js +0 -13
  645. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css3.js +0 -13
  646. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css4.js +0 -13
  647. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css5.js +0 -13
  648. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css6.js +0 -13
  649. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css7.js +0 -13
  650. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css8.js +0 -13
  651. package/src/sap/ui/webc/fiori/thirdparty/_chunks/parameters-bundle.css9.js +0 -13
@@ -1,567 +1,1022 @@
1
- sap.ui.define(['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 (UI5Element, litRender, i18nBundle, ItemNavigation, NavigationMode, Float, clamp, ResizeHandler, Device, debounce, FocusableElements, Button, ResponsivePopover, i18nDefaults, WizardTab, WizardStep, WizardTemplate_lit, WizardPopoverTemplate_lit, Wizard_css, WizardPopover_css) { 'use strict';
2
-
3
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
4
-
5
- var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
6
- var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
7
- var ItemNavigation__default = /*#__PURE__*/_interopDefaultLegacy(ItemNavigation);
8
- var NavigationMode__default = /*#__PURE__*/_interopDefaultLegacy(NavigationMode);
9
- var Float__default = /*#__PURE__*/_interopDefaultLegacy(Float);
10
- var clamp__default = /*#__PURE__*/_interopDefaultLegacy(clamp);
11
- var ResizeHandler__default = /*#__PURE__*/_interopDefaultLegacy(ResizeHandler);
12
- var debounce__default = /*#__PURE__*/_interopDefaultLegacy(debounce);
13
- var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
14
- var ResponsivePopover__default = /*#__PURE__*/_interopDefaultLegacy(ResponsivePopover);
15
-
16
- const MIN_STEP_WIDTH_NO_TITLE = 64;
17
- const MIN_STEP_WIDTH_WITH_TITLE = 200;
18
- const EXPANDED_STEP = "data-ui5-wizard-expanded-tab";
19
- const AFTER_EXPANDED_STEP = "data-ui5-wizard-expanded-tab-next";
20
- const AFTER_CURRENT_STEP = "data-ui5-wizard-after-current-tab";
21
- const BEFORE_EXPANDED_STEP = "data-ui5-wizard-expanded-tab-prev";
22
- const STEP_SWITCH_THRESHOLDS = {
23
- MIN: 0.5,
24
- DEFAULT: 0.7,
25
- MAX: 1,
26
- };
27
- const metadata = {
28
- tag: "ui5-wizard",
29
- managedSlots: true,
30
- fastNavigation: true,
31
- properties: {
32
- width: {
33
- type: Float__default,
34
- },
35
- stepSwitchThreshold: {
36
- type: Float__default,
37
- defaultValue: STEP_SWITCH_THRESHOLDS.DEFAULT,
38
- },
39
- contentHeight: {
40
- type: Float__default,
41
- },
42
- _groupedTabs: {
43
- type: String,
44
- multiple: true,
45
- },
46
- },
47
- slots: {
48
- "default": {
49
- propertyName: "steps",
50
- type: HTMLElement,
51
- "individualSlots": true,
52
- invalidateOnChildChange: true,
53
- },
54
- },
55
- events: {
56
- "step-change": {
57
- detail: {
58
- step: { type: HTMLElement },
59
- previousStep: { type: HTMLElement },
60
- changeWithClick: { Boolean },
61
- },
62
- },
63
- },
64
- };
65
- class Wizard extends UI5Element__default {
66
- constructor() {
67
- super();
68
- this.stepScrollOffsets = [];
69
- this._groupedTabs = [];
70
- this.selectedStepIndex = 0;
71
- this.previouslySelectedStepIndex = 0;
72
- this.selectionRequestedByClick = false;
73
- this._prevWidth = 0;
74
- this._prevContentHeight = 0;
75
- this.selectionRequestedByScroll = false;
76
- this._itemNavigation = new ItemNavigation__default(this, {
77
- navigationMode: NavigationMode__default.Auto,
78
- getItemsCallback: () => this.enabledStepsInHeaderDOM,
79
- });
80
- this._onStepResize = this.onStepResize.bind(this);
81
- }
82
- static get metadata() {
83
- return metadata;
84
- }
85
- static get render() {
86
- return litRender__default;
87
- }
88
- get classes() {
89
- return {
90
- popover: {
91
- "ui5-wizard-responsive-popover": true,
92
- "ui5-wizard-popover": !Device.isPhone(),
93
- "ui5-wizard-dialog": Device.isPhone(),
94
- },
95
- };
96
- }
97
- static get styles() {
98
- return Wizard_css;
99
- }
100
- static get staticAreaStyles() {
101
- return WizardPopover_css;
102
- }
103
- static get template() {
104
- return WizardTemplate_lit;
105
- }
106
- static get dependencies() {
107
- return [
108
- WizardTab,
109
- WizardStep,
110
- ResponsivePopover__default,
111
- Button__default,
112
- ];
113
- }
114
- static async onDefine() {
115
- Wizard.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
116
- }
117
- static get PHONE_BREAKPOINT() {
118
- return 599;
119
- }
120
- static get SCROLL_DEBOUNCE_RATE() {
121
- return 25;
122
- }
123
- static get staticAreaTemplate() {
124
- return WizardPopoverTemplate_lit;
125
- }
126
- onExitDOM() {
127
- this.detachStepsResizeObserver();
128
- }
129
- onBeforeRendering() {
130
- this.syncSelection();
131
- }
132
- onAfterRendering() {
133
- this.storeStepScrollOffsets();
134
- if (this.previouslySelectedStepIndex !== this.selectedStepIndex) {
135
- this.scrollToSelectedStep();
136
- }
137
- this.attachStepsResizeObserver();
138
- this.previouslySelectedStepIndex = this.selectedStepIndex;
139
- }
140
- syncSelection() {
141
- if (this.stepsCount === 0) {
142
- return;
143
- }
144
- if (this.selectedStepsCount === 0) {
145
- this.selectFirstStep();
146
- console.warn("Selecting the first step: no selected step is defined.");
147
- }
148
- if (this.selectedStepsCount > 1) {
149
- this.selectLastSelectedStep();
150
- console.warn(`Selecting the last step defined as selected: multiple selected steps are defined.`);
151
- }
152
- if (this.selectedStep && this.selectedStep.disabled) {
153
- console.warn("The selected step is disabled: you need to enable it in order to interact with the step.");
154
- }
155
- this.selectedStepIndex = this.getSelectedStepIndex();
156
- }
157
- selectFirstStep() {
158
- this.deselectAll();
159
- this.slottedSteps[0].selected = true;
160
- this.slottedSteps[0].disabled = false;
161
- }
162
- selectLastSelectedStep() {
163
- const lastSelectedStep = this.lastSelectedStep;
164
- if (lastSelectedStep) {
165
- this.deselectAll();
166
- lastSelectedStep.selected = true;
167
- lastSelectedStep.disabled = false;
168
- }
169
- }
170
- deselectAll() {
171
- this.slottedSteps.forEach(step => {
172
- step.selected = false;
173
- });
174
- }
175
- storeStepScrollOffsets() {
176
- this.stepScrollOffsets = this.slottedSteps.map(step => {
177
- const contentItem = this.getStepWrapperByRefId(step._id);
178
- return contentItem.offsetTop + contentItem.offsetHeight;
179
- });
180
- }
181
- onSelectionChangeRequested(event) {
182
- this.selectionRequestedByClick = true;
183
- this.changeSelectionByStepAction(event.target);
184
- }
185
- onScroll(event) {
186
- if (this.selectionRequestedByClick) {
187
- this.selectionRequestedByClick = false;
188
- return;
189
- }
190
- debounce__default(this.changeSelectionByScroll.bind(this, event.target.scrollTop), Wizard.SCROLL_DEBOUNCE_RATE);
191
- }
192
- onStepInHeaderFocused(event) {
193
- this._itemNavigation.setCurrentItem(event.target);
194
- }
195
- onStepResize() {
196
- this.width = this.getBoundingClientRect().width;
197
- this.contentHeight = this.getContentHeight();
198
- if (this._prevWidth !== this.width || this.contentHeight !== this._prevContentHeight) {
199
- this._closeRespPopover();
200
- }
201
- this._prevWidth = this.width;
202
- this._prevContentHeight = this.contentHeight;
203
- }
204
- attachStepsResizeObserver() {
205
- this.stepsDOM.forEach(stepDOM => {
206
- ResizeHandler__default.deregister(stepDOM, this._onStepResize);
207
- ResizeHandler__default.register(stepDOM, this._onStepResize);
208
- });
209
- }
210
- detachStepsResizeObserver() {
211
- this.stepsDOM.forEach(stepDOM => {
212
- ResizeHandler__default.deregister(stepDOM, this._onStepResize);
213
- });
214
- }
215
- _adjustHeaderOverflow() {
216
- let counter = 0;
217
- let isForward = true;
218
- const iWidth = this.width;
219
- const iCurrStep = this.getSelectedStepIndex();
220
- const iStepsToShow = this.steps.length ? Math.floor(iWidth / MIN_STEP_WIDTH_WITH_TITLE) : Math.floor(iWidth / MIN_STEP_WIDTH_NO_TITLE);
221
- const tabs = this.shadowRoot.querySelectorAll("[ui5-wizard-tab]");
222
- if (!tabs.length) {
223
- return;
224
- }
225
- [].forEach.call(tabs, (step, index) => {
226
- step.setAttribute(EXPANDED_STEP, false);
227
- step.setAttribute(BEFORE_EXPANDED_STEP, false);
228
- step.setAttribute(AFTER_EXPANDED_STEP, false);
229
- if (index > iCurrStep) {
230
- tabs[index].setAttribute(AFTER_CURRENT_STEP, true);
231
- } else {
232
- tabs[index].removeAttribute(AFTER_CURRENT_STEP);
233
- }
234
- });
235
- if (tabs[iCurrStep]) {
236
- tabs[iCurrStep].setAttribute(EXPANDED_STEP, true);
237
- }
238
- for (let i = 1; i < iStepsToShow; i++) {
239
- if (isForward) {
240
- counter += 1;
241
- }
242
- if (isForward && tabs[iCurrStep + counter]) {
243
- tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, true);
244
- isForward = !isForward;
245
- } else if (!isForward && tabs[iCurrStep - counter]) {
246
- tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, true);
247
- isForward = !isForward;
248
- } else if (tabs[iCurrStep + counter + 1]) {
249
- counter += 1;
250
- tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, true);
251
- isForward = true;
252
- } else if (tabs[iCurrStep - counter]) {
253
- tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, true);
254
- counter += 1;
255
- isForward = false;
256
- }
257
- }
258
- for (let i = 0; i < tabs.length; i++) {
259
- if (tabs[i].getAttribute(EXPANDED_STEP) === "true" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === "false") {
260
- tabs[i - 1].setAttribute(BEFORE_EXPANDED_STEP, true);
261
- }
262
- if (tabs[i].getAttribute(EXPANDED_STEP) === "false" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === "true") {
263
- tabs[i].setAttribute(AFTER_EXPANDED_STEP, true);
264
- break;
265
- }
266
- }
267
- }
268
- _isGroupAtStart(selectedStep) {
269
- const iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);
270
- return selectedStep.getAttribute(EXPANDED_STEP) === "false" && selectedStep.getAttribute(BEFORE_EXPANDED_STEP) === "true" && iStepNumber > 0;
271
- }
272
- _isGroupAtEnd(selectedStep) {
273
- const iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);
274
- return selectedStep.getAttribute(EXPANDED_STEP) === "false" && selectedStep.getAttribute(AFTER_EXPANDED_STEP) === "true" && (iStepNumber + 1 < this.steps.length);
275
- }
276
- async _showPopover(oDomTarget, bAtStart) {
277
- const tabs = Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
278
- this._groupedTabs = [];
279
- const iFromStep = bAtStart ? 0 : this.stepsInHeaderDOM.indexOf(oDomTarget);
280
- const iToStep = bAtStart ? this.stepsInHeaderDOM.indexOf(oDomTarget) : tabs.length - 1;
281
- for (let i = iFromStep; i <= iToStep; i++) {
282
- this._groupedTabs.push(tabs[i]);
283
- }
284
- const responsivePopover = await this._respPopover();
285
- responsivePopover.showAt(oDomTarget);
286
- }
287
- async _onGroupedTabClick(event) {
288
- if (this._isGroupAtStart(event.target)) {
289
- return this._showPopover(event.target, true);
290
- }
291
- if (this._isGroupAtEnd(event.target)) {
292
- return this._showPopover(event.target, false);
293
- }
294
- }
295
- _onOverflowStepButtonClick(event) {
296
- const tabs = Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
297
- const stepRefId = event.target.getAttribute("data-ui5-header-tab-ref-id");
298
- const stepToSelect = this.slottedSteps[stepRefId - 1];
299
- const selectedStep = this.selectedStep;
300
- const newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);
301
- this.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);
302
- this._closeRespPopover();
303
- tabs[newlySelectedIndex].focus();
304
- }
305
- async _closeRespPopover() {
306
- const responsivePopover = await this._respPopover();
307
- responsivePopover && responsivePopover.close();
308
- }
309
- async _respPopover() {
310
- const staticAreaItem = await this.getStaticAreaItemDomRef();
311
- return staticAreaItem.querySelector(`.ui5-wizard-responsive-popover`);
312
- }
313
- changeSelectionByScroll(scrollPos) {
314
- const newlySelectedIndex = this.getClosestStepIndexByScrollPos(scrollPos);
315
- if (this.selectedStepIndex === newlySelectedIndex) {
316
- return;
317
- }
318
- if (newlySelectedIndex >= 0 && newlySelectedIndex <= this.stepsCount - 1) {
319
- const stepToSelect = this.slottedSteps[newlySelectedIndex];
320
- this.switchSelectionFromOldToNewStep(this.selectedStep, stepToSelect, newlySelectedIndex, false);
321
- this.selectionRequestedByScroll = true;
322
- }
323
- }
324
- async changeSelectionByStepAction(stepInHeader) {
325
- const stepRefId = stepInHeader.getAttribute("data-ui5-content-ref-id");
326
- const selectedStep = this.selectedStep;
327
- const stepToSelect = this.getStepByRefId(stepRefId);
328
- const bExpanded = stepInHeader.getAttribute(EXPANDED_STEP) === "true";
329
- const newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);
330
- const firstFocusableElement = await FocusableElements.getFirstFocusableElement(stepToSelect.firstElementChild);
331
- if (firstFocusableElement) {
332
- firstFocusableElement.focus();
333
- }
334
- if (selectedStep === stepToSelect) {
335
- this.scrollToContentItem(this.selectedStepIndex);
336
- return;
337
- }
338
- if (bExpanded || (!bExpanded && (newlySelectedIndex === 0 || newlySelectedIndex === this.steps.length - 1))) {
339
- this.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);
340
- }
341
- }
342
- getContentHeight() {
343
- let contentHeight = 0;
344
- this.stepsDOM.forEach(step => {
345
- contentHeight += step.getBoundingClientRect().height;
346
- });
347
- return contentHeight;
348
- }
349
- getStepAriaLabelText(step, ariaLabel) {
350
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_STEP_ARIA_LABEL, ariaLabel);
351
- }
352
- get stepsDOM() {
353
- return Array.from(this.shadowRoot.querySelectorAll(".ui5-wiz-content-item"));
354
- }
355
- get _stepsInHeader() {
356
- return this.getStepsInfo();
357
- }
358
- get _steps() {
359
- const lastEnabledStepIndex = this.getLastEnabledStepIndex();
360
- const stepsInfo = this.getStepsInfo();
361
- return this.steps.map((step, idx) => {
362
- step.stretch = idx === lastEnabledStepIndex;
363
- step.stepContentAriaLabel = `${this.navStepDefaultHeading} ${stepsInfo[idx].number} ${stepsInfo[idx].titleText}`;
364
- return step;
365
- });
366
- }
367
- get stepsCount() {
368
- return this.slottedSteps.length;
369
- }
370
- get selectedStep() {
371
- if (this.selectedStepsCount) {
372
- return this.selectedSteps[0];
373
- }
374
- return null;
375
- }
376
- get lastSelectedStep() {
377
- if (this.selectedStepsCount) {
378
- return this.selectedSteps[this.selectedStepsCount - 1];
379
- }
380
- return null;
381
- }
382
- get selectedSteps() {
383
- return this.slottedSteps.filter(step => step.selected);
384
- }
385
- get enabledSteps() {
386
- return this.slottedSteps.filter(step => !step.disabled);
387
- }
388
- get selectedStepsCount() {
389
- return this.selectedSteps.length;
390
- }
391
- get slottedSteps() {
392
- return this.getSlottedNodes("steps");
393
- }
394
- get contentDOM() {
395
- return this.shadowRoot.querySelector(`.ui5-wiz-content`);
396
- }
397
- get stepsInHeaderDOM() {
398
- return Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
399
- }
400
- get enabledStepsInHeaderDOM() {
401
- return this.stepsInHeaderDOM;
402
- }
403
- get phoneMode() {
404
- if (Device.isPhone()) {
405
- return true;
406
- }
407
- return this.width <= Wizard.PHONE_BREAKPOINT;
408
- }
409
- get navAriaRoleDescription() {
410
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
411
- }
412
- get navAriaLabelText() {
413
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_NAV_ARIA_LABEL);
414
- }
415
- get navAriaDescribedbyText() {
416
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_LIST_ARIA_DESCRIBEDBY);
417
- }
418
- get listAriaLabelText() {
419
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_LIST_ARIA_LABEL);
420
- }
421
- get actionSheetStepsText() {
422
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);
423
- }
424
- get navStepDefaultHeading() {
425
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_NAV_STEP_DEFAULT_HEADING);
426
- }
427
- get optionalStepText() {
428
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_OPTIONAL_STEP_ARIA_LABEL);
429
- }
430
- get activeStepText() {
431
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_STEP_ACTIVE);
432
- }
433
- get inactiveStepText() {
434
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_STEP_INACTIVE);
435
- }
436
- get ariaLabelText() {
437
- return Wizard.i18nBundle.getText(i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
438
- }
439
- get effectiveStepSwitchThreshold() {
440
- return clamp__default(this.stepSwitchThreshold, STEP_SWITCH_THRESHOLDS.MIN, STEP_SWITCH_THRESHOLDS.MAX);
441
- }
442
- getStepsInfo() {
443
- const lastEnabledStepIndex = this.getLastEnabledStepIndex();
444
- const stepsCount = this.stepsCount;
445
- const selectedStepIndex = this.getSelectedStepIndex();
446
- let inintialZIndex = this.steps.length + 10;
447
- let accInfo;
448
- this._adjustHeaderOverflow();
449
- return this.steps.map((step, idx) => {
450
- const pos = idx + 1;
451
- const hideSeparator = (idx === stepsCount - 1) && !step.branching;
452
- const isOptional = step.subtitleText ? this.optionalStepText : "";
453
- const stepStateText = step.disabled ? this.inactiveStepText : this.activeStepText;
454
- const ariaLabel = (step.titleText ? `${pos} ${step.titleText} ${stepStateText} ${isOptional}` : `${this.navStepDefaultHeading} ${pos} ${stepStateText} ${isOptional}`).trim();
455
- const isAfterCurrent = (idx > selectedStepIndex);
456
- accInfo = {
457
- "ariaSetsize": stepsCount,
458
- "ariaPosinset": pos,
459
- "ariaLabel": this.getStepAriaLabelText(step, ariaLabel),
460
- };
461
- return {
462
- icon: step.icon,
463
- titleText: step.titleText,
464
- subtitleText: step.subtitleText,
465
- number: pos,
466
- selected: step.selected,
467
- disabled: step.disabled,
468
- hideSeparator,
469
- activeSeparator: (idx < lastEnabledStepIndex) && !step.disabled,
470
- branchingSeparator: step.branching,
471
- pos,
472
- accInfo,
473
- refStepId: step._id,
474
- tabIndex: this.selectedStepIndex === idx ? "0" : "-1",
475
- styles: {
476
- zIndex: isAfterCurrent ? --inintialZIndex : 1,
477
- },
478
- };
479
- });
480
- }
481
- getSelectedStepIndex() {
482
- if (this.selectedStep) {
483
- return this.slottedSteps.indexOf(this.selectedStep);
484
- }
485
- return 0;
486
- }
487
- getLastEnabledStepIndex() {
488
- let lastEnabledStepIndex = 0;
489
- this.slottedSteps.forEach((step, idx) => {
490
- if (!step.disabled) {
491
- lastEnabledStepIndex = idx;
492
- }
493
- });
494
- return lastEnabledStepIndex;
495
- }
496
- getStepByRefId(refId) {
497
- return this.slottedSteps.find(step => step._id === refId);
498
- }
499
- getStepWrapperByRefId(refId) {
500
- return this.shadowRoot.querySelector(`[data-ui5-content-item-ref-id=${refId}]`);
501
- }
502
- getStepWrapperByIdx(idx) {
503
- return this.getStepWrapperByRefId(this.steps[idx]._id);
504
- }
505
- scrollToSelectedStep() {
506
- if (!this.selectionRequestedByScroll) {
507
- this.scrollToContentItem(this.selectedStepIndex);
508
- }
509
- this.selectionRequestedByScroll = false;
510
- }
511
- scrollToContentItem(stepIndex) {
512
- this.contentDOM.scrollTop = this.getClosestScrollPosByStepIndex(stepIndex);
513
- }
514
- getClosestScrollPosByStepIndex(stepIndex) {
515
- if (stepIndex === 0) {
516
- return 0;
517
- }
518
- for (let closestStepIndex = stepIndex - 1; closestStepIndex >= 0; closestStepIndex--) {
519
- if (this.stepScrollOffsets[closestStepIndex] > 0) {
520
- return this.stepScrollOffsets[closestStepIndex];
521
- }
522
- }
523
- return 0;
524
- }
525
- getClosestStepIndexByScrollPos(scrollPos) {
526
- for (let closestStepIndex = 0; closestStepIndex <= this.stepScrollOffsets.length - 1; closestStepIndex++) {
527
- const stepScrollOffset = this.stepScrollOffsets[closestStepIndex];
528
- const step = this.getStepWrapperByIdx(closestStepIndex);
529
- const switchStepBoundary = step.offsetTop + (step.offsetHeight * this.effectiveStepSwitchThreshold);
530
- if (stepScrollOffset > 0 && scrollPos < stepScrollOffset) {
531
- if (scrollPos > switchStepBoundary) {
532
- return closestStepIndex + 1;
533
- }
534
- return closestStepIndex;
535
- }
536
- }
537
- return this.selectedStepIndex;
538
- }
539
- switchSelectionFromOldToNewStep(selectedStep, stepToSelect, stepToSelectIndex, changeWithClick) {
540
- if (selectedStep && stepToSelect) {
541
- if (!stepToSelect.disabled) {
542
- selectedStep.selected = false;
543
- stepToSelect.selected = true;
544
- }
545
- this.fireEvent("step-change", {
546
- step: stepToSelect,
547
- previousStep: selectedStep,
548
- changeWithClick,
549
- });
550
- this.selectedStepIndex = stepToSelectIndex;
551
- }
552
- }
553
- sortAscending(a, b) {
554
- if (a < b) {
555
- return -1;
556
- }
557
- if (a > b) {
558
- return 1;
559
- }
560
- return 0;
561
- }
562
- }
563
- Wizard.define();
564
-
565
- return Wizard;
566
-
567
- });
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) {
2
+ "use strict";
3
+
4
+ Object.defineProperty(_exports, "__esModule", {
5
+ value: true
6
+ });
7
+ _exports.default = void 0;
8
+ _UI5Element = _interopRequireDefault(_UI5Element);
9
+ _LitRenderer = _interopRequireDefault(_LitRenderer);
10
+ _ItemNavigation = _interopRequireDefault(_ItemNavigation);
11
+ _NavigationMode = _interopRequireDefault(_NavigationMode);
12
+ _Float = _interopRequireDefault(_Float);
13
+ _clamp = _interopRequireDefault(_clamp);
14
+ _ResizeHandler = _interopRequireDefault(_ResizeHandler);
15
+ _debounce = _interopRequireDefault(_debounce);
16
+ _Button = _interopRequireDefault(_Button);
17
+ _ResponsivePopover = _interopRequireDefault(_ResponsivePopover);
18
+ _WizardTab = _interopRequireDefault(_WizardTab);
19
+ _WizardStep = _interopRequireDefault(_WizardStep);
20
+ _WizardTemplate = _interopRequireDefault(_WizardTemplate);
21
+ _WizardPopoverTemplate = _interopRequireDefault(_WizardPopoverTemplate);
22
+ _Wizard = _interopRequireDefault(_Wizard);
23
+ _WizardPopover = _interopRequireDefault(_WizardPopover);
24
+
25
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26
+
27
+ // Texts
28
+ // Step in header and content
29
+ // Template and Styles
30
+ const MIN_STEP_WIDTH_NO_TITLE = 64;
31
+ const MIN_STEP_WIDTH_WITH_TITLE = 200;
32
+ const EXPANDED_STEP = "data-ui5-wizard-expanded-tab";
33
+ const AFTER_EXPANDED_STEP = "data-ui5-wizard-expanded-tab-next";
34
+ const AFTER_CURRENT_STEP = "data-ui5-wizard-after-current-tab";
35
+ const BEFORE_EXPANDED_STEP = "data-ui5-wizard-expanded-tab-prev";
36
+ const STEP_SWITCH_THRESHOLDS = {
37
+ MIN: 0.5,
38
+ DEFAULT: 0.7,
39
+ MAX: 1
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+
45
+ const metadata = {
46
+ tag: "ui5-wizard",
47
+ managedSlots: true,
48
+ fastNavigation: true,
49
+ properties:
50
+ /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */
51
+ {
52
+ /**
53
+ * Defines the width of the <code>ui5-wizard</code>.
54
+ * @private
55
+ */
56
+ width: {
57
+ type: _Float.default
58
+ },
59
+
60
+ /**
61
+ * Defines the threshold to switch between steps upon user scrolling.
62
+ * <br><br>
63
+ *
64
+ * <b>For Example:</b>
65
+ * <br>
66
+ * (1) To switch to the next step, when half of the step is scrolled out - set <code>step-switch-threshold="0.5"</code>.
67
+ * (2) To switch to the next step, when the entire current step is scrolled out - set <code>step-switch-threshold="1"</code>.
68
+ *
69
+ * <br><br>
70
+ * <b>Note:</b> Supported values are between 0.5 and 1
71
+ * and values out of the range will be normalized to 0.5 and 1 respectively.
72
+ * @private
73
+ * @type {Float}
74
+ * @defaultvalue 0.7
75
+ * @since 1.0.0-rc.13
76
+ */
77
+ stepSwitchThreshold: {
78
+ type: _Float.default,
79
+ defaultValue: STEP_SWITCH_THRESHOLDS.DEFAULT
80
+ },
81
+
82
+ /**
83
+ * Defines the height of the <code>ui5-wizard</code> content.
84
+ * @private
85
+ */
86
+ contentHeight: {
87
+ type: _Float.default
88
+ },
89
+ _groupedTabs: {
90
+ type: String,
91
+ multiple: true
92
+ }
93
+ },
94
+ slots:
95
+ /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */
96
+ {
97
+ /**
98
+ * Defines the steps.
99
+ * <br><br>
100
+ * <b>Note:</b> Use the available <code>ui5-wizard-step</code> component.
101
+ *
102
+ * @type {sap.ui.webcomponents.fiori.IWizardStep[]}
103
+ * @public
104
+ * @slot steps
105
+ */
106
+ "default": {
107
+ propertyName: "steps",
108
+ type: HTMLElement,
109
+ "individualSlots": true,
110
+ invalidateOnChildChange: true
111
+ }
112
+ },
113
+ events:
114
+ /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */
115
+ {
116
+ /**
117
+ * Fired when the step is changed by user interaction - either with scrolling,
118
+ * or by clicking on the steps within the component header.
119
+ *
120
+ * @event sap.ui.webcomponents.fiori.Wizard#step-change
121
+ * @param {HTMLElement} step The new step.
122
+ * @param {HTMLElement} previousStep The previous step.
123
+ * @param {boolean} changeWithClick The step change occurs due to user's click or 'Enter'/'Space' key press on step within the navigation.
124
+ * @public
125
+ */
126
+ "step-change": {
127
+ detail: {
128
+ step: {
129
+ type: HTMLElement
130
+ },
131
+ previousStep: {
132
+ type: HTMLElement
133
+ },
134
+ changeWithClick: {
135
+ Boolean
136
+ }
137
+ }
138
+ }
139
+ }
140
+ };
141
+ /**
142
+ * @class
143
+ *
144
+ * <h3 class="comment-api-title">Overview</h3>
145
+ *
146
+ * The <code>ui5-wizard</code> helps users to complete a complex task by dividing it into sections and guiding them through it.
147
+ * It has two main areas - a navigation area at the top showing the step sequence and a content area below it.
148
+ *
149
+ * <h3>Structure</h3>
150
+ * <h4>Navigation area</h4>
151
+ * The top most area of the <code>ui5-wizard</code> is occupied by the navigation area.
152
+ * It shows the sequence of steps, where the recommended number of steps is between 3 and 8 steps.
153
+ * <ul>
154
+ * <li> Steps can have different visual representations - numbers or icons.
155
+ * <li> Steps might have labels for better readability - titleText and subTitleText.</li>
156
+ * <li> Steps are defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.</li>
157
+ * </ul>
158
+ *
159
+ * <b>Note:</b> If no selected step is defined, the first step will be auto selected.
160
+ * <br>
161
+ * <b>Note:</b> If multiple selected steps are defined, the last step will be selected.
162
+ *
163
+ * <h3>Keyboard Handling</h3>
164
+ * The user can navigate using the following keyboard shortcuts:
165
+ * <br>
166
+ *
167
+ * <h4>Wizard Progress Navigation</h4>
168
+ * <ul>
169
+ * <li>[LEFT], [DOWN] - Focus moves backward to the WizardProgressNavAnchors.</li>
170
+ * <li>[UP], [RIGHT] - Focus moves forward to the WizardProgressNavAnchor.</li>
171
+ * <li>[SPACE] or [ENTER], [RETURN] - Selects an active step</li>
172
+ * <li>[HOME] or [PAGE UP] - Focus goes to the first step</li>
173
+ * <li>[END] or [PAGE DOWN] - Focus goes to the last step</li>
174
+ * </ul>
175
+ *
176
+ * <h4>Fast Navigation</h4>
177
+ * 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>.
178
+ * In order to use this functionality, you need to import the following module:
179
+ * <code>import "@ui5/webcomponents-base/dist/features/F6Navigation.js"</code>
180
+ *
181
+ * <h4>Content</h4>
182
+ * The content occupies the main part of the page. It can hold any type of HTML elements.
183
+ * It's defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.
184
+ *
185
+ * <h3>Scrolling</h3>
186
+ * The component handles user scrolling by selecting the closest step, based on the current scroll position
187
+ * and scrolls to particular place, when the user clicks on the step within the navigation area.
188
+ * <br><br>
189
+ *
190
+ * <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.
191
+ * The component or its parent has to be given percentage or absolute height. Otherwise, the component will be scrolled out with the entire page.
192
+ * <br><br>
193
+ * <b>For example:</b>
194
+ * <br><br>
195
+ * <code>&lt;ui5-dialog style="height: 80%"&gt;<br></code>
196
+ * <code>&#9;&lt;ui5-wizard&gt;&lt;/ui5-wizard&gt;<br></code>
197
+ * <code>&lt;/ui5-dialog&gt;</code>
198
+ *
199
+ * <h4>Moving to next step</h4>
200
+ * 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.
201
+ * You have to set its <code>selected</code> property (and remove the <code>disabled</code> one if set) to <code>true</code>.
202
+ * The <code>ui5-wizard</code> will automatically scroll to the content of the newly selected step.
203
+ * <br><br>
204
+ *
205
+ * The Fiori 3 guidelines recommends having a "nextStep" button in the content area.
206
+ * You can place a button, or any other type of element to trigger step change, inside the <code>ui5-wizard-step</code>,
207
+ * and show/hide it when certain fields are filled or user defined criteria is met.
208
+ *
209
+ * <h3>Usage</h3>
210
+ * <h4>When to use:</h4>
211
+ * When the user has to accomplish a long or unfamiliar task.
212
+ *
213
+ * <h4>When not to use:</h4>
214
+ * When the task has less than 3 steps.
215
+ *
216
+ * <h3>Responsive Behavior</h3>
217
+ * 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.
218
+ * 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.
219
+ *
220
+ * <h3>ES6 Module Import</h3>
221
+ * <code>import "@ui5/webcomponents-fiori/dist/Wizard.js";</code> (includes <ui5-wizard-step>)
222
+ *
223
+ * @constructor
224
+ * @author SAP SE
225
+ * @alias sap.ui.webcomponents.fiori.Wizard
226
+ * @extends UI5Element
227
+ * @tagname ui5-wizard
228
+ * @since 1.0.0-rc.10
229
+ * @appenddocs WizardStep
230
+ * @public
231
+ */
232
+
233
+ class Wizard extends _UI5Element.default {
234
+ constructor() {
235
+ super(); // Stores the scroll offsets of the steps,
236
+ // e.g. the steps' starting point.
237
+
238
+ this.stepScrollOffsets = []; // Stores references to the grouped steps.
239
+
240
+ this._groupedTabs = []; // Keeps track of the currently selected step index.
241
+
242
+ this.selectedStepIndex = 0; // Keeps track of the previously selected step index.
243
+
244
+ this.previouslySelectedStepIndex = 0; // Indicates that selection will be changed
245
+ // due to user click.
246
+
247
+ this.selectionRequestedByClick = false; // Stores the previous width
248
+
249
+ this._prevWidth = 0; // Stores the previous height
250
+
251
+ this._prevContentHeight = 0; // Indicates that selection will be changed
252
+ // due to user scroll.
253
+
254
+ this.selectionRequestedByScroll = false;
255
+ this._itemNavigation = new _ItemNavigation.default(this, {
256
+ navigationMode: _NavigationMode.default.Auto,
257
+ getItemsCallback: () => this.enabledStepsInHeaderDOM
258
+ });
259
+ this._onStepResize = this.onStepResize.bind(this);
260
+ }
261
+
262
+ static get metadata() {
263
+ return metadata;
264
+ }
265
+
266
+ static get render() {
267
+ return _LitRenderer.default;
268
+ }
269
+
270
+ get classes() {
271
+ return {
272
+ popover: {
273
+ "ui5-wizard-responsive-popover": true,
274
+ "ui5-wizard-popover": !(0, _Device.isPhone)(),
275
+ "ui5-wizard-dialog": (0, _Device.isPhone)()
276
+ }
277
+ };
278
+ }
279
+
280
+ static get styles() {
281
+ return _Wizard.default;
282
+ }
283
+
284
+ static get staticAreaStyles() {
285
+ return _WizardPopover.default;
286
+ }
287
+
288
+ static get template() {
289
+ return _WizardTemplate.default;
290
+ }
291
+
292
+ static get dependencies() {
293
+ return [_WizardTab.default, _WizardStep.default, _ResponsivePopover.default, _Button.default];
294
+ }
295
+
296
+ static async onDefine() {
297
+ Wizard.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori");
298
+ }
299
+
300
+ static get PHONE_BREAKPOINT() {
301
+ return 599;
302
+ }
303
+
304
+ static get SCROLL_DEBOUNCE_RATE() {
305
+ return 25;
306
+ }
307
+
308
+ static get staticAreaTemplate() {
309
+ return _WizardPopoverTemplate.default;
310
+ }
311
+
312
+ onExitDOM() {
313
+ this.detachStepsResizeObserver();
314
+ }
315
+
316
+ onBeforeRendering() {
317
+ this.syncSelection();
318
+ }
319
+
320
+ onAfterRendering() {
321
+ this.storeStepScrollOffsets();
322
+
323
+ if (this.previouslySelectedStepIndex !== this.selectedStepIndex) {
324
+ this.scrollToSelectedStep();
325
+ }
326
+
327
+ this.attachStepsResizeObserver();
328
+ this.previouslySelectedStepIndex = this.selectedStepIndex;
329
+ }
330
+ /**
331
+ * Normalizes the step selection as follows:
332
+ * (1) If there is no selected step - the first step is going to be selected.
333
+ * (2) If the selected steps are more than one - the last step is going to be selected.
334
+ * (3) If the selected step is also disabled - log a warning.
335
+ * @private
336
+ */
337
+
338
+
339
+ syncSelection() {
340
+ if (this.stepsCount === 0) {
341
+ return;
342
+ } // If no selected steps -> select the first step.
343
+
344
+
345
+ if (this.selectedStepsCount === 0) {
346
+ this.selectFirstStep();
347
+ console.warn("Selecting the first step: no selected step is defined."); // eslint-disable-line
348
+ } // If there are multiple selected steps -> keep the last selected one.
349
+
350
+
351
+ if (this.selectedStepsCount > 1) {
352
+ this.selectLastSelectedStep();
353
+ console.warn(`Selecting the last step defined as selected: multiple selected steps are defined.`); // eslint-disable-line
354
+ } // If the selected step is defined as disabled - log warning.
355
+
356
+
357
+ if (this.selectedStep && this.selectedStep.disabled) {
358
+ console.warn("The selected step is disabled: you need to enable it in order to interact with the step."); // eslint-disable-line
359
+ } // Place for improvement: If the selected step is not the first, enable all the prior steps
360
+
361
+
362
+ this.selectedStepIndex = this.getSelectedStepIndex();
363
+ }
364
+ /**
365
+ * Selects the first step.
366
+ * @private
367
+ */
368
+
369
+
370
+ selectFirstStep() {
371
+ this.deselectAll();
372
+ this.slottedSteps[0].selected = true;
373
+ this.slottedSteps[0].disabled = false;
374
+ }
375
+ /**
376
+ * Selects the last step from multiple selected ones.
377
+ * @private
378
+ */
379
+
380
+
381
+ selectLastSelectedStep() {
382
+ const lastSelectedStep = this.lastSelectedStep;
383
+
384
+ if (lastSelectedStep) {
385
+ this.deselectAll();
386
+ lastSelectedStep.selected = true;
387
+ lastSelectedStep.disabled = false;
388
+ }
389
+ }
390
+ /**
391
+ * Deselects all steps.
392
+ * @private
393
+ */
394
+
395
+
396
+ deselectAll() {
397
+ this.slottedSteps.forEach(step => {
398
+ step.selected = false;
399
+ });
400
+ }
401
+ /**
402
+ * Stores the scroll offsets of the steps,
403
+ * e.g. the steps' starting point.
404
+ *
405
+ * <b>Note:</b> the disabled ones has negative offsets.
406
+ * @private
407
+ */
408
+
409
+
410
+ storeStepScrollOffsets() {
411
+ this.stepScrollOffsets = this.slottedSteps.map(step => {
412
+ const contentItem = this.getStepWrapperByRefId(step._id);
413
+ return contentItem.offsetTop + contentItem.offsetHeight;
414
+ });
415
+ }
416
+ /**
417
+ * Handles user click on steps' tabs within the header.
418
+ * <b>Note:</b> the handler is bound in the template.
419
+ * @param {Event} event
420
+ * @private
421
+ */
422
+
423
+
424
+ onSelectionChangeRequested(event) {
425
+ this.selectionRequestedByClick = true;
426
+ this.changeSelectionByStepAction(event.target);
427
+ }
428
+ /**
429
+ * Handles user scrolling with debouncing.
430
+ * <b>Note:</b> the handler is bound in the template.
431
+ * @param {Event} event
432
+ * @private
433
+ */
434
+
435
+
436
+ onScroll(event) {
437
+ if (this.selectionRequestedByClick) {
438
+ this.selectionRequestedByClick = false;
439
+ return;
440
+ }
441
+
442
+ (0, _debounce.default)(this.changeSelectionByScroll.bind(this, event.target.scrollTop), Wizard.SCROLL_DEBOUNCE_RATE);
443
+ }
444
+ /**
445
+ * Handles when a step in the header is focused in order to update the <code>ItemNavigation</code>.
446
+ * <b>Note:</b> the handler is bound in the template.
447
+ * @param {Event} event
448
+ * @private
449
+ */
450
+
451
+
452
+ onStepInHeaderFocused(event) {
453
+ this._itemNavigation.setCurrentItem(event.target);
454
+ }
455
+ /**
456
+ * Handles resize in order to:
457
+ * (1) sync steps' scroll offset and selection
458
+ * (2) adapt navition step header
459
+ * @private
460
+ */
461
+
462
+
463
+ onStepResize() {
464
+ this.width = this.getBoundingClientRect().width;
465
+ this.contentHeight = this.getContentHeight();
466
+
467
+ if (this._prevWidth !== this.width || this.contentHeight !== this._prevContentHeight) {
468
+ this._closeRespPopover();
469
+ }
470
+
471
+ this._prevWidth = this.width;
472
+ this._prevContentHeight = this.contentHeight;
473
+ }
474
+
475
+ attachStepsResizeObserver() {
476
+ this.stepsDOM.forEach(stepDOM => {
477
+ _ResizeHandler.default.deregister(stepDOM, this._onStepResize);
478
+
479
+ _ResizeHandler.default.register(stepDOM, this._onStepResize);
480
+ });
481
+ }
482
+
483
+ detachStepsResizeObserver() {
484
+ this.stepsDOM.forEach(stepDOM => {
485
+ _ResizeHandler.default.deregister(stepDOM, this._onStepResize);
486
+ });
487
+ }
488
+ /**
489
+ * Updates the expanded attribute for each ui5-wizard-tab based on the ui5-wizard width
490
+ * @private
491
+ */
492
+
493
+
494
+ _adjustHeaderOverflow() {
495
+ let counter = 0;
496
+ let isForward = true;
497
+ const iWidth = this.width;
498
+ const iCurrStep = this.getSelectedStepIndex();
499
+ const iStepsToShow = this.steps.length ? Math.floor(iWidth / MIN_STEP_WIDTH_WITH_TITLE) : Math.floor(iWidth / MIN_STEP_WIDTH_NO_TITLE);
500
+ const tabs = this.shadowRoot.querySelectorAll("[ui5-wizard-tab]");
501
+
502
+ if (!tabs.length) {
503
+ return;
504
+ }
505
+
506
+ [].forEach.call(tabs, (step, index) => {
507
+ step.setAttribute(EXPANDED_STEP, false);
508
+ step.setAttribute(BEFORE_EXPANDED_STEP, false);
509
+ step.setAttribute(AFTER_EXPANDED_STEP, false); // Add "data-ui5-wizard-after-current-tab" to all tabs after the current one
510
+
511
+ if (index > iCurrStep) {
512
+ tabs[index].setAttribute(AFTER_CURRENT_STEP, true);
513
+ } else {
514
+ tabs[index].removeAttribute(AFTER_CURRENT_STEP);
515
+ }
516
+ }); // Add "data-ui5-wizard-expanded-tab" to the current step
517
+
518
+ if (tabs[iCurrStep]) {
519
+ tabs[iCurrStep].setAttribute(EXPANDED_STEP, true);
520
+ } // Set the "data-ui5-wizard-expanded-tab" to the steps that are expanded
521
+ // The algorithm is as follows:
522
+ // 1. A step towards the end is expanded
523
+ // 1.2. If there are no available steps towards the end a step towards the beginning is expanded
524
+ // 2. A step towards the beginning is expanded
525
+ // 2.2. If there are no available steps towards the beginning a step towards the end is expanded
526
+
527
+
528
+ for (let i = 1; i < iStepsToShow; i++) {
529
+ if (isForward) {
530
+ counter += 1;
531
+ }
532
+
533
+ if (isForward && tabs[iCurrStep + counter]) {
534
+ tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, true);
535
+ isForward = !isForward;
536
+ } else if (!isForward && tabs[iCurrStep - counter]) {
537
+ tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, true);
538
+ isForward = !isForward;
539
+ } else if (tabs[iCurrStep + counter + 1]) {
540
+ counter += 1;
541
+ tabs[iCurrStep + counter].setAttribute(EXPANDED_STEP, true);
542
+ isForward = true;
543
+ } else if (tabs[iCurrStep - counter]) {
544
+ tabs[iCurrStep - counter].setAttribute(EXPANDED_STEP, true);
545
+ counter += 1;
546
+ isForward = false;
547
+ }
548
+ } // mark the topmost steps of both groups (in the beginning and the end),
549
+ // using the "data-ui5-wizard-after-current-tab" and "data-ui5-wizard-expanded-tab-prev" attributes
550
+
551
+
552
+ for (let i = 0; i < tabs.length; i++) {
553
+ if (tabs[i].getAttribute(EXPANDED_STEP) === "true" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === "false") {
554
+ tabs[i - 1].setAttribute(BEFORE_EXPANDED_STEP, true);
555
+ }
556
+
557
+ if (tabs[i].getAttribute(EXPANDED_STEP) === "false" && tabs[i - 1] && tabs[i - 1].getAttribute(EXPANDED_STEP) === "true") {
558
+ tabs[i].setAttribute(AFTER_EXPANDED_STEP, true);
559
+ break;
560
+ }
561
+ }
562
+ }
563
+
564
+ _isGroupAtStart(selectedStep) {
565
+ const iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);
566
+ return selectedStep.getAttribute(EXPANDED_STEP) === "false" && selectedStep.getAttribute(BEFORE_EXPANDED_STEP) === "true" && iStepNumber > 0;
567
+ }
568
+
569
+ _isGroupAtEnd(selectedStep) {
570
+ const iStepNumber = this.stepsInHeaderDOM.indexOf(selectedStep);
571
+ return selectedStep.getAttribute(EXPANDED_STEP) === "false" && selectedStep.getAttribute(AFTER_EXPANDED_STEP) === "true" && iStepNumber + 1 < this.steps.length;
572
+ }
573
+
574
+ async _showPopover(oDomTarget, bAtStart) {
575
+ const tabs = Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
576
+ this._groupedTabs = [];
577
+ const iFromStep = bAtStart ? 0 : this.stepsInHeaderDOM.indexOf(oDomTarget);
578
+ const iToStep = bAtStart ? this.stepsInHeaderDOM.indexOf(oDomTarget) : tabs.length - 1;
579
+
580
+ for (let i = iFromStep; i <= iToStep; i++) {
581
+ this._groupedTabs.push(tabs[i]);
582
+ }
583
+
584
+ const responsivePopover = await this._respPopover();
585
+ responsivePopover.showAt(oDomTarget);
586
+ }
587
+
588
+ async _onGroupedTabClick(event) {
589
+ if (this._isGroupAtStart(event.target)) {
590
+ return this._showPopover(event.target, true);
591
+ }
592
+
593
+ if (this._isGroupAtEnd(event.target)) {
594
+ return this._showPopover(event.target, false);
595
+ }
596
+ }
597
+
598
+ _onOverflowStepButtonClick(event) {
599
+ const tabs = Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
600
+ const stepRefId = event.target.getAttribute("data-ui5-header-tab-ref-id");
601
+ const stepToSelect = this.slottedSteps[stepRefId - 1];
602
+ const selectedStep = this.selectedStep;
603
+ const newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);
604
+ this.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);
605
+
606
+ this._closeRespPopover();
607
+
608
+ tabs[newlySelectedIndex].focus();
609
+ }
610
+
611
+ async _closeRespPopover() {
612
+ const responsivePopover = await this._respPopover();
613
+ responsivePopover && responsivePopover.close();
614
+ }
615
+
616
+ async _respPopover() {
617
+ const staticAreaItem = await this.getStaticAreaItemDomRef();
618
+ return staticAreaItem.querySelector(`.ui5-wizard-responsive-popover`);
619
+ }
620
+ /**
621
+ * Called upon <code>onScroll</code>.
622
+ * Selects the closest step, based on the user scroll position.
623
+ * @param {Integer} scrollPos the current scroll position
624
+ * @private
625
+ */
626
+
627
+
628
+ changeSelectionByScroll(scrollPos) {
629
+ const newlySelectedIndex = this.getClosestStepIndexByScrollPos(scrollPos); // Skip if already selected - stop.
630
+
631
+ if (this.selectedStepIndex === newlySelectedIndex) {
632
+ return;
633
+ } // If the calculated index is in range,
634
+ // change selection and fire "step-change".
635
+
636
+
637
+ if (newlySelectedIndex >= 0 && newlySelectedIndex <= this.stepsCount - 1) {
638
+ const stepToSelect = this.slottedSteps[newlySelectedIndex];
639
+ this.switchSelectionFromOldToNewStep(this.selectedStep, stepToSelect, newlySelectedIndex, false);
640
+ this.selectionRequestedByScroll = true;
641
+ }
642
+ }
643
+ /**
644
+ * Called upon <code>onSelectionChangeRequested</code>.
645
+ * Selects the external step (ui5-wizard-step),
646
+ * based on the clicked or activated via keyboard step in the header (ui5-wizard-tab).
647
+ * @param {HTMLElement} stepInHeader the step equivalent in the header
648
+ * @private
649
+ */
650
+
651
+
652
+ async changeSelectionByStepAction(stepInHeader) {
653
+ const stepRefId = stepInHeader.getAttribute("data-ui5-content-ref-id");
654
+ const selectedStep = this.selectedStep;
655
+ const stepToSelect = this.getStepByRefId(stepRefId);
656
+ const bExpanded = stepInHeader.getAttribute(EXPANDED_STEP) === "true";
657
+ const newlySelectedIndex = this.slottedSteps.indexOf(stepToSelect);
658
+ const firstFocusableElement = await (0, _FocusableElements.getFirstFocusableElement)(stepToSelect.firstElementChild);
659
+
660
+ if (firstFocusableElement) {
661
+ // Focus the first focusable element within the step content corresponding to the currently focused tab
662
+ firstFocusableElement.focus();
663
+ } // If the currently selected (active) step is clicked,
664
+ // just scroll to its starting point and stop.
665
+
666
+
667
+ if (selectedStep === stepToSelect) {
668
+ this.scrollToContentItem(this.selectedStepIndex);
669
+ return;
670
+ }
671
+
672
+ if (bExpanded || !bExpanded && (newlySelectedIndex === 0 || newlySelectedIndex === this.steps.length - 1)) {
673
+ // Change selection and fire "step-change".
674
+ this.switchSelectionFromOldToNewStep(selectedStep, stepToSelect, newlySelectedIndex, true);
675
+ }
676
+ }
677
+
678
+ getContentHeight() {
679
+ let contentHeight = 0;
680
+ this.stepsDOM.forEach(step => {
681
+ contentHeight += step.getBoundingClientRect().height;
682
+ });
683
+ return contentHeight;
684
+ }
685
+
686
+ getStepAriaLabelText(step, ariaLabel) {
687
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_ARIA_LABEL, ariaLabel);
688
+ }
689
+
690
+ get stepsDOM() {
691
+ return Array.from(this.shadowRoot.querySelectorAll(".ui5-wiz-content-item"));
692
+ }
693
+
694
+ get _stepsInHeader() {
695
+ return this.getStepsInfo();
696
+ }
697
+
698
+ get _steps() {
699
+ const lastEnabledStepIndex = this.getLastEnabledStepIndex();
700
+ const stepsInfo = this.getStepsInfo();
701
+ return this.steps.map((step, idx) => {
702
+ step.stretch = idx === lastEnabledStepIndex;
703
+ step.stepContentAriaLabel = `${this.navStepDefaultHeading} ${stepsInfo[idx].number} ${stepsInfo[idx].titleText}`;
704
+ return step;
705
+ });
706
+ }
707
+
708
+ get stepsCount() {
709
+ return this.slottedSteps.length;
710
+ }
711
+
712
+ get selectedStep() {
713
+ if (this.selectedStepsCount) {
714
+ return this.selectedSteps[0];
715
+ }
716
+
717
+ return null;
718
+ }
719
+
720
+ get lastSelectedStep() {
721
+ if (this.selectedStepsCount) {
722
+ return this.selectedSteps[this.selectedStepsCount - 1];
723
+ }
724
+
725
+ return null;
726
+ }
727
+
728
+ get selectedSteps() {
729
+ return this.slottedSteps.filter(step => step.selected);
730
+ }
731
+
732
+ get enabledSteps() {
733
+ return this.slottedSteps.filter(step => !step.disabled);
734
+ }
735
+
736
+ get selectedStepsCount() {
737
+ return this.selectedSteps.length;
738
+ }
739
+
740
+ get slottedSteps() {
741
+ return this.getSlottedNodes("steps");
742
+ }
743
+
744
+ get contentDOM() {
745
+ return this.shadowRoot.querySelector(`.ui5-wiz-content`);
746
+ }
747
+
748
+ get stepsInHeaderDOM() {
749
+ return Array.from(this.shadowRoot.querySelectorAll("[ui5-wizard-tab]"));
750
+ }
751
+
752
+ get enabledStepsInHeaderDOM() {
753
+ return this.stepsInHeaderDOM;
754
+ }
755
+
756
+ get phoneMode() {
757
+ if ((0, _Device.isPhone)()) {
758
+ return true;
759
+ }
760
+
761
+ return this.width <= Wizard.PHONE_BREAKPOINT;
762
+ }
763
+
764
+ get navAriaRoleDescription() {
765
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
766
+ }
767
+
768
+ get navAriaLabelText() {
769
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_LABEL);
770
+ }
771
+
772
+ get navAriaDescribedbyText() {
773
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_LIST_ARIA_DESCRIBEDBY);
774
+ }
775
+
776
+ get listAriaLabelText() {
777
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_LIST_ARIA_LABEL);
778
+ }
779
+
780
+ get actionSheetStepsText() {
781
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_ACTIONSHEET_STEPS_ARIA_LABEL);
782
+ }
783
+
784
+ get navStepDefaultHeading() {
785
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_STEP_DEFAULT_HEADING);
786
+ }
787
+
788
+ get optionalStepText() {
789
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_OPTIONAL_STEP_ARIA_LABEL);
790
+ }
791
+
792
+ get activeStepText() {
793
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_ACTIVE);
794
+ }
795
+
796
+ get inactiveStepText() {
797
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_STEP_INACTIVE);
798
+ }
799
+
800
+ get ariaLabelText() {
801
+ return Wizard.i18nBundle.getText(_i18nDefaults.WIZARD_NAV_ARIA_ROLE_DESCRIPTION);
802
+ }
803
+
804
+ get effectiveStepSwitchThreshold() {
805
+ return (0, _clamp.default)(this.stepSwitchThreshold, STEP_SWITCH_THRESHOLDS.MIN, STEP_SWITCH_THRESHOLDS.MAX);
806
+ }
807
+ /**
808
+ * Returns an array of data objects, based on the user defined steps
809
+ * to later build the steps (tabs) within the header.
810
+ * @returns {Array<Object>}
811
+ * @private
812
+ */
813
+
814
+
815
+ getStepsInfo() {
816
+ const lastEnabledStepIndex = this.getLastEnabledStepIndex();
817
+ const stepsCount = this.stepsCount;
818
+ const selectedStepIndex = this.getSelectedStepIndex();
819
+ let inintialZIndex = this.steps.length + 10;
820
+ let accInfo;
821
+
822
+ this._adjustHeaderOverflow();
823
+
824
+ return this.steps.map((step, idx) => {
825
+ const pos = idx + 1; // Hide separator if it's the last step and it's not a branching one
826
+
827
+ const hideSeparator = idx === stepsCount - 1 && !step.branching;
828
+ const isOptional = step.subtitleText ? this.optionalStepText : "";
829
+ const stepStateText = step.disabled ? this.inactiveStepText : this.activeStepText;
830
+ const ariaLabel = (step.titleText ? `${pos} ${step.titleText} ${stepStateText} ${isOptional}` : `${this.navStepDefaultHeading} ${pos} ${stepStateText} ${isOptional}`).trim();
831
+ const isAfterCurrent = idx > selectedStepIndex;
832
+ accInfo = {
833
+ "ariaSetsize": stepsCount,
834
+ "ariaPosinset": pos,
835
+ "ariaLabel": this.getStepAriaLabelText(step, ariaLabel)
836
+ };
837
+ return {
838
+ icon: step.icon,
839
+ titleText: step.titleText,
840
+ subtitleText: step.subtitleText,
841
+ number: pos,
842
+ selected: step.selected,
843
+ disabled: step.disabled,
844
+ hideSeparator,
845
+ activeSeparator: idx < lastEnabledStepIndex && !step.disabled,
846
+ branchingSeparator: step.branching,
847
+ pos,
848
+ accInfo,
849
+ refStepId: step._id,
850
+ tabIndex: this.selectedStepIndex === idx ? "0" : "-1",
851
+ styles: {
852
+ zIndex: isAfterCurrent ? --inintialZIndex : 1
853
+ }
854
+ };
855
+ });
856
+ }
857
+ /**
858
+ * Returns the index of the selected step.
859
+ * @returns {Integer}
860
+ * @private
861
+ */
862
+
863
+
864
+ getSelectedStepIndex() {
865
+ if (this.selectedStep) {
866
+ return this.slottedSteps.indexOf(this.selectedStep);
867
+ }
868
+
869
+ return 0;
870
+ }
871
+ /**
872
+ * Returns the index of the last enabled step.
873
+ * @returns {Integer}
874
+ * @private
875
+ */
876
+
877
+
878
+ getLastEnabledStepIndex() {
879
+ let lastEnabledStepIndex = 0;
880
+ this.slottedSteps.forEach((step, idx) => {
881
+ if (!step.disabled) {
882
+ lastEnabledStepIndex = idx;
883
+ }
884
+ });
885
+ return lastEnabledStepIndex;
886
+ }
887
+
888
+ getStepByRefId(refId) {
889
+ return this.slottedSteps.find(step => step._id === refId);
890
+ }
891
+
892
+ getStepWrapperByRefId(refId) {
893
+ return this.shadowRoot.querySelector(`[data-ui5-content-item-ref-id=${refId}]`);
894
+ }
895
+
896
+ getStepWrapperByIdx(idx) {
897
+ return this.getStepWrapperByRefId(this.steps[idx]._id);
898
+ }
899
+ /**
900
+ * Scrolls to the content of the selected step, used in <code>onAfterRendering</cod>.
901
+ * @private
902
+ */
903
+
904
+
905
+ scrollToSelectedStep() {
906
+ if (!this.selectionRequestedByScroll) {
907
+ this.scrollToContentItem(this.selectedStepIndex);
908
+ }
909
+
910
+ this.selectionRequestedByScroll = false;
911
+ }
912
+ /**
913
+ * Scrolls to the content item within the <code>ui5-wizard</code> shadowDOM
914
+ * by given step index.
915
+ *
916
+ * @private
917
+ * @param {Integer} stepIndex the index of a step
918
+ */
919
+
920
+
921
+ scrollToContentItem(stepIndex) {
922
+ this.contentDOM.scrollTop = this.getClosestScrollPosByStepIndex(stepIndex);
923
+ }
924
+ /**
925
+ * Returns to closest scroll position for the given step index.
926
+ *
927
+ * @private
928
+ * @param {Integer} stepIndex the index of a step
929
+ */
930
+
931
+
932
+ getClosestScrollPosByStepIndex(stepIndex) {
933
+ if (stepIndex === 0) {
934
+ return 0;
935
+ } // It's possible to have [enabled - 0, disabled - 1, enabled - 2, disabled - 3] step definition and similar.
936
+ // Consider selection of the third step at index 2, the wizard should scroll where the previous step ends,
937
+ // but in this case the 2nd step is disabled, so we have to fallback to the first possible step.
938
+
939
+
940
+ for (let closestStepIndex = stepIndex - 1; closestStepIndex >= 0; closestStepIndex--) {
941
+ if (this.stepScrollOffsets[closestStepIndex] > 0) {
942
+ return this.stepScrollOffsets[closestStepIndex];
943
+ }
944
+ }
945
+
946
+ return 0;
947
+ }
948
+ /**
949
+ * Returns the closest step index by given scroll position.
950
+ * @private
951
+ * @param {Integer} scrollPos the scroll position
952
+ */
953
+
954
+
955
+ getClosestStepIndexByScrollPos(scrollPos) {
956
+ for (let closestStepIndex = 0; closestStepIndex <= this.stepScrollOffsets.length - 1; closestStepIndex++) {
957
+ const stepScrollOffset = this.stepScrollOffsets[closestStepIndex];
958
+ const step = this.getStepWrapperByIdx(closestStepIndex);
959
+ const switchStepBoundary = step.offsetTop + step.offsetHeight * this.effectiveStepSwitchThreshold;
960
+
961
+ if (stepScrollOffset > 0 && scrollPos < stepScrollOffset) {
962
+ if (scrollPos > switchStepBoundary) {
963
+ return closestStepIndex + 1;
964
+ }
965
+
966
+ return closestStepIndex;
967
+ }
968
+ }
969
+
970
+ return this.selectedStepIndex;
971
+ }
972
+ /**
973
+ * Switches the selection from the old step to the newly selected step.
974
+ *
975
+ * @param {HTMLElement} selectedStep the old step
976
+ * @param {HTMLElement} stepToSelect the step to be selected
977
+ * @param {Integer} stepToSelectIndex the index of the newly selected step
978
+ * @param {boolean} changeWithClick the selection changed due to user click in the step navigation
979
+ * @private
980
+ */
981
+
982
+
983
+ switchSelectionFromOldToNewStep(selectedStep, stepToSelect, stepToSelectIndex, changeWithClick) {
984
+ if (selectedStep && stepToSelect) {
985
+ // keep the selection if next step is disabled
986
+ if (!stepToSelect.disabled) {
987
+ selectedStep.selected = false;
988
+ stepToSelect.selected = true;
989
+ }
990
+
991
+ this.fireEvent("step-change", {
992
+ step: stepToSelect,
993
+ previousStep: selectedStep,
994
+ changeWithClick
995
+ });
996
+ this.selectedStepIndex = stepToSelectIndex;
997
+ }
998
+ }
999
+ /**
1000
+ * Sorter method for sorting an array in ascending order.
1001
+ * @private
1002
+ */
1003
+
1004
+
1005
+ sortAscending(a, b) {
1006
+ if (a < b) {
1007
+ return -1;
1008
+ }
1009
+
1010
+ if (a > b) {
1011
+ return 1;
1012
+ }
1013
+
1014
+ return 0;
1015
+ }
1016
+
1017
+ }
1018
+
1019
+ Wizard.define();
1020
+ var _default = Wizard;
1021
+ _exports.default = _default;
1022
+ });