@openui5/sap.ui.webc.main 1.115.1 → 1.116.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (593) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +3 -3
  4. package/src/sap/ui/webc/main/.library +1 -1
  5. package/src/sap/ui/webc/main/Avatar.js +23 -3
  6. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  7. package/src/sap/ui/webc/main/Badge.js +2 -2
  8. package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
  9. package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
  10. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  11. package/src/sap/ui/webc/main/Button.js +4 -3
  12. package/src/sap/ui/webc/main/Calendar.js +6 -2
  13. package/src/sap/ui/webc/main/CalendarDate.js +2 -2
  14. package/src/sap/ui/webc/main/Card.js +3 -7
  15. package/src/sap/ui/webc/main/CardHeader.js +7 -2
  16. package/src/sap/ui/webc/main/Carousel.js +49 -4
  17. package/src/sap/ui/webc/main/CheckBox.js +14 -4
  18. package/src/sap/ui/webc/main/ColorPalette.js +1 -1
  19. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  20. package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
  21. package/src/sap/ui/webc/main/ColorPicker.js +1 -1
  22. package/src/sap/ui/webc/main/ComboBox.js +11 -8
  23. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
  24. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  25. package/src/sap/ui/webc/main/CustomListItem.js +19 -3
  26. package/src/sap/ui/webc/main/DatePicker.js +7 -2
  27. package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
  28. package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
  29. package/src/sap/ui/webc/main/Dialog.js +37 -6
  30. package/src/sap/ui/webc/main/FileUploader.js +1 -1
  31. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  32. package/src/sap/ui/webc/main/Icon.js +42 -2
  33. package/src/sap/ui/webc/main/Input.js +2 -2
  34. package/src/sap/ui/webc/main/Label.js +7 -3
  35. package/src/sap/ui/webc/main/Link.js +12 -2
  36. package/src/sap/ui/webc/main/List.js +2 -1
  37. package/src/sap/ui/webc/main/Menu.js +87 -3
  38. package/src/sap/ui/webc/main/MenuItem.js +34 -1
  39. package/src/sap/ui/webc/main/MessageStrip.js +1 -1
  40. package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
  41. package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
  42. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  43. package/src/sap/ui/webc/main/MultiInput.js +4 -4
  44. package/src/sap/ui/webc/main/Option.js +1 -1
  45. package/src/sap/ui/webc/main/Panel.js +3 -3
  46. package/src/sap/ui/webc/main/Popover.js +18 -4
  47. package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
  48. package/src/sap/ui/webc/main/RadioButton.js +17 -1
  49. package/src/sap/ui/webc/main/RangeSlider.js +12 -2
  50. package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
  51. package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
  52. package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
  53. package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
  54. package/src/sap/ui/webc/main/Select.js +20 -4
  55. package/src/sap/ui/webc/main/Slider.js +2 -2
  56. package/src/sap/ui/webc/main/SplitButton.js +7 -7
  57. package/src/sap/ui/webc/main/StandardListItem.js +31 -4
  58. package/src/sap/ui/webc/main/StepInput.js +2 -2
  59. package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
  60. package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
  61. package/src/sap/ui/webc/main/Switch.js +2 -2
  62. package/src/sap/ui/webc/main/Tab.js +3 -3
  63. package/src/sap/ui/webc/main/TabContainer.js +40 -4
  64. package/src/sap/ui/webc/main/TabSeparator.js +10 -2
  65. package/src/sap/ui/webc/main/Table.js +2 -2
  66. package/src/sap/ui/webc/main/TableCell.js +1 -1
  67. package/src/sap/ui/webc/main/TableColumn.js +21 -1
  68. package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
  69. package/src/sap/ui/webc/main/TableRow.js +9 -1
  70. package/src/sap/ui/webc/main/TextArea.js +2 -3
  71. package/src/sap/ui/webc/main/TimePicker.js +31 -3
  72. package/src/sap/ui/webc/main/Title.js +1 -1
  73. package/src/sap/ui/webc/main/Toast.js +1 -1
  74. package/src/sap/ui/webc/main/ToggleButton.js +4 -3
  75. package/src/sap/ui/webc/main/Token.js +6 -4
  76. package/src/sap/ui/webc/main/Tree.js +31 -2
  77. package/src/sap/ui/webc/main/TreeItem.js +63 -10
  78. package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
  79. package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
  80. package/src/sap/ui/webc/main/library.js +348 -70
  81. package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
  82. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
  83. package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
  84. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
  85. package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
  86. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
  87. package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
  88. package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
  89. package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
  90. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
  91. package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
  92. package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
  93. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
  94. package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
  95. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
  96. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
  97. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
  98. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
  99. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
  100. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
  101. package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
  102. package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
  103. package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
  104. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
  105. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
  106. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
  107. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
  108. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
  109. package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
  110. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
  111. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
  112. package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
  113. package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
  114. package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
  115. package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
  116. package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
  117. package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
  118. package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
  119. package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
  120. package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
  121. package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
  122. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
  123. package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
  124. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
  125. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
  126. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
  127. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
  128. package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
  129. package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
  130. package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
  131. package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
  132. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
  133. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
  134. package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
  135. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
  136. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
  137. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
  138. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
  139. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
  140. package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
  141. package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
  142. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
  143. package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
  144. package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
  145. package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
  146. package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
  147. package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
  148. package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
  149. package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
  150. package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
  151. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
  152. package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
  153. package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
  154. package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
  155. package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
  156. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
  157. package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
  158. package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
  159. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
  160. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
  161. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
  162. package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
  163. package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
  164. package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
  165. package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
  166. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
  167. package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
  168. package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
  169. package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
  170. package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
  171. package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
  172. package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
  173. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
  174. package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
  175. package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
  176. package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
  177. package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
  178. package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
  179. package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
  180. package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
  181. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
  182. package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
  183. package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
  184. package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
  185. package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
  186. package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
  187. package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
  188. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
  189. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
  190. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
  191. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
  192. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
  193. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
  194. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
  195. package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
  196. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
  197. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
  198. package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
  199. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
  200. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
  201. package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
  202. package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
  203. package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
  204. package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
  205. package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
  206. package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
  207. package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
  208. package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
  209. package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
  210. package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
  211. package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
  212. package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
  213. package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
  214. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
  215. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
  216. package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
  217. package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
  218. package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
  219. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
  220. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
  221. package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
  222. package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
  223. package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
  224. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
  225. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
  226. package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
  227. package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
  228. package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
  229. package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
  230. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
  231. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
  232. package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
  233. package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
  234. package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
  235. package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
  236. package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
  237. package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
  238. package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
  239. package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
  240. package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
  241. package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
  242. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
  243. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
  244. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
  245. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
  246. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
  247. package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
  248. package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
  249. package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
  250. package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
  251. package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
  252. package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
  253. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
  254. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
  255. package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
  256. package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
  257. package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
  258. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
  259. package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
  260. package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
  261. package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
  262. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
  263. package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
  264. package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
  265. package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
  266. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
  267. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  268. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  269. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  270. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  271. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  272. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  273. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
  274. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  275. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  276. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  277. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  278. package/src/sap/ui/webc/main/thirdparty/custom-elements.json.js +1 -0
  279. package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
  280. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
  281. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
  282. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
  283. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
  284. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
  285. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
  286. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
  287. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
  288. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
  289. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
  290. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
  291. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
  292. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
  293. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
  294. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
  295. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
  296. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
  297. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
  298. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
  299. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
  300. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
  301. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
  302. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
  303. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
  304. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
  305. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
  306. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
  307. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
  308. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
  309. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
  310. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
  311. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
  312. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
  313. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
  314. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
  315. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
  316. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
  317. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
  318. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
  319. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
  320. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
  321. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
  322. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
  323. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
  324. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
  325. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
  326. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
  327. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
  328. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
  329. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
  330. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
  331. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
  332. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
  333. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
  334. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
  335. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
  336. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
  337. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
  338. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
  339. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
  340. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
  341. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
  342. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
  343. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
  344. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
  345. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
  346. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
  347. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
  348. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
  349. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
  350. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
  351. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
  352. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
  353. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
  354. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
  355. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
  356. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
  357. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
  358. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
  359. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
  360. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
  361. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
  362. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
  363. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
  364. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
  365. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
  366. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
  367. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
  368. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
  369. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
  370. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
  371. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
  372. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
  373. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
  374. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
  375. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
  376. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
  377. package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
  378. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
  379. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
  380. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
  381. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
  382. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
  383. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
  384. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
  385. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
  386. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
  387. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
  388. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
  389. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
  390. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
  391. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
  392. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
  393. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
  394. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
  395. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
  396. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
  397. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
  398. package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
  399. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
  400. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
  401. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
  402. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
  403. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
  404. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
  405. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
  406. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
  407. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
  408. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
  409. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
  410. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
  411. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
  412. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
  413. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
  414. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
  415. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
  416. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
  417. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
  418. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
  419. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
  420. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
  421. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
  422. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
  423. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
  424. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
  425. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
  426. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
  427. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
  428. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
  429. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
  430. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
  431. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
  432. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
  433. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
  434. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
  435. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
  436. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
  437. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
  438. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
  439. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
  440. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
  441. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
  442. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
  443. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
  444. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
  445. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
  446. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
  447. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
  448. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
  449. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
  450. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
  451. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
  452. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
  453. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
  454. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
  455. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
  456. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
  457. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
  458. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
  459. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
  460. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
  461. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
  462. package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
  463. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
  464. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
  465. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
  466. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
  467. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
  468. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
  469. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
  470. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
  471. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
  472. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
  473. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
  474. package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
  475. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
  476. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
  477. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
  478. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
  479. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
  480. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
  481. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
  482. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
  483. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
  484. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
  485. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
  486. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
  487. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
  488. package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
  489. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
  490. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
  491. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
  492. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
  493. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
  494. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
  495. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
  496. package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
  497. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
  498. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
  499. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
  500. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
  501. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
  502. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
  503. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
  504. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
  505. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
  506. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
  507. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
  508. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
  509. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
  510. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
  511. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
  512. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
  513. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
  514. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
  515. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
  516. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
  517. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
  518. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
  519. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
  520. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
  521. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
  522. package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
  523. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
  524. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
  525. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
  526. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
  527. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
  528. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
  529. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
  530. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
  531. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
  532. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
  533. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
  534. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
  535. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
  536. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
  537. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
  538. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
  539. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
  540. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
  541. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
  542. package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
  543. package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
  544. package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
  545. package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
  546. package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
  547. package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
  548. package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
  549. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
  550. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
  551. package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
  552. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
  553. package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
  554. package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
  555. package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
  556. package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
  557. package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
  558. package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
  559. package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
  560. package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
  561. package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
  562. package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
  563. package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
  564. package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
  565. package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
  566. package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
  567. package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
  568. package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
  569. package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
  570. package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
  571. package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
  572. package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
  573. package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
  574. package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
  575. package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
  576. package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
  577. package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
  578. package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
  579. package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
  580. package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
  581. package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
  582. package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
  583. package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
  584. package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
  585. package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
  586. package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
  587. package/ui5.yaml +15 -2
  588. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
  589. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
  590. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
  591. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
  592. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
  593. package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,4 +1,4 @@
1
- sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/util/Caret", "sap/ui/webc/common/thirdparty/base/util/getActiveElement", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/not-editable", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "./types/InputType", "./Popover", "./Icon", "./generated/templates/InputTemplate.lit", "./generated/templates/InputPopoverTemplate.lit", "./Filters", "./generated/i18n/i18n-defaults", "./generated/themes/Input.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _Device, _ValueState, _FeaturesRegistry, _Keys, _Integer, _i18nBundle, _AriaLabelHelper, _Caret, _getActiveElement, _decline, _notEditable, _error, _alert, _sysEnter, _information, _InputType, _Popover, _Icon, _InputTemplate, _InputPopoverTemplate, Filters, _i18nDefaults, _Input, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions) {
1
+ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/util/Caret", "sap/ui/webc/common/thirdparty/base/util/getActiveElement", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/not-editable", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "./types/InputType", "./Popover", "./Icon", "./generated/templates/InputTemplate.lit", "./generated/templates/InputPopoverTemplate.lit", "./Filters", "./generated/i18n/i18n-defaults", "./generated/themes/Input.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css"], function (_exports, _UI5Element, _property, _customElement, _slot, _event, _LitRenderer, _ResizeHandler, _Device, _ValueState, _FeaturesRegistry, _Keys, _Integer, _i18nBundle, _AriaLabelHelper, _Caret, _getActiveElement, _decline, _notEditable, _error, _alert, _sysEnter, _information, _InputType, _Popover, _Icon, _InputTemplate, _InputPopoverTemplate, _Filters, _i18nDefaults, _Input, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
@@ -6,6 +6,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
6
6
  });
7
7
  _exports.default = void 0;
8
8
  _UI5Element = _interopRequireDefault(_UI5Element);
9
+ _property = _interopRequireDefault(_property);
10
+ _customElement = _interopRequireDefault(_customElement);
11
+ _slot = _interopRequireDefault(_slot);
12
+ _event = _interopRequireDefault(_event);
9
13
  _LitRenderer = _interopRequireDefault(_LitRenderer);
10
14
  _ResizeHandler = _interopRequireDefault(_ResizeHandler);
11
15
  _ValueState = _interopRequireDefault(_ValueState);
@@ -16,438 +20,32 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
16
20
  _Icon = _interopRequireDefault(_Icon);
17
21
  _InputTemplate = _interopRequireDefault(_InputTemplate);
18
22
  _InputPopoverTemplate = _interopRequireDefault(_InputPopoverTemplate);
19
- Filters = _interopRequireWildcard(Filters);
20
23
  _Input = _interopRequireDefault(_Input);
21
24
  _ResponsivePopoverCommon = _interopRequireDefault(_ResponsivePopoverCommon);
22
25
  _ValueStateMessage = _interopRequireDefault(_ValueStateMessage);
23
26
  _Suggestions = _interopRequireDefault(_Suggestions);
24
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
27
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
27
- // Templates
28
-
29
- // Styles
30
-
31
- const rgxFloat = new RegExp(/(\+|-)?\d+(\.|,)\d+/);
32
-
33
- /**
34
- * @public
35
- */
36
- const metadata = {
37
- tag: "ui5-input",
38
- languageAware: true,
39
- managedSlots: true,
40
- slots: /** @lends sap.ui.webcomponents.main.Input.prototype */{
41
- /**
42
- * Defines the icon to be displayed in the component.
43
- *
44
- * @type {sap.ui.webcomponents.main.IIcon[]}
45
- * @slot
46
- * @public
47
- */
48
- icon: {
49
- type: HTMLElement
50
- },
51
- /**
52
- * Defines the suggestion items.
53
- * <br><br>
54
- * Example:
55
- * <br><br>
56
- * &lt;ui5-input show-suggestions><br>
57
- * &nbsp;&nbsp;&nbsp;&nbsp;&lt;ui5-suggestion-item text="Item #1">&lt;/ui5-suggestion-item><br>
58
- * &nbsp;&nbsp;&nbsp;&nbsp;&lt;ui5-suggestion-item text="Item #2">&lt;/ui5-suggestion-item><br>
59
- * &lt;/ui5-input>
60
- * <br>
61
- * <ui5-input show-suggestions>
62
- * <ui5-suggestion-group-item text="Group #1"></ui5-suggestion-group-item>
63
- * <ui5-suggestion-item text="Item #1"></ui5-suggestion-item>
64
- * <ui5-suggestion-item text="Item #2"></ui5-suggestion-item>
65
- * <ui5-suggestion-group-item text="Group #2"></ui5-suggestion-group-item>
66
- * <ui5-suggestion-item text="Item #3"></ui5-suggestion-item>
67
- * <ui5-suggestion-item text="Item #4"></ui5-suggestion-item>
68
- * </ui5-input>
69
- * <br><br>
70
- * <b>Note:</b> The suggestions would be displayed only if the <code>showSuggestions</code>
71
- * property is set to <code>true</code>.
72
- * <br><br>
73
- * <b>Note:</b> The <code>&lt;ui5-suggestion-item&gt;</code> and <code>&lt;ui5-suggestion-group-item&gt;</code> are recommended to be used as suggestion items.
74
- * <br><br>
75
- * <b>Note:</b> Importing the Input Suggestions Support feature:
76
- * <br>
77
- * <code>import "@ui5/webcomponents/dist/features/InputSuggestions.js";</code>
78
- * <br>
79
- * automatically imports the <code>&lt;ui5-suggestion-item></code> and <code>&lt;ui5-suggestion-group-item></code> for your convenience.
80
- *
81
- * @type {sap.ui.webcomponents.main.IInputSuggestionItem[]}
82
- * @slot suggestionItems
83
- * @public
84
- */
85
- "default": {
86
- propertyName: "suggestionItems",
87
- type: HTMLElement
88
- },
89
- /**
90
- * The slot is used for native <code>input</code> HTML element to enable form submit,
91
- * when <code>name</code> property is set.
92
- * @type {HTMLElement[]}
93
- * @private
94
- */
95
- formSupport: {
96
- type: HTMLElement
97
- },
98
- /**
99
- * Defines the value state message that will be displayed as pop up under the component.
100
- * <br><br>
101
- *
102
- * <b>Note:</b> If not specified, a default text (in the respective language) will be displayed.
103
- * <br><br>
104
- * <b>Note:</b> The <code>valueStateMessage</code> would be displayed,
105
- * when the component is in <code>Information</code>, <code>Warning</code> or <code>Error</code> value state.
106
- * <br><br>
107
- * <b>Note:</b> If the component has <code>suggestionItems</code>,
108
- * the <code>valueStateMessage</code> would be displayed as part of the same popover, if used on desktop, or dialog - on phone.
109
- * @type {HTMLElement[]}
110
- * @since 1.0.0-rc.6
111
- * @slot
112
- * @public
113
- */
114
- valueStateMessage: {
115
- type: HTMLElement
116
- }
117
- },
118
- properties: /** @lends sap.ui.webcomponents.main.Input.prototype */{
119
- /**
120
- * Defines whether the component is in disabled state.
121
- * <br><br>
122
- * <b>Note:</b> A disabled component is completely noninteractive.
123
- *
124
- * @type {boolean}
125
- * @defaultvalue false
126
- * @public
127
- */
128
- disabled: {
129
- type: Boolean
130
- },
131
- /**
132
- * Defines if characters within the suggestions are to be highlighted
133
- * in case the input value matches parts of the suggestions text.
134
- * <br><br>
135
- * <b>Note:</b> takes effect when <code>showSuggestions</code> is set to <code>true</code>
136
- *
137
- * @type {boolean}
138
- * @defaultvalue false
139
- * @private
140
- * @sicne 1.0.0-rc.8
141
- */
142
- highlight: {
143
- type: Boolean
144
- },
145
- /**
146
- * Defines a short hint intended to aid the user with data entry when the
147
- * component has no value.
148
- * @type {string}
149
- * @defaultvalue ""
150
- * @public
151
- */
152
- placeholder: {
153
- type: String
154
- },
155
- /**
156
- * Defines whether the component is read-only.
157
- * <br><br>
158
- * <b>Note:</b> A read-only component is not editable,
159
- * but still provides visual feedback upon user interaction.
160
- *
161
- * @type {boolean}
162
- * @defaultvalue false
163
- * @public
164
- */
165
- readonly: {
166
- type: Boolean
167
- },
168
- /**
169
- * Defines whether the component is required.
170
- *
171
- * @type {boolean}
172
- * @defaultvalue false
173
- * @public
174
- * @since 1.0.0-rc.3
175
- */
176
- required: {
177
- type: Boolean
178
- },
179
- /**
180
- * Defines whether the value will be autcompleted to match an item
181
- *
182
- * @type {boolean}
183
- * @defaultvalue false
184
- * @public
185
- * @since 1.4.0
186
- */
187
- noTypeahead: {
188
- type: Boolean
189
- },
190
- /**
191
- * Defines the HTML type of the component.
192
- * Available options are: <code>Text</code>, <code>Email</code>,
193
- * <code>Number</code>, <code>Password</code>, <code>Tel</code>, and <code>URL</code>.
194
- * <br><br>
195
- * <b>Notes:</b>
196
- * <ul>
197
- * <li>The particular effect of this property differs depending on the browser
198
- * and the current language settings, especially for type <code>Number</code>.</li>
199
- * <li>The property is mostly intended to be used with touch devices
200
- * that use different soft keyboard layouts depending on the given input type.</li>
201
- * </ul>
202
- *
203
- * @type {InputType}
204
- * @defaultvalue "Text"
205
- * @public
206
- */
207
- type: {
208
- type: _InputType.default,
209
- defaultValue: _InputType.default.Text
210
- },
211
- /**
212
- * Defines the value of the component.
213
- * <br><br>
214
- * <b>Note:</b> The property is updated upon typing.
215
- *
216
- * @type {string}
217
- * @defaultvalue ""
218
- * @public
219
- */
220
- value: {
221
- type: String
222
- },
223
- /**
224
- * Defines the value state of the component.
225
- * <br><br>
226
- * Available options are:
227
- * <ul>
228
- * <li><code>None</code></li>
229
- * <li><code>Error</code></li>
230
- * <li><code>Warning</code></li>
231
- * <li><code>Success</code></li>
232
- * <li><code>Information</code></li>
233
- * </ul>
234
- *
235
- * @type {ValueState}
236
- * @defaultvalue "None"
237
- * @public
238
- */
239
- valueState: {
240
- type: _ValueState.default,
241
- defaultValue: _ValueState.default.None
242
- },
243
- /**
244
- * Determines the name with which the component will be submitted in an HTML form.
245
- *
246
- * <br><br>
247
- * <b>Important:</b> For the <code>name</code> property to have effect, you must add the following import to your project:
248
- * <code>import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";</code>
249
- *
250
- * <br><br>
251
- * <b>Note:</b> When set, a native <code>input</code> HTML element
252
- * will be created inside the component so that it can be submitted as
253
- * part of an HTML form. Do not use this property unless you need to submit a form.
254
- *
255
- * @type {string}
256
- * @defaultvalue ""
257
- * @public
258
- */
259
- name: {
260
- type: String
261
- },
262
- /**
263
- * Defines whether the component should show suggestions, if such are present.
264
- * <br><br>
265
- * <b>Note:</b> You need to import the <code>InputSuggestions</code> module
266
- * from <code>"@ui5/webcomponents/dist/features/InputSuggestions.js"</code> to enable this functionality.
267
- * @type {boolean}
268
- * @defaultvalue false
269
- * @public
270
- */
271
- showSuggestions: {
272
- type: Boolean
273
- },
274
- /**
275
- * Sets the maximum number of characters available in the input field.
276
- * <br><br>
277
- * <b>Note:</b> 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.
278
- * @type {Integer}
279
- * @since 1.0.0-rc.5
280
- * @public
281
- */
282
- maxlength: {
283
- type: _Integer.default
284
- },
285
- /**
286
- * Defines the accessible aria name of the component.
287
- *
288
- * @type {string}
289
- * @public
290
- * @since 1.0.0-rc.15
291
- */
292
- accessibleName: {
293
- type: String
294
- },
295
- /**
296
- * Receives id(or many ids) of the elements that label the input.
297
- *
298
- * @type {string}
299
- * @defaultvalue ""
300
- * @public
301
- * @since 1.0.0-rc.15
302
- */
303
- accessibleNameRef: {
304
- type: String,
305
- defaultValue: ""
306
- },
307
- /**
308
- * Defines whether the clear icon of the input will be shown.
309
- *
310
- * @type {boolean}
311
- * @defaultvalue false
312
- * @public
313
- * @since 1.2.0
314
- */
315
- showClearIcon: {
316
- type: Boolean
317
- },
318
- /**
319
- * Defines whether the clear icon is visible.
320
- *
321
- * @type {boolean}
322
- * @defaultvalue false
323
- * @private
324
- * @since 1.2.0
325
- */
326
- effectiveShowClearIcon: {
327
- type: Boolean
328
- },
329
- /**
330
- * @private
331
- */
332
- focused: {
333
- type: Boolean
334
- },
335
- openOnMobile: {
336
- type: Boolean
337
- },
338
- open: {
339
- type: Boolean
340
- },
341
- /**
342
- * Determines whether to manually show the suggestions popover
343
- * @private
344
- */
345
- _forceOpen: {
346
- type: Boolean
347
- },
348
- /**
349
- * Indicates whether the visual focus is on the value state header
350
- * @private
351
- */
352
- _isValueStateFocused: {
353
- type: Boolean
354
- },
355
- _input: {
356
- type: Object
357
- },
358
- _inputAccInfo: {
359
- type: Object
360
- },
361
- _nativeInputAttributes: {
362
- type: Object
363
- },
364
- _inputWidth: {
365
- type: _Integer.default
366
- },
367
- _listWidth: {
368
- type: _Integer.default
369
- },
370
- _isPopoverOpen: {
371
- type: Boolean,
372
- noAttribute: true
373
- },
374
- _inputIconFocused: {
375
- type: Boolean,
376
- noAttribute: true
377
- }
378
- },
379
- events: /** @lends sap.ui.webcomponents.main.Input.prototype */{
380
- /**
381
- * Fired when the input operation has finished by pressing Enter or on focusout.
382
- *
383
- * @event
384
- * @public
385
- */
386
- change: {},
387
- /**
388
- * Fired when the value of the component changes at each keystroke,
389
- * and when a suggestion item has been selected.
390
- *
391
- * @event
392
- * @public
393
- */
394
- input: {},
395
- /**
396
- * Fired when a suggestion item, that is displayed in the suggestion popup, is selected.
397
- *
398
- * @event sap.ui.webcomponents.main.Input#suggestion-item-select
399
- * @param {HTMLElement} item The selected item.
400
- * @public
401
- */
402
- "suggestion-item-select": {
403
- detail: {
404
- item: {
405
- type: HTMLElement
406
- }
407
- }
408
- },
409
- /**
410
- * Fired when the user navigates to a suggestion item via the ARROW keys,
411
- * as a preview, before the final selection.
412
- *
413
- * @event sap.ui.webcomponents.main.Input#suggestion-item-preview
414
- * @param {HTMLElement} item The previewed suggestion item.
415
- * @param {HTMLElement} targetRef The DOM ref of the suggestion item.
416
- * @public
417
- * @since 1.0.0-rc.8
418
- */
419
- "suggestion-item-preview": {
420
- detail: {
421
- item: {
422
- type: HTMLElement
423
- },
424
- targetRef: {
425
- type: HTMLElement
426
- }
427
- }
428
- },
429
- /**
430
- * Fired when the user scrolls the suggestion popover.
431
- *
432
- * @event sap.ui.webcomponents.main.Input#suggestion-scroll
433
- * @param {Integer} scrollTop The current scroll position.
434
- * @param {HTMLElement} scrollContainer The scroll container.
435
- * @protected
436
- * @since 1.0.0-rc.8
437
- */
438
- "suggestion-scroll": {
439
- detail: {
440
- scrollTop: {
441
- type: _Integer.default
442
- },
443
- scrollContainer: {
444
- type: HTMLElement
445
- }
446
- }
447
- }
448
- }
28
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
29
+ var c = arguments.length,
30
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
31
+ d;
32
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
33
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
449
34
  };
450
-
35
+ var Input_1;
36
+ // all sementic events
37
+ var INPUT_EVENTS;
38
+ (function (INPUT_EVENTS) {
39
+ INPUT_EVENTS["CHANGE"] = "change";
40
+ INPUT_EVENTS["INPUT"] = "input";
41
+ INPUT_EVENTS["SUGGESTION_ITEM_SELECT"] = "suggestion-item-select";
42
+ })(INPUT_EVENTS || (INPUT_EVENTS = {}));
43
+ // all user interactions
44
+ var INPUT_ACTIONS;
45
+ (function (INPUT_ACTIONS) {
46
+ INPUT_ACTIONS["ACTION_ENTER"] = "enter";
47
+ INPUT_ACTIONS["ACTION_USER_INPUT"] = "input";
48
+ })(INPUT_ACTIONS || (INPUT_ACTIONS = {}));
451
49
  /**
452
50
  * @class
453
51
  * <h3 class="comment-api-title">Overview</h3>
@@ -491,102 +89,65 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
491
89
  *
492
90
  * @constructor
493
91
  * @author SAP SE
494
- * @alias sap.ui.webcomponents.main.Input
495
- * @extends sap.ui.webcomponents.base.UI5Element
92
+ * @alias sap.ui.webc.main.Input
93
+ * @extends sap.ui.webc.base.UI5Element
496
94
  * @tagname ui5-input
497
- * @appenddocs SuggestionItem SuggestionGroupItem
498
- * @implements sap.ui.webcomponents.main.IInput
95
+ * @appenddocs sap.ui.webc.main.SuggestionItem sap.ui.webc.main.SuggestionGroupItem
96
+ * @implements sap.ui.webc.main.IInput
499
97
  * @public
500
98
  */
501
- class Input extends _UI5Element.default {
502
- static get metadata() {
503
- return metadata;
504
- }
505
- static get render() {
506
- return _LitRenderer.default;
507
- }
508
- static get template() {
509
- return _InputTemplate.default;
510
- }
511
- static get staticAreaTemplate() {
512
- return _InputPopoverTemplate.default;
513
- }
514
- static get styles() {
515
- return _Input.default;
516
- }
517
- static get staticAreaStyles() {
518
- return [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _Suggestions.default];
519
- }
99
+ let Input = Input_1 = class Input extends _UI5Element.default {
520
100
  constructor() {
521
101
  super();
522
102
  // Indicates if there is selected suggestionItem.
523
103
  this.hasSuggestionItemSelected = false;
524
-
525
104
  // Represents the value before user moves selection from suggestion item to another
526
105
  // and its value is updated after each move.
527
106
  // Note: Used to register and fire "input" event upon [SPACE] or [ENTER].
528
107
  // Note: The property "value" is updated upon selection move and can`t be used.
529
108
  this.valueBeforeItemSelection = "";
530
-
531
109
  // Represents the value before user moves selection between the suggestion items
532
110
  // and its value remains the same when the user navigates up or down the list.
533
111
  // Note: Used to cancel selection upon [ESC].
534
112
  this.valueBeforeItemPreview = "";
535
-
536
113
  // Indicates if the user selection has been canceled with [ESC].
537
114
  this.suggestionSelectionCanceled = false;
538
-
539
- // Indicates if the change event has already been fired
540
- this._changeFiredValue = null;
541
-
542
115
  // tracks the value between focus in and focus out to detect that change event should be fired.
543
- this.previousValue = undefined;
544
-
116
+ this.previousValue = "";
545
117
  // Indicates, if the component is rendering for first time.
546
118
  this.firstRendering = true;
547
-
548
- // The value that should be highlited.
549
- this.highlightValue = "";
550
-
119
+ // The typed in value.
120
+ this.typedInValue = "";
551
121
  // The last value confirmed by the user with "ENTER"
552
122
  this.lastConfirmedValue = "";
553
-
554
- // The value that the user is typed in the input
555
- this.valueBeforeAutoComplete = "";
556
-
557
- // Indicates, if the user pressed the BACKSPACE key.
558
- this._backspaceKeyDown = false;
559
-
560
123
  // Indicates, if the user is typing. Gets reset once popup is closed
561
124
  this.isTyping = false;
562
-
563
- // all sementic events
564
- this.EVENT_CHANGE = "change";
565
- this.EVENT_INPUT = "input";
566
- this.EVENT_SUGGESTION_ITEM_SELECT = "suggestion-item-select";
567
-
568
- // all user interactions
569
- this.ACTION_ENTER = "enter";
570
- this.ACTION_USER_INPUT = "input";
571
-
572
125
  // Suggestions array initialization
573
126
  this.suggestionsTexts = [];
574
127
  this._handleResizeBound = this._handleResize.bind(this);
128
+ this._keepInnerValue = false;
129
+ this._focusedAfterClear = false;
575
130
  }
576
131
  onEnterDOM() {
577
132
  _ResizeHandler.default.register(this, this._handleResizeBound);
133
+ (0, _AriaLabelHelper.registerUI5Element)(this, this._updateAssociatedLabelsTexts.bind(this));
578
134
  }
579
135
  onExitDOM() {
580
136
  _ResizeHandler.default.deregister(this, this._handleResizeBound);
137
+ (0, _AriaLabelHelper.deregisterUI5Element)(this);
581
138
  }
582
139
  onBeforeRendering() {
140
+ if (!this._keepInnerValue) {
141
+ this._innerValue = this.value;
142
+ }
583
143
  if (this.showSuggestions) {
584
144
  this.enableSuggestions();
585
- this.suggestionsTexts = this.Suggestions.defaultSlotProperties(this.highlightValue);
145
+ this.suggestionsTexts = this.Suggestions.defaultSlotProperties(this.typedInValue);
586
146
  }
587
147
  this.effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled;
148
+ this.style.setProperty("--_ui5-input-icons-count", `${this.iconsCount}`);
588
149
  this.FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
589
- const hasItems = this.suggestionItems.length;
150
+ const hasItems = !!this.suggestionItems.length;
590
151
  const hasValue = !!this.value;
591
152
  const isFocused = this.shadowRoot.querySelector("input") === (0, _getActiveElement.default)();
592
153
  if (this._isPhone) {
@@ -608,18 +169,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
608
169
  return;
609
170
  }
610
171
  const autoCompletedChars = innerInput.selectionEnd - innerInput.selectionStart;
611
-
612
172
  // Typehead causes issues on Android devices, so we disable it for now
613
173
  // If there is already a selection the autocomplete has already been performed
614
174
  if (this._shouldAutocomplete && !(0, _Device.isAndroid)() && !autoCompletedChars && !this._isKeyNavigation) {
615
175
  const item = this._getFirstMatchingItem(value);
616
-
617
- // Keep the original typed in text intact
618
- this.valueBeforeAutoComplete += value.slice(this.valueBeforeAutoComplete.length, value.length);
619
- this._handleTypeAhead(item, value);
176
+ if (item) {
177
+ this._handleTypeAhead(item);
178
+ }
620
179
  }
621
180
  }
622
181
  async onAfterRendering() {
182
+ const innerInput = this.getInputDOMRefSync();
623
183
  if (this.Suggestions && this.showSuggestions) {
624
184
  this.Suggestions.toggle(this.open, {
625
185
  preventFocusRestore: true
@@ -631,43 +191,50 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
631
191
  } else {
632
192
  this.closePopover();
633
193
  }
194
+ if (this._performTextSelection) {
195
+ // this is required to syncronize lit-html input's value and user's input
196
+ // lit-html does not sync its stored value for the value property when the user is typing
197
+ if (innerInput.value !== this._innerValue) {
198
+ innerInput.value = this._innerValue;
199
+ }
200
+ if (this.typedInValue.length && this.value.length) {
201
+ innerInput.setSelectionRange(this.typedInValue.length, this.value.length);
202
+ }
203
+ }
204
+ this._performTextSelection = false;
634
205
  }
635
- _onkeydown(event) {
206
+ _onkeydown(e) {
636
207
  this._isKeyNavigation = true;
637
- this._shouldAutocomplete = !this.noTypeahead && !((0, _Keys.isBackSpace)(event) || (0, _Keys.isDelete)(event) || (0, _Keys.isEscape)(event));
638
- if ((0, _Keys.isUp)(event)) {
639
- return this._handleUp(event);
208
+ this._shouldAutocomplete = !this.noTypeahead && !((0, _Keys.isBackSpace)(e) || (0, _Keys.isDelete)(e) || (0, _Keys.isEscape)(e));
209
+ if ((0, _Keys.isUp)(e)) {
210
+ return this._handleUp(e);
640
211
  }
641
- if ((0, _Keys.isDown)(event)) {
642
- return this._handleDown(event);
212
+ if ((0, _Keys.isDown)(e)) {
213
+ return this._handleDown(e);
643
214
  }
644
- if ((0, _Keys.isSpace)(event)) {
645
- return this._handleSpace(event);
215
+ if ((0, _Keys.isSpace)(e)) {
216
+ return this._handleSpace(e);
646
217
  }
647
- if ((0, _Keys.isTabNext)(event)) {
648
- return this._handleTab(event);
218
+ if ((0, _Keys.isTabNext)(e)) {
219
+ return this._handleTab();
649
220
  }
650
- if ((0, _Keys.isEnter)(event)) {
651
- return this._handleEnter(event);
221
+ if ((0, _Keys.isEnter)(e)) {
222
+ return this._handleEnter(e);
652
223
  }
653
- if ((0, _Keys.isPageUp)(event)) {
654
- return this._handlePageUp(event);
224
+ if ((0, _Keys.isPageUp)(e)) {
225
+ return this._handlePageUp(e);
655
226
  }
656
- if ((0, _Keys.isPageDown)(event)) {
657
- return this._handlePageDown(event);
227
+ if ((0, _Keys.isPageDown)(e)) {
228
+ return this._handlePageDown(e);
658
229
  }
659
- if ((0, _Keys.isHome)(event)) {
660
- return this._handleHome(event);
230
+ if ((0, _Keys.isHome)(e)) {
231
+ return this._handleHome(e);
661
232
  }
662
- if ((0, _Keys.isEnd)(event)) {
663
- return this._handleEnd(event);
233
+ if ((0, _Keys.isEnd)(e)) {
234
+ return this._handleEnd(e);
664
235
  }
665
- if ((0, _Keys.isEscape)(event)) {
666
- return this._handleEscape(event);
667
- }
668
- if ((0, _Keys.isBackSpace)(event)) {
669
- this._backspaceKeyDown = true;
670
- this._selectedText = window.getSelection().toString();
236
+ if ((0, _Keys.isEscape)(e)) {
237
+ return this._handleEscape();
671
238
  }
672
239
  if (this.showSuggestions) {
673
240
  this._clearPopoverFocusAndSelection();
@@ -675,52 +242,53 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
675
242
  this._keyDown = true;
676
243
  this._isKeyNavigation = false;
677
244
  }
678
- _onkeyup(event) {
245
+ _onkeyup(e) {
246
+ // The native Delete event does not update the value property "on time".
247
+ // So, the (native) change event is always fired with the old value
248
+ if ((0, _Keys.isDelete)(e)) {
249
+ this.value = e.target.value;
250
+ }
679
251
  this._keyDown = false;
680
- this._backspaceKeyDown = false;
681
252
  }
682
-
683
- /* Event handling */
684
- _handleUp(event) {
253
+ _handleUp(e) {
685
254
  if (this.Suggestions && this.Suggestions.isOpened()) {
686
- this.Suggestions.onUp(event);
255
+ this.Suggestions.onUp(e);
687
256
  }
688
257
  }
689
- _handleDown(event) {
258
+ _handleDown(e) {
690
259
  if (this.Suggestions && this.Suggestions.isOpened()) {
691
- this.Suggestions.onDown(event);
260
+ this.Suggestions.onDown(e);
692
261
  }
693
262
  }
694
- _handleSpace(event) {
263
+ _handleSpace(e) {
695
264
  if (this.Suggestions) {
696
- this.Suggestions.onSpace(event);
265
+ this.Suggestions.onSpace(e);
697
266
  }
698
267
  }
699
- _handleTab(event) {
268
+ _handleTab() {
700
269
  if (this.Suggestions && this.previousValue !== this.value) {
701
- this.Suggestions.onTab(event);
270
+ this.Suggestions.onTab();
702
271
  }
703
272
  }
704
- _handleEnter(event) {
705
- const itemPressed = !!(this.Suggestions && this.Suggestions.onEnter(event));
273
+ _handleEnter(e) {
274
+ const itemPressed = !!(this.Suggestions && this.Suggestions.onEnter(e));
706
275
  const innerInput = this.getInputDOMRefSync();
707
276
  // Check for autocompleted item
708
277
  const matchingItem = this.suggestionItems.find(item => {
709
278
  return item.text && item.text === this.value || item.textContent === this.value;
710
279
  });
711
280
  if (matchingItem) {
712
- const itemText = matchingItem.text ? matchingItem.text : matchingItem.textContent;
713
- this.getInputDOMRefSync().setSelectionRange(itemText.length, itemText.length);
281
+ const itemText = matchingItem.text ? matchingItem.text : matchingItem.textContent || "";
282
+ innerInput.setSelectionRange(itemText.length, itemText.length);
714
283
  if (!itemPressed) {
715
284
  this.selectSuggestion(matchingItem, true);
716
285
  this.open = false;
717
286
  }
718
287
  }
719
- if (this._isPhone && !this.suggestionItems.length) {
288
+ if (this._isPhone && !this.suggestionItems.length && !this.isTypeNumber) {
720
289
  innerInput.setSelectionRange(this.value.length, this.value.length);
721
290
  }
722
291
  if (!itemPressed) {
723
- this.fireEventByAction(this.ACTION_ENTER, event);
724
292
  this.lastConfirmedValue = this.value;
725
293
  if (this.FormSupport) {
726
294
  this.FormSupport.triggerFormSubmit(this);
@@ -729,28 +297,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
729
297
  }
730
298
  this.focused = true;
731
299
  }
732
- _handlePageUp(event) {
300
+ _handlePageUp(e) {
733
301
  if (this._isSuggestionsFocused) {
734
- this.Suggestions.onPageUp(event);
302
+ this.Suggestions.onPageUp(e);
735
303
  } else {
736
- event.preventDefault();
304
+ e.preventDefault();
737
305
  }
738
306
  }
739
- _handlePageDown(event) {
307
+ _handlePageDown(e) {
740
308
  if (this._isSuggestionsFocused) {
741
- this.Suggestions.onPageDown(event);
309
+ this.Suggestions.onPageDown(e);
742
310
  } else {
743
- event.preventDefault();
311
+ e.preventDefault();
744
312
  }
745
313
  }
746
- _handleHome(event) {
314
+ _handleHome(e) {
747
315
  if (this._isSuggestionsFocused) {
748
- this.Suggestions.onHome(event);
316
+ this.Suggestions.onHome(e);
749
317
  }
750
318
  }
751
- _handleEnd(event) {
319
+ _handleEnd(e) {
752
320
  if (this._isSuggestionsFocused) {
753
- this.Suggestions.onEnd(event);
321
+ this.Suggestions.onEnd(e);
754
322
  }
755
323
  }
756
324
  _handleEscape() {
@@ -758,14 +326,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
758
326
  const isOpen = hasSuggestions && this.open;
759
327
  const innerInput = this.getInputDOMRefSync();
760
328
  const isAutoCompleted = innerInput.selectionEnd - innerInput.selectionStart > 0;
329
+ this.isTyping = false;
761
330
  if (!isOpen) {
762
331
  this.value = this.lastConfirmedValue ? this.lastConfirmedValue : this.previousValue;
763
332
  return;
764
333
  }
765
- if (hasSuggestions && isOpen && this.Suggestions._isItemOnTarget()) {
334
+ if (isOpen && this.Suggestions._isItemOnTarget()) {
766
335
  // Restore the value.
767
- this.value = this.valueBeforeAutoComplete || this.valueBeforeItemPreview;
768
-
336
+ this.value = this.typedInValue || this.valueBeforeItemPreview;
769
337
  // Mark that the selection has been canceled, so the popover can close
770
338
  // and not reopen, due to receiving focus.
771
339
  this.suggestionSelectionCanceled = true;
@@ -773,42 +341,51 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
773
341
  return;
774
342
  }
775
343
  if (isAutoCompleted) {
776
- this.value = this.valueBeforeAutoComplete;
344
+ this.value = this.typedInValue;
777
345
  }
778
346
  if (this._isValueStateFocused) {
779
347
  this._isValueStateFocused = false;
780
348
  this.focused = true;
781
349
  }
782
350
  }
783
- async _onfocusin(event) {
351
+ async _onfocusin(e) {
784
352
  await this.getInputDOMRef();
785
- this.valueBeforeAutoComplete = "";
786
353
  this.focused = true; // invalidating property
787
- this.previousValue = this.value;
354
+ if (!this._focusedAfterClear) {
355
+ this.previousValue = this.value;
356
+ }
788
357
  this.valueBeforeItemPreview = this.value;
789
- this._inputIconFocused = event.target && event.target === this.querySelector("[ui5-icon]");
358
+ this._inputIconFocused = !!e.target && e.target === this.querySelector("[ui5-icon]");
359
+ this._focusedAfterClear = false;
790
360
  }
791
- _onfocusout(event) {
792
- const focusedOutToSuggestions = this.Suggestions && event.relatedTarget && event.relatedTarget.shadowRoot && event.relatedTarget.shadowRoot.contains(this.Suggestions.responsivePopover);
793
- const focusedOutToValueStateMessage = event.relatedTarget && event.relatedTarget.shadowRoot && event.relatedTarget.shadowRoot.querySelector(".ui5-valuestatemessage-root");
361
+ /**
362
+ * Called on "focusin" of the native input HTML Element.
363
+ * <b>Note:</b> implemented in MultiInput, but used in the Input template.
364
+ */
365
+ innerFocusIn() {}
366
+ _onfocusout(e) {
367
+ const toBeFocused = e.relatedTarget;
368
+ const focusedOutToSuggestions = this.Suggestions && toBeFocused && toBeFocused.shadowRoot && toBeFocused.shadowRoot.contains(this.Suggestions.responsivePopover);
369
+ const focusedOutToValueStateMessage = toBeFocused && toBeFocused.shadowRoot && toBeFocused.shadowRoot.querySelector(".ui5-valuestatemessage-root");
370
+ this._keepInnerValue = false;
794
371
  if (this.showClearIcon && !this.effectiveShowClearIcon) {
795
372
  this._clearIconClicked = false;
796
373
  this._handleChange();
797
374
  }
798
-
799
375
  // if focusout is triggered by pressing on suggestion item or value state message popover, skip invalidation, because re-rendering
800
376
  // will happen before "itemPress" event, which will make item "active" state not visualized
801
377
  if (focusedOutToSuggestions || focusedOutToValueStateMessage) {
802
- event.stopImmediatePropagation();
378
+ e.stopImmediatePropagation();
803
379
  return;
804
380
  }
805
- const toBeFocused = event.relatedTarget;
806
381
  if (toBeFocused && toBeFocused.classList.contains(this._id)) {
807
382
  return;
808
383
  }
809
384
  this.open = false;
810
385
  this._clearPopoverFocusAndSelection();
811
- this.previousValue = "";
386
+ if (!this._clearIconClicked) {
387
+ this.previousValue = "";
388
+ }
812
389
  this.lastConfirmedValue = "";
813
390
  this.focused = false; // invalidating property
814
391
  this.isTyping = false;
@@ -823,7 +400,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
823
400
  this.Suggestions._deselectItems();
824
401
  this.Suggestions._clearItemFocus();
825
402
  }
826
- _click(event) {
403
+ _click() {
827
404
  if ((0, _Device.isPhone)() && !this.readonly && this.Suggestions) {
828
405
  this.blur();
829
406
  this.openOnMobile = true;
@@ -834,88 +411,77 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
834
411
  this._clearIconClicked = false;
835
412
  return;
836
413
  }
837
- if (this._changeFiredValue !== this.getInputDOMRefSync().value) {
838
- this._changeFiredValue = this.getInputDOMRefSync().value;
839
- this.fireEvent(this.EVENT_CHANGE);
414
+ if (this.previousValue !== this.getInputDOMRefSync().value) {
415
+ this.fireEvent(INPUT_EVENTS.CHANGE);
416
+ this.previousValue = this.value;
417
+ this.typedInValue = this.value;
840
418
  }
841
419
  }
842
420
  _clear() {
843
421
  this.value = "";
844
- this.fireEvent(this.EVENT_INPUT);
422
+ this.fireEvent(INPUT_EVENTS.INPUT);
845
423
  if (!this._isPhone) {
846
424
  this.focus();
425
+ this._focusedAfterClear = true;
847
426
  }
848
427
  }
849
428
  _iconMouseDown() {
850
429
  this._clearIconClicked = true;
851
430
  }
852
- _scroll(event) {
853
- const detail = event.detail;
431
+ _scroll(e) {
854
432
  this.fireEvent("suggestion-scroll", {
855
- scrollTop: detail.scrollTop,
856
- scrollContainer: detail.targetRef
433
+ scrollTop: e.detail.scrollTop,
434
+ scrollContainer: e.detail.targetRef
857
435
  });
858
436
  }
859
- _handleInput(event) {
437
+ _handleInput(e) {
860
438
  const inputDomRef = this.getInputDOMRefSync();
861
439
  const emptyValueFiredOnNumberInput = this.value && this.isTypeNumber && !inputDomRef.value;
862
- const eventType = event.inputType || event.detail.inputType;
863
- this._shouldAutocomplete = eventType !== "deleteContentBackward" && !this.noTypeahead;
440
+ const eventType = e.inputType || e.detail && e.detail.inputType || "";
441
+ this._keepInnerValue = false;
442
+ const allowedEventTypes = ["deleteWordBackward", "deleteWordForward", "deleteSoftLineBackward", "deleteSoftLineForward", "deleteEntireSoftLine", "deleteHardLineBackward", "deleteHardLineForward", "deleteByDrag", "deleteByCut", "deleteContent", "deleteContentBackward", "deleteContentForward", "historyUndo"];
443
+ this._shouldAutocomplete = !allowedEventTypes.includes(eventType) && !this.noTypeahead;
864
444
  this.suggestionSelectionCanceled = false;
865
- if (emptyValueFiredOnNumberInput && !this._backspaceKeyDown) {
866
- // For input with type="Number", if the delimiter is entered second time,
867
- // the inner input is firing event with empty value
868
- return;
869
- }
870
- if (emptyValueFiredOnNumberInput && this._backspaceKeyDown) {
871
- // Issue: when the user removes the character(s) after the delimeter of numeric Input,
872
- // the native input is firing event with an empty value and we have to manually handle this case,
873
- // otherwise the entire input will be cleared as we sync the "value".
874
-
875
- // There are tree scenarios:
876
- // Example: type "123.4" and press BACKSPACE - the native input is firing event with empty value.
877
- // Example: type "123.456", select/mark "456" and press BACKSPACE - the native input is firing event with empty value.
878
- // Example: type "123.456", select/mark "123.456" and press BACKSPACE - the native input is firing event with empty value,
879
- // but this time that's really the case.
880
-
881
- // Perform manual handling in case of floating number
882
- // and if the user did not select the entire input value
883
- if (this._selectedText.indexOf(",") > -1) {
884
- this._selectedText = this._selectedText.replace(",", ".");
885
- }
886
- if (rgxFloat.test(this.value) && this._selectedText !== this.value) {
887
- const newValue = this.removeFractionalPart(this.value);
888
-
889
- // update state
890
- this.value = newValue;
891
- this.highlightValue = newValue;
892
- this.valueBeforeItemPreview = newValue;
893
-
894
- // fire events
895
- this.fireEvent(this.EVENT_INPUT, {
896
- inputType: event.inputType
897
- });
898
- this.fireEvent("value-changed");
899
- return;
445
+ if (e instanceof InputEvent) {
446
+ // ---- Special cases of numeric Input ----
447
+ // ---------------- Start -----------------
448
+ // When the last character after the delimiter is removed.
449
+ // In such cases, we want to skip the re-rendering of the
450
+ // component as this leads to cursor repositioning and causes user experience issues.
451
+ // There are few scenarios:
452
+ // Example: type "123.4" and press BACKSPACE - the native input is firing event with the whole part as value (123).
453
+ // Pressing BACKSPACE again will remove the delimiter and the native input will fire event with the whole part as value again (123).
454
+ // Example: type "123.456", select/mark "456" and press BACKSPACE - the native input is firing event with the whole part as value (123).
455
+ // Example: type "123.456", select/mark "123.456" and press BACKSPACE - the native input is firing event with empty value.
456
+ const delimiterCase = this.isTypeNumber && (e.inputType === "deleteContentForward" || e.inputType === "deleteContentBackward") && !e.target.value.includes(".") && this.value.includes(".");
457
+ // Handle special numeric notation with "e", example "12.5e12"
458
+ const eNotationCase = emptyValueFiredOnNumberInput && e.data === "e";
459
+ // Handle special numeric notation with "-", example "-3"
460
+ // When pressing BACKSPACE, the native input fires event with empty value
461
+ const minusRemovalCase = emptyValueFiredOnNumberInput && this.value.startsWith("-") && this.value.length === 2 && (e.inputType === "deleteContentForward" || e.inputType === "deleteContentBackward");
462
+ if (delimiterCase || eNotationCase || minusRemovalCase) {
463
+ this.value = e.target.value;
464
+ this._keepInnerValue = true;
900
465
  }
466
+ // ----------------- End ------------------
901
467
  }
902
- if (event.target === inputDomRef) {
903
- this.focused = true;
904
468
 
469
+ if (e.target === inputDomRef) {
470
+ this.focused = true;
905
471
  // stop the native event, as the semantic "input" would be fired.
906
- event.stopImmediatePropagation();
472
+ e.stopImmediatePropagation();
907
473
  }
908
- this.fireEventByAction(this.ACTION_USER_INPUT, event);
474
+ this.fireEventByAction(INPUT_ACTIONS.ACTION_ENTER, e);
909
475
  this.hasSuggestionItemSelected = false;
910
476
  this._isValueStateFocused = false;
911
477
  if (this.Suggestions) {
912
- this.Suggestions.updateSelectedItemPosition(null);
478
+ this.Suggestions.updateSelectedItemPosition(-1);
913
479
  }
914
480
  this.isTyping = true;
915
481
  }
916
482
  _startsWithMatchingItems(str) {
917
483
  const textProp = this.suggestionItems[0].text ? "text" : "textContent";
918
- return Filters.StartsWith(str, this.suggestionItems, textProp);
484
+ return (0, _Filters.StartsWith)(str, this.suggestionItems, textProp);
919
485
  }
920
486
  _getFirstMatchingItem(current) {
921
487
  if (!this.suggestionItems.length) {
@@ -926,25 +492,22 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
926
492
  return matchingItems[0];
927
493
  }
928
494
  }
929
- _handleTypeAhead(item, filterValue) {
930
- if (!item) {
931
- return;
932
- }
495
+ _handleTypeAhead(item) {
933
496
  const value = item.text ? item.text : item.textContent || "";
934
- const innerInput = this.getInputDOMRefSync();
935
- filterValue = filterValue || "";
497
+ this._innerValue = value;
936
498
  this.value = value;
937
- innerInput.value = value;
938
- setTimeout(() => {
939
- innerInput.setSelectionRange(filterValue.length, value.length);
940
- }, 0);
499
+ this._performTextSelection = true;
941
500
  this._shouldAutocomplete = false;
942
501
  }
943
502
  _handleResize() {
944
503
  this._inputWidth = this.offsetWidth;
945
504
  }
946
- _closeRespPopover(preventFocusRestore) {
947
- this.Suggestions.close(preventFocusRestore);
505
+ _updateAssociatedLabelsTexts() {
506
+ this._associatedLabelsTexts = (0, _AriaLabelHelper.getAssociatedLabelForTexts)(this);
507
+ this._accessibleLabelsRefTexts = (0, _AriaLabelHelper.getAllAccessibleNameRefTexts)(this);
508
+ }
509
+ _closeRespPopover() {
510
+ this.Suggestions.close(true);
948
511
  }
949
512
  async _afterOpenPopover() {
950
513
  // Set initial focus to the native input
@@ -954,18 +517,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
954
517
  }
955
518
  _afterClosePopover() {
956
519
  this.announceSelectedItem();
957
-
958
520
  // close device's keyboard and prevent further typing
959
521
  if ((0, _Device.isPhone)()) {
960
522
  this.blur();
961
523
  this.focused = false;
962
524
  }
963
- this.isTyping = false;
964
525
  this.openOnMobile = false;
965
526
  this.open = false;
966
527
  this._forceOpen = false;
528
+ if (this.hasSuggestionItemSelected) {
529
+ this.focus();
530
+ }
967
531
  }
968
-
969
532
  /**
970
533
  * Checks if the value state popover is open.
971
534
  * @returns {boolean} true if the value state popover is open, false otherwise
@@ -986,13 +549,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
986
549
  }
987
550
  async _getPopover() {
988
551
  const staticAreaItem = await this.getStaticAreaItemDomRef();
989
- return staticAreaItem && staticAreaItem.querySelector("[ui5-popover]");
552
+ return staticAreaItem.querySelector("[ui5-popover]");
990
553
  }
991
-
992
554
  /**
993
555
  * Manually opens the suggestions popover, assuming suggestions are enabled. Items must be preloaded for it to open.
994
- * @since 1.3.0
995
556
  * @public
557
+ * @method
558
+ * @name sap.ui.webc.main.Input#openPicker
559
+ * @return {void}
560
+ * @since 1.3.0
996
561
  */
997
562
  openPicker() {
998
563
  if (!this.suggestionItems.length || this.disabled || this.readonly) {
@@ -1006,29 +571,37 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1006
571
  }
1007
572
  const Suggestions = (0, _FeaturesRegistry.getFeature)("InputSuggestions");
1008
573
  if (Suggestions) {
1009
- this.Suggestions = new Suggestions(this, "suggestionItems", true);
574
+ this.Suggestions = new Suggestions(this, "suggestionItems", true, false);
1010
575
  } else {
1011
576
  throw new Error(`You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions`);
1012
577
  }
1013
578
  }
1014
579
  selectSuggestion(item, keyboardUsed) {
1015
- if (item.group) {
580
+ if (item.groupItem) {
1016
581
  return;
1017
582
  }
1018
- const itemText = item.text || item.textContent; // keep textContent for compatibility
1019
- const fireInput = keyboardUsed ? this.valueBeforeItemSelection !== itemText : this.valueBeforeAutoComplete !== itemText;
583
+ const value = this.typedInValue || this.value;
584
+ const itemText = item.text || item.textContent || ""; // keep textContent for compatibility
585
+ const fireInput = keyboardUsed ? this.valueBeforeItemSelection !== itemText : value !== itemText;
1020
586
  this.hasSuggestionItemSelected = true;
1021
587
  if (fireInput) {
1022
588
  this.value = itemText;
1023
589
  this.valueBeforeItemSelection = itemText;
1024
590
  this.lastConfirmedValue = itemText;
1025
- this.getInputDOMRefSync().value = itemText;
1026
- this.fireEvent(this.EVENT_INPUT);
1027
- this._handleChange();
591
+ this._performTextSelection = true;
592
+ this.hasSuggestionItemSelected = true;
593
+ this.value = itemText;
594
+ this.fireEvent(INPUT_EVENTS.CHANGE);
595
+ if ((0, _Device.isPhone)()) {
596
+ this.fireEvent(INPUT_EVENTS.INPUT);
597
+ }
598
+ // value might change in the change event handler
599
+ this.typedInValue = this.value;
600
+ this.previousValue = this.value;
1028
601
  }
1029
602
  this.valueBeforeItemPreview = "";
1030
603
  this.suggestionSelectionCanceled = false;
1031
- this.fireEvent(this.EVENT_SUGGESTION_ITEM_SELECT, {
604
+ this.fireEvent(INPUT_EVENTS.SUGGESTION_ITEM_SELECT, {
1032
605
  item
1033
606
  });
1034
607
  this.isTyping = false;
@@ -1041,23 +614,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1041
614
  this.announceSelectedItem();
1042
615
  this._previewItem = item;
1043
616
  }
1044
-
1045
617
  /**
1046
618
  * Updates the input value on item preview.
1047
619
  * @param {Object} item The item that is on preview
1048
620
  */
1049
621
  updateValueOnPreview(item) {
1050
- const noPreview = item.type === "Inactive" || item.group;
1051
- const innerInput = this.getInputDOMRefSync();
1052
- const itemValue = noPreview ? this.valueBeforeItemPreview : item.effectiveTitle || item.textContent;
622
+ const noPreview = item.type === "Inactive" || item.groupItem;
623
+ const itemValue = noPreview ? this.valueBeforeItemPreview : item.effectiveTitle || item.textContent || "";
1053
624
  this.value = itemValue;
1054
- innerInput.value = itemValue;
1055
- innerInput.setSelectionRange(this.valueBeforeAutoComplete.length, this.value.length);
625
+ this._performTextSelection = true;
1056
626
  }
1057
-
1058
627
  /**
1059
628
  * The suggestion item on preview.
1060
- * @type { sap.ui.webcomponents.main.IInputSuggestionItem }
629
+ * @type {sap.ui.webc.main.IInputSuggestionItem | null}
630
+ * @name sap.ui.webc.main.Input.prototype.previewItem
1061
631
  * @readonly
1062
632
  * @public
1063
633
  */
@@ -1067,29 +637,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1067
637
  }
1068
638
  return this.getSuggestionByListItem(this._previewItem);
1069
639
  }
1070
- async fireEventByAction(action, event) {
1071
- await this.getInputDOMRef();
640
+ async fireEventByAction(action, e) {
1072
641
  if (this.disabled || this.readonly) {
1073
642
  return;
1074
643
  }
1075
644
  const inputValue = await this.getInputValue();
1076
- const isUserInput = action === this.ACTION_USER_INPUT;
1077
- const input = await this.getInputDOMRef();
1078
- const cursorPosition = input.selectionStart;
645
+ const isUserInput = action === INPUT_ACTIONS.ACTION_ENTER;
1079
646
  this.value = inputValue;
1080
- this.highlightValue = inputValue;
647
+ this.typedInValue = inputValue;
1081
648
  this.valueBeforeItemPreview = inputValue;
1082
- if ((0, _Device.isSafari)()) {
1083
- // When setting the value by hand, Safari moves the cursor when typing in the middle of the text (See #1761)
1084
- setTimeout(() => {
1085
- input.selectionStart = cursorPosition;
1086
- input.selectionEnd = cursorPosition;
1087
- }, 0);
1088
- }
1089
649
  if (isUserInput) {
1090
650
  // input
1091
- this.fireEvent(this.EVENT_INPUT, {
1092
- inputType: event.inputType
651
+ this.fireEvent(INPUT_EVENTS.INPUT, {
652
+ inputType: e.inputType
1093
653
  });
1094
654
  // Angular two way data binding
1095
655
  this.fireEvent("value-changed");
@@ -1105,7 +665,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1105
665
  async getInputDOMRef() {
1106
666
  if ((0, _Device.isPhone)() && this.Suggestions) {
1107
667
  await this.Suggestions._getSuggestionPopover();
1108
- return this.Suggestions && this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone");
668
+ return this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone");
1109
669
  }
1110
670
  return this.nativeInput;
1111
671
  }
@@ -1115,16 +675,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1115
675
  }
1116
676
  return this.nativeInput;
1117
677
  }
1118
-
1119
678
  /**
1120
679
  * Returns a reference to the native input element
1121
680
  * @protected
1122
681
  */
1123
682
  get nativeInput() {
1124
- return this.getDomRef() && this.getDomRef().querySelector(`input`);
683
+ const domRef = this.getDomRef();
684
+ return domRef ? domRef.querySelector(`input`) : null;
1125
685
  }
1126
686
  get nativeInputWidth() {
1127
- return this.nativeInput && this.nativeInput.offsetWidth;
687
+ return this.nativeInput ? this.nativeInput.offsetWidth : 0;
1128
688
  }
1129
689
  getLabelableElementId() {
1130
690
  return this.getInputId();
@@ -1133,7 +693,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1133
693
  const key = parseInt(item.getAttribute("data-ui5-key"));
1134
694
  return this.suggestionItems[key];
1135
695
  }
1136
-
1137
696
  /**
1138
697
  * Returns if the suggestions popover is scrollable.
1139
698
  * The method returns <code>Promise</code> that resolves to true,
@@ -1149,27 +708,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1149
708
  getInputId() {
1150
709
  return `${this._id}-inner`;
1151
710
  }
1152
-
1153
711
  /* Suggestions interface */
1154
- onItemFocused() {}
1155
- onItemMouseOver(event) {
1156
- const item = event.target;
712
+ onItemMouseOver(e) {
713
+ const item = e.target;
1157
714
  const suggestion = this.getSuggestionByListItem(item);
1158
715
  suggestion && suggestion.fireEvent("mouseover", {
1159
716
  item: suggestion,
1160
717
  targetRef: item
1161
718
  });
1162
719
  }
1163
- onItemMouseOut(event) {
1164
- const item = event.target;
720
+ onItemMouseOut(e) {
721
+ const item = e.target;
1165
722
  const suggestion = this.getSuggestionByListItem(item);
1166
723
  suggestion && suggestion.fireEvent("mouseout", {
1167
724
  item: suggestion,
1168
725
  targetRef: item
1169
726
  });
1170
727
  }
1171
- onItemMouseDown(event) {
1172
- event.preventDefault();
728
+ onItemMouseDown(e) {
729
+ e.preventDefault();
1173
730
  }
1174
731
  onItemSelected(item, keyboardUsed) {
1175
732
  this.selectSuggestion(item, keyboardUsed);
@@ -1181,14 +738,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1181
738
  targetRef: item
1182
739
  });
1183
740
  }
1184
- onOpen() {}
1185
- onClose() {}
741
+ get valueStateTypeMappings() {
742
+ return {
743
+ "Success": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_SUCCESS),
744
+ "Information": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_INFORMATION),
745
+ "Error": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_ERROR),
746
+ "Warning": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_WARNING)
747
+ };
748
+ }
1186
749
  valueStateTextMappings() {
1187
750
  return {
1188
- "Success": Input.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
1189
- "Information": Input.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION),
1190
- "Error": Input.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
1191
- "Warning": Input.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING)
751
+ "Success": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
752
+ "Information": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION),
753
+ "Error": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
754
+ "Warning": Input_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING)
1192
755
  };
1193
756
  }
1194
757
  announceSelectedItem() {
@@ -1203,7 +766,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1203
766
  return this.readonly && !this.disabled;
1204
767
  }
1205
768
  get _headerTitleText() {
1206
- return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
769
+ return Input_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
1207
770
  }
1208
771
  get inputType() {
1209
772
  return this.type.toLowerCase();
@@ -1221,7 +784,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1221
784
  const ariaHasPopupDefault = this.showSuggestions ? "true" : undefined;
1222
785
  const ariaAutoCompleteDefault = this.showSuggestions ? "list" : undefined;
1223
786
  const ariaDescribedBy = this._inputAccInfo.ariaDescribedBy ? `${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim() : `${this.suggestionsTextId} ${this.valueStateTextId}`.trim();
1224
- return {
787
+ const info = {
1225
788
  "input": {
1226
789
  "ariaRoledescription": this._inputAccInfo && (this._inputAccInfo.ariaRoledescription || undefined),
1227
790
  "ariaDescribedBy": ariaDescribedBy || undefined,
@@ -1232,9 +795,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1232
795
  "ariaControls": this._inputAccInfo && this._inputAccInfo.ariaControls,
1233
796
  "ariaExpanded": this._inputAccInfo && this._inputAccInfo.ariaExpanded,
1234
797
  "ariaDescription": this._inputAccInfo && this._inputAccInfo.ariaDescription,
1235
- "ariaLabel": this._inputAccInfo && this._inputAccInfo.ariaLabel || (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this)
798
+ "ariaLabel": this._inputAccInfo && this._inputAccInfo.ariaLabel || this._accessibleLabelsRefTexts || this.accessibleName || this._associatedLabelsTexts || undefined
1236
799
  }
1237
800
  };
801
+ return info;
1238
802
  }
1239
803
  get nativeInputAttributes() {
1240
804
  return {
@@ -1244,22 +808,28 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1244
808
  };
1245
809
  }
1246
810
  get ariaValueStateHiddenText() {
1247
- if (!this.hasValueStateMessage) {
811
+ if (!this.hasValueState) {
1248
812
  return;
1249
813
  }
814
+ const valueState = this.valueState !== _ValueState.default.None ? this.valueStateTypeMappings[this.valueState] : "";
1250
815
  if (this.shouldDisplayDefaultValueStateMessage) {
1251
- return this.valueStateText;
816
+ return this.valueStateText ? `${valueState} ${this.valueStateText}` : valueState;
1252
817
  }
1253
- return this.valueStateMessageText.map(el => el.textContent).join(" ");
818
+ return `${valueState}`.concat(" ", this.valueStateMessageText.map(el => el.textContent).join(" "));
1254
819
  }
1255
820
  get itemSelectionAnnounce() {
1256
- return this.Suggestions ? this.Suggestions.itemSelectionAnnounce : undefined;
821
+ return this.Suggestions ? this.Suggestions.itemSelectionAnnounce : "";
822
+ }
823
+ get iconsCount() {
824
+ const slottedIconsCount = this.icon ? this.icon.length : 0;
825
+ const clearIconCount = Number(this.effectiveShowClearIcon) ?? 0;
826
+ return slottedIconsCount + clearIconCount;
1257
827
  }
1258
828
  get classes() {
1259
829
  return {
1260
830
  popover: {
1261
- "ui5-suggestions-popover": !this.isPhone && this.showSuggestions,
1262
- "ui5-suggestions-popover-with-value-state-header": !this.isPhone && this.showSuggestions && this.hasValueStateMessage
831
+ "ui5-suggestions-popover": !this._isPhone && this.showSuggestions,
832
+ "ui5-suggestions-popover-with-value-state-header": !this._isPhone && this.showSuggestions && this.hasValueStateMessage
1263
833
  },
1264
834
  popoverValueState: {
1265
835
  "ui5-valuestatemessage-root": true,
@@ -1275,21 +845,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1275
845
  const remSizeIxPx = parseInt(getComputedStyle(document.documentElement).fontSize);
1276
846
  const stylesObject = {
1277
847
  popoverHeader: {
1278
- "max-width": `${this._inputWidth}px`
848
+ "max-width": this._inputWidth ? `${this._inputWidth}px` : ""
1279
849
  },
1280
850
  suggestionPopoverHeader: {
1281
851
  "display": this._listWidth === 0 ? "none" : "inline-block",
1282
- "width": `${this._listWidth}px`
852
+ "width": this._listWidth ? `${this._listWidth}px` : ""
1283
853
  },
1284
854
  suggestionsPopover: {
1285
- "min-width": `${this._inputWidth}px`,
1286
- "max-width": this._inputWidth / remSizeIxPx > 40 ? `${this._inputWidth}px` : "40rem"
855
+ "min-width": this._inputWidth ? `${this._inputWidth}px` : "",
856
+ "max-width": this._inputWidth && this._inputWidth / remSizeIxPx > 40 ? `${this._inputWidth}px` : "40rem"
1287
857
  },
1288
- innerInput: {}
858
+ innerInput: {
859
+ "padding": ""
860
+ }
1289
861
  };
1290
- if (this.nativeInputWidth < 48) {
1291
- stylesObject.innerInput.padding = "0";
1292
- }
1293
862
  return stylesObject;
1294
863
  }
1295
864
  get suggestionSeparators() {
@@ -1309,24 +878,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1309
878
  }
1310
879
  get hasValueStateMessage() {
1311
880
  return this.hasValueState && this.valueState !== _ValueState.default.Success && (!this._inputIconFocused // Handles the cases when valueStateMessage is forwarded (from datepicker e.g.)
1312
- || this._isPhone && this.Suggestions); // Handles Input with suggestions on mobile
881
+ || !!(this._isPhone && this.Suggestions)); // Handles Input with suggestions on mobile
1313
882
  }
1314
883
 
1315
884
  get valueStateText() {
1316
- return this.valueStateTextMappings()[this.valueState];
885
+ return this.valueState !== _ValueState.default.None ? this.valueStateTextMappings()[this.valueState] : undefined;
1317
886
  }
1318
887
  get suggestionsText() {
1319
- return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS);
888
+ return Input_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS);
1320
889
  }
1321
890
  get availableSuggestionsCount() {
1322
891
  if (this.showSuggestions && (this.value || this.Suggestions.isOpened())) {
1323
892
  switch (this.suggestionsTexts.length) {
1324
893
  case 0:
1325
- return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_NO_HIT);
894
+ return Input_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_NO_HIT);
1326
895
  case 1:
1327
- return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_ONE_HIT);
896
+ return Input_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_ONE_HIT);
1328
897
  default:
1329
- return Input.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_MORE_HITS, this.suggestionsTexts.length);
898
+ return Input_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_MORE_HITS, this.suggestionsTexts.length);
1330
899
  }
1331
900
  }
1332
901
  return undefined;
@@ -1340,7 +909,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1340
909
  get _isSuggestionsFocused() {
1341
910
  return !this.focused && this.Suggestions && this.Suggestions.isOpened();
1342
911
  }
1343
-
1344
912
  /**
1345
913
  * Returns the placeholder value.
1346
914
  * @protected
@@ -1348,7 +916,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1348
916
  get _placeholder() {
1349
917
  return this.placeholder;
1350
918
  }
1351
-
1352
919
  /**
1353
920
  * This method is relevant for sap_horizon theme only
1354
921
  */
@@ -1359,17 +926,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1359
926
  Success: `<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"/>`,
1360
927
  Information: `<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"/>`
1361
928
  };
1362
- const result = `
1363
- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="20" viewBox="0 0 20 20" fill="none">
1364
- ${iconPerValueState[this.valueState]};
1365
- </svg>
1366
- `;
1367
- return this.valueState !== _ValueState.default.None ? result : "";
929
+ if (this.valueState !== _ValueState.default.None) {
930
+ return `
931
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="20" viewBox="0 0 20 20" fill="none">
932
+ ${iconPerValueState[this.valueState]};
933
+ </svg>
934
+ `;
935
+ }
936
+ return "";
1368
937
  }
1369
938
  get _valueStatePopoverHorizontalAlign() {
1370
939
  return this.effectiveDir !== "rtl" ? "Left" : "Right";
1371
940
  }
1372
-
1373
941
  /**
1374
942
  * This method is relevant for sap_horizon theme only
1375
943
  */
@@ -1382,7 +950,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1382
950
  };
1383
951
  return this.valueState !== _ValueState.default.None ? iconPerValueState[this.valueState] : "";
1384
952
  }
1385
-
1386
953
  /**
1387
954
  * Returns the caret position inside the native input
1388
955
  * @protected
@@ -1390,7 +957,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1390
957
  getCaretPosition() {
1391
958
  return (0, _Caret.getCaretPosition)(this.nativeInput);
1392
959
  }
1393
-
1394
960
  /**
1395
961
  * Sets the caret to a certain position inside the native input
1396
962
  * @protected
@@ -1399,7 +965,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1399
965
  setCaretPosition(pos) {
1400
966
  (0, _Caret.setCaretPosition)(this.nativeInput, pos);
1401
967
  }
1402
-
1403
968
  /**
1404
969
  * Removes the fractional part of floating-point number.
1405
970
  * @param {string} value the numeric value of Input of type "Number"
@@ -1413,15 +978,186 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
1413
978
  }
1414
979
  return value;
1415
980
  }
1416
- static get dependencies() {
981
+ static async onDefine() {
982
+ const Suggestions = (0, _FeaturesRegistry.getFeature)("InputSuggestions");
983
+ [Input_1.i18nBundle] = await Promise.all([(0, _i18nBundle.getI18nBundle)("@ui5/webcomponents"), Suggestions ? Suggestions.init() : Promise.resolve()]);
984
+ }
985
+ };
986
+ __decorate([(0, _property.default)({
987
+ type: Boolean
988
+ })], Input.prototype, "disabled", void 0);
989
+ __decorate([(0, _property.default)({
990
+ type: Boolean
991
+ })], Input.prototype, "highlight", void 0);
992
+ __decorate([(0, _property.default)()], Input.prototype, "placeholder", void 0);
993
+ __decorate([(0, _property.default)({
994
+ type: Boolean
995
+ })], Input.prototype, "readonly", void 0);
996
+ __decorate([(0, _property.default)({
997
+ type: Boolean
998
+ })], Input.prototype, "required", void 0);
999
+ __decorate([(0, _property.default)({
1000
+ type: Boolean
1001
+ })], Input.prototype, "noTypeahead", void 0);
1002
+ __decorate([(0, _property.default)({
1003
+ type: _InputType.default,
1004
+ defaultValue: _InputType.default.Text
1005
+ })], Input.prototype, "type", void 0);
1006
+ __decorate([(0, _property.default)()], Input.prototype, "value", void 0);
1007
+ __decorate([(0, _property.default)({
1008
+ noAttribute: true
1009
+ })], Input.prototype, "_innerValue", void 0);
1010
+ __decorate([(0, _property.default)({
1011
+ type: _ValueState.default,
1012
+ defaultValue: _ValueState.default.None
1013
+ })], Input.prototype, "valueState", void 0);
1014
+ __decorate([(0, _property.default)()], Input.prototype, "name", void 0);
1015
+ __decorate([(0, _property.default)({
1016
+ type: Boolean
1017
+ })], Input.prototype, "showSuggestions", void 0);
1018
+ __decorate([(0, _property.default)({
1019
+ validator: _Integer.default
1020
+ })], Input.prototype, "maxlength", void 0);
1021
+ __decorate([(0, _property.default)()], Input.prototype, "accessibleName", void 0);
1022
+ __decorate([(0, _property.default)({
1023
+ defaultValue: ""
1024
+ })], Input.prototype, "accessibleNameRef", void 0);
1025
+ __decorate([(0, _property.default)({
1026
+ type: Boolean
1027
+ })], Input.prototype, "showClearIcon", void 0);
1028
+ __decorate([(0, _property.default)({
1029
+ type: Boolean
1030
+ })], Input.prototype, "effectiveShowClearIcon", void 0);
1031
+ __decorate([(0, _property.default)({
1032
+ type: Boolean
1033
+ })], Input.prototype, "focused", void 0);
1034
+ __decorate([(0, _property.default)({
1035
+ type: Boolean
1036
+ })], Input.prototype, "openOnMobile", void 0);
1037
+ __decorate([(0, _property.default)({
1038
+ type: Boolean
1039
+ })], Input.prototype, "open", void 0);
1040
+ __decorate([(0, _property.default)({
1041
+ type: Boolean
1042
+ })], Input.prototype, "_forceOpen", void 0);
1043
+ __decorate([(0, _property.default)({
1044
+ type: Boolean
1045
+ })], Input.prototype, "_isValueStateFocused", void 0);
1046
+ __decorate([(0, _property.default)({
1047
+ type: Object,
1048
+ noAttribute: true
1049
+ })], Input.prototype, "_inputAccInfo", void 0);
1050
+ __decorate([(0, _property.default)({
1051
+ type: Object,
1052
+ noAttribute: true
1053
+ })], Input.prototype, "_nativeInputAttributes", void 0);
1054
+ __decorate([(0, _property.default)({
1055
+ validator: _Integer.default
1056
+ })], Input.prototype, "_inputWidth", void 0);
1057
+ __decorate([(0, _property.default)({
1058
+ validator: _Integer.default
1059
+ })], Input.prototype, "_listWidth", void 0);
1060
+ __decorate([(0, _property.default)({
1061
+ type: Boolean,
1062
+ noAttribute: true
1063
+ })], Input.prototype, "_isPopoverOpen", void 0);
1064
+ __decorate([(0, _property.default)({
1065
+ type: Boolean,
1066
+ noAttribute: true
1067
+ })], Input.prototype, "_inputIconFocused", void 0);
1068
+ __decorate([(0, _property.default)({
1069
+ type: String,
1070
+ noAttribute: true,
1071
+ defaultValue: undefined
1072
+ })], Input.prototype, "_associatedLabelsTexts", void 0);
1073
+ __decorate([(0, _property.default)({
1074
+ type: String,
1075
+ noAttribute: true,
1076
+ defaultValue: undefined
1077
+ })], Input.prototype, "_accessibleLabelsRefTexts", void 0);
1078
+ __decorate([(0, _slot.default)({
1079
+ type: HTMLElement,
1080
+ "default": true
1081
+ })], Input.prototype, "suggestionItems", void 0);
1082
+ __decorate([(0, _slot.default)()], Input.prototype, "icon", void 0);
1083
+ __decorate([(0, _slot.default)()], Input.prototype, "formSupport", void 0);
1084
+ __decorate([(0, _slot.default)()], Input.prototype, "valueStateMessage", void 0);
1085
+ Input = Input_1 = __decorate([(0, _customElement.default)({
1086
+ tag: "ui5-input",
1087
+ languageAware: true,
1088
+ renderer: _LitRenderer.default,
1089
+ template: _InputTemplate.default,
1090
+ staticAreaTemplate: _InputPopoverTemplate.default,
1091
+ styles: _Input.default,
1092
+ staticAreaStyles: [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _Suggestions.default],
1093
+ get dependencies() {
1417
1094
  const Suggestions = (0, _FeaturesRegistry.getFeature)("InputSuggestions");
1418
1095
  return [_Popover.default, _Icon.default].concat(Suggestions ? Suggestions.dependencies : []);
1419
1096
  }
1420
- static async onDefine() {
1421
- const Suggestions = (0, _FeaturesRegistry.getFeature)("InputSuggestions");
1422
- [Input.i18nBundle] = await Promise.all([(0, _i18nBundle.getI18nBundle)("@ui5/webcomponents"), Suggestions ? Suggestions.init() : Promise.resolve()]);
1097
+ })
1098
+ /**
1099
+ * Fired when the input operation has finished by pressing Enter or on focusout.
1100
+ *
1101
+ * @event sap.ui.webc.main.Input#change
1102
+ * @public
1103
+ */, (0, _event.default)("change")
1104
+ /**
1105
+ * Fired when the value of the component changes at each keystroke,
1106
+ * and when a suggestion item has been selected.
1107
+ *
1108
+ * @event sap.ui.webc.main.Input#input
1109
+ * @public
1110
+ */, (0, _event.default)("input")
1111
+ /**
1112
+ * Fired when a suggestion item, that is displayed in the suggestion popup, is selected.
1113
+ *
1114
+ * @event sap.ui.webc.main.Input#suggestion-item-select
1115
+ * @param {HTMLElement} item The selected item.
1116
+ * @public
1117
+ */, (0, _event.default)("suggestion-item-select", {
1118
+ detail: {
1119
+ item: {
1120
+ type: HTMLElement
1121
+ }
1122
+ }
1123
+ })
1124
+ /**
1125
+ * Fired when the user navigates to a suggestion item via the ARROW keys,
1126
+ * as a preview, before the final selection.
1127
+ *
1128
+ * @event sap.ui.webc.main.Input#suggestion-item-preview
1129
+ * @param {HTMLElement} item The previewed suggestion item.
1130
+ * @param {HTMLElement} targetRef The DOM ref of the suggestion item.
1131
+ * @public
1132
+ * @since 1.0.0-rc.8
1133
+ */, (0, _event.default)("suggestion-item-preview", {
1134
+ detail: {
1135
+ item: {
1136
+ type: HTMLElement
1137
+ },
1138
+ targetRef: {
1139
+ type: HTMLElement
1140
+ }
1141
+ }
1142
+ })
1143
+ /**
1144
+ * Fired when the user scrolls the suggestion popover.
1145
+ *
1146
+ * @event sap.ui.webc.main.Input#suggestion-scroll
1147
+ * @param {Integer} scrollTop The current scroll position.
1148
+ * @param {HTMLElement} scrollContainer The scroll container.
1149
+ * @protected
1150
+ * @since 1.0.0-rc.8
1151
+ */, (0, _event.default)("suggestion-scroll", {
1152
+ detail: {
1153
+ scrollTop: {
1154
+ type: _Integer.default
1155
+ },
1156
+ scrollContainer: {
1157
+ type: HTMLElement
1158
+ }
1423
1159
  }
1424
- }
1160
+ })], Input);
1425
1161
  Input.define();
1426
1162
  var _default = Input;
1427
1163
  _exports.default = _default;