@openui5/sap.ui.webc.main 1.111.1 → 1.112.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 (399) hide show
  1. package/package.json +3 -3
  2. package/src/sap/ui/webc/main/.library +1 -1
  3. package/src/sap/ui/webc/main/Avatar.js +1 -1
  4. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  5. package/src/sap/ui/webc/main/Badge.js +1 -1
  6. package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
  7. package/src/sap/ui/webc/main/BreadcrumbsItem.js +1 -1
  8. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  9. package/src/sap/ui/webc/main/Button.js +1 -1
  10. package/src/sap/ui/webc/main/Calendar.js +1 -1
  11. package/src/sap/ui/webc/main/CalendarDate.js +1 -1
  12. package/src/sap/ui/webc/main/Card.js +1 -1
  13. package/src/sap/ui/webc/main/CardHeader.js +1 -1
  14. package/src/sap/ui/webc/main/Carousel.js +1 -1
  15. package/src/sap/ui/webc/main/CheckBox.js +1 -1
  16. package/src/sap/ui/webc/main/ColorPalette.js +1 -1
  17. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  18. package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
  19. package/src/sap/ui/webc/main/ColorPicker.js +1 -1
  20. package/src/sap/ui/webc/main/ComboBox.js +1 -1
  21. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
  22. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  23. package/src/sap/ui/webc/main/CustomListItem.js +1 -1
  24. package/src/sap/ui/webc/main/DatePicker.js +2 -2
  25. package/src/sap/ui/webc/main/DateRangePicker.js +2 -2
  26. package/src/sap/ui/webc/main/DateTimePicker.js +2 -2
  27. package/src/sap/ui/webc/main/Dialog.js +1 -1
  28. package/src/sap/ui/webc/main/FileUploader.js +1 -1
  29. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  30. package/src/sap/ui/webc/main/Icon.js +5 -11
  31. package/src/sap/ui/webc/main/Input.js +1 -1
  32. package/src/sap/ui/webc/main/Label.js +1 -1
  33. package/src/sap/ui/webc/main/Link.js +1 -1
  34. package/src/sap/ui/webc/main/List.js +1 -1
  35. package/src/sap/ui/webc/main/Menu.js +1 -1
  36. package/src/sap/ui/webc/main/MenuItem.js +1 -1
  37. package/src/sap/ui/webc/main/MessageStrip.js +1 -1
  38. package/src/sap/ui/webc/main/MultiComboBox.js +1 -1
  39. package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
  40. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  41. package/src/sap/ui/webc/main/MultiInput.js +1 -1
  42. package/src/sap/ui/webc/main/Option.js +1 -1
  43. package/src/sap/ui/webc/main/Panel.js +1 -1
  44. package/src/sap/ui/webc/main/Popover.js +1 -1
  45. package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
  46. package/src/sap/ui/webc/main/RadioButton.js +1 -1
  47. package/src/sap/ui/webc/main/RangeSlider.js +1 -1
  48. package/src/sap/ui/webc/main/RatingIndicator.js +1 -1
  49. package/src/sap/ui/webc/main/ResponsivePopover.js +1 -1
  50. package/src/sap/ui/webc/main/SegmentedButton.js +1 -1
  51. package/src/sap/ui/webc/main/SegmentedButtonItem.js +1 -1
  52. package/src/sap/ui/webc/main/Select.js +1 -1
  53. package/src/sap/ui/webc/main/Slider.js +1 -1
  54. package/src/sap/ui/webc/main/SplitButton.js +1 -1
  55. package/src/sap/ui/webc/main/StandardListItem.js +1 -1
  56. package/src/sap/ui/webc/main/StepInput.js +1 -1
  57. package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
  58. package/src/sap/ui/webc/main/SuggestionItem.js +1 -1
  59. package/src/sap/ui/webc/main/Switch.js +1 -1
  60. package/src/sap/ui/webc/main/Tab.js +1 -1
  61. package/src/sap/ui/webc/main/TabContainer.js +1 -1
  62. package/src/sap/ui/webc/main/TabSeparator.js +1 -1
  63. package/src/sap/ui/webc/main/Table.js +1 -1
  64. package/src/sap/ui/webc/main/TableCell.js +1 -1
  65. package/src/sap/ui/webc/main/TableColumn.js +1 -1
  66. package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
  67. package/src/sap/ui/webc/main/TableRow.js +1 -1
  68. package/src/sap/ui/webc/main/TextArea.js +1 -1
  69. package/src/sap/ui/webc/main/TimePicker.js +2 -2
  70. package/src/sap/ui/webc/main/Title.js +1 -1
  71. package/src/sap/ui/webc/main/Toast.js +1 -1
  72. package/src/sap/ui/webc/main/ToggleButton.js +1 -1
  73. package/src/sap/ui/webc/main/Token.js +1 -1
  74. package/src/sap/ui/webc/main/Tree.js +1 -1
  75. package/src/sap/ui/webc/main/TreeItem.js +1 -1
  76. package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
  77. package/src/sap/ui/webc/main/library.config.js +6 -0
  78. package/src/sap/ui/webc/main/library.js +2 -2
  79. package/src/sap/ui/webc/main/thirdparty/Avatar.js +7 -51
  80. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +34 -100
  81. package/src/sap/ui/webc/main/thirdparty/Badge.js +4 -23
  82. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +43 -145
  83. package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +4 -17
  84. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +7 -36
  85. package/src/sap/ui/webc/main/thirdparty/Button.js +6 -73
  86. package/src/sap/ui/webc/main/thirdparty/Calendar.js +19 -74
  87. package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +2 -8
  88. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +1 -29
  89. package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +6 -26
  90. package/src/sap/ui/webc/main/thirdparty/Card.js +5 -26
  91. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +4 -47
  92. package/src/sap/ui/webc/main/thirdparty/Carousel.js +17 -107
  93. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +9 -63
  94. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +5 -83
  95. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +4 -26
  96. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +7 -41
  97. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +51 -123
  98. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +24 -212
  99. package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +5 -18
  100. package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +2 -9
  101. package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +3 -20
  102. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -25
  103. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +28 -127
  104. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +20 -85
  105. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +20 -66
  106. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +32 -158
  107. package/src/sap/ui/webc/main/thirdparty/Dialog.js +18 -104
  108. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +11 -56
  109. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +9 -83
  110. package/src/sap/ui/webc/main/thirdparty/Filters.js +0 -9
  111. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -20
  112. package/src/sap/ui/webc/main/thirdparty/Icon.js +8 -53
  113. package/src/sap/ui/webc/main/thirdparty/Input.js +75 -273
  114. package/src/sap/ui/webc/main/thirdparty/Interfaces.js +19 -20
  115. package/src/sap/ui/webc/main/thirdparty/Label.js +5 -21
  116. package/src/sap/ui/webc/main/thirdparty/Link.js +5 -48
  117. package/src/sap/ui/webc/main/thirdparty/List.js +33 -183
  118. package/src/sap/ui/webc/main/thirdparty/ListItem.js +10 -76
  119. package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +5 -37
  120. package/src/sap/ui/webc/main/thirdparty/Menu.js +8 -91
  121. package/src/sap/ui/webc/main/thirdparty/MenuItem.js +3 -21
  122. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +4 -34
  123. package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +12 -61
  124. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +25 -299
  125. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +5 -18
  126. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +2 -9
  127. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +10 -71
  128. package/src/sap/ui/webc/main/thirdparty/Option.js +5 -22
  129. package/src/sap/ui/webc/main/thirdparty/Panel.js +4 -62
  130. package/src/sap/ui/webc/main/thirdparty/Popover.js +28 -143
  131. package/src/sap/ui/webc/main/thirdparty/Popup.js +20 -118
  132. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +6 -38
  133. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +8 -76
  134. package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +8 -54
  135. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +79 -170
  136. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +6 -49
  137. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -35
  138. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +9 -57
  139. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +2 -15
  140. package/src/sap/ui/webc/main/thirdparty/Select.js +15 -131
  141. package/src/sap/ui/webc/main/thirdparty/Slider.js +24 -65
  142. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +74 -164
  143. package/src/sap/ui/webc/main/thirdparty/SplitButton.js +6 -67
  144. package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +3 -25
  145. package/src/sap/ui/webc/main/thirdparty/StepInput.js +12 -106
  146. package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +5 -17
  147. package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +4 -22
  148. package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +2 -12
  149. package/src/sap/ui/webc/main/thirdparty/Switch.js +6 -41
  150. package/src/sap/ui/webc/main/thirdparty/Tab.js +6 -83
  151. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +39 -259
  152. package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +2 -17
  153. package/src/sap/ui/webc/main/thirdparty/Table.js +25 -185
  154. package/src/sap/ui/webc/main/thirdparty/TableCell.js +4 -18
  155. package/src/sap/ui/webc/main/thirdparty/TableColumn.js +4 -18
  156. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +5 -28
  157. package/src/sap/ui/webc/main/thirdparty/TableRow.js +7 -81
  158. package/src/sap/ui/webc/main/thirdparty/TextArea.js +7 -97
  159. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +3 -16
  160. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +14 -93
  161. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +7 -95
  162. package/src/sap/ui/webc/main/thirdparty/Title.js +4 -22
  163. package/src/sap/ui/webc/main/thirdparty/Toast.js +8 -31
  164. package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +2 -14
  165. package/src/sap/ui/webc/main/thirdparty/Token.js +4 -36
  166. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -117
  167. package/src/sap/ui/webc/main/thirdparty/Tree.js +7 -53
  168. package/src/sap/ui/webc/main/thirdparty/TreeItem.js +4 -22
  169. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +5 -45
  170. package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +6 -93
  171. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +22 -72
  172. package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +0 -8
  173. package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +2 -19
  174. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +24 -165
  175. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +0 -16
  176. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +0 -52
  177. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +1 -4
  178. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +1 -7
  179. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -3
  180. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +1 -3
  181. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +1 -4
  182. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -5
  183. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +1 -4
  184. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +1 -4
  185. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -2
  186. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +1 -7
  187. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -3
  188. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -11
  189. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -5
  190. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +1 -2
  191. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -2
  192. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +1 -3
  193. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +1 -7
  194. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -2
  195. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +1 -18
  196. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +1 -5
  197. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +1 -11
  198. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -5
  199. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +1 -4
  200. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -7
  201. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +1 -11
  202. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +1 -7
  203. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +1 -6
  204. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -5
  205. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -2
  206. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +1 -4
  207. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +1 -22
  208. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -7
  209. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +1 -2
  210. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +1 -3
  211. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +1 -11
  212. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +1 -10
  213. package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +1 -10
  214. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +1 -6
  215. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +1 -4
  216. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +1 -25
  217. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +1 -7
  218. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -11
  219. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +1 -7
  220. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +1 -7
  221. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +1 -2
  222. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +1 -2
  223. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +1 -12
  224. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -5
  225. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -11
  226. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +1 -11
  227. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +1 -14
  228. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +1 -3
  229. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +1 -2
  230. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +1 -18
  231. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -4
  232. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +1 -9
  233. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -10
  234. package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +1 -2
  235. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +1 -19
  236. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +1 -5
  237. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +1 -22
  238. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -6
  239. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +1 -3
  240. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -11
  241. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +1 -6
  242. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +1 -9
  243. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +1 -2
  244. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +1 -2
  245. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +1 -3
  246. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +1 -2
  247. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +1 -2
  248. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +1 -2
  249. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +1 -10
  250. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +1 -11
  251. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +1 -6
  252. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +1 -6
  253. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -2
  254. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -4
  255. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -6
  256. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +1 -8
  257. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +1 -3
  258. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +1 -4
  259. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +1 -5
  260. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +1 -7
  261. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +1 -4
  262. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +1 -16
  263. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -3
  264. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +1 -5
  265. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +1 -4
  266. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +0 -2
  267. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +0 -2
  268. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +0 -2
  269. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +0 -2
  270. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +0 -2
  271. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +0 -2
  272. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +0 -2
  273. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +0 -2
  274. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +0 -2
  275. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +0 -2
  276. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +0 -2
  277. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +0 -2
  278. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +0 -2
  279. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +0 -2
  280. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +0 -2
  281. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +0 -2
  282. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +0 -2
  283. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +0 -2
  284. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +0 -2
  285. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +0 -2
  286. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +0 -2
  287. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +0 -2
  288. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +0 -2
  289. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +0 -2
  290. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +0 -2
  291. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +0 -2
  292. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +0 -2
  293. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +0 -2
  294. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +0 -2
  295. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +0 -2
  296. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +0 -2
  297. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +0 -2
  298. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +0 -2
  299. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +0 -2
  300. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +0 -2
  301. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +0 -2
  302. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +0 -2
  303. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +0 -2
  304. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +0 -2
  305. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +0 -2
  306. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +0 -2
  307. package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +0 -2
  308. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +0 -2
  309. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +0 -2
  310. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +0 -2
  311. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +0 -2
  312. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +0 -2
  313. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +0 -2
  314. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +0 -2
  315. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +0 -2
  316. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +0 -2
  317. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +0 -2
  318. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +0 -2
  319. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +0 -2
  320. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +0 -2
  321. package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +0 -2
  322. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +0 -2
  323. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +0 -2
  324. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +0 -2
  325. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +0 -2
  326. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +0 -2
  327. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +0 -2
  328. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +0 -2
  329. package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +0 -2
  330. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +0 -2
  331. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +0 -2
  332. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +0 -2
  333. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +0 -2
  334. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +0 -2
  335. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +0 -2
  336. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +0 -2
  337. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +0 -2
  338. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +0 -2
  339. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +0 -2
  340. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +0 -2
  341. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +0 -2
  342. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +0 -2
  343. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +0 -2
  344. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +0 -2
  345. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +0 -2
  346. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +0 -2
  347. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +0 -2
  348. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +0 -2
  349. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +0 -2
  350. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +0 -2
  351. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +0 -2
  352. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +0 -2
  353. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +0 -2
  354. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +0 -2
  355. package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +0 -2
  356. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +0 -2
  357. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -2
  358. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +0 -2
  359. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +0 -2
  360. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +0 -2
  361. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +0 -12
  362. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +4 -33
  363. package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +0 -26
  364. package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +1 -15
  365. package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +1 -6
  366. package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +1 -6
  367. package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +1 -9
  368. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +1 -6
  369. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +1 -10
  370. package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +1 -7
  371. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +1 -10
  372. package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +1 -7
  373. package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +1 -6
  374. package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +1 -7
  375. package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +1 -9
  376. package/src/sap/ui/webc/main/thirdparty/types/InputType.js +1 -10
  377. package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +1 -7
  378. package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +1 -7
  379. package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +1 -7
  380. package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +1 -11
  381. package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +1 -7
  382. package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +1 -8
  383. package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +1 -7
  384. package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +1 -8
  385. package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +1 -8
  386. package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +1 -8
  387. package/src/sap/ui/webc/main/thirdparty/types/Priority.js +1 -8
  388. package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +1 -9
  389. package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +1 -6
  390. package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +1 -6
  391. package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +1 -6
  392. package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +1 -7
  393. package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +1 -7
  394. package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +1 -6
  395. package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +1 -6
  396. package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +1 -10
  397. package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +1 -13
  398. package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +1 -6
  399. package/ui5.yaml +1 -1
@@ -21,27 +21,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
21
21
  _ResponsivePopoverCommon = _interopRequireDefault(_ResponsivePopoverCommon);
22
22
  _ValueStateMessage = _interopRequireDefault(_ValueStateMessage);
23
23
  _Suggestions = _interopRequireDefault(_Suggestions);
24
-
25
24
  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); }
26
-
27
25
  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; }
28
-
29
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
30
-
31
27
  // Templates
28
+
32
29
  // Styles
30
+
33
31
  const rgxFloat = new RegExp(/(\+|-)?\d+(\.|,)\d+/);
32
+
34
33
  /**
35
34
  * @public
36
35
  */
37
-
38
36
  const metadata = {
39
37
  tag: "ui5-input",
40
38
  languageAware: true,
41
39
  managedSlots: true,
42
- slots:
43
- /** @lends sap.ui.webcomponents.main.Input.prototype */
44
- {
40
+ slots: /** @lends sap.ui.webcomponents.main.Input.prototype */{
45
41
  /**
46
42
  * Defines the icon to be displayed in the component.
47
43
  *
@@ -52,7 +48,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
52
48
  icon: {
53
49
  type: HTMLElement
54
50
  },
55
-
56
51
  /**
57
52
  * Defines the suggestion items.
58
53
  * <br><br>
@@ -91,7 +86,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
91
86
  propertyName: "suggestionItems",
92
87
  type: HTMLElement
93
88
  },
94
-
95
89
  /**
96
90
  * The slot is used for native <code>input</code> HTML element to enable form submit,
97
91
  * when <code>name</code> property is set.
@@ -101,7 +95,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
101
95
  formSupport: {
102
96
  type: HTMLElement
103
97
  },
104
-
105
98
  /**
106
99
  * Defines the value state message that will be displayed as pop up under the component.
107
100
  * <br><br>
@@ -122,9 +115,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
122
115
  type: HTMLElement
123
116
  }
124
117
  },
125
- properties:
126
- /** @lends sap.ui.webcomponents.main.Input.prototype */
127
- {
118
+ properties: /** @lends sap.ui.webcomponents.main.Input.prototype */{
128
119
  /**
129
120
  * Defines whether the component is in disabled state.
130
121
  * <br><br>
@@ -137,7 +128,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
137
128
  disabled: {
138
129
  type: Boolean
139
130
  },
140
-
141
131
  /**
142
132
  * Defines if characters within the suggestions are to be highlighted
143
133
  * in case the input value matches parts of the suggestions text.
@@ -152,7 +142,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
152
142
  highlight: {
153
143
  type: Boolean
154
144
  },
155
-
156
145
  /**
157
146
  * Defines a short hint intended to aid the user with data entry when the
158
147
  * component has no value.
@@ -163,7 +152,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
163
152
  placeholder: {
164
153
  type: String
165
154
  },
166
-
167
155
  /**
168
156
  * Defines whether the component is read-only.
169
157
  * <br><br>
@@ -177,7 +165,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
177
165
  readonly: {
178
166
  type: Boolean
179
167
  },
180
-
181
168
  /**
182
169
  * Defines whether the component is required.
183
170
  *
@@ -189,7 +176,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
189
176
  required: {
190
177
  type: Boolean
191
178
  },
192
-
193
179
  /**
194
180
  * Defines whether the value will be autcompleted to match an item
195
181
  *
@@ -201,7 +187,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
201
187
  noTypeahead: {
202
188
  type: Boolean
203
189
  },
204
-
205
190
  /**
206
191
  * Defines the HTML type of the component.
207
192
  * Available options are: <code>Text</code>, <code>Email</code>,
@@ -223,7 +208,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
223
208
  type: _InputType.default,
224
209
  defaultValue: _InputType.default.Text
225
210
  },
226
-
227
211
  /**
228
212
  * Defines the value of the component.
229
213
  * <br><br>
@@ -236,7 +220,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
236
220
  value: {
237
221
  type: String
238
222
  },
239
-
240
223
  /**
241
224
  * Defines the value state of the component.
242
225
  * <br><br>
@@ -257,7 +240,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
257
240
  type: _ValueState.default,
258
241
  defaultValue: _ValueState.default.None
259
242
  },
260
-
261
243
  /**
262
244
  * Determines the name with which the component will be submitted in an HTML form.
263
245
  *
@@ -277,7 +259,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
277
259
  name: {
278
260
  type: String
279
261
  },
280
-
281
262
  /**
282
263
  * Defines whether the component should show suggestions, if such are present.
283
264
  * <br><br>
@@ -290,7 +271,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
290
271
  showSuggestions: {
291
272
  type: Boolean
292
273
  },
293
-
294
274
  /**
295
275
  * Sets the maximum number of characters available in the input field.
296
276
  * <br><br>
@@ -302,7 +282,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
302
282
  maxlength: {
303
283
  type: _Integer.default
304
284
  },
305
-
306
285
  /**
307
286
  * Defines the accessible aria name of the component.
308
287
  *
@@ -313,7 +292,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
313
292
  accessibleName: {
314
293
  type: String
315
294
  },
316
-
317
295
  /**
318
296
  * Receives id(or many ids) of the elements that label the input.
319
297
  *
@@ -326,7 +304,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
326
304
  type: String,
327
305
  defaultValue: ""
328
306
  },
329
-
330
307
  /**
331
308
  * Defines whether the clear icon of the input will be shown.
332
309
  *
@@ -338,7 +315,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
338
315
  showClearIcon: {
339
316
  type: Boolean
340
317
  },
341
-
342
318
  /**
343
319
  * Defines whether the clear icon is visible.
344
320
  *
@@ -350,7 +326,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
350
326
  effectiveShowClearIcon: {
351
327
  type: Boolean
352
328
  },
353
-
354
329
  /**
355
330
  * @private
356
331
  */
@@ -363,7 +338,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
363
338
  open: {
364
339
  type: Boolean
365
340
  },
366
-
367
341
  /**
368
342
  * Determines whether to manually show the suggestions popover
369
343
  * @private
@@ -371,7 +345,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
371
345
  _forceOpen: {
372
346
  type: Boolean
373
347
  },
374
-
375
348
  /**
376
349
  * Indicates whether the visual focus is on the value state header
377
350
  * @private
@@ -403,9 +376,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
403
376
  noAttribute: true
404
377
  }
405
378
  },
406
- events:
407
- /** @lends sap.ui.webcomponents.main.Input.prototype */
408
- {
379
+ events: /** @lends sap.ui.webcomponents.main.Input.prototype */{
409
380
  /**
410
381
  * Fired when the input operation has finished by pressing Enter or on focusout.
411
382
  *
@@ -413,7 +384,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
413
384
  * @public
414
385
  */
415
386
  change: {},
416
-
417
387
  /**
418
388
  * Fired when the value of the component changes at each keystroke,
419
389
  * and when a suggestion item has been selected.
@@ -422,7 +392,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
422
392
  * @public
423
393
  */
424
394
  input: {},
425
-
426
395
  /**
427
396
  * Fired when a suggestion item, that is displayed in the suggestion popup, is selected.
428
397
  *
@@ -437,7 +406,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
437
406
  }
438
407
  }
439
408
  },
440
-
441
409
  /**
442
410
  * Fired when the user navigates to a suggestion item via the ARROW keys,
443
411
  * as a preview, before the final selection.
@@ -458,7 +426,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
458
426
  }
459
427
  }
460
428
  },
461
-
462
429
  /**
463
430
  * Fired when the user scrolls the suggestion popover.
464
431
  *
@@ -480,6 +447,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
480
447
  }
481
448
  }
482
449
  };
450
+
483
451
  /**
484
452
  * @class
485
453
  * <h3 class="comment-api-title">Overview</h3>
@@ -530,95 +498,97 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
530
498
  * @implements sap.ui.webcomponents.main.IInput
531
499
  * @public
532
500
  */
533
-
534
501
  class Input extends _UI5Element.default {
535
502
  static get metadata() {
536
503
  return metadata;
537
504
  }
538
-
539
505
  static get render() {
540
506
  return _LitRenderer.default;
541
507
  }
542
-
543
508
  static get template() {
544
509
  return _InputTemplate.default;
545
510
  }
546
-
547
511
  static get staticAreaTemplate() {
548
512
  return _InputPopoverTemplate.default;
549
513
  }
550
-
551
514
  static get styles() {
552
515
  return _Input.default;
553
516
  }
554
-
555
517
  static get staticAreaStyles() {
556
518
  return [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _Suggestions.default];
557
519
  }
558
-
559
520
  constructor() {
560
- super(); // Indicates if there is selected suggestionItem.
521
+ super();
522
+ // Indicates if there is selected suggestionItem.
523
+ this.hasSuggestionItemSelected = false;
561
524
 
562
- this.hasSuggestionItemSelected = false; // Represents the value before user moves selection from suggestion item to another
525
+ // Represents the value before user moves selection from suggestion item to another
563
526
  // and its value is updated after each move.
564
527
  // Note: Used to register and fire "input" event upon [SPACE] or [ENTER].
565
528
  // Note: The property "value" is updated upon selection move and can`t be used.
529
+ this.valueBeforeItemSelection = "";
566
530
 
567
- this.valueBeforeItemSelection = ""; // Represents the value before user moves selection between the suggestion items
531
+ // Represents the value before user moves selection between the suggestion items
568
532
  // and its value remains the same when the user navigates up or down the list.
569
533
  // Note: Used to cancel selection upon [ESC].
534
+ this.valueBeforeItemPreview = "";
570
535
 
571
- this.valueBeforeItemPreview = ""; // Indicates if the user selection has been canceled with [ESC].
572
-
573
- this.suggestionSelectionCanceled = false; // Indicates if the change event has already been fired
536
+ // Indicates if the user selection has been canceled with [ESC].
537
+ this.suggestionSelectionCanceled = false;
574
538
 
575
- this._changeFiredValue = null; // tracks the value between focus in and focus out to detect that change event should be fired.
539
+ // Indicates if the change event has already been fired
540
+ this._changeFiredValue = null;
576
541
 
577
- this.previousValue = undefined; // Indicates, if the component is rendering for first time.
542
+ // tracks the value between focus in and focus out to detect that change event should be fired.
543
+ this.previousValue = undefined;
578
544
 
579
- this.firstRendering = true; // The value that should be highlited.
545
+ // Indicates, if the component is rendering for first time.
546
+ this.firstRendering = true;
580
547
 
581
- this.highlightValue = ""; // The last value confirmed by the user with "ENTER"
548
+ // The value that should be highlited.
549
+ this.highlightValue = "";
582
550
 
583
- this.lastConfirmedValue = ""; // The value that the user is typed in the input
551
+ // The last value confirmed by the user with "ENTER"
552
+ this.lastConfirmedValue = "";
584
553
 
585
- this.valueBeforeAutoComplete = ""; // Indicates, if the user pressed the BACKSPACE key.
554
+ // The value that the user is typed in the input
555
+ this.valueBeforeAutoComplete = "";
586
556
 
587
- this._backspaceKeyDown = false; // Indicates, if the user is typing. Gets reset once popup is closed
557
+ // Indicates, if the user pressed the BACKSPACE key.
558
+ this._backspaceKeyDown = false;
588
559
 
589
- this.isTyping = false; // all sementic events
560
+ // Indicates, if the user is typing. Gets reset once popup is closed
561
+ this.isTyping = false;
590
562
 
563
+ // all sementic events
591
564
  this.EVENT_CHANGE = "change";
592
565
  this.EVENT_INPUT = "input";
593
- this.EVENT_SUGGESTION_ITEM_SELECT = "suggestion-item-select"; // all user interactions
566
+ this.EVENT_SUGGESTION_ITEM_SELECT = "suggestion-item-select";
594
567
 
568
+ // all user interactions
595
569
  this.ACTION_ENTER = "enter";
596
- this.ACTION_USER_INPUT = "input"; // Suggestions array initialization
570
+ this.ACTION_USER_INPUT = "input";
597
571
 
572
+ // Suggestions array initialization
598
573
  this.suggestionsTexts = [];
599
574
  this._handleResizeBound = this._handleResize.bind(this);
600
575
  }
601
-
602
576
  onEnterDOM() {
603
577
  _ResizeHandler.default.register(this, this._handleResizeBound);
604
578
  }
605
-
606
579
  onExitDOM() {
607
580
  _ResizeHandler.default.deregister(this, this._handleResizeBound);
608
581
  }
609
-
610
582
  onBeforeRendering() {
611
583
  if (this.showSuggestions) {
612
584
  this.enableSuggestions();
613
585
  this.suggestionsTexts = this.Suggestions.defaultSlotProperties(this.highlightValue);
614
586
  }
615
-
616
587
  this.effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled;
617
588
  this.FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
618
589
  const hasItems = this.suggestionItems.length;
619
590
  const hasValue = !!this.value;
620
591
  const isFocused = this.shadowRoot.querySelector("input") === (0, _getActiveElement.default)();
621
-
622
592
  if (this._isPhone) {
623
593
  this.open = this.openOnMobile;
624
594
  } else if (this._forceOpen) {
@@ -626,7 +596,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
626
596
  } else {
627
597
  this.open = hasValue && hasItems && isFocused && this.isTyping;
628
598
  }
629
-
630
599
  if (this.FormSupport) {
631
600
  this.FormSupport.syncNativeHiddenInput(this);
632
601
  } else if (this.name) {
@@ -635,24 +604,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
635
604
 
636
605
  const value = this.value;
637
606
  const innerInput = this.getInputDOMRefSync();
638
-
639
607
  if (!innerInput || !value) {
640
608
  return;
641
609
  }
610
+ const autoCompletedChars = innerInput.selectionEnd - innerInput.selectionStart;
642
611
 
643
- const autoCompletedChars = innerInput.selectionEnd - innerInput.selectionStart; // Typehead causes issues on Android devices, so we disable it for now
612
+ // Typehead causes issues on Android devices, so we disable it for now
644
613
  // If there is already a selection the autocomplete has already been performed
645
-
646
614
  if (this._shouldAutocomplete && !(0, _Device.isAndroid)() && !autoCompletedChars && !this._isKeyNavigation) {
647
- const item = this._getFirstMatchingItem(value); // Keep the original typed in text intact
648
-
615
+ const item = this._getFirstMatchingItem(value);
649
616
 
617
+ // Keep the original typed in text intact
650
618
  this.valueBeforeAutoComplete += value.slice(this.valueBeforeAutoComplete.length, value.length);
651
-
652
619
  this._handleTypeAhead(item, value);
653
620
  }
654
621
  }
655
-
656
622
  async onAfterRendering() {
657
623
  if (this.Suggestions && this.showSuggestions) {
658
624
  this.Suggestions.toggle(this.open, {
@@ -660,138 +626,109 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
660
626
  });
661
627
  this._listWidth = await this.Suggestions._getListWidth();
662
628
  }
663
-
664
629
  if (this.shouldDisplayOnlyValueStateMessage) {
665
630
  this.openPopover();
666
631
  } else {
667
632
  this.closePopover();
668
633
  }
669
634
  }
670
-
671
635
  _onkeydown(event) {
672
636
  this._isKeyNavigation = true;
673
637
  this._shouldAutocomplete = !this.noTypeahead && !((0, _Keys.isBackSpace)(event) || (0, _Keys.isDelete)(event) || (0, _Keys.isEscape)(event));
674
-
675
638
  if ((0, _Keys.isUp)(event)) {
676
639
  return this._handleUp(event);
677
640
  }
678
-
679
641
  if ((0, _Keys.isDown)(event)) {
680
642
  return this._handleDown(event);
681
643
  }
682
-
683
644
  if ((0, _Keys.isSpace)(event)) {
684
645
  return this._handleSpace(event);
685
646
  }
686
-
687
647
  if ((0, _Keys.isTabNext)(event)) {
688
648
  return this._handleTab(event);
689
649
  }
690
-
691
650
  if ((0, _Keys.isEnter)(event)) {
692
651
  return this._handleEnter(event);
693
652
  }
694
-
695
653
  if ((0, _Keys.isPageUp)(event)) {
696
654
  return this._handlePageUp(event);
697
655
  }
698
-
699
656
  if ((0, _Keys.isPageDown)(event)) {
700
657
  return this._handlePageDown(event);
701
658
  }
702
-
703
659
  if ((0, _Keys.isHome)(event)) {
704
660
  return this._handleHome(event);
705
661
  }
706
-
707
662
  if ((0, _Keys.isEnd)(event)) {
708
663
  return this._handleEnd(event);
709
664
  }
710
-
711
665
  if ((0, _Keys.isEscape)(event)) {
712
666
  return this._handleEscape(event);
713
667
  }
714
-
715
668
  if ((0, _Keys.isBackSpace)(event)) {
716
669
  this._backspaceKeyDown = true;
717
670
  this._selectedText = window.getSelection().toString();
718
671
  }
719
-
720
672
  if (this.showSuggestions) {
721
673
  this._clearPopoverFocusAndSelection();
722
674
  }
723
-
724
675
  this._keyDown = true;
725
676
  this._isKeyNavigation = false;
726
677
  }
727
-
728
678
  _onkeyup(event) {
729
679
  this._keyDown = false;
730
680
  this._backspaceKeyDown = false;
731
681
  }
732
- /* Event handling */
733
-
734
682
 
683
+ /* Event handling */
735
684
  _handleUp(event) {
736
685
  if (this.Suggestions && this.Suggestions.isOpened()) {
737
686
  this.Suggestions.onUp(event);
738
687
  }
739
688
  }
740
-
741
689
  _handleDown(event) {
742
690
  if (this.Suggestions && this.Suggestions.isOpened()) {
743
691
  this.Suggestions.onDown(event);
744
692
  }
745
693
  }
746
-
747
694
  _handleSpace(event) {
748
695
  if (this.Suggestions) {
749
696
  this.Suggestions.onSpace(event);
750
697
  }
751
698
  }
752
-
753
699
  _handleTab(event) {
754
700
  if (this.Suggestions && this.previousValue !== this.value) {
755
701
  this.Suggestions.onTab(event);
756
702
  }
757
703
  }
758
-
759
704
  _handleEnter(event) {
760
705
  const itemPressed = !!(this.Suggestions && this.Suggestions.onEnter(event));
761
- const innerInput = this.getInputDOMRefSync(); // Check for autocompleted item
762
-
706
+ const innerInput = this.getInputDOMRefSync();
707
+ // Check for autocompleted item
763
708
  const matchingItem = this.suggestionItems.find(item => {
764
709
  return item.text && item.text === this.value || item.textContent === this.value;
765
710
  });
766
-
767
711
  if (matchingItem) {
768
712
  const itemText = matchingItem.text ? matchingItem.text : matchingItem.textContent;
769
713
  this.getInputDOMRefSync().setSelectionRange(itemText.length, itemText.length);
770
-
771
714
  if (!itemPressed) {
772
715
  this.selectSuggestion(matchingItem, true);
773
716
  this.open = false;
774
717
  }
775
718
  }
776
-
777
719
  if (this._isPhone && !this.suggestionItems.length) {
778
720
  innerInput.setSelectionRange(this.value.length, this.value.length);
779
721
  }
780
-
781
722
  if (!itemPressed) {
782
723
  this.fireEventByAction(this.ACTION_ENTER, event);
783
724
  this.lastConfirmedValue = this.value;
784
-
785
725
  if (this.FormSupport) {
786
726
  this.FormSupport.triggerFormSubmit(this);
787
727
  }
788
-
789
728
  return;
790
729
  }
791
-
792
730
  this.focused = true;
793
731
  }
794
-
795
732
  _handlePageUp(event) {
796
733
  if (this._isSuggestionsFocused) {
797
734
  this.Suggestions.onPageUp(event);
@@ -799,7 +736,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
799
736
  event.preventDefault();
800
737
  }
801
738
  }
802
-
803
739
  _handlePageDown(event) {
804
740
  if (this._isSuggestionsFocused) {
805
741
  this.Suggestions.onPageDown(event);
@@ -807,140 +743,112 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
807
743
  event.preventDefault();
808
744
  }
809
745
  }
810
-
811
746
  _handleHome(event) {
812
747
  if (this._isSuggestionsFocused) {
813
748
  this.Suggestions.onHome(event);
814
749
  }
815
750
  }
816
-
817
751
  _handleEnd(event) {
818
752
  if (this._isSuggestionsFocused) {
819
753
  this.Suggestions.onEnd(event);
820
754
  }
821
755
  }
822
-
823
756
  _handleEscape() {
824
757
  const hasSuggestions = this.showSuggestions && !!this.Suggestions;
825
758
  const isOpen = hasSuggestions && this.open;
826
759
  const innerInput = this.getInputDOMRefSync();
827
760
  const isAutoCompleted = innerInput.selectionEnd - innerInput.selectionStart > 0;
828
-
829
761
  if (!isOpen) {
830
762
  this.value = this.lastConfirmedValue ? this.lastConfirmedValue : this.previousValue;
831
763
  return;
832
764
  }
833
-
834
765
  if (hasSuggestions && isOpen && this.Suggestions._isItemOnTarget()) {
835
766
  // Restore the value.
836
- this.value = this.valueBeforeAutoComplete || this.valueBeforeItemPreview; // Mark that the selection has been canceled, so the popover can close
837
- // and not reopen, due to receiving focus.
767
+ this.value = this.valueBeforeAutoComplete || this.valueBeforeItemPreview;
838
768
 
769
+ // Mark that the selection has been canceled, so the popover can close
770
+ // and not reopen, due to receiving focus.
839
771
  this.suggestionSelectionCanceled = true;
840
772
  this.focused = true;
841
773
  return;
842
774
  }
843
-
844
775
  if (isAutoCompleted) {
845
776
  this.value = this.valueBeforeAutoComplete;
846
777
  }
847
-
848
778
  if (this._isValueStateFocused) {
849
779
  this._isValueStateFocused = false;
850
780
  this.focused = true;
851
781
  }
852
782
  }
853
-
854
783
  async _onfocusin(event) {
855
784
  await this.getInputDOMRef();
856
785
  this.valueBeforeAutoComplete = "";
857
786
  this.focused = true; // invalidating property
858
-
859
787
  this.previousValue = this.value;
860
788
  this.valueBeforeItemPreview = this.value;
861
789
  this._inputIconFocused = event.target && event.target === this.querySelector("[ui5-icon]");
862
790
  }
863
-
864
791
  _onfocusout(event) {
865
792
  const focusedOutToSuggestions = this.Suggestions && event.relatedTarget && event.relatedTarget.shadowRoot && event.relatedTarget.shadowRoot.contains(this.Suggestions.responsivePopover);
866
793
  const focusedOutToValueStateMessage = event.relatedTarget && event.relatedTarget.shadowRoot && event.relatedTarget.shadowRoot.querySelector(".ui5-valuestatemessage-root");
867
-
868
794
  if (this.showClearIcon && !this.effectiveShowClearIcon) {
869
795
  this._clearIconClicked = false;
870
-
871
796
  this._handleChange();
872
- } // if focusout is triggered by pressing on suggestion item or value state message popover, skip invalidation, because re-rendering
873
- // will happen before "itemPress" event, which will make item "active" state not visualized
874
-
797
+ }
875
798
 
799
+ // if focusout is triggered by pressing on suggestion item or value state message popover, skip invalidation, because re-rendering
800
+ // will happen before "itemPress" event, which will make item "active" state not visualized
876
801
  if (focusedOutToSuggestions || focusedOutToValueStateMessage) {
877
802
  event.stopImmediatePropagation();
878
803
  return;
879
804
  }
880
-
881
805
  const toBeFocused = event.relatedTarget;
882
-
883
806
  if (toBeFocused && toBeFocused.classList.contains(this._id)) {
884
807
  return;
885
808
  }
886
-
887
809
  this.open = false;
888
-
889
810
  this._clearPopoverFocusAndSelection();
890
-
891
811
  this.previousValue = "";
892
812
  this.lastConfirmedValue = "";
893
813
  this.focused = false; // invalidating property
894
-
895
814
  this.isTyping = false;
896
815
  this._forceOpen = false;
897
816
  }
898
-
899
817
  _clearPopoverFocusAndSelection() {
900
818
  if (!this.showSuggestions || !this.Suggestions) {
901
819
  return;
902
820
  }
903
-
904
821
  this._isValueStateFocused = false;
905
822
  this.hasSuggestionItemSelected = false;
906
-
907
823
  this.Suggestions._deselectItems();
908
-
909
824
  this.Suggestions._clearItemFocus();
910
825
  }
911
-
912
826
  _click(event) {
913
827
  if ((0, _Device.isPhone)() && !this.readonly && this.Suggestions) {
914
828
  this.blur();
915
829
  this.openOnMobile = true;
916
830
  }
917
831
  }
918
-
919
832
  _handleChange() {
920
833
  if (this._clearIconClicked) {
921
834
  this._clearIconClicked = false;
922
835
  return;
923
836
  }
924
-
925
837
  if (this._changeFiredValue !== this.getInputDOMRefSync().value) {
926
838
  this._changeFiredValue = this.getInputDOMRefSync().value;
927
839
  this.fireEvent(this.EVENT_CHANGE);
928
840
  }
929
841
  }
930
-
931
842
  _clear() {
932
843
  this.value = "";
933
844
  this.fireEvent(this.EVENT_INPUT);
934
-
935
845
  if (!this._isPhone) {
936
846
  this.focus();
937
847
  }
938
848
  }
939
-
940
849
  _iconMouseDown() {
941
850
  this._clearIconClicked = true;
942
851
  }
943
-
944
852
  _scroll(event) {
945
853
  const detail = event.detail;
946
854
  this.fireEvent("suggestion-scroll", {
@@ -948,42 +856,42 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
948
856
  scrollContainer: detail.targetRef
949
857
  });
950
858
  }
951
-
952
859
  _handleInput(event) {
953
860
  const inputDomRef = this.getInputDOMRefSync();
954
861
  const emptyValueFiredOnNumberInput = this.value && this.isTypeNumber && !inputDomRef.value;
955
862
  const eventType = event.inputType || event.detail.inputType;
956
863
  this._shouldAutocomplete = eventType !== "deleteContentBackward" && !this.noTypeahead;
957
864
  this.suggestionSelectionCanceled = false;
958
-
959
865
  if (emptyValueFiredOnNumberInput && !this._backspaceKeyDown) {
960
866
  // For input with type="Number", if the delimiter is entered second time,
961
867
  // the inner input is firing event with empty value
962
868
  return;
963
869
  }
964
-
965
870
  if (emptyValueFiredOnNumberInput && this._backspaceKeyDown) {
966
871
  // Issue: when the user removes the character(s) after the delimeter of numeric Input,
967
872
  // the native input is firing event with an empty value and we have to manually handle this case,
968
873
  // otherwise the entire input will be cleared as we sync the "value".
874
+
969
875
  // There are tree scenarios:
970
876
  // Example: type "123.4" and press BACKSPACE - the native input is firing event with empty value.
971
877
  // Example: type "123.456", select/mark "456" and press BACKSPACE - the native input is firing event with empty value.
972
878
  // Example: type "123.456", select/mark "123.456" and press BACKSPACE - the native input is firing event with empty value,
973
879
  // but this time that's really the case.
880
+
974
881
  // Perform manual handling in case of floating number
975
882
  // and if the user did not select the entire input value
976
883
  if (this._selectedText.indexOf(",") > -1) {
977
884
  this._selectedText = this._selectedText.replace(",", ".");
978
885
  }
979
-
980
886
  if (rgxFloat.test(this.value) && this._selectedText !== this.value) {
981
- const newValue = this.removeFractionalPart(this.value); // update state
887
+ const newValue = this.removeFractionalPart(this.value);
982
888
 
889
+ // update state
983
890
  this.value = newValue;
984
891
  this.highlightValue = newValue;
985
- this.valueBeforeItemPreview = newValue; // fire events
892
+ this.valueBeforeItemPreview = newValue;
986
893
 
894
+ // fire events
987
895
  this.fireEvent(this.EVENT_INPUT, {
988
896
  inputType: event.inputType
989
897
  });
@@ -991,46 +899,37 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
991
899
  return;
992
900
  }
993
901
  }
994
-
995
902
  if (event.target === inputDomRef) {
996
- this.focused = true; // stop the native event, as the semantic "input" would be fired.
903
+ this.focused = true;
997
904
 
905
+ // stop the native event, as the semantic "input" would be fired.
998
906
  event.stopImmediatePropagation();
999
907
  }
1000
-
1001
908
  this.fireEventByAction(this.ACTION_USER_INPUT, event);
1002
909
  this.hasSuggestionItemSelected = false;
1003
910
  this._isValueStateFocused = false;
1004
-
1005
911
  if (this.Suggestions) {
1006
912
  this.Suggestions.updateSelectedItemPosition(null);
1007
913
  }
1008
-
1009
914
  this.isTyping = true;
1010
915
  }
1011
-
1012
916
  _startsWithMatchingItems(str) {
1013
917
  const textProp = this.suggestionItems[0].text ? "text" : "textContent";
1014
918
  return Filters.StartsWith(str, this.suggestionItems, textProp);
1015
919
  }
1016
-
1017
920
  _getFirstMatchingItem(current) {
1018
921
  if (!this.suggestionItems.length) {
1019
922
  return;
1020
923
  }
1021
-
1022
924
  const matchingItems = this._startsWithMatchingItems(current).filter(item => !item.groupItem);
1023
-
1024
925
  if (matchingItems.length) {
1025
926
  return matchingItems[0];
1026
927
  }
1027
928
  }
1028
-
1029
929
  _handleTypeAhead(item, filterValue) {
1030
930
  if (!item) {
1031
931
  return;
1032
932
  }
1033
-
1034
933
  const value = item.text ? item.text : item.textContent || "";
1035
934
  const innerInput = this.getInputDOMRefSync();
1036
935
  filterValue = filterValue || "";
@@ -1041,112 +940,92 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1041
940
  }, 0);
1042
941
  this._shouldAutocomplete = false;
1043
942
  }
1044
-
1045
943
  _handleResize() {
1046
944
  this._inputWidth = this.offsetWidth;
1047
945
  }
1048
-
1049
946
  _closeRespPopover(preventFocusRestore) {
1050
947
  this.Suggestions.close(preventFocusRestore);
1051
948
  }
1052
-
1053
949
  async _afterOpenPopover() {
1054
950
  // Set initial focus to the native input
1055
951
  if ((0, _Device.isPhone)()) {
1056
952
  (await this.getInputDOMRef()).focus();
1057
953
  }
1058
954
  }
1059
-
1060
955
  _afterClosePopover() {
1061
- this.announceSelectedItem(); // close device's keyboard and prevent further typing
956
+ this.announceSelectedItem();
1062
957
 
958
+ // close device's keyboard and prevent further typing
1063
959
  if ((0, _Device.isPhone)()) {
1064
960
  this.blur();
1065
961
  this.focused = false;
1066
962
  }
1067
-
1068
963
  this.isTyping = false;
1069
964
  this.openOnMobile = false;
1070
965
  this.open = false;
1071
966
  this._forceOpen = false;
1072
967
  }
968
+
1073
969
  /**
1074
970
  * Checks if the value state popover is open.
1075
971
  * @returns {boolean} true if the value state popover is open, false otherwise
1076
972
  */
1077
-
1078
-
1079
973
  isValueStateOpened() {
1080
974
  return !!this._isPopoverOpen;
1081
975
  }
1082
-
1083
976
  async openPopover() {
1084
977
  const popover = await this._getPopover();
1085
-
1086
978
  if (popover) {
1087
979
  this._isPopoverOpen = true;
1088
980
  popover.showAt(this);
1089
981
  }
1090
982
  }
1091
-
1092
983
  async closePopover() {
1093
984
  const popover = await this._getPopover();
1094
985
  popover && popover.close();
1095
986
  }
1096
-
1097
987
  async _getPopover() {
1098
988
  const staticAreaItem = await this.getStaticAreaItemDomRef();
1099
989
  return staticAreaItem && staticAreaItem.querySelector("[ui5-popover]");
1100
990
  }
991
+
1101
992
  /**
1102
993
  * Manually opens the suggestions popover, assuming suggestions are enabled. Items must be preloaded for it to open.
1103
994
  * @since 1.3.0
1104
995
  * @public
1105
996
  */
1106
-
1107
-
1108
997
  openPicker() {
1109
998
  if (!this.suggestionItems.length || this.disabled || this.readonly) {
1110
999
  return;
1111
1000
  }
1112
-
1113
1001
  this._forceOpen = true;
1114
1002
  }
1115
-
1116
1003
  enableSuggestions() {
1117
1004
  if (this.Suggestions) {
1118
1005
  return;
1119
1006
  }
1120
-
1121
1007
  const Suggestions = (0, _FeaturesRegistry.getFeature)("InputSuggestions");
1122
-
1123
1008
  if (Suggestions) {
1124
1009
  this.Suggestions = new Suggestions(this, "suggestionItems", true);
1125
1010
  } else {
1126
1011
  throw new Error(`You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions`);
1127
1012
  }
1128
1013
  }
1129
-
1130
1014
  selectSuggestion(item, keyboardUsed) {
1131
1015
  if (item.group) {
1132
1016
  return;
1133
1017
  }
1134
-
1135
1018
  const itemText = item.text || item.textContent; // keep textContent for compatibility
1136
-
1137
1019
  const fireInput = keyboardUsed ? this.valueBeforeItemSelection !== itemText : this.valueBeforeAutoComplete !== itemText;
1138
1020
  this.hasSuggestionItemSelected = true;
1139
-
1140
1021
  if (fireInput) {
1141
1022
  this.value = itemText;
1142
1023
  this.valueBeforeItemSelection = itemText;
1143
1024
  this.lastConfirmedValue = itemText;
1144
1025
  this.getInputDOMRefSync().value = itemText;
1145
1026
  this.fireEvent(this.EVENT_INPUT);
1146
-
1147
1027
  this._handleChange();
1148
1028
  }
1149
-
1150
1029
  this.valueBeforeItemPreview = "";
1151
1030
  this.suggestionSelectionCanceled = false;
1152
1031
  this.fireEvent(this.EVENT_SUGGESTION_ITEM_SELECT, {
@@ -1156,19 +1035,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1156
1035
  this.openOnMobile = false;
1157
1036
  this._forceOpen = false;
1158
1037
  }
1159
-
1160
1038
  previewSuggestion(item) {
1161
1039
  this.valueBeforeItemSelection = this.value;
1162
1040
  this.updateValueOnPreview(item);
1163
1041
  this.announceSelectedItem();
1164
1042
  this._previewItem = item;
1165
1043
  }
1044
+
1166
1045
  /**
1167
1046
  * Updates the input value on item preview.
1168
1047
  * @param {Object} item The item that is on preview
1169
1048
  */
1170
-
1171
-
1172
1049
  updateValueOnPreview(item) {
1173
1050
  const noPreview = item.type === "Inactive" || item.group;
1174
1051
  const innerInput = this.getInputDOMRefSync();
@@ -1177,29 +1054,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1177
1054
  innerInput.value = itemValue;
1178
1055
  innerInput.setSelectionRange(this.valueBeforeAutoComplete.length, this.value.length);
1179
1056
  }
1057
+
1180
1058
  /**
1181
1059
  * The suggestion item on preview.
1182
1060
  * @type { sap.ui.webcomponents.main.IInputSuggestionItem }
1183
1061
  * @readonly
1184
1062
  * @public
1185
1063
  */
1186
-
1187
-
1188
1064
  get previewItem() {
1189
1065
  if (!this._previewItem) {
1190
1066
  return null;
1191
1067
  }
1192
-
1193
1068
  return this.getSuggestionByListItem(this._previewItem);
1194
1069
  }
1195
-
1196
1070
  async fireEventByAction(action, event) {
1197
1071
  await this.getInputDOMRef();
1198
-
1199
1072
  if (this.disabled || this.readonly) {
1200
1073
  return;
1201
1074
  }
1202
-
1203
1075
  const inputValue = await this.getInputValue();
1204
1076
  const isUserInput = action === this.ACTION_USER_INPUT;
1205
1077
  const input = await this.getInputDOMRef();
@@ -1207,7 +1079,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1207
1079
  this.value = inputValue;
1208
1080
  this.highlightValue = inputValue;
1209
1081
  this.valueBeforeItemPreview = inputValue;
1210
-
1211
1082
  if ((0, _Device.isSafari)()) {
1212
1083
  // When setting the value by hand, Safari moves the cursor when typing in the middle of the text (See #1761)
1213
1084
  setTimeout(() => {
@@ -1215,89 +1086,72 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1215
1086
  input.selectionEnd = cursorPosition;
1216
1087
  }, 0);
1217
1088
  }
1218
-
1219
1089
  if (isUserInput) {
1220
1090
  // input
1221
1091
  this.fireEvent(this.EVENT_INPUT, {
1222
1092
  inputType: event.inputType
1223
- }); // Angular two way data binding
1224
-
1093
+ });
1094
+ // Angular two way data binding
1225
1095
  this.fireEvent("value-changed");
1226
1096
  }
1227
1097
  }
1228
-
1229
1098
  async getInputValue() {
1230
1099
  const domRef = this.getDomRef();
1231
-
1232
1100
  if (domRef) {
1233
1101
  return (await this.getInputDOMRef()).value;
1234
1102
  }
1235
-
1236
1103
  return "";
1237
1104
  }
1238
-
1239
1105
  async getInputDOMRef() {
1240
1106
  if ((0, _Device.isPhone)() && this.Suggestions) {
1241
1107
  await this.Suggestions._getSuggestionPopover();
1242
1108
  return this.Suggestions && this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone");
1243
1109
  }
1244
-
1245
1110
  return this.nativeInput;
1246
1111
  }
1247
-
1248
1112
  getInputDOMRefSync() {
1249
1113
  if ((0, _Device.isPhone)() && this.Suggestions && this.Suggestions.responsivePopover) {
1250
1114
  return this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input");
1251
1115
  }
1252
-
1253
1116
  return this.nativeInput;
1254
1117
  }
1118
+
1255
1119
  /**
1256
1120
  * Returns a reference to the native input element
1257
1121
  * @protected
1258
1122
  */
1259
-
1260
-
1261
1123
  get nativeInput() {
1262
1124
  return this.getDomRef() && this.getDomRef().querySelector(`input`);
1263
1125
  }
1264
-
1265
1126
  get nativeInputWidth() {
1266
1127
  return this.nativeInput && this.nativeInput.offsetWidth;
1267
1128
  }
1268
-
1269
1129
  getLabelableElementId() {
1270
1130
  return this.getInputId();
1271
1131
  }
1272
-
1273
1132
  getSuggestionByListItem(item) {
1274
1133
  const key = parseInt(item.getAttribute("data-ui5-key"));
1275
1134
  return this.suggestionItems[key];
1276
1135
  }
1136
+
1277
1137
  /**
1278
1138
  * Returns if the suggestions popover is scrollable.
1279
1139
  * The method returns <code>Promise</code> that resolves to true,
1280
1140
  * if the popup is scrollable and false otherwise.
1281
1141
  * @returns {Promise}
1282
1142
  */
1283
-
1284
-
1285
1143
  isSuggestionsScrollable() {
1286
1144
  if (!this.Suggestions) {
1287
1145
  return Promise.resolve(false);
1288
1146
  }
1289
-
1290
1147
  return this.Suggestions._isScrollable();
1291
1148
  }
1292
-
1293
1149
  getInputId() {
1294
1150
  return `${this._id}-inner`;
1295
1151
  }
1296
- /* Suggestions interface */
1297
-
1298
1152
 
1153
+ /* Suggestions interface */
1299
1154
  onItemFocused() {}
1300
-
1301
1155
  onItemMouseOver(event) {
1302
1156
  const item = event.target;
1303
1157
  const suggestion = this.getSuggestionByListItem(item);
@@ -1306,7 +1160,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1306
1160
  targetRef: item
1307
1161
  });
1308
1162
  }
1309
-
1310
1163
  onItemMouseOut(event) {
1311
1164
  const item = event.target;
1312
1165
  const suggestion = this.getSuggestionByListItem(item);
@@ -1315,15 +1168,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1315
1168
  targetRef: item
1316
1169
  });
1317
1170
  }
1318
-
1319
1171
  onItemMouseDown(event) {
1320
1172
  event.preventDefault();
1321
1173
  }
1322
-
1323
1174
  onItemSelected(item, keyboardUsed) {
1324
1175
  this.selectSuggestion(item, keyboardUsed);
1325
1176
  }
1326
-
1327
1177
  onItemPreviewed(item) {
1328
1178
  this.previewSuggestion(item);
1329
1179
  this.fireEvent("suggestion-item-preview", {
@@ -1331,11 +1181,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1331
1181
  targetRef: item
1332
1182
  });
1333
1183
  }
1334
-
1335
1184
  onOpen() {}
1336
-
1337
1185
  onClose() {}
1338
-
1339
1186
  valueStateTextMappings() {
1340
1187
  return {
1341
1188
  "Success": Input.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
@@ -1344,41 +1191,32 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1344
1191
  "Warning": Input.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING)
1345
1192
  };
1346
1193
  }
1347
-
1348
1194
  announceSelectedItem() {
1349
1195
  const invisibleText = this.shadowRoot.querySelector(`#${this._id}-selectionText`);
1350
-
1351
1196
  if (this.Suggestions && this.Suggestions._isItemOnTarget()) {
1352
1197
  invisibleText.textContent = this.itemSelectionAnnounce;
1353
1198
  } else {
1354
1199
  invisibleText.textContent = "";
1355
1200
  }
1356
1201
  }
1357
-
1358
1202
  get _readonly() {
1359
1203
  return this.readonly && !this.disabled;
1360
1204
  }
1361
-
1362
1205
  get _headerTitleText() {
1363
1206
  return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
1364
1207
  }
1365
-
1366
1208
  get inputType() {
1367
1209
  return this.type.toLowerCase();
1368
1210
  }
1369
-
1370
1211
  get isTypeNumber() {
1371
1212
  return this.type === _InputType.default.Number;
1372
1213
  }
1373
-
1374
1214
  get suggestionsTextId() {
1375
1215
  return this.showSuggestions ? `${this._id}-suggestionsText` : "";
1376
1216
  }
1377
-
1378
1217
  get valueStateTextId() {
1379
1218
  return this.hasValueState ? `${this._id}-valueStateDesc` : "";
1380
1219
  }
1381
-
1382
1220
  get accInfo() {
1383
1221
  const ariaHasPopupDefault = this.showSuggestions ? "true" : undefined;
1384
1222
  const ariaAutoCompleteDefault = this.showSuggestions ? "list" : undefined;
@@ -1398,7 +1236,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1398
1236
  }
1399
1237
  };
1400
1238
  }
1401
-
1402
1239
  get nativeInputAttributes() {
1403
1240
  return {
1404
1241
  "min": this.isTypeNumber ? this._nativeInputAttributes.min : undefined,
@@ -1406,23 +1243,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1406
1243
  "step": this.isTypeNumber ? this._nativeInputAttributes.step || "any" : undefined
1407
1244
  };
1408
1245
  }
1409
-
1410
1246
  get ariaValueStateHiddenText() {
1411
1247
  if (!this.hasValueStateMessage) {
1412
1248
  return;
1413
1249
  }
1414
-
1415
1250
  if (this.shouldDisplayDefaultValueStateMessage) {
1416
1251
  return this.valueStateText;
1417
1252
  }
1418
-
1419
1253
  return this.valueStateMessageText.map(el => el.textContent).join(" ");
1420
1254
  }
1421
-
1422
1255
  get itemSelectionAnnounce() {
1423
1256
  return this.Suggestions ? this.Suggestions.itemSelectionAnnounce : undefined;
1424
1257
  }
1425
-
1426
1258
  get classes() {
1427
1259
  return {
1428
1260
  popover: {
@@ -1439,7 +1271,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1439
1271
  }
1440
1272
  };
1441
1273
  }
1442
-
1443
1274
  get styles() {
1444
1275
  const remSizeIxPx = parseInt(getComputedStyle(document.documentElement).fontSize);
1445
1276
  const stylesObject = {
@@ -1456,34 +1287,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1456
1287
  },
1457
1288
  innerInput: {}
1458
1289
  };
1459
-
1460
1290
  if (this.nativeInputWidth < 48) {
1461
1291
  stylesObject.innerInput.padding = "0";
1462
1292
  }
1463
-
1464
1293
  return stylesObject;
1465
1294
  }
1466
-
1467
1295
  get suggestionSeparators() {
1468
1296
  return "None";
1469
1297
  }
1470
-
1471
1298
  get valueStateMessageText() {
1472
1299
  return this.getSlottedNodes("valueStateMessage").map(el => el.cloneNode(true));
1473
1300
  }
1474
-
1475
1301
  get shouldDisplayOnlyValueStateMessage() {
1476
1302
  return this.hasValueStateMessage && !this.readonly && !this.open && this.focused;
1477
1303
  }
1478
-
1479
1304
  get shouldDisplayDefaultValueStateMessage() {
1480
1305
  return !this.valueStateMessage.length && this.hasValueStateMessage;
1481
1306
  }
1482
-
1483
1307
  get hasValueState() {
1484
1308
  return this.valueState !== _ValueState.default.None;
1485
1309
  }
1486
-
1487
1310
  get hasValueStateMessage() {
1488
1311
  return this.hasValueState && this.valueState !== _ValueState.default.Success && (!this._inputIconFocused // Handles the cases when valueStateMessage is forwarded (from datepicker e.g.)
1489
1312
  || this._isPhone && this.Suggestions); // Handles Input with suggestions on mobile
@@ -1492,53 +1315,43 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1492
1315
  get valueStateText() {
1493
1316
  return this.valueStateTextMappings()[this.valueState];
1494
1317
  }
1495
-
1496
1318
  get suggestionsText() {
1497
1319
  return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS);
1498
1320
  }
1499
-
1500
1321
  get availableSuggestionsCount() {
1501
1322
  if (this.showSuggestions && (this.value || this.Suggestions.isOpened())) {
1502
1323
  switch (this.suggestionsTexts.length) {
1503
1324
  case 0:
1504
1325
  return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_NO_HIT);
1505
-
1506
1326
  case 1:
1507
1327
  return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_ONE_HIT);
1508
-
1509
1328
  default:
1510
1329
  return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_MORE_HITS, this.suggestionsTexts.length);
1511
1330
  }
1512
1331
  }
1513
-
1514
1332
  return undefined;
1515
1333
  }
1516
-
1517
1334
  get step() {
1518
1335
  return this.isTypeNumber ? "any" : undefined;
1519
1336
  }
1520
-
1521
1337
  get _isPhone() {
1522
1338
  return (0, _Device.isPhone)();
1523
1339
  }
1524
-
1525
1340
  get _isSuggestionsFocused() {
1526
1341
  return !this.focused && this.Suggestions && this.Suggestions.isOpened();
1527
1342
  }
1343
+
1528
1344
  /**
1529
1345
  * Returns the placeholder value.
1530
1346
  * @protected
1531
1347
  */
1532
-
1533
-
1534
1348
  get _placeholder() {
1535
1349
  return this.placeholder;
1536
1350
  }
1351
+
1537
1352
  /**
1538
1353
  * This method is relevant for sap_horizon theme only
1539
1354
  */
1540
-
1541
-
1542
1355
  get _valueStateInputIcon() {
1543
1356
  const iconPerValueState = {
1544
1357
  Error: `<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20ZM7.70711 13.7071C7.31658 14.0976 6.68342 14.0976 6.29289 13.7071C5.90237 13.3166 5.90237 12.6834 6.29289 12.2929L8.58579 10L6.29289 7.70711C5.90237 7.31658 5.90237 6.68342 6.29289 6.29289C6.68342 5.90237 7.31658 5.90237 7.70711 6.29289L10 8.58579L12.2929 6.29289C12.6834 5.90237 13.3166 5.90237 13.7071 6.29289C14.0976 6.68342 14.0976 7.31658 13.7071 7.70711L11.4142 10L13.7071 12.2929C14.0976 12.6834 14.0976 13.3166 13.7071 13.7071C13.3166 14.0976 12.6834 14.0976 12.2929 13.7071L10 11.4142L7.70711 13.7071Z" fill="#EE3939"/>`,
@@ -1553,15 +1366,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1553
1366
  `;
1554
1367
  return this.valueState !== _ValueState.default.None ? result : "";
1555
1368
  }
1556
-
1557
1369
  get _valueStatePopoverHorizontalAlign() {
1558
1370
  return this.effectiveDir !== "rtl" ? "Left" : "Right";
1559
1371
  }
1372
+
1560
1373
  /**
1561
1374
  * This method is relevant for sap_horizon theme only
1562
1375
  */
1563
-
1564
-
1565
1376
  get _valueStateMessageInputIcon() {
1566
1377
  const iconPerValueState = {
1567
1378
  Error: "error",
@@ -1571,55 +1382,46 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1571
1382
  };
1572
1383
  return this.valueState !== _ValueState.default.None ? iconPerValueState[this.valueState] : "";
1573
1384
  }
1385
+
1574
1386
  /**
1575
1387
  * Returns the caret position inside the native input
1576
1388
  * @protected
1577
1389
  */
1578
-
1579
-
1580
1390
  getCaretPosition() {
1581
1391
  return (0, _Caret.getCaretPosition)(this.nativeInput);
1582
1392
  }
1393
+
1583
1394
  /**
1584
1395
  * Sets the caret to a certain position inside the native input
1585
1396
  * @protected
1586
1397
  * @param pos
1587
1398
  */
1588
-
1589
-
1590
1399
  setCaretPosition(pos) {
1591
1400
  (0, _Caret.setCaretPosition)(this.nativeInput, pos);
1592
1401
  }
1402
+
1593
1403
  /**
1594
1404
  * Removes the fractional part of floating-point number.
1595
1405
  * @param {string} value the numeric value of Input of type "Number"
1596
1406
  */
1597
-
1598
-
1599
1407
  removeFractionalPart(value) {
1600
1408
  if (value.includes(".")) {
1601
1409
  return value.slice(0, value.indexOf("."));
1602
1410
  }
1603
-
1604
1411
  if (value.includes(",")) {
1605
1412
  return value.slice(0, value.indexOf(","));
1606
1413
  }
1607
-
1608
1414
  return value;
1609
1415
  }
1610
-
1611
1416
  static get dependencies() {
1612
1417
  const Suggestions = (0, _FeaturesRegistry.getFeature)("InputSuggestions");
1613
1418
  return [_Popover.default, _Icon.default].concat(Suggestions ? Suggestions.dependencies : []);
1614
1419
  }
1615
-
1616
1420
  static async onDefine() {
1617
1421
  const Suggestions = (0, _FeaturesRegistry.getFeature)("InputSuggestions");
1618
1422
  [Input.i18nBundle] = await Promise.all([(0, _i18nBundle.getI18nBundle)("@ui5/webcomponents"), Suggestions ? Suggestions.init() : Promise.resolve()]);
1619
1423
  }
1620
-
1621
1424
  }
1622
-
1623
1425
  Input.define();
1624
1426
  var _default = Input;
1625
1427
  _exports.default = _default;