@openui5/sap.ui.webc.main 1.115.1 → 1.117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (592) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +3 -3
  4. package/src/sap/ui/webc/main/.library +1 -1
  5. package/src/sap/ui/webc/main/Avatar.js +23 -3
  6. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  7. package/src/sap/ui/webc/main/Badge.js +2 -2
  8. package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
  9. package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
  10. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  11. package/src/sap/ui/webc/main/Button.js +4 -3
  12. package/src/sap/ui/webc/main/Calendar.js +6 -2
  13. package/src/sap/ui/webc/main/CalendarDate.js +2 -2
  14. package/src/sap/ui/webc/main/Card.js +3 -7
  15. package/src/sap/ui/webc/main/CardHeader.js +7 -2
  16. package/src/sap/ui/webc/main/Carousel.js +49 -4
  17. package/src/sap/ui/webc/main/CheckBox.js +14 -4
  18. package/src/sap/ui/webc/main/ColorPalette.js +1 -1
  19. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  20. package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
  21. package/src/sap/ui/webc/main/ColorPicker.js +1 -1
  22. package/src/sap/ui/webc/main/ComboBox.js +11 -8
  23. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
  24. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  25. package/src/sap/ui/webc/main/CustomListItem.js +19 -3
  26. package/src/sap/ui/webc/main/DatePicker.js +7 -2
  27. package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
  28. package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
  29. package/src/sap/ui/webc/main/Dialog.js +37 -6
  30. package/src/sap/ui/webc/main/FileUploader.js +1 -1
  31. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  32. package/src/sap/ui/webc/main/Icon.js +42 -2
  33. package/src/sap/ui/webc/main/Input.js +2 -2
  34. package/src/sap/ui/webc/main/Label.js +7 -3
  35. package/src/sap/ui/webc/main/Link.js +12 -2
  36. package/src/sap/ui/webc/main/List.js +2 -1
  37. package/src/sap/ui/webc/main/Menu.js +87 -3
  38. package/src/sap/ui/webc/main/MenuItem.js +34 -1
  39. package/src/sap/ui/webc/main/MessageStrip.js +1 -1
  40. package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
  41. package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
  42. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  43. package/src/sap/ui/webc/main/MultiInput.js +4 -4
  44. package/src/sap/ui/webc/main/Option.js +1 -1
  45. package/src/sap/ui/webc/main/Panel.js +3 -3
  46. package/src/sap/ui/webc/main/Popover.js +18 -4
  47. package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
  48. package/src/sap/ui/webc/main/RadioButton.js +17 -1
  49. package/src/sap/ui/webc/main/RangeSlider.js +12 -2
  50. package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
  51. package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
  52. package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
  53. package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
  54. package/src/sap/ui/webc/main/Select.js +20 -4
  55. package/src/sap/ui/webc/main/Slider.js +2 -2
  56. package/src/sap/ui/webc/main/SplitButton.js +7 -7
  57. package/src/sap/ui/webc/main/StandardListItem.js +31 -4
  58. package/src/sap/ui/webc/main/StepInput.js +2 -2
  59. package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
  60. package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
  61. package/src/sap/ui/webc/main/Switch.js +2 -2
  62. package/src/sap/ui/webc/main/Tab.js +3 -3
  63. package/src/sap/ui/webc/main/TabContainer.js +40 -4
  64. package/src/sap/ui/webc/main/TabSeparator.js +10 -2
  65. package/src/sap/ui/webc/main/Table.js +2 -2
  66. package/src/sap/ui/webc/main/TableCell.js +1 -1
  67. package/src/sap/ui/webc/main/TableColumn.js +21 -1
  68. package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
  69. package/src/sap/ui/webc/main/TableRow.js +9 -1
  70. package/src/sap/ui/webc/main/TextArea.js +2 -3
  71. package/src/sap/ui/webc/main/TimePicker.js +31 -3
  72. package/src/sap/ui/webc/main/Title.js +1 -1
  73. package/src/sap/ui/webc/main/Toast.js +1 -1
  74. package/src/sap/ui/webc/main/ToggleButton.js +4 -3
  75. package/src/sap/ui/webc/main/Token.js +6 -4
  76. package/src/sap/ui/webc/main/Tree.js +31 -2
  77. package/src/sap/ui/webc/main/TreeItem.js +63 -10
  78. package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
  79. package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
  80. package/src/sap/ui/webc/main/library.js +348 -70
  81. package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
  82. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
  83. package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
  84. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
  85. package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
  86. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
  87. package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
  88. package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
  89. package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
  90. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
  91. package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
  92. package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
  93. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
  94. package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
  95. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
  96. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
  97. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
  98. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
  99. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
  100. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
  101. package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
  102. package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
  103. package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
  104. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
  105. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
  106. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
  107. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
  108. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
  109. package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
  110. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
  111. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
  112. package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
  113. package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
  114. package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
  115. package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
  116. package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
  117. package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
  118. package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
  119. package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
  120. package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
  121. package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
  122. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
  123. package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
  124. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
  125. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
  126. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
  127. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
  128. package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
  129. package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
  130. package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
  131. package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
  132. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
  133. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
  134. package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
  135. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
  136. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
  137. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
  138. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
  139. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
  140. package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
  141. package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
  142. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
  143. package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
  144. package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
  145. package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
  146. package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
  147. package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
  148. package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
  149. package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
  150. package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
  151. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
  152. package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
  153. package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
  154. package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
  155. package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
  156. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
  157. package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
  158. package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
  159. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
  160. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
  161. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
  162. package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
  163. package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
  164. package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
  165. package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
  166. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
  167. package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
  168. package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
  169. package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
  170. package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
  171. package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
  172. package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
  173. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
  174. package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
  175. package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
  176. package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
  177. package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
  178. package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
  179. package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
  180. package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
  181. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
  182. package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
  183. package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
  184. package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
  185. package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
  186. package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
  187. package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
  188. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
  189. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
  190. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
  191. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
  192. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
  193. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
  194. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
  195. package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
  196. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
  197. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
  198. package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
  199. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
  200. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
  201. package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
  202. package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
  203. package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
  204. package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
  205. package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
  206. package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
  207. package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
  208. package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
  209. package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
  210. package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
  211. package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
  212. package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
  213. package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
  214. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
  215. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
  216. package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
  217. package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
  218. package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
  219. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
  220. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
  221. package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
  222. package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
  223. package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
  224. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
  225. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
  226. package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
  227. package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
  228. package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
  229. package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
  230. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
  231. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
  232. package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
  233. package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
  234. package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
  235. package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
  236. package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
  237. package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
  238. package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
  239. package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
  240. package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
  241. package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
  242. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
  243. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
  244. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
  245. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
  246. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
  247. package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
  248. package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
  249. package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
  250. package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
  251. package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
  252. package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
  253. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
  254. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
  255. package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
  256. package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
  257. package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
  258. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
  259. package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
  260. package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
  261. package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
  262. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
  263. package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
  264. package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
  265. package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
  266. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
  267. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  268. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  269. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  270. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  271. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  272. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  273. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
  274. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  275. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  276. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  277. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  278. package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
  279. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
  280. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
  281. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
  282. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
  283. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
  284. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
  285. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
  286. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
  287. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
  288. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
  289. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
  290. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
  291. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
  292. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
  293. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
  294. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
  295. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
  296. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
  297. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
  298. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
  299. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
  300. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
  301. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
  302. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
  303. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
  304. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
  305. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
  306. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
  307. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
  308. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
  309. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
  310. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
  311. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
  312. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
  313. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
  314. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
  315. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
  316. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
  317. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
  318. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
  319. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
  320. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
  321. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
  322. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
  323. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
  324. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
  325. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
  326. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
  327. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
  328. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
  329. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
  330. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
  331. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
  332. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
  333. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
  334. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
  335. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
  336. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
  337. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
  338. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
  339. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
  340. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
  341. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
  342. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
  343. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
  344. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
  345. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
  346. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
  347. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
  348. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
  349. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
  350. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
  351. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
  352. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
  353. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
  354. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
  355. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
  356. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
  357. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
  358. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
  359. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
  360. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
  361. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
  362. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
  363. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
  364. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
  365. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
  366. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
  367. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
  368. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
  369. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
  370. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
  371. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
  372. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
  373. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
  374. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
  375. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
  376. package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
  377. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
  378. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
  379. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
  380. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
  381. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
  382. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
  383. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
  384. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
  385. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
  386. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
  387. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
  388. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
  389. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
  390. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
  391. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
  392. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
  393. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
  394. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
  395. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
  396. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
  397. package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
  398. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
  399. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
  400. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
  401. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
  402. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
  403. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
  404. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
  405. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
  406. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
  407. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
  408. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
  409. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
  410. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
  411. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
  412. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
  413. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
  414. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
  415. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
  416. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
  417. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
  418. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
  419. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
  420. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
  421. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
  422. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
  423. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
  424. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
  425. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
  426. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
  427. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
  428. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
  429. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
  430. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
  431. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
  432. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
  433. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
  434. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
  435. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
  436. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
  437. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
  438. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
  439. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
  440. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
  441. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
  442. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
  443. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
  444. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
  445. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
  446. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
  447. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
  448. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
  449. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
  450. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
  451. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
  452. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
  453. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
  454. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
  455. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
  456. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
  457. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
  458. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
  459. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
  460. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
  461. package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
  462. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
  463. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
  464. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
  465. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
  466. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
  467. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
  468. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
  469. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
  470. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
  471. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
  472. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
  473. package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
  474. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
  475. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
  476. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
  477. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
  478. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
  479. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
  480. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
  481. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
  482. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
  483. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
  484. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
  485. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
  486. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
  487. package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
  488. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
  489. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
  490. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
  491. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
  492. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
  493. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
  494. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
  495. package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
  496. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
  497. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
  498. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
  499. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
  500. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
  501. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
  502. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
  503. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
  504. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
  505. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
  506. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
  507. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
  508. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
  509. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
  510. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
  511. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
  512. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
  513. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
  514. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
  515. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
  516. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
  517. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
  518. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
  519. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
  520. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
  521. package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
  522. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
  523. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
  524. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
  525. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
  526. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
  527. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
  528. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
  529. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
  530. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
  531. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
  532. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
  533. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
  534. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
  535. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
  536. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
  537. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
  538. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
  539. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
  540. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
  541. package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
  542. package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
  543. package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
  544. package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
  545. package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
  546. package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
  547. package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
  548. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
  549. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
  550. package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
  551. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
  552. package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
  553. package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
  554. package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
  555. package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
  556. package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
  557. package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
  558. package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
  559. package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
  560. package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
  561. package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
  562. package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
  563. package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
  564. package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
  565. package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
  566. package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
  567. package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
  568. package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
  569. package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
  570. package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
  571. package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
  572. package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
  573. package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
  574. package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
  575. package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
  576. package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
  577. package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
  578. package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
  579. package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
  580. package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
  581. package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
  582. package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
  583. package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
  584. package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
  585. package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
  586. package/ui5.yaml +19 -5
  587. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
  588. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
  589. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
  590. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
  591. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
  592. package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,4 +1,4 @@
1
- sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/animations/slideDown", "sap/ui/webc/common/thirdparty/base/animations/slideUp", "sap/ui/webc/common/thirdparty/base/types/AnimationMode", "sap/ui/webc/common/thirdparty/base/config/AnimationMode", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/MediaRange", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/slim-arrow-up", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "./generated/i18n/i18n-defaults", "./Button", "./Icon", "./List", "./ResponsivePopover", "./types/TabContainerTabsPlacement", "./types/SemanticColor", "./generated/templates/TabContainerTemplate.lit", "./generated/templates/TabContainerPopoverTemplate.lit", "./generated/themes/TabContainer.css", "./generated/themes/ResponsivePopoverCommon.css", "./types/TabLayout", "./types/TabsOverflowMode"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _Render, _slideDown, _slideUp, _AnimationMode, _AnimationMode2, _ItemNavigation, _Keys, _MediaRange, _i18nBundle, _slimArrowUp, _slimArrowDown, _i18nDefaults, _Button, _Icon, _List, _ResponsivePopover, _TabContainerTabsPlacement, _SemanticColor, _TabContainerTemplate, _TabContainerPopoverTemplate, _TabContainer, _ResponsivePopoverCommon, _TabLayout, _TabsOverflowMode) {
1
+ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/animations/slideDown", "sap/ui/webc/common/thirdparty/base/animations/slideUp", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/AnimationMode", "sap/ui/webc/common/thirdparty/base/config/AnimationMode", "sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/MediaRange", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/slim-arrow-up", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "./generated/i18n/i18n-defaults", "./Button", "./Icon", "./List", "./ResponsivePopover", "./types/TabContainerTabsPlacement", "./types/SemanticColor", "./types/TabContainerBackgroundDesign", "./types/TabLayout", "./types/TabsOverflowMode", "./generated/templates/TabContainerTemplate.lit", "./generated/templates/TabContainerPopoverTemplate.lit", "./generated/themes/TabContainer.css", "./generated/themes/ResponsivePopoverCommon.css"], function (_exports, _UI5Element, _customElement, _event, _property, _slot, _LitRenderer, _ResizeHandler, _Render, _slideDown, _slideUp, _Integer, _AnimationMode, _AnimationMode2, _ItemNavigation, _Keys, _MediaRange, _i18nBundle, _slimArrowUp, _slimArrowDown, _i18nDefaults, _Button, _Icon, _List, _ResponsivePopover, _TabContainerTabsPlacement, _SemanticColor, _TabContainerBackgroundDesign, _TabLayout, _TabsOverflowMode, _TabContainerTemplate, _TabContainerPopoverTemplate, _TabContainer, _ResponsivePopoverCommon) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
@@ -6,10 +6,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
6
6
  });
7
7
  _exports.default = void 0;
8
8
  _UI5Element = _interopRequireDefault(_UI5Element);
9
+ _customElement = _interopRequireDefault(_customElement);
10
+ _event = _interopRequireDefault(_event);
11
+ _property = _interopRequireDefault(_property);
12
+ _slot = _interopRequireDefault(_slot);
9
13
  _LitRenderer = _interopRequireDefault(_LitRenderer);
10
14
  _ResizeHandler = _interopRequireDefault(_ResizeHandler);
11
15
  _slideDown = _interopRequireDefault(_slideDown);
12
16
  _slideUp = _interopRequireDefault(_slideUp);
17
+ _Integer = _interopRequireDefault(_Integer);
13
18
  _AnimationMode = _interopRequireDefault(_AnimationMode);
14
19
  _ItemNavigation = _interopRequireDefault(_ItemNavigation);
15
20
  _MediaRange = _interopRequireDefault(_MediaRange);
@@ -19,237 +24,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
19
24
  _ResponsivePopover = _interopRequireDefault(_ResponsivePopover);
20
25
  _TabContainerTabsPlacement = _interopRequireDefault(_TabContainerTabsPlacement);
21
26
  _SemanticColor = _interopRequireDefault(_SemanticColor);
27
+ _TabContainerBackgroundDesign = _interopRequireDefault(_TabContainerBackgroundDesign);
28
+ _TabLayout = _interopRequireDefault(_TabLayout);
29
+ _TabsOverflowMode = _interopRequireDefault(_TabsOverflowMode);
22
30
  _TabContainerTemplate = _interopRequireDefault(_TabContainerTemplate);
23
31
  _TabContainerPopoverTemplate = _interopRequireDefault(_TabContainerPopoverTemplate);
24
32
  _TabContainer = _interopRequireDefault(_TabContainer);
25
33
  _ResponsivePopoverCommon = _interopRequireDefault(_ResponsivePopoverCommon);
26
- _TabLayout = _interopRequireDefault(_TabLayout);
27
- _TabsOverflowMode = _interopRequireDefault(_TabsOverflowMode);
28
34
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29
- // Templates
30
-
31
- // Styles
32
-
35
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
36
+ var c = arguments.length,
37
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
38
+ d;
39
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
40
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
41
+ };
42
+ var TabContainer_1;
33
43
  const tabStyles = [];
34
44
  const staticAreaTabStyles = [];
35
-
36
- /**
37
- * @public
38
- */
39
- const metadata = {
40
- tag: "ui5-tabcontainer",
41
- languageAware: true,
42
- managedSlots: true,
43
- fastNavigation: true,
44
- slots: /** @lends sap.ui.webcomponents.main.TabContainer.prototype */{
45
- /**
46
- * Defines the tabs.
47
- * <br><br>
48
- * <b>Note:</b> Use <code>ui5-tab</code> and <code>ui5-tab-separator</code> for the intended design.
49
- *
50
- * @type {sap.ui.webcomponents.main.ITab[]}
51
- * @public
52
- * @slot items
53
- */
54
- "default": {
55
- propertyName: "items",
56
- type: HTMLElement,
57
- individualSlots: true,
58
- invalidateOnChildChange: {
59
- properties: true,
60
- slots: false
61
- }
62
- },
63
- /**
64
- * Defines the button which will open the overflow menu. If nothing is provided to this slot,
65
- * the default button will be used.
66
- *
67
- * @type {sap.ui.webcomponents.main.IButton}
68
- * @public
69
- * @slot
70
- * @since 1.0.0-rc.9
71
- */
72
- overflowButton: {
73
- type: HTMLElement
74
- },
75
- /**
76
- * Defines the button which will open the start overflow menu if available. If nothing is provided to this slot,
77
- * the default button will be used.
78
- *
79
- * @type {sap.ui.webcomponents.main.IButton}
80
- * @public
81
- * @slot
82
- * @since 1.1.0
83
- */
84
- startOverflowButton: {
85
- type: HTMLElement
86
- }
87
- },
88
- properties: /** @lends sap.ui.webcomponents.main.TabContainer.prototype */{
89
- /**
90
- * Defines whether the tabs are in a fixed state that is not
91
- * expandable/collapsible by user interaction.
92
- *
93
- * @type {boolean}
94
- * @defaultvalue false
95
- * @public
96
- */
97
- fixed: {
98
- type: Boolean
99
- },
100
- /**
101
- * Defines whether the tab content is collapsed.
102
- *
103
- * @type {boolean}
104
- * @defaultvalue false
105
- * @public
106
- */
107
- collapsed: {
108
- type: Boolean
109
- },
110
- /**
111
- * Defines the placement of the tab strip relative to the actual tabs' content.
112
- * <br><br>
113
- * <b>Note:</b> By default the tab strip is displayed above the tabs' content area and this is the recommended
114
- * layout for most scenarios. Set to <code>Bottom</code> only when the component is at the
115
- * bottom of the page and you want the tab strip to act as a menu.
116
- *
117
- * <br><br>
118
- * Available options are:
119
- * <ul>
120
- * <li><code>Top</code></li>
121
- * <li><code>Bottom</code></li>
122
- * </ul>
123
- *
124
- * @type {TabContainerTabsPlacement}
125
- * @defaultvalue "Top"
126
- * @since 1.0.0-rc.7
127
- * @private
128
- */
129
- tabsPlacement: {
130
- type: _TabContainerTabsPlacement.default,
131
- defaultValue: _TabContainerTabsPlacement.default.Top
132
- },
133
- /**
134
- * Defines whether the overflow select list is displayed.
135
- * <br><br>
136
- * The overflow select list represents a list, where all tabs are displayed
137
- * so that it's easier for the user to select a specific tab.
138
- *
139
- * @type {boolean}
140
- * @defaultvalue false
141
- * @public
142
- * @deprecated Since the introduction of TabsOverflowMode overflows will always be visible if there is not enough space for all tabs,
143
- * all hidden tabs are moved to a select list in the respective overflows and are accessible via the overflowButton and / or startOverflowButton
144
- */
145
- showOverflow: {
146
- type: Boolean
147
- },
148
- /**
149
- * Defines the alignment of the content and the <code>additionalText</code> of a tab.
150
- *
151
- * <br><br>
152
- * <b>Note:</b>
153
- * The content and the <code>additionalText</code> would be displayed vertically by defualt,
154
- * but when set to <code>Inline</code>, they would be displayed horizontally.
155
- *
156
- * <br><br>
157
- * Available options are:
158
- * <ul>
159
- * <li><code>Standard</code></li>
160
- * <li><code>Inline</code></li>
161
- * </ul>
162
- *
163
- * @type {TabLayout}
164
- * @defaultvalue "Standard"
165
- * @public
166
- */
167
- tabLayout: {
168
- type: String,
169
- defaultValue: _TabLayout.default.Standard
170
- },
171
- /**
172
- * Defines the overflow mode of the tab strip. If you have a large number of tabs, only the tabs that can fit on screen will be visible.
173
- * All other tabs that can 't fit on the screen are available in an overflow tab "More".
174
- *
175
- * <br><br>
176
- * <b>Note:</b>
177
- * Only one overflow at the end would be displayed by default,
178
- * but when set to <code>StartAndEnd</code>, there will be two overflows on both ends, and tab order will not change on tab selection.
179
- *
180
- * <br><br>
181
- * Available options are:
182
- * <ul>
183
- * <li><code>End</code></li>
184
- * <li><code>StartAndEnd</code></li>
185
- * </ul>
186
- *
187
- * @type {TabsOverflowMode}
188
- * @defaultvalue "End"
189
- * @since 1.1.0
190
- * @public
191
- */
192
- tabsOverflowMode: {
193
- type: _TabsOverflowMode.default,
194
- defaultValue: _TabsOverflowMode.default.End
195
- },
196
- /**
197
- * Defines the current media query size.
198
- *
199
- * @type {string}
200
- * @private
201
- */
202
- mediaRange: {
203
- type: String
204
- },
205
- _selectedTab: {
206
- type: Object
207
- },
208
- _animationRunning: {
209
- type: Boolean,
210
- noAttribute: true
211
- },
212
- _contentCollapsed: {
213
- type: Boolean,
214
- noAttribute: true
215
- },
216
- _startOverflowText: {
217
- type: String,
218
- noAttribute: true,
219
- defaultValue: "0"
220
- },
221
- _endOverflowText: {
222
- type: String,
223
- noAttribute: true,
224
- defaultValue: "More"
225
- },
226
- _overflowItems: {
227
- type: Object,
228
- multiple: true
229
- }
230
- },
231
- events: /** @lends sap.ui.webcomponents.main.TabContainer.prototype */{
232
- /**
233
- * Fired when a tab is selected.
234
- *
235
- * @event sap.ui.webcomponents.main.TabContainer#tab-select
236
- * @param {HTMLElement} tab The selected <code>tab</code>.
237
- * @param {Integer} tabIndex The selected <code>tab</code> index.
238
- * @public
239
- */
240
- "tab-select": {
241
- detail: {
242
- tab: {
243
- type: HTMLElement
244
- },
245
- tabIndex: {
246
- type: Number
247
- }
248
- }
249
- }
250
- }
251
- };
252
-
45
+ const PAGE_UP_DOWN_SIZE = 5;
253
46
  /**
254
47
  * @class
255
48
  *
@@ -299,31 +92,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
299
92
  *
300
93
  * @constructor
301
94
  * @author SAP SE
302
- * @alias sap.ui.webcomponents.main.TabContainer
303
- * @extends sap.ui.webcomponents.base.UI5Element
304
- * @appenddocs Tab TabSeparator
95
+ * @alias sap.ui.webc.main.TabContainer
96
+ * @extends sap.ui.webc.base.UI5Element
97
+ * @appenddocs sap.ui.webc.main.Tab sap.ui.webc.main.TabSeparator
305
98
  * @tagname ui5-tabcontainer
306
99
  * @public
307
100
  */
308
- class TabContainer extends _UI5Element.default {
309
- static get metadata() {
310
- return metadata;
311
- }
312
- static get styles() {
313
- return [tabStyles, _TabContainer.default];
314
- }
315
- static get staticAreaStyles() {
316
- return [_ResponsivePopoverCommon.default, staticAreaTabStyles];
317
- }
318
- static get render() {
319
- return _LitRenderer.default;
320
- }
321
- static get template() {
322
- return _TabContainerTemplate.default;
323
- }
324
- static get staticAreaTemplate() {
325
- return _TabContainerPopoverTemplate.default;
326
- }
101
+ let TabContainer = TabContainer_1 = class TabContainer extends _UI5Element.default {
327
102
  static registerTabStyles(styles) {
328
103
  tabStyles.push(styles);
329
104
  }
@@ -332,26 +107,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
332
107
  }
333
108
  constructor() {
334
109
  super();
335
- this._handleResize = this._handleResize.bind(this);
336
-
110
+ this._handleResizeBound = this._handleResize.bind(this);
337
111
  // Init ItemNavigation
338
112
  this._itemNavigation = new _ItemNavigation.default(this, {
339
- getItemsCallback: () => this._getFocusableTabs()
113
+ getItemsCallback: () => this._getFocusableRefs(),
114
+ skipItemsSize: PAGE_UP_DOWN_SIZE
340
115
  });
341
116
  }
342
117
  onBeforeRendering() {
343
- // update selected tab
344
118
  this._allItemsAndSubItems = this._getAllSubItems(this.items);
345
- if (this._allItemsAndSubItems.length) {
346
- const selectedTabs = this._allItemsAndSubItems.filter(tab => tab.selected);
347
- if (selectedTabs.length) {
348
- this._selectedTab = selectedTabs[0];
349
- } else {
350
- this._selectedTab = this._allItemsAndSubItems[0];
351
- this._selectedTab._selected = true;
352
- }
119
+ if (!this._allItemsAndSubItems.length) {
120
+ return;
353
121
  }
354
- this._setItemsExternalProperties(this.items);
122
+ // update selected tab
123
+ const selectedTabs = this._allItemsAndSubItems.filter(tab => tab.selected);
124
+ if (selectedTabs.length) {
125
+ this._selectedTab._selected = false;
126
+ this._selectedTab = selectedTabs[0];
127
+ } else {
128
+ this._selectedTab = this._allItemsAndSubItems[0];
129
+ this._selectedTab._selected = true;
130
+ }
131
+ this._setItemsPrivateProperties(this.items);
355
132
  if (!this._animationRunning) {
356
133
  this._contentCollapsed = this.collapsed;
357
134
  }
@@ -361,52 +138,64 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
361
138
  }
362
139
 
363
140
  onAfterRendering() {
364
- this.items.forEach(item => {
365
- item._tabInStripDomRef = this.getDomRef().querySelector(`*[data-ui5-stable="${item.stableDomRef}"]`);
366
- });
141
+ if (!this.items.length) {
142
+ return;
143
+ }
144
+ this._setItemsForStrip();
145
+ if (!this.shadowRoot.contains(document.activeElement)) {
146
+ const focusStart = this._getRootTab(this._selectedTab);
147
+ this._itemNavigation.setCurrentItem(focusStart);
148
+ }
367
149
  }
368
150
  onEnterDOM() {
369
- _ResizeHandler.default.register(this._getHeader(), this._handleResize);
151
+ _ResizeHandler.default.register(this._getHeader(), this._handleResizeBound);
370
152
  }
371
153
  onExitDOM() {
372
- _ResizeHandler.default.deregister(this._getHeader(), this._handleResize);
154
+ _ResizeHandler.default.deregister(this._getHeader(), this._handleResizeBound);
373
155
  }
374
- async _handleResize() {
156
+ _handleResize() {
375
157
  if (this.responsivePopover && this.responsivePopover.opened) {
376
158
  this.responsivePopover.close();
377
159
  }
378
- this._updateMediaRange();
379
- await (0, _Render.renderFinished)(); // await the tab container to have rendered its representation of tabs
380
- this._setItemsForStrip();
160
+ this._width = this.offsetWidth;
161
+ this._updateMediaRange(this._width);
381
162
  }
382
- _updateMediaRange() {
383
- this.mediaRange = _MediaRange.default.getCurrentRange(_MediaRange.default.RANGESETS.RANGE_4STEPS, this.getDomRef().offsetWidth);
384
- }
385
- _setItemsExternalProperties(items) {
386
- items.filter(item => !item.isSeparator).forEach((item, index, arr) => {
387
- item._isInline = this.tabLayout === _TabLayout.default.Inline;
388
- item._mixedMode = this.mixedMode;
389
- item._posinset = index + 1;
390
- item._setsize = arr.length;
391
- item._getTabContainerHeaderItemCallback = _ => this.getDomRef().querySelector(`#${item._id}`);
392
- item._itemSelectCallback = this._onItemSelect.bind(this);
393
- item._getRealDomRef = () => this.getDomRef().querySelector(`*[data-ui5-stable=${item.stableDomRef}]`);
394
- item._realTab = this._selectedTab;
395
- item._isTopLevelTab = this.items.some(i => i === item);
396
- walk(items, tab => {
397
- tab._realTab = item._realTab;
163
+ _updateMediaRange(width) {
164
+ this.mediaRange = _MediaRange.default.getCurrentRange(_MediaRange.default.RANGESETS.RANGE_4STEPS, width);
165
+ }
166
+ _setItemsPrivateProperties(items) {
167
+ // set real dom ref to all items, then return only the tabs for further processing
168
+ const allTabs = items.filter(item => {
169
+ item._getElementInStrip = () => this.getDomRef().querySelector(`#${item._id}`);
170
+ return !item.isSeparator;
171
+ });
172
+ allTabs.forEach((tab, index, arr) => {
173
+ tab._isInline = this.tabLayout === _TabLayout.default.Inline;
174
+ tab._mixedMode = this.mixedMode;
175
+ tab._posinset = index + 1;
176
+ tab._setsize = arr.length;
177
+ tab._realTab = this._selectedTab;
178
+ tab._isTopLevelTab = items.some(i => i === tab);
179
+ walk(items, _tab => {
180
+ _tab._realTab = tab._realTab;
398
181
  });
399
182
  });
400
183
  }
401
- async _onTabStripClick(event) {
402
- const tab = getTab(event.target);
184
+ _onHeaderFocusin(e) {
185
+ const tab = getTab(e.target);
186
+ if (tab) {
187
+ this._itemNavigation.setCurrentItem(tab._realTab);
188
+ }
189
+ }
190
+ async _onTabStripClick(e) {
191
+ const tab = getTab(e.target);
403
192
  if (!tab || tab._realTab.disabled) {
404
193
  return;
405
194
  }
406
- event.preventDefault();
407
- event.stopPropagation();
408
- if (event.target.hasAttribute("ui5-button")) {
409
- this._onTabExpandButtonClick(event);
195
+ e.stopPropagation();
196
+ e.preventDefault();
197
+ if (e.target.hasAttribute("ui5-button")) {
198
+ this._onTabExpandButtonClick(e);
410
199
  return;
411
200
  }
412
201
  if (!tab._realTab._hasOwnContent && tab._realTab.tabs.length) {
@@ -416,26 +205,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
416
205
  if (this.responsivePopover.opened) {
417
206
  this.responsivePopover.close();
418
207
  } else {
419
- this._setInitialFocus(this._getSelectedInPopover());
208
+ this._setPopoverInitialFocus();
420
209
  }
421
- this.responsivePopover.showAt(tab);
210
+ this.responsivePopover.showAt(tab._realTab.getTabInStripDomRef());
422
211
  return;
423
212
  }
424
213
  this._onHeaderItemSelect(tab);
425
214
  }
426
- async _onTabExpandButtonClick(event) {
427
- event.stopPropagation();
428
- event.preventDefault();
429
- let button = event.target;
215
+ async _onTabExpandButtonClick(e) {
216
+ e.stopPropagation();
217
+ e.preventDefault();
218
+ let button = e.target;
430
219
  let tabInstance = button.tab;
431
220
  if (tabInstance) {
432
- tabInstance.focus();
221
+ tabInstance.focus({
222
+ focusVisible: true
223
+ });
433
224
  }
434
- if (event.type === "keydown" && !event.target._realTab.isSingleClickArea) {
435
- button = event.target.querySelectorAll(".ui5-tab-expand-button")[0];
436
- tabInstance = event.target._realTab;
225
+ if (e.type === "keydown" && !e.target._realTab.isSingleClickArea) {
226
+ button = e.target.querySelectorAll(".ui5-tab-expand-button")[0];
227
+ tabInstance = e.target._realTab;
437
228
  }
438
-
439
229
  // if clicked between the expand button and the tab
440
230
  if (!tabInstance) {
441
231
  this._onHeaderItemSelect(button.parentElement);
@@ -444,54 +234,60 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
444
234
  this._overflowItems = tabInstance.subTabs;
445
235
  this._addStyleIndent(this._overflowItems);
446
236
  this.responsivePopover = await this._respPopover();
447
- if (this.responsivePopover.opened) {
237
+ if (this.responsivePopover.isOpen()) {
448
238
  this.responsivePopover.close();
449
239
  } else {
450
- this._setInitialFocus(this._getSelectedInPopover());
240
+ this._setPopoverInitialFocus();
451
241
  }
452
242
  this.responsivePopover.showAt(button);
453
243
  }
454
- _setInitialFocus(selectedInPopover) {
455
- if (selectedInPopover.length) {
456
- this.responsivePopover.initialFocus = selectedInPopover[0].id;
457
- } else {
458
- this.responsivePopover.initialFocus = this.responsivePopover.content[0].items.filter(item => item.classList.contains("ui5-tab-overflow-item"))[0].id;
459
- }
244
+ _setPopoverInitialFocus() {
245
+ const selectedTabInOverflow = this._getSelectedTabInOverflow();
246
+ const tab = selectedTabInOverflow || this._getFirstFocusableItemInOverflow();
247
+ this.responsivePopover.initialFocus = `${tab._realTab._id}-li`;
248
+ }
249
+ _getSelectedTabInOverflow() {
250
+ return this.responsivePopover.content[0].items.find(item => {
251
+ return item._realTab && item._realTab.selected;
252
+ });
253
+ }
254
+ _getFirstFocusableItemInOverflow() {
255
+ return this.responsivePopover.content[0].items.find(item => item.classList.contains("ui5-tab-overflow-item"));
460
256
  }
461
- _onTabStripKeyDown(event) {
462
- const tab = getTab(event.target);
257
+ _onTabStripKeyDown(e) {
258
+ const tab = getTab(e.target);
463
259
  if (!tab || tab._realTab.disabled) {
464
260
  return;
465
261
  }
466
- if ((0, _Keys.isEnter)(event)) {
262
+ if ((0, _Keys.isEnter)(e)) {
467
263
  if (tab._realTab.isSingleClickArea) {
468
- this._onTabStripClick(event);
264
+ this._onTabStripClick(e);
469
265
  } else {
470
266
  this._onHeaderItemSelect(tab);
471
267
  }
472
268
  }
473
- if ((0, _Keys.isSpace)(event)) {
474
- event.preventDefault(); // prevent scrolling
269
+ if ((0, _Keys.isSpace)(e)) {
270
+ e.preventDefault(); // prevent scrolling
475
271
  }
476
272
 
477
- if ((0, _Keys.isDown)(event)) {
273
+ if ((0, _Keys.isDown)(e) || (0, _Keys.isUp)(e)) {
478
274
  if (tab._realTab.requiresExpandButton) {
479
- this._onTabExpandButtonClick(event);
275
+ this._onTabExpandButtonClick(e);
480
276
  }
481
277
  if (tab._realTab.isSingleClickArea) {
482
- this._onTabStripClick(event);
278
+ this._onTabStripClick(e);
483
279
  }
484
280
  }
485
281
  }
486
- _onTabStripKeyUp(event) {
487
- const tab = getTab(event.target);
282
+ _onTabStripKeyUp(e) {
283
+ const tab = getTab(e.target);
488
284
  if (!tab || tab._realTab.disabled) {
489
285
  return;
490
286
  }
491
- if ((0, _Keys.isSpace)(event)) {
492
- event.preventDefault();
287
+ if ((0, _Keys.isSpace)(e)) {
288
+ e.preventDefault();
493
289
  if (tab._realTab.isSingleClickArea) {
494
- this._onTabStripClick(event);
290
+ this._onTabStripClick(e);
495
291
  } else {
496
292
  this._onHeaderItemSelect(tab);
497
293
  }
@@ -499,22 +295,42 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
499
295
  }
500
296
  _onHeaderItemSelect(tab) {
501
297
  if (!tab.hasAttribute("disabled")) {
502
- this._onItemSelect(tab);
503
- if (!this.isModeStartAndEnd) {
504
- this._setItemsForStrip();
505
- }
298
+ this._onItemSelect(tab.id);
506
299
  }
507
300
  }
508
- async _onOverflowListItemClick(event) {
509
- event.preventDefault(); // cancel the item selection
510
- const {
511
- item
512
- } = event.detail;
513
- this._onItemSelect(item);
514
- await this.responsivePopover.close();
515
- this._setItemsForStrip();
301
+ async _onOverflowListItemClick(e) {
302
+ e.preventDefault(); // cancel the item selection
303
+ this._onItemSelect(e.detail.item.id.slice(0, -3)); // strip "-li" from end of id
304
+ this.responsivePopover.close();
305
+ await (0, _Render.renderFinished)();
516
306
  const selectedTopLevel = this._getRootTab(this._selectedTab);
517
- selectedTopLevel.focus();
307
+ selectedTopLevel.getTabInStripDomRef().focus({
308
+ focusVisible: true
309
+ });
310
+ }
311
+ /**
312
+ * Returns all slotted tabs and their subTabs in a flattened array.
313
+ * The order of tabs is depth-first. For example, given the following slotted elements:
314
+ * <pre><code>
315
+ * &lt;ui5-tabcontainer&gt;
316
+ * &lt;ui5-tab id="First" text="First"&gt;
317
+ * ...
318
+ * &lt;ui5-tab slot="subTabs" id="Nested" text="Nested"&gt;...&lt;/ui5-tab&gt;
319
+ * &lt;/ui5-tab&gt;
320
+ * &lt;ui5-tab id="Second" text="Second"&gt;...&lt;/ui5-tab&gt;
321
+ * &lt;ui5-tab-separator id="sep"&gt;&lt;/ui5-tab-separator&gt;
322
+ * &lt;ui5-tab id="Third" text="Third"&gt;...&lt;/ui5-tab&gt;
323
+ * &lt;/ui5-tabcontainer&gt;
324
+ * </code></pre>
325
+ * Calling <code>allItems</code> on this TabContainer will return the instances in the following order:
326
+ * <code>[ ui5-tab#First, ui5-tab#Nested, ui5-tab#Second, ui5-tab-separator#sep, ui5-tab#Third ]</code>
327
+ * @public
328
+ * @readonly
329
+ * @name sap.ui.webc.main.TabContainer.prototype.allItems
330
+ * @returns {sap.ui.webc.main.ITab[]}
331
+ */
332
+ get allItems() {
333
+ return this._getAllSubItems(this.items);
518
334
  }
519
335
  _getAllSubItems(items, result = [], level = 1) {
520
336
  items.forEach(item => {
@@ -528,36 +344,36 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
528
344
  });
529
345
  return result;
530
346
  }
531
- _onItemSelect(target) {
532
- const selectedIndex = findIndex(this._allItemsAndSubItems, item => item.__id === target.id);
533
- const selectedTabIndex = findIndex(this._allItemsAndSubItems, item => item.__id === target.id);
534
- const selectedTab = this._allItemsAndSubItems[selectedIndex];
535
-
536
- // update selected items
347
+ _onItemSelect(selectedTabId) {
348
+ const previousTab = this._selectedTab;
349
+ const selectedTabIndex = this._allItemsAndSubItems.findIndex(item => item.__id === selectedTabId);
350
+ const selectedTab = this._allItemsAndSubItems[selectedTabIndex];
351
+ const selectionSuccessful = this.selectTab(selectedTab, selectedTabIndex);
352
+ if (!selectionSuccessful) {
353
+ return;
354
+ }
355
+ // update selected property on all items
537
356
  this._allItemsAndSubItems.forEach((item, index) => {
538
- const selected = selectedIndex === index;
357
+ const selected = selectedTabIndex === index;
539
358
  item.selected = selected;
540
359
  if (item._selected) {
541
360
  item._selected = false;
542
361
  }
543
362
  });
544
363
  if (this.fixed) {
545
- this.selectTab(selectedTab, selectedTabIndex);
546
364
  return;
547
365
  }
548
- if (!this.animate) {
549
- this.toggle(selectedTab);
550
- this.selectTab(selectedTab, selectedTabIndex);
551
- return;
366
+ if (!this.shouldAnimate) {
367
+ this.toggle(selectedTab, previousTab);
368
+ } else {
369
+ this.toggleAnimated(selectedTab, previousTab);
552
370
  }
553
- this.toggleAnimated(selectedTab);
554
- this.selectTab(selectedTab, selectedTabIndex);
555
371
  }
556
- async toggleAnimated(selectedTab) {
372
+ async toggleAnimated(selectedTab, previousTab) {
557
373
  const content = this.shadowRoot.querySelector(".ui5-tc__content");
558
374
  let animationPromise = null;
559
375
  this._animationRunning = true;
560
- if (selectedTab === this._selectedTab) {
376
+ if (selectedTab === previousTab) {
561
377
  // click on already selected tab - animate both directions
562
378
  this.collapsed = !this.collapsed;
563
379
  animationPromise = this.collapsed ? this.slideContentUp(content) : this.slideContentDown(content);
@@ -570,69 +386,66 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
570
386
  this._contentCollapsed = this.collapsed;
571
387
  this._animationRunning = false;
572
388
  }
573
- toggle(selectedTab) {
574
- if (selectedTab === this._selectedTab) {
389
+ toggle(selectedTab, previousTab) {
390
+ if (selectedTab === previousTab) {
575
391
  this.collapsed = !this.collapsed;
576
392
  } else {
577
393
  this.collapsed = false;
578
394
  }
579
395
  }
396
+ /**
397
+ * Fires the <code>tab-select</code> event and changes the internal reference for the currently selected tab.
398
+ * If the event is prevented, the current tab is not changed.
399
+ * @private
400
+ *
401
+ * @param {sap.ui.webc.main.ITab} selectedTab selected tab instance
402
+ * @param {number} selectedTabIndex selected tab index for an array containing all tabs and sub tabs. <b>Note:</b> Use the method <code>allTabs</code> to get this array.
403
+ * @returns {boolean} true if the tab selection is successful, false if it was prevented
404
+ */
580
405
  selectTab(selectedTab, selectedTabIndex) {
581
- // select the tab
582
- this._selectedTab = selectedTab;
583
- this.fireEvent("tab-select", {
406
+ if (!this.fireEvent("tab-select", {
584
407
  tab: selectedTab,
585
408
  tabIndex: selectedTabIndex
586
- });
409
+ }, true)) {
410
+ return false;
411
+ }
412
+ // select the tab
413
+ this._selectedTab = selectedTab;
414
+ return true;
587
415
  }
588
416
  slideContentDown(element) {
589
- return (0, _slideDown.default)({
590
- element
591
- }).promise();
417
+ return (0, _slideDown.default)(element).promise();
592
418
  }
593
419
  slideContentUp(element) {
594
- return (0, _slideUp.default)({
595
- element
596
- }).promise();
420
+ return (0, _slideUp.default)(element).promise();
597
421
  }
598
- async _onOverflowClick(event) {
599
- if (event.target.classList.contains("ui5-tc__overflow")) {
422
+ async _onOverflowClick(e) {
423
+ if (e.target.classList.contains("ui5-tc__overflow")) {
600
424
  // the empty area in the overflow was clicked
601
425
  return;
602
426
  }
603
- const overflow = event.currentTarget;
427
+ const overflow = e.currentTarget;
604
428
  const isEndOverflow = overflow.classList.contains("ui5-tc__overflow--end");
605
- const isStartOverflow = overflow.classList.contains("ui5-tc__overflow--start");
606
- const items = [];
607
429
  const overflowAttr = isEndOverflow ? "end-overflow" : "start-overflow";
608
- this._overflowItems = [];
609
- this.items.forEach(item => {
610
- if (item.getTabInStripDomRef() && item.getTabInStripDomRef().hasAttribute(overflowAttr)) {
611
- items.push(item);
612
- }
430
+ this._overflowItems = this.items.filter(item => {
431
+ const stripRef = item.getTabInStripDomRef();
432
+ return stripRef && stripRef.hasAttribute(overflowAttr);
613
433
  });
614
- let button;
434
+ this._addStyleIndent(this._overflowItems);
435
+ let opener;
615
436
  if (isEndOverflow) {
616
- button = this.overflowButton[0] || overflow.querySelector("[ui5-button]");
617
- this._overflowItems = items;
618
- this._addStyleIndent(this._overflowItems);
619
- }
620
- if (isStartOverflow) {
621
- button = this.startOverflowButton[0] || overflow.querySelector("[ui5-button]");
622
- this._overflowItems = items;
623
- this._addStyleIndent(this._overflowItems);
437
+ opener = this.overflowButton[0] || this._getEndOverflowBtnDOM();
438
+ } else {
439
+ opener = this.startOverflowButton[0] || this._getStartOverflowBtnDOM();
624
440
  }
625
441
  this.responsivePopover = await this._respPopover();
626
442
  if (this.responsivePopover.opened) {
627
443
  this.responsivePopover.close();
628
444
  } else {
629
- this.responsivePopover.initialFocus = this.responsivePopover.content[0].items.filter(item => item.classList.contains("ui5-tab-overflow-item"))[0].id;
630
- await this.responsivePopover.showAt(button);
445
+ this._setPopoverInitialFocus();
446
+ this.responsivePopover.showAt(opener);
631
447
  }
632
448
  }
633
- _getSelectedInPopover() {
634
- return this.responsivePopover.content[0].items.filter(item => item._realTab && item._realTab.selected);
635
- }
636
449
  _addStyleIndent(tabs) {
637
450
  const extraIndent = this._getAllSubItems(tabs).filter(tab => !tab.isSeparator).some(tab => tab.design !== _SemanticColor.default.Default && tab.design !== _SemanticColor.default.Neutral);
638
451
  walk(tabs, tab => {
@@ -646,11 +459,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
646
459
  };
647
460
  });
648
461
  }
649
- async _onOverflowKeyDown(event) {
650
- const isEndOverflow = event.currentTarget.classList.contains("ui5-tc__overflow--end");
651
- const isStartOverflow = event.currentTarget.classList.contains("ui5-tc__overflow--start");
652
- if ((0, _Keys.isDown)(event) || isStartOverflow && (0, _Keys.isLeft)(event) || isEndOverflow && (0, _Keys.isRight)(event)) {
653
- await this._onOverflowClick(event);
462
+ async _onOverflowKeyDown(e) {
463
+ const overflow = e.currentTarget;
464
+ const isEndOverflow = overflow.classList.contains("ui5-tc__overflow--end");
465
+ const isStartOverflow = overflow.classList.contains("ui5-tc__overflow--start");
466
+ if ((0, _Keys.isDown)(e) || isStartOverflow && (0, _Keys.isLeft)(e) || isEndOverflow && (0, _Keys.isRight)(e)) {
467
+ e.stopPropagation();
468
+ e.preventDefault();
469
+ await this._onOverflowClick(e);
654
470
  }
655
471
  }
656
472
  _setItemsForStrip() {
@@ -660,11 +476,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
660
476
  return;
661
477
  }
662
478
  const itemsDomRefs = this.items.map(item => item.getTabInStripDomRef());
663
-
664
479
  // make sure the overflows are hidden
665
480
  this._getStartOverflow().setAttribute("hidden", "");
666
481
  this._getEndOverflow().setAttribute("hidden", "");
667
-
668
482
  // show all tabs
669
483
  for (let i = 0; i < itemsDomRefs.length; i++) {
670
484
  itemsDomRefs[i].removeAttribute("hidden");
@@ -676,7 +490,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
676
490
  });
677
491
  const hasOverflow = tabStrip.offsetWidth < allItemsWidth;
678
492
  if (!hasOverflow) {
679
- this._closeRespPopover();
680
493
  return;
681
494
  }
682
495
  if (this.isModeStartAndEnd) {
@@ -685,8 +498,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
685
498
  } else {
686
499
  this._updateEndOverflow(itemsDomRefs);
687
500
  }
688
- this._itemNavigation._init();
689
- this._itemNavigation.setCurrentItem(this._getRootTab(this._selectedTab));
690
501
  }
691
502
  _getRootTab(tab) {
692
503
  while (tab.hasAttribute("ui5-tab")) {
@@ -720,7 +531,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
720
531
  const hasEndOverflow = this._hasEndOverflow(containerWidth, itemsDomRefs, selectedItemIndexAndWidth);
721
532
  let firstVisible;
722
533
  let lastVisible;
723
-
724
534
  // has "end", but no "start" overflow
725
535
  if (!hasStartOverflow) {
726
536
  // show "end" overflow
@@ -734,7 +544,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
734
544
  }
735
545
  return;
736
546
  }
737
-
738
547
  // has "start", but no "end" overflow
739
548
  if (!hasEndOverflow) {
740
549
  // show "start" overflow
@@ -748,7 +557,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
748
557
  }
749
558
  return;
750
559
  }
751
-
752
560
  // show "start" overflow
753
561
  this._getStartOverflow().removeAttribute("hidden");
754
562
  // show "end" overflow
@@ -775,7 +583,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
775
583
  leftItemsWidth += this._getItemWidth(itemsDomRefs[i]);
776
584
  }
777
585
  let hasStartOverflow = containerWidth < leftItemsWidth + selectedItemIndexAndWidth.width;
778
-
779
586
  // if there is no "start" overflow, it has "end" overflow
780
587
  // check it again with the "end" overflow
781
588
  if (!hasStartOverflow) {
@@ -795,7 +602,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
795
602
  rightItemsWidth += this._getItemWidth(itemsDomRefs[i]);
796
603
  }
797
604
  let hasEndOverflow = containerWidth < rightItemsWidth + selectedItemIndexAndWidth.width;
798
-
799
605
  // if there is no "end" overflow, it has "start" overflow
800
606
  // check it again with the "start" overflow
801
607
  if (!hasEndOverflow) {
@@ -820,7 +626,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
820
626
  width += this._getItemWidth(selectedSeparator);
821
627
  }
822
628
  itemsDomRefs.splice(index, 1);
823
-
824
629
  // if previous item is a separator - remove it
825
630
  if (selectedSeparator) {
826
631
  itemsDomRefs.splice(index - 1, 1);
@@ -846,8 +651,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
846
651
  }
847
652
  return lastVisible;
848
653
  }
849
- _findLastVisibleItem(itemsDomRefs, containerWidth, selectedItemWidth, startIndex) {
850
- startIndex = startIndex || 0;
654
+ _findLastVisibleItem(itemsDomRefs, containerWidth, selectedItemWidth, startIndex = 0) {
851
655
  let lastVisibleIndex = startIndex - 1;
852
656
  let index = startIndex;
853
657
  for (; index < itemsDomRefs.length; index++) {
@@ -858,7 +662,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
858
662
  selectedItemWidth += itemWidth;
859
663
  lastVisibleIndex = index;
860
664
  }
861
-
862
665
  // if prev item is separator - hide it
863
666
  const prevItem = itemsDomRefs[index - 1];
864
667
  if (prevItem && prevItem.isSeparator) {
@@ -883,35 +686,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
883
686
  this._startOverflowText = `+${startOverflowItemsCount}`;
884
687
  this._endOverflowText = `+${endOverflowItemsCount}`;
885
688
  }
886
- async _closeRespPopover() {
887
- this.responsivePopover = await this._respPopover();
888
- this.responsivePopover.close();
889
- }
890
- _getFocusableTabs() {
689
+ _getFocusableRefs() {
891
690
  if (!this.getDomRef()) {
892
691
  return [];
893
692
  }
894
- const focusableTabs = [];
693
+ const focusableRefs = [];
895
694
  if (!this._getStartOverflow().hasAttribute("hidden")) {
896
- if (this._getCustomStartOverflowBtnDOM()) {
897
- focusableTabs.push(this._getCustomStartOverflowBtnDOM());
898
- } else {
899
- focusableTabs.push(this._getStartOverflowBtnDOM());
900
- }
695
+ focusableRefs.push(this.startOverflowButton[0] || this._getStartOverflowBtnDOM());
901
696
  }
902
697
  this._getTabs().forEach(tab => {
903
- if (tab.getTabInStripDomRef() && !tab.getTabInStripDomRef().hasAttribute("hidden")) {
904
- focusableTabs.push(tab);
698
+ const ref = tab.getTabInStripDomRef();
699
+ const focusable = ref && !ref.hasAttribute("hidden");
700
+ if (focusable) {
701
+ focusableRefs.push(tab);
905
702
  }
906
703
  });
907
704
  if (!this._getEndOverflow().hasAttribute("hidden")) {
908
- if (this._getCustomEndOverflowBtnDOM()) {
909
- focusableTabs.push(this._getCustomEndOverflowBtnDOM());
910
- } else {
911
- focusableTabs.push(this._getEndOverflowBtnDOM());
912
- }
705
+ focusableRefs.push(this.overflowButton[0] || this._getEndOverflowBtnDOM());
913
706
  }
914
- return focusableTabs;
707
+ return focusableRefs;
915
708
  }
916
709
  _getHeader() {
917
710
  return this.shadowRoot.querySelector(`#${this._id}-header`);
@@ -919,6 +712,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
919
712
  _getTabs() {
920
713
  return this.items.filter(item => !item.isSeparator);
921
714
  }
715
+ get hasSubTabs() {
716
+ const tabs = this._getTabs();
717
+ for (let i = 0; i < tabs.length; i++) {
718
+ if (tabs[i].subTabs.length > 0) {
719
+ return true;
720
+ }
721
+ }
722
+ return false;
723
+ }
922
724
  _getTabStrip() {
923
725
  return this.shadowRoot.querySelector(`#${this._id}-tabStrip`);
924
726
  }
@@ -928,15 +730,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
928
730
  _getEndOverflow() {
929
731
  return this.shadowRoot.querySelector(".ui5-tc__overflow--end");
930
732
  }
931
- _getCustomStartOverflowBtnDOM() {
932
- return this.shadowRoot.querySelector("slot[name=startOverflowButton]");
933
- }
934
733
  _getStartOverflowBtnDOM() {
935
734
  return this._getStartOverflow().querySelector("[ui5-button]");
936
735
  }
937
- _getCustomEndOverflowBtnDOM() {
938
- return this.shadowRoot.querySelector("slot[name=overflowButton]");
939
- }
940
736
  _getEndOverflowBtnDOM() {
941
737
  return this._getEndOverflow().querySelector("[ui5-button]");
942
738
  }
@@ -944,6 +740,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
944
740
  const staticAreaItem = await this.getStaticAreaItemDomRef();
945
741
  return staticAreaItem.querySelector(`#${this._id}-overflowMenu`);
946
742
  }
743
+ async _closeRespPopover() {
744
+ this.responsivePopover = await this._respPopover();
745
+ this.responsivePopover.close();
746
+ }
947
747
  get classes() {
948
748
  return {
949
749
  root: {
@@ -980,13 +780,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
980
780
  return this.tabLayout === _TabLayout.default.Standard;
981
781
  }
982
782
  get previousIconACCName() {
983
- return TabContainer.i18nBundle.getText(_i18nDefaults.TABCONTAINER_PREVIOUS_ICON_ACC_NAME);
783
+ return TabContainer_1.i18nBundle.getText(_i18nDefaults.TABCONTAINER_PREVIOUS_ICON_ACC_NAME);
984
784
  }
985
785
  get nextIconACCName() {
986
- return TabContainer.i18nBundle.getText(_i18nDefaults.TABCONTAINER_NEXT_ICON_ACC_NAME);
786
+ return TabContainer_1.i18nBundle.getText(_i18nDefaults.TABCONTAINER_NEXT_ICON_ACC_NAME);
987
787
  }
988
788
  get overflowMenuTitle() {
989
- return TabContainer.i18nBundle.getText(_i18nDefaults.TABCONTAINER_OVERFLOW_MENU_TITLE);
789
+ return TabContainer_1.i18nBundle.getText(_i18nDefaults.TABCONTAINER_OVERFLOW_MENU_TITLE);
990
790
  }
991
791
  get tabsAtTheBottom() {
992
792
  return this.tabsPlacement === _TabContainerTabsPlacement.default.Bottom;
@@ -995,21 +795,121 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
995
795
  return this.tabsAtTheBottom ? "slim-arrow-up" : "slim-arrow-down";
996
796
  }
997
797
  get overflowButtonText() {
998
- return TabContainer.i18nBundle.getText(_i18nDefaults.TABCONTAINER_END_OVERFLOW);
798
+ return TabContainer_1.i18nBundle.getText(_i18nDefaults.TABCONTAINER_END_OVERFLOW);
999
799
  }
1000
800
  get popoverCancelButtonText() {
1001
- return TabContainer.i18nBundle.getText(_i18nDefaults.TABCONTAINER_POPOVER_CANCEL_BUTTON);
801
+ return TabContainer_1.i18nBundle.getText(_i18nDefaults.TABCONTAINER_POPOVER_CANCEL_BUTTON);
1002
802
  }
1003
- get animate() {
1004
- return (0, _AnimationMode2.getAnimationMode)() !== _AnimationMode.default.None;
803
+ get accInvisibleText() {
804
+ return TabContainer_1.i18nBundle.getText(_i18nDefaults.TABCONTAINER_SUBTABS_DESCRIPTION);
805
+ }
806
+ get tablistAriaDescribedById() {
807
+ return this.hasSubTabs ? `${this._id}-invisibleText` : undefined;
1005
808
  }
1006
- static get dependencies() {
1007
- return [_Button.default, _Icon.default, _List.default, _ResponsivePopover.default];
809
+ get shouldAnimate() {
810
+ return (0, _AnimationMode2.getAnimationMode)() !== _AnimationMode.default.None;
1008
811
  }
1009
812
  static async onDefine() {
1010
- TabContainer.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
813
+ TabContainer_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
1011
814
  }
1012
- }
815
+ };
816
+ __decorate([(0, _property.default)({
817
+ type: Boolean
818
+ })], TabContainer.prototype, "fixed", void 0);
819
+ __decorate([(0, _property.default)({
820
+ type: Boolean
821
+ })], TabContainer.prototype, "collapsed", void 0);
822
+ __decorate([(0, _property.default)({
823
+ type: Boolean
824
+ })], TabContainer.prototype, "showOverflow", void 0);
825
+ __decorate([(0, _property.default)({
826
+ type: _TabLayout.default,
827
+ defaultValue: _TabLayout.default.Standard
828
+ })], TabContainer.prototype, "tabLayout", void 0);
829
+ __decorate([(0, _property.default)({
830
+ type: _TabsOverflowMode.default,
831
+ defaultValue: _TabsOverflowMode.default.End
832
+ })], TabContainer.prototype, "tabsOverflowMode", void 0);
833
+ __decorate([(0, _property.default)({
834
+ type: _TabContainerBackgroundDesign.default,
835
+ defaultValue: _TabContainerBackgroundDesign.default.Solid
836
+ })], TabContainer.prototype, "headerBackgroundDesign", void 0);
837
+ __decorate([(0, _property.default)({
838
+ type: _TabContainerBackgroundDesign.default,
839
+ defaultValue: _TabContainerBackgroundDesign.default.Solid
840
+ })], TabContainer.prototype, "contentBackgroundDesign", void 0);
841
+ __decorate([(0, _property.default)({
842
+ type: _TabContainerTabsPlacement.default,
843
+ defaultValue: _TabContainerTabsPlacement.default.Top
844
+ })], TabContainer.prototype, "tabsPlacement", void 0);
845
+ __decorate([(0, _property.default)()], TabContainer.prototype, "mediaRange", void 0);
846
+ __decorate([(0, _property.default)({
847
+ type: Object
848
+ })], TabContainer.prototype, "_selectedTab", void 0);
849
+ __decorate([(0, _property.default)({
850
+ type: Boolean,
851
+ noAttribute: true
852
+ })], TabContainer.prototype, "_animationRunning", void 0);
853
+ __decorate([(0, _property.default)({
854
+ type: Boolean,
855
+ noAttribute: true
856
+ })], TabContainer.prototype, "_contentCollapsed", void 0);
857
+ __decorate([(0, _property.default)({
858
+ noAttribute: true,
859
+ defaultValue: "0"
860
+ })], TabContainer.prototype, "_startOverflowText", void 0);
861
+ __decorate([(0, _property.default)({
862
+ noAttribute: true,
863
+ defaultValue: "More"
864
+ })], TabContainer.prototype, "_endOverflowText", void 0);
865
+ __decorate([(0, _property.default)({
866
+ type: Object,
867
+ multiple: true
868
+ })], TabContainer.prototype, "_overflowItems", void 0);
869
+ __decorate([(0, _property.default)({
870
+ validator: _Integer.default,
871
+ noAttribute: true
872
+ })], TabContainer.prototype, "_width", void 0);
873
+ __decorate([(0, _slot.default)({
874
+ "default": true,
875
+ type: HTMLElement,
876
+ individualSlots: true,
877
+ invalidateOnChildChange: {
878
+ properties: true,
879
+ slots: false
880
+ }
881
+ })], TabContainer.prototype, "items", void 0);
882
+ __decorate([(0, _slot.default)()], TabContainer.prototype, "overflowButton", void 0);
883
+ __decorate([(0, _slot.default)()], TabContainer.prototype, "startOverflowButton", void 0);
884
+ TabContainer = TabContainer_1 = __decorate([(0, _customElement.default)({
885
+ tag: "ui5-tabcontainer",
886
+ languageAware: true,
887
+ fastNavigation: true,
888
+ styles: [tabStyles, _TabContainer.default],
889
+ staticAreaStyles: [_ResponsivePopoverCommon.default, staticAreaTabStyles],
890
+ renderer: _LitRenderer.default,
891
+ template: _TabContainerTemplate.default,
892
+ staticAreaTemplate: _TabContainerPopoverTemplate.default,
893
+ dependencies: [_Button.default, _Icon.default, _List.default, _ResponsivePopover.default]
894
+ })
895
+ /**
896
+ * Fired when a tab is selected.
897
+ *
898
+ * @event sap.ui.webc.main.TabContainer#tab-select
899
+ * @param {HTMLElement} tab The selected <code>tab</code>.
900
+ * @param {Integer} tabIndex The selected <code>tab</code> index in the flattened array of all tabs and their subTabs, provided by the <code>allItems</code> getter.
901
+ * @public
902
+ * @allowPreventDefault
903
+ */, (0, _event.default)("tab-select", {
904
+ detail: {
905
+ tab: {
906
+ type: HTMLElement
907
+ },
908
+ tabIndex: {
909
+ type: Number
910
+ }
911
+ }
912
+ })], TabContainer);
1013
913
  const isTabDiv = el => el.localName === "div" && el.getAttribute("role") === "tab";
1014
914
  const getTab = el => {
1015
915
  while (el) {
@@ -1020,15 +920,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1020
920
  }
1021
921
  return false;
1022
922
  };
1023
- const findIndex = (arr, predicate) => {
1024
- for (let i = 0; i < arr.length; i++) {
1025
- const result = predicate(arr[i]);
1026
- if (result) {
1027
- return i;
1028
- }
1029
- }
1030
- return -1;
1031
- };
1032
923
  const walk = (tabs, callback) => {
1033
924
  [...tabs].forEach(tab => {
1034
925
  callback(tab);