@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/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/util/TabbableElements", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/isElementInView", "./types/ListMode", "./types/ListGrowingMode", "./types/ListSeparators", "./BusyIndicator", "./generated/templates/ListTemplate.lit", "./generated/themes/List.css", "./generated/themes/BrowserScrollbar.css", "./generated/i18n/i18n-defaults"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _ItemNavigation, _Render, _TabbableElements, _Keys, _Integer, _NavigationMode, _AriaLabelHelper, _i18nBundle, _debounce, _isElementInView, _ListMode, _ListGrowingMode, _ListSeparators, _BusyIndicator, _ListTemplate, _List, _BrowserScrollbar, _i18nDefaults) {
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/delegate/ItemNavigation", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/NavigationMode", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/util/getNormalizedTarget", "sap/ui/webc/common/thirdparty/base/util/getEffectiveScrollbarStyle", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/debounce", "sap/ui/webc/common/thirdparty/base/util/isElementInView", "./types/ListMode", "./types/ListGrowingMode", "./types/ListSeparators", "./BusyIndicator", "./generated/templates/ListTemplate.lit", "./generated/themes/List.css", "./generated/themes/BrowserScrollbar.css", "./generated/i18n/i18n-defaults"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _ItemNavigation, _property, _event, _customElement, _slot, _Render, _Keys, _Integer, _NavigationMode, _AriaLabelHelper, _getNormalizedTarget, _getEffectiveScrollbarStyle, _i18nBundle, _debounce, _isElementInView, _ListMode, _ListGrowingMode, _ListSeparators, _BusyIndicator, _ListTemplate, _List, _BrowserScrollbar, _i18nDefaults) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
@@ -9,8 +9,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
9
9
  _LitRenderer = _interopRequireDefault(_LitRenderer);
10
10
  _ResizeHandler = _interopRequireDefault(_ResizeHandler);
11
11
  _ItemNavigation = _interopRequireDefault(_ItemNavigation);
12
+ _property = _interopRequireDefault(_property);
13
+ _event = _interopRequireDefault(_event);
14
+ _customElement = _interopRequireDefault(_customElement);
15
+ _slot = _interopRequireDefault(_slot);
12
16
  _Integer = _interopRequireDefault(_Integer);
13
17
  _NavigationMode = _interopRequireDefault(_NavigationMode);
18
+ _getNormalizedTarget = _interopRequireDefault(_getNormalizedTarget);
19
+ _getEffectiveScrollbarStyle = _interopRequireDefault(_getEffectiveScrollbarStyle);
14
20
  _debounce = _interopRequireDefault(_debounce);
15
21
  _isElementInView = _interopRequireDefault(_isElementInView);
16
22
  _ListMode = _interopRequireDefault(_ListMode);
@@ -21,330 +27,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
21
27
  _List = _interopRequireDefault(_List);
22
28
  _BrowserScrollbar = _interopRequireDefault(_BrowserScrollbar);
23
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
24
- // Template
25
-
26
- // Styles
27
-
28
- // Texts
29
-
30
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
31
+ var c = arguments.length,
32
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
33
+ d;
34
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
35
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
36
+ };
37
+ var List_1;
30
38
  const INFINITE_SCROLL_DEBOUNCE_RATE = 250; // ms
31
-
32
39
  const PAGE_UP_DOWN_SIZE = 10;
33
-
34
- /**
35
- * @public
36
- */
37
- const metadata = {
38
- tag: "ui5-list",
39
- managedSlots: true,
40
- fastNavigation: true,
41
- slots: /** @lends sap.ui.webcomponents.main.List.prototype */{
42
- /**
43
- * Defines the component header.
44
- * <br><br>
45
- * <b>Note:</b> When <code>header</code> is set, the
46
- * <code>headerText</code> property is ignored.
47
- *
48
- * @type {HTMLElement[]}
49
- * @slot
50
- * @public
51
- */
52
- header: {
53
- type: HTMLElement
54
- },
55
- /**
56
- * Defines the items of the component.
57
- * <br><br>
58
- * <b>Note:</b> Use <code>ui5-li</code>, <code>ui5-li-custom</code>, and <code>ui5-li-groupheader</code> for the intended design.
59
- *
60
- * @type {sap.ui.webcomponents.main.IListItem[]}
61
- * @slot items
62
- * @public
63
- */
64
- "default": {
65
- propertyName: "items",
66
- type: HTMLElement
67
- }
68
- },
69
- properties: /** @lends sap.ui.webcomponents.main.List.prototype */{
70
- /**
71
- * Defines the component header text.
72
- * <br><br>
73
- * <b>Note:</b> If <code>header</code> is set this property is ignored.
74
- *
75
- * @type {string}
76
- * @defaultvalue ""
77
- * @public
78
- */
79
- headerText: {
80
- type: String
81
- },
82
- /**
83
- * Defines the footer text.
84
- *
85
- * @type {string}
86
- * @defaultvalue ""
87
- * @public
88
- */
89
- footerText: {
90
- type: String
91
- },
92
- /**
93
- * Determines whether the component is indented.
94
- *
95
- * @type {boolean}
96
- * @defaultvalue false
97
- * @public
98
- */
99
- indent: {
100
- type: Boolean
101
- },
102
- /**
103
- * Defines the mode of the component.
104
- * <br><br>
105
- * <b>Note:</b> Available options are <code>None</code>, <code>SingleSelect</code>, <code>SingleSelectBegin</code>,
106
- * <code>SingleSelectEnd</code>, <code>MultiSelect</code>, and <code>Delete</code>.
107
- *
108
- * @type {ListMode}
109
- * @defaultvalue "None"
110
- * @public
111
- */
112
- mode: {
113
- type: _ListMode.default,
114
- defaultValue: _ListMode.default.None
115
- },
116
- /**
117
- * Defines the text that is displayed when the component contains no items.
118
- *
119
- * @type {string}
120
- * @defaultvalue ""
121
- * @public
122
- */
123
- noDataText: {
124
- type: String
125
- },
126
- /**
127
- * Defines the item separator style that is used.
128
- * <br><br>
129
- * <b>Notes:</b>
130
- * <ul>
131
- * <li>Avalaible options are <code>All</code>, <code>Inner</code>, and <code>None</code>.</li>
132
- * <li>When set to <code>None</code>, none of the items are separated by horizontal lines.</li>
133
- * <li>When set to <code>Inner</code>, the first item doesn't have a top separator and the last
134
- * item doesn't have a bottom separator.</li>
135
- * </ul>
136
- *
137
- * @type {ListSeparators}
138
- * @defaultvalue "All"
139
- * @public
140
- */
141
- separators: {
142
- type: _ListSeparators.default,
143
- defaultValue: _ListSeparators.default.All
144
- },
145
- /**
146
- * Defines whether the component will have growing capability either by pressing a <code>More</code> button,
147
- * or via user scroll. In both cases <code>load-more</code> event is fired.
148
- * <br><br>
149
- *
150
- * Available options:
151
- * <br><br>
152
- * <code>Button</code> - Shows a <code>More</code> button at the bottom of the list,
153
- * pressing of which triggers the <code>load-more</code> event.
154
- * <br>
155
- * <code>Scroll</code> - The <code>load-more</code> event is triggered when the user scrolls to the bottom of the list;
156
- * <br>
157
- * <code>None</code> (default) - The growing is off.
158
- * <br><br>
159
- *
160
- * <b>Restrictions:</b> <code>growing="Scroll"</code> is not supported for Internet Explorer,
161
- * on IE the component will fallback to <code>growing="Button"</code>.
162
- * @type {ListGrowingMode}
163
- * @defaultvalue "None"
164
- * @since 1.0.0-rc.13
165
- * @public
166
- */
167
- growing: {
168
- type: _ListGrowingMode.default,
169
- defaultValue: _ListGrowingMode.default.None
170
- },
171
- /**
172
- * Defines if the component would display a loading indicator over the list.
173
- *
174
- * @type {boolean}
175
- * @defaultvalue false
176
- * @public
177
- * @since 1.0.0-rc.6
178
- */
179
- busy: {
180
- type: Boolean
181
- },
182
- /**
183
- * Defines the delay in milliseconds, after which the busy indicator will show up for this component.
184
- *
185
- * @type {Integer}
186
- * @defaultValue 1000
187
- * @public
188
- */
189
- busyDelay: {
190
- type: _Integer.default,
191
- defaultValue: 1000
192
- },
193
- /**
194
- * Defines the accessible name of the component.
195
- *
196
- * @type {string}
197
- * @defaultvalue ""
198
- * @public
199
- * @since 1.0.0-rc.15
200
- */
201
- accessibleName: {
202
- type: String
203
- },
204
- /**
205
- * Defines the IDs of the elements that label the input.
206
- *
207
- * @type {string}
208
- * @defaultvalue ""
209
- * @public
210
- * @since 1.0.0-rc.15
211
- */
212
- accessibleNameRef: {
213
- type: String,
214
- defaultValue: ""
215
- },
216
- /**
217
- * Defines the accessible role of the component.
218
- * <br><br>
219
- * @public
220
- * @type {string}
221
- * @defaultvalue "list"
222
- * @since 1.0.0-rc.15
223
- */
224
- accessibleRole: {
225
- type: String,
226
- defaultValue: "list"
227
- },
228
- /**
229
- * Defines if the entire list is in view port.
230
- * @private
231
- */
232
- _inViewport: {
233
- type: Boolean
234
- },
235
- /**
236
- * Defines the active state of the <code>More</code> button.
237
- * @private
238
- */
239
- _loadMoreActive: {
240
- type: Boolean
241
- }
242
- },
243
- events: /** @lends sap.ui.webcomponents.main.List.prototype */{
244
- /**
245
- * Fired when an item is activated, unless the item's <code>type</code> property
246
- * is set to <code>Inactive</code>.
247
- *
248
- * @event sap.ui.webcomponents.main.List#item-click
249
- * @allowPreventDefault
250
- * @param {HTMLElement} item The clicked item.
251
- * @public
252
- */
253
- "item-click": {
254
- detail: {
255
- item: {
256
- type: HTMLElement
257
- }
258
- }
259
- },
260
- /**
261
- * Fired when the <code>Close</code> button of any item is clicked
262
- * <br><br>
263
- * <b>Note:</b> This event is only applicable to list items that can be closed (such as notification list items),
264
- * not to be confused with <code>item-delete</code>.
265
- *
266
- * @event sap.ui.webcomponents.main.List#item-close
267
- * @param {HTMLElement} item the item about to be closed.
268
- * @public
269
- * @since 1.0.0-rc.8
270
- */
271
- "item-close": {
272
- detail: {
273
- item: {
274
- type: HTMLElement
275
- }
276
- }
277
- },
278
- /**
279
- * Fired when the <code>Toggle</code> button of any item is clicked.
280
- * <br><br>
281
- * <b>Note:</b> This event is only applicable to list items that can be toggled (such as notification group list items).
282
- *
283
- * @event sap.ui.webcomponents.main.List#item-toggle
284
- * @param {HTMLElement} item the toggled item.
285
- * @public
286
- * @since 1.0.0-rc.8
287
- */
288
- "item-toggle": {
289
- detail: {
290
- item: {
291
- type: HTMLElement
292
- }
293
- }
294
- },
295
- /**
296
- * Fired when the Delete button of any item is pressed.
297
- * <br><br>
298
- * <b>Note:</b> A Delete button is displayed on each item,
299
- * when the component <code>mode</code> property is set to <code>Delete</code>.
300
- *
301
- * @event sap.ui.webcomponents.main.List#item-delete
302
- * @param {HTMLElement} item the deleted item.
303
- * @public
304
- */
305
- "item-delete": {
306
- detail: {
307
- item: {
308
- type: HTMLElement
309
- }
310
- }
311
- },
312
- /**
313
- * Fired when selection is changed by user interaction
314
- * in <code>SingleSelect</code>, <code>SingleSelectBegin</code>, <code>SingleSelectEnd</code> and <code>MultiSelect</code> modes.
315
- *
316
- * @event sap.ui.webcomponents.main.List#selection-change
317
- * @param {Array} selectedItems An array of the selected items.
318
- * @param {Array} previouslySelectedItems An array of the previously selected items.
319
- * @public
320
- */
321
- "selection-change": {
322
- detail: {
323
- selectedItems: {
324
- type: Array
325
- },
326
- previouslySelectedItems: {
327
- type: Array
328
- },
329
- selectionComponentPressed: {
330
- type: Boolean
331
- } // protected, indicates if the user used the selection components to change the selection
332
- }
333
- },
334
-
335
- /**
336
- * Fired when the user scrolls to the bottom of the list.
337
- * <br><br>
338
- * <b>Note:</b> The event is fired when the <code>growing='Scroll'</code> property is enabled.
339
- *
340
- * @event sap.ui.webcomponents.main.List#load-more
341
- * @public
342
- * @since 1.0.0-rc.6
343
- */
344
- "load-more": {}
345
- }
346
- };
347
-
348
40
  /**
349
41
  * @class
350
42
  *
@@ -406,57 +98,32 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
406
98
  *
407
99
  * @constructor
408
100
  * @author SAP SE
409
- * @alias sap.ui.webcomponents.main.List
410
- * @extends UI5Element
101
+ * @alias sap.ui.webc.main.List
102
+ * @extends sap.ui.webc.base.UI5Element
411
103
  * @tagname ui5-list
412
- * @appenddocs StandardListItem CustomListItem GroupHeaderListItem
104
+ * @appenddocs sap.ui.webc.main.StandardListItem sap.ui.webc.main.CustomListItem sap.ui.webc.main.GroupHeaderListItem
413
105
  * @public
414
106
  */
415
- class List extends _UI5Element.default {
416
- static get metadata() {
417
- return metadata;
418
- }
419
- static get render() {
420
- return _LitRenderer.default;
421
- }
422
- static get template() {
423
- return _ListTemplate.default;
424
- }
425
- static get styles() {
426
- return [_BrowserScrollbar.default, _List.default];
427
- }
107
+ let List = List_1 = class List extends _UI5Element.default {
428
108
  static async onDefine() {
429
- List.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
430
- }
431
- static get dependencies() {
432
- return [_BusyIndicator.default];
109
+ List_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
433
110
  }
434
111
  constructor() {
435
112
  super();
436
- this.initItemNavigation();
437
-
438
- // Stores the last focused item within the internal ul element.
439
113
  this._previouslyFocusedItem = null;
440
-
441
114
  // Indicates that the List is forwarding the focus before or after the internal ul.
442
115
  this._forwardingFocus = false;
443
- this._previouslySelectedItem = null;
444
-
445
116
  // Indicates that the List has already subscribed for resize.
446
117
  this.resizeListenerAttached = false;
447
-
448
118
  // Indicates if the IntersectionObserver started observing the List
449
119
  this.listEndObserved = false;
450
- this.addEventListener("ui5-_press", this.onItemPress.bind(this));
451
- this.addEventListener("ui5-close", this.onItemClose.bind(this));
452
- this.addEventListener("ui5-toggle", this.onItemToggle.bind(this));
453
- this.addEventListener("ui5-_focused", this.onItemFocused.bind(this));
454
- this.addEventListener("ui5-_forward-after", this.onForwardAfter.bind(this));
455
- this.addEventListener("ui5-_forward-before", this.onForwardBefore.bind(this));
456
- this.addEventListener("ui5-_selection-requested", this.onSelectionRequested.bind(this));
457
- this.addEventListener("ui5-_focus-requested", this.focusUploadCollectionItem.bind(this));
120
+ this._itemNavigation = new _ItemNavigation.default(this, {
121
+ skipItemsSize: PAGE_UP_DOWN_SIZE,
122
+ navigationMode: _NavigationMode.default.Vertical,
123
+ getItemsCallback: () => this.getEnabledItems()
124
+ });
125
+ this._handleResize = this.checkListInViewport.bind(this);
458
126
  this._handleResize = this.checkListInViewport.bind(this);
459
-
460
127
  // Indicates the List bottom most part has been detected by the IntersectionObserver
461
128
  // for the first time.
462
129
  this.initialIntersection = true;
@@ -499,7 +166,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
499
166
  return this.shadowRoot.querySelector(".ui5-list-end-marker");
500
167
  }
501
168
  get hasData() {
502
- return this.getSlottedNodes("items").length !== 0;
169
+ return this.getItems().length !== 0;
503
170
  }
504
171
  get showNoDataText() {
505
172
  return !this.hasData && this.noDataText;
@@ -531,15 +198,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
531
198
  }
532
199
  get ariaLabelModeText() {
533
200
  if (this.isMultiSelect) {
534
- return List.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_LIST_MULTISELECTABLE);
201
+ return List_1.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_LIST_MULTISELECTABLE);
535
202
  }
536
203
  if (this.isSingleSelect) {
537
- return List.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_LIST_SELECTABLE);
204
+ return List_1.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_LIST_SELECTABLE);
538
205
  }
539
206
  if (this.isDelete) {
540
- return List.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_LIST_DELETABLE);
207
+ return List_1.i18nBundle.getText(_i18nDefaults.ARIA_LABEL_LIST_DELETABLE);
541
208
  }
542
- return undefined;
209
+ return "";
543
210
  }
544
211
  get grows() {
545
212
  return this.growing !== _ListGrowingMode.default.None;
@@ -551,7 +218,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
551
218
  return this.growing === _ListGrowingMode.default.Button;
552
219
  }
553
220
  get _growingButtonText() {
554
- return List.i18nBundle.getText(_i18nDefaults.LOAD_MORE_TEXT);
221
+ return List_1.i18nBundle.getText(_i18nDefaults.LOAD_MORE_TEXT);
555
222
  }
556
223
  get busyIndPosition() {
557
224
  if (!this.grows) {
@@ -566,23 +233,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
566
233
  }
567
234
  };
568
235
  }
569
- initItemNavigation() {
570
- this._itemNavigation = new _ItemNavigation.default(this, {
571
- skipItemsSize: PAGE_UP_DOWN_SIZE,
572
- // PAGE_UP and PAGE_DOWN will skip trough 10 items
573
- navigationMode: _NavigationMode.default.Vertical,
574
- getItemsCallback: () => this.getEnabledItems()
575
- });
236
+ get classes() {
237
+ return {
238
+ root: {
239
+ "ui5-list-root": true,
240
+ "ui5-content-native-scrollbars": (0, _getEffectiveScrollbarStyle.default)()
241
+ }
242
+ };
576
243
  }
577
244
  prepareListItems() {
578
- const slottedItems = this.getSlottedNodes("items");
245
+ const slottedItems = this.getItemsForProcessing();
579
246
  slottedItems.forEach((item, key) => {
580
247
  const isLastChild = key === slottedItems.length - 1;
581
248
  const showBottomBorder = this.separators === _ListSeparators.default.All || this.separators === _ListSeparators.default.Inner && !isLastChild;
582
- item._mode = this.mode;
249
+ if (item.hasConfigurableMode) {
250
+ item._mode = this.mode;
251
+ }
583
252
  item.hasBorder = showBottomBorder;
584
253
  });
585
- this._previouslySelectedItem = null;
586
254
  }
587
255
  async observeListEnd() {
588
256
  if (!this.listEndObserved) {
@@ -609,24 +277,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
609
277
  }
610
278
  });
611
279
  }
612
-
613
280
  /*
614
281
  * ITEM SELECTION BASED ON THE CURRENT MODE
615
282
  */
616
- onSelectionRequested(event) {
283
+ onSelectionRequested(e) {
617
284
  const previouslySelectedItems = this.getSelectedItems();
618
285
  let selectionChange = false;
619
286
  this._selectionRequested = true;
620
- if (this[`handle${this.mode}`]) {
621
- selectionChange = this[`handle${this.mode}`](event.detail.item, event.detail.selected);
287
+ if (this.mode !== _ListMode.default.None && this[`handle${this.mode}`]) {
288
+ selectionChange = this[`handle${this.mode}`](e.detail.item, !!e.detail.selected);
622
289
  }
623
290
  if (selectionChange) {
624
- this.fireEvent("selection-change", {
291
+ const changePrevented = !this.fireEvent("selection-change", {
625
292
  selectedItems: this.getSelectedItems(),
626
293
  previouslySelectedItems,
627
- selectionComponentPressed: event.detail.selectionComponentPressed,
628
- key: event.detail.key
629
- });
294
+ selectionComponentPressed: e.detail.selectionComponentPressed,
295
+ targetItem: e.detail.item,
296
+ key: e.detail.key
297
+ }, true);
298
+ if (changePrevented) {
299
+ this._revertSelection(previouslySelectedItems);
300
+ }
630
301
  }
631
302
  }
632
303
  handleSingleSelect(item) {
@@ -654,6 +325,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
654
325
  this.fireEvent("item-delete", {
655
326
  item
656
327
  });
328
+ return true;
657
329
  }
658
330
  deselectSelectedItems() {
659
331
  this.getSelectedItems().forEach(item => {
@@ -661,39 +333,58 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
661
333
  });
662
334
  }
663
335
  getSelectedItems() {
664
- return this.getSlottedNodes("items").filter(item => item.selected);
336
+ return this.getItems().filter(item => item.selected);
665
337
  }
666
338
  getEnabledItems() {
667
- return this.getSlottedNodes("items").filter(item => !item.disabled);
339
+ return this.getItems().filter(item => !item.disabled);
340
+ }
341
+ getItems() {
342
+ return this.getSlottedNodes("items");
343
+ }
344
+ getItemsForProcessing() {
345
+ return this.getItems();
346
+ }
347
+ _revertSelection(previouslySelectedItems) {
348
+ this.getItems().forEach(item => {
349
+ const oldSelection = previouslySelectedItems.indexOf(item) !== -1;
350
+ const multiSelectCheckBox = item.shadowRoot.querySelector(".ui5-li-multisel-cb");
351
+ const singleSelectRadioButton = item.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");
352
+ item.selected = oldSelection;
353
+ if (multiSelectCheckBox) {
354
+ multiSelectCheckBox.checked = oldSelection;
355
+ } else if (singleSelectRadioButton) {
356
+ singleSelectRadioButton.checked = oldSelection;
357
+ }
358
+ });
668
359
  }
669
- _onkeydown(event) {
670
- if ((0, _Keys.isTabNext)(event)) {
671
- this._handleTabNext(event);
360
+ _onkeydown(e) {
361
+ if ((0, _Keys.isTabNext)(e)) {
362
+ this._handleTabNext(e);
672
363
  }
673
364
  }
674
- _onLoadMoreKeydown(event) {
675
- if ((0, _Keys.isSpace)(event)) {
676
- event.preventDefault();
365
+ _onLoadMoreKeydown(e) {
366
+ if ((0, _Keys.isSpace)(e)) {
367
+ e.preventDefault();
677
368
  this._loadMoreActive = true;
678
369
  }
679
- if ((0, _Keys.isEnter)(event)) {
370
+ if ((0, _Keys.isEnter)(e)) {
680
371
  this._onLoadMoreClick();
681
372
  this._loadMoreActive = true;
682
373
  }
683
- if ((0, _Keys.isTabNext)(event)) {
374
+ if ((0, _Keys.isTabNext)(e)) {
684
375
  this.focusAfterElement();
685
376
  }
686
- if ((0, _Keys.isTabPrevious)(event)) {
377
+ if ((0, _Keys.isTabPrevious)(e)) {
687
378
  if (this.getPreviouslyFocusedItem()) {
688
379
  this.focusPreviouslyFocusedItem();
689
380
  } else {
690
381
  this.focusFirstItem();
691
382
  }
692
- event.preventDefault();
383
+ e.preventDefault();
693
384
  }
694
385
  }
695
- _onLoadMoreKeyup(event) {
696
- if ((0, _Keys.isSpace)(event)) {
386
+ _onLoadMoreKeyup(e) {
387
+ if ((0, _Keys.isSpace)(e)) {
697
388
  this._onLoadMoreClick();
698
389
  }
699
390
  this._loadMoreActive = false;
@@ -713,19 +404,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
713
404
  loadMore() {
714
405
  this.fireEvent("load-more");
715
406
  }
716
-
717
407
  /*
718
408
  * KEYBOARD SUPPORT
719
409
  */
720
- _handleTabNext(event) {
721
- // If forward navigation is performed, we check if the List has headerToolbar.
722
- // If yes - we check if the target is at the last tabbable element of the headerToolbar
723
- // to forward correctly the focus to the selected, previously focused or to the first list item.
410
+ _handleTabNext(e) {
724
411
  let lastTabbableEl;
725
- const target = this.getNormalizedTarget(event.target);
726
- if (this.headerToolbar) {
727
- lastTabbableEl = this.getHeaderToolbarLastTabbableElement();
728
- }
412
+ const target = (0, _getNormalizedTarget.default)(e.target);
729
413
  if (!lastTabbableEl) {
730
414
  return;
731
415
  }
@@ -737,18 +421,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
737
421
  } else {
738
422
  this.focusFirstItem();
739
423
  }
740
- event.stopImmediatePropagation();
741
- event.preventDefault();
424
+ e.stopImmediatePropagation();
425
+ e.preventDefault();
742
426
  }
743
427
  }
744
- _onfocusin(event) {
745
- const target = this.getNormalizedTarget(event.target);
428
+ _onfocusin(e) {
429
+ const target = (0, _getNormalizedTarget.default)(e.target);
746
430
  // If the focusin event does not origin from one of the 'triggers' - ignore it.
747
431
  if (!this.isForwardElement(target)) {
748
- event.stopImmediatePropagation();
432
+ e.stopImmediatePropagation();
749
433
  return;
750
434
  }
751
-
752
435
  // The focus arrives in the List for the first time.
753
436
  // If there is selected item - focus it or focus the first item.
754
437
  if (!this.getPreviouslyFocusedItem()) {
@@ -757,55 +440,56 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
757
440
  } else {
758
441
  this.focusFirstItem();
759
442
  }
760
- event.stopImmediatePropagation();
443
+ e.stopImmediatePropagation();
761
444
  return;
762
445
  }
763
-
764
446
  // The focus returns to the List,
765
447
  // focus the first selected item or the previously focused element.
766
448
  if (!this.getForwardingFocus()) {
767
449
  if (this.growsWithButton && this.isForwardAfterElement(target)) {
768
450
  this.focusGrowingButton();
769
- event.stopImmediatePropagation();
451
+ e.stopImmediatePropagation();
770
452
  return;
771
453
  }
772
454
  this.focusPreviouslyFocusedItem();
773
- event.stopImmediatePropagation();
455
+ e.stopImmediatePropagation();
774
456
  }
775
457
  this.setForwardingFocus(false);
776
458
  }
777
- isForwardElement(node) {
778
- const nodeId = node.id;
459
+ isForwardElement(element) {
460
+ const elementId = element.id;
779
461
  const beforeElement = this.getBeforeElement();
780
- if (this._id === nodeId || beforeElement && beforeElement.id === nodeId) {
462
+ if (this._id === elementId || beforeElement && beforeElement.id === elementId) {
781
463
  return true;
782
464
  }
783
- return this.isForwardAfterElement(node);
465
+ return this.isForwardAfterElement(element);
784
466
  }
785
- isForwardAfterElement(node) {
786
- const nodeId = node.id;
467
+ isForwardAfterElement(element) {
468
+ const elementId = element.id;
787
469
  const afterElement = this.getAfterElement();
788
- return afterElement && afterElement.id === nodeId;
470
+ return afterElement && afterElement.id === elementId;
789
471
  }
790
- onItemFocused(event) {
791
- const target = event.target;
472
+ onItemFocused(e) {
473
+ const target = e.target;
474
+ e.stopPropagation();
792
475
  this._itemNavigation.setCurrentItem(target);
793
476
  this.fireEvent("item-focused", {
794
477
  item: target
795
478
  });
796
479
  if (this.mode === _ListMode.default.SingleSelectAuto) {
480
+ const detail = {
481
+ item: target,
482
+ selectionComponentPressed: false,
483
+ selected: true,
484
+ key: e.detail.key
485
+ };
797
486
  this.onSelectionRequested({
798
- detail: {
799
- item: target,
800
- selectionComponentPressed: false,
801
- selected: true,
802
- key: event.detail.key
803
- }
487
+ detail
804
488
  });
805
489
  }
806
490
  }
807
- onItemPress(event) {
808
- const pressedItem = event.detail.item;
491
+ onItemPress(e) {
492
+ const pressedItem = e.detail.item;
809
493
  if (!this.fireEvent("item-click", {
810
494
  item: pressedItem
811
495
  }, true)) {
@@ -813,42 +497,43 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
813
497
  }
814
498
  if (!this._selectionRequested && this.mode !== _ListMode.default.Delete) {
815
499
  this._selectionRequested = true;
500
+ const detail = {
501
+ item: pressedItem,
502
+ selectionComponentPressed: false,
503
+ selected: !pressedItem.selected,
504
+ key: e.detail.key
505
+ };
816
506
  this.onSelectionRequested({
817
- detail: {
818
- item: pressedItem,
819
- selectionComponentPressed: false,
820
- selected: !pressedItem.selected,
821
- key: event.detail.key
822
- }
507
+ detail
823
508
  });
824
509
  }
825
510
  this._selectionRequested = false;
826
511
  }
827
-
828
- // This is applicable to NoficationListItem
829
- onItemClose(event) {
512
+ // This is applicable to NotificationListItem
513
+ onItemClose(e) {
830
514
  this.fireEvent("item-close", {
831
- item: event.detail.item
515
+ item: e.detail.item
832
516
  });
833
517
  }
834
- onItemToggle(event) {
518
+ onItemToggle(e) {
835
519
  this.fireEvent("item-toggle", {
836
- item: event.detail.item
520
+ item: e.detail.item
837
521
  });
838
522
  }
839
- onForwardBefore(event) {
840
- this.setPreviouslyFocusedItem(event.target);
523
+ onForwardBefore(e) {
524
+ this.setPreviouslyFocusedItem(e.target);
841
525
  this.focusBeforeElement();
842
- event.stopImmediatePropagation();
526
+ e.stopPropagation();
843
527
  }
844
- onForwardAfter(event) {
845
- this.setPreviouslyFocusedItem(event.target);
528
+ onForwardAfter(e) {
529
+ this.setPreviouslyFocusedItem(e.target);
846
530
  if (!this.growsWithButton) {
847
531
  this.focusAfterElement();
848
532
  } else {
849
533
  this.focusGrowingButton();
850
- event.preventDefault();
534
+ e.preventDefault();
851
535
  }
536
+ e.stopPropagation();
852
537
  }
853
538
  focusBeforeElement() {
854
539
  this.setForwardingFocus(true);
@@ -867,7 +552,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
867
552
  getGrowingButton() {
868
553
  return this.shadowRoot.querySelector(`#${this._id}-growing-btn`);
869
554
  }
870
-
871
555
  /**
872
556
  * Focuses the first list item and sets its tabindex to "0" via the ItemNavigation
873
557
  * @protected
@@ -892,7 +576,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
892
576
  firstSelectedItem.focus();
893
577
  }
894
578
  }
895
-
896
579
  /**
897
580
  * Focuses a list item and sets its tabindex to "0" via the ItemNavigation
898
581
  * @protected
@@ -902,9 +585,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
902
585
  this._itemNavigation.setCurrentItem(item);
903
586
  item.focus();
904
587
  }
905
- focusUploadCollectionItem(event) {
588
+ onFocusRequested(e) {
906
589
  setTimeout(() => {
907
- this.setPreviouslyFocusedItem(event.target);
590
+ this.setPreviouslyFocusedItem(e.target);
908
591
  this.focusPreviouslyFocusedItem();
909
592
  }, 0);
910
593
  }
@@ -921,10 +604,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
921
604
  return this._previouslyFocusedItem;
922
605
  }
923
606
  getFirstItem(filter) {
924
- const slottedItems = this.getSlottedNodes("items");
607
+ const slottedItems = this.getItems();
925
608
  let firstItem = null;
926
609
  if (!filter) {
927
- return !!slottedItems.length && slottedItems[0];
610
+ return slottedItems.length ? slottedItems[0] : null;
928
611
  }
929
612
  for (let i = 0; i < slottedItems.length; i++) {
930
613
  if (filter(slottedItems[i])) {
@@ -946,16 +629,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
946
629
  }
947
630
  return this._beforeElement;
948
631
  }
949
- getHeaderToolbarLastTabbableElement() {
950
- return (0, _TabbableElements.getLastTabbableElement)(this.headerToolbar.getDomRef()) || this.headerToolbar.getDomRef();
951
- }
952
- getNormalizedTarget(target) {
953
- let focused = target;
954
- if (target.shadowRoot && target.shadowRoot.activeElement) {
955
- focused = target.shadowRoot.activeElement;
956
- }
957
- return focused;
958
- }
959
632
  getIntersectionObserver() {
960
633
  if (!this.growingIntersectionObserver) {
961
634
  this.growingIntersectionObserver = new IntersectionObserver(this.onInteresection.bind(this), {
@@ -966,7 +639,169 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
966
639
  }
967
640
  return this.growingIntersectionObserver;
968
641
  }
969
- }
642
+ };
643
+ __decorate([(0, _property.default)()], List.prototype, "headerText", void 0);
644
+ __decorate([(0, _property.default)()], List.prototype, "footerText", void 0);
645
+ __decorate([(0, _property.default)({
646
+ type: Boolean
647
+ })], List.prototype, "indent", void 0);
648
+ __decorate([(0, _property.default)({
649
+ type: _ListMode.default,
650
+ defaultValue: _ListMode.default.None
651
+ })], List.prototype, "mode", void 0);
652
+ __decorate([(0, _property.default)()], List.prototype, "noDataText", void 0);
653
+ __decorate([(0, _property.default)({
654
+ type: _ListSeparators.default,
655
+ defaultValue: _ListSeparators.default.All
656
+ })], List.prototype, "separators", void 0);
657
+ __decorate([(0, _property.default)({
658
+ type: _ListGrowingMode.default,
659
+ defaultValue: _ListGrowingMode.default.None
660
+ })], List.prototype, "growing", void 0);
661
+ __decorate([(0, _property.default)({
662
+ type: Boolean
663
+ })], List.prototype, "busy", void 0);
664
+ __decorate([(0, _property.default)({
665
+ validator: _Integer.default,
666
+ defaultValue: 1000
667
+ })], List.prototype, "busyDelay", void 0);
668
+ __decorate([(0, _property.default)()], List.prototype, "accessibleName", void 0);
669
+ __decorate([(0, _property.default)({
670
+ defaultValue: ""
671
+ })], List.prototype, "accessibleNameRef", void 0);
672
+ __decorate([(0, _property.default)({
673
+ defaultValue: "list"
674
+ })], List.prototype, "accessibleRole", void 0);
675
+ __decorate([(0, _property.default)({
676
+ defaultValue: undefined,
677
+ noAttribute: true
678
+ })], List.prototype, "accessibleRoleDescription", void 0);
679
+ __decorate([(0, _property.default)({
680
+ type: Boolean
681
+ })], List.prototype, "_inViewport", void 0);
682
+ __decorate([(0, _property.default)({
683
+ type: Boolean
684
+ })], List.prototype, "_loadMoreActive", void 0);
685
+ __decorate([(0, _slot.default)({
686
+ type: HTMLElement,
687
+ "default": true
688
+ })], List.prototype, "items", void 0);
689
+ __decorate([(0, _slot.default)()], List.prototype, "header", void 0);
690
+ List = List_1 = __decorate([(0, _customElement.default)({
691
+ tag: "ui5-list",
692
+ fastNavigation: true,
693
+ renderer: _LitRenderer.default,
694
+ template: _ListTemplate.default,
695
+ styles: [_BrowserScrollbar.default, _List.default],
696
+ dependencies: [_BusyIndicator.default]
697
+ })
698
+ /**
699
+ * Fired when an item is activated, unless the item's <code>type</code> property
700
+ * is set to <code>Inactive</code>.
701
+ *
702
+ * @event sap.ui.webc.main.List#item-click
703
+ * @allowPreventDefault
704
+ * @param {HTMLElement} item The clicked item.
705
+ * @public
706
+ */, (0, _event.default)("item-click", {
707
+ detail: {
708
+ item: {
709
+ type: HTMLElement
710
+ }
711
+ }
712
+ })
713
+ /**
714
+ * Fired when the <code>Close</code> button of any item is clicked
715
+ * <br><br>
716
+ * <b>Note:</b> This event is only applicable to list items that can be closed (such as notification list items),
717
+ * not to be confused with <code>item-delete</code>.
718
+ *
719
+ * @event sap.ui.webc.main.List#item-close
720
+ * @param {HTMLElement} item the item about to be closed.
721
+ * @public
722
+ * @since 1.0.0-rc.8
723
+ */, (0, _event.default)("item-close", {
724
+ detail: {
725
+ item: {
726
+ type: HTMLElement
727
+ }
728
+ }
729
+ })
730
+ /**
731
+ * Fired when the <code>Toggle</code> button of any item is clicked.
732
+ * <br><br>
733
+ * <b>Note:</b> This event is only applicable to list items that can be toggled (such as notification group list items).
734
+ *
735
+ * @event sap.ui.webc.main.List#item-toggle
736
+ * @param {HTMLElement} item the toggled item.
737
+ * @public
738
+ * @since 1.0.0-rc.8
739
+ */, (0, _event.default)("item-toggle", {
740
+ detail: {
741
+ item: {
742
+ type: HTMLElement
743
+ }
744
+ }
745
+ })
746
+ /**
747
+ * Fired when the Delete button of any item is pressed.
748
+ * <br><br>
749
+ * <b>Note:</b> A Delete button is displayed on each item,
750
+ * when the component <code>mode</code> property is set to <code>Delete</code>.
751
+ *
752
+ * @event sap.ui.webc.main.List#item-delete
753
+ * @param {HTMLElement} item the deleted item.
754
+ * @public
755
+ */, (0, _event.default)("item-delete", {
756
+ detail: {
757
+ item: {
758
+ type: HTMLElement
759
+ }
760
+ }
761
+ })
762
+ /**
763
+ * Fired when selection is changed by user interaction
764
+ * in <code>SingleSelect</code>, <code>SingleSelectBegin</code>, <code>SingleSelectEnd</code> and <code>MultiSelect</code> modes.
765
+ *
766
+ * @event sap.ui.webc.main.List#selection-change
767
+ * @allowPreventDefault
768
+ * @param {Array} selectedItems An array of the selected items.
769
+ * @param {Array} previouslySelectedItems An array of the previously selected items.
770
+ * @public
771
+ */, (0, _event.default)("selection-change", {
772
+ detail: {
773
+ selectedItems: {
774
+ type: Array
775
+ },
776
+ previouslySelectedItems: {
777
+ type: Array
778
+ },
779
+ targetItem: {
780
+ type: HTMLElement
781
+ },
782
+ selectionComponentPressed: {
783
+ type: Boolean
784
+ } // protected, indicates if the user used the selection components to change the selection
785
+ }
786
+ })
787
+ /**
788
+ * Fired when the user scrolls to the bottom of the list.
789
+ * <br><br>
790
+ * <b>Note:</b> The event is fired when the <code>growing='Scroll'</code> property is enabled.
791
+ *
792
+ * @event sap.ui.webc.main.List#load-more
793
+ * @public
794
+ * @since 1.0.0-rc.6
795
+ */, (0, _event.default)("load-more")
796
+ /**
797
+ * @private
798
+ */, (0, _event.default)("item-focused", {
799
+ detail: {
800
+ item: {
801
+ type: HTMLElement
802
+ }
803
+ }
804
+ })], List);
970
805
  List.define();
971
806
  var _default = List;
972
807
  _exports.default = _default;