@openui5/sap.ui.webc.main 1.93.1 → 1.96.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 (328) hide show
  1. package/.reuse/dep5 +11 -11
  2. package/THIRDPARTY.txt +20 -17
  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 +16 -26
  6. package/src/sap/ui/webc/main/AvatarGroup.js +4 -20
  7. package/src/sap/ui/webc/main/Badge.js +1 -1
  8. package/src/sap/ui/webc/main/Breadcrumbs.js +128 -0
  9. package/src/sap/ui/webc/main/BreadcrumbsItem.js +98 -0
  10. package/src/sap/ui/webc/main/BusyIndicator.js +9 -1
  11. package/src/sap/ui/webc/main/Button.js +12 -2
  12. package/src/sap/ui/webc/main/Calendar.js +12 -2
  13. package/src/sap/ui/webc/main/CalendarDate.js +1 -1
  14. package/src/sap/ui/webc/main/Card.js +11 -71
  15. package/src/sap/ui/webc/main/CardHeader.js +127 -0
  16. package/src/sap/ui/webc/main/Carousel.js +13 -25
  17. package/src/sap/ui/webc/main/CheckBox.js +14 -7
  18. package/src/sap/ui/webc/main/ColorPalette.js +6 -27
  19. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  20. package/src/sap/ui/webc/main/ColorPicker.js +4 -2
  21. package/src/sap/ui/webc/main/ComboBox.js +22 -17
  22. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +58 -0
  23. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  24. package/src/sap/ui/webc/main/CustomListItem.js +4 -2
  25. package/src/sap/ui/webc/main/DatePicker.js +61 -3
  26. package/src/sap/ui/webc/main/DateRangePicker.js +66 -8
  27. package/src/sap/ui/webc/main/DateTimePicker.js +61 -3
  28. package/src/sap/ui/webc/main/Dialog.js +15 -12
  29. package/src/sap/ui/webc/main/FileUploader.js +1 -1
  30. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  31. package/src/sap/ui/webc/main/Icon.js +1 -1
  32. package/src/sap/ui/webc/main/Input.js +23 -4
  33. package/src/sap/ui/webc/main/Label.js +1 -1
  34. package/src/sap/ui/webc/main/Link.js +12 -2
  35. package/src/sap/ui/webc/main/List.js +38 -2
  36. package/src/sap/ui/webc/main/MessageStrip.js +4 -2
  37. package/src/sap/ui/webc/main/MultiComboBox.js +10 -4
  38. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  39. package/src/sap/ui/webc/main/MultiInput.js +26 -5
  40. package/src/sap/ui/webc/main/Option.js +1 -1
  41. package/src/sap/ui/webc/main/Panel.js +12 -2
  42. package/src/sap/ui/webc/main/Popover.js +21 -8
  43. package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
  44. package/src/sap/ui/webc/main/RadioButton.js +28 -21
  45. package/src/sap/ui/webc/main/RangeSlider.js +7 -3
  46. package/src/sap/ui/webc/main/RatingIndicator.js +12 -3
  47. package/src/sap/ui/webc/main/ResponsivePopover.js +22 -17
  48. package/src/sap/ui/webc/main/SegmentedButton.js +15 -15
  49. package/src/sap/ui/webc/main/SegmentedButtonItem.js +135 -0
  50. package/src/sap/ui/webc/main/Select.js +16 -1
  51. package/src/sap/ui/webc/main/Slider.js +7 -3
  52. package/src/sap/ui/webc/main/StandardListItem.js +4 -2
  53. package/src/sap/ui/webc/main/StepInput.js +19 -2
  54. package/src/sap/ui/webc/main/SuggestionGroupItem.js +58 -0
  55. package/src/sap/ui/webc/main/SuggestionItem.js +1 -11
  56. package/src/sap/ui/webc/main/Switch.js +4 -2
  57. package/src/sap/ui/webc/main/Tab.js +1 -1
  58. package/src/sap/ui/webc/main/TabContainer.js +1 -1
  59. package/src/sap/ui/webc/main/TabSeparator.js +1 -1
  60. package/src/sap/ui/webc/main/Table.js +12 -2
  61. package/src/sap/ui/webc/main/TableCell.js +1 -1
  62. package/src/sap/ui/webc/main/TableColumn.js +1 -1
  63. package/src/sap/ui/webc/main/TableGroupRow.js +69 -0
  64. package/src/sap/ui/webc/main/TableRow.js +1 -1
  65. package/src/sap/ui/webc/main/TextArea.js +22 -3
  66. package/src/sap/ui/webc/main/TimePicker.js +7 -3
  67. package/src/sap/ui/webc/main/Title.js +1 -1
  68. package/src/sap/ui/webc/main/Toast.js +1 -1
  69. package/src/sap/ui/webc/main/ToggleButton.js +12 -2
  70. package/src/sap/ui/webc/main/Token.js +4 -2
  71. package/src/sap/ui/webc/main/Tree.js +1 -1
  72. package/src/sap/ui/webc/main/TreeItem.js +1 -1
  73. package/src/sap/ui/webc/main/library.js +117 -31
  74. package/src/sap/ui/webc/main/thirdparty/Avatar.js +12 -15
  75. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +15 -7
  76. package/src/sap/ui/webc/main/thirdparty/Badge.js +11 -5
  77. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +332 -0
  78. package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +41 -0
  79. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +30 -1
  80. package/src/sap/ui/webc/main/thirdparty/Button.js +2 -9
  81. package/src/sap/ui/webc/main/thirdparty/Calendar.js +12 -4
  82. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +73 -2
  83. package/src/sap/ui/webc/main/thirdparty/Card.js +8 -115
  84. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +141 -0
  85. package/src/sap/ui/webc/main/thirdparty/Carousel.js +89 -36
  86. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +5 -29
  87. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +13 -10
  88. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +0 -3
  89. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +1 -6
  90. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +85 -65
  91. package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +39 -0
  92. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +3 -0
  93. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +44 -14
  94. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +16 -17
  95. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +0 -1
  96. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +23 -4
  97. package/src/sap/ui/webc/main/thirdparty/Dialog.js +117 -32
  98. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +1 -1
  99. package/src/sap/ui/webc/main/thirdparty/Icon.js +17 -1
  100. package/src/sap/ui/webc/main/thirdparty/Input.js +18 -5
  101. package/src/sap/ui/webc/main/thirdparty/Interfaces.js +4 -0
  102. package/src/sap/ui/webc/main/thirdparty/Link.js +44 -6
  103. package/src/sap/ui/webc/main/thirdparty/List.js +12 -5
  104. package/src/sap/ui/webc/main/thirdparty/ListItem.js +6 -0
  105. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +5 -4
  106. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +0 -1
  107. package/src/sap/ui/webc/main/thirdparty/Panel.js +7 -4
  108. package/src/sap/ui/webc/main/thirdparty/Popover.js +8 -8
  109. package/src/sap/ui/webc/main/thirdparty/Popup.js +39 -8
  110. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +18 -16
  111. package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +31 -31
  112. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +4 -4
  113. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +7 -4
  114. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +63 -38
  115. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +39 -0
  116. package/src/sap/ui/webc/main/thirdparty/Select.js +51 -20
  117. package/src/sap/ui/webc/main/thirdparty/StepInput.js +9 -4
  118. package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +36 -0
  119. package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +1 -5
  120. package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +3 -3
  121. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +1 -1
  122. package/src/sap/ui/webc/main/thirdparty/Table.js +9 -2
  123. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +89 -0
  124. package/src/sap/ui/webc/main/thirdparty/TableRow.js +7 -1
  125. package/src/sap/ui/webc/main/thirdparty/TextArea.js +3 -3
  126. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +1 -1
  127. package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +8 -1
  128. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +1 -1
  129. package/src/sap/ui/webc/main/thirdparty/TreeItem.js +3 -0
  130. package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +6 -6
  131. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +11 -3
  132. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +8 -1
  133. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +7 -7
  134. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +47 -47
  135. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +5 -14
  136. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +8 -17
  137. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +4 -14
  138. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +8 -0
  139. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -0
  140. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +6 -15
  141. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +5 -14
  142. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +5 -12
  143. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -12
  144. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +12 -0
  145. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +4 -18
  146. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +12 -21
  147. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +6 -15
  148. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -12
  149. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -12
  150. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +7 -16
  151. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -12
  152. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +19 -26
  153. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +6 -15
  154. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +12 -21
  155. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +6 -15
  156. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +5 -14
  157. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +8 -17
  158. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +12 -20
  159. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +8 -17
  160. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +6 -15
  161. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +6 -15
  162. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -12
  163. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +5 -14
  164. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +23 -32
  165. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +7 -16
  166. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -12
  167. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +4 -13
  168. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +12 -21
  169. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +13 -22
  170. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +7 -16
  171. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +5 -14
  172. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +19 -28
  173. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +8 -17
  174. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +13 -22
  175. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +8 -17
  176. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +8 -17
  177. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -8
  178. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -12
  179. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +9 -18
  180. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +6 -15
  181. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +9 -18
  182. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +8 -17
  183. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +15 -23
  184. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +8 -0
  185. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -12
  186. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +19 -28
  187. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +5 -14
  188. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +7 -16
  189. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +8 -17
  190. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +20 -29
  191. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +4 -13
  192. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +23 -32
  193. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +5 -14
  194. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +5 -14
  195. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +15 -24
  196. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +5 -14
  197. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +9 -18
  198. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorTemplate.lit.js +3 -12
  199. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +3 -12
  200. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -8
  201. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -12
  202. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +7 -0
  203. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +13 -22
  204. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +12 -21
  205. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +7 -16
  206. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +7 -16
  207. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -12
  208. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +5 -14
  209. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +7 -16
  210. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +9 -18
  211. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +3 -12
  212. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +5 -14
  213. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +6 -15
  214. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +8 -17
  215. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +5 -14
  216. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +17 -26
  217. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +4 -13
  218. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +6 -15
  219. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +5 -14
  220. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +1 -1
  221. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +1 -1
  222. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +1 -1
  223. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +13 -0
  224. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +13 -0
  225. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +1 -1
  226. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +1 -1
  227. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +1 -1
  228. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +13 -0
  229. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +1 -1
  230. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +1 -1
  231. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +1 -1
  232. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +1 -1
  233. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +1 -1
  234. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +1 -1
  235. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +1 -1
  236. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +1 -1
  237. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +1 -1
  238. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +1 -1
  239. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +1 -1
  240. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +1 -1
  241. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +1 -1
  242. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +1 -1
  243. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +1 -1
  244. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +1 -1
  245. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +1 -1
  246. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +1 -1
  247. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +1 -1
  248. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +1 -1
  249. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +13 -0
  250. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +1 -1
  251. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +1 -1
  252. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +1 -1
  253. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +1 -1
  254. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  255. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  256. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  257. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  258. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  259. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  260. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  261. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-23b6aec9.js → messagebundle_ar-7754de1c.js} +8 -1
  262. package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-b642f80f.js → messagebundle_bg-041345aa.js} +8 -1
  263. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-20fa76b6.js → messagebundle_ca-df38eb0b.js} +8 -1
  264. package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-f636c9f4.js → messagebundle_cs-51d17321.js} +8 -1
  265. package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-668048df.js → messagebundle_cy-cc129f0c.js} +8 -1
  266. package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-ab0def1e.js → messagebundle_da-bc87b599.js} +8 -1
  267. package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-0bf4dd1a.js → messagebundle_de-518b0a75.js} +8 -1
  268. package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-4962a11e.js → messagebundle_el-9686b145.js} +8 -1
  269. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-d45f8908.js → messagebundle_en-57ad19b6.js} +8 -1
  270. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-22be6c54.js → messagebundle_en_GB-588d53e3.js} +8 -1
  271. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-43f65212.js → messagebundle_en_US_sappsd-e370df7b.js} +8 -1
  272. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-12f3828e.js → messagebundle_en_US_saprigi-adf0ddb3.js} +5 -1
  273. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-e9d14fae.js → messagebundle_en_US_saptrc-261422e2.js} +8 -1
  274. package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-357e1c36.js → messagebundle_es-ec258b44.js} +8 -1
  275. package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-8e0d2258.js → messagebundle_es_MX-5f113e73.js} +8 -1
  276. package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-5a1ea785.js → messagebundle_et-901c732b.js} +8 -1
  277. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-25a76e5c.js → messagebundle_fi-0a2a6323.js} +8 -1
  278. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-48f2bd02.js → messagebundle_fr-5df8899a.js} +8 -1
  279. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-6e11af7d.js → messagebundle_fr_CA-0de6a568.js} +8 -1
  280. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-b8e55814.js → messagebundle_hi-13e67957.js} +8 -1
  281. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-b2f08f08.js → messagebundle_hr-93fbc1d1.js} +8 -1
  282. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-81e9b34e.js → messagebundle_hu-dd94c35e.js} +8 -1
  283. package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-98262baf.js → messagebundle_it-0c46ce25.js} +8 -1
  284. package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-29c5b67e.js → messagebundle_iw-946df0a2.js} +8 -1
  285. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-16deb9b7.js → messagebundle_ja-9cb333bb.js} +8 -1
  286. package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-bc7929b4.js → messagebundle_kk-239d7820.js} +8 -1
  287. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-331e5063.js → messagebundle_ko-6f09e984.js} +8 -1
  288. package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-5708d85e.js → messagebundle_lt-2d4f9935.js} +8 -1
  289. package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-ce9a2b90.js → messagebundle_lv-d73bf0c0.js} +8 -1
  290. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-b991460e.js → messagebundle_ms-9b4b2929.js} +8 -1
  291. package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-89ee9f6c.js → messagebundle_nl-55193168.js} +8 -1
  292. package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-1db10706.js → messagebundle_no-7f4a6832.js} +8 -1
  293. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-49ee2166.js → messagebundle_pl-89c36a34.js} +8 -1
  294. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-e1f22029.js → messagebundle_pt-b87f9645.js} +8 -1
  295. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-19024d29.js → messagebundle_pt_PT-0e8230b0.js} +8 -1
  296. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-9e2d0cd1.js → messagebundle_ro-83e7f44d.js} +8 -1
  297. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-9f439834.js → messagebundle_ru-befd37d0.js} +8 -1
  298. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-3fe24f0e.js → messagebundle_sh-4edec182.js} +8 -1
  299. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-275cf4ec.js → messagebundle_sk-29160489.js} +8 -1
  300. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-f774c011.js → messagebundle_sl-fd9ba370.js} +8 -1
  301. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-716ad2e9.js → messagebundle_sv-57bfda52.js} +8 -1
  302. package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-503e18e9.js → messagebundle_th-184c45a0.js} +8 -1
  303. package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-1db67daa.js → messagebundle_tr-d5781fbb.js} +8 -1
  304. package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-58f2adad.js → messagebundle_uk-e49bb47f.js} +8 -1
  305. package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-f523cd98.js → messagebundle_vi-ce27847a.js} +8 -1
  306. package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-761506cb.js → messagebundle_zh_CN-bdbfb1bd.js} +8 -1
  307. package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-591c0661.js → messagebundle_zh_TW-ca1de535.js} +8 -1
  308. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-09f8e92d.js +9 -0
  309. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-19666884.js +9 -0
  310. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-8e7c6ad9.js +9 -0
  311. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb713657.js +9 -0
  312. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dd8f2f47.js +9 -0
  313. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e3a31f8e.js +9 -0
  314. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e44b2b84.js +9 -0
  315. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +1 -1
  316. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +1 -1
  317. package/src/sap/ui/webc/main/thirdparty/types/{AvatarFitType.js → BreadcrumbsDesign.js} +7 -7
  318. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +24 -0
  319. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +1 -0
  320. package/ui5.yaml +1 -1
  321. package/src/sap/ui/webc/main/DurationPicker.js +0 -271
  322. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-39cac16d.js +0 -9
  323. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4ca42a34.js +0 -9
  324. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-6fc1faf3.js +0 -9
  325. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-94dc708f.js +0 -9
  326. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb1a26d8.js +0 -9
  327. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-d2d877b5.js +0 -9
  328. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e914e4ca.js +0 -9
@@ -13,9 +13,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
13
13
  value: {
14
14
  type: CSSColor__default,
15
15
  },
16
- stableDomRef: {
17
- type: String,
18
- },
19
16
  _tabIndex: {
20
17
  type: String,
21
18
  defaultValue: "-1",
@@ -313,12 +313,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
313
313
  x: ((Math.round(hslColours.l * 100) * 2.56)) - 6.5,
314
314
  y: (256 - (Math.round(hslColours.s * 100) * 2.56)) - 6.5,
315
315
  };
316
- if (this.selectedHue) {
317
- this._hue = this.selectedHue;
318
- this.selectedHue = undefined;
319
- } else {
320
- this._hue = Math.round(hslColours.h * 4.25);
321
- }
316
+ this._hue = this.selectedHue ? this.selectedHue : Math.round(hslColours.h * 4.25);
322
317
  this._setMainColor(this._hue);
323
318
  }
324
319
  get inputsDisabled() {
@@ -1,4 +1,4 @@
1
- sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/util/InvisibleMessage', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-down', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './ComboBoxFilters-f59100bd', './generated/i18n/i18n-defaults', './generated/templates/ComboBoxTemplate.lit', './generated/templates/ComboBoxPopoverTemplate.lit', './generated/themes/ComboBox.css', './generated/themes/ComboBoxPopover.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css', './ComboBoxItem', './Icon', './Popover', './ResponsivePopover', './List', './BusyIndicator', './Button', './StandardListItem'], function (UI5Element, litRender, ValueState, Device, Integer, AriaLabelHelper, announce, slimArrowDown, decline, i18nBundle, Keys, ComboBoxFilters, i18nDefaults, ComboBoxTemplate_lit, ComboBoxPopoverTemplate_lit, ComboBox_css, ComboBoxPopover_css, ResponsivePopoverCommon_css, ValueStateMessage_css, ComboBoxItem, Icon, Popover, ResponsivePopover, List, BusyIndicator, Button, StandardListItem) { 'use strict';
1
+ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/util/InvisibleMessage', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-down', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './ComboBoxFilters-f59100bd', './generated/i18n/i18n-defaults', './generated/templates/ComboBoxTemplate.lit', './generated/templates/ComboBoxPopoverTemplate.lit', './generated/themes/ComboBox.css', './generated/themes/ComboBoxPopover.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css', './ComboBoxItem', './Icon', './Popover', './ResponsivePopover', './List', './BusyIndicator', './Button', './StandardListItem', './ComboBoxGroupItem'], function (UI5Element, litRender, ValueState, Device, Integer, AriaLabelHelper, announce, slimArrowDown, decline, i18nBundle, Keys, ComboBoxFilters, i18nDefaults, ComboBoxTemplate_lit, ComboBoxPopoverTemplate_lit, ComboBox_css, ComboBoxPopover_css, ResponsivePopoverCommon_css, ValueStateMessage_css, ComboBoxItem, Icon, Popover, ResponsivePopover, List, BusyIndicator, Button, StandardListItem, ComboBoxGroupItem) { 'use strict';
2
2
 
3
3
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
4
4
 
@@ -47,11 +47,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
47
47
  focused: {
48
48
  type: Boolean,
49
49
  },
50
- ariaLabel: {
50
+ accessibleName: {
51
51
  type: String,
52
52
  defaultValue: undefined,
53
53
  },
54
- ariaLabelledby: {
54
+ accessibleNameRef: {
55
55
  type: String,
56
56
  defaultValue: "",
57
57
  },
@@ -59,10 +59,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
59
59
  type: Boolean,
60
60
  noAttribute: true,
61
61
  },
62
- _tempValue: {
63
- type: String,
64
- defaultValue: "",
65
- },
66
62
  _filteredItems: {
67
63
  type: Object,
68
64
  },
@@ -120,28 +116,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
120
116
  this._filteredItems = [];
121
117
  this._initialRendering = true;
122
118
  this._itemFocused = false;
123
- this._tempFilterValue = "";
124
119
  this._selectionChanged = false;
125
120
  this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
126
121
  }
127
122
  onBeforeRendering() {
128
- let domValue;
129
123
  if (this._initialRendering) {
130
- domValue = this.value;
131
124
  this._filteredItems = this.items;
132
- } else {
133
- domValue = this.filterValue;
134
- }
135
- if (this._autocomplete && domValue !== "") {
136
- const item = this._autoCompleteValue(domValue);
137
- if (!this._selectionChanged && (item && !item.selected)) {
138
- this.fireEvent("selection-change", {
139
- item,
140
- });
141
- this._selectionChanged = false;
142
- }
143
- } else {
144
- this._tempValue = domValue;
145
125
  }
146
126
  if (!this._initialRendering && this.popover && document.activeElement === this && !this._filteredItems.length) {
147
127
  this.popover.close();
@@ -172,30 +152,27 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
172
152
  }
173
153
  _focusin(event) {
174
154
  this.focused = true;
175
- if (this.filterValue !== this.value) {
176
- this.filterValue = this.value;
177
- }
155
+ this._lastValue = this.value;
178
156
  !Device.isPhone() && event.target.setSelectionRange(0, this.value.length);
179
157
  }
180
158
  _focusout() {
181
159
  this.focused = false;
182
- this._inputChange();
160
+ this._fireChangeEvent();
183
161
  !Device.isPhone() && this._closeRespPopover();
184
162
  }
185
163
  _afterOpenPopover() {
186
164
  this._iconPressed = true;
187
- if (Device.isPhone() && this.value) {
188
- this.filterValue = this.value;
189
- }
190
- this._clearFocus();
191
165
  }
192
166
  _afterClosePopover() {
193
167
  this._iconPressed = false;
194
168
  this._filteredItems = this.items;
195
- this._tempFilterValue = "";
196
169
  if (Device.isPhone()) {
197
170
  this.blur();
198
171
  }
172
+ if (this._selectionPerformed) {
173
+ this._lastValue = this.value;
174
+ this._selectionPerformed = false;
175
+ }
199
176
  }
200
177
  _toggleRespPopover() {
201
178
  if (this.responsivePopover.opened) {
@@ -218,7 +195,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
218
195
  }
219
196
  async openValueStatePopover() {
220
197
  this.popover = await this._getPopover();
221
- this.popover && this.popover.openBy(this);
198
+ this.popover && this.popover.showAt(this);
222
199
  }
223
200
  async closeValueStatePopover() {
224
201
  this.popover = await this._getPopover();
@@ -242,11 +219,21 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
242
219
  if (event.target === this.inner) {
243
220
  event.stopImmediatePropagation();
244
221
  }
245
- this._clearFocus();
246
- this._tempFilterValue = value;
222
+ this._filteredItems = this._filterItems(value);
223
+ this.value = value;
247
224
  this.filterValue = value;
225
+ this._clearFocus();
226
+ if (this._autocomplete && value !== "") {
227
+ const item = this._autoCompleteValue(value);
228
+ if (!this._selectionChanged && (item && !item.selected && !item.isGroupItem)) {
229
+ this.fireEvent("selection-change", {
230
+ item,
231
+ });
232
+ this._selectionChanged = false;
233
+ item.focused = true;
234
+ }
235
+ }
248
236
  this.fireEvent("input");
249
- this._filteredItems = this._filterItems(value);
250
237
  if (Device.isPhone()) {
251
238
  return;
252
239
  }
@@ -265,7 +252,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
265
252
  return item;
266
253
  });
267
254
  }
268
- handleArrowKeyPress(event) {
255
+ async handleArrowKeyPress(event) {
269
256
  if (this.readonly || !this._filteredItems.length) {
270
257
  return;
271
258
  }
@@ -282,18 +269,26 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
282
269
  this._clearFocus();
283
270
  indexOfItem += isArrowDown ? 1 : -1;
284
271
  indexOfItem = indexOfItem < 0 ? 0 : indexOfItem;
272
+ this._filteredItems[indexOfItem].focused = true;
285
273
  if (this.responsivePopover.opened) {
286
274
  this.announceSelectedItem(indexOfItem);
287
275
  }
288
- this._filteredItems[indexOfItem].focused = true;
289
- this.filterValue = this._filteredItems[indexOfItem].text;
276
+ this.value = this._filteredItems[indexOfItem].isGroupItem ? this.filterValue : this._filteredItems[indexOfItem].text;
290
277
  this._isKeyNavigation = true;
291
278
  this._itemFocused = true;
292
- this.fireEvent("input");
293
- this.fireEvent("selection-change", {
294
- item: this._filteredItems[indexOfItem],
295
- });
296
279
  this._selectionChanged = true;
280
+ if (this._filteredItems[indexOfItem].isGroupItem) {
281
+ return;
282
+ }
283
+ this._filteredItems[indexOfItem].selected = true;
284
+ const item = this._autoCompleteValue(this.value);
285
+ if ((item && !item.selected)) {
286
+ this.fireEvent("selection-change", {
287
+ item,
288
+ });
289
+ }
290
+ this.fireEvent("input");
291
+ this._fireChangeEvent();
297
292
  }
298
293
  _keydown(event) {
299
294
  const isArrowKey = Keys.isDown(event) || Keys.isUp(event);
@@ -302,7 +297,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
302
297
  this.handleArrowKeyPress(event);
303
298
  }
304
299
  if (Keys.isEnter(event)) {
305
- this._inputChange();
300
+ this._fireChangeEvent();
306
301
  this._closeRespPopover();
307
302
  }
308
303
  if (Keys.isShow(event) && !this.readonly && !this.disabled) {
@@ -320,32 +315,46 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
320
315
  if (Device.isPhone() && event && event.target.classList.contains("ui5-responsive-popover-close-btn") && this._selectedItemText) {
321
316
  this.value = this._selectedItemText;
322
317
  this.filterValue = this._selectedItemText;
323
- this._tempValue = this._selectedItemText;
324
318
  }
325
319
  this.responsivePopover.close();
326
320
  }
327
321
  _openRespPopover() {
328
- this.responsivePopover.open(this);
322
+ this.responsivePopover.showAt(this);
329
323
  }
330
324
  _filterItems(str) {
331
- return (ComboBoxFilters.Filters[this.filter] || ComboBoxFilters.StartsWithPerTerm)(str, this.items);
325
+ const itemsToFilter = this.items.filter(item => !item.isGroupItem);
326
+ const filteredItems = (ComboBoxFilters.Filters[this.filter] || ComboBoxFilters.StartsWithPerTerm)(str, itemsToFilter);
327
+ return this.items.filter((item, idx, allItems) => ComboBox._groupItemFilter(item, ++idx, allItems, filteredItems) || filteredItems.indexOf(item) !== -1);
328
+ }
329
+ static _groupItemFilter(item, idx, allItems, filteredItems) {
330
+ if (item.isGroupItem) {
331
+ let groupHasFilteredItems;
332
+ while (allItems[idx] && !allItems[idx].isGroupItem && !groupHasFilteredItems) {
333
+ groupHasFilteredItems = filteredItems.indexOf(allItems[idx]) !== -1;
334
+ idx++;
335
+ }
336
+ return groupHasFilteredItems;
337
+ }
332
338
  }
333
339
  _autoCompleteValue(current) {
334
- const currentValue = current;
335
- const matchingItems = this._startsWithMatchingItems(currentValue);
336
- const selectionValue = this._tempFilterValue ? this._tempFilterValue : currentValue;
340
+ const currentlyFocusedItem = this.items.find(item => item.focused === true);
341
+ if (currentlyFocusedItem && currentlyFocusedItem.isGroupItem) {
342
+ this.value = this.filterValue;
343
+ return;
344
+ }
345
+ const matchingItems = this._startsWithMatchingItems(current).filter(item => !item.isGroupItem);
337
346
  if (matchingItems.length) {
338
- this._tempValue = matchingItems[0] ? matchingItems[0].text : current;
347
+ this.value = matchingItems[0] ? matchingItems[0].text : current;
339
348
  } else {
340
- this._tempValue = current;
349
+ this.value = current;
341
350
  }
342
- if (matchingItems.length && (selectionValue !== this._tempValue && this.value !== this._tempValue)) {
351
+ if (this._isKeyNavigation) {
343
352
  setTimeout(() => {
344
- this.inner.setSelectionRange(selectionValue.length, this._tempValue.length);
353
+ this.inner.setSelectionRange(this.filterValue.length, this.value.length);
345
354
  }, 0);
346
- } else if (this._isKeyNavigation) {
355
+ } else if (matchingItems.length) {
347
356
  setTimeout(() => {
348
- this.inner.setSelectionRange(0, this._tempValue.length);
357
+ this.inner.setSelectionRange(this.filterValue.length, this.value.length);
349
358
  }, 0);
350
359
  }
351
360
  if (matchingItems.length) {
@@ -353,26 +362,35 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
353
362
  }
354
363
  }
355
364
  _selectMatchingItem() {
365
+ const currentlyFocusedItem = this.items.find(item => item.focused);
366
+ const shouldSelectionBeCleared = currentlyFocusedItem && currentlyFocusedItem.isGroupItem;
356
367
  this._filteredItems = this._filteredItems.map(item => {
357
- item.selected = (item.text === this._tempValue);
368
+ item.selected = !item.isGroupItem && (item.text === this.value) && !shouldSelectionBeCleared;
358
369
  return item;
359
370
  });
360
371
  }
361
- _inputChange() {
362
- if (this.value !== this._tempValue) {
363
- this.value = this._tempValue;
372
+ _fireChangeEvent() {
373
+ if (this.value !== this._lastValue) {
364
374
  this.fireEvent("change");
365
- this.inner.setSelectionRange(this.value.length, this.value.length);
375
+ this._lastValue = this.value;
366
376
  }
367
377
  }
378
+ _inputChange(event) {
379
+ event.preventDefault();
380
+ }
368
381
  _itemMousedown(event) {
369
382
  event.preventDefault();
370
383
  }
371
384
  _selectItem(event) {
372
385
  const listItem = event.detail.item;
373
- this._tempValue = listItem.mappedItem.text;
374
386
  this._selectedItemText = listItem.mappedItem.text;
375
- this.filterValue = this._tempValue;
387
+ this._selectionPerformed = true;
388
+ const sameItemSelected = this.value === this._selectedItemText;
389
+ const sameSelectionPerformed = this.value.toLowerCase() === this.filterValue.toLowerCase();
390
+ if (sameItemSelected && sameSelectionPerformed) {
391
+ return this._closeRespPopover();
392
+ }
393
+ this.value = this._selectedItemText;
376
394
  if (!listItem.mappedItem.selected) {
377
395
  this.fireEvent("selection-change", {
378
396
  item: listItem.mappedItem,
@@ -380,11 +398,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
380
398
  this._selectionChanged = true;
381
399
  }
382
400
  this._filteredItems.map(item => {
383
- item.selected = (item === listItem.mappedItem);
401
+ item.selected = (item === listItem.mappedItem && !item.isGroupItem);
384
402
  return item;
385
403
  });
386
- this._inputChange();
404
+ this._fireChangeEvent();
387
405
  this._closeRespPopover();
406
+ this.inner.setSelectionRange(this.value.length, this.value.length);
388
407
  }
389
408
  _onItemFocus(event) {
390
409
  this._itemFocused = true;
@@ -463,6 +482,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
463
482
  Button,
464
483
  StandardListItem,
465
484
  Popover,
485
+ ComboBoxGroupItem,
466
486
  ];
467
487
  }
468
488
  get styles() {
@@ -0,0 +1,39 @@
1
+ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', './GroupHeaderListItem'], function (UI5Element, GroupHeaderListItem) { 'use strict';
2
+
3
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
4
+
5
+ var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
6
+
7
+ const metadata = {
8
+ tag: "ui5-cb-group-item",
9
+ properties: {
10
+ text: {
11
+ type: String,
12
+ },
13
+ focused: {
14
+ type: Boolean,
15
+ },
16
+ },
17
+ slots: {
18
+ },
19
+ events: {
20
+ },
21
+ };
22
+ class ComboBoxGroupItem extends UI5Element__default {
23
+ static get metadata() {
24
+ return metadata;
25
+ }
26
+ static get dependencies() {
27
+ return [
28
+ GroupHeaderListItem,
29
+ ];
30
+ }
31
+ get isGroupItem() {
32
+ return true;
33
+ }
34
+ }
35
+ ComboBoxGroupItem.define();
36
+
37
+ return ComboBoxGroupItem;
38
+
39
+ });
@@ -16,6 +16,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
16
16
  primaryCalendarType: {
17
17
  type: CalendarType__default,
18
18
  },
19
+ secondaryCalendarType: {
20
+ type: CalendarType__default,
21
+ },
19
22
  minDate: {
20
23
  type: String,
21
24
  },
@@ -39,10 +39,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
39
39
  hideWeekNumbers: {
40
40
  type: Boolean,
41
41
  },
42
- ariaLabel: {
42
+ accessibleName: {
43
43
  type: String,
44
44
  },
45
- ariaLabelledby: {
45
+ accessibleNameRef: {
46
46
  type: String,
47
47
  defaultValue: "",
48
48
  },
@@ -67,8 +67,26 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
67
67
  },
68
68
  },
69
69
  events: {
70
- change: {},
71
- input: {},
70
+ change: {
71
+ details: {
72
+ value: {
73
+ type: String,
74
+ },
75
+ valid: {
76
+ type: Boolean,
77
+ },
78
+ },
79
+ },
80
+ input: {
81
+ details: {
82
+ value: {
83
+ type: String,
84
+ },
85
+ valid: {
86
+ type: Boolean,
87
+ },
88
+ },
89
+ },
72
90
  },
73
91
  };
74
92
  class DatePicker extends DateComponentBase {
@@ -91,9 +109,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
91
109
  this._isPickerOpen = false;
92
110
  if (Device.isPhone()) {
93
111
  this.blur();
94
- } else if (this._focusInputAfterClose) {
112
+ } else {
95
113
  this._getInput().focus();
96
- this._focusInputAfterClose = false;
97
114
  }
98
115
  }
99
116
  onBeforeRendering() {
@@ -108,6 +125,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
108
125
  } else if (this.name) {
109
126
  console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";`);
110
127
  }
128
+ this.liveValue = this.value;
111
129
  }
112
130
  get _calendarSelectionMode() {
113
131
  return "Single";
@@ -172,13 +190,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
172
190
  if (valid && normalizeValue) {
173
191
  value = this.normalizeValue(value);
174
192
  }
193
+ let executeEvent = true;
194
+ this.liveValue = value;
195
+ events.forEach(event => {
196
+ if (!this.fireEvent(event, { value, valid }, true)) {
197
+ executeEvent = false;
198
+ }
199
+ });
200
+ if (!executeEvent) {
201
+ return;
202
+ }
175
203
  if (updateValue) {
176
204
  this.value = value;
177
205
  this._updateValueState();
178
206
  }
179
- events.forEach(event => {
180
- this.fireEvent(event, { value, valid });
181
- });
182
207
  }
183
208
  _updateValueState() {
184
209
  const isValid = this._checkValueValidity(this.value);
@@ -210,7 +235,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
210
235
  }
211
236
  _click(event) {
212
237
  if (Device.isPhone()) {
213
- this.responsivePopover.open(this);
238
+ this.responsivePopover.showAt(this);
214
239
  event.preventDefault();
215
240
  }
216
241
  }
@@ -289,9 +314,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
289
314
  event.preventDefault();
290
315
  const newValue = event.detail.values && event.detail.values[0];
291
316
  this._updateValueAndFireEvents(newValue, true, ["change", "value-changed"]);
292
- this._focusInputAfterClose = true;
293
317
  this.closePicker();
294
318
  }
319
+ onHeaderShowMonthPress() {
320
+ this._calendarCurrentPicker = "month";
321
+ }
322
+ onHeaderShowYearPress() {
323
+ this._calendarCurrentPicker = "year";
324
+ }
295
325
  formatValue(date) {
296
326
  return this.getFormat().format(date);
297
327
  }
@@ -302,7 +332,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
302
332
  this._isPickerOpen = true;
303
333
  this._calendarCurrentPicker = "day";
304
334
  this.responsivePopover = await this._respPopover();
305
- this.responsivePopover.open(this);
335
+ this.responsivePopover.showAt(this);
306
336
  }
307
337
  togglePicker() {
308
338
  if (this.isOpen()) {
@@ -315,10 +345,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
315
345
  return !!this._isPickerOpen;
316
346
  }
317
347
  get dateValue() {
318
- return this.getFormat().parse(this.value);
348
+ return this.liveValue ? this.getFormat().parse(this.liveValue) : this.getFormat().parse(this.value);
319
349
  }
320
350
  get dateValueUTC() {
321
- return this.getFormat().parse(this.value, true);
351
+ return this.liveValue ? this.getFormat().parse(this.liveValue, true) : this.getFormat().parse(this.value);
322
352
  }
323
353
  get styles() {
324
354
  return {
@@ -25,10 +25,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
25
25
  static get styles() {
26
26
  return [DatePicker.styles, DateRangePicker_css];
27
27
  }
28
- get _firstDateTimestamp() {
28
+ get _startDateTimestamp() {
29
29
  return this._extractFirstTimestamp(this.value);
30
30
  }
31
- get _lastDateTimestamp() {
31
+ get _endDateTimestamp() {
32
32
  return this._extractLastTimestamp(this.value);
33
33
  }
34
34
  get _tempTimestamp() {
@@ -38,7 +38,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
38
38
  return "Range";
39
39
  }
40
40
  get _calendarTimestamp() {
41
- return this._tempTimestamp || this._firstDateTimestamp || getTodayUTCTimestamp__default(this._primaryCalendarType);
41
+ return this._tempTimestamp || this._startDateTimestamp || getTodayUTCTimestamp__default(this._primaryCalendarType);
42
42
  }
43
43
  get _calendarSelectedDates() {
44
44
  if (this._tempValue) {
@@ -49,11 +49,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
49
49
  }
50
50
  return [];
51
51
  }
52
- get firstDateValue() {
53
- return CalendarDate__default.fromTimestamp(this._firstDateTimestamp * 1000).toLocalJSDate();
52
+ get startDateValue() {
53
+ return CalendarDate__default.fromTimestamp(this._startDateTimestamp * 1000).toLocalJSDate();
54
54
  }
55
- get lastDateValue() {
56
- return CalendarDate__default.fromTimestamp(this._lastDateTimestamp * 1000).toLocalJSDate();
55
+ get endDateValue() {
56
+ return CalendarDate__default.fromTimestamp(this._endDateTimestamp * 1000).toLocalJSDate();
57
57
  }
58
58
  get _placeholder() {
59
59
  return this.placeholder !== undefined ? this.placeholder : `${this._displayFormat} ${this._effectiveDelimiter} ${this._displayFormat}`;
@@ -98,28 +98,27 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
98
98
  }
99
99
  const newValue = this._buildValue(...event.detail.dates);
100
100
  this._updateValueAndFireEvents(newValue, true, ["change", "value-changed"]);
101
- this._focusInputAfterClose = true;
102
101
  this.closePicker();
103
102
  }
104
103
  async _modifyDateValue(amount, unit) {
105
- if (!this._lastDateTimestamp) {
104
+ if (!this._endDateTimestamp) {
106
105
  return super._modifyDateValue(amount, unit);
107
106
  }
108
107
  const input = this._getInput();
109
108
  let caretPos = input.getCaretPosition();
110
109
  let newValue;
111
110
  if (caretPos <= this.value.indexOf(this._effectiveDelimiter)) {
112
- const firstDateModified = modifyDateBy__default(CalendarDate__default.fromTimestamp(this._firstDateTimestamp * 1000), amount, unit, this._minDate, this._maxDate);
113
- const newFirstDateTimestamp = firstDateModified.valueOf() / 1000;
114
- if (newFirstDateTimestamp > this._lastDateTimestamp) {
111
+ const startDateModified = modifyDateBy__default(CalendarDate__default.fromTimestamp(this._startDateTimestamp * 1000), amount, unit, this._minDate, this._maxDate);
112
+ const newStartDateTimestamp = startDateModified.valueOf() / 1000;
113
+ if (newStartDateTimestamp > this._endDateTimestamp) {
115
114
  caretPos += Math.ceil(this.value.length / 2);
116
115
  }
117
- newValue = this._buildValue(newFirstDateTimestamp, this._lastDateTimestamp);
116
+ newValue = this._buildValue(newStartDateTimestamp, this._endDateTimestamp);
118
117
  } else {
119
- const lastDateModified = modifyDateBy__default(CalendarDate__default.fromTimestamp(this._lastDateTimestamp * 1000), amount, unit, this._minDate, this._maxDate);
120
- const newLastDateTimestamp = lastDateModified.valueOf() / 1000;
121
- newValue = this._buildValue(this._firstDateTimestamp, newLastDateTimestamp);
122
- if (newLastDateTimestamp < this._firstDateTimestamp) {
118
+ const endDateModified = modifyDateBy__default(CalendarDate__default.fromTimestamp(this._endDateTimestamp * 1000), amount, unit, this._minDate, this._maxDate);
119
+ const newEndDateTimestamp = endDateModified.valueOf() / 1000;
120
+ newValue = this._buildValue(this._startDateTimestamp, newEndDateTimestamp);
121
+ if (newEndDateTimestamp < this._startDateTimestamp) {
123
122
  caretPos -= Math.ceil(this.value.length / 2);
124
123
  }
125
124
  }
@@ -168,7 +168,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap
168
168
  this.fireEvent("change", { value: this.value, valid });
169
169
  this.fireEvent("value-changed", { value: this.value, valid });
170
170
  }
171
- this._focusInputAfterClose = true;
172
171
  this._updateValueState();
173
172
  this.closePicker();
174
173
  }