@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/types/ValueState", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/util/InvisibleMessage", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/not-editable", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/Keys", "./Filters", "./generated/i18n/i18n-defaults", "./generated/templates/ComboBoxTemplate.lit", "./generated/templates/ComboBoxPopoverTemplate.lit", "./generated/themes/ComboBox.css", "./generated/themes/ComboBoxPopover.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css", "./ComboBoxItem", "./Icon", "./Popover", "./ResponsivePopover", "./List", "./BusyIndicator", "./Button", "./StandardListItem", "./ComboBoxGroupItem", "./GroupHeaderListItem"], function (_exports, _UI5Element, _LitRenderer, _ValueState, _Device, _Integer, _AriaLabelHelper, _InvisibleMessage, _slimArrowDown, _decline, _notEditable, _error, _alert, _sysEnter, _information, _i18nBundle, _FeaturesRegistry, _Keys, Filters, _i18nDefaults, _ComboBoxTemplate, _ComboBoxPopoverTemplate, _ComboBox, _ComboBoxPopover, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions, _ComboBoxItem, _Icon, _Popover, _ResponsivePopover, _List, _BusyIndicator, _Button, _StandardListItem, _ComboBoxGroupItem, _GroupHeaderListItem) {
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/property", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/InvisibleMessageMode", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/util/InvisibleMessage", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/not-editable", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/Keys", "./Filters", "./generated/i18n/i18n-defaults", "./generated/templates/ComboBoxTemplate.lit", "./generated/templates/ComboBoxPopoverTemplate.lit", "./generated/themes/ComboBox.css", "./generated/themes/ComboBoxPopover.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css", "./ComboBoxItem", "./Icon", "./Popover", "./ResponsivePopover", "./List", "./BusyIndicator", "./Button", "./StandardListItem", "./ComboBoxGroupItem", "./GroupHeaderListItem", "./types/ComboBoxFilter", "./types/PopoverHorizontalAlign"], function (_exports, _UI5Element, _customElement, _property, _event, _slot, _LitRenderer, _ValueState, _Device, _Integer, _InvisibleMessageMode, _AriaLabelHelper, _InvisibleMessage, _slimArrowDown, _decline, _notEditable, _error, _alert, _sysEnter, _information, _i18nBundle, _FeaturesRegistry, _Keys, Filters, _i18nDefaults, _ComboBoxTemplate, _ComboBoxPopoverTemplate, _ComboBox, _ComboBoxPopover, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions, _ComboBoxItem, _Icon, _Popover, _ResponsivePopover, _List, _BusyIndicator, _Button, _StandardListItem, _ComboBoxGroupItem, _GroupHeaderListItem, _ComboBoxFilter, _PopoverHorizontalAlign) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
@@ -6,9 +6,14 @@ 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
+ _property = _interopRequireDefault(_property);
11
+ _event = _interopRequireDefault(_event);
12
+ _slot = _interopRequireDefault(_slot);
9
13
  _LitRenderer = _interopRequireDefault(_LitRenderer);
10
14
  _ValueState = _interopRequireDefault(_ValueState);
11
15
  _Integer = _interopRequireDefault(_Integer);
16
+ _InvisibleMessageMode = _interopRequireDefault(_InvisibleMessageMode);
12
17
  _InvisibleMessage = _interopRequireDefault(_InvisibleMessage);
13
18
  Filters = _interopRequireWildcard(Filters);
14
19
  _ComboBoxTemplate = _interopRequireDefault(_ComboBoxTemplate);
@@ -28,260 +33,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
28
33
  _StandardListItem = _interopRequireDefault(_StandardListItem);
29
34
  _ComboBoxGroupItem = _interopRequireDefault(_ComboBoxGroupItem);
30
35
  _GroupHeaderListItem = _interopRequireDefault(_GroupHeaderListItem);
36
+ _ComboBoxFilter = _interopRequireDefault(_ComboBoxFilter);
37
+ _PopoverHorizontalAlign = _interopRequireDefault(_PopoverHorizontalAlign);
31
38
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
32
39
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
40
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
34
- // Templates
35
-
36
- // Styles
37
-
38
- /**
39
- * @public
40
- */
41
- const metadata = {
42
- tag: "ui5-combobox",
43
- languageAware: true,
44
- properties: /** @lends sap.ui.webcomponents.main.ComboBox.prototype */{
45
- /**
46
- * Defines the value of the component.
47
- *
48
- * @type {string}
49
- * @defaultvalue ""
50
- * @public
51
- */
52
- value: {
53
- type: String,
54
- defaultValue: ""
55
- },
56
- /**
57
- * Defines the "live" value of the component.
58
- * <br><br>
59
- * <b>Note:</b> If we have an item e.g. "Bulgaria", "B" is typed, "ulgaria" is typed ahead, value will be "Bulgaria", filterValue will be "B".
60
- *
61
- * <br><br>
62
- * <b>Note:</b> Initially the filter value is synced with value.
63
- *
64
- * @type {string}
65
- * @defaultvalue ""
66
- * @private
67
- */
68
- filterValue: {
69
- type: String,
70
- defaultValue: ""
71
- },
72
- /**
73
- * Defines a short hint intended to aid the user with data entry when the
74
- * component has no value.
75
- * @type {string}
76
- * @defaultvalue ""
77
- * @public
78
- */
79
- placeholder: {
80
- type: String,
81
- defaultValue: ""
82
- },
83
- /**
84
- * Defines whether the component is in disabled state.
85
- * <br><br>
86
- * <b>Note:</b> A disabled component is completely noninteractive.
87
- *
88
- * @type {boolean}
89
- * @defaultvalue false
90
- * @public
91
- */
92
- disabled: {
93
- type: Boolean
94
- },
95
- /**
96
- * Defines the value state of the component.
97
- * <br><br>
98
- * Available options are:
99
- * <ul>
100
- * <li><code>None</code></li>
101
- * <li><code>Error</code></li>
102
- * <li><code>Warning</code></li>
103
- * <li><code>Success</code></li>
104
- * <li><code>Information</code></li>
105
- * </ul>
106
- *
107
- * @type {ValueState}
108
- * @defaultvalue "None"
109
- * @public
110
- */
111
- valueState: {
112
- type: _ValueState.default,
113
- defaultValue: _ValueState.default.None
114
- },
115
- /**
116
- * Defines whether the component is read-only.
117
- * <br><br>
118
- * <b>Note:</b> A read-only component is not editable,
119
- * but still provides visual feedback upon user interaction.
120
- *
121
- * @type {boolean}
122
- * @defaultvalue false
123
- * @public
124
- */
125
- readonly: {
126
- type: Boolean
127
- },
128
- /**
129
- * Defines whether the component is required.
130
- *
131
- * @type {boolean}
132
- * @defaultvalue false
133
- * @public
134
- */
135
- required: {
136
- type: Boolean
137
- },
138
- /**
139
- * Indicates whether a loading indicator should be shown in the picker.
140
- *
141
- * @type {boolean}
142
- * @defaultvalue false
143
- * @public
144
- */
145
- loading: {
146
- type: Boolean
147
- },
148
- /**
149
- * Defines the filter type of the component.
150
- * Available options are: <code>StartsWithPerTerm</code>, <code>StartsWith</code> and <code>Contains</code>.
151
- *
152
- * @type {string}
153
- * @defaultvalue "StartsWithPerTerm"
154
- * @public
155
- */
156
- filter: {
157
- type: String,
158
- defaultValue: "StartsWithPerTerm"
159
- },
160
- /**
161
- * Indicates whether the input is focssed
162
- * @private
163
- */
164
- focused: {
165
- type: Boolean
166
- },
167
- /**
168
- * Indicates whether the visual focus is on the value state header
169
- * @private
170
- */
171
- _isValueStateFocused: {
172
- type: Boolean
173
- },
174
- /**
175
- * Defines the accessible aria name of the component.
176
- *
177
- * @type {string}
178
- * @defaultvalue: ""
179
- * @public
180
- * @since 1.0.0-rc.15
181
- */
182
- accessibleName: {
183
- type: String,
184
- defaultValue: undefined
185
- },
186
- /**
187
- * Receives id(or many ids) of the elements that label the component
188
- * @type {string}
189
- * @defaultvalue ""
190
- * @public
191
- * @since 1.0.0-rc.15
192
- */
193
- accessibleNameRef: {
194
- type: String,
195
- defaultValue: ""
196
- },
197
- _iconPressed: {
198
- type: Boolean,
199
- noAttribute: true
200
- },
201
- _filteredItems: {
202
- type: Object
203
- },
204
- _listWidth: {
205
- type: _Integer.default,
206
- defaultValue: 0,
207
- noAttribute: true
208
- }
209
- },
210
- managedSlots: true,
211
- slots: /** @lends sap.ui.webcomponents.main.ComboBox.prototype */{
212
- /**
213
- * Defines the component items.
214
- *
215
- * @type {sap.ui.webcomponents.main.IComboBoxItem[]}
216
- * @slot items
217
- * @public
218
- */
219
- "default": {
220
- propertyName: "items",
221
- type: HTMLElement,
222
- invalidateOnChildChange: true
223
- },
224
- /**
225
- * Defines the value state message that will be displayed as pop up under the component.
226
- * <br><br>
227
- *
228
- * <b>Note:</b> If not specified, a default text (in the respective language) will be displayed.
229
- * <br>
230
- * <b>Note:</b> The <code>valueStateMessage</code> would be displayed,
231
- * when the <code>ui5-combobox</code> is in <code>Information</code>, <code>Warning</code> or <code>Error</code> value state.
232
- * @type {HTMLElement[]}
233
- * @since 1.0.0-rc.9
234
- * @slot
235
- * @public
236
- */
237
- valueStateMessage: {
238
- type: HTMLElement
239
- },
240
- /**
241
- * Defines the icon to be displayed in the input field.
242
- *
243
- * @type {sap.ui.webcomponents.main.IIcon}
244
- * @slot
245
- * @public
246
- * @since 1.0.0-rc.9
247
- */
248
- icon: {
249
- type: HTMLElement
250
- }
251
- },
252
- events: /** @lends sap.ui.webcomponents.main.ComboBox.prototype */{
253
- /**
254
- * Fired when the input operation has finished by pressing Enter, focusout or an item is selected.
255
- *
256
- * @event
257
- * @public
258
- */
259
- change: {},
260
- /**
261
- * Fired when typing in input.
262
- * <br><br>
263
- * <b>Note:</b> filterValue property is updated, input is changed.
264
- * @event
265
- * @public
266
- */
267
- input: {},
268
- /**
269
- * Fired when selection is changed by user interaction
270
- *
271
- * @event sap.ui.webcomponents.main.ComboBox#selection-change
272
- * @param {HTMLElement} item item to be selected.
273
- * @public
274
- */
275
- "selection-change": {
276
- detail: {
277
- item: {
278
- type: HTMLElement
279
- }
280
- }
281
- }
282
- }
41
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
42
+ var c = arguments.length,
43
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
44
+ d;
45
+ 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;
46
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
283
47
  };
284
-
48
+ var ComboBox_1;
49
+ const SKIP_ITEMS_SIZE = 10;
50
+ var ValueStateIconMapping;
51
+ (function (ValueStateIconMapping) {
52
+ ValueStateIconMapping["Error"] = "error";
53
+ ValueStateIconMapping["Warning"] = "alert";
54
+ ValueStateIconMapping["Success"] = "sys-enter-2";
55
+ ValueStateIconMapping["Information"] = "information";
56
+ })(ValueStateIconMapping || (ValueStateIconMapping = {}));
285
57
  /**
286
58
  * @class
287
59
  *
@@ -293,8 +65,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
293
65
  *
294
66
  * <h3>Structure</h3>
295
67
  * The <code>ui5-combobox</code> consists of the following elements:
68
+ *
296
69
  * <ul>
297
- * <li> Input field - displays the selected option or a custom user entry. Users can type to narrow down the list or enter their own value.
70
+ * <li> Input field - displays the selected option or a custom user entry. Users can type to narrow down the list or enter their own value.</li>
298
71
  * <li> Drop-down arrow - expands\collapses the option list.</li>
299
72
  * <li> Option list - the list of available options.</li>
300
73
  * </ul>
@@ -324,90 +97,81 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
324
97
  *
325
98
  * @constructor
326
99
  * @author SAP SE
327
- * @alias sap.ui.webcomponents.main.ComboBox
328
- * @extends UI5Element
100
+ * @alias sap.ui.webc.main.ComboBox
101
+ * @extends sap.ui.webc.base.UI5Element
329
102
  * @tagname ui5-combobox
330
- * @appenddocs ComboBoxItem ComboBoxGroupItem
103
+ * @appenddocs sap.ui.webc.main.ComboBoxItem sap.ui.webc.main.ComboBoxGroupItem
331
104
  * @public
332
105
  * @since 1.0.0-rc.6
333
106
  */
334
- class ComboBox extends _UI5Element.default {
335
- static get metadata() {
336
- return metadata;
337
- }
338
- static get render() {
339
- return _LitRenderer.default;
340
- }
341
- static get styles() {
342
- return _ComboBox.default;
343
- }
344
- static get staticAreaStyles() {
345
- return [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _ComboBoxPopover.default, _Suggestions.default];
346
- }
347
- static get template() {
348
- return _ComboBoxTemplate.default;
349
- }
350
- static get staticAreaTemplate() {
351
- return _ComboBoxPopoverTemplate.default;
352
- }
353
- constructor(props) {
354
- super(props);
107
+ let ComboBox = ComboBox_1 = class ComboBox extends _UI5Element.default {
108
+ constructor() {
109
+ super();
355
110
  this._filteredItems = [];
356
111
  this._initialRendering = true;
357
112
  this._itemFocused = false;
358
- this._selectionChanged = false;
359
- this.FormSupport = undefined;
113
+ this._autocomplete = false;
114
+ this._isKeyNavigation = false;
115
+ this._lastValue = "";
116
+ this._selectionPerformed = false;
117
+ this._selectedItemText = "";
118
+ this._userTypedValue = "";
360
119
  }
361
120
  onBeforeRendering() {
121
+ const popover = this.valueStatePopover;
362
122
  this.FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
363
- if (this._initialRendering) {
123
+ if (this._initialRendering || this.filter === "None") {
364
124
  this._filteredItems = this.items;
365
125
  }
366
- if (!this._initialRendering && this.popover && document.activeElement === this && !this._filteredItems.length) {
367
- this.popover.close();
126
+ if (!this._initialRendering && document.activeElement === this && !this._filteredItems.length) {
127
+ popover?.close();
368
128
  }
369
129
  this._selectMatchingItem();
370
130
  this._initialRendering = false;
131
+ const slottedIconsCount = this.icon.length || 0;
132
+ const arrowDownIconsCount = this.readonly ? 0 : 1;
133
+ this.style.setProperty("--_ui5-input-icons-count", `${slottedIconsCount + arrowDownIconsCount}`);
371
134
  }
372
135
  async onAfterRendering() {
373
- await this._respPopover();
374
- if ((0, _Device.isPhone)() && this.responsivePopover.opened) {
136
+ const picker = await this._getPicker();
137
+ if ((0, _Device.isPhone)() && picker.opened) {
375
138
  // Set initial focus to the native input
376
139
  this.inner.focus();
377
140
  }
378
- if (this.shouldClosePopover() && !(0, _Device.isPhone)()) {
379
- this.responsivePopover.close(false, false, true);
141
+ if ((await this.shouldClosePopover()) && !(0, _Device.isPhone)()) {
142
+ picker.close(false, false, true);
380
143
  this._clearFocus();
381
144
  this._itemFocused = false;
382
145
  }
383
146
  this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover);
384
147
  this.storeResponsivePopoverWidth();
385
-
386
148
  // Safari is quite slow and does not preserve text highlighting on control rerendering.
387
149
  // That's why we need to restore it "manually".
388
150
  if ((0, _Device.isSafari)() && this._autocomplete && this.filterValue !== this.value) {
389
151
  this.inner.setSelectionRange(this._isKeyNavigation ? 0 : this.filterValue.length, this.value.length);
390
152
  }
391
153
  }
392
- shouldClosePopover() {
393
- return this.responsivePopover.opened && !this.focused && !this._itemFocused && !this._isValueStateFocused;
154
+ async shouldClosePopover() {
155
+ const popover = await this._getPicker();
156
+ return popover.opened && !this.focused && !this._itemFocused && !this._isValueStateFocused;
394
157
  }
395
- _focusin(event) {
158
+ _focusin(e) {
396
159
  this.focused = true;
397
160
  this._lastValue = this.value;
398
161
  this._autocomplete = false;
399
- !(0, _Device.isPhone)() && event.target.setSelectionRange(0, this.value.length);
162
+ !(0, _Device.isPhone)() && e.target.setSelectionRange(0, this.value.length);
400
163
  }
401
- _focusout(event) {
402
- const focusedOutToValueStateMessage = event.relatedTarget && event.relatedTarget.shadowRoot && event.relatedTarget.shadowRoot.querySelector(".ui5-valuestatemessage-root");
164
+ _focusout(e) {
165
+ const toBeFocused = e.relatedTarget;
166
+ const focusedOutToValueStateMessage = toBeFocused?.shadowRoot?.querySelector(".ui5-valuestatemessage-root");
403
167
  this._fireChangeEvent();
404
168
  if (focusedOutToValueStateMessage) {
405
- event.stopImmediatePropagation();
169
+ e.stopImmediatePropagation();
406
170
  return;
407
171
  }
408
- if (!this.shadowRoot.contains(event.relatedTarget) && this.staticAreaItem !== event.relatedTarget) {
172
+ if (!this.shadowRoot.contains(toBeFocused) && this.staticAreaItem !== e.relatedTarget) {
409
173
  this.focused = false;
410
- !(0, _Device.isPhone)() && this._closeRespPopover(event);
174
+ !(0, _Device.isPhone)() && this._closeRespPopover(e);
411
175
  }
412
176
  }
413
177
  _afterOpenPopover() {
@@ -416,7 +180,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
416
180
  _afterClosePopover() {
417
181
  this._iconPressed = false;
418
182
  this._filteredItems = this.items;
419
-
420
183
  // close device's keyboard and prevent further typing
421
184
  if ((0, _Device.isPhone)()) {
422
185
  this.blur();
@@ -426,16 +189,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
426
189
  this._selectionPerformed = false;
427
190
  }
428
191
  }
429
- _toggleRespPopover() {
430
- if (this.responsivePopover.opened) {
192
+ async _toggleRespPopover() {
193
+ const picker = await this._getPicker();
194
+ if (picker.opened) {
431
195
  this._closeRespPopover();
432
196
  } else {
433
197
  this._openRespPopover();
434
198
  }
435
199
  }
436
- storeResponsivePopoverWidth() {
200
+ async storeResponsivePopoverWidth() {
437
201
  if (this.open && !this._listWidth) {
438
- this._listWidth = this.responsivePopover.offsetWidth;
202
+ this._listWidth = (await this._getPicker()).offsetWidth;
439
203
  }
440
204
  }
441
205
  toggleValueStatePopover(open) {
@@ -446,19 +210,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
446
210
  }
447
211
  }
448
212
  async openValueStatePopover() {
449
- this.popover = await this._getPopover();
450
- this.popover && this.popover.showAt(this);
213
+ (await this._getValueStatePopover())?.showAt(this);
451
214
  }
452
215
  async closeValueStatePopover() {
453
- this.popover = await this._getPopover();
454
- this.popover && this.popover.close();
216
+ (await this._getValueStatePopover())?.close();
455
217
  }
456
- async _getPopover() {
218
+ async _getValueStatePopover() {
457
219
  const staticAreaItem = await this.getStaticAreaItemDomRef();
458
- return staticAreaItem.querySelector(".ui5-valuestatemessage-popover");
220
+ const popover = staticAreaItem.querySelector(".ui5-valuestatemessage-popover");
221
+ // backward compatibility
222
+ // rework all methods to work with async getters
223
+ this.valueStatePopover = popover;
224
+ return popover;
459
225
  }
460
226
  _resetFilter() {
461
- this._userTypedValue = null;
227
+ this._userTypedValue = "";
462
228
  this.inner.setSelectionRange(0, this.value.length);
463
229
  this._filteredItems = this._filterItems("");
464
230
  this._selectMatchingItem();
@@ -466,15 +232,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
466
232
  _arrowClick() {
467
233
  this.inner.focus();
468
234
  this._resetFilter();
235
+ if ((0, _Device.isPhone)() && this.value && !this._lastValue) {
236
+ this._lastValue = this.value;
237
+ }
469
238
  this._toggleRespPopover();
470
239
  }
471
- _input(event) {
240
+ _input(e) {
472
241
  const {
473
242
  value
474
- } = event.target;
475
- if (event.target === this.inner) {
243
+ } = e.target;
244
+ const shouldAutocomplete = this.shouldAutocomplete(e);
245
+ if (e.target === this.inner) {
476
246
  // stop the native event, as the semantic "input" would be fired.
477
- event.stopImmediatePropagation();
247
+ e.stopImmediatePropagation();
478
248
  this.focused = true;
479
249
  this._isValueStateFocused = false;
480
250
  }
@@ -482,16 +252,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
482
252
  this.value = value;
483
253
  this.filterValue = value;
484
254
  this._clearFocus();
485
-
486
255
  // autocomplete
487
- if (this._autocomplete && !(0, _Device.isAndroid)()) {
256
+ if (shouldAutocomplete && !(0, _Device.isAndroid)()) {
488
257
  const item = this._getFirstMatchingItem(value);
489
- this._applyAtomicValueAndSelection(item, value, true);
490
- if (value !== "" && !this._selectionChanged && item && !item.selected && !item.isGroupItem) {
258
+ item && this._applyAtomicValueAndSelection(item, value, true);
259
+ if (value !== "" && item && !item.selected && !item.isGroupItem) {
491
260
  this.fireEvent("selection-change", {
492
261
  item
493
262
  });
494
- this._selectionChanged = false;
495
263
  }
496
264
  }
497
265
  this.fireEvent("input");
@@ -504,6 +272,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
504
272
  this._openRespPopover();
505
273
  }
506
274
  }
275
+ shouldAutocomplete(e) {
276
+ const eventType = e.inputType;
277
+ const allowedEventTypes = ["deleteWordBackward", "deleteWordForward", "deleteSoftLineBackward", "deleteSoftLineForward", "deleteEntireSoftLine", "deleteHardLineBackward", "deleteHardLineForward", "deleteByDrag", "deleteByCut", "deleteContent", "deleteContentBackward", "deleteContentForward", "historyUndo"];
278
+ return !allowedEventTypes.includes(eventType);
279
+ }
507
280
  _startsWithMatchingItems(str) {
508
281
  return Filters.StartsWith(str, this._filteredItems, "text");
509
282
  }
@@ -513,26 +286,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
513
286
  return item;
514
287
  });
515
288
  }
516
- handleNavKeyPress(event) {
517
- if (this.focused && ((0, _Keys.isHome)(event) || (0, _Keys.isEnd)(event)) && this.value) {
289
+ handleNavKeyPress(e) {
290
+ if (this.focused && ((0, _Keys.isHome)(e) || (0, _Keys.isEnd)(e)) && this.value) {
518
291
  return;
519
292
  }
520
293
  const isOpen = this.open;
521
294
  const currentItem = this._filteredItems.find(item => {
522
295
  return isOpen ? item.focused : item.selected;
523
296
  });
524
- const indexOfItem = this._filteredItems.indexOf(currentItem);
525
- event.preventDefault();
526
- if (this.focused && isOpen && ((0, _Keys.isUp)(event) || (0, _Keys.isPageUp)(event) || (0, _Keys.isPageDown)(event))) {
297
+ const indexOfItem = currentItem ? this._filteredItems.indexOf(currentItem) : -1;
298
+ e.preventDefault();
299
+ if (this.focused && isOpen && ((0, _Keys.isUp)(e) || (0, _Keys.isPageUp)(e) || (0, _Keys.isPageDown)(e))) {
527
300
  return;
528
301
  }
529
- if (this._filteredItems.length - 1 === indexOfItem && (0, _Keys.isDown)(event)) {
302
+ if (this._filteredItems.length - 1 === indexOfItem && (0, _Keys.isDown)(e)) {
530
303
  return;
531
304
  }
532
305
  this._isKeyNavigation = true;
533
- this[`_handle${event.key}`](event, indexOfItem);
306
+ if (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "PageUp" || e.key === "PageDown" || e.key === "Home" || e.key === "End") {
307
+ this[`_handle${e.key}`](e, indexOfItem);
308
+ }
534
309
  }
535
- _handleItemNavigation(event, indexOfItem, isForward) {
310
+ _handleItemNavigation(e, indexOfItem, isForward) {
536
311
  const isOpen = this.open;
537
312
  const currentItem = this._filteredItems[indexOfItem];
538
313
  const nextItem = isForward ? this._filteredItems[indexOfItem + 1] : this._filteredItems[indexOfItem - 1];
@@ -552,15 +327,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
552
327
  currentItem.focused = false;
553
328
  }
554
329
  this._isValueStateFocused = false;
555
- this._selectionChanged = true;
330
+ this._announceSelectedItem(indexOfItem);
556
331
  if (isGroupItem && isOpen) {
557
332
  return;
558
333
  }
559
- this._announceSelectedItem(indexOfItem);
560
-
561
334
  // autocomplete
562
335
  const item = this._getFirstMatchingItem(this.value);
563
- this._applyAtomicValueAndSelection(item, this.open ? this._userTypedValue : null, true);
336
+ item && this._applyAtomicValueAndSelection(item, this.open ? this._userTypedValue : "", true);
564
337
  if (item && !item.selected) {
565
338
  this.fireEvent("selection-change", {
566
339
  item
@@ -569,7 +342,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
569
342
  this.fireEvent("input");
570
343
  this._fireChangeEvent();
571
344
  }
572
- _handleArrowDown(event, indexOfItem) {
345
+ _handleArrowDown(e, indexOfItem) {
573
346
  const isOpen = this.open;
574
347
  if (this.focused && indexOfItem === -1 && this.hasValueStateText && isOpen) {
575
348
  this._isValueStateFocused = true;
@@ -577,10 +350,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
577
350
  return;
578
351
  }
579
352
  indexOfItem = !isOpen && this.hasValueState && indexOfItem === -1 ? 0 : indexOfItem;
580
- this._handleItemNavigation(event, ++indexOfItem, true /* isForward */);
353
+ this._handleItemNavigation(e, ++indexOfItem, true /* isForward */);
581
354
  }
582
355
 
583
- _handleArrowUp(event, indexOfItem) {
356
+ _handleArrowUp(e, indexOfItem) {
584
357
  const isOpen = this.open;
585
358
  if (indexOfItem === 0 && !this.hasValueStateText) {
586
359
  this._clearFocus();
@@ -601,12 +374,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
601
374
  return;
602
375
  }
603
376
  indexOfItem = !isOpen && this.hasValueState && indexOfItem === -1 ? 0 : indexOfItem;
604
- this._handleItemNavigation(event, --indexOfItem, false /* isForward */);
377
+ this._handleItemNavigation(e, --indexOfItem, false /* isForward */);
605
378
  }
606
379
 
607
- _handlePageUp(event, indexOfItem) {
608
- const isProposedIndexValid = indexOfItem - ComboBox.SKIP_ITEMS_SIZE > -1;
609
- indexOfItem = isProposedIndexValid ? indexOfItem - ComboBox.SKIP_ITEMS_SIZE : 0;
380
+ _handlePageUp(e, indexOfItem) {
381
+ const isProposedIndexValid = indexOfItem - SKIP_ITEMS_SIZE > -1;
382
+ indexOfItem = isProposedIndexValid ? indexOfItem - SKIP_ITEMS_SIZE : 0;
610
383
  const shouldMoveForward = this._filteredItems[indexOfItem].isGroupItem && !this.open;
611
384
  if (!isProposedIndexValid && this.hasValueStateText && this.open) {
612
385
  this._clearFocus();
@@ -614,16 +387,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
614
387
  this._isValueStateFocused = true;
615
388
  return;
616
389
  }
617
- this._handleItemNavigation(event, indexOfItem, shouldMoveForward);
390
+ this._handleItemNavigation(e, indexOfItem, shouldMoveForward);
618
391
  }
619
- _handlePageDown(event, indexOfItem) {
392
+ _handlePageDown(e, indexOfItem) {
620
393
  const itemsLength = this._filteredItems.length;
621
- const isProposedIndexValid = indexOfItem + ComboBox.SKIP_ITEMS_SIZE < itemsLength;
622
- indexOfItem = isProposedIndexValid ? indexOfItem + ComboBox.SKIP_ITEMS_SIZE : itemsLength - 1;
394
+ const isProposedIndexValid = indexOfItem + SKIP_ITEMS_SIZE < itemsLength;
395
+ indexOfItem = isProposedIndexValid ? indexOfItem + SKIP_ITEMS_SIZE : itemsLength - 1;
623
396
  const shouldMoveForward = this._filteredItems[indexOfItem].isGroupItem && !this.open;
624
- this._handleItemNavigation(event, indexOfItem, shouldMoveForward);
397
+ this._handleItemNavigation(e, indexOfItem, shouldMoveForward);
625
398
  }
626
- _handleHome(event, indexOfItem) {
399
+ _handleHome(e) {
627
400
  const shouldMoveForward = this._filteredItems[0].isGroupItem && !this.open;
628
401
  if (this.hasValueStateText && this.open) {
629
402
  this._clearFocus();
@@ -631,41 +404,42 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
631
404
  this._isValueStateFocused = true;
632
405
  return;
633
406
  }
634
- this._handleItemNavigation(event, indexOfItem = 0, shouldMoveForward);
407
+ this._handleItemNavigation(e, 0, shouldMoveForward);
635
408
  }
636
- _handleEnd(event, indexOfItem) {
637
- this._handleItemNavigation(event, indexOfItem = this._filteredItems.length - 1, true /* isForward */);
409
+ _handleEnd(e) {
410
+ this._handleItemNavigation(e, this._filteredItems.length - 1, true /* isForward */);
638
411
  }
639
412
 
640
- _keyup(event) {
641
- this._userTypedValue = this.value.substring(0, this.inner.selectionStart);
413
+ _keyup() {
414
+ this._userTypedValue = this.value.substring(0, this.inner.selectionStart || 0);
642
415
  }
643
- _keydown(event) {
644
- const isNavKey = (0, _Keys.isDown)(event) || (0, _Keys.isUp)(event) || (0, _Keys.isPageUp)(event) || (0, _Keys.isPageDown)(event) || (0, _Keys.isHome)(event) || (0, _Keys.isEnd)(event);
645
- this._autocomplete = !((0, _Keys.isBackSpace)(event) || (0, _Keys.isDelete)(event));
416
+ _keydown(e) {
417
+ const isNavKey = (0, _Keys.isDown)(e) || (0, _Keys.isUp)(e) || (0, _Keys.isPageUp)(e) || (0, _Keys.isPageDown)(e) || (0, _Keys.isHome)(e) || (0, _Keys.isEnd)(e);
418
+ const picker = this.responsivePopover;
419
+ this._autocomplete = !((0, _Keys.isBackSpace)(e) || (0, _Keys.isDelete)(e));
646
420
  this._isKeyNavigation = false;
647
421
  if (isNavKey && !this.readonly && this._filteredItems.length) {
648
- this.handleNavKeyPress(event);
422
+ this.handleNavKeyPress(e);
649
423
  }
650
- if ((0, _Keys.isEnter)(event)) {
424
+ if ((0, _Keys.isEnter)(e)) {
651
425
  this._fireChangeEvent();
652
- if (this.responsivePopover.opened) {
426
+ if (picker?.opened) {
653
427
  this._closeRespPopover();
654
428
  this.focused = true;
655
429
  } else if (this.FormSupport) {
656
430
  this.FormSupport.triggerFormSubmit(this);
657
431
  }
658
432
  }
659
- if ((0, _Keys.isEscape)(event)) {
433
+ if ((0, _Keys.isEscape)(e)) {
660
434
  this.focused = true;
661
435
  this.value = !this.open ? this._lastValue : this.value;
662
436
  this._isValueStateFocused = false;
663
437
  }
664
- if (((0, _Keys.isTabNext)(event) || (0, _Keys.isTabPrevious)(event)) && this.open) {
438
+ if (((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e)) && this.open) {
665
439
  this._closeRespPopover();
666
440
  }
667
- if ((0, _Keys.isShow)(event) && !this.readonly && !this.disabled) {
668
- event.preventDefault();
441
+ if ((0, _Keys.isShow)(e) && !this.readonly && !this.disabled) {
442
+ e.preventDefault();
669
443
  this._resetFilter();
670
444
  this._toggleRespPopover();
671
445
  const selectedItem = this._filteredItems.find(item => {
@@ -677,37 +451,43 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
677
451
  this.focused = false;
678
452
  } else if (this.open && this._filteredItems.length) {
679
453
  // If no item is selected, select the first one on "Show" (F4, Alt+Up/Down)
680
- this._handleItemNavigation(event, 0, true /* isForward */);
454
+ this._handleItemNavigation(e, 0, true /* isForward */);
681
455
  } else {
682
456
  this.focused = true;
683
457
  }
684
458
  }
685
459
  }
686
- _click(event) {
460
+ _click() {
687
461
  if ((0, _Device.isPhone)() && !this.readonly) {
688
462
  this._openRespPopover();
689
463
  }
690
464
  }
691
- _closeRespPopover(event) {
692
- if ((0, _Device.isPhone)() && event && event.target.classList.contains("ui5-responsive-popover-close-btn") && this._selectedItemText) {
465
+ _closeRespPopover(e) {
466
+ const picker = this.responsivePopover;
467
+ if (e && e.target.classList.contains("ui5-responsive-popover-close-btn") && this._selectedItemText) {
693
468
  this.value = this._selectedItemText;
694
469
  this.filterValue = this._selectedItemText;
695
470
  }
471
+ if (e && e.target.classList.contains("ui5-responsive-popover-close-btn")) {
472
+ this.value = this._lastValue || "";
473
+ this.filterValue = this._lastValue || "";
474
+ }
475
+ if ((0, _Device.isPhone)()) {
476
+ this._fireChangeEvent();
477
+ }
696
478
  this._isValueStateFocused = false;
697
479
  this._clearFocus();
698
- this.responsivePopover.close();
480
+ picker?.close();
699
481
  }
700
- _openRespPopover() {
701
- this.responsivePopover.showAt(this);
482
+ async _openRespPopover() {
483
+ (await this._getPicker()).showAt(this);
702
484
  }
703
485
  _filterItems(str) {
704
486
  const itemsToFilter = this.items.filter(item => !item.isGroupItem);
705
487
  const filteredItems = (Filters[this.filter] || Filters.StartsWithPerTerm)(str, itemsToFilter, "text");
706
-
707
488
  // Return the filtered items and their group items
708
- return this.items.filter((item, idx, allItems) => ComboBox._groupItemFilter(item, ++idx, allItems, filteredItems) || filteredItems.indexOf(item) !== -1);
489
+ return this.items.filter((item, idx, allItems) => ComboBox_1._groupItemFilter(item, ++idx, allItems, filteredItems) || filteredItems.indexOf(item) !== -1);
709
490
  }
710
-
711
491
  /**
712
492
  * Returns true if the group header should be shown (if there is a filtered suggestion item for this group item)
713
493
  *
@@ -725,7 +505,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
725
505
  }
726
506
  _getFirstMatchingItem(current) {
727
507
  const currentlyFocusedItem = this.items.find(item => item.focused === true);
728
- if (currentlyFocusedItem && currentlyFocusedItem.isGroupItem) {
508
+ if (currentlyFocusedItem?.isGroupItem) {
729
509
  this.value = this.filterValue;
730
510
  return;
731
511
  }
@@ -735,13 +515,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
735
515
  }
736
516
  }
737
517
  _applyAtomicValueAndSelection(item, filterValue, highlightValue) {
738
- if (!item) {
739
- return;
740
- }
741
518
  const value = item && item.text || "";
742
519
  this.inner.value = value;
743
520
  if (highlightValue) {
744
- filterValue = filterValue || "";
745
521
  this.inner.setSelectionRange(filterValue.length, value.length);
746
522
  }
747
523
  this.value = value;
@@ -760,14 +536,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
760
536
  this._lastValue = this.value;
761
537
  }
762
538
  }
763
- _inputChange(event) {
764
- event.preventDefault();
539
+ _inputChange(e) {
540
+ e.preventDefault();
765
541
  }
766
- _itemMousedown(event) {
767
- event.preventDefault();
542
+ _itemMousedown(e) {
543
+ e.preventDefault();
768
544
  }
769
- _selectItem(event) {
770
- const listItem = event.detail.item;
545
+ _selectItem(e) {
546
+ const listItem = e.detail.item;
771
547
  this._selectedItemText = listItem.mappedItem.text;
772
548
  this._selectionPerformed = true;
773
549
  const sameItemSelected = this.value === this._selectedItemText;
@@ -781,7 +557,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
781
557
  this.fireEvent("selection-change", {
782
558
  item: listItem.mappedItem
783
559
  });
784
- this._selectionChanged = true;
785
560
  }
786
561
  this._filteredItems.map(item => {
787
562
  item.selected = item === listItem.mappedItem && !item.isGroupItem;
@@ -789,34 +564,40 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
789
564
  });
790
565
  this._fireChangeEvent();
791
566
  this._closeRespPopover();
792
-
793
567
  // reset selection
794
568
  this.inner.setSelectionRange(this.value.length, this.value.length);
795
569
  }
796
- _onItemFocus(event) {
570
+ _onItemFocus() {
797
571
  this._itemFocused = true;
798
572
  }
799
573
  _announceSelectedItem(indexOfItem) {
800
- const itemPositionText = ComboBox.i18nBundle.getText(_i18nDefaults.LIST_ITEM_POSITION, indexOfItem + 1, this._filteredItems.length);
801
- const itemSelectionText = ComboBox.i18nBundle.getText(_i18nDefaults.LIST_ITEM_SELECTED);
802
- (0, _InvisibleMessage.default)(`${itemPositionText} ${itemSelectionText}`, "Polite");
574
+ const currentItem = this._filteredItems[indexOfItem];
575
+ const currentItemAdditionalText = currentItem.additionalText || "";
576
+ const isGroupItem = currentItem?.isGroupItem;
577
+ const itemPositionText = ComboBox_1.i18nBundle.getText(_i18nDefaults.LIST_ITEM_POSITION, indexOfItem + 1, this._filteredItems.length);
578
+ const groupHeaderText = ComboBox_1.i18nBundle.getText(_i18nDefaults.LIST_ITEM_GROUP_HEADER);
579
+ if (isGroupItem) {
580
+ (0, _InvisibleMessage.default)(`${groupHeaderText} ${currentItem.text} ${itemPositionText}`, _InvisibleMessageMode.default.Polite);
581
+ } else {
582
+ (0, _InvisibleMessage.default)(`${currentItemAdditionalText} ${itemPositionText}`.trim(), _InvisibleMessageMode.default.Polite);
583
+ }
803
584
  }
804
585
  get _headerTitleText() {
805
- return ComboBox.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
586
+ return ComboBox_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
806
587
  }
807
588
  get _iconAccessibleNameText() {
808
- return ComboBox.i18nBundle.getText(_i18nDefaults.SELECT_OPTIONS);
589
+ return ComboBox_1.i18nBundle.getText(_i18nDefaults.SELECT_OPTIONS);
809
590
  }
810
591
  get inner() {
811
592
  return (0, _Device.isPhone)() ? this.responsivePopover.querySelector(".ui5-input-inner-phone") : this.shadowRoot.querySelector("[inner-input]");
812
593
  }
813
- async _respPopover() {
594
+ async _getPicker() {
814
595
  const staticAreaItem = await this.getStaticAreaItemDomRef();
815
- this.responsivePopover = staticAreaItem.querySelector("[ui5-responsive-popover]");
816
- return this.responsivePopover;
817
- }
818
- get editable() {
819
- return !this.readonly;
596
+ const picker = staticAreaItem.querySelector("[ui5-responsive-popover]");
597
+ // backward compatibility
598
+ // rework all methods to work with async getters
599
+ this.responsivePopover = picker;
600
+ return picker;
820
601
  }
821
602
  get hasValueState() {
822
603
  return this.valueState !== _ValueState.default.None;
@@ -824,21 +605,42 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
824
605
  get hasValueStateText() {
825
606
  return this.hasValueState && this.valueState !== _ValueState.default.Success;
826
607
  }
827
- get valueStateText() {
608
+ get ariaValueStateHiddenText() {
609
+ if (!this.hasValueState) {
610
+ return "";
611
+ }
612
+ let text = "";
613
+ if (this.valueState !== _ValueState.default.None) {
614
+ text = this.valueStateTypeMappings[this.valueState];
615
+ }
616
+ if (this.shouldDisplayDefaultValueStateMessage) {
617
+ return `${text} ${this.valueStateDefaultText || ""}`;
618
+ }
619
+ return `${text}`.concat(" ", this.valueStateMessageText.map(el => el.textContent).join(" "));
620
+ }
621
+ get valueStateDefaultText() {
622
+ if (this.valueState === _ValueState.default.None) {
623
+ return;
624
+ }
828
625
  return this.valueStateTextMappings[this.valueState];
829
626
  }
830
627
  get valueStateMessageText() {
831
628
  return this.getSlottedNodes("valueStateMessage").map(el => el.cloneNode(true));
832
629
  }
833
- get valueStateTextId() {
834
- return this.hasValueState ? `${this._id}-valueStateDesc` : undefined;
835
- }
836
630
  get valueStateTextMappings() {
837
631
  return {
838
- "Success": ComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
839
- "Error": ComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
840
- "Warning": ComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING),
841
- "Information": ComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
632
+ [_ValueState.default.Success]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
633
+ [_ValueState.default.Error]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
634
+ [_ValueState.default.Warning]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING),
635
+ [_ValueState.default.Information]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
636
+ };
637
+ }
638
+ get valueStateTypeMappings() {
639
+ return {
640
+ [_ValueState.default.Success]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_SUCCESS),
641
+ [_ValueState.default.Information]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_INFORMATION),
642
+ [_ValueState.default.Error]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_ERROR),
643
+ [_ValueState.default.Warning]: ComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_WARNING)
842
644
  };
843
645
  }
844
646
  get shouldOpenValueStateMessagePopover() {
@@ -848,23 +650,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
848
650
  return !this.valueStateMessage.length && this.hasValueStateText;
849
651
  }
850
652
  get _valueStatePopoverHorizontalAlign() {
851
- return this.effectiveDir !== "rtl" ? "Left" : "Right";
653
+ return this.effectiveDir !== "rtl" ? _PopoverHorizontalAlign.default.Left : _PopoverHorizontalAlign.default.Right;
852
654
  }
853
-
854
655
  /**
855
656
  * This method is relevant for sap_horizon theme only
856
657
  */
857
658
  get _valueStateMessageIcon() {
858
- const iconPerValueState = {
859
- Error: "error",
860
- Warning: "alert",
861
- Success: "sys-enter-2",
862
- Information: "information"
863
- };
864
- return this.valueState !== _ValueState.default.None ? iconPerValueState[this.valueState] : "";
659
+ return this.valueState !== _ValueState.default.None ? ValueStateIconMapping[this.valueState] : "";
865
660
  }
866
661
  get open() {
867
- return this.responsivePopover ? this.responsivePopover.opened : false;
662
+ return this?.responsivePopover?.opened || false;
868
663
  }
869
664
  get _isPhone() {
870
665
  return (0, _Device.isPhone)();
@@ -875,11 +670,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
875
670
  get ariaLabelText() {
876
671
  return (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this);
877
672
  }
878
- static get dependencies() {
879
- return [_ComboBoxItem.default, _Icon.default, _ResponsivePopover.default, _List.default, _BusyIndicator.default, _Button.default, _StandardListItem.default, _GroupHeaderListItem.default, _Popover.default, _ComboBoxGroupItem.default];
880
- }
881
673
  static async onDefine() {
882
- ComboBox.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
674
+ ComboBox_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
883
675
  }
884
676
  get styles() {
885
677
  const remSizeInPx = parseInt(getComputedStyle(document.documentElement).fontSize);
@@ -889,10 +681,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
889
681
  },
890
682
  suggestionPopoverHeader: {
891
683
  "display": this._listWidth === 0 ? "none" : "inline-block",
892
- "width": `${this._listWidth}px`
684
+ "width": `${this._listWidth || ""}px`
893
685
  },
894
686
  suggestionsPopover: {
895
- "min-width": `${this.offsetWidth}px`,
687
+ "min-width": `${this.offsetWidth || 0}px`,
896
688
  "max-width": this.offsetWidth / remSizeInPx > 40 ? `${this.offsetWidth}px` : "40rem"
897
689
  }
898
690
  };
@@ -900,8 +692,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
900
692
  get classes() {
901
693
  return {
902
694
  popover: {
903
- "ui5-suggestions-popover": !this.isPhone,
904
- "ui5-suggestions-popover-with-value-state-header": !this.isPhone && this.hasValueStateText
695
+ "ui5-suggestions-popover": !this._isPhone,
696
+ "ui5-suggestions-popover-with-value-state-header": !this._isPhone && this.hasValueStateText
905
697
  },
906
698
  popoverValueState: {
907
699
  "ui5-valuestatemessage-header": true,
@@ -913,8 +705,94 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
913
705
  }
914
706
  };
915
707
  }
916
- }
917
- ComboBox.SKIP_ITEMS_SIZE = 10;
708
+ };
709
+ __decorate([(0, _property.default)()], ComboBox.prototype, "value", void 0);
710
+ __decorate([(0, _property.default)()], ComboBox.prototype, "filterValue", void 0);
711
+ __decorate([(0, _property.default)()], ComboBox.prototype, "placeholder", void 0);
712
+ __decorate([(0, _property.default)({
713
+ type: Boolean
714
+ })], ComboBox.prototype, "disabled", void 0);
715
+ __decorate([(0, _property.default)({
716
+ type: _ValueState.default,
717
+ defaultValue: _ValueState.default.None
718
+ })], ComboBox.prototype, "valueState", void 0);
719
+ __decorate([(0, _property.default)({
720
+ type: Boolean
721
+ })], ComboBox.prototype, "readonly", void 0);
722
+ __decorate([(0, _property.default)({
723
+ type: Boolean
724
+ })], ComboBox.prototype, "required", void 0);
725
+ __decorate([(0, _property.default)({
726
+ type: Boolean
727
+ })], ComboBox.prototype, "loading", void 0);
728
+ __decorate([(0, _property.default)({
729
+ type: _ComboBoxFilter.default,
730
+ defaultValue: _ComboBoxFilter.default.StartsWithPerTerm
731
+ })], ComboBox.prototype, "filter", void 0);
732
+ __decorate([(0, _property.default)({
733
+ type: Boolean
734
+ })], ComboBox.prototype, "focused", void 0);
735
+ __decorate([(0, _property.default)({
736
+ type: Boolean
737
+ })], ComboBox.prototype, "_isValueStateFocused", void 0);
738
+ __decorate([(0, _property.default)()], ComboBox.prototype, "accessibleName", void 0);
739
+ __decorate([(0, _property.default)()], ComboBox.prototype, "accessibleNameRef", void 0);
740
+ __decorate([(0, _property.default)({
741
+ type: Boolean,
742
+ noAttribute: true
743
+ })], ComboBox.prototype, "_iconPressed", void 0);
744
+ __decorate([(0, _property.default)({
745
+ type: Object,
746
+ noAttribute: true,
747
+ multiple: true
748
+ })], ComboBox.prototype, "_filteredItems", void 0);
749
+ __decorate([(0, _property.default)({
750
+ validator: _Integer.default,
751
+ noAttribute: true
752
+ })], ComboBox.prototype, "_listWidth", void 0);
753
+ __decorate([(0, _slot.default)({
754
+ type: HTMLElement,
755
+ "default": true,
756
+ invalidateOnChildChange: true
757
+ })], ComboBox.prototype, "items", void 0);
758
+ __decorate([(0, _slot.default)()], ComboBox.prototype, "valueStateMessage", void 0);
759
+ __decorate([(0, _slot.default)()], ComboBox.prototype, "icon", void 0);
760
+ ComboBox = ComboBox_1 = __decorate([(0, _customElement.default)({
761
+ tag: "ui5-combobox",
762
+ languageAware: true,
763
+ renderer: _LitRenderer.default,
764
+ styles: _ComboBox.default,
765
+ staticAreaStyles: [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _ComboBoxPopover.default, _Suggestions.default],
766
+ template: _ComboBoxTemplate.default,
767
+ staticAreaTemplate: _ComboBoxPopoverTemplate.default,
768
+ dependencies: [_ComboBoxItem.default, _Icon.default, _ResponsivePopover.default, _List.default, _BusyIndicator.default, _Button.default, _StandardListItem.default, _GroupHeaderListItem.default, _Popover.default, _ComboBoxGroupItem.default]
769
+ })
770
+ /**
771
+ * Fired when the input operation has finished by pressing Enter, focusout or an item is selected.
772
+ *
773
+ * @event sap.ui.webc.main.ComboBox#change
774
+ * @public
775
+ */, (0, _event.default)("change")
776
+ /**
777
+ * Fired when typing in input.
778
+ * <br><br>
779
+ * <b>Note:</b> filterValue property is updated, input is changed.
780
+ * @event sap.ui.webc.main.ComboBox#input
781
+ * @public
782
+ */, (0, _event.default)("input")
783
+ /**
784
+ * Fired when selection is changed by user interaction
785
+ *
786
+ * @event sap.ui.webc.main.ComboBox#selection-change
787
+ * @param {sap.ui.webc.main.IComboBoxItem} item item to be selected.
788
+ * @public
789
+ */, (0, _event.default)("selection-change", {
790
+ detail: {
791
+ item: {
792
+ type: HTMLElement
793
+ }
794
+ }
795
+ })], ComboBox);
918
796
  ComboBox.define();
919
797
  var _default = ComboBox;
920
798
  _exports.default = _default;