@openui5/sap.ui.webc.main 1.115.1 → 1.116.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 (593) 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/custom-elements.json.js +1 -0
  279. package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
  280. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
  281. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
  282. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
  283. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
  284. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
  285. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
  286. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
  287. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
  288. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
  289. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
  290. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
  291. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
  292. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
  293. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
  294. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
  295. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
  296. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
  297. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
  298. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
  299. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
  300. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
  301. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
  302. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
  303. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
  304. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
  305. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
  306. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
  307. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
  308. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
  309. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
  310. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
  311. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
  312. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
  313. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
  314. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
  315. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
  316. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
  317. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
  318. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
  319. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
  320. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
  321. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
  322. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
  323. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
  324. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
  325. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
  326. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
  327. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
  328. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
  329. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
  330. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
  331. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
  332. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
  333. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
  334. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
  335. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
  336. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
  337. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
  338. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
  339. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
  340. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
  341. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
  342. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
  343. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
  344. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
  345. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
  346. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
  347. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
  348. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
  349. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
  350. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
  351. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
  352. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
  353. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
  354. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
  355. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
  356. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
  357. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
  358. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
  359. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
  360. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
  361. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
  362. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
  363. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
  364. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
  365. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
  366. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
  367. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
  368. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
  369. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
  370. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
  371. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
  372. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
  373. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
  374. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
  375. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
  376. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
  377. package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
  378. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
  379. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
  380. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
  381. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
  382. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
  383. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
  384. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
  385. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
  386. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
  387. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
  388. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
  389. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
  390. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
  391. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
  392. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
  393. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
  394. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
  395. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
  396. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
  397. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
  398. package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
  399. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
  400. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
  401. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
  402. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
  403. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
  404. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
  405. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
  406. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
  407. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
  408. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
  409. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
  410. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
  411. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
  412. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
  413. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
  414. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
  415. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
  416. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
  417. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
  418. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
  419. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
  420. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
  421. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
  422. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
  423. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
  424. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
  425. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
  426. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
  427. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
  428. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
  429. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
  430. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
  431. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
  432. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
  433. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
  434. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
  435. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
  436. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
  437. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
  438. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
  439. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
  440. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
  441. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
  442. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
  443. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
  444. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
  445. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
  446. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
  447. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
  448. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
  449. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
  450. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
  451. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
  452. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
  453. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
  454. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
  455. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
  456. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
  457. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
  458. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
  459. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
  460. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
  461. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
  462. package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
  463. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
  464. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
  465. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
  466. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
  467. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
  468. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
  469. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
  470. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
  471. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
  472. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
  473. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
  474. package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
  475. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
  476. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
  477. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
  478. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
  479. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
  480. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
  481. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
  482. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
  483. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
  484. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
  485. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
  486. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
  487. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
  488. package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
  489. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
  490. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
  491. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
  492. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
  493. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
  494. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
  495. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
  496. package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
  497. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
  498. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
  499. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
  500. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
  501. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
  502. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
  503. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
  504. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
  505. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
  506. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
  507. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
  508. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
  509. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
  510. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
  511. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
  512. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
  513. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
  514. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
  515. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
  516. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
  517. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
  518. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
  519. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
  520. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
  521. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
  522. package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
  523. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
  524. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
  525. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
  526. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
  527. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
  528. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
  529. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
  530. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
  531. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
  532. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
  533. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
  534. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
  535. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
  536. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
  537. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
  538. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
  539. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
  540. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
  541. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
  542. package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
  543. package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
  544. package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
  545. package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
  546. package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
  547. package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
  548. package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
  549. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
  550. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
  551. package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
  552. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
  553. package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
  554. package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
  555. package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
  556. package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
  557. package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
  558. package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
  559. package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
  560. package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
  561. package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
  562. package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
  563. package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
  564. package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
  565. package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
  566. package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
  567. package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
  568. package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
  569. package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
  570. package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
  571. package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
  572. package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
  573. package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
  574. package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
  575. package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
  576. package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
  577. package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
  578. package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
  579. package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
  580. package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
  581. package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
  582. package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
  583. package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
  584. package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
  585. package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
  586. package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
  587. package/ui5.yaml +15 -2
  588. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
  589. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
  590. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
  591. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
  592. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
  593. package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,4 +1,4 @@
1
- sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/multiselect-all", "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/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "./MultiComboBoxItem", "./MultiComboBoxGroupItem", "./Tokenizer", "./Token", "./Icon", "./Popover", "./ResponsivePopover", "./List", "./StandardListItem", "./ToggleButton", "./Filters", "./Button", "./generated/i18n/i18n-defaults", "./generated/templates/MultiComboBoxTemplate.lit", "./generated/templates/MultiComboBoxPopoverTemplate.lit", "./generated/themes/MultiComboBox.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css", "./generated/themes/MultiComboBoxPopover.css"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _ValueState, _Keys, _Integer, _slimArrowDown, _Device, _i18nBundle, _decline, _multiselectAll, _notEditable, _error, _alert, _sysEnter, _information, _FeaturesRegistry, _AriaLabelHelper, _MultiComboBoxItem, _MultiComboBoxGroupItem, _Tokenizer, _Token, _Icon, _Popover, _ResponsivePopover, _List, _StandardListItem, _ToggleButton, Filters, _Button, _i18nDefaults, _MultiComboBoxTemplate, _MultiComboBoxPopoverTemplate, _MultiComboBox, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions, _MultiComboBoxPopover) {
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/slot", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/multiselect-all", "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/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "./MultiComboBoxItem", "./MultiComboBoxGroupItem", "./GroupHeaderListItem", "./Tokenizer", "./Token", "./Icon", "./Popover", "./ResponsivePopover", "./List", "./StandardListItem", "./ToggleButton", "./Filters", "./Button", "./generated/i18n/i18n-defaults", "./generated/templates/MultiComboBoxTemplate.lit", "./generated/templates/MultiComboBoxPopoverTemplate.lit", "./generated/themes/MultiComboBox.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css", "./generated/themes/MultiComboBoxPopover.css", "./types/ComboBoxFilter"], function (_exports, _UI5Element, _customElement, _property, _slot, _event, _LitRenderer, _ResizeHandler, _ValueState, _Keys, _Integer, _slimArrowDown, _Device, _i18nBundle, _decline, _multiselectAll, _notEditable, _error, _alert, _sysEnter, _information, _FeaturesRegistry, _AriaLabelHelper, _MultiComboBoxItem, _MultiComboBoxGroupItem, _GroupHeaderListItem, _Tokenizer, _Token, _Icon, _Popover, _ResponsivePopover, _List, _StandardListItem, _ToggleButton, Filters, _Button, _i18nDefaults, _MultiComboBoxTemplate, _MultiComboBoxPopoverTemplate, _MultiComboBox, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions, _MultiComboBoxPopover, _ComboBoxFilter) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
@@ -6,13 +6,18 @@ 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
+ _slot = _interopRequireDefault(_slot);
12
+ _event = _interopRequireDefault(_event);
9
13
  _LitRenderer = _interopRequireDefault(_LitRenderer);
10
14
  _ResizeHandler = _interopRequireDefault(_ResizeHandler);
11
15
  _ValueState = _interopRequireDefault(_ValueState);
12
16
  _Integer = _interopRequireDefault(_Integer);
13
17
  _MultiComboBoxItem = _interopRequireDefault(_MultiComboBoxItem);
14
18
  _MultiComboBoxGroupItem = _interopRequireDefault(_MultiComboBoxGroupItem);
15
- _Tokenizer = _interopRequireDefault(_Tokenizer);
19
+ _GroupHeaderListItem = _interopRequireDefault(_GroupHeaderListItem);
20
+ _Tokenizer = _interopRequireWildcard(_Tokenizer);
16
21
  _Token = _interopRequireDefault(_Token);
17
22
  _Icon = _interopRequireDefault(_Icon);
18
23
  _Popover = _interopRequireDefault(_Popover);
@@ -29,281 +34,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
29
34
  _ValueStateMessage = _interopRequireDefault(_ValueStateMessage);
30
35
  _Suggestions = _interopRequireDefault(_Suggestions);
31
36
  _MultiComboBoxPopover = _interopRequireDefault(_MultiComboBoxPopover);
37
+ _ComboBoxFilter = _interopRequireDefault(_ComboBoxFilter);
32
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); }
33
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; }
34
40
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
35
- // Templates
36
-
37
- // Styles
38
-
39
- /**
40
- * @public
41
- */
42
- const metadata = {
43
- tag: "ui5-multi-combobox",
44
- languageAware: true,
45
- managedSlots: true,
46
- slots: /** @lends sap.ui.webcomponents.main.MultiComboBox.prototype */{
47
- /**
48
- * Defines the component items.
49
- *
50
- * @type {sap.ui.webcomponents.main.IMultiComboBoxItem[]}
51
- * @slot items
52
- * @public
53
- */
54
- "default": {
55
- propertyName: "items",
56
- type: HTMLElement,
57
- invalidateOnChildChange: true
58
- },
59
- /**
60
- * Defines the icon to be displayed in the component.
61
- *
62
- * @type {sap.ui.webcomponents.main.IIcon}
63
- * @slot
64
- * @public
65
- * @since 1.0.0-rc.9
66
- */
67
- icon: {
68
- type: HTMLElement
69
- },
70
- /**
71
- * Defines the value state message that will be displayed as pop up under the component.
72
- * <br><br>
73
- *
74
- * <b>Note:</b> If not specified, a default text (in the respective language) will be displayed.
75
- * <br>
76
- * <b>Note:</b> The <code>valueStateMessage</code> would be displayed,
77
- * when the component is in <code>Information</code>, <code>Warning</code> or <code>Error</code> value state.
78
- * @type {HTMLElement[]}
79
- * @since 1.0.0-rc.9
80
- * @slot
81
- * @public
82
- */
83
- valueStateMessage: {
84
- type: HTMLElement
85
- }
86
- },
87
- properties: /** @lends sap.ui.webcomponents.main.MultiComboBox.prototype */{
88
- /**
89
- * Defines the value of the component.
90
- * <br><br>
91
- * <b>Note:</b> The property is updated upon typing.
92
- *
93
- * @type {string}
94
- * @defaultvalue ""
95
- * @public
96
- */
97
- value: {
98
- type: String,
99
- defaultValue: ""
100
- },
101
- /**
102
- * Defines whether the value will be autcompleted to match an item
103
- *
104
- * @type {boolean}
105
- * @defaultvalue false
106
- * @public
107
- * @since 1.4.0
108
- */
109
- noTypeahead: {
110
- type: Boolean
111
- },
112
- /**
113
- * Defines a short hint intended to aid the user with data entry when the
114
- * component has no value.
115
- * @type {string}
116
- * @defaultvalue ""
117
- * @public
118
- */
119
- placeholder: {
120
- type: String,
121
- defaultValue: ""
122
- },
123
- /**
124
- * Defines if the user input will be prevented, if no matching item has been found
125
- *
126
- * @type {boolean}
127
- * @defaultvalue false
128
- * @public
129
- */
130
- allowCustomValues: {
131
- type: Boolean
132
- },
133
- /**
134
- * Defines whether the component is in disabled state.
135
- * <br><br>
136
- * <b>Note:</b> A disabled component is completely noninteractive.
137
- *
138
- * @type {boolean}
139
- * @defaultvalue false
140
- * @public
141
- */
142
- disabled: {
143
- type: Boolean
144
- },
145
- /**
146
- * Defines the value state of the component.
147
- * <br><br>
148
- * Available options are:
149
- * <ul>
150
- * <li><code>None</code></li>
151
- * <li><code>Error</code></li>
152
- * <li><code>Warning</code></li>
153
- * <li><code>Success</code></li>
154
- * <li><code>Information</code></li>
155
- * </ul>
156
- *
157
- * @type {ValueState}
158
- * @defaultvalue "None"
159
- * @public
160
- */
161
- valueState: {
162
- type: _ValueState.default,
163
- defaultValue: _ValueState.default.None
164
- },
165
- /**
166
- * Defines whether the component is read-only.
167
- * <br><br>
168
- * <b>Note:</b> A read-only component is not editable,
169
- * but still provides visual feedback upon user interaction.
170
- *
171
- * @type {boolean}
172
- * @defaultvalue false
173
- * @public
174
- */
175
- readonly: {
176
- type: Boolean
177
- },
178
- /**
179
- * Defines whether the component is required.
180
- *
181
- * @type {boolean}
182
- * @defaultvalue false
183
- * @public
184
- * @since 1.0.0-rc.5
185
- */
186
- required: {
187
- type: Boolean
188
- },
189
- /**
190
- * Defines the filter type of the component.
191
- * Available options are: <code>StartsWithPerTerm</code>, <code>StartsWith</code>, <code>Contains</code> and <code>None</code>.
192
- *
193
- * @type {string}
194
- * @defaultvalue "StartsWithPerTerm"
195
- * @public
196
- */
197
- filter: {
198
- type: String,
199
- defaultValue: "StartsWithPerTerm"
200
- },
201
- /**
202
- * Indicates whether the dropdown is open. True if the dropdown is open, false otherwise.
203
- *
204
- * @type {boolean}
205
- * @defaultvalue false
206
- * @readonly
207
- * @since 1.0.0-rc.5
208
- * @public
209
- */
210
- open: {
211
- type: Boolean
212
- },
213
- /**
214
- * Defines the accessible aria name of the component.
215
- *
216
- * @type {string}
217
- * @defaultvalue: ""
218
- * @public
219
- * @since 1.4.0
220
- */
221
- accessibleName: {
222
- type: String,
223
- defaultValue: undefined
224
- },
225
- /**
226
- * Receives id(or many ids) of the elements that label the component.
227
- *
228
- * @type {string}
229
- * @defaultvalue ""
230
- * @public
231
- * @since 1.4.0
232
- */
233
- accessibleNameRef: {
234
- type: String,
235
- defaultValue: ""
236
- },
237
- _filteredItems: {
238
- type: Object
239
- },
240
- filterSelected: {
241
- type: Boolean
242
- },
243
- focused: {
244
- type: Boolean
245
- },
246
- _tokenizerFocused: {
247
- type: Boolean
248
- },
249
- _iconPressed: {
250
- type: Boolean,
251
- noAttribute: true
252
- },
253
- _inputWidth: {
254
- type: _Integer.default,
255
- noAttribute: true
256
- },
257
- _listWidth: {
258
- type: _Integer.default,
259
- defaultValue: 0,
260
- noAttribute: true
261
- },
262
- _performingSelectionTwice: {
263
- type: Boolean
264
- }
265
- },
266
- events: /** @lends sap.ui.webcomponents.main.MultiComboBox.prototype */{
267
- /**
268
- * Fired when the input operation has finished by pressing Enter or on focusout.
269
- *
270
- * @event
271
- * @public
272
- */
273
- change: {},
274
- /**
275
- * Fired when the value of the component changes at each keystroke.
276
- *
277
- * @event
278
- * @public
279
- */
280
- input: {},
281
- /**
282
- * Fired when the dropdown is opened or closed.
283
- *
284
- * @event sap.ui.webcomponents.main.MultiComboBox#open-change
285
- * @since 1.0.0-rc.5
286
- * @public
287
- */
288
- "open-change": {},
289
- /**
290
- * Fired when selection is changed by user interaction
291
- * in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
292
- *
293
- * @event sap.ui.webcomponents.main.MultiComboBox#selection-change
294
- * @param {Array} items an array of the selected items.
295
- * @public
296
- */
297
- "selection-change": {
298
- detail: {
299
- items: {
300
- type: Array
301
- }
302
- }
303
- }
304
- }
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;
305
47
  };
306
-
48
+ var MultiComboBox_1;
307
49
  /**
308
50
  * @class
309
51
  *
@@ -316,8 +58,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
316
58
  * <h3>Structure</h3>
317
59
  * The <code>ui5-multi-combobox</code> consists of the following elements:
318
60
  * <ul>
319
- * <li> Tokenizer - a list of tokens with selected options.
320
- * <li> Input field - displays the selected option/s as token/s. Users can type to filter the list.
61
+ * <li> Tokenizer - a list of tokens with selected options.</li>
62
+ * <li> Input field - displays the selected option/s as token/s. Users can type to filter the list.</li>
321
63
  * <li> Drop-down arrow - expands\collapses the option list.</li>
322
64
  * <li> Option list - the list of available options.</li>
323
65
  * </ul>
@@ -355,45 +97,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
355
97
  *
356
98
  * @constructor
357
99
  * @author SAP SE
358
- * @alias sap.ui.webcomponents.main.MultiComboBox
359
- * @extends UI5Element
100
+ * @alias sap.ui.webc.main.MultiComboBox
101
+ * @extends sap.ui.webc.base.UI5Element
360
102
  * @tagname ui5-multi-combobox
361
103
  * @public
362
- * @appenddocs MultiComboBoxItem MultiComboBoxGroupItem
104
+ * @appenddocs sap.ui.webc.main.MultiComboBoxItem sap.ui.webc.main.MultiComboBoxGroupItem
363
105
  * @since 0.11.0
364
106
  */
365
- class MultiComboBox extends _UI5Element.default {
366
- static get metadata() {
367
- return metadata;
368
- }
369
- static get render() {
370
- return _LitRenderer.default;
371
- }
372
- static get template() {
373
- return _MultiComboBoxTemplate.default;
374
- }
375
- static get staticAreaTemplate() {
376
- return _MultiComboBoxPopoverTemplate.default;
377
- }
378
- static get styles() {
379
- return _MultiComboBox.default;
380
- }
381
- static get staticAreaStyles() {
382
- return [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _Suggestions.default, _MultiComboBoxPopover.default];
383
- }
384
- static get dependencies() {
385
- return [_MultiComboBoxItem.default, _MultiComboBoxGroupItem.default, _Tokenizer.default, _Token.default, _Icon.default, _ResponsivePopover.default, _Popover.default, _List.default, _StandardListItem.default, _ToggleButton.default, _Button.default];
386
- }
107
+ let MultiComboBox = MultiComboBox_1 = class MultiComboBox extends _UI5Element.default {
387
108
  constructor() {
388
109
  super();
389
110
  this._filteredItems = [];
390
111
  this.selectedValues = [];
112
+ this._itemsBeforeOpen = [];
391
113
  this._inputLastValue = "";
392
114
  this._valueBeforeOpen = "";
393
115
  this._deleting = false;
394
116
  this._validationTimeout = null;
395
117
  this._handleResizeBound = this._handleResize.bind(this);
396
118
  this.valueBeforeAutoComplete = "";
119
+ this._lastValue = "";
397
120
  this.currentItemIdx = -1;
398
121
  this.FormSupport = undefined;
399
122
  }
@@ -410,21 +133,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
410
133
  this.fireEvent("change");
411
134
  }
412
135
  togglePopover() {
413
- this.allItemsPopover.toggle(this);
136
+ this.allItemsPopover?.toggle(this);
414
137
  }
415
138
  togglePopoverByDropdownIcon() {
416
139
  this._shouldFilterItems = false;
417
- this.allItemsPopover.toggle(this);
140
+ this.allItemsPopover?.toggle(this);
418
141
  }
419
142
  _showFilteredItems() {
420
143
  this.filterSelected = true;
421
144
  this._showMorePressed = true;
422
145
  this.togglePopover();
423
146
  }
424
- filterSelectedItems(event) {
425
- this.filterSelected = event.target.pressed;
147
+ filterSelectedItems(e) {
148
+ this.filterSelected = e.target.pressed;
426
149
  const selectedItems = this._filteredItems.filter(item => item.selected);
427
- this.selectedItems = this.items.filter((item, idx, allItems) => MultiComboBox._groupItemFilter(item, ++idx, allItems, selectedItems) || selectedItems.indexOf(item) !== -1);
150
+ this.selectedItems = this.items.filter((item, idx, allItems) => MultiComboBox_1._groupItemFilter(item, ++idx, allItems, selectedItems) || selectedItems.indexOf(item) !== -1);
428
151
  }
429
152
  get _showAllItemsButtonPressed() {
430
153
  return this.filterSelected;
@@ -432,8 +155,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
432
155
  get _inputDom() {
433
156
  return this.shadowRoot.querySelector("#ui5-multi-combobox-input");
434
157
  }
435
- _inputLiveChange(event) {
436
- const input = event.target;
158
+ _inputLiveChange(e) {
159
+ const input = e.target;
437
160
  const value = input.value;
438
161
  const filteredItems = this._filterItems(value);
439
162
  const oldValueState = this.valueState;
@@ -447,7 +170,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
447
170
  }
448
171
  if (!filteredItems.length && value && !this.allowCustomValues) {
449
172
  input.value = this.valueBeforeAutoComplete || this._inputLastValue;
450
- this.valueState = "Error";
173
+ this.valueState = _ValueState.default.Error;
451
174
  this._shouldAutocomplete = false;
452
175
  this._resetValueState(oldValueState);
453
176
  return;
@@ -457,18 +180,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
457
180
  this._filteredItems = filteredItems;
458
181
  if (!(0, _Device.isPhone)()) {
459
182
  if (filteredItems.length === 0) {
460
- this.allItemsPopover.close();
183
+ this.allItemsPopover?.close();
461
184
  } else {
462
- this.allItemsPopover.showAt(this);
185
+ this.allItemsPopover?.showAt(this);
463
186
  }
464
187
  }
465
188
  this.fireEvent("input");
466
189
  }
467
- _tokenDelete(event) {
468
- const token = event.detail.ref;
190
+ _tokenDelete(e) {
191
+ const token = e.detail.ref;
469
192
  const deletingItem = this.items.find(item => item._id === token.getAttribute("data-ui5-id"));
470
193
  deletingItem.selected = false;
471
194
  this._deleting = true;
195
+ this._preventTokenizerToggle = true;
472
196
  this.fireSelectionChange();
473
197
  }
474
198
  get _getPlaceholder() {
@@ -478,28 +202,30 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
478
202
  return this.placeholder;
479
203
  }
480
204
  _handleArrowLeft() {
481
- const cursorPosition = this.getDomRef().querySelector(`input`).selectionStart;
482
- const isTextSelected = this.getDomRef().querySelector(`input`).selectionEnd - cursorPosition > 0;
205
+ const inputDomRef = this._inputDom;
206
+ const cursorPosition = inputDomRef.selectionStart || 0;
207
+ const isTextSelected = (inputDomRef.selectionEnd || 0) - cursorPosition > 0;
483
208
  if (cursorPosition === 0 && !isTextSelected) {
484
209
  this._tokenizer._focusLastToken();
485
210
  }
486
211
  }
487
- _tokenizerFocusOut(event) {
212
+ _tokenizerFocusOut(e) {
488
213
  this._tokenizerFocused = false;
489
214
  const tokensCount = this._tokenizer.tokens.length;
490
215
  const selectedTokens = this._selectedTokensCount;
491
216
  const lastTokenBeingDeleted = tokensCount - 1 === 0 && this._deleting;
492
217
  const allTokensAreBeingDeleted = selectedTokens === tokensCount && this._deleting;
493
- if (!event.relatedTarget || !event.relatedTarget.hasAttribute("ui5-token")) {
218
+ const relatedTarget = e.relatedTarget;
219
+ if (!relatedTarget || !relatedTarget.hasAttribute("ui5-token")) {
494
220
  this._tokenizer.tokens.forEach(token => {
495
221
  token.selected = false;
496
222
  });
497
- this._tokenizer.scrollToStart();
223
+ this._tokenizer.expanded = this._preventTokenizerToggle ? this._tokenizer.expanded : false;
498
224
  }
499
225
  if (allTokensAreBeingDeleted || lastTokenBeingDeleted) {
500
226
  setTimeout(() => {
501
227
  if (!(0, _Device.isPhone)()) {
502
- this.shadowRoot.querySelector("input").focus();
228
+ this._inputDom.focus();
503
229
  }
504
230
  this._deleting = false;
505
231
  }, 0);
@@ -509,41 +235,45 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
509
235
  this._tokenizerFocused = true;
510
236
  this.focused = false;
511
237
  }
512
- async _onkeydown(event) {
513
- const isArrowDownCtrl = (0, _Keys.isDownCtrl)(event);
514
- if ((0, _Keys.isShow)(event) && !this.disabled) {
515
- this._handleShow(event);
238
+ _onkeydown(e) {
239
+ const isArrowDownCtrl = (0, _Keys.isDownCtrl)(e);
240
+ if ((0, _Keys.isShow)(e) && !this.disabled) {
241
+ this._handleShow(e);
516
242
  return;
517
243
  }
518
- if ((0, _Keys.isDownShift)(event) || (0, _Keys.isUpShift)(event)) {
519
- event.preventDefault();
244
+ if ((0, _Keys.isDownShift)(e) || (0, _Keys.isUpShift)(e)) {
245
+ e.preventDefault();
520
246
  return;
521
247
  }
522
- if ((0, _Keys.isUp)(event) || (0, _Keys.isDown)(event) || (0, _Keys.isUpCtrl)(event) || isArrowDownCtrl) {
523
- this._handleArrowNavigation(event, isArrowDownCtrl);
248
+ if ((0, _Keys.isUp)(e) || (0, _Keys.isDown)(e) || (0, _Keys.isUpCtrl)(e) || isArrowDownCtrl) {
249
+ this._handleArrowNavigation(e, isArrowDownCtrl);
524
250
  return;
525
251
  }
526
-
527
252
  // CTRL + Arrow Down navigation is performed by the ItemNavigation module of the List,
528
253
  // here we only implement the text selection of the selected item
529
- if (isArrowDownCtrl && !this.allItemsPopover.opened) {
254
+ if (isArrowDownCtrl && !this.allItemsPopover?.opened) {
530
255
  setTimeout(() => this._inputDom.setSelectionRange(0, this._inputDom.value.length), 0);
531
256
  }
532
- if ((0, _Keys.isLeftCtrl)(event) || (0, _Keys.isRightCtrl)(event)) {
533
- this._handleArrowCtrl(event);
257
+ if ((0, _Keys.isLeftCtrl)(e) || (0, _Keys.isRightCtrl)(e)) {
258
+ this._handleArrowCtrl(e);
534
259
  return;
535
260
  }
536
- if ((0, _Keys.isCtrlV)(event) || (0, _Keys.isInsertShift)(event)) {
537
- this._handlePaste(event);
261
+ if ((0, _Keys.isCtrlV)(e) || (0, _Keys.isInsertShift)(e)) {
262
+ this._handlePaste();
538
263
  return;
539
264
  }
540
- if ((0, _Keys.isSpaceShift)(event)) {
541
- event.preventDefault();
265
+ if ((0, _Keys.isSpaceShift)(e)) {
266
+ e.preventDefault();
267
+ }
268
+ if (e.key === "ArrowLeft" || e.key === "Show" || e.key === "PageUp" || e.key === "PageDown" || e.key === "Backspace" || e.key === "Escape" || e.key === "Home" || e.key === "End" || e.key === "Tab" || e.key === "ArrowDown" || e.key === "Enter") {
269
+ this[`_handle${e.key}`](e);
542
270
  }
543
- this[`_handle${event.key}`] && this[`_handle${event.key}`](event);
544
- this._shouldAutocomplete = !this.noTypeahead && !((0, _Keys.isBackSpace)(event) || (0, _Keys.isDelete)(event) || (0, _Keys.isEscape)(event) || (0, _Keys.isEnter)(event));
271
+ this._shouldAutocomplete = !this.noTypeahead && !((0, _Keys.isBackSpace)(e) || (0, _Keys.isDelete)(e) || (0, _Keys.isEscape)(e) || (0, _Keys.isEnter)(e));
545
272
  }
546
- async _handlePaste(event) {
273
+ async _handlePaste() {
274
+ if (this.readonly) {
275
+ return;
276
+ }
547
277
  const pastedText = await navigator.clipboard.readText();
548
278
  if (!pastedText) {
549
279
  return;
@@ -561,7 +291,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
561
291
  this.fireEvent("input");
562
292
  }
563
293
  }
564
- _handleShow(event) {
294
+ _handleShow(e) {
565
295
  const items = this.items;
566
296
  const selectedItem = this._getSelectedItems()[0];
567
297
  const focusedToken = this._tokenizer.tokens.find(token => token.focused);
@@ -569,7 +299,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
569
299
  const matchingItem = this.items.find(item => item.text.localeCompare(value, undefined, {
570
300
  sensitivity: "base"
571
301
  }) === 0);
572
- event.preventDefault();
302
+ e.preventDefault();
573
303
  if (this.readonly) {
574
304
  return;
575
305
  }
@@ -583,27 +313,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
583
313
  }
584
314
  if (selectedItem && !focusedToken) {
585
315
  this._itemToFocus = selectedItem;
586
- } else if (focusedToken && event.target === focusedToken) {
316
+ } else if (focusedToken && e.target === focusedToken) {
587
317
  this._itemToFocus = items.find(item => item.text === focusedToken.text);
588
318
  } else {
589
319
  this._itemToFocus = items[0];
590
320
  }
591
321
  }
592
- _handlePageUp(event) {
593
- event.preventDefault();
322
+ _handlePageUp(e) {
323
+ e.preventDefault();
594
324
  }
595
- _handlePageDown(event) {
596
- event.preventDefault();
325
+ _handlePageDown(e) {
326
+ e.preventDefault();
597
327
  }
598
- _handleBackspace(event) {
599
- if (event.target.value === "") {
600
- event.preventDefault();
328
+ _handleBackspace(e) {
329
+ if (e.target.value === "") {
330
+ e.preventDefault();
601
331
  this._tokenizer._focusLastToken();
602
332
  }
603
333
  }
604
- _handleEscape(event) {
334
+ _handleEscape() {
605
335
  const innerInput = this._innerInput;
606
- const isAutoCompleted = innerInput.selectionEnd - innerInput.selectionStart > 0;
336
+ const isAutoCompleted = (innerInput.selectionEnd || 0) - (innerInput.selectionStart || 0) > 0;
607
337
  if (isAutoCompleted) {
608
338
  this.value = this.valueBeforeAutoComplete;
609
339
  }
@@ -611,26 +341,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
611
341
  this.value = this._lastValue;
612
342
  }
613
343
  }
614
- _handleHome(event) {
615
- const shouldFocusToken = this._isFocusInside && event.target.selectionStart === 0 && this._tokenizer.tokens.length > 0;
344
+ _handleHome(e) {
345
+ const shouldFocusToken = this._isFocusInside && e.target.selectionStart === 0 && this._tokenizer.tokens.length > 0;
616
346
  if (shouldFocusToken) {
617
- event.preventDefault();
347
+ e.preventDefault();
618
348
  this._tokenizer.tokens[0].focus();
619
349
  }
620
350
  }
621
- _handleEnd(event) {
351
+ _handleEnd(e) {
622
352
  const tokens = this._tokenizer.tokens;
623
353
  const lastTokenIdx = tokens.length - 1;
624
- const shouldFocusInput = event.target === tokens[lastTokenIdx] && tokens[lastTokenIdx] === this.shadowRoot.activeElement;
354
+ const shouldFocusInput = e.target === tokens[lastTokenIdx] && tokens[lastTokenIdx] === this.shadowRoot.activeElement;
625
355
  if (shouldFocusInput) {
626
- event.preventDefault();
356
+ e.preventDefault();
627
357
  this._inputDom.focus();
628
358
  }
629
359
  }
630
- _handleTab(event) {
631
- this.allItemsPopover.close();
360
+ _handleTab() {
361
+ this.allItemsPopover?.close();
632
362
  }
633
- _handleSelectAll(event) {
363
+ _handleSelectAll() {
634
364
  const filteredItems = this._filteredItems;
635
365
  const allItemsSelected = filteredItems.every(item => item.selected);
636
366
  filteredItems.forEach(item => {
@@ -638,61 +368,61 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
638
368
  });
639
369
  this.fireSelectionChange();
640
370
  }
641
- _onValueStateKeydown(event) {
642
- const isArrowDown = (0, _Keys.isDown)(event);
643
- const isArrowUp = (0, _Keys.isUp)(event);
644
- if ((0, _Keys.isTabNext)(event) || (0, _Keys.isTabPrevious)(event)) {
645
- this._onItemTab(event);
371
+ _onValueStateKeydown(e) {
372
+ const isArrowDown = (0, _Keys.isDown)(e);
373
+ const isArrowUp = (0, _Keys.isUp)(e);
374
+ if ((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e)) {
375
+ this._onItemTab();
646
376
  return;
647
377
  }
648
- event.preventDefault();
649
- if (isArrowDown || (0, _Keys.isDownCtrl)(event)) {
650
- this._handleArrowDown(event);
378
+ e.preventDefault();
379
+ if (isArrowDown || (0, _Keys.isDownCtrl)(e)) {
380
+ this._handleArrowDown();
651
381
  }
652
- if (isArrowUp || (0, _Keys.isUpCtrl)(event)) {
382
+ if (isArrowUp || (0, _Keys.isUpCtrl)(e)) {
653
383
  this._shouldAutocomplete = true;
654
384
  this._inputDom.focus();
655
385
  }
656
386
  }
657
- async _onItemKeydown(event) {
658
- const isFirstItem = this.list.items[0] === event.target;
659
- const isArrowUp = (0, _Keys.isUp)(event) || (0, _Keys.isUpCtrl)(event);
387
+ async _onItemKeydown(e) {
388
+ const isFirstItem = this.list?.items[0] === e.target;
389
+ const isArrowUp = (0, _Keys.isUp)(e) || (0, _Keys.isUpCtrl)(e);
660
390
  if (this.hasValueStateMessage && !this.valueStateHeader) {
661
391
  await this._setValueStateHeader();
662
392
  }
663
- if ((0, _Keys.isTabNext)(event) || (0, _Keys.isTabPrevious)(event)) {
664
- this._onItemTab(event);
393
+ if ((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e)) {
394
+ this._onItemTab();
665
395
  return;
666
396
  }
667
- if ((0, _Keys.isHomeCtrl)(event)) {
668
- this.list._itemNavigation._handleHome(event);
669
- this.list.items[this.list._itemNavigation._currentIndex].focus();
397
+ if ((0, _Keys.isHomeCtrl)(e)) {
398
+ this.list?._itemNavigation._handleHome();
399
+ this.list?.items[this.list?._itemNavigation._currentIndex].focus();
670
400
  }
671
- if ((0, _Keys.isEndCtrl)(event)) {
672
- this.list._itemNavigation._handleEnd(event);
673
- this.list.items[this.list._itemNavigation._currentIndex].focus();
401
+ if ((0, _Keys.isEndCtrl)(e)) {
402
+ this.list?._itemNavigation._handleEnd();
403
+ this.list?.items[this.list?._itemNavigation._currentIndex].focus();
674
404
  }
675
- event.preventDefault();
676
- if ((0, _Keys.isDownShift)(event) || (0, _Keys.isUpShift)(event)) {
677
- this._handleItemRangeSelection(event);
405
+ e.preventDefault();
406
+ if ((0, _Keys.isDownShift)(e) || (0, _Keys.isUpShift)(e)) {
407
+ this._handleItemRangeSelection(e);
678
408
  return;
679
409
  }
680
- if ((0, _Keys.isUpCtrl)(event) && !isFirstItem) {
681
- this.list._itemNavigation._handleUp(event);
682
- this.list.items[this.list._itemNavigation._currentIndex].focus();
410
+ if ((0, _Keys.isUpCtrl)(e) && !isFirstItem) {
411
+ this.list?._itemNavigation._handleUp();
412
+ this.list?.items[this.list?._itemNavigation._currentIndex].focus();
683
413
  }
684
- if ((0, _Keys.isDownCtrl)(event)) {
685
- this.list._itemNavigation._handleDown(event);
686
- this.list.items[this.list._itemNavigation._currentIndex].focus();
414
+ if ((0, _Keys.isDownCtrl)(e)) {
415
+ this.list?._itemNavigation._handleDown();
416
+ this.list?.items[this.list?._itemNavigation._currentIndex].focus();
687
417
  }
688
- if ((0, _Keys.isShow)(event)) {
418
+ if ((0, _Keys.isShow)(e)) {
689
419
  this.togglePopover();
690
420
  }
691
- if ((0, _Keys.isCtrlA)(event)) {
692
- this._handleSelectAll(event);
421
+ if ((0, _Keys.isCtrlA)(e)) {
422
+ this._handleSelectAll();
693
423
  return;
694
424
  }
695
- if ((isArrowUp && isFirstItem || (0, _Keys.isHome)(event)) && this.valueStateHeader) {
425
+ if ((isArrowUp && isFirstItem || (0, _Keys.isHome)(e)) && this.valueStateHeader) {
696
426
  this.valueStateHeader.focus();
697
427
  }
698
428
  if (!this.valueStateHeader && isFirstItem && isArrowUp) {
@@ -700,25 +430,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
700
430
  this._shouldAutocomplete = true;
701
431
  }
702
432
  }
703
- _handleArrowCtrl(event) {
433
+ _handleArrowCtrl(e) {
704
434
  const input = this._inputDom;
705
- const isArrowLeft = (0, _Keys.isLeftCtrl)(event);
435
+ const isArrowLeft = (0, _Keys.isLeftCtrl)(e);
706
436
  if (isArrowLeft && input.selectionStart === 0 && input.selectionEnd === 0) {
707
- event.preventDefault();
437
+ e.preventDefault();
708
438
  }
709
- if (isArrowLeft && input.selectionEnd - input.selectionStart > 0) {
439
+ if (isArrowLeft && (input.selectionEnd || 0) - (input.selectionStart || 0) > 0) {
710
440
  input.setSelectionRange(0, 0);
711
441
  }
712
442
  }
713
- _onItemTab(event) {
443
+ _onItemTab() {
714
444
  this._inputDom.focus();
715
- this.allItemsPopover.close();
445
+ this.allItemsPopover?.close();
716
446
  }
717
- async _handleArrowNavigation(event, isDownControl) {
718
- const isArrowDown = isDownControl || (0, _Keys.isDown)(event);
447
+ async _handleArrowNavigation(e, isDownControl) {
448
+ const isArrowDown = isDownControl || (0, _Keys.isDown)(e);
719
449
  const hasSuggestions = this.items.length;
720
- const isOpen = this.allItemsPopover.opened;
721
- event.preventDefault();
450
+ const isOpen = this.allItemsPopover?.opened;
451
+ e.preventDefault();
722
452
  if (this.hasValueStateMessage && !this.valueStateHeader) {
723
453
  await this._setValueStateHeader();
724
454
  }
@@ -728,34 +458,34 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
728
458
  return;
729
459
  }
730
460
  if (isArrowDown && hasSuggestions) {
731
- this._handleArrowDown(event);
461
+ this._handleArrowDown();
732
462
  }
733
463
  if (!isArrowDown && !isOpen && !this.readonly) {
734
464
  this._navigateToPrevItem();
735
465
  }
736
466
  }
737
- _handleArrowDown(event) {
738
- const isOpen = this.allItemsPopover.opened;
739
- const firstListItem = this.list.items[0];
467
+ _handleArrowDown() {
468
+ const isOpen = this.allItemsPopover?.opened;
469
+ const firstListItem = this.list?.items[0];
740
470
  if (isOpen) {
741
- this.list._itemNavigation.setCurrentItem(firstListItem);
471
+ firstListItem && this.list?._itemNavigation.setCurrentItem(firstListItem);
742
472
  this.value = this.valueBeforeAutoComplete || this.value;
743
- firstListItem.focus();
473
+ firstListItem?.focus();
744
474
  } else if (!this.readonly) {
745
475
  this._navigateToNextItem();
746
476
  }
747
477
  }
748
- _handleItemRangeSelection(event) {
478
+ _handleItemRangeSelection(e) {
749
479
  const items = this.items;
750
- const listItems = this.list.items;
751
- const currentItemIdx = listItems.indexOf(event.target);
480
+ const listItems = this.list?.items;
481
+ const currentItemIdx = listItems?.indexOf(e.target) || -1;
752
482
  const nextItemIdx = currentItemIdx + 1;
753
483
  const prevItemIdx = currentItemIdx - 1;
754
- if ((0, _Keys.isDownShift)(event) && items[nextItemIdx]) {
484
+ if ((0, _Keys.isDownShift)(e) && items[nextItemIdx]) {
755
485
  items[nextItemIdx].selected = items[currentItemIdx].selected;
756
486
  items[nextItemIdx].focus();
757
487
  }
758
- if ((0, _Keys.isUpShift)(event) && items[prevItemIdx]) {
488
+ if ((0, _Keys.isUpShift)(e) && items[prevItemIdx]) {
759
489
  items[prevItemIdx].selected = items[currentItemIdx].selected;
760
490
  items[prevItemIdx].focus();
761
491
  }
@@ -813,7 +543,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
813
543
  }
814
544
  _handleEnter() {
815
545
  const lowerCaseValue = this.value.toLowerCase();
816
- const matchingItem = this.items.find(item => item.text.toLowerCase() === lowerCaseValue);
546
+ const matchingItem = this.items.find(item => item.text.toLowerCase() === lowerCaseValue && !item.isGroupItem);
817
547
  const oldValueState = this.valueState;
818
548
  const innerInput = this._innerInput;
819
549
  if (this.FormSupport) {
@@ -824,7 +554,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
824
554
  if (this._validationTimeout) {
825
555
  return;
826
556
  }
827
- this.valueState = "Error";
557
+ this.valueState = _ValueState.default.Error;
828
558
  this._performingSelectionTwice = true;
829
559
  this._resetValueState(oldValueState, () => {
830
560
  this._performingSelectionTwice = false;
@@ -835,7 +565,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
835
565
  this.fireSelectionChange();
836
566
  }
837
567
  innerInput.setSelectionRange(matchingItem.text.length, matchingItem.text.length);
838
- this.allItemsPopover.close();
568
+ this.allItemsPopover?.close();
839
569
  }
840
570
  }
841
571
  _resetValueState(valueState, callback) {
@@ -845,51 +575,50 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
845
575
  callback && callback();
846
576
  }, 2000);
847
577
  }
848
- _onTokenizerKeydown(event) {
849
- const isCtrl = !!(event.metaKey || event.ctrlKey);
850
- if ((0, _Keys.isRight)(event)) {
851
- const lastTokenIndex = this._tokenizer.tokens.length - 1;
852
- if (event.target === this._tokenizer.tokens[lastTokenIndex]) {
578
+ _onTokenizerKeydown(e) {
579
+ const isCtrl = !!(e.metaKey || e.ctrlKey);
580
+ if ((0, _Keys.isRight)(e)) {
581
+ const lastTokenIndex = this._tokenizer.tokens.length - this._tokenizer.overflownTokens.length - 1;
582
+ if (e.target === this._tokenizer.tokens[lastTokenIndex]) {
853
583
  setTimeout(() => {
854
- this.shadowRoot.querySelector("input").focus();
584
+ this._inputDom.focus();
855
585
  }, 0);
856
586
  }
857
587
  }
858
- if (isCtrl && ["c", "x"].includes(event.key.toLowerCase()) || (0, _Keys.isDeleteShift)(event) || (0, _Keys.isInsertCtrl)(event)) {
859
- event.preventDefault();
860
- const isCut = event.key.toLowerCase() === "x" || (0, _Keys.isDeleteShift)(event);
588
+ if (isCtrl && ["c", "x"].includes(e.key.toLowerCase()) || (0, _Keys.isDeleteShift)(e) || (0, _Keys.isInsertCtrl)(e)) {
589
+ e.preventDefault();
590
+ const isCut = e.key.toLowerCase() === "x" || (0, _Keys.isDeleteShift)(e);
861
591
  const selectedTokens = this._tokenizer.tokens.filter(token => token.selected);
862
592
  if (isCut) {
863
- const cutResult = this._tokenizer._fillClipboard("cut", selectedTokens);
593
+ const cutResult = this._tokenizer._fillClipboard(_Tokenizer.ClipboardDataOperation.cut, selectedTokens);
864
594
  selectedTokens.forEach(token => {
865
- this._tokenizer._tokenDelete(event, token);
595
+ this._tokenizer.deleteToken(token);
866
596
  });
867
597
  this.focus();
868
598
  return cutResult;
869
599
  }
870
- return this._tokenizer._fillClipboard("copy", selectedTokens);
600
+ return this._tokenizer._fillClipboard(_Tokenizer.ClipboardDataOperation.copy, selectedTokens);
871
601
  }
872
- if ((0, _Keys.isCtrlV)(event) || (0, _Keys.isInsertShift)(event)) {
873
- this._handlePaste(event);
602
+ if ((0, _Keys.isCtrlV)(e) || (0, _Keys.isInsertShift)(e)) {
603
+ this._handlePaste();
874
604
  }
875
- if ((0, _Keys.isHome)(event)) {
876
- this._handleHome(event);
605
+ if ((0, _Keys.isHome)(e)) {
606
+ this._handleHome(e);
877
607
  }
878
- if ((0, _Keys.isEnd)(event)) {
879
- this._handleEnd(event);
608
+ if ((0, _Keys.isEnd)(e)) {
609
+ this._handleEnd(e);
880
610
  }
881
- if ((0, _Keys.isShow)(event) && !this.readonly && !this.disabled) {
882
- this._handleShow(event);
611
+ if ((0, _Keys.isShow)(e) && !this.readonly && !this.disabled) {
612
+ this._preventTokenizerToggle = true;
613
+ this._handleShow(e);
883
614
  }
884
615
  }
885
616
  _filterItems(str) {
886
617
  const itemsToFilter = this.items.filter(item => !item.isGroupItem);
887
618
  const filteredItems = (Filters[this.filter] || Filters.StartsWithPerTerm)(str, itemsToFilter, "text");
888
-
889
619
  // Return the filtered items and their group items
890
- return this.items.filter((item, idx, allItems) => MultiComboBox._groupItemFilter(item, ++idx, allItems, filteredItems) || filteredItems.indexOf(item) !== -1);
620
+ return this.items.filter((item, idx, allItems) => MultiComboBox_1._groupItemFilter(item, ++idx, allItems, filteredItems) || filteredItems.indexOf(item) !== -1);
891
621
  }
892
-
893
622
  /**
894
623
  * Returns true if the group header should be shown (if there is a filtered suggestion item for this group item)
895
624
  *
@@ -910,9 +639,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
910
639
  if (!(0, _Device.isPhone)() && !this._isOpenedByKeyboard) {
911
640
  this._innerInput.focus();
912
641
  } else if (this._isOpenedByKeyboard) {
913
- this._itemToFocus.focus();
642
+ this._itemToFocus?.focus();
914
643
  } else {
915
- this.allItemsPopover.focus();
644
+ this.allItemsPopover?.focus();
916
645
  }
917
646
  this._isOpenedByKeyboard = false;
918
647
  }
@@ -925,18 +654,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
925
654
  this.selectedValues = this.items.filter(item => item.selected);
926
655
  return this.selectedValues;
927
656
  }
928
- _listSelectionChange(event) {
657
+ _listSelectionChange(e) {
929
658
  // sync list items and cb items
930
- this.syncItems(event.target.items);
931
-
659
+ this.syncItems(e.target.items);
932
660
  // don't call selection change right after selection as user can cancel it on phone
933
661
  if (!(0, _Device.isPhone)()) {
934
662
  this.fireSelectionChange();
935
663
  }
936
- if (!event.detail.selectionComponentPressed && !(0, _Keys.isSpace)(event.detail) && !(0, _Keys.isSpaceCtrl)(event.detail)) {
937
- this.allItemsPopover.close();
664
+ // casted to KeyboardEvent since isSpace and isSpaceCtrl accepts KeyboardEvent only
665
+ const castedEvent = {
666
+ key: e.detail.key
667
+ };
668
+ if (!e.detail.selectionComponentPressed && !(0, _Keys.isSpace)(castedEvent) && !(0, _Keys.isSpaceCtrl)(castedEvent)) {
669
+ this.allItemsPopover?.close();
938
670
  this.value = "";
939
-
940
671
  // if the item (not checkbox) is clicked, call the selection change
941
672
  if ((0, _Device.isPhone)()) {
942
673
  this.fireSelectionChange();
@@ -968,10 +699,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
968
699
  async _getList() {
969
700
  const staticAreaItem = await this.getStaticAreaItemDomRef();
970
701
  this.list = staticAreaItem.querySelector(".ui5-multi-combobox-all-items-list");
702
+ return this.list;
971
703
  }
972
- _click(event) {
704
+ _click() {
973
705
  if ((0, _Device.isPhone)() && !this.readonly && !this._showMorePressed && !this._deleting) {
974
- this.allItemsPopover.showAt(this);
706
+ this.allItemsPopover?.showAt(this);
975
707
  }
976
708
  this._showMorePressed = false;
977
709
  }
@@ -982,6 +714,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
982
714
  }
983
715
  this._toggle();
984
716
  this._iconPressed = false;
717
+ this._preventTokenizerToggle = false;
985
718
  this.filterSelected = false;
986
719
  }
987
720
  _beforeOpen() {
@@ -994,7 +727,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
994
727
  this._valueBeforeOpen = this.value;
995
728
  if (this.filterSelected) {
996
729
  const selectedItems = this._filteredItems.filter(item => item.selected);
997
- this.selectedItems = this.items.filter((item, idx, allItems) => MultiComboBox._groupItemFilter(item, ++idx, allItems, selectedItems) || selectedItems.indexOf(item) !== -1);
730
+ this.selectedItems = this.items.filter((item, idx, allItems) => MultiComboBox_1._groupItemFilter(item, ++idx, allItems, selectedItems) || selectedItems.indexOf(item) !== -1);
998
731
  }
999
732
  }
1000
733
  _handleTypeAhead(item, filterValue) {
@@ -1023,7 +756,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1023
756
  }
1024
757
  onBeforeRendering() {
1025
758
  const input = this._innerInput;
1026
- const autoCompletedChars = input && input.selectionEnd - input.selectionStart;
759
+ const autoCompletedChars = input && (input.selectionEnd || 0) - (input.selectionStart || 0);
1027
760
  const value = input && input.value;
1028
761
  this.FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
1029
762
  this._inputLastValue = value;
@@ -1034,18 +767,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1034
767
  this.items.forEach(item => {
1035
768
  item._getRealDomRef = () => this.allItemsPopover.querySelector(`*[data-ui5-stable=${item.stableDomRef}]`);
1036
769
  });
770
+ this.tokenizerAvailable = this._getSelectedItems().length > 0;
771
+ this.style.setProperty("--_ui5-input-icons-count", `${this.iconsCount}`);
1037
772
  if (!input || !value) {
1038
773
  return;
1039
774
  }
1040
-
1041
775
  // Typehead causes issues on Android devices, so we disable it for now
1042
776
  // If there is already a selection the autocomplete has already been performed
1043
777
  if (this._shouldAutocomplete && !(0, _Device.isAndroid)() && !autoCompletedChars) {
1044
778
  const item = this._getFirstMatchingItem(value);
1045
-
1046
779
  // Keep the original typed in text intact
1047
780
  this.valueBeforeAutoComplete = value;
1048
- this._handleTypeAhead(item, value);
781
+ item && this._handleTypeAhead(item, value);
1049
782
  }
1050
783
  if (this._shouldFilterItems) {
1051
784
  this._filteredItems = this._filterItems(this._shouldAutocomplete || !!autoCompletedChars ? this.valueBeforeAutoComplete : value);
@@ -1059,6 +792,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1059
792
  this.toggle(this.shouldDisplayOnlyValueStateMessage);
1060
793
  this.storeResponsivePopoverWidth();
1061
794
  this._deleting = false;
795
+ // force resize of the tokenizer on invalidation
796
+ this._tokenizer._handleResize();
1062
797
  }
1063
798
  get _isPhone() {
1064
799
  return (0, _Device.isPhone)();
@@ -1080,7 +815,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1080
815
  }
1081
816
  handleCancel() {
1082
817
  this._itemsBeforeOpen.forEach(item => {
1083
- item.ref.selected = item.selected;
818
+ if (item.ref instanceof _MultiComboBoxItem.default) {
819
+ item.ref.selected = item.selected;
820
+ }
1084
821
  });
1085
822
  this.togglePopover();
1086
823
  this.value = this._valueBeforeOpen;
@@ -1092,17 +829,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1092
829
  this.togglePopover();
1093
830
  }
1094
831
  async openPopover() {
1095
- const popover = await this._getPopover();
1096
- if (popover) {
1097
- popover.showAt(this);
1098
- }
832
+ (await this._getPopover())?.showAt(this);
1099
833
  }
1100
834
  _forwardFocusToInner() {
1101
835
  this._innerInput.focus();
1102
836
  }
1103
837
  async closePopover() {
1104
- const popover = await this._getPopover();
1105
- popover && popover.close();
838
+ (await this._getPopover())?.close();
1106
839
  }
1107
840
  async _getPopover() {
1108
841
  const staticAreaItem = await this.getStaticAreaItemDomRef();
@@ -1119,24 +852,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1119
852
  get _tokenizer() {
1120
853
  return this.shadowRoot.querySelector("[ui5-tokenizer]");
1121
854
  }
1122
- inputFocusIn(event) {
855
+ inputFocusIn(e) {
1123
856
  if (!(0, _Device.isPhone)() || this.readonly) {
1124
857
  this.focused = true;
858
+ this._tokenizer.expanded = true;
1125
859
  } else {
1126
860
  this._innerInput.blur();
1127
861
  }
1128
- if (!(0, _Device.isPhone)() && (event.relatedTarget && event.relatedTarget.tagName !== "UI5-STATIC-AREA-ITEM" || !event.relatedTarget)) {
862
+ if (!(0, _Device.isPhone)() && (e.relatedTarget?.tagName !== "UI5-STATIC-AREA-ITEM" || !e.relatedTarget)) {
1129
863
  this._innerInput.setSelectionRange(0, this.value.length);
1130
864
  }
1131
865
  this._lastValue = this.value;
1132
866
  this.valueBeforeAutoComplete = "";
1133
867
  }
1134
- inputFocusOut(event) {
1135
- if (!this.shadowRoot.contains(event.relatedTarget) && !this._deleting) {
868
+ inputFocusOut(e) {
869
+ if (!this.shadowRoot.contains(e.relatedTarget) && !this._deleting) {
1136
870
  this.focused = false;
1137
-
871
+ this._tokenizer.expanded = this.open;
1138
872
  // remove the value if user focus out the input and focus is not going in the popover
1139
- if (!(0, _Device.isPhone)() && !this.allowCustomValues && this.staticAreaItem !== event.relatedTarget) {
873
+ if (!(0, _Device.isPhone)() && !this.allowCustomValues && this.staticAreaItem !== e.relatedTarget) {
1140
874
  this.value = "";
1141
875
  }
1142
876
  }
@@ -1159,15 +893,30 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1159
893
  get hasValueStateMessage() {
1160
894
  return this.hasValueState && this.valueState !== _ValueState.default.Success;
1161
895
  }
1162
- get valueStateText() {
1163
- let key = this.valueState;
896
+ get ariaValueStateHiddenText() {
897
+ if (!this.hasValueState) {
898
+ return;
899
+ }
900
+ let text = "";
901
+ if (this.valueState !== _ValueState.default.None) {
902
+ text = this.valueStateTypeMappings[this.valueState];
903
+ }
904
+ if (this.shouldDisplayDefaultValueStateMessage) {
905
+ return `${text} ${this.valueStateDefaultText || ""}`;
906
+ }
907
+ return `${text}`.concat(" ", this.valueStateMessageText.map(el => el.textContent).join(" "));
908
+ }
909
+ get valueStateDefaultText() {
910
+ if (this.valueState === _ValueState.default.None) {
911
+ return "";
912
+ }
1164
913
  if (this._performingSelectionTwice) {
1165
- key = "Error_Selection";
914
+ return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR_ALREADY_SELECTED);
1166
915
  }
1167
- return this.valueStateTextMappings[key];
916
+ return this.valueStateTextMappings[this.valueState];
1168
917
  }
1169
918
  get valueStateTextId() {
1170
- return this.hasValueState ? `${this._id}-valueStateDesc` : undefined;
919
+ return this.hasValueState ? `ui5-multi-combobox-valueStateDesc` : undefined;
1171
920
  }
1172
921
  get valueStateMessageText() {
1173
922
  return this.getSlottedNodes("valueStateMessage").map(el => el.cloneNode(true));
@@ -1175,18 +924,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1175
924
  get ariaLabelText() {
1176
925
  return (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this);
1177
926
  }
1178
-
1179
927
  /**
1180
928
  * This method is relevant for sap_horizon theme only
1181
929
  */
1182
930
  get _valueStateMessageIcon() {
1183
- const iconPerValueState = {
1184
- Error: "error",
1185
- Warning: "alert",
1186
- Success: "sys-enter-2",
1187
- Information: "information"
1188
- };
1189
- return this.valueState !== _ValueState.default.None ? iconPerValueState[this.valueState] : "";
931
+ if (this.valueState === _ValueState.default.None) {
932
+ return "";
933
+ }
934
+ return {
935
+ [_ValueState.default.Error]: "error",
936
+ [_ValueState.default.Warning]: "alert",
937
+ [_ValueState.default.Success]: "sys-enter-2",
938
+ [_ValueState.default.Information]: "information"
939
+ }[this.valueState];
1190
940
  }
1191
941
  get _tokensCountText() {
1192
942
  if (!this._tokenizer) {
@@ -1195,7 +945,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1195
945
  return this._tokenizer._tokensCountText();
1196
946
  }
1197
947
  get _tokensCountTextId() {
1198
- return `${this._id}-hiddenText-nMore`;
948
+ return "ui5-multi-combobox-hiddenText-nMore";
1199
949
  }
1200
950
  get _selectedTokensCount() {
1201
951
  return this._tokenizer.tokens.filter(token => token.selected).length;
@@ -1209,44 +959,64 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1209
959
  get shouldDisplayOnlyValueStateMessage() {
1210
960
  return this.focused && !this.readonly && this.hasValueStateMessage && !this._iconPressed;
1211
961
  }
962
+ get valueStateTypeMappings() {
963
+ return {
964
+ [_ValueState.default.Success]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_SUCCESS),
965
+ [_ValueState.default.Information]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_INFORMATION),
966
+ [_ValueState.default.Error]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_ERROR),
967
+ [_ValueState.default.Warning]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_WARNING)
968
+ };
969
+ }
1212
970
  get valueStateTextMappings() {
1213
971
  return {
1214
- "Success": MultiComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
1215
- "Error": MultiComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
1216
- "Error_Selection": MultiComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR_ALREADY_SELECTED),
1217
- "Warning": MultiComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING),
1218
- "Information": MultiComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
972
+ [_ValueState.default.Success]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
973
+ [_ValueState.default.Error]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
974
+ [_ValueState.default.Warning]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING),
975
+ [_ValueState.default.Information]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
1219
976
  };
1220
977
  }
1221
978
  get _innerInput() {
1222
979
  if ((0, _Device.isPhone)()) {
1223
- if (this.allItemsPopover && this.allItemsPopover.opened) {
980
+ if (this.allItemsPopover?.opened) {
1224
981
  return this.allItemsPopover.querySelector("input");
1225
982
  }
1226
983
  }
1227
- return this.getDomRef() ? this.getDomRef().querySelector("#ui5-multi-combobox-input") : null;
984
+ return this._inputDom;
1228
985
  }
1229
986
  get _headerTitleText() {
1230
- return MultiComboBox.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
987
+ return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
1231
988
  }
1232
989
  get _iconAccessibleNameText() {
1233
- return MultiComboBox.i18nBundle.getText(_i18nDefaults.SELECT_OPTIONS);
990
+ return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.SELECT_OPTIONS);
1234
991
  }
1235
992
  get _dialogOkButton() {
1236
- return MultiComboBox.i18nBundle.getText(_i18nDefaults.MULTICOMBOBOX_DIALOG_OK_BUTTON);
993
+ return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.MULTICOMBOBOX_DIALOG_OK_BUTTON);
1237
994
  }
1238
995
  get _tokenizerExpanded() {
1239
- return (this._isFocusInside || this.open) && !this.readonly;
996
+ if ((0, _Device.isPhone)() || this.readonly) {
997
+ return false;
998
+ }
999
+ if (this._preventTokenizerToggle) {
1000
+ return this._tokenizer.expanded;
1001
+ }
1002
+ const isCurrentlyExpanded = this._tokenizer?.expanded;
1003
+ const shouldBeExpanded = this.focused || this.open || isCurrentlyExpanded;
1004
+ return shouldBeExpanded;
1240
1005
  }
1241
1006
  get _valueStatePopoverHorizontalAlign() {
1242
1007
  return this.effectiveDir !== "rtl" ? "Left" : "Right";
1243
1008
  }
1009
+ get iconsCount() {
1010
+ const slottedIconsCount = this.icon?.length || 0;
1011
+ const arrowDownIconsCount = this.readonly ? 0 : 1;
1012
+ return slottedIconsCount + arrowDownIconsCount;
1013
+ }
1244
1014
  get classes() {
1245
1015
  return {
1246
1016
  popover: {
1247
1017
  "ui5-multi-combobox-all-items-responsive-popover": true,
1248
- "ui5-suggestions-popover": !this.isPhone,
1249
- "ui5-suggestions-popover-with-value-state-header": !this.isPhone && this.hasValueStateMessage
1018
+ "ui5-suggestions-popover": true,
1019
+ "ui5-suggestions-popover-with-value-state-header": this.hasValueStateMessage
1250
1020
  },
1251
1021
  popoverValueState: {
1252
1022
  "ui5-valuestatemessage-root": true,
@@ -1262,7 +1032,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1262
1032
  const remSizeIxPx = parseInt(getComputedStyle(document.documentElement).fontSize);
1263
1033
  return {
1264
1034
  popoverValueStateMessage: {
1265
- "width": `${this._listWidth}px`,
1035
+ "width": `${this._listWidth || 0}px`,
1266
1036
  "display": this._listWidth === 0 ? "none" : "inline-block"
1267
1037
  },
1268
1038
  popoverHeader: {
@@ -1275,9 +1045,124 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1275
1045
  };
1276
1046
  }
1277
1047
  static async onDefine() {
1278
- MultiComboBox.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
1048
+ MultiComboBox_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
1049
+ }
1050
+ };
1051
+ __decorate([(0, _property.default)()], MultiComboBox.prototype, "value", void 0);
1052
+ __decorate([(0, _property.default)({
1053
+ type: Boolean
1054
+ })], MultiComboBox.prototype, "noTypeahead", void 0);
1055
+ __decorate([(0, _property.default)()], MultiComboBox.prototype, "placeholder", void 0);
1056
+ __decorate([(0, _property.default)({
1057
+ type: Boolean
1058
+ })], MultiComboBox.prototype, "allowCustomValues", void 0);
1059
+ __decorate([(0, _property.default)({
1060
+ type: Boolean
1061
+ })], MultiComboBox.prototype, "disabled", void 0);
1062
+ __decorate([(0, _property.default)({
1063
+ type: _ValueState.default,
1064
+ defaultValue: _ValueState.default.None
1065
+ })], MultiComboBox.prototype, "valueState", void 0);
1066
+ __decorate([(0, _property.default)({
1067
+ type: Boolean
1068
+ })], MultiComboBox.prototype, "readonly", void 0);
1069
+ __decorate([(0, _property.default)({
1070
+ type: Boolean
1071
+ })], MultiComboBox.prototype, "required", void 0);
1072
+ __decorate([(0, _property.default)({
1073
+ type: _ComboBoxFilter.default,
1074
+ defaultValue: _ComboBoxFilter.default.StartsWithPerTerm
1075
+ })], MultiComboBox.prototype, "filter", void 0);
1076
+ __decorate([(0, _property.default)({
1077
+ type: Boolean
1078
+ })], MultiComboBox.prototype, "open", void 0);
1079
+ __decorate([(0, _property.default)()], MultiComboBox.prototype, "accessibleName", void 0);
1080
+ __decorate([(0, _property.default)()], MultiComboBox.prototype, "accessibleNameRef", void 0);
1081
+ __decorate([(0, _property.default)({
1082
+ type: Object,
1083
+ noAttribute: true,
1084
+ multiple: true
1085
+ })], MultiComboBox.prototype, "_filteredItems", void 0);
1086
+ __decorate([(0, _property.default)({
1087
+ type: Boolean
1088
+ })], MultiComboBox.prototype, "filterSelected", void 0);
1089
+ __decorate([(0, _property.default)({
1090
+ type: Boolean
1091
+ })], MultiComboBox.prototype, "focused", void 0);
1092
+ __decorate([(0, _property.default)({
1093
+ type: Boolean,
1094
+ noAttribute: true
1095
+ })], MultiComboBox.prototype, "_tokenizerFocused", void 0);
1096
+ __decorate([(0, _property.default)({
1097
+ type: Boolean,
1098
+ noAttribute: true
1099
+ })], MultiComboBox.prototype, "_iconPressed", void 0);
1100
+ __decorate([(0, _property.default)({
1101
+ validator: _Integer.default,
1102
+ noAttribute: true
1103
+ })], MultiComboBox.prototype, "_inputWidth", void 0);
1104
+ __decorate([(0, _property.default)({
1105
+ validator: _Integer.default,
1106
+ noAttribute: true,
1107
+ defaultValue: 0
1108
+ })], MultiComboBox.prototype, "_listWidth", void 0);
1109
+ __decorate([(0, _property.default)({
1110
+ type: Boolean,
1111
+ noAttribute: true
1112
+ })], MultiComboBox.prototype, "_performingSelectionTwice", void 0);
1113
+ __decorate([(0, _property.default)({
1114
+ type: Boolean
1115
+ })], MultiComboBox.prototype, "tokenizerAvailable", void 0);
1116
+ __decorate([(0, _slot.default)({
1117
+ type: HTMLElement,
1118
+ "default": true,
1119
+ invalidateOnChildChange: true
1120
+ })], MultiComboBox.prototype, "items", void 0);
1121
+ __decorate([(0, _slot.default)()], MultiComboBox.prototype, "icon", void 0);
1122
+ __decorate([(0, _slot.default)()], MultiComboBox.prototype, "valueStateMessage", void 0);
1123
+ MultiComboBox = MultiComboBox_1 = __decorate([(0, _customElement.default)({
1124
+ tag: "ui5-multi-combobox",
1125
+ languageAware: true,
1126
+ renderer: _LitRenderer.default,
1127
+ template: _MultiComboBoxTemplate.default,
1128
+ staticAreaTemplate: _MultiComboBoxPopoverTemplate.default,
1129
+ styles: _MultiComboBox.default,
1130
+ staticAreaStyles: [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _Suggestions.default, _MultiComboBoxPopover.default],
1131
+ dependencies: [_MultiComboBoxItem.default, _MultiComboBoxGroupItem.default, _Tokenizer.default, _Token.default, _Icon.default, _ResponsivePopover.default, _Popover.default, _List.default, _StandardListItem.default, _GroupHeaderListItem.default, _ToggleButton.default, _Button.default]
1132
+ })
1133
+ /**
1134
+ * Fired when the input operation has finished by pressing Enter or on focusout.
1135
+ *
1136
+ * @event sap.ui.webc.main.MultiComboBox#change
1137
+ * @public
1138
+ */, (0, _event.default)("change")
1139
+ /**
1140
+ * Fired when the value of the component changes at each keystroke.
1141
+ *
1142
+ * @event sap.ui.webc.main.MultiComboBox#input
1143
+ * @public
1144
+ */, (0, _event.default)("input")
1145
+ /**
1146
+ * Fired when the dropdown is opened or closed.
1147
+ *
1148
+ * @event sap.ui.webc.main.MultiComboBox#open-change
1149
+ * @since 1.0.0-rc.5
1150
+ * @public
1151
+ */, (0, _event.default)("open-change")
1152
+ /**
1153
+ * Fired when selection is changed by user interaction
1154
+ * in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
1155
+ *
1156
+ * @event sap.ui.webc.main.MultiComboBox#selection-change
1157
+ * @param {Array} items an array of the selected items.
1158
+ * @public
1159
+ */, (0, _event.default)("selection-change", {
1160
+ detail: {
1161
+ items: {
1162
+ type: Array
1163
+ }
1279
1164
  }
1280
- }
1165
+ })], MultiComboBox);
1281
1166
  MultiComboBox.define();
1282
1167
  var _default = MultiComboBox;
1283
1168
  _exports.default = _default;