@ui5/webcomponents 1.24.0 → 1.24.2

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 (396) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/FileUploader.d.ts +2 -0
  4. package/dist/FileUploader.js +16 -0
  5. package/dist/FileUploader.js.map +1 -1
  6. package/dist/Input.d.ts +2 -0
  7. package/dist/Input.js.map +1 -1
  8. package/dist/MonthPicker.d.ts +1 -0
  9. package/dist/MonthPicker.js +10 -6
  10. package/dist/MonthPicker.js.map +1 -1
  11. package/dist/MultiComboBox.js +1 -0
  12. package/dist/MultiComboBox.js.map +1 -1
  13. package/dist/MultiInput.d.ts +1 -0
  14. package/dist/MultiInput.js +5 -1
  15. package/dist/MultiInput.js.map +1 -1
  16. package/dist/SelectMenu.js +3 -3
  17. package/dist/SelectMenu.js.map +1 -1
  18. package/dist/StepInput.d.ts +6 -1
  19. package/dist/StepInput.js +55 -14
  20. package/dist/StepInput.js.map +1 -1
  21. package/dist/ToggleSpinButton.d.ts +4 -0
  22. package/dist/ToggleSpinButton.js +6 -0
  23. package/dist/ToggleSpinButton.js.map +1 -1
  24. package/dist/Tokenizer.d.ts +1 -0
  25. package/dist/Tokenizer.js +3 -0
  26. package/dist/Tokenizer.js.map +1 -1
  27. package/dist/Toolbar.js +4 -3
  28. package/dist/Toolbar.js.map +1 -1
  29. package/dist/TreeItemCustom.d.ts +2 -0
  30. package/dist/TreeItemCustom.js +15 -0
  31. package/dist/TreeItemCustom.js.map +1 -1
  32. package/dist/css/themes/Avatar.css +1 -1
  33. package/dist/css/themes/AvatarGroup.css +1 -1
  34. package/dist/css/themes/Badge.css +1 -1
  35. package/dist/css/themes/Breadcrumbs.css +1 -1
  36. package/dist/css/themes/BusyIndicator.css +1 -1
  37. package/dist/css/themes/Button.css +1 -1
  38. package/dist/css/themes/Calendar.css +1 -1
  39. package/dist/css/themes/CalendarHeader.css +1 -1
  40. package/dist/css/themes/CalendarLegend.css +1 -1
  41. package/dist/css/themes/CalendarLegendItem.css +1 -1
  42. package/dist/css/themes/Card.css +1 -1
  43. package/dist/css/themes/CardHeader.css +1 -1
  44. package/dist/css/themes/Carousel.css +1 -1
  45. package/dist/css/themes/CheckBox.css +1 -1
  46. package/dist/css/themes/ColorPalette.css +1 -1
  47. package/dist/css/themes/ColorPaletteItem.css +1 -1
  48. package/dist/css/themes/ColorPalettePopover.css +1 -1
  49. package/dist/css/themes/ColorPicker.css +1 -1
  50. package/dist/css/themes/ComboBox.css +1 -1
  51. package/dist/css/themes/CustomListItem.css +1 -1
  52. package/dist/css/themes/DatePicker.css +1 -1
  53. package/dist/css/themes/DateTimePickerPopover.css +1 -1
  54. package/dist/css/themes/DayPicker.css +1 -1
  55. package/dist/css/themes/Dialog.css +1 -1
  56. package/dist/css/themes/FileUploader.css +1 -1
  57. package/dist/css/themes/GroupHeaderListItem.css +1 -1
  58. package/dist/css/themes/GrowingButton.css +1 -1
  59. package/dist/css/themes/Icon.css +1 -1
  60. package/dist/css/themes/Input.css +1 -1
  61. package/dist/css/themes/InputIcon.css +1 -1
  62. package/dist/css/themes/InputSharedStyles.css +1 -1
  63. package/dist/css/themes/Link.css +1 -1
  64. package/dist/css/themes/List.css +1 -1
  65. package/dist/css/themes/ListItem.css +1 -1
  66. package/dist/css/themes/ListItemBase.css +1 -1
  67. package/dist/css/themes/Menu.css +1 -1
  68. package/dist/css/themes/MenuListItem.css +1 -1
  69. package/dist/css/themes/MessageStrip.css +1 -1
  70. package/dist/css/themes/MonthPicker.css +1 -1
  71. package/dist/css/themes/MultiComboBox.css +1 -1
  72. package/dist/css/themes/MultiComboBoxPopover.css +1 -1
  73. package/dist/css/themes/MultiInput.css +1 -1
  74. package/dist/css/themes/NavigationMenu.css +1 -1
  75. package/dist/css/themes/Panel.css +1 -1
  76. package/dist/css/themes/Popover.css +1 -1
  77. package/dist/css/themes/PopupStaticAreaStyles.css +1 -1
  78. package/dist/css/themes/PopupsCommon.css +1 -1
  79. package/dist/css/themes/ProgressIndicator.css +1 -1
  80. package/dist/css/themes/RadioButton.css +1 -1
  81. package/dist/css/themes/RangeSlider.css +1 -1
  82. package/dist/css/themes/RatingIndicator.css +1 -1
  83. package/dist/css/themes/ResponsivePopover.css +1 -1
  84. package/dist/css/themes/ResponsivePopoverCommon.css +1 -1
  85. package/dist/css/themes/SegmentedButton.css +1 -1
  86. package/dist/css/themes/Select.css +1 -1
  87. package/dist/css/themes/SelectMenu.css +1 -1
  88. package/dist/css/themes/SelectPopover.css +1 -1
  89. package/dist/css/themes/SliderBase.css +1 -1
  90. package/dist/css/themes/SplitButton.css +1 -1
  91. package/dist/css/themes/StepInput.css +1 -1
  92. package/dist/css/themes/Switch.css +1 -1
  93. package/dist/css/themes/TabContainer.css +1 -1
  94. package/dist/css/themes/TabInOverflow.css +1 -1
  95. package/dist/css/themes/TabInStrip.css +1 -1
  96. package/dist/css/themes/TabSemanticIcon.css +1 -1
  97. package/dist/css/themes/TabSeparatorInOverflow.css +1 -1
  98. package/dist/css/themes/Table.css +1 -1
  99. package/dist/css/themes/TableCell.css +1 -1
  100. package/dist/css/themes/TableColumn.css +1 -1
  101. package/dist/css/themes/TableGroupRow.css +1 -1
  102. package/dist/css/themes/TableRow.css +1 -1
  103. package/dist/css/themes/TextArea.css +1 -1
  104. package/dist/css/themes/TimePicker.css +1 -1
  105. package/dist/css/themes/Toast.css +1 -1
  106. package/dist/css/themes/ToggleButton.css +1 -1
  107. package/dist/css/themes/Token.css +1 -1
  108. package/dist/css/themes/Tokenizer.css +1 -1
  109. package/dist/css/themes/TokenizerPopover.css +1 -1
  110. package/dist/css/themes/Toolbar.css +1 -1
  111. package/dist/css/themes/ToolbarPopover.css +1 -1
  112. package/dist/css/themes/TreeItem.css +1 -1
  113. package/dist/css/themes/ValueStateMessage.css +1 -1
  114. package/dist/css/themes/WheelSlider.css +1 -1
  115. package/dist/css/themes/YearPicker.css +1 -1
  116. package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
  117. package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  118. package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  119. package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  120. package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  121. package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  122. package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  123. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  124. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  125. package/dist/css/themes/sap_horizon_dark_exp/parameters-bundle.css +1 -1
  126. package/dist/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  127. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  128. package/dist/css/themes/sap_horizon_hcb_exp/parameters-bundle.css +1 -1
  129. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  130. package/dist/css/themes/sap_horizon_hcw_exp/parameters-bundle.css +1 -1
  131. package/dist/custom-elements-internal.json +10 -10
  132. package/dist/custom-elements.json +10 -10
  133. package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
  134. package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
  135. package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
  136. package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
  137. package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
  138. package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
  139. package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
  140. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  141. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  142. package/dist/generated/assets/themes/sap_horizon_dark_exp/parameters-bundle.css.json +1 -1
  143. package/dist/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json +1 -1
  144. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  145. package/dist/generated/assets/themes/sap_horizon_hcb_exp/parameters-bundle.css.json +1 -1
  146. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  147. package/dist/generated/assets/themes/sap_horizon_hcw_exp/parameters-bundle.css.json +1 -1
  148. package/dist/generated/templates/FileUploaderTemplate.lit.js +1 -1
  149. package/dist/generated/templates/FileUploaderTemplate.lit.js.map +1 -1
  150. package/dist/generated/templates/ResponsivePopoverTemplate.lit.js +1 -1
  151. package/dist/generated/templates/ResponsivePopoverTemplate.lit.js.map +1 -1
  152. package/dist/generated/templates/SelectPopoverTemplate.lit.js +1 -1
  153. package/dist/generated/templates/SelectPopoverTemplate.lit.js.map +1 -1
  154. package/dist/generated/templates/StepInputTemplate.lit.js +1 -1
  155. package/dist/generated/templates/StepInputTemplate.lit.js.map +1 -1
  156. package/dist/generated/templates/ToggleSpinButtonTemplate.lit.js +1 -1
  157. package/dist/generated/templates/ToggleSpinButtonTemplate.lit.js.map +1 -1
  158. package/dist/generated/themes/Avatar.css.js +1 -1
  159. package/dist/generated/themes/Avatar.css.js.map +1 -1
  160. package/dist/generated/themes/AvatarGroup.css.js +1 -1
  161. package/dist/generated/themes/AvatarGroup.css.js.map +1 -1
  162. package/dist/generated/themes/Badge.css.js +1 -1
  163. package/dist/generated/themes/Badge.css.js.map +1 -1
  164. package/dist/generated/themes/Breadcrumbs.css.js +1 -1
  165. package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
  166. package/dist/generated/themes/BusyIndicator.css.js +1 -1
  167. package/dist/generated/themes/BusyIndicator.css.js.map +1 -1
  168. package/dist/generated/themes/Button.css.js +1 -1
  169. package/dist/generated/themes/Button.css.js.map +1 -1
  170. package/dist/generated/themes/Calendar.css.js +1 -1
  171. package/dist/generated/themes/Calendar.css.js.map +1 -1
  172. package/dist/generated/themes/CalendarHeader.css.js +1 -1
  173. package/dist/generated/themes/CalendarHeader.css.js.map +1 -1
  174. package/dist/generated/themes/CalendarLegend.css.js +1 -1
  175. package/dist/generated/themes/CalendarLegend.css.js.map +1 -1
  176. package/dist/generated/themes/CalendarLegendItem.css.js +1 -1
  177. package/dist/generated/themes/CalendarLegendItem.css.js.map +1 -1
  178. package/dist/generated/themes/Card.css.js +1 -1
  179. package/dist/generated/themes/Card.css.js.map +1 -1
  180. package/dist/generated/themes/CardHeader.css.js +1 -1
  181. package/dist/generated/themes/CardHeader.css.js.map +1 -1
  182. package/dist/generated/themes/Carousel.css.js +1 -1
  183. package/dist/generated/themes/Carousel.css.js.map +1 -1
  184. package/dist/generated/themes/CheckBox.css.js +1 -1
  185. package/dist/generated/themes/CheckBox.css.js.map +1 -1
  186. package/dist/generated/themes/ColorPalette.css.js +1 -1
  187. package/dist/generated/themes/ColorPalette.css.js.map +1 -1
  188. package/dist/generated/themes/ColorPaletteItem.css.js +1 -1
  189. package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
  190. package/dist/generated/themes/ColorPalettePopover.css.js +1 -1
  191. package/dist/generated/themes/ColorPalettePopover.css.js.map +1 -1
  192. package/dist/generated/themes/ColorPicker.css.js +1 -1
  193. package/dist/generated/themes/ColorPicker.css.js.map +1 -1
  194. package/dist/generated/themes/ComboBox.css.js +1 -1
  195. package/dist/generated/themes/ComboBox.css.js.map +1 -1
  196. package/dist/generated/themes/CustomListItem.css.js +1 -1
  197. package/dist/generated/themes/CustomListItem.css.js.map +1 -1
  198. package/dist/generated/themes/DatePicker.css.js +1 -1
  199. package/dist/generated/themes/DatePicker.css.js.map +1 -1
  200. package/dist/generated/themes/DateTimePickerPopover.css.js +1 -1
  201. package/dist/generated/themes/DateTimePickerPopover.css.js.map +1 -1
  202. package/dist/generated/themes/DayPicker.css.js +1 -1
  203. package/dist/generated/themes/DayPicker.css.js.map +1 -1
  204. package/dist/generated/themes/Dialog.css.js +1 -1
  205. package/dist/generated/themes/Dialog.css.js.map +1 -1
  206. package/dist/generated/themes/FileUploader.css.js +1 -1
  207. package/dist/generated/themes/FileUploader.css.js.map +1 -1
  208. package/dist/generated/themes/GroupHeaderListItem.css.js +1 -1
  209. package/dist/generated/themes/GroupHeaderListItem.css.js.map +1 -1
  210. package/dist/generated/themes/GrowingButton.css.js +1 -1
  211. package/dist/generated/themes/GrowingButton.css.js.map +1 -1
  212. package/dist/generated/themes/Icon.css.js +1 -1
  213. package/dist/generated/themes/Icon.css.js.map +1 -1
  214. package/dist/generated/themes/Input.css.js +1 -1
  215. package/dist/generated/themes/Input.css.js.map +1 -1
  216. package/dist/generated/themes/InputIcon.css.js +1 -1
  217. package/dist/generated/themes/InputIcon.css.js.map +1 -1
  218. package/dist/generated/themes/InputSharedStyles.css.js +1 -1
  219. package/dist/generated/themes/InputSharedStyles.css.js.map +1 -1
  220. package/dist/generated/themes/Link.css.js +1 -1
  221. package/dist/generated/themes/Link.css.js.map +1 -1
  222. package/dist/generated/themes/List.css.js +1 -1
  223. package/dist/generated/themes/List.css.js.map +1 -1
  224. package/dist/generated/themes/ListItem.css.js +1 -1
  225. package/dist/generated/themes/ListItem.css.js.map +1 -1
  226. package/dist/generated/themes/ListItemBase.css.js +1 -1
  227. package/dist/generated/themes/ListItemBase.css.js.map +1 -1
  228. package/dist/generated/themes/Menu.css.js +1 -1
  229. package/dist/generated/themes/Menu.css.js.map +1 -1
  230. package/dist/generated/themes/MenuListItem.css.js +1 -1
  231. package/dist/generated/themes/MenuListItem.css.js.map +1 -1
  232. package/dist/generated/themes/MessageStrip.css.js +1 -1
  233. package/dist/generated/themes/MessageStrip.css.js.map +1 -1
  234. package/dist/generated/themes/MonthPicker.css.js +1 -1
  235. package/dist/generated/themes/MonthPicker.css.js.map +1 -1
  236. package/dist/generated/themes/MultiComboBox.css.js +1 -1
  237. package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
  238. package/dist/generated/themes/MultiComboBoxPopover.css.js +1 -1
  239. package/dist/generated/themes/MultiComboBoxPopover.css.js.map +1 -1
  240. package/dist/generated/themes/MultiInput.css.js +1 -1
  241. package/dist/generated/themes/MultiInput.css.js.map +1 -1
  242. package/dist/generated/themes/NavigationMenu.css.js +1 -1
  243. package/dist/generated/themes/NavigationMenu.css.js.map +1 -1
  244. package/dist/generated/themes/Panel.css.js +1 -1
  245. package/dist/generated/themes/Panel.css.js.map +1 -1
  246. package/dist/generated/themes/Popover.css.js +1 -1
  247. package/dist/generated/themes/Popover.css.js.map +1 -1
  248. package/dist/generated/themes/PopupStaticAreaStyles.css.js +1 -1
  249. package/dist/generated/themes/PopupStaticAreaStyles.css.js.map +1 -1
  250. package/dist/generated/themes/PopupsCommon.css.js +1 -1
  251. package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
  252. package/dist/generated/themes/ProgressIndicator.css.js +1 -1
  253. package/dist/generated/themes/ProgressIndicator.css.js.map +1 -1
  254. package/dist/generated/themes/RadioButton.css.js +1 -1
  255. package/dist/generated/themes/RadioButton.css.js.map +1 -1
  256. package/dist/generated/themes/RangeSlider.css.js +1 -1
  257. package/dist/generated/themes/RangeSlider.css.js.map +1 -1
  258. package/dist/generated/themes/RatingIndicator.css.js +1 -1
  259. package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
  260. package/dist/generated/themes/ResponsivePopover.css.js +1 -1
  261. package/dist/generated/themes/ResponsivePopover.css.js.map +1 -1
  262. package/dist/generated/themes/ResponsivePopoverCommon.css.js +1 -1
  263. package/dist/generated/themes/ResponsivePopoverCommon.css.js.map +1 -1
  264. package/dist/generated/themes/SegmentedButton.css.js +1 -1
  265. package/dist/generated/themes/SegmentedButton.css.js.map +1 -1
  266. package/dist/generated/themes/Select.css.js +1 -1
  267. package/dist/generated/themes/Select.css.js.map +1 -1
  268. package/dist/generated/themes/SelectMenu.css.js +1 -1
  269. package/dist/generated/themes/SelectMenu.css.js.map +1 -1
  270. package/dist/generated/themes/SelectPopover.css.js +1 -1
  271. package/dist/generated/themes/SelectPopover.css.js.map +1 -1
  272. package/dist/generated/themes/SliderBase.css.js +1 -1
  273. package/dist/generated/themes/SliderBase.css.js.map +1 -1
  274. package/dist/generated/themes/SplitButton.css.js +1 -1
  275. package/dist/generated/themes/SplitButton.css.js.map +1 -1
  276. package/dist/generated/themes/StepInput.css.js +1 -1
  277. package/dist/generated/themes/StepInput.css.js.map +1 -1
  278. package/dist/generated/themes/Switch.css.js +1 -1
  279. package/dist/generated/themes/Switch.css.js.map +1 -1
  280. package/dist/generated/themes/TabContainer.css.js +1 -1
  281. package/dist/generated/themes/TabContainer.css.js.map +1 -1
  282. package/dist/generated/themes/TabInOverflow.css.js +1 -1
  283. package/dist/generated/themes/TabInOverflow.css.js.map +1 -1
  284. package/dist/generated/themes/TabInStrip.css.js +1 -1
  285. package/dist/generated/themes/TabInStrip.css.js.map +1 -1
  286. package/dist/generated/themes/TabSemanticIcon.css.js +1 -1
  287. package/dist/generated/themes/TabSemanticIcon.css.js.map +1 -1
  288. package/dist/generated/themes/TabSeparatorInOverflow.css.js +1 -1
  289. package/dist/generated/themes/TabSeparatorInOverflow.css.js.map +1 -1
  290. package/dist/generated/themes/Table.css.js +1 -1
  291. package/dist/generated/themes/Table.css.js.map +1 -1
  292. package/dist/generated/themes/TableCell.css.js +1 -1
  293. package/dist/generated/themes/TableCell.css.js.map +1 -1
  294. package/dist/generated/themes/TableColumn.css.js +1 -1
  295. package/dist/generated/themes/TableColumn.css.js.map +1 -1
  296. package/dist/generated/themes/TableGroupRow.css.js +1 -1
  297. package/dist/generated/themes/TableGroupRow.css.js.map +1 -1
  298. package/dist/generated/themes/TableRow.css.js +1 -1
  299. package/dist/generated/themes/TableRow.css.js.map +1 -1
  300. package/dist/generated/themes/TextArea.css.js +1 -1
  301. package/dist/generated/themes/TextArea.css.js.map +1 -1
  302. package/dist/generated/themes/TimePicker.css.js +1 -1
  303. package/dist/generated/themes/TimePicker.css.js.map +1 -1
  304. package/dist/generated/themes/Toast.css.js +1 -1
  305. package/dist/generated/themes/Toast.css.js.map +1 -1
  306. package/dist/generated/themes/ToggleButton.css.js +1 -1
  307. package/dist/generated/themes/ToggleButton.css.js.map +1 -1
  308. package/dist/generated/themes/Token.css.js +1 -1
  309. package/dist/generated/themes/Token.css.js.map +1 -1
  310. package/dist/generated/themes/Tokenizer.css.js +1 -1
  311. package/dist/generated/themes/Tokenizer.css.js.map +1 -1
  312. package/dist/generated/themes/TokenizerPopover.css.js +1 -1
  313. package/dist/generated/themes/TokenizerPopover.css.js.map +1 -1
  314. package/dist/generated/themes/Toolbar.css.js +1 -1
  315. package/dist/generated/themes/Toolbar.css.js.map +1 -1
  316. package/dist/generated/themes/ToolbarPopover.css.js +1 -1
  317. package/dist/generated/themes/ToolbarPopover.css.js.map +1 -1
  318. package/dist/generated/themes/TreeItem.css.js +1 -1
  319. package/dist/generated/themes/TreeItem.css.js.map +1 -1
  320. package/dist/generated/themes/ValueStateMessage.css.js +1 -1
  321. package/dist/generated/themes/ValueStateMessage.css.js.map +1 -1
  322. package/dist/generated/themes/WheelSlider.css.js +1 -1
  323. package/dist/generated/themes/WheelSlider.css.js.map +1 -1
  324. package/dist/generated/themes/YearPicker.css.js +1 -1
  325. package/dist/generated/themes/YearPicker.css.js.map +1 -1
  326. package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  327. package/dist/generated/themes/sap_belize/parameters-bundle.css.js.map +1 -1
  328. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  329. package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js.map +1 -1
  330. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  331. package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js.map +1 -1
  332. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  333. package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
  334. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  335. package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
  336. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  337. package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
  338. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  339. package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
  340. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  341. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  342. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  343. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  344. package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js +1 -1
  345. package/dist/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js.map +1 -1
  346. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
  347. package/dist/generated/themes/sap_horizon_exp/parameters-bundle.css.js.map +1 -1
  348. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  349. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  350. package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js +1 -1
  351. package/dist/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js.map +1 -1
  352. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  353. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  354. package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js +1 -1
  355. package/dist/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js.map +1 -1
  356. package/dist/vscode.html-custom-data.json +2 -2
  357. package/dist/web-types.json +5 -5
  358. package/package.json +11 -12
  359. package/src/FileUploader.hbs +2 -0
  360. package/src/MonthPicker.hbs +1 -1
  361. package/src/ResponsivePopover.hbs +2 -1
  362. package/src/SelectPopover.hbs +1 -1
  363. package/src/StepInput.hbs +1 -1
  364. package/src/ToggleSpinButton.hbs +0 -1
  365. package/src/themes/Calendar.css +1 -0
  366. package/src/themes/DayPicker.css +3 -6
  367. package/src/themes/Dialog.css +1 -0
  368. package/src/themes/Link.css +2 -2
  369. package/src/themes/MenuListItem.css +5 -0
  370. package/src/themes/MonthPicker.css +23 -0
  371. package/src/themes/ProgressIndicator.css +0 -1
  372. package/src/themes/SplitButton.css +1 -0
  373. package/src/themes/StepInput.css +1 -0
  374. package/src/themes/base/DayPicker-parameters.css +3 -3
  375. package/src/themes/base/Link-parameters.css +1 -2
  376. package/src/themes/sap_belize_hcb/Link-parameters.css +1 -2
  377. package/src/themes/sap_belize_hcw/Link-parameters.css +1 -2
  378. package/src/themes/sap_fiori_3_hcb/Link-parameters.css +1 -2
  379. package/src/themes/sap_fiori_3_hcw/Link-parameters.css +1 -2
  380. package/src/themes/sap_horizon/DayPicker-parameters.css +0 -1
  381. package/src/themes/sap_horizon/Link-parameters.css +1 -2
  382. package/src/themes/sap_horizon_dark/DayPicker-parameters.css +0 -1
  383. package/src/themes/sap_horizon_dark/Link-parameters.css +1 -2
  384. package/src/themes/sap_horizon_dark_exp/DayPicker-parameters.css +0 -1
  385. package/src/themes/sap_horizon_dark_exp/Link-parameters.css +1 -2
  386. package/src/themes/sap_horizon_exp/DayPicker-parameters.css +0 -1
  387. package/src/themes/sap_horizon_exp/Link-parameters.css +1 -2
  388. package/src/themes/sap_horizon_hcb/DayPicker-parameters.css +0 -1
  389. package/src/themes/sap_horizon_hcb/Link-parameters.css +1 -2
  390. package/src/themes/sap_horizon_hcb_exp/DayPicker-parameters.css +0 -1
  391. package/src/themes/sap_horizon_hcb_exp/Link-parameters.css +1 -2
  392. package/src/themes/sap_horizon_hcw/DayPicker-parameters.css +0 -1
  393. package/src/themes/sap_horizon_hcw/Link-parameters.css +1 -2
  394. package/src/themes/sap_horizon_hcw_exp/DayPicker-parameters.css +0 -1
  395. package/src/themes/sap_horizon_hcw_exp/Link-parameters.css +1 -2
  396. package/LICENSE.txt +0 -201
package/dist/Input.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Input.js","sourceRoot":"","sources":["../src/Input.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AAErE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,wDAAwD,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAEvF,OAAO,EACN,OAAO,EACP,SAAS,GACT,MAAM,wCAAwC,CAAC;AAChD,OAAO,UAAU,MAAM,kDAAkD,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAC;AAC9E,OAAO,EACN,IAAI,EACJ,MAAM,EACN,OAAO,EACP,OAAO,EACP,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,UAAU,EACV,MAAM,EACN,KAAK,GACL,MAAM,sCAAsC,CAAC;AAC9C,OAAO,OAAO,MAAM,+CAA+C,CAAC;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EACN,0BAA0B,EAC1B,4BAA4B,EAC5B,kBAAkB,EAClB,oBAAoB,GACpB,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,gBAAgB,MAAM,uDAAuD,CAAC;AACrF,OAAO,0CAA0C,CAAC;AAClD,O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;;IACF,KAAK,CAAuC,wBAAwB,EAAE;QACtE,MAAM,EAAE;YACP;;cAEG;YACH,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;SAC3B;KACD,CAAC;IAEF;;;;;;;OAOG;;IACF,KAAK,CAAwC,yBAAyB,EAAE;QACxE,MAAM,EAAE;YACP;;cAEG;YACH,IAAI,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;YAC3B;;cAEG;YACH,SAAS,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;SAChC;KACD,CAAC;IAEF;;;;;;OAMG;;IACF,KAAK,CAAmC,mBAAmB,EAAE;QAC7D,MAAM,EAAE;YACP;;cAEG;YACH,SAAS,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;YAC5B;;cAEG;YACH,eAAe,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;SACtC;KACD,CAAC;GACI,KAAK,CAu7CV;AAED,KAAK,CAAC,MAAM,EAAE,CAAC;AAEf,eAAe,KAAK,CAAC","sourcesContent":["import UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport type { ClassMap } from \"@ui5/webcomponents-base/dist/types.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { getScopedVarName } from \"@ui5/webcomponents-base/dist/CustomElementsScope.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport {\n\tisPhone,\n\tisAndroid,\n} from \"@ui5/webcomponents-base/dist/Device.js\";\nimport ValueState from \"@ui5/webcomponents-base/dist/types/ValueState.js\";\nimport { getFeature } from \"@ui5/webcomponents-base/dist/FeaturesRegistry.js\";\nimport {\n\tisUp,\n\tisDown,\n\tisSpace,\n\tisEnter,\n\tisBackSpace,\n\tisDelete,\n\tisEscape,\n\tisTabNext,\n\tisPageUp,\n\tisPageDown,\n\tisHome,\n\tisEnd,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport {\n\tgetAssociatedLabelForTexts,\n\tgetAllAccessibleNameRefTexts,\n\tregisterUI5Element,\n\tderegisterUI5Element,\n} from \"@ui5/webcomponents-base/dist/util/AriaLabelHelper.js\";\nimport { getCaretPosition, setCaretPosition } from \"@ui5/webcomponents-base/dist/util/Caret.js\";\nimport getActiveElement from \"@ui5/webcomponents-base/dist/util/getActiveElement.js\";\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\nimport \"@ui5/webcomponents-icons/dist/not-editable.js\";\nimport \"@ui5/webcomponents-icons/dist/error.js\";\nimport \"@ui5/webcomponents-icons/dist/alert.js\";\nimport \"@ui5/webcomponents-icons/dist/sys-enter-2.js\";\nimport \"@ui5/webcomponents-icons/dist/information.js\";\nimport type SuggestionItem from \"./SuggestionItem.js\";\nimport type { InputSuggestion, SuggestionComponent } from \"./features/InputSuggestions.js\";\nimport type InputSuggestions from \"./features/InputSuggestions.js\";\nimport type FormSupportT from \"./features/InputElementsFormSupport.js\";\nimport type { IFormElement } from \"./features/InputElementsFormSupport.js\";\nimport type SuggestionListItem from \"./SuggestionListItem.js\";\nimport type { PopupScrollEventDetail } from \"./Popup.js\";\nimport InputType from \"./types/InputType.js\";\nimport Popover from \"./Popover.js\";\nimport Icon from \"./Icon.js\";\nimport type { IIcon } from \"./Icon.js\";\nimport type ListItemType from \"./types/ListItemType.js\";\n// Templates\nimport InputTemplate from \"./generated/templates/InputTemplate.lit.js\";\nimport InputPopoverTemplate from \"./generated/templates/InputPopoverTemplate.lit.js\";\nimport { StartsWith } from \"./Filters.js\";\n\nimport {\n\tVALUE_STATE_SUCCESS,\n\tVALUE_STATE_INFORMATION,\n\tVALUE_STATE_ERROR,\n\tVALUE_STATE_WARNING,\n\tVALUE_STATE_TYPE_SUCCESS,\n\tVALUE_STATE_TYPE_INFORMATION,\n\tVALUE_STATE_TYPE_ERROR,\n\tVALUE_STATE_TYPE_WARNING,\n\tINPUT_SUGGESTIONS,\n\tINPUT_SUGGESTIONS_TITLE,\n\tINPUT_SUGGESTIONS_ONE_HIT,\n\tINPUT_SUGGESTIONS_MORE_HITS,\n\tINPUT_SUGGESTIONS_NO_HIT,\n\tINPUT_CLEAR_ICON_ACC_NAME,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport inputStyles from \"./generated/themes/Input.css.js\";\nimport ResponsivePopoverCommonCss from \"./generated/themes/ResponsivePopoverCommon.css.js\";\nimport ValueStateMessageCss from \"./generated/themes/ValueStateMessage.css.js\";\nimport SuggestionsCss from \"./generated/themes/Suggestions.css.js\";\n\n/**\n * Interface for components that represent a suggestion item, usable in `ui5-input`\n * @public\n */\ninterface IInputSuggestionItem extends UI5Element {\n\ttext: string;\n\tgroupItem: boolean;\n\tdescription?: string;\n\timage?: string;\n\ticon?: string;\n\tadditionalText?: string;\n\tadditionalTextState?: `${ValueState}`;\n\ttype?: `${ListItemType}`;\n}\n\ntype NativeInputAttributes = {\n\tmin?: number,\n\tmax?: number,\n\tstep?: number\n}\n\ntype AccInfo = {\n\tariaRoledescription?: string,\n\tariaDescribedBy?: string,\n\tariaHasPopup?: string,\n\tariaAutoComplete?: string,\n\trole?: string,\n\tariaControls?: string,\n\tariaExpanded?: string,\n\tariaDescription?: string,\n\tariaLabel?: string,\n}\n\n// all sementic events\nenum INPUT_EVENTS {\n\tCHANGE = \"change\",\n\tINPUT = \"input\",\n\tSUGGESTION_ITEM_SELECT = \"suggestion-item-select\",\n}\n\n// all user interactions\nenum INPUT_ACTIONS {\n\tACTION_ENTER = \"enter\",\n\tACTION_USER_INPUT = \"input\",\n}\n\ntype InputEventDetail = {\n\tinputType: string;\n}\n\ntype InputSuggestionItemSelectEventDetail = {\n\titem: IInputSuggestionItem;\n}\n\ntype InputSuggestionItemPreviewEventDetail = {\n\titem: IInputSuggestionItem;\n\ttargetRef: SuggestionListItem;\n}\n\ntype InputSuggestionScrollEventDetail = {\n\tscrollTop: number;\n\tscrollContainer: HTMLElement;\n}\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-input` component allows the user to enter and edit text or numeric values in one line.\n *\n * Additionally, you can provide `suggestionItems`,\n * that are displayed in a popover right under the input.\n *\n * The text field can be editable or read-only (`readonly` property),\n * and it can be enabled or disabled (`disabled` property).\n * To visualize semantic states, such as \"error\" or \"warning\", the `valueState` property is provided.\n * When the user makes changes to the text, the change event is fired,\n * which enables you to react on any text change.\n *\n * **Note:** If you are using the `ui5-input` as a single npm module,\n * don't forget to import the `InputSuggestions` module from\n * \"@ui5/webcomponents/dist/features/InputSuggestions.js\"\n * to enable the suggestions functionality.\n *\n * ### Keyboard Handling\n * The `ui5-input` provides the following keyboard shortcuts:\n *\n * - [Escape] - Closes the suggestion list, if open. If closed or not enabled, cancels changes and reverts to the value which the Input field had when it got the focus.\n * - [Enter] or [Return] - If suggestion list is open takes over the current matching item and closes it. If value state or group header is focused, does nothing.\n * - [Down] - Focuses the next matching item in the suggestion list.\n * - [Up] - Focuses the previous matching item in the suggestion list.\n * - [Home] - If focus is in the text input, moves caret before the first character. If focus is in the list, highlights the first item and updates the input accordingly.\n * - [End] - If focus is in the text input, moves caret after the last character. If focus is in the list, highlights the last item and updates the input accordingly.\n * - [Page Up] - If focus is in the list, moves highlight up by page size (10 items by default). If focus is in the input, does nothing.\n * - [Page Down] - If focus is in the list, moves highlight down by page size (10 items by default). If focus is in the input, does nothing.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Input.js\";`\n *\n * `import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";` (optional - for input suggestions support)\n * @constructor\n * @extends UI5Element\n * @public\n */\n@customElement({\n\ttag: \"ui5-input\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: InputTemplate,\n\tstaticAreaTemplate: InputPopoverTemplate,\n\tstyles: inputStyles,\n\tstaticAreaStyles: [ResponsivePopoverCommonCss, ValueStateMessageCss, SuggestionsCss],\n\tget dependencies() {\n\t\tconst Suggestions = getFeature<typeof InputSuggestions>(\"InputSuggestions\");\n\t\treturn ([Popover, Icon] as Array<typeof UI5Element>).concat(Suggestions ? Suggestions.dependencies : []);\n\t},\n})\n\n/**\n * Fired when the input operation has finished by pressing Enter or on focusout.\n * @public\n */\n@event(\"change\")\n\n/**\n * Fired when the value of the component changes at each keystroke,\n * and when a suggestion item has been selected.\n * @public\n */\n@event(\"input\")\n\n/**\n * Fired when a suggestion item, that is displayed in the suggestion popup, is selected.\n * @param {HTMLElement} item The selected item.\n * @public\n * @allowPreventDefault\n */\n@event<InputSuggestionItemSelectEventDetail>(\"suggestion-item-select\", {\n\tdetail: {\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\titem: { type: HTMLElement },\n\t},\n})\n\n/**\n * Fired when the user navigates to a suggestion item via the ARROW keys,\n * as a preview, before the final selection.\n * @param {HTMLElement} item The previewed suggestion item.\n * @param {HTMLElement} targetRef The DOM ref of the suggestion item.\n * @public\n * @since 1.0.0-rc.8\n */\n@event<InputSuggestionItemPreviewEventDetail>(\"suggestion-item-preview\", {\n\tdetail: {\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\titem: { type: HTMLElement },\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\ttargetRef: { type: HTMLElement },\n\t},\n})\n\n/**\n * Fired when the user scrolls the suggestion popover.\n * @param {Integer} scrollTop The current scroll position.\n * @param {HTMLElement} scrollContainer The scroll container.\n * @protected\n * @since 1.0.0-rc.8\n */\n@event<InputSuggestionScrollEventDetail>(\"suggestion-scroll\", {\n\tdetail: {\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\tscrollTop: { type: Integer },\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\tscrollContainer: { type: HTMLElement },\n\t},\n})\nclass Input extends UI5Element implements SuggestionComponent, IFormElement {\n\t/**\n\t * Defines whether the component is in disabled state.\n\t *\n\t * **Note:** A disabled component is completely noninteractive.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Defines if characters within the suggestions are to be highlighted\n\t * in case the input value matches parts of the suggestions text.\n\t *\n\t * **Note:** takes effect when `showSuggestions` is set to `true`\n\t * @default false\n\t * @private\n\t * @since 1.0.0-rc.8\n\t */\n\t@property({ type: Boolean })\n\thighlight!: boolean;\n\n\t/**\n\t * Defines a short hint intended to aid the user with data entry when the\n\t * component has no value.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tplaceholder!: string;\n\n\t/**\n\t * Defines whether the component is read-only.\n\t *\n\t * **Note:** A read-only component is not editable,\n\t * but still provides visual feedback upon user interaction.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\treadonly!: boolean;\n\n\t/**\n\t * Defines whether the component is required.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.3\n\t */\n\t@property({ type: Boolean })\n\trequired!: boolean;\n\n\t/**\n\t * Defines whether the value will be autcompleted to match an item\n\t * @default false\n\t * @public\n\t * @since 1.4.0\n\t */\n\t@property({ type: Boolean })\n\tnoTypeahead!: boolean;\n\n\t/**\n\t * Defines the HTML type of the component.\n\t *\n\t * **Notes:**\n\t *\n\t * - The particular effect of this property differs depending on the browser\n\t * and the current language settings, especially for type `Number`.\n\t * - The property is mostly intended to be used with touch devices\n\t * that use different soft keyboard layouts depending on the given input type.\n\t * @default \"Text\"\n\t * @public\n\t */\n\t@property({ type: InputType, defaultValue: InputType.Text })\n\ttype!: `${InputType}`;\n\n\t/**\n\t * Defines the value of the component.\n\t *\n\t * **Note:** The property is updated upon typing.\n\t * @default \"\"\n\t * @formEvents change input\n\t * @formProperty\n\t * @public\n\t */\n\t@property()\n\tvalue!: string;\n\n\t/**\n\t * Defines the inner stored value of the component.\n\t *\n\t * **Note:** The property is updated upon typing. In some special cases the old value is kept (e.g. deleting the value after the dot in a float)\n\t * @default \"\"\n\t * @private\n\t */\n\t@property({ noAttribute: true })\n\t_innerValue!: string;\n\n\t/**\n\t * Defines the value state of the component.\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: ValueState, defaultValue: ValueState.None })\n\tvalueState!: `${ValueState}`;\n\n\t/**\n\t * Determines the name with which the component will be submitted in an HTML form.\n\t *\n\t * **Important:** For the `name` property to have effect, you must add the following import to your project:\n\t * `import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";`\n\t *\n\t * **Note:** When set, a native `input` HTML element\n\t * will be created inside the component so that it can be submitted as\n\t * part of an HTML form. Do not use this property unless you need to submit a form.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tname!: string;\n\n\t/**\n\t * Defines whether the component should show suggestions, if such are present.\n\t *\n\t * **Note:** You need to import the `InputSuggestions` module\n\t * from `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowSuggestions!: boolean;\n\n\t/**\n\t * Sets the maximum number of characters available in the input field.\n\t *\n\t * **Note:** This property is not compatible with the ui5-input type InputType.Number. If the ui5-input type is set to Number, the maxlength value is ignored.\n\t * @default undefined\n\t * @since 1.0.0-rc.5\n\t * @public\n\t */\n\t@property({ validator: Integer })\n\tmaxlength?: number;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t * @default \"\"\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * Receives id(or many ids) of the elements that label the input.\n\t * @default \"\"\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property({ defaultValue: \"\" })\n\taccessibleNameRef!: string;\n\n\t/**\n\t * Defines whether the clear icon of the input will be shown.\n\t * @default false\n\t * @public\n\t * @since 1.2.0\n\t */\n\t@property({ type: Boolean })\n\tshowClearIcon!: boolean;\n\n\t/**\n\t * Defines whether the clear icon is visible.\n\t * @default false\n\t * @private\n\t * @since 1.2.0\n\t */\n\t@property({ type: Boolean })\n\t_effectiveShowClearIcon!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tfocused!: boolean;\n\n\t@property({ type: Boolean })\n\topenOnMobile!: boolean;\n\n\t@property({ type: Boolean })\n\topen!: boolean;\n\n\t/**\n\t * Determines whether to manually show the suggestions popover\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_forceOpen!: boolean;\n\n\t/**\n\t * Indicates whether the visual focus is on the value state header\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_isValueStateFocused!: boolean;\n\n\t@property({ type: Object, noAttribute: true })\n\t_inputAccInfo!: AccInfo;\n\n\t@property({ type: Object, noAttribute: true })\n\t_nativeInputAttributes!: NativeInputAttributes;\n\n\t@property({ validator: Integer })\n\t_inputWidth?: number;\n\n\t@property({ validator: Integer })\n\t_listWidth?: number;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_isPopoverOpen!: boolean;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_inputIconFocused!: boolean;\n\n\t/**\n\t * Constantly updated value of texts collected from the associated labels\n\t * @private\n\t */\n\t@property({ type: String, noAttribute: true, defaultValue: undefined })\n\t_associatedLabelsTexts?: string;\n\n\t/**\n\t * Constantly updated value of texts collected from the accessibleNameRef elements\n\t * @private\n\t */\n\t@property({ type: String, noAttribute: true, defaultValue: undefined })\n\t_accessibleLabelsRefTexts?: string;\n\n\t/**\n\t * Defines the suggestion items.\n\t *\n\t * **Note:** The suggestions would be displayed only if the `showSuggestions`\n\t * property is set to `true`.\n\t *\n\t * **Note:** The `<ui5-suggestion-item>` and `<ui5-suggestion-group-item>` are recommended to be used as suggestion items.\n\t *\n\t * **Note:** Importing the Input Suggestions Support feature:\n\t *\n\t * `import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\t *\n\t * automatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-group-item>` for your convenience.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tsuggestionItems!: Array<IInputSuggestionItem>;\n\n\t/**\n\t * Defines the icon to be displayed in the component.\n\t * @public\n\t */\n\t@slot()\n\ticon!: Array<IIcon>;\n\n\t/**\n\t * The slot is used for native `input` HTML element to enable form submit,\n\t * when `name` property is set.\n\t * @private\n\t */\n\t@slot()\n\tformSupport!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the value state message that will be displayed as pop up under the component.\n\t * The value state message slot should contain only one root element.\n\t *\n\t * **Note:** If not specified, a default text (in the respective language) will be displayed.\n\t *\n\t * **Note:** The `valueStateMessage` would be displayed,\n\t * when the component is in `Information`, `Warning` or `Error` value state.\n\t *\n\t * **Note:** If the component has `suggestionItems`,\n\t * the `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\t * @since 1.0.0-rc.6\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\tinvalidateOnChildChange: true,\n\t\tcloned: true,\n\t})\n\tvalueStateMessage!: Array<HTMLElement>;\n\n\thasSuggestionItemSelected: boolean;\n\tvalueBeforeItemSelection: string;\n\tvalueBeforeItemPreview: string\n\tsuggestionSelectionCancelled: boolean;\n\tpreviousValue: string;\n\tfirstRendering: boolean;\n\ttypedInValue: string;\n\tlastConfirmedValue: string\n\tisTyping: boolean\n\tsuggestionObjects: Array<InputSuggestion>;\n\t_handleResizeBound: ResizeObserverCallback;\n\t_keepInnerValue: boolean;\n\t_shouldAutocomplete?: boolean;\n\t_keyDown?: boolean;\n\t_isKeyNavigation?: boolean;\n\tSuggestions?: InputSuggestions;\n\tFormSupport?: typeof FormSupportT;\n\t_selectedText?: string;\n\t_clearIconClicked?: boolean;\n\t_focusedAfterClear: boolean;\n\t_performTextSelection?: boolean;\n\t_previewItem?: SuggestionListItem;\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\t\t// Indicates if there is selected suggestionItem.\n\t\tthis.hasSuggestionItemSelected = false;\n\n\t\t// Represents the value before user moves selection from suggestion item to another\n\t\t// and its value is updated after each move.\n\t\t// Note: Used to register and fire \"input\" event upon [Space] or [Enter].\n\t\t// Note: The property \"value\" is updated upon selection move and can`t be used.\n\t\tthis.valueBeforeItemSelection = \"\";\n\n\t\t// Represents the value before user moves selection between the suggestion items\n\t\t// and its value remains the same when the user navigates up or down the list.\n\t\t// Note: Used to cancel selection upon [Escape].\n\t\tthis.valueBeforeItemPreview = \"\";\n\n\t\t// Indicates if the user selection has been canceled with [Escape].\n\t\tthis.suggestionSelectionCancelled = false;\n\n\t\t// tracks the value between focus in and focus out to detect that change event should be fired.\n\t\tthis.previousValue = \"\";\n\n\t\t// Indicates, if the component is rendering for first time.\n\t\tthis.firstRendering = true;\n\n\t\t// The typed in value.\n\t\tthis.typedInValue = \"\";\n\n\t\t// The last value confirmed by the user with \"ENTER\"\n\t\tthis.lastConfirmedValue = \"\";\n\n\t\t// Indicates, if the user is typing. Gets reset once popup is closed\n\t\tthis.isTyping = false;\n\n\t\t// Suggestions array initialization\n\t\tthis.suggestionObjects = [];\n\n\t\tthis._handleResizeBound = this._handleResize.bind(this);\n\n\t\tthis._keepInnerValue = false;\n\t\tthis._focusedAfterClear = false;\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._handleResizeBound);\n\t\tregisterUI5Element(this, this._updateAssociatedLabelsTexts.bind(this));\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._handleResizeBound);\n\t\tderegisterUI5Element(this);\n\t}\n\n\tonBeforeRendering() {\n\t\tif (!this._keepInnerValue) {\n\t\t\tthis._innerValue = this.value;\n\t\t}\n\n\t\tif (this.showSuggestions) {\n\t\t\tthis.enableSuggestions();\n\t\t\tthis.suggestionObjects = this.Suggestions!.defaultSlotProperties(this.typedInValue);\n\t\t}\n\n\t\tthis._effectiveShowClearIcon = (this.showClearIcon && !!this.value && !this.readonly && !this.disabled);\n\t\tthis.style.setProperty(getScopedVarName(\"--_ui5-input-icons-count\"), `${this.iconsCount}`);\n\n\t\tthis.FormSupport = getFeature<typeof FormSupportT>(\"FormSupport\");\n\t\tconst hasItems = !!this.suggestionItems.length;\n\t\tconst hasValue = !!this.value;\n\t\tconst isFocused = this.shadowRoot!.querySelector(\"input\") === getActiveElement();\n\n\t\tif (this._isPhone) {\n\t\t\tthis.open = this.openOnMobile;\n\t\t} else if (this._forceOpen) {\n\t\t\tthis.open = true;\n\t\t} else {\n\t\t\tthis.open = hasValue && hasItems && isFocused && this.isTyping;\n\t\t}\n\n\t\tif (this.FormSupport) {\n\t\t\tthis.FormSupport.syncNativeHiddenInput(this);\n\t\t} else if (this.name) {\n\t\t\tconsole.warn(`In order for the \"name\" property to have effect, you should also: import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";`); // eslint-disable-line\n\t\t}\n\n\t\tconst value = this.value;\n\t\tconst innerInput = this.getInputDOMRefSync();\n\n\t\tif (!innerInput || !value) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst autoCompletedChars = innerInput.selectionEnd! - innerInput.selectionStart!;\n\n\t\t// Typehead causes issues on Android devices, so we disable it for now\n\t\t// If there is already a selection the autocomplete has already been performed\n\t\tif (this._shouldAutocomplete && !isAndroid() && !autoCompletedChars && !this._isKeyNavigation) {\n\t\t\tconst item = this._getFirstMatchingItem(value);\n\t\t\tif (item) {\n\t\t\t\tthis._handleTypeAhead(item);\n\t\t\t}\n\t\t}\n\t}\n\n\tasync onAfterRendering() {\n\t\tconst innerInput = this.getInputDOMRefSync()!;\n\n\t\tif (this.Suggestions && this.showSuggestions) {\n\t\t\tthis.Suggestions.toggle(this.open, {\n\t\t\t\tpreventFocusRestore: true,\n\t\t\t});\n\n\t\t\tthis._listWidth = await this.Suggestions._getListWidth();\n\t\t}\n\n\t\tif (this.shouldDisplayOnlyValueStateMessage) {\n\t\t\tthis.openPopover();\n\t\t} else {\n\t\t\tthis.closePopover();\n\t\t}\n\n\t\tif (this._performTextSelection) {\n\t\t\t// this is required to syncronize lit-html input's value and user's input\n\t\t\t// lit-html does not sync its stored value for the value property when the user is typing\n\t\t\tif (innerInput.value !== this._innerValue) {\n\t\t\t\tinnerInput.value = this._innerValue;\n\t\t\t}\n\n\t\t\tif (this.typedInValue.length && this.value.length) {\n\t\t\t\tinnerInput.setSelectionRange(this.typedInValue.length, this.value.length);\n\t\t\t}\n\t\t}\n\n\t\tthis._performTextSelection = false;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tthis._isKeyNavigation = true;\n\t\tthis._shouldAutocomplete = !this.noTypeahead && !(isBackSpace(e) || isDelete(e) || isEscape(e));\n\n\t\tif (isUp(e)) {\n\t\t\treturn this._handleUp(e);\n\t\t}\n\n\t\tif (isDown(e)) {\n\t\t\treturn this._handleDown(e);\n\t\t}\n\n\t\tif (isSpace(e)) {\n\t\t\treturn this._handleSpace(e);\n\t\t}\n\n\t\tif (isTabNext(e)) {\n\t\t\treturn this._handleTab();\n\t\t}\n\n\t\tif (isEnter(e)) {\n\t\t\treturn this._handleEnter(e);\n\t\t}\n\n\t\tif (isPageUp(e)) {\n\t\t\treturn this._handlePageUp(e);\n\t\t}\n\n\t\tif (isPageDown(e)) {\n\t\t\treturn this._handlePageDown(e);\n\t\t}\n\n\t\tif (isHome(e)) {\n\t\t\treturn this._handleHome(e);\n\t\t}\n\n\t\tif (isEnd(e)) {\n\t\t\treturn this._handleEnd(e);\n\t\t}\n\n\t\tif (isEscape(e)) {\n\t\t\treturn this._handleEscape();\n\t\t}\n\n\t\tif (this.showSuggestions) {\n\t\t\tthis._clearPopoverFocusAndSelection();\n\t\t}\n\n\t\tthis._keyDown = true;\n\t\tthis._isKeyNavigation = false;\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\t// The native Delete event does not update the value property \"on time\".\n\t\t// So, the (native) change event is always fired with the old value\n\t\tif (isDelete(e)) {\n\t\t\tthis.value = (e.target as HTMLInputElement).value;\n\t\t}\n\n\t\tthis._keyDown = false;\n\t}\n\n\t_handleUp(e: KeyboardEvent) {\n\t\tif (this.Suggestions && this.Suggestions.isOpened()) {\n\t\t\tthis.Suggestions.onUp(e);\n\t\t}\n\t}\n\n\t_handleDown(e: KeyboardEvent) {\n\t\tif (this.Suggestions && this.Suggestions.isOpened()) {\n\t\t\tthis.Suggestions.onDown(e);\n\t\t}\n\t}\n\n\t_handleSpace(e: KeyboardEvent) {\n\t\tif (this.Suggestions) {\n\t\t\tthis.Suggestions.onSpace(e);\n\t\t}\n\t}\n\n\t_handleTab() {\n\t\tif (this.Suggestions && (this.previousValue !== this.value)) {\n\t\t\tthis.Suggestions.onTab();\n\t\t}\n\t}\n\n\t_handleEnter(e: KeyboardEvent) {\n\t\tconst suggestionItemPressed = !!(this.Suggestions && this.Suggestions.onEnter(e));\n\n\t\tconst innerInput = this.getInputDOMRefSync()!;\n\t\t// Check for autocompleted item\n\t\tconst matchingItem = this.suggestionItems.find(item => {\n\t\t\treturn (item.text && item.text === this.value) || (item.textContent === this.value);\n\t\t});\n\n\t\tif (matchingItem) {\n\t\t\tconst itemText = matchingItem.text ? matchingItem.text : (matchingItem.textContent || \"\");\n\n\t\t\tinnerInput.setSelectionRange(itemText.length, itemText.length);\n\t\t\tif (!suggestionItemPressed) {\n\t\t\t\tthis.selectSuggestion(matchingItem, true);\n\t\t\t\tthis.open = false;\n\t\t\t}\n\t\t}\n\n\t\tif (this._isPhone && !this.suggestionItems.length && !this.isTypeNumber) {\n\t\t\tinnerInput.setSelectionRange(this.value.length, this.value.length);\n\t\t}\n\n\t\tif (!suggestionItemPressed) {\n\t\t\tthis.lastConfirmedValue = this.value;\n\n\t\t\tif (this.FormSupport) {\n\t\t\t\tthis.FormSupport.triggerFormSubmit(this);\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis.focused = true;\n\t}\n\n\t_handlePageUp(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onPageUp(e);\n\t\t} else {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_handlePageDown(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onPageDown(e);\n\t\t} else {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_handleHome(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onHome(e);\n\t\t}\n\t}\n\n\t_handleEnd(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onEnd(e);\n\t\t}\n\t}\n\n\t_handleEscape() {\n\t\tconst hasSuggestions = this.showSuggestions && !!this.Suggestions;\n\t\tconst isOpen = hasSuggestions && this.open;\n\t\tconst innerInput = this.getInputDOMRefSync()!;\n\t\tconst isAutoCompleted = innerInput.selectionEnd! - innerInput.selectionStart! > 0;\n\n\t\tthis.isTyping = false;\n\n\t\tif (!isOpen) {\n\t\t\tthis.value = this.lastConfirmedValue ? this.lastConfirmedValue : this.previousValue;\n\t\t\treturn;\n\t\t}\n\n\t\tif (isOpen && this.Suggestions!._isItemOnTarget()) {\n\t\t\t// Restore the value.\n\t\t\tthis.value = this.typedInValue || this.valueBeforeItemPreview;\n\n\t\t\t// Mark that the selection has been cancelled, so the popover can close\n\t\t\t// and not reopen, due to receiving focus.\n\t\t\tthis.suggestionSelectionCancelled = true;\n\t\t\tthis.focused = true;\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (isAutoCompleted) {\n\t\t\tthis.value = this.typedInValue;\n\t\t}\n\n\t\tif (this._isValueStateFocused) {\n\t\t\tthis._isValueStateFocused = false;\n\t\t\tthis.focused = true;\n\t\t}\n\t}\n\n\tasync _onfocusin(e: FocusEvent) {\n\t\tawait this.getInputDOMRef();\n\n\t\tthis.focused = true; // invalidating property\n\n\t\tif (!this._focusedAfterClear) {\n\t\t\tthis.previousValue = this.value;\n\t\t}\n\n\t\tthis.valueBeforeItemPreview = this.value;\n\t\tthis._inputIconFocused = !!e.target && e.target === this.querySelector<Icon>(\"[ui5-icon]\");\n\t\tthis._focusedAfterClear = false;\n\t}\n\n\t/**\n\t * Called on \"focusin\" of the native input HTML Element.\n\t * **Note:** implemented in MultiInput, but used in the Input template.\n\t */\n\tinnerFocusIn(): void | undefined {}\n\n\t_onfocusout(e: FocusEvent) {\n\t\tconst toBeFocused = e.relatedTarget as HTMLElement;\n\t\tconst focusedOutToSuggestions = this.Suggestions && toBeFocused && toBeFocused.shadowRoot && toBeFocused.shadowRoot.contains(this.Suggestions.responsivePopover as Node);\n\t\tconst focusedOutToValueStateMessage = toBeFocused && toBeFocused.shadowRoot && toBeFocused.shadowRoot.querySelector(\".ui5-valuestatemessage-root\");\n\n\t\tthis._keepInnerValue = false;\n\n\t\tif (this.showClearIcon && !this._effectiveShowClearIcon) {\n\t\t\tthis._clearIconClicked = false;\n\t\t\tthis._handleChange();\n\t\t}\n\n\t\t// if focusout is triggered by pressing on suggestion item or value state message popover, skip invalidation, because re-rendering\n\t\t// will happen before \"itemPress\" event, which will make item \"active\" state not visualized\n\t\tif (focusedOutToSuggestions || focusedOutToValueStateMessage) {\n\t\t\te.stopImmediatePropagation();\n\t\t\treturn;\n\t\t}\n\n\t\tif (toBeFocused && (toBeFocused).classList.contains(this._id)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.open = false;\n\t\tthis._clearPopoverFocusAndSelection();\n\n\t\tif (!this._clearIconClicked) {\n\t\t\tthis.previousValue = \"\";\n\t\t}\n\n\t\tthis.lastConfirmedValue = \"\";\n\t\tthis.focused = false; // invalidating property\n\t\tthis.isTyping = false;\n\t\tthis._forceOpen = false;\n\t}\n\n\t_clearPopoverFocusAndSelection() {\n\t\tif (!this.showSuggestions || !this.Suggestions) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._isValueStateFocused = false;\n\t\tthis.hasSuggestionItemSelected = false;\n\n\t\tthis.Suggestions._deselectItems();\n\t\tthis.Suggestions._clearItemFocus();\n\t}\n\n\t_click() {\n\t\tif (isPhone() && !this.readonly && this.Suggestions) {\n\t\t\tthis.blur();\n\t\t\tthis.openOnMobile = true;\n\t\t}\n\t}\n\n\t_handleChange() {\n\t\tif (this._clearIconClicked) {\n\t\t\tthis._clearIconClicked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.previousValue !== this.getInputDOMRefSync()!.value) {\n\t\t\tthis.fireEvent(INPUT_EVENTS.CHANGE);\n\t\t\tthis.previousValue = this.value;\n\t\t\tthis.typedInValue = this.value;\n\t\t}\n\t}\n\n\t_clear() {\n\t\tthis.value = \"\";\n\t\tthis.fireEvent<InputEventDetail>(INPUT_EVENTS.INPUT);\n\t\tif (!this._isPhone) {\n\t\t\tthis.focus();\n\t\t\tthis._focusedAfterClear = true;\n\t\t}\n\t}\n\n\t_iconMouseDown() {\n\t\tthis._clearIconClicked = true;\n\t}\n\n\t_scroll(e: CustomEvent<PopupScrollEventDetail>) {\n\t\tthis.fireEvent<InputSuggestionScrollEventDetail>(\"suggestion-scroll\", {\n\t\t\tscrollTop: e.detail.scrollTop,\n\t\t\tscrollContainer: e.detail.targetRef,\n\t\t});\n\t}\n\n\t_handleInput(e: InputEvent | CustomEvent<InputEventDetail>) {\n\t\tconst inputDomRef = this.getInputDOMRefSync();\n\t\tconst emptyValueFiredOnNumberInput = this.value && this.isTypeNumber && !inputDomRef!.value;\n\t\tconst eventType: string = (e as InputEvent).inputType\n\t\t\t|| (e.detail as InputEventDetail).inputType\n\t\t\t|| \"\";\n\t\tthis._keepInnerValue = false;\n\n\t\tconst allowedEventTypes = [\n\t\t\t\"deleteWordBackward\",\n\t\t\t\"deleteWordForward\",\n\t\t\t\"deleteSoftLineBackward\",\n\t\t\t\"deleteSoftLineForward\",\n\t\t\t\"deleteEntireSoftLine\",\n\t\t\t\"deleteHardLineBackward\",\n\t\t\t\"deleteHardLineForward\",\n\t\t\t\"deleteByDrag\",\n\t\t\t\"deleteByCut\",\n\t\t\t\"deleteContent\",\n\t\t\t\"deleteContentBackward\",\n\t\t\t\"deleteContentForward\",\n\t\t\t\"historyUndo\",\n\t\t];\n\n\t\tthis._shouldAutocomplete = !allowedEventTypes.includes(eventType) && !this.noTypeahead;\n\t\tthis.suggestionSelectionCancelled = false;\n\n\t\tif (e instanceof InputEvent) {\n\t\t\t// ---- Special cases of numeric Input ----\n\t\t\t// ---------------- Start -----------------\n\n\t\t\t// When the last character after the delimiter is removed.\n\t\t\t// In such cases, we want to skip the re-rendering of the\n\t\t\t// component as this leads to cursor repositioning and causes user experience issues.\n\n\t\t\t// There are few scenarios:\n\t\t\t// Example: type \"123.4\" and press BACKSPACE - the native input is firing event with the whole part as value (123).\n\t\t\t// Pressing BACKSPACE again will remove the delimiter and the native input will fire event with the whole part as value again (123).\n\t\t\t// Example: type \"123.456\", select/mark \"456\" and press BACKSPACE - the native input is firing event with the whole part as value (123).\n\t\t\t// Example: type \"123.456\", select/mark \"123.456\" and press BACKSPACE - the native input is firing event with empty value.\n\t\t\tconst delimiterCase = this.isTypeNumber\n\t\t\t\t&& (e.inputType === \"deleteContentForward\" || e.inputType === \"deleteContentBackward\")\n\t\t\t\t&& !(e.target as HTMLInputElement).value.includes(\".\")\n\t\t\t\t&& this.value.includes(\".\");\n\n\t\t\t// Handle special numeric notation with \"e\", example \"12.5e12\"\n\t\t\tconst eNotationCase = emptyValueFiredOnNumberInput && e.data === \"e\";\n\n\t\t\t// Handle special numeric notation with \"-\", example \"-3\"\n\t\t\t// When pressing BACKSPACE, the native input fires event with empty value\n\t\t\tconst minusRemovalCase = emptyValueFiredOnNumberInput\n\t\t\t\t&& this.value.startsWith(\"-\")\n\t\t\t\t&& this.value.length === 2\n\t\t\t\t&& (e.inputType === \"deleteContentForward\" || e.inputType === \"deleteContentBackward\");\n\n\t\t\tif (delimiterCase || eNotationCase || minusRemovalCase) {\n\t\t\t\tthis.value = (e.target as HTMLInputElement).value;\n\t\t\t\tthis._keepInnerValue = true;\n\t\t\t}\n\t\t\t// ----------------- End ------------------\n\t\t}\n\n\t\tif (e.target === inputDomRef) {\n\t\t\tthis.focused = true;\n\n\t\t\t// stop the native event, as the semantic \"input\" would be fired.\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.fireEventByAction(INPUT_ACTIONS.ACTION_ENTER, e as InputEvent);\n\n\t\tthis.hasSuggestionItemSelected = false;\n\t\tthis._isValueStateFocused = false;\n\n\t\tif (this.Suggestions) {\n\t\t\tthis.Suggestions.updateSelectedItemPosition(-1);\n\t\t}\n\n\t\tthis.isTyping = true;\n\t}\n\n\t_startsWithMatchingItems(str: string): Array<IInputSuggestionItem> {\n\t\tconst textProp = this.suggestionItems[0].text ? \"text\" : \"textContent\";\n\n\t\treturn StartsWith(str, this.suggestionItems, textProp);\n\t}\n\n\t_getFirstMatchingItem(current: string) {\n\t\tif (!this.suggestionItems.length) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst matchingItems = this._startsWithMatchingItems(current).filter(item => !item.groupItem);\n\n\t\tif (matchingItems.length) {\n\t\t\treturn matchingItems[0];\n\t\t}\n\t}\n\n\t_handleTypeAhead(item: IInputSuggestionItem) {\n\t\tconst value = item.text ? item.text : item.textContent || \"\";\n\n\t\tthis._innerValue = value;\n\t\tthis.value = value;\n\t\tthis._performTextSelection = true;\n\n\t\tthis._shouldAutocomplete = false;\n\t}\n\n\t_handleResize() {\n\t\tthis._inputWidth = this.offsetWidth;\n\t}\n\n\t_updateAssociatedLabelsTexts() {\n\t\tthis._associatedLabelsTexts = getAssociatedLabelForTexts(this);\n\t\tthis._accessibleLabelsRefTexts = getAllAccessibleNameRefTexts(this);\n\t}\n\n\t_closeRespPopover() {\n\t\tthis.Suggestions!.close(true);\n\t}\n\n\tasync _afterOpenPopover() {\n\t\t// Set initial focus to the native input\n\t\tif (isPhone()) {\n\t\t\t(await this.getInputDOMRef())!.focus();\n\t\t}\n\t}\n\n\t_afterClosePopover() {\n\t\tthis.announceSelectedItem();\n\n\t\t// close device's keyboard and prevent further typing\n\t\tif (isPhone()) {\n\t\t\tthis.blur();\n\t\t\tthis.focused = false;\n\t\t}\n\n\t\tthis.openOnMobile = false;\n\t\tthis.open = false;\n\t\tthis._forceOpen = false;\n\n\t\tif (this.hasSuggestionItemSelected) {\n\t\t\tthis.focus();\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the value state popover is open.\n\t */\n\tisValueStateOpened() {\n\t\treturn !!this._isPopoverOpen;\n\t}\n\n\tasync openPopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tif (popover) {\n\t\t\tthis._isPopoverOpen = true;\n\t\t\tpopover.showAt(this);\n\t\t}\n\t}\n\n\tasync closePopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tpopover && popover.close();\n\t}\n\n\tasync _getPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\"[ui5-popover]\")!;\n\t}\n\n\t/**\n\t * Manually opens the suggestions popover, assuming suggestions are enabled. Items must be preloaded for it to open.\n\t * @public\n\t * @since 1.3.0\n\t */\n\topenPicker() : void {\n\t\tif (!this.suggestionItems.length || this.disabled || this.readonly) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._forceOpen = true;\n\t}\n\n\tenableSuggestions() {\n\t\tif (this.Suggestions) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst Suggestions = getFeature<typeof InputSuggestions>(\"InputSuggestions\");\n\n\t\tif (Suggestions) {\n\t\t\tthis.Suggestions = new Suggestions(this, \"suggestionItems\", true, false);\n\t\t} else {\n\t\t\tthrow new Error(`You have to import \"@ui5/webcomponents/dist/features/InputSuggestions.js\" module to use ui5-input suggestions`);\n\t\t}\n\t}\n\n\tselectSuggestion(item: IInputSuggestionItem, keyboardUsed: boolean) {\n\t\tif (item.groupItem) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = this.typedInValue || this.value;\n\t\tconst itemText = item.text || item.textContent || \"\"; // keep textContent for compatibility\n\t\tconst fireInput = keyboardUsed\n\t\t\t? this.valueBeforeItemSelection !== itemText : value !== itemText;\n\n\t\tthis.hasSuggestionItemSelected = true;\n\n\t\tconst valueOriginal = this.value;\n\t\tconst valueBeforeItemSelectionOriginal = this.valueBeforeItemSelection;\n\t\tconst lastConfirmedValueOriginal = this.lastConfirmedValue;\n\t\tconst performTextSelectionOriginal = this._performTextSelection;\n\t\tconst typedInValueOriginal = this.typedInValue;\n\t\tconst previousValueOriginal = this.previousValue;\n\n\t\tif (fireInput) {\n\t\t\tthis.value = itemText;\n\t\t\tthis.valueBeforeItemSelection = itemText;\n\t\t\tthis.lastConfirmedValue = itemText;\n\n\t\t\tthis._performTextSelection = true;\n\n\t\t\tthis.fireEvent(INPUT_EVENTS.CHANGE);\n\n\t\t\tif (isPhone()) {\n\t\t\t\tthis.fireEvent(INPUT_EVENTS.INPUT);\n\t\t\t}\n\n\t\t\t// value might change in the change event handler\n\t\t\tthis.typedInValue = this.value;\n\t\t\tthis.previousValue = this.value;\n\t\t}\n\n\t\tthis.valueBeforeItemPreview = \"\";\n\t\tthis.suggestionSelectionCancelled = false;\n\n\t\t// Fire suggestion-item-select event after input change events for backward compatibility, but revert all input properties set before suggestion was prevented.\n\t\t// For v2.0 this code will be reworked.\n\t\tconst isCancelledByUser = !this.fireEvent<InputSuggestionItemSelectEventDetail>(INPUT_EVENTS.SUGGESTION_ITEM_SELECT, { item }, true);\n\n\t\tif (isCancelledByUser) {\n\t\t\tthis.Suggestions?._clearSelectedSuggestionAndAccInfo();\n\t\t\tthis.hasSuggestionItemSelected = false;\n\t\t\tthis.suggestionSelectionCancelled = true;\n\n\t\t\tif (fireInput) {\n\t\t\t\t// revert properties set during fireInput\n\t\t\t\tif (itemText === this.value) { // If no chnages were made to the input value after suggestion-item-select was prevented - revert value to the original text\n\t\t\t\t\tthis.value = valueOriginal;\n\t\t\t\t}\n\t\t\t\tthis.valueBeforeItemSelection = valueBeforeItemSelectionOriginal;\n\t\t\t\tthis.lastConfirmedValue = lastConfirmedValueOriginal;\n\t\t\t\tthis._performTextSelection = performTextSelectionOriginal;\n\t\t\t\tthis.typedInValue = typedInValueOriginal;\n\t\t\t\tthis.previousValue = previousValueOriginal;\n\t\t\t}\n\t\t}\n\n\t\tthis.isTyping = false;\n\t\tthis.openOnMobile = false;\n\t\tthis._forceOpen = false;\n\t}\n\n\tpreviewSuggestion(item: SuggestionListItem) {\n\t\tthis.valueBeforeItemSelection = this.value;\n\t\tthis.updateValueOnPreview(item);\n\t\tthis.announceSelectedItem();\n\t\tthis._previewItem = item;\n\t}\n\n\t/**\n\t * Updates the input value on item preview.\n\t * @param item The item that is on preview\n\t */\n\tupdateValueOnPreview(item: SuggestionListItem) {\n\t\tconst noPreview = item.type === \"Inactive\" || item.groupItem;\n\t\tconst itemValue = noPreview ? this.valueBeforeItemPreview : (item.effectiveTitle || item.textContent || \"\");\n\n\t\tthis.value = itemValue;\n\t\tthis._performTextSelection = true;\n\t}\n\n\t/**\n\t * The suggestion item on preview.\n\t * @default null\n\t * @public\n\t */\n\tget previewItem() : IInputSuggestionItem | null {\n\t\tif (!this._previewItem) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this.getSuggestionByListItem(this._previewItem);\n\t}\n\n\tasync fireEventByAction(action: INPUT_ACTIONS, e: InputEvent) {\n\t\tif (this.disabled || this.readonly) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst inputValue = await this.getInputValue();\n\t\tconst isUserInput = action === INPUT_ACTIONS.ACTION_ENTER;\n\n\t\tthis.value = inputValue;\n\t\tthis.typedInValue = inputValue;\n\t\tthis.valueBeforeItemPreview = inputValue;\n\n\t\tif (isUserInput) { // input\n\t\t\tthis.fireEvent<InputEventDetail>(INPUT_EVENTS.INPUT, { inputType: e.inputType });\n\t\t\t// Angular two way data binding\n\t\t\tthis.fireEvent(\"value-changed\");\n\t\t}\n\t}\n\n\tasync getInputValue() {\n\t\tconst domRef = this.getDomRef();\n\n\t\tif (domRef) {\n\t\t\treturn (await this.getInputDOMRef())!.value;\n\t\t}\n\t\treturn \"\";\n\t}\n\n\tasync getInputDOMRef() {\n\t\tif (isPhone() && this.Suggestions) {\n\t\t\tawait this.Suggestions._getSuggestionPopover();\n\t\t\treturn this.Suggestions.responsivePopover!.querySelector<Input>(\".ui5-input-inner-phone\")!;\n\t\t}\n\n\t\treturn this.nativeInput;\n\t}\n\n\tgetInputDOMRefSync() {\n\t\tif (isPhone() && this.Suggestions && this.Suggestions.responsivePopover) {\n\t\t\treturn this.Suggestions.responsivePopover.querySelector(\".ui5-input-inner-phone\")!.shadowRoot!.querySelector<HTMLInputElement>(\"input\")!;\n\t\t}\n\n\t\treturn this.nativeInput;\n\t}\n\n\t/**\n\t * Returns a reference to the native input element\n\t * @protected\n\t */\n\tget nativeInput() {\n\t\tconst domRef = this.getDomRef();\n\n\t\treturn domRef ? domRef.querySelector<HTMLInputElement>(`input`) : null;\n\t}\n\n\tget nativeInputWidth() {\n\t\treturn this.nativeInput ? this.nativeInput.offsetWidth : 0;\n\t}\n\n\tgetLabelableElementId() {\n\t\treturn this.getInputId();\n\t}\n\n\tgetSuggestionByListItem(item: SuggestionListItem): IInputSuggestionItem {\n\t\tconst key = parseInt(item.getAttribute(\"data-ui5-key\")!);\n\t\treturn this.suggestionItems[key];\n\t}\n\n\t/**\n\t * Returns if the suggestions popover is scrollable.\n\t * The method returns `Promise` that resolves to true,\n\t * if the popup is scrollable and false otherwise.\n\t */\n\tisSuggestionsScrollable() {\n\t\tif (!this.Suggestions) {\n\t\t\treturn Promise.resolve(false);\n\t\t}\n\n\t\treturn this.Suggestions._isScrollable();\n\t}\n\n\tgetInputId() {\n\t\treturn `${this._id}-inner`;\n\t}\n\n\t/* Suggestions interface */\n\tonItemMouseOver(e: MouseEvent) {\n\t\tconst item = e.target as SuggestionListItem;\n\t\tconst suggestion = this.getSuggestionByListItem(item);\n\t\tsuggestion && suggestion.fireEvent(\"mouseover\", {\n\t\t\titem: suggestion,\n\t\t\ttargetRef: item,\n\t\t});\n\t}\n\n\tonItemMouseOut(e: MouseEvent) {\n\t\tconst item = e.target as SuggestionListItem;\n\t\tconst suggestion = this.getSuggestionByListItem(item);\n\t\tsuggestion && suggestion.fireEvent(\"mouseout\", {\n\t\t\titem: suggestion,\n\t\t\ttargetRef: item,\n\t\t});\n\t}\n\n\tonItemMouseDown(e: MouseEvent) {\n\t\te.preventDefault();\n\t}\n\n\tonItemSelected(item: SuggestionItem, keyboardUsed: boolean) {\n\t\tthis.selectSuggestion(item, keyboardUsed);\n\t}\n\n\tonItemPreviewed(item: SuggestionListItem) {\n\t\tthis.previewSuggestion(item);\n\t\tthis.fireEvent<InputSuggestionItemPreviewEventDetail>(\"suggestion-item-preview\", {\n\t\t\titem: this.getSuggestionByListItem(item),\n\t\t\ttargetRef: item,\n\t\t});\n\t}\n\n\tget valueStateTypeMappings() {\n\t\treturn {\n\t\t\t\"Success\": Input.i18nBundle.getText(VALUE_STATE_TYPE_SUCCESS),\n\t\t\t\"Information\": Input.i18nBundle.getText(VALUE_STATE_TYPE_INFORMATION),\n\t\t\t\"Error\": Input.i18nBundle.getText(VALUE_STATE_TYPE_ERROR),\n\t\t\t\"Warning\": Input.i18nBundle.getText(VALUE_STATE_TYPE_WARNING),\n\t\t};\n\t}\n\n\tvalueStateTextMappings() {\n\t\treturn {\n\t\t\t\"Success\": Input.i18nBundle.getText(VALUE_STATE_SUCCESS),\n\t\t\t\"Information\": Input.i18nBundle.getText(VALUE_STATE_INFORMATION),\n\t\t\t\"Error\": Input.i18nBundle.getText(VALUE_STATE_ERROR),\n\t\t\t\"Warning\": Input.i18nBundle.getText(VALUE_STATE_WARNING),\n\t\t};\n\t}\n\n\tannounceSelectedItem() {\n\t\tconst invisibleText = this.shadowRoot!.querySelector(`[id=\"${this._id}-selectionText\"]`)!;\n\n\t\tinvisibleText.textContent = this.itemSelectionAnnounce;\n\t}\n\n\tget _readonly() {\n\t\treturn this.readonly && !this.disabled;\n\t}\n\n\tget _headerTitleText() {\n\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_TITLE);\n\t}\n\n\tget clearIconAccessibleName() {\n\t\treturn Input.i18nBundle.getText(INPUT_CLEAR_ICON_ACC_NAME);\n\t}\n\n\tget inputType() {\n\t\treturn this.type.toLowerCase();\n\t}\n\n\tget isTypeNumber() {\n\t\treturn this.type === InputType.Number;\n\t}\n\n\tget suggestionsTextId() {\n\t\treturn this.showSuggestions ? `${this._id}-suggestionsText` : \"\";\n\t}\n\n\tget valueStateTextId() {\n\t\treturn this.hasValueState ? `${this._id}-valueStateDesc` : \"\";\n\t}\n\n\tget accInfo() {\n\t\tconst ariaHasPopupDefault = this.showSuggestions ? \"true\" : undefined;\n\t\tconst ariaAutoCompleteDefault = this.showSuggestions ? \"list\" : undefined;\n\t\tconst ariaDescribedBy = this._inputAccInfo.ariaDescribedBy ? `${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim() : `${this.suggestionsTextId} ${this.valueStateTextId}`.trim();\n\n\t\tconst info = {\n\t\t\t\"input\": {\n\t\t\t\t\"ariaRoledescription\": this._inputAccInfo && (this._inputAccInfo.ariaRoledescription || undefined),\n\t\t\t\t\"ariaDescribedBy\": ariaDescribedBy || undefined,\n\t\t\t\t\"ariaInvalid\": this.valueState === ValueState.Error ? \"true\" : undefined,\n\t\t\t\t\"ariaHasPopup\": this._inputAccInfo.ariaHasPopup ? this._inputAccInfo.ariaHasPopup : ariaHasPopupDefault,\n\t\t\t\t\"ariaAutoComplete\": this._inputAccInfo.ariaAutoComplete ? this._inputAccInfo.ariaAutoComplete : ariaAutoCompleteDefault,\n\t\t\t\t\"role\": this._inputAccInfo && this._inputAccInfo.role,\n\t\t\t\t\"ariaControls\": this._inputAccInfo && this._inputAccInfo.ariaControls,\n\t\t\t\t\"ariaExpanded\": this._inputAccInfo && this._inputAccInfo.ariaExpanded,\n\t\t\t\t\"ariaDescription\": this._inputAccInfo && this._inputAccInfo.ariaDescription,\n\t\t\t\t\"ariaLabel\": (this._inputAccInfo && this._inputAccInfo.ariaLabel) || this._accessibleLabelsRefTexts || this.accessibleName || this._associatedLabelsTexts || undefined,\n\t\t\t},\n\t\t};\n\t\treturn info;\n\t}\n\n\tget nativeInputAttributes() {\n\t\treturn {\n\t\t\t\"min\": this.isTypeNumber ? this._nativeInputAttributes.min : undefined,\n\t\t\t\"max\": this.isTypeNumber ? this._nativeInputAttributes.max : undefined,\n\t\t\t\"step\": this.isTypeNumber ? (this._nativeInputAttributes.step || \"any\") : undefined,\n\t\t};\n\t}\n\n\tget ariaValueStateHiddenText() {\n\t\tif (!this.hasValueState) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst valueState = this.valueState !== ValueState.None ? this.valueStateTypeMappings[this.valueState] : \"\";\n\n\t\tif (this.shouldDisplayDefaultValueStateMessage) {\n\t\t\treturn this.valueStateText ? `${valueState} ${this.valueStateText}` : valueState;\n\t\t}\n\n\t\treturn `${valueState}`.concat(\" \", this.valueStateMessageText.map(el => el.textContent).join(\" \"));\n\t}\n\n\tget itemSelectionAnnounce() {\n\t\treturn this.Suggestions ? this.Suggestions.itemSelectionAnnounce : \"\";\n\t}\n\n\tget iconsCount(): number {\n\t\tconst slottedIconsCount = this.icon ? this.icon.length : 0;\n\t\tconst clearIconCount = Number(this._effectiveShowClearIcon) ?? 0;\n\t\treturn slottedIconsCount + clearIconCount;\n\t}\n\n\tget classes(): ClassMap {\n\t\treturn {\n\t\t\tpopover: {\n\t\t\t\t\"ui5-suggestions-popover\": this.showSuggestions,\n\t\t\t\t\"ui5-popover-with-value-state-header-phone\": this._isPhone && this.showSuggestions && this.hasValueStateMessage,\n\t\t\t\t\"ui5-popover-with-value-state-header\": !this._isPhone && this.showSuggestions && this.hasValueStateMessage,\n\t\t\t},\n\t\t\tpopoverValueState: {\n\t\t\t\t\"ui5-valuestatemessage-root\": true,\n\t\t\t\t\"ui5-valuestatemessage-header\": true,\n\t\t\t\t\"ui5-valuestatemessage--success\": this.valueState === ValueState.Success,\n\t\t\t\t\"ui5-valuestatemessage--error\": this.valueState === ValueState.Error,\n\t\t\t\t\"ui5-valuestatemessage--warning\": this.valueState === ValueState.Warning,\n\t\t\t\t\"ui5-valuestatemessage--information\": this.valueState === ValueState.Information,\n\t\t\t},\n\t\t};\n\t}\n\n\tget styles() {\n\t\tconst remSizeIxPx = parseInt(getComputedStyle(document.documentElement).fontSize);\n\n\t\tconst stylesObject = {\n\t\t\tpopoverHeader: {\n\t\t\t\t\"max-width\": this._inputWidth ? `${this._inputWidth}px` : \"\",\n\t\t\t},\n\t\t\tsuggestionPopoverHeader: {\n\t\t\t\t\"display\": this._listWidth === 0 ? \"none\" : \"inline-block\",\n\t\t\t\t\"width\": this._listWidth ? `${this._listWidth}px` : \"\",\n\t\t\t},\n\t\t\tsuggestionsPopover: {\n\t\t\t\t\"min-width\": this._inputWidth ? `${this._inputWidth}px` : \"\",\n\t\t\t\t\"max-width\": this._inputWidth && (this._inputWidth / remSizeIxPx) > 40 ? `${this._inputWidth}px` : \"40rem\",\n\t\t\t},\n\t\t\tinnerInput: {\n\t\t\t\t\"padding\": \"\",\n\t\t\t},\n\t\t};\n\n\t\treturn stylesObject;\n\t}\n\n\tget suggestionSeparators() {\n\t\treturn \"None\";\n\t}\n\n\tget valueStateMessageText() {\n\t\treturn this.getSlottedNodes(\"valueStateMessage\").map(el => el.cloneNode(true));\n\t}\n\n\tget shouldDisplayOnlyValueStateMessage() {\n\t\treturn this.hasValueStateMessage && !this.readonly && !this.open && this.focused;\n\t}\n\n\tget shouldDisplayDefaultValueStateMessage() {\n\t\treturn !this.valueStateMessage.length && this.hasValueStateMessage;\n\t}\n\n\tget hasValueState() {\n\t\treturn this.valueState !== ValueState.None;\n\t}\n\n\tget hasValueStateMessage() {\n\t\treturn this.hasValueState && this.valueState !== ValueState.Success\n\t\t\t&& (!this._inputIconFocused // Handles the cases when valueStateMessage is forwarded (from datepicker e.g.)\n\t\t\t\t|| !!(this._isPhone && this.Suggestions)); // Handles Input with suggestions on mobile\n\t}\n\n\tget valueStateText() {\n\t\treturn this.valueState !== ValueState.None ? this.valueStateTextMappings()[this.valueState] : undefined;\n\t}\n\n\tget suggestionsText() {\n\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS);\n\t}\n\n\tget availableSuggestionsCount() {\n\t\tif (this.showSuggestions && (this.value || this.Suggestions!.isOpened())) {\n\t\t\tconst nonGroupItems = this.suggestionObjects.filter(item => !item.groupItem);\n\n\t\t\tswitch (nonGroupItems.length) {\n\t\t\tcase 0:\n\t\t\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_NO_HIT);\n\n\t\t\tcase 1:\n\t\t\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_ONE_HIT);\n\n\t\t\tdefault:\n\t\t\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_MORE_HITS, nonGroupItems.length);\n\t\t\t}\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget step() {\n\t\treturn this.isTypeNumber ? \"any\" : undefined;\n\t}\n\n\tget _isPhone() {\n\t\treturn isPhone();\n\t}\n\n\tget _isSuggestionsFocused() {\n\t\treturn !this.focused && this.Suggestions && this.Suggestions.isOpened();\n\t}\n\n\t/**\n\t * Returns the placeholder value.\n\t * @protected\n\t */\n\tget _placeholder() {\n\t\treturn this.placeholder;\n\t}\n\n\t/**\n\t * This method is relevant for sap_horizon theme only\n\t */\n\tget _valueStateInputIcon() {\n\t\tconst iconPerValueState = {\n\t\t\tError: `<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\"/>`,\n\t\t\tWarning: `<path xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.8619 0.49298C11.6823 0.187541 11.3544 0 11 0C10.6456 0 10.3177 0.187541 10.1381 0.49298L0.138066 17.493C-0.0438112 17.8022 -0.0461447 18.1851 0.13195 18.4965C0.310046 18.8079 0.641283 19 1 19H21C21.3587 19 21.69 18.8079 21.868 18.4965C22.0461 18.1851 22.0438 17.8022 21.8619 17.493L11.8619 0.49298ZM11 6C11.5523 6 12 6.44772 12 7V10C12 10.5523 11.5523 11 11 11C10.4477 11 10 10.5523 10 10V7C10 6.44772 10.4477 6 11 6ZM11 16C11.8284 16 12.5 15.3284 12.5 14.5C12.5 13.6716 11.8284 13 11 13C10.1716 13 9.5 13.6716 9.5 14.5C9.5 15.3284 10.1716 16 11 16Z\" fill=\"#F58B00\"/>`,\n\t\t\tSuccess: `<path xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10ZM14.7071 6.29289C14.3166 5.90237 13.6834 5.90237 13.2929 6.29289L8 11.5858L6.70711 10.2929C6.31658 9.90237 5.68342 9.90237 5.29289 10.2929C4.90237 10.6834 4.90237 11.3166 5.29289 11.7071L7.29289 13.7071C7.68342 14.0976 8.31658 14.0976 8.70711 13.7071L14.7071 7.70711C15.0976 7.31658 15.0976 6.68342 14.7071 6.29289Z\" fill=\"#36A41D\"/>`,\n\t\t\tInformation: `<path xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 0C1.34315 0 0 1.34315 0 3V15C0 16.6569 1.34315 18 3 18H15C16.6569 18 18 16.6569 18 15V3C18 1.34315 16.6569 0 15 0H3ZM9 6.5C9.82843 6.5 10.5 5.82843 10.5 5C10.5 4.17157 9.82843 3.5 9 3.5C8.17157 3.5 7.5 4.17157 7.5 5C7.5 5.82843 8.17157 6.5 9 6.5ZM9 8.5C9.55228 8.5 10 8.94772 10 9.5V13.5C10 14.0523 9.55228 14.5 9 14.5C8.44771 14.5 8 14.0523 8 13.5V9.5C8 8.94772 8.44771 8.5 9 8.5Z\" fill=\"#1B90FF\"/>`,\n\t\t};\n\n\t\tif (this.valueState !== ValueState.None) {\n\t\t\treturn `\n\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\n\t\t\t\t${iconPerValueState[this.valueState]};\n\t\t\t</svg>\n\t\t\t`;\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\tget _valueStatePopoverHorizontalAlign() {\n\t\treturn this.effectiveDir !== \"rtl\" ? \"Left\" : \"Right\";\n\t}\n\n\t/**\n\t * This method is relevant for sap_horizon theme only\n\t */\n\tget _valueStateMessageInputIcon() {\n\t\tconst iconPerValueState = {\n\t\t\tError: \"error\",\n\t\t\tWarning: \"alert\",\n\t\t\tSuccess: \"sys-enter-2\",\n\t\t\tInformation: \"information\",\n\t\t};\n\n\t\treturn this.valueState !== ValueState.None ? iconPerValueState[this.valueState] : \"\";\n\t}\n\n\t/**\n\t * Returns the caret position inside the native input\n\t * @protected\n\t */\n\tgetCaretPosition(): number | null {\n\t\treturn getCaretPosition(this.nativeInput!);\n\t}\n\n\t/**\n\t * Sets the caret to a certain position inside the native input\n\t * @protected\n\t */\n\tsetCaretPosition(pos: number | null) {\n\t\tsetCaretPosition(this.nativeInput!, pos);\n\t}\n\n\t/**\n\t * Removes the fractional part of floating-point number.\n\t * @param value the numeric value of Input of type \"Number\"\n\t */\n\tremoveFractionalPart(value: string) {\n\t\tif (value.includes(\".\")) {\n\t\t\treturn value.slice(0, value.indexOf(\".\"));\n\t\t}\n\t\tif (value.includes(\",\")) {\n\t\t\treturn value.slice(0, value.indexOf(\",\"));\n\t\t}\n\n\t\treturn value;\n\t}\n\n\tstatic async onDefine() {\n\t\tconst Suggestions = getFeature<typeof InputSuggestions>(\"InputSuggestions\");\n\n\t\t[Input.i18nBundle] = await Promise.all([\n\t\t\tgetI18nBundle(\"@ui5/webcomponents\"),\n\t\t\tSuggestions ? Suggestions.init() : Promise.resolve(),\n\t\t]);\n\t}\n}\n\nInput.define();\n\nexport default Input;\nexport type {\n\tIInputSuggestionItem,\n\tInputSuggestionScrollEventDetail,\n\tInputSuggestionItemSelectEventDetail,\n\tInputSuggestionItemPreviewEventDetail,\n\tInputEventDetail,\n};\n"]}
1
+ {"version":3,"file":"Input.js","sourceRoot":"","sources":["../src/Input.ts"],"names":[],"mappings":";;;;;;;AAAA,OAAO,UAAU,MAAM,4CAA4C,CAAC;AACpE,OAAO,QAAQ,MAAM,qDAAqD,CAAC;AAC3E,OAAO,aAAa,MAAM,0DAA0D,CAAC;AACrF,OAAO,IAAI,MAAM,iDAAiD,CAAC;AACnE,OAAO,KAAK,MAAM,kDAAkD,CAAC;AAErE,OAAO,SAAS,MAAM,sDAAsD,CAAC;AAC7E,OAAO,aAAa,MAAM,wDAAwD,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAEvF,OAAO,EACN,OAAO,EACP,SAAS,GACT,MAAM,wCAAwC,CAAC;AAChD,OAAO,UAAU,MA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components-base/dist/UI5Element.js\";\nimport property from \"@ui5/webcomponents-base/dist/decorators/property.js\";\nimport customElement from \"@ui5/webcomponents-base/dist/decorators/customElement.js\";\nimport slot from \"@ui5/webcomponents-base/dist/decorators/slot.js\";\nimport event from \"@ui5/webcomponents-base/dist/decorators/event.js\";\nimport type { ClassMap } from \"@ui5/webcomponents-base/dist/types.js\";\nimport litRender from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport ResizeHandler from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport { getScopedVarName } from \"@ui5/webcomponents-base/dist/CustomElementsScope.js\";\nimport type { ResizeObserverCallback } from \"@ui5/webcomponents-base/dist/delegate/ResizeHandler.js\";\nimport {\n\tisPhone,\n\tisAndroid,\n} from \"@ui5/webcomponents-base/dist/Device.js\";\nimport ValueState from \"@ui5/webcomponents-base/dist/types/ValueState.js\";\nimport { getFeature } from \"@ui5/webcomponents-base/dist/FeaturesRegistry.js\";\nimport {\n\tisUp,\n\tisDown,\n\tisSpace,\n\tisEnter,\n\tisBackSpace,\n\tisDelete,\n\tisEscape,\n\tisTabNext,\n\tisPageUp,\n\tisPageDown,\n\tisHome,\n\tisEnd,\n} from \"@ui5/webcomponents-base/dist/Keys.js\";\nimport Integer from \"@ui5/webcomponents-base/dist/types/Integer.js\";\nimport type I18nBundle from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport { getI18nBundle } from \"@ui5/webcomponents-base/dist/i18nBundle.js\";\nimport {\n\tgetAssociatedLabelForTexts,\n\tgetAllAccessibleNameRefTexts,\n\tregisterUI5Element,\n\tderegisterUI5Element,\n} from \"@ui5/webcomponents-base/dist/util/AriaLabelHelper.js\";\nimport { getCaretPosition, setCaretPosition } from \"@ui5/webcomponents-base/dist/util/Caret.js\";\nimport getActiveElement from \"@ui5/webcomponents-base/dist/util/getActiveElement.js\";\nimport \"@ui5/webcomponents-icons/dist/decline.js\";\nimport \"@ui5/webcomponents-icons/dist/not-editable.js\";\nimport \"@ui5/webcomponents-icons/dist/error.js\";\nimport \"@ui5/webcomponents-icons/dist/alert.js\";\nimport \"@ui5/webcomponents-icons/dist/sys-enter-2.js\";\nimport \"@ui5/webcomponents-icons/dist/information.js\";\nimport type SuggestionItem from \"./SuggestionItem.js\";\nimport type { InputSuggestion, SuggestionComponent } from \"./features/InputSuggestions.js\";\nimport type InputSuggestions from \"./features/InputSuggestions.js\";\nimport type FormSupportT from \"./features/InputElementsFormSupport.js\";\nimport type { IFormElement } from \"./features/InputElementsFormSupport.js\";\nimport type SuggestionListItem from \"./SuggestionListItem.js\";\nimport type { PopupScrollEventDetail } from \"./Popup.js\";\nimport InputType from \"./types/InputType.js\";\nimport Popover from \"./Popover.js\";\nimport Icon from \"./Icon.js\";\nimport type { IIcon } from \"./Icon.js\";\nimport type ListItemType from \"./types/ListItemType.js\";\n// Templates\nimport InputTemplate from \"./generated/templates/InputTemplate.lit.js\";\nimport InputPopoverTemplate from \"./generated/templates/InputPopoverTemplate.lit.js\";\nimport { StartsWith } from \"./Filters.js\";\n\nimport {\n\tVALUE_STATE_SUCCESS,\n\tVALUE_STATE_INFORMATION,\n\tVALUE_STATE_ERROR,\n\tVALUE_STATE_WARNING,\n\tVALUE_STATE_TYPE_SUCCESS,\n\tVALUE_STATE_TYPE_INFORMATION,\n\tVALUE_STATE_TYPE_ERROR,\n\tVALUE_STATE_TYPE_WARNING,\n\tINPUT_SUGGESTIONS,\n\tINPUT_SUGGESTIONS_TITLE,\n\tINPUT_SUGGESTIONS_ONE_HIT,\n\tINPUT_SUGGESTIONS_MORE_HITS,\n\tINPUT_SUGGESTIONS_NO_HIT,\n\tINPUT_CLEAR_ICON_ACC_NAME,\n} from \"./generated/i18n/i18n-defaults.js\";\n\n// Styles\nimport inputStyles from \"./generated/themes/Input.css.js\";\nimport ResponsivePopoverCommonCss from \"./generated/themes/ResponsivePopoverCommon.css.js\";\nimport ValueStateMessageCss from \"./generated/themes/ValueStateMessage.css.js\";\nimport SuggestionsCss from \"./generated/themes/Suggestions.css.js\";\n\n/**\n * Interface for components that represent a suggestion item, usable in `ui5-input`\n * @public\n */\ninterface IInputSuggestionItem extends UI5Element {\n\ttext: string;\n\tgroupItem: boolean;\n\tdescription?: string;\n\timage?: string;\n\ticon?: string;\n\tadditionalText?: string;\n\tadditionalTextState?: `${ValueState}`;\n\ttype?: `${ListItemType}`;\n}\n\ntype NativeInputAttributes = {\n\tmin?: number,\n\tmax?: number,\n\tstep?: number\n}\n\ntype AccInfo = {\n\tariaRoledescription?: string,\n\tariaDescribedBy?: string,\n\tariaHasPopup?: string,\n\tariaAutoComplete?: string,\n\trole?: string,\n\tariaControls?: string,\n\tariaExpanded?: string,\n\tariaDescription?: string,\n\tariaLabel?: string,\n}\n\n// all sementic events\nenum INPUT_EVENTS {\n\tCHANGE = \"change\",\n\tINPUT = \"input\",\n\tSUGGESTION_ITEM_SELECT = \"suggestion-item-select\",\n}\n\n// all user interactions\nenum INPUT_ACTIONS {\n\tACTION_ENTER = \"enter\",\n\tACTION_USER_INPUT = \"input\",\n}\n\ntype InputEventDetail = {\n\tinputType: string;\n}\n\ntype InputSuggestionItemSelectEventDetail = {\n\titem: IInputSuggestionItem;\n}\n\ntype InputSuggestionItemPreviewEventDetail = {\n\titem: IInputSuggestionItem;\n\ttargetRef: SuggestionListItem;\n}\n\ntype InputSuggestionScrollEventDetail = {\n\tscrollTop: number;\n\tscrollContainer: HTMLElement;\n}\n\n/**\n * @class\n * ### Overview\n *\n * The `ui5-input` component allows the user to enter and edit text or numeric values in one line.\n *\n * Additionally, you can provide `suggestionItems`,\n * that are displayed in a popover right under the input.\n *\n * The text field can be editable or read-only (`readonly` property),\n * and it can be enabled or disabled (`disabled` property).\n * To visualize semantic states, such as \"error\" or \"warning\", the `valueState` property is provided.\n * When the user makes changes to the text, the change event is fired,\n * which enables you to react on any text change.\n *\n * **Note:** If you are using the `ui5-input` as a single npm module,\n * don't forget to import the `InputSuggestions` module from\n * \"@ui5/webcomponents/dist/features/InputSuggestions.js\"\n * to enable the suggestions functionality.\n *\n * ### Keyboard Handling\n * The `ui5-input` provides the following keyboard shortcuts:\n *\n * - [Escape] - Closes the suggestion list, if open. If closed or not enabled, cancels changes and reverts to the value which the Input field had when it got the focus.\n * - [Enter] or [Return] - If suggestion list is open takes over the current matching item and closes it. If value state or group header is focused, does nothing.\n * - [Down] - Focuses the next matching item in the suggestion list.\n * - [Up] - Focuses the previous matching item in the suggestion list.\n * - [Home] - If focus is in the text input, moves caret before the first character. If focus is in the list, highlights the first item and updates the input accordingly.\n * - [End] - If focus is in the text input, moves caret after the last character. If focus is in the list, highlights the last item and updates the input accordingly.\n * - [Page Up] - If focus is in the list, moves highlight up by page size (10 items by default). If focus is in the input, does nothing.\n * - [Page Down] - If focus is in the list, moves highlight down by page size (10 items by default). If focus is in the input, does nothing.\n *\n * ### ES6 Module Import\n *\n * `import \"@ui5/webcomponents/dist/Input.js\";`\n *\n * `import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";` (optional - for input suggestions support)\n * @constructor\n * @extends UI5Element\n * @public\n */\n@customElement({\n\ttag: \"ui5-input\",\n\tlanguageAware: true,\n\trenderer: litRender,\n\ttemplate: InputTemplate,\n\tstaticAreaTemplate: InputPopoverTemplate,\n\tstyles: inputStyles,\n\tstaticAreaStyles: [ResponsivePopoverCommonCss, ValueStateMessageCss, SuggestionsCss],\n\tget dependencies() {\n\t\tconst Suggestions = getFeature<typeof InputSuggestions>(\"InputSuggestions\");\n\t\treturn ([Popover, Icon] as Array<typeof UI5Element>).concat(Suggestions ? Suggestions.dependencies : []);\n\t},\n})\n\n/**\n * Fired when the input operation has finished by pressing Enter or on focusout.\n * @public\n */\n@event(\"change\")\n\n/**\n * Fired when the value of the component changes at each keystroke,\n * and when a suggestion item has been selected.\n * @public\n */\n@event(\"input\")\n\n/**\n * Fired when a suggestion item, that is displayed in the suggestion popup, is selected.\n * @param {HTMLElement} item The selected item.\n * @public\n * @allowPreventDefault\n */\n@event<InputSuggestionItemSelectEventDetail>(\"suggestion-item-select\", {\n\tdetail: {\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\titem: { type: HTMLElement },\n\t},\n})\n\n/**\n * Fired when the user navigates to a suggestion item via the ARROW keys,\n * as a preview, before the final selection.\n * @param {HTMLElement} item The previewed suggestion item.\n * @param {HTMLElement} targetRef The DOM ref of the suggestion item.\n * @public\n * @since 1.0.0-rc.8\n */\n@event<InputSuggestionItemPreviewEventDetail>(\"suggestion-item-preview\", {\n\tdetail: {\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\titem: { type: HTMLElement },\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\ttargetRef: { type: HTMLElement },\n\t},\n})\n\n/**\n * Fired when the user scrolls the suggestion popover.\n * @param {Integer} scrollTop The current scroll position.\n * @param {HTMLElement} scrollContainer The scroll container.\n * @protected\n * @since 1.0.0-rc.8\n */\n@event<InputSuggestionScrollEventDetail>(\"suggestion-scroll\", {\n\tdetail: {\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\tscrollTop: { type: Integer },\n\t\t/**\n\t \t* @public\n\t \t*/\n\t\tscrollContainer: { type: HTMLElement },\n\t},\n})\nclass Input extends UI5Element implements SuggestionComponent, IFormElement {\n\t/**\n\t * Defines whether the component is in disabled state.\n\t *\n\t * **Note:** A disabled component is completely noninteractive.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tdisabled!: boolean;\n\n\t/**\n\t * Defines if characters within the suggestions are to be highlighted\n\t * in case the input value matches parts of the suggestions text.\n\t *\n\t * **Note:** takes effect when `showSuggestions` is set to `true`\n\t * @default false\n\t * @private\n\t * @since 1.0.0-rc.8\n\t */\n\t@property({ type: Boolean })\n\thighlight!: boolean;\n\n\t/**\n\t * Defines a short hint intended to aid the user with data entry when the\n\t * component has no value.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tplaceholder!: string;\n\n\t/**\n\t * Defines whether the component is read-only.\n\t *\n\t * **Note:** A read-only component is not editable,\n\t * but still provides visual feedback upon user interaction.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\treadonly!: boolean;\n\n\t/**\n\t * Defines whether the component is required.\n\t * @default false\n\t * @public\n\t * @since 1.0.0-rc.3\n\t */\n\t@property({ type: Boolean })\n\trequired!: boolean;\n\n\t/**\n\t * Defines whether the value will be autcompleted to match an item\n\t * @default false\n\t * @public\n\t * @since 1.4.0\n\t */\n\t@property({ type: Boolean })\n\tnoTypeahead!: boolean;\n\n\t/**\n\t * Defines the HTML type of the component.\n\t *\n\t * **Notes:**\n\t *\n\t * - The particular effect of this property differs depending on the browser\n\t * and the current language settings, especially for type `Number`.\n\t * - Due to browser constraints, certain keyboard interactions may not be available\n\t * for the 'Number' and 'Email' types.\n\t * - The property is mostly intended to be used with touch devices\n\t * that use different soft keyboard layouts depending on the given input type.\n\t * @default \"Text\"\n\t * @public\n\t */\n\t@property({ type: InputType, defaultValue: InputType.Text })\n\ttype!: `${InputType}`;\n\n\t/**\n\t * Defines the value of the component.\n\t *\n\t * **Note:** The property is updated upon typing.\n\t * @default \"\"\n\t * @formEvents change input\n\t * @formProperty\n\t * @public\n\t */\n\t@property()\n\tvalue!: string;\n\n\t/**\n\t * Defines the inner stored value of the component.\n\t *\n\t * **Note:** The property is updated upon typing. In some special cases the old value is kept (e.g. deleting the value after the dot in a float)\n\t * @default \"\"\n\t * @private\n\t */\n\t@property({ noAttribute: true })\n\t_innerValue!: string;\n\n\t/**\n\t * Defines the value state of the component.\n\t * @default \"None\"\n\t * @public\n\t */\n\t@property({ type: ValueState, defaultValue: ValueState.None })\n\tvalueState!: `${ValueState}`;\n\n\t/**\n\t * Determines the name with which the component will be submitted in an HTML form.\n\t *\n\t * **Important:** For the `name` property to have effect, you must add the following import to your project:\n\t * `import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";`\n\t *\n\t * **Note:** When set, a native `input` HTML element\n\t * will be created inside the component so that it can be submitted as\n\t * part of an HTML form. Do not use this property unless you need to submit a form.\n\t * @default \"\"\n\t * @public\n\t */\n\t@property()\n\tname!: string;\n\n\t/**\n\t * Defines whether the component should show suggestions, if such are present.\n\t *\n\t * **Note:** You need to import the `InputSuggestions` module\n\t * from `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.\n\t * @default false\n\t * @public\n\t */\n\t@property({ type: Boolean })\n\tshowSuggestions!: boolean;\n\n\t/**\n\t * Sets the maximum number of characters available in the input field.\n\t *\n\t * **Note:** This property is not compatible with the ui5-input type InputType.Number. If the ui5-input type is set to Number, the maxlength value is ignored.\n\t * @default undefined\n\t * @since 1.0.0-rc.5\n\t * @public\n\t */\n\t@property({ validator: Integer })\n\tmaxlength?: number;\n\n\t/**\n\t * Defines the accessible ARIA name of the component.\n\t * @default \"\"\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property()\n\taccessibleName!: string;\n\n\t/**\n\t * Receives id(or many ids) of the elements that label the input.\n\t * @default \"\"\n\t * @public\n\t * @since 1.0.0-rc.15\n\t */\n\t@property({ defaultValue: \"\" })\n\taccessibleNameRef!: string;\n\n\t/**\n\t * Defines whether the clear icon of the input will be shown.\n\t * @default false\n\t * @public\n\t * @since 1.2.0\n\t */\n\t@property({ type: Boolean })\n\tshowClearIcon!: boolean;\n\n\t/**\n\t * Defines whether the clear icon is visible.\n\t * @default false\n\t * @private\n\t * @since 1.2.0\n\t */\n\t@property({ type: Boolean })\n\t_effectiveShowClearIcon!: boolean;\n\n\t/**\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\tfocused!: boolean;\n\n\t@property({ type: Boolean })\n\topenOnMobile!: boolean;\n\n\t@property({ type: Boolean })\n\topen!: boolean;\n\n\t/**\n\t * Determines whether to manually show the suggestions popover\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_forceOpen!: boolean;\n\n\t/**\n\t * Indicates whether the visual focus is on the value state header\n\t * @private\n\t */\n\t@property({ type: Boolean })\n\t_isValueStateFocused!: boolean;\n\n\t@property({ type: Object, noAttribute: true })\n\t_inputAccInfo!: AccInfo;\n\n\t@property({ type: Object, noAttribute: true })\n\t_nativeInputAttributes!: NativeInputAttributes;\n\n\t@property({ validator: Integer })\n\t_inputWidth?: number;\n\n\t@property({ validator: Integer })\n\t_listWidth?: number;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_isPopoverOpen!: boolean;\n\n\t@property({ type: Boolean, noAttribute: true })\n\t_inputIconFocused!: boolean;\n\n\t/**\n\t * Constantly updated value of texts collected from the associated labels\n\t * @private\n\t */\n\t@property({ type: String, noAttribute: true, defaultValue: undefined })\n\t_associatedLabelsTexts?: string;\n\n\t/**\n\t * Constantly updated value of texts collected from the accessibleNameRef elements\n\t * @private\n\t */\n\t@property({ type: String, noAttribute: true, defaultValue: undefined })\n\t_accessibleLabelsRefTexts?: string;\n\n\t/**\n\t * Defines the suggestion items.\n\t *\n\t * **Note:** The suggestions would be displayed only if the `showSuggestions`\n\t * property is set to `true`.\n\t *\n\t * **Note:** The `<ui5-suggestion-item>` and `<ui5-suggestion-group-item>` are recommended to be used as suggestion items.\n\t *\n\t * **Note:** Importing the Input Suggestions Support feature:\n\t *\n\t * `import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\t *\n\t * automatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-group-item>` for your convenience.\n\t * @public\n\t */\n\t@slot({ type: HTMLElement, \"default\": true })\n\tsuggestionItems!: Array<IInputSuggestionItem>;\n\n\t/**\n\t * Defines the icon to be displayed in the component.\n\t * @public\n\t */\n\t@slot()\n\ticon!: Array<IIcon>;\n\n\t/**\n\t * The slot is used for native `input` HTML element to enable form submit,\n\t * when `name` property is set.\n\t * @private\n\t */\n\t@slot()\n\tformSupport!: Array<HTMLElement>;\n\n\t/**\n\t * Defines the value state message that will be displayed as pop up under the component.\n\t * The value state message slot should contain only one root element.\n\t *\n\t * **Note:** If not specified, a default text (in the respective language) will be displayed.\n\t *\n\t * **Note:** The `valueStateMessage` would be displayed,\n\t * when the component is in `Information`, `Warning` or `Error` value state.\n\t *\n\t * **Note:** If the component has `suggestionItems`,\n\t * the `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\t * @since 1.0.0-rc.6\n\t * @public\n\t */\n\t@slot({\n\t\ttype: HTMLElement,\n\t\tinvalidateOnChildChange: true,\n\t\tcloned: true,\n\t})\n\tvalueStateMessage!: Array<HTMLElement>;\n\n\thasSuggestionItemSelected: boolean;\n\tvalueBeforeItemSelection: string;\n\tvalueBeforeItemPreview: string\n\tsuggestionSelectionCancelled: boolean;\n\tpreviousValue: string;\n\tfirstRendering: boolean;\n\ttypedInValue: string;\n\tlastConfirmedValue: string\n\tisTyping: boolean\n\tsuggestionObjects: Array<InputSuggestion>;\n\t_handleResizeBound: ResizeObserverCallback;\n\t_keepInnerValue: boolean;\n\t_shouldAutocomplete?: boolean;\n\t_keyDown?: boolean;\n\t_isKeyNavigation?: boolean;\n\tSuggestions?: InputSuggestions;\n\tFormSupport?: typeof FormSupportT;\n\t_selectedText?: string;\n\t_clearIconClicked?: boolean;\n\t_focusedAfterClear: boolean;\n\t_performTextSelection?: boolean;\n\t_previewItem?: SuggestionListItem;\n\tstatic i18nBundle: I18nBundle;\n\n\tconstructor() {\n\t\tsuper();\n\t\t// Indicates if there is selected suggestionItem.\n\t\tthis.hasSuggestionItemSelected = false;\n\n\t\t// Represents the value before user moves selection from suggestion item to another\n\t\t// and its value is updated after each move.\n\t\t// Note: Used to register and fire \"input\" event upon [Space] or [Enter].\n\t\t// Note: The property \"value\" is updated upon selection move and can`t be used.\n\t\tthis.valueBeforeItemSelection = \"\";\n\n\t\t// Represents the value before user moves selection between the suggestion items\n\t\t// and its value remains the same when the user navigates up or down the list.\n\t\t// Note: Used to cancel selection upon [Escape].\n\t\tthis.valueBeforeItemPreview = \"\";\n\n\t\t// Indicates if the user selection has been canceled with [Escape].\n\t\tthis.suggestionSelectionCancelled = false;\n\n\t\t// tracks the value between focus in and focus out to detect that change event should be fired.\n\t\tthis.previousValue = \"\";\n\n\t\t// Indicates, if the component is rendering for first time.\n\t\tthis.firstRendering = true;\n\n\t\t// The typed in value.\n\t\tthis.typedInValue = \"\";\n\n\t\t// The last value confirmed by the user with \"ENTER\"\n\t\tthis.lastConfirmedValue = \"\";\n\n\t\t// Indicates, if the user is typing. Gets reset once popup is closed\n\t\tthis.isTyping = false;\n\n\t\t// Suggestions array initialization\n\t\tthis.suggestionObjects = [];\n\n\t\tthis._handleResizeBound = this._handleResize.bind(this);\n\n\t\tthis._keepInnerValue = false;\n\t\tthis._focusedAfterClear = false;\n\t}\n\n\tonEnterDOM() {\n\t\tResizeHandler.register(this, this._handleResizeBound);\n\t\tregisterUI5Element(this, this._updateAssociatedLabelsTexts.bind(this));\n\t}\n\n\tonExitDOM() {\n\t\tResizeHandler.deregister(this, this._handleResizeBound);\n\t\tderegisterUI5Element(this);\n\t}\n\n\tonBeforeRendering() {\n\t\tif (!this._keepInnerValue) {\n\t\t\tthis._innerValue = this.value;\n\t\t}\n\n\t\tif (this.showSuggestions) {\n\t\t\tthis.enableSuggestions();\n\t\t\tthis.suggestionObjects = this.Suggestions!.defaultSlotProperties(this.typedInValue);\n\t\t}\n\n\t\tthis._effectiveShowClearIcon = (this.showClearIcon && !!this.value && !this.readonly && !this.disabled);\n\t\tthis.style.setProperty(getScopedVarName(\"--_ui5-input-icons-count\"), `${this.iconsCount}`);\n\n\t\tthis.FormSupport = getFeature<typeof FormSupportT>(\"FormSupport\");\n\t\tconst hasItems = !!this.suggestionItems.length;\n\t\tconst hasValue = !!this.value;\n\t\tconst isFocused = this.shadowRoot!.querySelector(\"input\") === getActiveElement();\n\n\t\tif (this._isPhone) {\n\t\t\tthis.open = this.openOnMobile;\n\t\t} else if (this._forceOpen) {\n\t\t\tthis.open = true;\n\t\t} else {\n\t\t\tthis.open = hasValue && hasItems && isFocused && this.isTyping;\n\t\t}\n\n\t\tif (this.FormSupport) {\n\t\t\tthis.FormSupport.syncNativeHiddenInput(this);\n\t\t} else if (this.name) {\n\t\t\tconsole.warn(`In order for the \"name\" property to have effect, you should also: import \"@ui5/webcomponents/dist/features/InputElementsFormSupport.js\";`); // eslint-disable-line\n\t\t}\n\n\t\tconst value = this.value;\n\t\tconst innerInput = this.getInputDOMRefSync();\n\n\t\tif (!innerInput || !value) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst autoCompletedChars = innerInput.selectionEnd! - innerInput.selectionStart!;\n\n\t\t// Typehead causes issues on Android devices, so we disable it for now\n\t\t// If there is already a selection the autocomplete has already been performed\n\t\tif (this._shouldAutocomplete && !isAndroid() && !autoCompletedChars && !this._isKeyNavigation) {\n\t\t\tconst item = this._getFirstMatchingItem(value);\n\t\t\tif (item) {\n\t\t\t\tthis._handleTypeAhead(item);\n\t\t\t}\n\t\t}\n\t}\n\n\tasync onAfterRendering() {\n\t\tconst innerInput = this.getInputDOMRefSync()!;\n\n\t\tif (this.Suggestions && this.showSuggestions) {\n\t\t\tthis.Suggestions.toggle(this.open, {\n\t\t\t\tpreventFocusRestore: true,\n\t\t\t});\n\n\t\t\tthis._listWidth = await this.Suggestions._getListWidth();\n\t\t}\n\n\t\tif (this.shouldDisplayOnlyValueStateMessage) {\n\t\t\tthis.openPopover();\n\t\t} else {\n\t\t\tthis.closePopover();\n\t\t}\n\n\t\tif (this._performTextSelection) {\n\t\t\t// this is required to syncronize lit-html input's value and user's input\n\t\t\t// lit-html does not sync its stored value for the value property when the user is typing\n\t\t\tif (innerInput.value !== this._innerValue) {\n\t\t\t\tinnerInput.value = this._innerValue;\n\t\t\t}\n\n\t\t\tif (this.typedInValue.length && this.value.length) {\n\t\t\t\tinnerInput.setSelectionRange(this.typedInValue.length, this.value.length);\n\t\t\t}\n\t\t}\n\n\t\tthis._performTextSelection = false;\n\t}\n\n\t_onkeydown(e: KeyboardEvent) {\n\t\tthis._isKeyNavigation = true;\n\t\tthis._shouldAutocomplete = !this.noTypeahead && !(isBackSpace(e) || isDelete(e) || isEscape(e));\n\n\t\tif (isUp(e)) {\n\t\t\treturn this._handleUp(e);\n\t\t}\n\n\t\tif (isDown(e)) {\n\t\t\treturn this._handleDown(e);\n\t\t}\n\n\t\tif (isSpace(e)) {\n\t\t\treturn this._handleSpace(e);\n\t\t}\n\n\t\tif (isTabNext(e)) {\n\t\t\treturn this._handleTab();\n\t\t}\n\n\t\tif (isEnter(e)) {\n\t\t\treturn this._handleEnter(e);\n\t\t}\n\n\t\tif (isPageUp(e)) {\n\t\t\treturn this._handlePageUp(e);\n\t\t}\n\n\t\tif (isPageDown(e)) {\n\t\t\treturn this._handlePageDown(e);\n\t\t}\n\n\t\tif (isHome(e)) {\n\t\t\treturn this._handleHome(e);\n\t\t}\n\n\t\tif (isEnd(e)) {\n\t\t\treturn this._handleEnd(e);\n\t\t}\n\n\t\tif (isEscape(e)) {\n\t\t\treturn this._handleEscape();\n\t\t}\n\n\t\tif (this.showSuggestions) {\n\t\t\tthis._clearPopoverFocusAndSelection();\n\t\t}\n\n\t\tthis._keyDown = true;\n\t\tthis._isKeyNavigation = false;\n\t}\n\n\t_onkeyup(e: KeyboardEvent) {\n\t\t// The native Delete event does not update the value property \"on time\".\n\t\t// So, the (native) change event is always fired with the old value\n\t\tif (isDelete(e)) {\n\t\t\tthis.value = (e.target as HTMLInputElement).value;\n\t\t}\n\n\t\tthis._keyDown = false;\n\t}\n\n\t_handleUp(e: KeyboardEvent) {\n\t\tif (this.Suggestions && this.Suggestions.isOpened()) {\n\t\t\tthis.Suggestions.onUp(e);\n\t\t}\n\t}\n\n\t_handleDown(e: KeyboardEvent) {\n\t\tif (this.Suggestions && this.Suggestions.isOpened()) {\n\t\t\tthis.Suggestions.onDown(e);\n\t\t}\n\t}\n\n\t_handleSpace(e: KeyboardEvent) {\n\t\tif (this.Suggestions) {\n\t\t\tthis.Suggestions.onSpace(e);\n\t\t}\n\t}\n\n\t_handleTab() {\n\t\tif (this.Suggestions && (this.previousValue !== this.value)) {\n\t\t\tthis.Suggestions.onTab();\n\t\t}\n\t}\n\n\t_handleEnter(e: KeyboardEvent) {\n\t\tconst suggestionItemPressed = !!(this.Suggestions && this.Suggestions.onEnter(e));\n\n\t\tconst innerInput = this.getInputDOMRefSync()!;\n\t\t// Check for autocompleted item\n\t\tconst matchingItem = this.suggestionItems.find(item => {\n\t\t\treturn (item.text && item.text === this.value) || (item.textContent === this.value);\n\t\t});\n\n\t\tif (matchingItem) {\n\t\t\tconst itemText = matchingItem.text ? matchingItem.text : (matchingItem.textContent || \"\");\n\n\t\t\tinnerInput.setSelectionRange(itemText.length, itemText.length);\n\t\t\tif (!suggestionItemPressed) {\n\t\t\t\tthis.selectSuggestion(matchingItem, true);\n\t\t\t\tthis.open = false;\n\t\t\t}\n\t\t}\n\n\t\tif (this._isPhone && !this.suggestionItems.length && !this.isTypeNumber) {\n\t\t\tinnerInput.setSelectionRange(this.value.length, this.value.length);\n\t\t}\n\n\t\tif (!suggestionItemPressed) {\n\t\t\tthis.lastConfirmedValue = this.value;\n\n\t\t\tif (this.FormSupport) {\n\t\t\t\tthis.FormSupport.triggerFormSubmit(this);\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis.focused = true;\n\t}\n\n\t_handlePageUp(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onPageUp(e);\n\t\t} else {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_handlePageDown(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onPageDown(e);\n\t\t} else {\n\t\t\te.preventDefault();\n\t\t}\n\t}\n\n\t_handleHome(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onHome(e);\n\t\t}\n\t}\n\n\t_handleEnd(e: KeyboardEvent) {\n\t\tif (this._isSuggestionsFocused) {\n\t\t\tthis.Suggestions!.onEnd(e);\n\t\t}\n\t}\n\n\t_handleEscape() {\n\t\tconst hasSuggestions = this.showSuggestions && !!this.Suggestions;\n\t\tconst isOpen = hasSuggestions && this.open;\n\t\tconst innerInput = this.getInputDOMRefSync()!;\n\t\tconst isAutoCompleted = innerInput.selectionEnd! - innerInput.selectionStart! > 0;\n\n\t\tthis.isTyping = false;\n\n\t\tif (!isOpen) {\n\t\t\tthis.value = this.lastConfirmedValue ? this.lastConfirmedValue : this.previousValue;\n\t\t\treturn;\n\t\t}\n\n\t\tif (isOpen && this.Suggestions!._isItemOnTarget()) {\n\t\t\t// Restore the value.\n\t\t\tthis.value = this.typedInValue || this.valueBeforeItemPreview;\n\n\t\t\t// Mark that the selection has been cancelled, so the popover can close\n\t\t\t// and not reopen, due to receiving focus.\n\t\t\tthis.suggestionSelectionCancelled = true;\n\t\t\tthis.focused = true;\n\n\t\t\treturn;\n\t\t}\n\n\t\tif (isAutoCompleted) {\n\t\t\tthis.value = this.typedInValue;\n\t\t}\n\n\t\tif (this._isValueStateFocused) {\n\t\t\tthis._isValueStateFocused = false;\n\t\t\tthis.focused = true;\n\t\t}\n\t}\n\n\tasync _onfocusin(e: FocusEvent) {\n\t\tawait this.getInputDOMRef();\n\n\t\tthis.focused = true; // invalidating property\n\n\t\tif (!this._focusedAfterClear) {\n\t\t\tthis.previousValue = this.value;\n\t\t}\n\n\t\tthis.valueBeforeItemPreview = this.value;\n\t\tthis._inputIconFocused = !!e.target && e.target === this.querySelector<Icon>(\"[ui5-icon]\");\n\t\tthis._focusedAfterClear = false;\n\t}\n\n\t/**\n\t * Called on \"focusin\" of the native input HTML Element.\n\t * **Note:** implemented in MultiInput, but used in the Input template.\n\t */\n\tinnerFocusIn(): void | undefined {}\n\n\t_onfocusout(e: FocusEvent) {\n\t\tconst toBeFocused = e.relatedTarget as HTMLElement;\n\t\tconst focusedOutToSuggestions = this.Suggestions && toBeFocused && toBeFocused.shadowRoot && toBeFocused.shadowRoot.contains(this.Suggestions.responsivePopover as Node);\n\t\tconst focusedOutToValueStateMessage = toBeFocused && toBeFocused.shadowRoot && toBeFocused.shadowRoot.querySelector(\".ui5-valuestatemessage-root\");\n\n\t\tthis._keepInnerValue = false;\n\n\t\tif (this.showClearIcon && !this._effectiveShowClearIcon) {\n\t\t\tthis._clearIconClicked = false;\n\t\t\tthis._handleChange();\n\t\t}\n\n\t\t// if focusout is triggered by pressing on suggestion item or value state message popover, skip invalidation, because re-rendering\n\t\t// will happen before \"itemPress\" event, which will make item \"active\" state not visualized\n\t\tif (focusedOutToSuggestions || focusedOutToValueStateMessage) {\n\t\t\te.stopImmediatePropagation();\n\t\t\treturn;\n\t\t}\n\n\t\tif (toBeFocused && (toBeFocused).classList.contains(this._id)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.open = false;\n\t\tthis._clearPopoverFocusAndSelection();\n\n\t\tif (!this._clearIconClicked) {\n\t\t\tthis.previousValue = \"\";\n\t\t}\n\n\t\tthis.lastConfirmedValue = \"\";\n\t\tthis.focused = false; // invalidating property\n\t\tthis.isTyping = false;\n\t\tthis._forceOpen = false;\n\t}\n\n\t_clearPopoverFocusAndSelection() {\n\t\tif (!this.showSuggestions || !this.Suggestions) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._isValueStateFocused = false;\n\t\tthis.hasSuggestionItemSelected = false;\n\n\t\tthis.Suggestions._deselectItems();\n\t\tthis.Suggestions._clearItemFocus();\n\t}\n\n\t_click() {\n\t\tif (isPhone() && !this.readonly && this.Suggestions) {\n\t\t\tthis.blur();\n\t\t\tthis.openOnMobile = true;\n\t\t}\n\t}\n\n\t_handleChange() {\n\t\tif (this._clearIconClicked) {\n\t\t\tthis._clearIconClicked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.previousValue !== this.getInputDOMRefSync()!.value) {\n\t\t\tthis.fireEvent(INPUT_EVENTS.CHANGE);\n\t\t\tthis.previousValue = this.value;\n\t\t\tthis.typedInValue = this.value;\n\t\t}\n\t}\n\n\t_clear() {\n\t\tthis.value = \"\";\n\t\tthis.fireEvent<InputEventDetail>(INPUT_EVENTS.INPUT);\n\t\tif (!this._isPhone) {\n\t\t\tthis.focus();\n\t\t\tthis._focusedAfterClear = true;\n\t\t}\n\t}\n\n\t_iconMouseDown() {\n\t\tthis._clearIconClicked = true;\n\t}\n\n\t_scroll(e: CustomEvent<PopupScrollEventDetail>) {\n\t\tthis.fireEvent<InputSuggestionScrollEventDetail>(\"suggestion-scroll\", {\n\t\t\tscrollTop: e.detail.scrollTop,\n\t\t\tscrollContainer: e.detail.targetRef,\n\t\t});\n\t}\n\n\t_handleInput(e: InputEvent | CustomEvent<InputEventDetail>) {\n\t\tconst inputDomRef = this.getInputDOMRefSync();\n\t\tconst emptyValueFiredOnNumberInput = this.value && this.isTypeNumber && !inputDomRef!.value;\n\t\tconst eventType: string = (e as InputEvent).inputType\n\t\t\t|| (e.detail as InputEventDetail).inputType\n\t\t\t|| \"\";\n\t\tthis._keepInnerValue = false;\n\n\t\tconst allowedEventTypes = [\n\t\t\t\"deleteWordBackward\",\n\t\t\t\"deleteWordForward\",\n\t\t\t\"deleteSoftLineBackward\",\n\t\t\t\"deleteSoftLineForward\",\n\t\t\t\"deleteEntireSoftLine\",\n\t\t\t\"deleteHardLineBackward\",\n\t\t\t\"deleteHardLineForward\",\n\t\t\t\"deleteByDrag\",\n\t\t\t\"deleteByCut\",\n\t\t\t\"deleteContent\",\n\t\t\t\"deleteContentBackward\",\n\t\t\t\"deleteContentForward\",\n\t\t\t\"historyUndo\",\n\t\t];\n\n\t\tthis._shouldAutocomplete = !allowedEventTypes.includes(eventType) && !this.noTypeahead;\n\t\tthis.suggestionSelectionCancelled = false;\n\n\t\tif (e instanceof InputEvent) {\n\t\t\t// ---- Special cases of numeric Input ----\n\t\t\t// ---------------- Start -----------------\n\n\t\t\t// When the last character after the delimiter is removed.\n\t\t\t// In such cases, we want to skip the re-rendering of the\n\t\t\t// component as this leads to cursor repositioning and causes user experience issues.\n\n\t\t\t// There are few scenarios:\n\t\t\t// Example: type \"123.4\" and press BACKSPACE - the native input is firing event with the whole part as value (123).\n\t\t\t// Pressing BACKSPACE again will remove the delimiter and the native input will fire event with the whole part as value again (123).\n\t\t\t// Example: type \"123.456\", select/mark \"456\" and press BACKSPACE - the native input is firing event with the whole part as value (123).\n\t\t\t// Example: type \"123.456\", select/mark \"123.456\" and press BACKSPACE - the native input is firing event with empty value.\n\t\t\tconst delimiterCase = this.isTypeNumber\n\t\t\t\t&& (e.inputType === \"deleteContentForward\" || e.inputType === \"deleteContentBackward\")\n\t\t\t\t&& !(e.target as HTMLInputElement).value.includes(\".\")\n\t\t\t\t&& this.value.includes(\".\");\n\n\t\t\t// Handle special numeric notation with \"e\", example \"12.5e12\"\n\t\t\tconst eNotationCase = emptyValueFiredOnNumberInput && e.data === \"e\";\n\n\t\t\t// Handle special numeric notation with \"-\", example \"-3\"\n\t\t\t// When pressing BACKSPACE, the native input fires event with empty value\n\t\t\tconst minusRemovalCase = emptyValueFiredOnNumberInput\n\t\t\t\t&& this.value.startsWith(\"-\")\n\t\t\t\t&& this.value.length === 2\n\t\t\t\t&& (e.inputType === \"deleteContentForward\" || e.inputType === \"deleteContentBackward\");\n\n\t\t\tif (delimiterCase || eNotationCase || minusRemovalCase) {\n\t\t\t\tthis.value = (e.target as HTMLInputElement).value;\n\t\t\t\tthis._keepInnerValue = true;\n\t\t\t}\n\t\t\t// ----------------- End ------------------\n\t\t}\n\n\t\tif (e.target === inputDomRef) {\n\t\t\tthis.focused = true;\n\n\t\t\t// stop the native event, as the semantic \"input\" would be fired.\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.fireEventByAction(INPUT_ACTIONS.ACTION_ENTER, e as InputEvent);\n\n\t\tthis.hasSuggestionItemSelected = false;\n\t\tthis._isValueStateFocused = false;\n\n\t\tif (this.Suggestions) {\n\t\t\tthis.Suggestions.updateSelectedItemPosition(-1);\n\t\t}\n\n\t\tthis.isTyping = true;\n\t}\n\n\t_startsWithMatchingItems(str: string): Array<IInputSuggestionItem> {\n\t\tconst textProp = this.suggestionItems[0].text ? \"text\" : \"textContent\";\n\n\t\treturn StartsWith(str, this.suggestionItems, textProp);\n\t}\n\n\t_getFirstMatchingItem(current: string) {\n\t\tif (!this.suggestionItems.length) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst matchingItems = this._startsWithMatchingItems(current).filter(item => !item.groupItem);\n\n\t\tif (matchingItems.length) {\n\t\t\treturn matchingItems[0];\n\t\t}\n\t}\n\n\t_handleTypeAhead(item: IInputSuggestionItem) {\n\t\tconst value = item.text ? item.text : item.textContent || \"\";\n\n\t\tthis._innerValue = value;\n\t\tthis.value = value;\n\t\tthis._performTextSelection = true;\n\n\t\tthis._shouldAutocomplete = false;\n\t}\n\n\t_handleResize() {\n\t\tthis._inputWidth = this.offsetWidth;\n\t}\n\n\t_updateAssociatedLabelsTexts() {\n\t\tthis._associatedLabelsTexts = getAssociatedLabelForTexts(this);\n\t\tthis._accessibleLabelsRefTexts = getAllAccessibleNameRefTexts(this);\n\t}\n\n\t_closeRespPopover() {\n\t\tthis.Suggestions!.close(true);\n\t}\n\n\tasync _afterOpenPopover() {\n\t\t// Set initial focus to the native input\n\t\tif (isPhone()) {\n\t\t\t(await this.getInputDOMRef())!.focus();\n\t\t}\n\t}\n\n\t_afterClosePopover() {\n\t\tthis.announceSelectedItem();\n\n\t\t// close device's keyboard and prevent further typing\n\t\tif (isPhone()) {\n\t\t\tthis.blur();\n\t\t\tthis.focused = false;\n\t\t}\n\n\t\tthis.openOnMobile = false;\n\t\tthis.open = false;\n\t\tthis._forceOpen = false;\n\n\t\tif (this.hasSuggestionItemSelected) {\n\t\t\tthis.focus();\n\t\t}\n\t}\n\n\t/**\n\t * Checks if the value state popover is open.\n\t */\n\tisValueStateOpened() {\n\t\treturn !!this._isPopoverOpen;\n\t}\n\n\tasync openPopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tif (popover) {\n\t\t\tthis._isPopoverOpen = true;\n\t\t\tpopover.showAt(this);\n\t\t}\n\t}\n\n\tasync closePopover() {\n\t\tconst popover = await this._getPopover();\n\n\t\tpopover && popover.close();\n\t}\n\n\tasync _getPopover() {\n\t\tconst staticAreaItem = await this.getStaticAreaItemDomRef();\n\t\treturn staticAreaItem!.querySelector<Popover>(\"[ui5-popover]\")!;\n\t}\n\n\t/**\n\t * Manually opens the suggestions popover, assuming suggestions are enabled. Items must be preloaded for it to open.\n\t * @public\n\t * @since 1.3.0\n\t */\n\topenPicker() : void {\n\t\tif (!this.suggestionItems.length || this.disabled || this.readonly) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._forceOpen = true;\n\t}\n\n\tenableSuggestions() {\n\t\tif (this.Suggestions) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst Suggestions = getFeature<typeof InputSuggestions>(\"InputSuggestions\");\n\n\t\tif (Suggestions) {\n\t\t\tthis.Suggestions = new Suggestions(this, \"suggestionItems\", true, false);\n\t\t} else {\n\t\t\tthrow new Error(`You have to import \"@ui5/webcomponents/dist/features/InputSuggestions.js\" module to use ui5-input suggestions`);\n\t\t}\n\t}\n\n\tselectSuggestion(item: IInputSuggestionItem, keyboardUsed: boolean) {\n\t\tif (item.groupItem) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = this.typedInValue || this.value;\n\t\tconst itemText = item.text || item.textContent || \"\"; // keep textContent for compatibility\n\t\tconst fireInput = keyboardUsed\n\t\t\t? this.valueBeforeItemSelection !== itemText : value !== itemText;\n\n\t\tthis.hasSuggestionItemSelected = true;\n\n\t\tconst valueOriginal = this.value;\n\t\tconst valueBeforeItemSelectionOriginal = this.valueBeforeItemSelection;\n\t\tconst lastConfirmedValueOriginal = this.lastConfirmedValue;\n\t\tconst performTextSelectionOriginal = this._performTextSelection;\n\t\tconst typedInValueOriginal = this.typedInValue;\n\t\tconst previousValueOriginal = this.previousValue;\n\n\t\tif (fireInput) {\n\t\t\tthis.value = itemText;\n\t\t\tthis.valueBeforeItemSelection = itemText;\n\t\t\tthis.lastConfirmedValue = itemText;\n\n\t\t\tthis._performTextSelection = true;\n\n\t\t\tthis.fireEvent(INPUT_EVENTS.CHANGE);\n\n\t\t\tif (isPhone()) {\n\t\t\t\tthis.fireEvent(INPUT_EVENTS.INPUT);\n\t\t\t}\n\n\t\t\t// value might change in the change event handler\n\t\t\tthis.typedInValue = this.value;\n\t\t\tthis.previousValue = this.value;\n\t\t}\n\n\t\tthis.valueBeforeItemPreview = \"\";\n\t\tthis.suggestionSelectionCancelled = false;\n\n\t\t// Fire suggestion-item-select event after input change events for backward compatibility, but revert all input properties set before suggestion was prevented.\n\t\t// For v2.0 this code will be reworked.\n\t\tconst isCancelledByUser = !this.fireEvent<InputSuggestionItemSelectEventDetail>(INPUT_EVENTS.SUGGESTION_ITEM_SELECT, { item }, true);\n\n\t\tif (isCancelledByUser) {\n\t\t\tthis.Suggestions?._clearSelectedSuggestionAndAccInfo();\n\t\t\tthis.hasSuggestionItemSelected = false;\n\t\t\tthis.suggestionSelectionCancelled = true;\n\n\t\t\tif (fireInput) {\n\t\t\t\t// revert properties set during fireInput\n\t\t\t\tif (itemText === this.value) { // If no chnages were made to the input value after suggestion-item-select was prevented - revert value to the original text\n\t\t\t\t\tthis.value = valueOriginal;\n\t\t\t\t}\n\t\t\t\tthis.valueBeforeItemSelection = valueBeforeItemSelectionOriginal;\n\t\t\t\tthis.lastConfirmedValue = lastConfirmedValueOriginal;\n\t\t\t\tthis._performTextSelection = performTextSelectionOriginal;\n\t\t\t\tthis.typedInValue = typedInValueOriginal;\n\t\t\t\tthis.previousValue = previousValueOriginal;\n\t\t\t}\n\t\t}\n\n\t\tthis.isTyping = false;\n\t\tthis.openOnMobile = false;\n\t\tthis._forceOpen = false;\n\t}\n\n\tpreviewSuggestion(item: SuggestionListItem) {\n\t\tthis.valueBeforeItemSelection = this.value;\n\t\tthis.updateValueOnPreview(item);\n\t\tthis.announceSelectedItem();\n\t\tthis._previewItem = item;\n\t}\n\n\t/**\n\t * Updates the input value on item preview.\n\t * @param item The item that is on preview\n\t */\n\tupdateValueOnPreview(item: SuggestionListItem) {\n\t\tconst noPreview = item.type === \"Inactive\" || item.groupItem;\n\t\tconst itemValue = noPreview ? this.valueBeforeItemPreview : (item.effectiveTitle || item.textContent || \"\");\n\n\t\tthis.value = itemValue;\n\t\tthis._performTextSelection = true;\n\t}\n\n\t/**\n\t * The suggestion item on preview.\n\t * @default null\n\t * @public\n\t */\n\tget previewItem() : IInputSuggestionItem | null {\n\t\tif (!this._previewItem) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this.getSuggestionByListItem(this._previewItem);\n\t}\n\n\tasync fireEventByAction(action: INPUT_ACTIONS, e: InputEvent) {\n\t\tif (this.disabled || this.readonly) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst inputValue = await this.getInputValue();\n\t\tconst isUserInput = action === INPUT_ACTIONS.ACTION_ENTER;\n\n\t\tthis.value = inputValue;\n\t\tthis.typedInValue = inputValue;\n\t\tthis.valueBeforeItemPreview = inputValue;\n\n\t\tif (isUserInput) { // input\n\t\t\tthis.fireEvent<InputEventDetail>(INPUT_EVENTS.INPUT, { inputType: e.inputType });\n\t\t\t// Angular two way data binding\n\t\t\tthis.fireEvent(\"value-changed\");\n\t\t}\n\t}\n\n\tasync getInputValue() {\n\t\tconst domRef = this.getDomRef();\n\n\t\tif (domRef) {\n\t\t\treturn (await this.getInputDOMRef())!.value;\n\t\t}\n\t\treturn \"\";\n\t}\n\n\tasync getInputDOMRef() {\n\t\tif (isPhone() && this.Suggestions) {\n\t\t\tawait this.Suggestions._getSuggestionPopover();\n\t\t\treturn this.Suggestions.responsivePopover!.querySelector<Input>(\".ui5-input-inner-phone\")!;\n\t\t}\n\n\t\treturn this.nativeInput;\n\t}\n\n\tgetInputDOMRefSync() {\n\t\tif (isPhone() && this.Suggestions && this.Suggestions.responsivePopover) {\n\t\t\treturn this.Suggestions.responsivePopover.querySelector(\".ui5-input-inner-phone\")!.shadowRoot!.querySelector<HTMLInputElement>(\"input\")!;\n\t\t}\n\n\t\treturn this.nativeInput;\n\t}\n\n\t/**\n\t * Returns a reference to the native input element\n\t * @protected\n\t */\n\tget nativeInput() {\n\t\tconst domRef = this.getDomRef();\n\n\t\treturn domRef ? domRef.querySelector<HTMLInputElement>(`input`) : null;\n\t}\n\n\tget nativeInputWidth() {\n\t\treturn this.nativeInput ? this.nativeInput.offsetWidth : 0;\n\t}\n\n\tgetLabelableElementId() {\n\t\treturn this.getInputId();\n\t}\n\n\tgetSuggestionByListItem(item: SuggestionListItem): IInputSuggestionItem {\n\t\tconst key = parseInt(item.getAttribute(\"data-ui5-key\")!);\n\t\treturn this.suggestionItems[key];\n\t}\n\n\t/**\n\t * Returns if the suggestions popover is scrollable.\n\t * The method returns `Promise` that resolves to true,\n\t * if the popup is scrollable and false otherwise.\n\t */\n\tisSuggestionsScrollable() {\n\t\tif (!this.Suggestions) {\n\t\t\treturn Promise.resolve(false);\n\t\t}\n\n\t\treturn this.Suggestions._isScrollable();\n\t}\n\n\tgetInputId() {\n\t\treturn `${this._id}-inner`;\n\t}\n\n\t/* Suggestions interface */\n\tonItemMouseOver(e: MouseEvent) {\n\t\tconst item = e.target as SuggestionListItem;\n\t\tconst suggestion = this.getSuggestionByListItem(item);\n\t\tsuggestion && suggestion.fireEvent(\"mouseover\", {\n\t\t\titem: suggestion,\n\t\t\ttargetRef: item,\n\t\t});\n\t}\n\n\tonItemMouseOut(e: MouseEvent) {\n\t\tconst item = e.target as SuggestionListItem;\n\t\tconst suggestion = this.getSuggestionByListItem(item);\n\t\tsuggestion && suggestion.fireEvent(\"mouseout\", {\n\t\t\titem: suggestion,\n\t\t\ttargetRef: item,\n\t\t});\n\t}\n\n\tonItemMouseDown(e: MouseEvent) {\n\t\te.preventDefault();\n\t}\n\n\tonItemSelected(item: SuggestionItem, keyboardUsed: boolean) {\n\t\tthis.selectSuggestion(item, keyboardUsed);\n\t}\n\n\tonItemPreviewed(item: SuggestionListItem) {\n\t\tthis.previewSuggestion(item);\n\t\tthis.fireEvent<InputSuggestionItemPreviewEventDetail>(\"suggestion-item-preview\", {\n\t\t\titem: this.getSuggestionByListItem(item),\n\t\t\ttargetRef: item,\n\t\t});\n\t}\n\n\tget valueStateTypeMappings() {\n\t\treturn {\n\t\t\t\"Success\": Input.i18nBundle.getText(VALUE_STATE_TYPE_SUCCESS),\n\t\t\t\"Information\": Input.i18nBundle.getText(VALUE_STATE_TYPE_INFORMATION),\n\t\t\t\"Error\": Input.i18nBundle.getText(VALUE_STATE_TYPE_ERROR),\n\t\t\t\"Warning\": Input.i18nBundle.getText(VALUE_STATE_TYPE_WARNING),\n\t\t};\n\t}\n\n\tvalueStateTextMappings() {\n\t\treturn {\n\t\t\t\"Success\": Input.i18nBundle.getText(VALUE_STATE_SUCCESS),\n\t\t\t\"Information\": Input.i18nBundle.getText(VALUE_STATE_INFORMATION),\n\t\t\t\"Error\": Input.i18nBundle.getText(VALUE_STATE_ERROR),\n\t\t\t\"Warning\": Input.i18nBundle.getText(VALUE_STATE_WARNING),\n\t\t};\n\t}\n\n\tannounceSelectedItem() {\n\t\tconst invisibleText = this.shadowRoot!.querySelector(`[id=\"${this._id}-selectionText\"]`)!;\n\n\t\tinvisibleText.textContent = this.itemSelectionAnnounce;\n\t}\n\n\tget _readonly() {\n\t\treturn this.readonly && !this.disabled;\n\t}\n\n\tget _headerTitleText() {\n\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_TITLE);\n\t}\n\n\tget clearIconAccessibleName() {\n\t\treturn Input.i18nBundle.getText(INPUT_CLEAR_ICON_ACC_NAME);\n\t}\n\n\tget inputType() {\n\t\treturn this.type.toLowerCase();\n\t}\n\n\tget isTypeNumber() {\n\t\treturn this.type === InputType.Number;\n\t}\n\n\tget suggestionsTextId() {\n\t\treturn this.showSuggestions ? `${this._id}-suggestionsText` : \"\";\n\t}\n\n\tget valueStateTextId() {\n\t\treturn this.hasValueState ? `${this._id}-valueStateDesc` : \"\";\n\t}\n\n\tget accInfo() {\n\t\tconst ariaHasPopupDefault = this.showSuggestions ? \"true\" : undefined;\n\t\tconst ariaAutoCompleteDefault = this.showSuggestions ? \"list\" : undefined;\n\t\tconst ariaDescribedBy = this._inputAccInfo.ariaDescribedBy ? `${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim() : `${this.suggestionsTextId} ${this.valueStateTextId}`.trim();\n\n\t\tconst info = {\n\t\t\t\"input\": {\n\t\t\t\t\"ariaRoledescription\": this._inputAccInfo && (this._inputAccInfo.ariaRoledescription || undefined),\n\t\t\t\t\"ariaDescribedBy\": ariaDescribedBy || undefined,\n\t\t\t\t\"ariaInvalid\": this.valueState === ValueState.Error ? \"true\" : undefined,\n\t\t\t\t\"ariaHasPopup\": this._inputAccInfo.ariaHasPopup ? this._inputAccInfo.ariaHasPopup : ariaHasPopupDefault,\n\t\t\t\t\"ariaAutoComplete\": this._inputAccInfo.ariaAutoComplete ? this._inputAccInfo.ariaAutoComplete : ariaAutoCompleteDefault,\n\t\t\t\t\"role\": this._inputAccInfo && this._inputAccInfo.role,\n\t\t\t\t\"ariaControls\": this._inputAccInfo && this._inputAccInfo.ariaControls,\n\t\t\t\t\"ariaExpanded\": this._inputAccInfo && this._inputAccInfo.ariaExpanded,\n\t\t\t\t\"ariaDescription\": this._inputAccInfo && this._inputAccInfo.ariaDescription,\n\t\t\t\t\"ariaLabel\": (this._inputAccInfo && this._inputAccInfo.ariaLabel) || this._accessibleLabelsRefTexts || this.accessibleName || this._associatedLabelsTexts || undefined,\n\t\t\t},\n\t\t};\n\t\treturn info;\n\t}\n\n\tget nativeInputAttributes() {\n\t\treturn {\n\t\t\t\"min\": this.isTypeNumber ? this._nativeInputAttributes.min : undefined,\n\t\t\t\"max\": this.isTypeNumber ? this._nativeInputAttributes.max : undefined,\n\t\t\t\"step\": this.isTypeNumber ? (this._nativeInputAttributes.step || \"any\") : undefined,\n\t\t};\n\t}\n\n\tget ariaValueStateHiddenText() {\n\t\tif (!this.hasValueState) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst valueState = this.valueState !== ValueState.None ? this.valueStateTypeMappings[this.valueState] : \"\";\n\n\t\tif (this.shouldDisplayDefaultValueStateMessage) {\n\t\t\treturn this.valueStateText ? `${valueState} ${this.valueStateText}` : valueState;\n\t\t}\n\n\t\treturn `${valueState}`.concat(\" \", this.valueStateMessageText.map(el => el.textContent).join(\" \"));\n\t}\n\n\tget itemSelectionAnnounce() {\n\t\treturn this.Suggestions ? this.Suggestions.itemSelectionAnnounce : \"\";\n\t}\n\n\tget iconsCount(): number {\n\t\tconst slottedIconsCount = this.icon ? this.icon.length : 0;\n\t\tconst clearIconCount = Number(this._effectiveShowClearIcon) ?? 0;\n\t\treturn slottedIconsCount + clearIconCount;\n\t}\n\n\tget classes(): ClassMap {\n\t\treturn {\n\t\t\tpopover: {\n\t\t\t\t\"ui5-suggestions-popover\": this.showSuggestions,\n\t\t\t\t\"ui5-popover-with-value-state-header-phone\": this._isPhone && this.showSuggestions && this.hasValueStateMessage,\n\t\t\t\t\"ui5-popover-with-value-state-header\": !this._isPhone && this.showSuggestions && this.hasValueStateMessage,\n\t\t\t},\n\t\t\tpopoverValueState: {\n\t\t\t\t\"ui5-valuestatemessage-root\": true,\n\t\t\t\t\"ui5-valuestatemessage-header\": true,\n\t\t\t\t\"ui5-valuestatemessage--success\": this.valueState === ValueState.Success,\n\t\t\t\t\"ui5-valuestatemessage--error\": this.valueState === ValueState.Error,\n\t\t\t\t\"ui5-valuestatemessage--warning\": this.valueState === ValueState.Warning,\n\t\t\t\t\"ui5-valuestatemessage--information\": this.valueState === ValueState.Information,\n\t\t\t},\n\t\t};\n\t}\n\n\tget styles() {\n\t\tconst remSizeIxPx = parseInt(getComputedStyle(document.documentElement).fontSize);\n\n\t\tconst stylesObject = {\n\t\t\tpopoverHeader: {\n\t\t\t\t\"max-width\": this._inputWidth ? `${this._inputWidth}px` : \"\",\n\t\t\t},\n\t\t\tsuggestionPopoverHeader: {\n\t\t\t\t\"display\": this._listWidth === 0 ? \"none\" : \"inline-block\",\n\t\t\t\t\"width\": this._listWidth ? `${this._listWidth}px` : \"\",\n\t\t\t},\n\t\t\tsuggestionsPopover: {\n\t\t\t\t\"min-width\": this._inputWidth ? `${this._inputWidth}px` : \"\",\n\t\t\t\t\"max-width\": this._inputWidth && (this._inputWidth / remSizeIxPx) > 40 ? `${this._inputWidth}px` : \"40rem\",\n\t\t\t},\n\t\t\tinnerInput: {\n\t\t\t\t\"padding\": \"\",\n\t\t\t},\n\t\t};\n\n\t\treturn stylesObject;\n\t}\n\n\tget suggestionSeparators() {\n\t\treturn \"None\";\n\t}\n\n\tget valueStateMessageText() {\n\t\treturn this.getSlottedNodes(\"valueStateMessage\").map(el => el.cloneNode(true));\n\t}\n\n\tget shouldDisplayOnlyValueStateMessage() {\n\t\treturn this.hasValueStateMessage && !this.readonly && !this.open && this.focused;\n\t}\n\n\tget shouldDisplayDefaultValueStateMessage() {\n\t\treturn !this.valueStateMessage.length && this.hasValueStateMessage;\n\t}\n\n\tget hasValueState() {\n\t\treturn this.valueState !== ValueState.None;\n\t}\n\n\tget hasValueStateMessage() {\n\t\treturn this.hasValueState && this.valueState !== ValueState.Success\n\t\t\t&& (!this._inputIconFocused // Handles the cases when valueStateMessage is forwarded (from datepicker e.g.)\n\t\t\t\t|| !!(this._isPhone && this.Suggestions)); // Handles Input with suggestions on mobile\n\t}\n\n\tget valueStateText() {\n\t\treturn this.valueState !== ValueState.None ? this.valueStateTextMappings()[this.valueState] : undefined;\n\t}\n\n\tget suggestionsText() {\n\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS);\n\t}\n\n\tget availableSuggestionsCount() {\n\t\tif (this.showSuggestions && (this.value || this.Suggestions!.isOpened())) {\n\t\t\tconst nonGroupItems = this.suggestionObjects.filter(item => !item.groupItem);\n\n\t\t\tswitch (nonGroupItems.length) {\n\t\t\tcase 0:\n\t\t\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_NO_HIT);\n\n\t\t\tcase 1:\n\t\t\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_ONE_HIT);\n\n\t\t\tdefault:\n\t\t\t\treturn Input.i18nBundle.getText(INPUT_SUGGESTIONS_MORE_HITS, nonGroupItems.length);\n\t\t\t}\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tget step() {\n\t\treturn this.isTypeNumber ? \"any\" : undefined;\n\t}\n\n\tget _isPhone() {\n\t\treturn isPhone();\n\t}\n\n\tget _isSuggestionsFocused() {\n\t\treturn !this.focused && this.Suggestions && this.Suggestions.isOpened();\n\t}\n\n\t/**\n\t * Returns the placeholder value.\n\t * @protected\n\t */\n\tget _placeholder() {\n\t\treturn this.placeholder;\n\t}\n\n\t/**\n\t * This method is relevant for sap_horizon theme only\n\t */\n\tget _valueStateInputIcon() {\n\t\tconst iconPerValueState = {\n\t\t\tError: `<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\"/>`,\n\t\t\tWarning: `<path xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M11.8619 0.49298C11.6823 0.187541 11.3544 0 11 0C10.6456 0 10.3177 0.187541 10.1381 0.49298L0.138066 17.493C-0.0438112 17.8022 -0.0461447 18.1851 0.13195 18.4965C0.310046 18.8079 0.641283 19 1 19H21C21.3587 19 21.69 18.8079 21.868 18.4965C22.0461 18.1851 22.0438 17.8022 21.8619 17.493L11.8619 0.49298ZM11 6C11.5523 6 12 6.44772 12 7V10C12 10.5523 11.5523 11 11 11C10.4477 11 10 10.5523 10 10V7C10 6.44772 10.4477 6 11 6ZM11 16C11.8284 16 12.5 15.3284 12.5 14.5C12.5 13.6716 11.8284 13 11 13C10.1716 13 9.5 13.6716 9.5 14.5C9.5 15.3284 10.1716 16 11 16Z\" fill=\"#F58B00\"/>`,\n\t\t\tSuccess: `<path xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10ZM14.7071 6.29289C14.3166 5.90237 13.6834 5.90237 13.2929 6.29289L8 11.5858L6.70711 10.2929C6.31658 9.90237 5.68342 9.90237 5.29289 10.2929C4.90237 10.6834 4.90237 11.3166 5.29289 11.7071L7.29289 13.7071C7.68342 14.0976 8.31658 14.0976 8.70711 13.7071L14.7071 7.70711C15.0976 7.31658 15.0976 6.68342 14.7071 6.29289Z\" fill=\"#36A41D\"/>`,\n\t\t\tInformation: `<path xmlns=\"http://www.w3.org/2000/svg\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 0C1.34315 0 0 1.34315 0 3V15C0 16.6569 1.34315 18 3 18H15C16.6569 18 18 16.6569 18 15V3C18 1.34315 16.6569 0 15 0H3ZM9 6.5C9.82843 6.5 10.5 5.82843 10.5 5C10.5 4.17157 9.82843 3.5 9 3.5C8.17157 3.5 7.5 4.17157 7.5 5C7.5 5.82843 8.17157 6.5 9 6.5ZM9 8.5C9.55228 8.5 10 8.94772 10 9.5V13.5C10 14.0523 9.55228 14.5 9 14.5C8.44771 14.5 8 14.0523 8 13.5V9.5C8 8.94772 8.44771 8.5 9 8.5Z\" fill=\"#1B90FF\"/>`,\n\t\t};\n\n\t\tif (this.valueState !== ValueState.None) {\n\t\t\treturn `\n\t\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\n\t\t\t\t${iconPerValueState[this.valueState]};\n\t\t\t</svg>\n\t\t\t`;\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n\tget _valueStatePopoverHorizontalAlign() {\n\t\treturn this.effectiveDir !== \"rtl\" ? \"Left\" : \"Right\";\n\t}\n\n\t/**\n\t * This method is relevant for sap_horizon theme only\n\t */\n\tget _valueStateMessageInputIcon() {\n\t\tconst iconPerValueState = {\n\t\t\tError: \"error\",\n\t\t\tWarning: \"alert\",\n\t\t\tSuccess: \"sys-enter-2\",\n\t\t\tInformation: \"information\",\n\t\t};\n\n\t\treturn this.valueState !== ValueState.None ? iconPerValueState[this.valueState] : \"\";\n\t}\n\n\t/**\n\t * Returns the caret position inside the native input\n\t * @protected\n\t */\n\tgetCaretPosition(): number | null {\n\t\treturn getCaretPosition(this.nativeInput!);\n\t}\n\n\t/**\n\t * Sets the caret to a certain position inside the native input\n\t * @protected\n\t */\n\tsetCaretPosition(pos: number | null) {\n\t\tsetCaretPosition(this.nativeInput!, pos);\n\t}\n\n\t/**\n\t * Removes the fractional part of floating-point number.\n\t * @param value the numeric value of Input of type \"Number\"\n\t */\n\tremoveFractionalPart(value: string) {\n\t\tif (value.includes(\".\")) {\n\t\t\treturn value.slice(0, value.indexOf(\".\"));\n\t\t}\n\t\tif (value.includes(\",\")) {\n\t\t\treturn value.slice(0, value.indexOf(\",\"));\n\t\t}\n\n\t\treturn value;\n\t}\n\n\tstatic async onDefine() {\n\t\tconst Suggestions = getFeature<typeof InputSuggestions>(\"InputSuggestions\");\n\n\t\t[Input.i18nBundle] = await Promise.all([\n\t\t\tgetI18nBundle(\"@ui5/webcomponents\"),\n\t\t\tSuggestions ? Suggestions.init() : Promise.resolve(),\n\t\t]);\n\t}\n}\n\nInput.define();\n\nexport default Input;\nexport type {\n\tIInputSuggestionItem,\n\tInputSuggestionScrollEventDetail,\n\tInputSuggestionItemSelectEventDetail,\n\tInputSuggestionItemPreviewEventDetail,\n\tInputEventDetail,\n};\n"]}
@@ -44,6 +44,7 @@ declare class MonthPicker extends CalendarPart implements ICalendarPicker {
44
44
  get roleDescription(): string;
45
45
  onBeforeRendering(): void;
46
46
  onAfterRendering(): void;
47
+ get rowSize(): 2 | 3;
47
48
  _buildMonths(): void;
48
49
  _getDisplayedSecondaryMonthText(timestamp: number): {
49
50
  text: any;
@@ -12,6 +12,7 @@ import getCachedLocaleDataInstance from "@ui5/webcomponents-localization/dist/ge
12
12
  import convertMonthNumbersToMonthNames from "@ui5/webcomponents-localization/dist/dates/convertMonthNumbersToMonthNames.js";
13
13
  import transformDateToSecondaryType from "@ui5/webcomponents-localization/dist/dates/transformDateToSecondaryType.js";
14
14
  import CalendarDate from "@ui5/webcomponents-localization/dist/dates/CalendarDate.js";
15
+ import CalendarType from "@ui5/webcomponents-base/dist/types/CalendarType.js";
15
16
  import { isEnter, isSpace, isDown, isUp, isLeft, isRight, isHome, isEnd, isHomeCtrl, isEndCtrl, isPageUp, isPageDown, } from "@ui5/webcomponents-base/dist/Keys.js";
16
17
  import Integer from "@ui5/webcomponents-base/dist/types/Integer.js";
17
18
  import getLocale from "@ui5/webcomponents-base/dist/locale/getLocale.js";
@@ -23,7 +24,6 @@ import MonthPickerTemplate from "./generated/templates/MonthPickerTemplate.lit.j
23
24
  // Styles
24
25
  import monthPickerStyles from "./generated/themes/MonthPicker.css.js";
25
26
  const PAGE_SIZE = 12; // total months on a single page
26
- const ROW_SIZE = 3; // months per row (4 rows of 3 months each)
27
27
  /**
28
28
  * Month picker component.
29
29
  * @class
@@ -48,6 +48,10 @@ let MonthPicker = MonthPicker_1 = class MonthPicker extends CalendarPart {
48
48
  this.focus();
49
49
  }
50
50
  }
51
+ get rowSize() {
52
+ return (this.secondaryCalendarType === CalendarType.Islamic && this.primaryCalendarType !== CalendarType.Islamic)
53
+ || (this.secondaryCalendarType === CalendarType.Persian && this.primaryCalendarType !== CalendarType.Persian) ? 2 : 3;
54
+ }
51
55
  _buildMonths() {
52
56
  if (this._hidden) {
53
57
  return;
@@ -87,7 +91,7 @@ let MonthPicker = MonthPicker_1 = class MonthPicker extends CalendarPart {
87
91
  if (isDisabled) {
88
92
  month.classes += " ui5-mp-item--disabled";
89
93
  }
90
- const quarterIndex = Math.floor(i / ROW_SIZE);
94
+ const quarterIndex = Math.floor(i / this.rowSize);
91
95
  if (months[quarterIndex]) {
92
96
  months[quarterIndex].push(month);
93
97
  }
@@ -116,10 +120,10 @@ let MonthPicker = MonthPicker_1 = class MonthPicker extends CalendarPart {
116
120
  this._modifyTimestampBy(1);
117
121
  }
118
122
  else if (isUp(e)) {
119
- this._modifyTimestampBy(-ROW_SIZE);
123
+ this._modifyTimestampBy(-this.rowSize);
120
124
  }
121
125
  else if (isDown(e)) {
122
- this._modifyTimestampBy(ROW_SIZE);
126
+ this._modifyTimestampBy(this.rowSize);
123
127
  }
124
128
  else if (isPageUp(e)) {
125
129
  this._modifyTimestampBy(-PAGE_SIZE);
@@ -134,7 +138,7 @@ let MonthPicker = MonthPicker_1 = class MonthPicker extends CalendarPart {
134
138
  this._setTimestamp(parseInt(this._months[0][0].timestamp)); // first month of first row
135
139
  }
136
140
  else if (isEndCtrl(e)) {
137
- this._setTimestamp(parseInt(this._months[PAGE_SIZE / ROW_SIZE - 1][ROW_SIZE - 1].timestamp)); // last month of last row
141
+ this._setTimestamp(parseInt(this._months[PAGE_SIZE / this.rowSize - 1][this.rowSize - 1].timestamp)); // last month of last row
138
142
  }
139
143
  else {
140
144
  preventDefault = false;
@@ -147,7 +151,7 @@ let MonthPicker = MonthPicker_1 = class MonthPicker extends CalendarPart {
147
151
  this._months.forEach(row => {
148
152
  const indexInRow = row.findIndex(item => CalendarDate.fromTimestamp(parseInt(item.timestamp) * 1000).getMonth() === this._calendarDate.getMonth());
149
153
  if (indexInRow !== -1) { // The current month is on this row
150
- const index = homePressed ? 0 : ROW_SIZE - 1; // select the first (if Home) or last (if End) month on the row
154
+ const index = homePressed ? 0 : this.rowSize - 1; // select the first (if Home) or last (if End) month on the row
151
155
  this._setTimestamp(parseInt(row[index].timestamp));
152
156
  }
153
157
  });