@openui5/sap.ui.webc.main 1.96.2 → 1.97.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 (449) hide show
  1. package/.reuse/dep5 +1 -1
  2. package/THIRDPARTY.txt +2 -1
  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 +2 -2
  6. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  7. package/src/sap/ui/webc/main/Badge.js +1 -1
  8. package/src/sap/ui/webc/main/Breadcrumbs.js +4 -4
  9. package/src/sap/ui/webc/main/BreadcrumbsItem.js +4 -4
  10. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  11. package/src/sap/ui/webc/main/Button.js +3 -3
  12. package/src/sap/ui/webc/main/Calendar.js +4 -4
  13. package/src/sap/ui/webc/main/CalendarDate.js +1 -1
  14. package/src/sap/ui/webc/main/Card.js +17 -1
  15. package/src/sap/ui/webc/main/CardHeader.js +4 -4
  16. package/src/sap/ui/webc/main/Carousel.js +1 -1
  17. package/src/sap/ui/webc/main/CheckBox.js +1 -1
  18. package/src/sap/ui/webc/main/ColorPalette.js +4 -4
  19. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  20. package/src/sap/ui/webc/main/ColorPalettePopover.js +112 -0
  21. package/src/sap/ui/webc/main/ColorPicker.js +3 -3
  22. package/src/sap/ui/webc/main/ComboBox.js +4 -4
  23. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +4 -4
  24. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  25. package/src/sap/ui/webc/main/CustomListItem.js +1 -1
  26. package/src/sap/ui/webc/main/DatePicker.js +5 -5
  27. package/src/sap/ui/webc/main/DateRangePicker.js +3 -3
  28. package/src/sap/ui/webc/main/DateTimePicker.js +4 -6
  29. package/src/sap/ui/webc/main/Dialog.js +1 -1
  30. package/src/sap/ui/webc/main/FileUploader.js +2 -2
  31. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  32. package/src/sap/ui/webc/main/Icon.js +1 -1
  33. package/src/sap/ui/webc/main/Input.js +6 -27
  34. package/src/sap/ui/webc/main/Label.js +2 -2
  35. package/src/sap/ui/webc/main/Link.js +2 -2
  36. package/src/sap/ui/webc/main/List.js +5 -6
  37. package/src/sap/ui/webc/main/MessageStrip.js +2 -2
  38. package/src/sap/ui/webc/main/MultiComboBox.js +4 -6
  39. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  40. package/src/sap/ui/webc/main/MultiInput.js +6 -27
  41. package/src/sap/ui/webc/main/Option.js +1 -1
  42. package/src/sap/ui/webc/main/Panel.js +5 -4
  43. package/src/sap/ui/webc/main/Popover.js +1 -1
  44. package/src/sap/ui/webc/main/ProgressIndicator.js +14 -1
  45. package/src/sap/ui/webc/main/RadioButton.js +1 -1
  46. package/src/sap/ui/webc/main/RangeSlider.js +15 -17
  47. package/src/sap/ui/webc/main/RatingIndicator.js +4 -4
  48. package/src/sap/ui/webc/main/ResponsivePopover.js +1 -1
  49. package/src/sap/ui/webc/main/SegmentedButton.js +1 -1
  50. package/src/sap/ui/webc/main/SegmentedButtonItem.js +5 -5
  51. package/src/sap/ui/webc/main/Select.js +1 -1
  52. package/src/sap/ui/webc/main/Slider.js +20 -20
  53. package/src/sap/ui/webc/main/StandardListItem.js +1 -1
  54. package/src/sap/ui/webc/main/StepInput.js +1 -1
  55. package/src/sap/ui/webc/main/SuggestionGroupItem.js +4 -4
  56. package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
  57. package/src/sap/ui/webc/main/Switch.js +5 -5
  58. package/src/sap/ui/webc/main/Tab.js +1 -1
  59. package/src/sap/ui/webc/main/TabContainer.js +1 -1
  60. package/src/sap/ui/webc/main/TabSeparator.js +1 -1
  61. package/src/sap/ui/webc/main/Table.js +1 -1
  62. package/src/sap/ui/webc/main/TableCell.js +1 -1
  63. package/src/sap/ui/webc/main/TableColumn.js +1 -1
  64. package/src/sap/ui/webc/main/TableGroupRow.js +5 -5
  65. package/src/sap/ui/webc/main/TableRow.js +5 -5
  66. package/src/sap/ui/webc/main/TextArea.js +5 -5
  67. package/src/sap/ui/webc/main/TimePicker.js +3 -3
  68. package/src/sap/ui/webc/main/Title.js +1 -1
  69. package/src/sap/ui/webc/main/Toast.js +1 -1
  70. package/src/sap/ui/webc/main/ToggleButton.js +3 -3
  71. package/src/sap/ui/webc/main/Token.js +2 -2
  72. package/src/sap/ui/webc/main/Tree.js +29 -1
  73. package/src/sap/ui/webc/main/TreeItem.js +1 -1
  74. package/src/sap/ui/webc/main/library.js +16 -12
  75. package/src/sap/ui/webc/main/thirdparty/Assets.js +1 -1
  76. package/src/sap/ui/webc/main/thirdparty/Avatar.js +8 -11
  77. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +6 -7
  78. package/src/sap/ui/webc/main/thirdparty/Badge.js +11 -6
  79. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +6 -4
  80. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +2 -3
  81. package/src/sap/ui/webc/main/thirdparty/Button.js +3 -4
  82. package/src/sap/ui/webc/main/thirdparty/Calendar.js +73 -2
  83. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +17 -55
  84. package/src/sap/ui/webc/main/thirdparty/Card.js +13 -9
  85. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +16 -11
  86. package/src/sap/ui/webc/main/thirdparty/Carousel.js +8 -7
  87. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +31 -6
  88. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +161 -12
  89. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +14 -4
  90. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +110 -0
  91. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +10 -1
  92. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +146 -57
  93. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -3
  94. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +3 -3
  95. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +1 -1
  96. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +7 -6
  97. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +9 -4
  98. package/src/sap/ui/webc/main/thirdparty/Dialog.js +11 -4
  99. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +1 -1
  100. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +14 -9
  101. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -8
  102. package/src/sap/ui/webc/main/thirdparty/Icon.js +14 -11
  103. package/src/sap/ui/webc/main/thirdparty/Input.js +68 -39
  104. package/src/sap/ui/webc/main/thirdparty/Link.js +2 -3
  105. package/src/sap/ui/webc/main/thirdparty/List.js +41 -12
  106. package/src/sap/ui/webc/main/thirdparty/ListItem.js +13 -8
  107. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +2 -3
  108. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +189 -59
  109. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +1 -1
  110. package/src/sap/ui/webc/main/thirdparty/Panel.js +2 -3
  111. package/src/sap/ui/webc/main/thirdparty/Popover.js +52 -31
  112. package/src/sap/ui/webc/main/thirdparty/Popup.js +14 -25
  113. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +8 -7
  114. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +35 -7
  115. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +6 -7
  116. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +3 -4
  117. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -23
  118. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +4 -4
  119. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +1 -1
  120. package/src/sap/ui/webc/main/thirdparty/Select.js +53 -47
  121. package/src/sap/ui/webc/main/thirdparty/Slider.js +2 -3
  122. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +4 -9
  123. package/src/sap/ui/webc/main/thirdparty/StepInput.js +3 -4
  124. package/src/sap/ui/webc/main/thirdparty/Switch.js +5 -6
  125. package/src/sap/ui/webc/main/thirdparty/Tab.js +12 -2
  126. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +12 -5
  127. package/src/sap/ui/webc/main/thirdparty/Table.js +8 -6
  128. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +2 -3
  129. package/src/sap/ui/webc/main/thirdparty/TableRow.js +4 -8
  130. package/src/sap/ui/webc/main/thirdparty/TextArea.js +11 -10
  131. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +1 -1
  132. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +9 -6
  133. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +8 -9
  134. package/src/sap/ui/webc/main/thirdparty/Toast.js +5 -0
  135. package/src/sap/ui/webc/main/thirdparty/Token.js +2 -6
  136. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -14
  137. package/src/sap/ui/webc/main/thirdparty/Tree.js +18 -0
  138. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +12 -15
  139. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +1 -0
  140. package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -0
  141. package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -0
  142. package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -0
  143. package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -0
  144. package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -0
  145. package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -0
  146. package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -0
  147. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -0
  148. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.ie11.css +1 -0
  149. package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -0
  150. package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -0
  151. package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -0
  152. package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -0
  153. package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -0
  154. package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -0
  155. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -0
  156. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -0
  157. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -0
  158. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -0
  159. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -0
  160. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -0
  161. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -0
  162. package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -0
  163. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -0
  164. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -0
  165. package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -0
  166. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -0
  167. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -0
  168. package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -0
  169. package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -0
  170. package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -0
  171. package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -0
  172. package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -0
  173. package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -0
  174. package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -0
  175. package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -0
  176. package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -0
  177. package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -0
  178. package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -0
  179. package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -0
  180. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -0
  181. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -0
  182. package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -0
  183. package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -0
  184. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -0
  185. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -0
  186. package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -0
  187. package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -0
  188. package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -0
  189. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupGlobal.css +1 -0
  190. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -0
  191. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -0
  192. package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +1 -0
  193. package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -0
  194. package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -0
  195. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -0
  196. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -0
  197. package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -0
  198. package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -0
  199. package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -0
  200. package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -0
  201. package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -0
  202. package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -0
  203. package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -0
  204. package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -0
  205. package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -0
  206. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -0
  207. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -0
  208. package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -0
  209. package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -0
  210. package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -0
  211. package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -0
  212. package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -0
  213. package/src/sap/ui/webc/main/thirdparty/css/themes/TapHighlightColor.css +1 -0
  214. package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +1 -0
  215. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -0
  216. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -0
  217. package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -0
  218. package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -0
  219. package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -0
  220. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -0
  221. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.ie11.css +1 -0
  222. package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -0
  223. package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -0
  224. package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -0
  225. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +1 -0
  226. package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -0
  227. package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -0
  228. package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -0
  229. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -0
  230. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
  231. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
  232. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
  233. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
  234. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
  235. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
  236. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -0
  237. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -0
  238. package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +6 -6
  239. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +20 -15
  240. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +8 -1
  241. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +10 -8
  242. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +47 -47
  243. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -1
  244. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -1
  245. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -1
  246. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +2 -2
  247. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -1
  248. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -1
  249. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -1
  250. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -1
  251. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +8 -0
  252. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +6 -5
  253. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -1
  254. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +2 -2
  255. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +3 -3
  256. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
  257. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +2 -2
  258. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +2 -2
  259. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -1
  260. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -1
  261. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +1 -1
  262. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -1
  263. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +3 -3
  264. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +3 -3
  265. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +12 -9
  266. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +2 -2
  267. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -1
  268. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +9 -5
  269. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -1
  270. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -1
  271. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +6 -4
  272. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +2 -2
  273. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -1
  274. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -1
  275. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +3 -3
  276. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +3 -3
  277. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -1
  278. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -1
  279. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +2 -4
  280. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorTemplate.lit.js +1 -1
  281. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +2 -2
  282. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -1
  283. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -1
  284. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -1
  285. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +2 -1
  286. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +3 -3
  287. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -1
  288. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +2 -2
  289. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +3 -3
  290. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +3 -3
  291. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +3 -3
  292. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +3 -3
  293. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +3 -3
  294. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +3 -3
  295. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +3 -3
  296. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +3 -3
  297. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.ie11.css.js +3 -3
  298. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +3 -3
  299. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +3 -3
  300. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +3 -3
  301. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +3 -3
  302. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +3 -3
  303. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +3 -3
  304. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +3 -3
  305. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +3 -3
  306. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +13 -0
  307. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +3 -3
  308. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +3 -3
  309. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +3 -3
  310. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +3 -3
  311. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +3 -3
  312. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +3 -3
  313. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +3 -3
  314. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +3 -3
  315. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +3 -3
  316. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +3 -3
  317. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +3 -3
  318. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +3 -3
  319. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +3 -3
  320. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +3 -3
  321. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +3 -3
  322. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +3 -3
  323. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +3 -3
  324. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +3 -3
  325. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +3 -3
  326. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +3 -3
  327. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +3 -3
  328. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +3 -3
  329. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +3 -3
  330. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +3 -3
  331. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +3 -3
  332. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +3 -3
  333. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +3 -3
  334. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +3 -3
  335. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +3 -3
  336. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +3 -3
  337. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +3 -3
  338. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +13 -0
  339. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +3 -3
  340. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +3 -3
  341. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +3 -3
  342. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +3 -3
  343. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +3 -3
  344. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +3 -3
  345. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +3 -3
  346. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +3 -3
  347. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +3 -3
  348. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +3 -3
  349. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +3 -3
  350. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +3 -3
  351. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +13 -0
  352. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +3 -3
  353. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +3 -3
  354. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +3 -3
  355. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +3 -3
  356. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +3 -3
  357. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +3 -3
  358. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +3 -3
  359. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +3 -3
  360. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +3 -3
  361. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +3 -3
  362. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +13 -0
  363. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +3 -3
  364. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +3 -3
  365. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +3 -3
  366. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +3 -3
  367. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +3 -3
  368. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +3 -3
  369. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +3 -3
  370. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.ie11.css.js +3 -3
  371. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +3 -3
  372. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +3 -3
  373. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +3 -3
  374. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +3 -3
  375. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +3 -3
  376. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +3 -3
  377. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +3 -3
  378. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
  379. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
  380. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
  381. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
  382. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
  383. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
  384. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
  385. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +7 -0
  386. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +7 -0
  387. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-7754de1c.js → messagebundle_ar-f610ffe9.js} +7 -0
  388. package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-041345aa.js → messagebundle_bg-e372ad7a.js} +7 -0
  389. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-df38eb0b.js → messagebundle_ca-64403819.js} +7 -0
  390. package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-51d17321.js → messagebundle_cs-f5276d1f.js} +7 -0
  391. package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-cc129f0c.js → messagebundle_cy-5b51959f.js} +7 -0
  392. package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-bc87b599.js → messagebundle_da-3f0c542a.js} +7 -0
  393. package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-518b0a75.js → messagebundle_de-ff52e292.js} +7 -0
  394. package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-9686b145.js → messagebundle_el-8a8f0e04.js} +7 -0
  395. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-57ad19b6.js → messagebundle_en-39f79920.js} +7 -0
  396. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-588d53e3.js → messagebundle_en_GB-9a6995bc.js} +7 -0
  397. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-e370df7b.js → messagebundle_en_US_sappsd-1cd6f946.js} +7 -0
  398. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-adf0ddb3.js → messagebundle_en_US_saprigi-88214efb.js} +10 -0
  399. package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-261422e2.js → messagebundle_en_US_saptrc-d8b4cc37.js} +7 -0
  400. package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-ec258b44.js → messagebundle_es-4e7804b3.js} +7 -0
  401. package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-5f113e73.js → messagebundle_es_MX-5d55637e.js} +8 -1
  402. package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-901c732b.js → messagebundle_et-d019447e.js} +7 -0
  403. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-0a2a6323.js → messagebundle_fi-115f5a0c.js} +7 -0
  404. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-5df8899a.js → messagebundle_fr-f4458a8c.js} +7 -0
  405. package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-0de6a568.js → messagebundle_fr_CA-d3ac2579.js} +7 -0
  406. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-13e67957.js → messagebundle_hi-3dbf5206.js} +7 -0
  407. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-93fbc1d1.js → messagebundle_hr-3112e358.js} +7 -0
  408. package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-dd94c35e.js → messagebundle_hu-90f77b24.js} +7 -0
  409. package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-0c46ce25.js → messagebundle_it-4fd2c566.js} +7 -0
  410. package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-946df0a2.js → messagebundle_iw-ff53b57b.js} +7 -0
  411. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-9cb333bb.js → messagebundle_ja-050a69c3.js} +7 -0
  412. package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-239d7820.js → messagebundle_kk-597a9724.js} +7 -0
  413. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-6f09e984.js → messagebundle_ko-d840efd8.js} +7 -0
  414. package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-2d4f9935.js → messagebundle_lt-d15c1526.js} +7 -0
  415. package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-d73bf0c0.js → messagebundle_lv-539ad33e.js} +7 -0
  416. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-9b4b2929.js → messagebundle_ms-98b3e6dd.js} +7 -0
  417. package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-55193168.js → messagebundle_nl-5c52e887.js} +7 -0
  418. package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-7f4a6832.js → messagebundle_no-04ee2aaf.js} +7 -0
  419. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-89c36a34.js → messagebundle_pl-6da30702.js} +7 -0
  420. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-b87f9645.js → messagebundle_pt-71f281c3.js} +7 -0
  421. package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-0e8230b0.js → messagebundle_pt_PT-6d966418.js} +7 -0
  422. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-83e7f44d.js → messagebundle_ro-e76a9c5d.js} +7 -0
  423. package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-befd37d0.js → messagebundle_ru-dc34dd79.js} +7 -0
  424. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-4edec182.js → messagebundle_sh-f2171ee6.js} +7 -0
  425. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-29160489.js → messagebundle_sk-5c10a3c8.js} +7 -0
  426. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-fd9ba370.js → messagebundle_sl-14cff3cf.js} +7 -0
  427. package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-57bfda52.js → messagebundle_sv-44a9e5d4.js} +7 -0
  428. package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-184c45a0.js → messagebundle_th-6cbca7a8.js} +7 -0
  429. package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-d5781fbb.js → messagebundle_tr-00ce0f94.js} +7 -0
  430. package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-e49bb47f.js → messagebundle_uk-bf2de1c7.js} +7 -0
  431. package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-ce27847a.js → messagebundle_vi-a0de6aa8.js} +7 -0
  432. package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-bdbfb1bd.js → messagebundle_zh_CN-7cbf9197.js} +7 -0
  433. package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-ca1de535.js → messagebundle_zh_TW-53705d5b.js} +7 -0
  434. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-0f28e359.js +13 -0
  435. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-1ee56435.js +13 -0
  436. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4d4cd873.js +13 -0
  437. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-5bdedee7.js +13 -0
  438. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-60d672db.js +13 -0
  439. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-793a420b.js +13 -0
  440. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7c549d8f.js +13 -0
  441. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7e5617d6.js +13 -0
  442. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e75a0bfb.js +13 -0
  443. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-09f8e92d.js +0 -9
  444. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-19666884.js +0 -9
  445. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-8e7c6ad9.js +0 -9
  446. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb713657.js +0 -9
  447. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dd8f2f47.js +0 -9
  448. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e3a31f8e.js +0 -9
  449. package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e44b2b84.js +0 -9
@@ -1,4 +1,4 @@
1
- sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-down', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/icons/multiselect-all', './MultiComboBoxItem', './Tokenizer', './Token', './Icon', './Popover', './ResponsivePopover', './List', './StandardListItem', './ToggleButton', './ComboBoxFilters-f59100bd', './Button', './generated/i18n/i18n-defaults', './generated/templates/MultiComboBoxTemplate.lit', './generated/templates/MultiComboBoxPopoverTemplate.lit', './generated/themes/MultiComboBox.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css'], function (UI5Element, litRender, ResizeHandler, ValueState, Keys, Integer, slimArrowDown, Device, i18nBundle, decline, multiselectAll, MultiComboBoxItem, Tokenizer, Token, Icon, Popover, ResponsivePopover, List, StandardListItem, ToggleButton, ComboBoxFilters, Button, i18nDefaults, MultiComboBoxTemplate_lit, MultiComboBoxPopoverTemplate_lit, MultiComboBox_css, ResponsivePopoverCommon_css, ValueStateMessage_css) { 'use strict';
1
+ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-down', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/icons/multiselect-all', './MultiComboBoxItem', './Tokenizer', './Token', './Icon', './Popover', './ResponsivePopover', './List', './StandardListItem', './ToggleButton', './ComboBoxFilters-f59100bd', './Button', './generated/i18n/i18n-defaults', './generated/templates/MultiComboBoxTemplate.lit', './generated/templates/MultiComboBoxPopoverTemplate.lit', './generated/themes/MultiComboBox.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css', './generated/themes/Suggestions.css'], function (UI5Element, litRender, ResizeHandler, ValueState, Keys, Integer, slimArrowDown, Device, i18nBundle, decline, multiselectAll, MultiComboBoxItem, Tokenizer, Token, Icon, Popover, ResponsivePopover, List, StandardListItem, ToggleButton, ComboBoxFilters, Button, i18nDefaults, MultiComboBoxTemplate_lit, MultiComboBoxPopoverTemplate_lit, MultiComboBox_css, ResponsivePopoverCommon_css, ValueStateMessage_css, Suggestions_css) { 'use strict';
2
2
 
3
3
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
4
4
 
@@ -82,6 +82,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
82
82
  defaultValue: 0,
83
83
  noAttribute: true,
84
84
  },
85
+ _performingSelectionTwice: {
86
+ type: Boolean,
87
+ },
85
88
  },
86
89
  events: {
87
90
  change: {},
@@ -111,7 +114,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
111
114
  return MultiComboBox_css;
112
115
  }
113
116
  static get staticAreaStyles() {
114
- return [ResponsivePopoverCommon_css, ValueStateMessage_css];
117
+ return [ResponsivePopoverCommon_css, ValueStateMessage_css, Suggestions_css];
115
118
  }
116
119
  static get dependencies() {
117
120
  return [
@@ -132,9 +135,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
132
135
  this._filteredItems = [];
133
136
  this.selectedValues = [];
134
137
  this._inputLastValue = "";
138
+ this._valueBeforeOpen = "";
135
139
  this._deleting = false;
136
140
  this._validationTimeout = null;
137
- this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
138
141
  this._handleResizeBound = this._handleResize.bind(this);
139
142
  }
140
143
  onEnterDOM() {
@@ -149,28 +152,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
149
152
  _inputChange() {
150
153
  this.fireEvent("change");
151
154
  }
152
- _showMorePopover() {
153
- this.filterSelected = true;
154
- this._toggleRespPopover();
155
- }
156
155
  togglePopover() {
157
- if (!Device.isPhone()) {
158
- this._inputDom.focus();
159
- }
160
- this._toggleRespPopover();
156
+ this.allItemsPopover.toggle(this);
157
+ }
158
+ _showFilteredItems() {
159
+ this.filterSelected = true;
160
+ this._showMorePressed = true;
161
+ this.togglePopover();
161
162
  }
162
163
  filterSelectedItems(event) {
163
- if (this.allItemsSelected) {
164
- this.filterSelected = true;
165
- return;
166
- }
167
164
  this.filterSelected = event.target.pressed;
165
+ this.selectedItems = this._filteredItems.filter(item => item.selected);
168
166
  }
169
167
  get _showAllItemsButtonPressed() {
170
- return this.filterSelected || this.allItemsSelected;
171
- }
172
- get allItemsSelected() {
173
- return this.items.length === this.selectedValues.length;
168
+ return this.filterSelected;
174
169
  }
175
170
  get _inputDom() {
176
171
  return this.shadowRoot.querySelector("#ui5-multi-combobox-input");
@@ -180,6 +175,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
180
175
  const value = input.value;
181
176
  const filteredItems = this._filterItems(value);
182
177
  const oldValueState = this.valueState;
178
+ if (this.filterSelected) {
179
+ this.filterSelected = false;
180
+ }
183
181
  const skipFiring = (this._inputDom.value === this.value) && Device.isIE() && !this._keyDown && !!this.placeholder;
184
182
  if (skipFiring) {
185
183
  event.preventDefault();
@@ -192,10 +190,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
192
190
  if (!filteredItems.length && value && !this.allowCustomValues) {
193
191
  input.value = this._inputLastValue;
194
192
  this.valueState = "Error";
195
- this._validationTimeout = setTimeout(() => {
196
- this.valueState = oldValueState;
197
- this._validationTimeout = null;
198
- }, 2000);
193
+ this._resetValueState(oldValueState);
199
194
  return;
200
195
  }
201
196
  this._inputLastValue = input.value;
@@ -258,21 +253,95 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
258
253
  }
259
254
  if (Keys.isShow(event) && !this.readonly && !this.disabled) {
260
255
  event.preventDefault();
261
- this._toggleRespPopover();
256
+ this.togglePopover();
262
257
  }
263
- if (Keys.isDown(event) && this.allItemsPopover.opened && this.items.length) {
264
- event.preventDefault();
265
- await this._getList();
266
- const firstListItem = this.list.items[0];
267
- this.list._itemNavigation.setCurrentItem(firstListItem);
268
- firstListItem.focus();
258
+ if (this.open && (Keys.isUp(event) || Keys.isDown(event))) {
259
+ this._handleArrowNavigation(event);
269
260
  }
270
261
  if (Keys.isBackSpace(event) && event.target.value === "") {
271
262
  event.preventDefault();
272
263
  this._tokenizer._focusLastToken();
273
264
  }
265
+ if (Keys.isEscape(event) && (!this.allowCustomValues || (!this.open && this.allowCustomValues))) {
266
+ this.value = this._lastValue;
267
+ }
268
+ if (Keys.isEnter(event)) {
269
+ this.handleEnter();
270
+ }
274
271
  this._keyDown = true;
275
272
  }
273
+ _onValueStateKeydown(event) {
274
+ const isArrowDown = Keys.isDown(event);
275
+ const isArrowUp = Keys.isUp(event);
276
+ event.preventDefault();
277
+ if (isArrowDown) {
278
+ this._handleArrowDown(event);
279
+ }
280
+ if (isArrowUp) {
281
+ this._inputDom.focus();
282
+ }
283
+ }
284
+ _onItemKeydown(event) {
285
+ const isFirstItem = this.list.items[0] === event.target;
286
+ event.preventDefault();
287
+ if (!Keys.isUp(event) || !isFirstItem) {
288
+ return;
289
+ }
290
+ if (this.valueStateHeader) {
291
+ this.valueStateHeader.focus();
292
+ return;
293
+ }
294
+ this._inputDom.focus();
295
+ }
296
+ async _handleArrowNavigation(event) {
297
+ const isArrowDown = Keys.isDown(event);
298
+ const hasSuggestions = this.allItemsPopover.opened && this.items.length;
299
+ event.preventDefault();
300
+ if (this.hasValueStateMessage && !this.valueStateHeader) {
301
+ await this._setValueStateHeader();
302
+ }
303
+ if (isArrowDown && this.focused && this.valueStateHeader) {
304
+ this.valueStateHeader.focus();
305
+ return;
306
+ }
307
+ if (isArrowDown && this.focused && hasSuggestions) {
308
+ this._handleArrowDown(event);
309
+ }
310
+ }
311
+ _handleArrowDown(event) {
312
+ const firstListItem = this.list.items[0];
313
+ this.list._itemNavigation.setCurrentItem(firstListItem);
314
+ firstListItem.focus();
315
+ }
316
+ handleEnter() {
317
+ const lowerCaseValue = this.value.toLowerCase();
318
+ const matchingItem = this.items.find(item => item.text.toLowerCase() === lowerCaseValue);
319
+ const oldValueState = this.valueState;
320
+ if (matchingItem) {
321
+ if (matchingItem.selected) {
322
+ if (this._validationTimeout) {
323
+ return;
324
+ }
325
+ this.valueState = "Error";
326
+ this._performingSelectionTwice = true;
327
+ this._resetValueState(oldValueState, () => {
328
+ this._performingSelectionTwice = false;
329
+ });
330
+ } else {
331
+ matchingItem.selected = true;
332
+ this.value = "";
333
+ this.fireSelectionChange();
334
+ }
335
+ this.allItemsPopover.close();
336
+ }
337
+ }
338
+ _resetValueState(valueState, callback) {
339
+ this._validationTimeout = setTimeout(() => {
340
+ this.valueState = valueState;
341
+ this._validationTimeout = null;
342
+ callback && callback();
343
+ }, 2000);
344
+ }
276
345
  _onTokenizerKeydown(event) {
277
346
  if (Keys.isRight(event)) {
278
347
  const lastTokenIndex = this._tokenizer.tokens.length - 1;
@@ -286,31 +355,44 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
286
355
  _filterItems(str) {
287
356
  return (ComboBoxFilters.Filters[this.filter] || ComboBoxFilters.StartsWithPerTerm)(str, this.items);
288
357
  }
358
+ _afterOpenPicker() {
359
+ this._toggle();
360
+ if (!Device.isPhone()) {
361
+ this._innerInput.focus();
362
+ } else {
363
+ this.allItemsPopover.focus();
364
+ }
365
+ }
289
366
  _toggle() {
290
367
  this.open = !this.open;
291
368
  this.fireEvent("open-change");
292
- if (!this.open) {
293
- this._afterClosePopover();
294
- }
295
369
  }
296
370
  _getSelectedItems() {
297
371
  this.selectedValues = this.items.filter(item => item.selected);
298
372
  return this.selectedValues;
299
373
  }
300
374
  _listSelectionChange(event) {
301
- event.target.items.forEach(item => {
375
+ this.syncItems(event.target.items);
376
+ if (!Device.isPhone()) {
377
+ this.fireSelectionChange();
378
+ }
379
+ if (!event.detail.selectionComponentPressed && !Keys.isSpace(event.detail)) {
380
+ this.allItemsPopover.close();
381
+ this.value = "";
382
+ if (Device.isPhone()) {
383
+ this.fireSelectionChange();
384
+ }
385
+ this.fireEvent("input");
386
+ }
387
+ }
388
+ syncItems(listItems) {
389
+ listItems.forEach(item => {
302
390
  this.items.forEach(mcbItem => {
303
391
  if (mcbItem._id === item.getAttribute("data-ui5-token-id")) {
304
392
  mcbItem.selected = item.selected;
305
393
  }
306
394
  });
307
395
  });
308
- this.fireSelectionChange();
309
- if (!event.detail.selectionComponentPressed && !Keys.isSpace(event.detail)) {
310
- this.allItemsPopover.close();
311
- this.value = "";
312
- this.fireEvent("input");
313
- }
314
396
  }
315
397
  fireSelectionChange() {
316
398
  this.fireEvent("selection-change", { items: this._getSelectedItems() });
@@ -324,22 +406,32 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
324
406
  const staticAreaItem = await this.getStaticAreaItemDomRef();
325
407
  this.list = staticAreaItem.querySelector(".ui5-multi-combobox-all-items-list");
326
408
  }
327
- _toggleRespPopover() {
328
- this.allItemsPopover.toggle(this);
329
- }
330
409
  _click(event) {
331
- if (Device.isPhone() && !this.readonly && !this._showMorePressed) {
410
+ if (Device.isPhone() && !this.readonly && !this._showMorePressed && !this._deleting) {
332
411
  this.allItemsPopover.showAt(this);
333
412
  }
334
413
  this._showMorePressed = false;
335
414
  }
336
- _afterClosePopover() {
415
+ _afterClosePicker() {
337
416
  if (Device.isPhone()) {
338
417
  this.blur();
339
418
  }
419
+ this._toggle();
340
420
  this._iconPressed = false;
341
421
  this.filterSelected = false;
342
422
  }
423
+ _beforeOpen() {
424
+ this._itemsBeforeOpen = this.items.map(item => {
425
+ return {
426
+ ref: item,
427
+ selected: item.selected,
428
+ };
429
+ });
430
+ this._valueBeforeOpen = this.value;
431
+ if (this.filterSelected) {
432
+ this.selectedItems = this._filteredItems.filter(item => item.selected);
433
+ }
434
+ }
343
435
  onBeforeRendering() {
344
436
  const input = this.shadowRoot.querySelector("input");
345
437
  this._inputLastValue = this.value;
@@ -348,15 +440,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
348
440
  }
349
441
  const filteredItems = this._filterItems(this.value);
350
442
  this._filteredItems = filteredItems;
351
- if (Device.isPhone() && this.allItemsPopover && this.allItemsPopover.opened) {
352
- this.allItemsPopover.focus();
353
- }
354
443
  }
355
444
  async onAfterRendering() {
356
445
  await this._getRespPopover();
357
446
  await this._getList();
358
447
  this.toggle(this.shouldDisplayOnlyValueStateMessage);
359
448
  this.storeResponsivePopoverWidth();
449
+ this._deleting = false;
360
450
  }
361
451
  get _isPhone() {
362
452
  return Device.isPhone();
@@ -376,12 +466,28 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
376
466
  this.closePopover();
377
467
  }
378
468
  }
469
+ handleCancel() {
470
+ this._itemsBeforeOpen.forEach(item => {
471
+ item.ref.selected = item.selected;
472
+ });
473
+ this.togglePopover();
474
+ this.value = this._valueBeforeOpen;
475
+ }
476
+ handleOK() {
477
+ if (Device.isPhone()) {
478
+ this.fireSelectionChange();
479
+ }
480
+ this.togglePopover();
481
+ }
379
482
  async openPopover() {
380
483
  const popover = await this._getPopover();
381
484
  if (popover) {
382
485
  popover.showAt(this);
383
486
  }
384
487
  }
488
+ _forwardFocusToInner() {
489
+ this._innerInput.focus();
490
+ }
385
491
  async closePopover() {
386
492
  const popover = await this._getPopover();
387
493
  popover && popover.close();
@@ -390,24 +496,38 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
390
496
  const staticAreaItem = await this.getStaticAreaItemDomRef();
391
497
  return staticAreaItem.querySelector("[ui5-popover]");
392
498
  }
499
+ async _getResponsivePopover() {
500
+ const staticAreaItem = await this.getStaticAreaItemDomRef();
501
+ return staticAreaItem.querySelector("[ui5-responsive-popover]");
502
+ }
503
+ async _setValueStateHeader() {
504
+ const responsivePopover = await this._getResponsivePopover();
505
+ this.valueStateHeader = responsivePopover.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root");
506
+ }
393
507
  get _tokenizer() {
394
508
  return this.shadowRoot.querySelector("[ui5-tokenizer]");
395
509
  }
396
510
  inputFocusIn() {
397
511
  if (!Device.isPhone()) {
398
512
  this.focused = true;
513
+ } else {
514
+ this._innerInput.blur();
399
515
  }
516
+ this._lastValue = this.value;
400
517
  }
401
518
  inputFocusOut(event) {
402
519
  if (!this.shadowRoot.contains(event.relatedTarget) && !this._deleting) {
403
520
  this.focused = false;
521
+ if (!Device.isPhone() && !this.allowCustomValues && (this.staticAreaItem !== event.relatedTarget)) {
522
+ this.value = "";
523
+ }
404
524
  }
405
525
  }
406
526
  get editable() {
407
527
  return !this.readonly;
408
528
  }
409
529
  get _isFocusInside() {
410
- return this.focused || this._tokenizerFocused;
530
+ return !Device.isPhone() && (this.focused || this._tokenizerFocused);
411
531
  }
412
532
  get selectedItemsListMode() {
413
533
  return this.readonly ? "None" : "MultiSelect";
@@ -422,7 +542,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
422
542
  return this.hasValueState && this.valueState !== ValueState__default.Success;
423
543
  }
424
544
  get valueStateText() {
425
- return this.valueStateTextMappings[this.valueState];
545
+ let key = this.valueState;
546
+ if (this._performingSelectionTwice) {
547
+ key = "Error_Selection";
548
+ }
549
+ return this.valueStateTextMappings[key];
426
550
  }
427
551
  get valueStateTextId() {
428
552
  return this.hasValueState ? `${this._id}-valueStateDesc` : undefined;
@@ -450,9 +574,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
450
574
  }
451
575
  get valueStateTextMappings() {
452
576
  return {
453
- "Success": this.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
454
- "Error": this.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
455
- "Warning": this.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
577
+ "Success": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
578
+ "Error": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
579
+ "Error_Selection": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR_ALREADY_SELECTED),
580
+ "Warning": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
456
581
  };
457
582
  }
458
583
  get _innerInput() {
@@ -464,21 +589,27 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
464
589
  return this.getDomRef().querySelector("#ui5-multi-combobox-input");
465
590
  }
466
591
  get _headerTitleText() {
467
- return this.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_TITLE);
592
+ return MultiComboBox.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_TITLE);
468
593
  }
469
594
  get _iconAccessibleNameText() {
470
- return this.i18nBundle.getText(i18nDefaults.SELECT_OPTIONS);
595
+ return MultiComboBox.i18nBundle.getText(i18nDefaults.SELECT_OPTIONS);
471
596
  }
472
597
  get _dialogOkButton() {
473
- return this.i18nBundle.getText(i18nDefaults.MULTICOMBOBOX_DIALOG_OK_BUTTON);
598
+ return MultiComboBox.i18nBundle.getText(i18nDefaults.MULTICOMBOBOX_DIALOG_OK_BUTTON);
474
599
  }
475
600
  get _tokenizerExpanded() {
476
601
  return (this._isFocusInside || this.open) && !this.readonly;
477
602
  }
478
603
  get classes() {
479
604
  return {
605
+ popover: {
606
+ "ui5-multi-combobox-all-items-responsive-popover": true,
607
+ "ui5-suggestions-popover": !this.isPhone,
608
+ "ui5-suggestions-popover-with-value-state-header": !this.isPhone && this.hasValueStateMessage,
609
+ },
480
610
  popoverValueState: {
481
611
  "ui5-valuestatemessage-root": true,
612
+ "ui5-valuestatemessage-header": true,
482
613
  "ui5-valuestatemessage--success": this.valueState === ValueState__default.Success,
483
614
  "ui5-valuestatemessage--error": this.valueState === ValueState__default.Error,
484
615
  "ui5-valuestatemessage--warning": this.valueState === ValueState__default.Warning,
@@ -491,15 +622,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
491
622
  popoverValueStateMessage: {
492
623
  "width": `${this._listWidth}px`,
493
624
  "display": this._listWidth === 0 ? "none" : "inline-block",
494
- "padding": "0.9125rem 1rem",
495
625
  },
496
626
  popoverHeader: {
497
- "max-width": `${this._inputWidth}px`,
627
+ "max-width": Device.isPhone() ? "100%" : `${this._inputWidth}px`,
498
628
  },
499
629
  };
500
630
  }
501
631
  static async onDefine() {
502
- await i18nBundle.fetchI18nBundle("@ui5/webcomponents");
632
+ MultiComboBox.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
503
633
  }
504
634
  }
505
635
  MultiComboBox.define();
@@ -165,7 +165,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/u
165
165
  };
166
166
  }
167
167
  get ariaRoleDescription() {
168
- return this.i18nBundle.getText(i18nDefaults.MULTIINPUT_ROLEDESCRIPTION_TEXT);
168
+ return MultiInput.i18nBundle.getText(i18nDefaults.MULTIINPUT_ROLEDESCRIPTION_TEXT);
169
169
  }
170
170
  static get dependencies() {
171
171
  return [
@@ -85,7 +85,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
85
85
  constructor() {
86
86
  super();
87
87
  this._header = {};
88
- this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
89
88
  }
90
89
  onBeforeRendering() {
91
90
  if (!this._animationRunning) {
@@ -173,7 +172,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
173
172
  };
174
173
  }
175
174
  get toggleButtonTitle() {
176
- return this.i18nBundle.getText(i18nDefaults.PANEL_ICON);
175
+ return Panel.i18nBundle.getText(i18nDefaults.PANEL_ICON);
177
176
  }
178
177
  get expanded() {
179
178
  return !this.collapsed;
@@ -230,7 +229,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
230
229
  return [Button];
231
230
  }
232
231
  static async onDefine() {
233
- await i18nBundle.fetchI18nBundle("@ui5/webcomponents");
232
+ Panel.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
234
233
  }
235
234
  }
236
235
  Panel.define();
@@ -54,7 +54,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
54
54
  type: PopoverPlacementType,
55
55
  defaultValue: PopoverPlacementType.Right,
56
56
  },
57
- _maxContentHeight: { type: Integer__default },
57
+ _maxContentHeight: {
58
+ type: Integer__default,
59
+ noAttribute: true,
60
+ },
61
+ _maxContentWidth: {
62
+ type: Integer__default,
63
+ noAttribute: true,
64
+ },
58
65
  },
59
66
  managedSlots: true,
60
67
  slots: {
@@ -82,7 +89,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
82
89
  static get template() {
83
90
  return PopoverTemplate_lit;
84
91
  }
85
- static get MIN_OFFSET() {
92
+ static get VIEWPORT_MARGIN() {
86
93
  return 10;
87
94
  }
88
95
  onEnterDOM() {
@@ -159,40 +166,47 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
159
166
  if (this._preventRepositionAndClose) {
160
167
  return this.close();
161
168
  }
162
- if (this._oldPlacement && (this._oldPlacement.left === placement.left) && (this._oldPlacement.top === placement.top) && stretching) {
163
- super._show();
164
- this.style.width = this._width;
165
- return;
166
- }
167
169
  this._oldPlacement = placement;
168
- const left = clamp__default(
170
+ this.actualPlacementType = placement.placementType;
171
+ let left = clamp__default(
169
172
  this._left,
170
- Popover.MIN_OFFSET,
171
- document.documentElement.clientWidth - popoverSize.width - Popover.MIN_OFFSET,
173
+ Popover.VIEWPORT_MARGIN,
174
+ document.documentElement.clientWidth - popoverSize.width - Popover.VIEWPORT_MARGIN,
172
175
  );
173
- const top = clamp__default(
176
+ if (this.actualPlacementType === PopoverPlacementType.Right) {
177
+ left = Math.max(left, this._left);
178
+ }
179
+ let top = clamp__default(
174
180
  this._top,
175
- Popover.MIN_OFFSET,
176
- document.documentElement.clientHeight - popoverSize.height - Popover.MIN_OFFSET,
181
+ Popover.VIEWPORT_MARGIN,
182
+ document.documentElement.clientHeight - popoverSize.height - Popover.VIEWPORT_MARGIN,
177
183
  );
184
+ if (this.actualPlacementType === PopoverPlacementType.Bottom) {
185
+ top = Math.max(top, this._top);
186
+ }
178
187
  let { arrowX, arrowY } = placement;
179
- const popoverOnLeftBorder = this._left === 0;
180
- const popoverOnRightBorder = this._left + popoverSize.width >= document.documentElement.clientWidth;
181
- if (popoverOnLeftBorder) {
182
- arrowX -= Popover.MIN_OFFSET;
183
- } else if (popoverOnRightBorder) {
184
- arrowX += Popover.MIN_OFFSET;
188
+ const isVertical = this.actualPlacementType === PopoverPlacementType.Top
189
+ || this.actualPlacementType === PopoverPlacementType.Bottom;
190
+ if (isVertical) {
191
+ const popoverOnLeftBorderOffset = Popover.VIEWPORT_MARGIN - this._left;
192
+ const popoverOnRightBorderOffset = this._left + popoverSize.width + Popover.VIEWPORT_MARGIN - document.documentElement.clientWidth;
193
+ if (popoverOnLeftBorderOffset > 0) {
194
+ arrowX -= popoverOnLeftBorderOffset;
195
+ } else if (popoverOnRightBorderOffset > 0) {
196
+ arrowX += popoverOnRightBorderOffset;
197
+ }
185
198
  }
186
- this.arrowTranslateX = arrowX;
187
- const popoverOnTopBorder = this._top === 0;
188
- const popoverOnBottomBorder = this._top + popoverSize.height >= document.documentElement.clientHeight;
189
- if (popoverOnTopBorder) {
190
- arrowY -= Popover.MIN_OFFSET;
191
- } else if (popoverOnBottomBorder) {
192
- arrowY += Popover.MIN_OFFSET;
199
+ this.arrowTranslateX = Math.round(arrowX);
200
+ if (!isVertical) {
201
+ const popoverOnTopBorderOffset = Popover.VIEWPORT_MARGIN - this._top;
202
+ const popoverOnBottomBorderOffset = this._top + popoverSize.height + Popover.VIEWPORT_MARGIN - document.documentElement.clientHeight;
203
+ if (popoverOnTopBorderOffset > 0) {
204
+ arrowY -= popoverOnTopBorderOffset;
205
+ } else if (popoverOnBottomBorderOffset > 0) {
206
+ arrowY += popoverOnBottomBorderOffset;
207
+ }
193
208
  }
194
- this.arrowTranslateY = arrowY;
195
- this.actualPlacementType = placement.placementType;
209
+ this.arrowTranslateY = Math.round(arrowY);
196
210
  Object.assign(this.style, {
197
211
  top: `${top}px`,
198
212
  left: `${left}px`,
@@ -228,6 +242,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
228
242
  const clientWidth = document.documentElement.clientWidth;
229
243
  const clientHeight = document.documentElement.clientHeight;
230
244
  let maxHeight = clientHeight;
245
+ let maxWidth = clientWidth;
231
246
  let width = "";
232
247
  let height = "";
233
248
  const placementType = this.getActualPlacementType(targetRect, popoverSize);
@@ -264,12 +279,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
264
279
  case PopoverPlacementType.Left:
265
280
  left = Math.max(targetRect.left - popoverSize.width - arrowOffset, 0);
266
281
  top = this.getHorizontalTop(targetRect, popoverSize);
282
+ if (!allowTargetOverlap) {
283
+ maxWidth = targetRect.left - arrowOffset;
284
+ }
267
285
  break;
268
286
  case PopoverPlacementType.Right:
269
287
  if (allowTargetOverlap) {
270
288
  left = Math.max(Math.min(targetRect.left + targetRect.width + arrowOffset, clientWidth - popoverSize.width), 0);
271
289
  } else {
272
290
  left = targetRect.left + targetRect.width + arrowOffset;
291
+ maxWidth = clientWidth - targetRect.right - arrowOffset;
273
292
  }
274
293
  top = this.getHorizontalTop(targetRect, popoverSize);
275
294
  break;
@@ -287,15 +306,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
287
306
  top -= top + popoverSize.height - clientHeight;
288
307
  }
289
308
  }
290
- let maxContentHeight = Math.round(maxHeight);
309
+ let maxContentHeight = maxHeight;
291
310
  if (this._displayHeader) {
292
311
  const headerDomRef = this.shadowRoot.querySelector(".ui5-popup-header-root")
293
312
  || this.shadowRoot.querySelector(".ui5-popup-header-text");
294
313
  if (headerDomRef) {
295
- maxContentHeight = Math.round(maxHeight - headerDomRef.offsetHeight);
314
+ maxContentHeight = maxHeight - headerDomRef.offsetHeight;
296
315
  }
297
316
  }
298
- this._maxContentHeight = maxContentHeight - Popover.MIN_OFFSET;
317
+ this._maxContentHeight = Math.round(maxContentHeight - Popover.VIEWPORT_MARGIN);
318
+ this._maxContentWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);
299
319
  const arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical);
300
320
  if (this._left === undefined || Math.abs(this._left - left) > 1.5) {
301
321
  this._left = Math.round(left);
@@ -426,6 +446,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
426
446
  ...super.styles,
427
447
  content: {
428
448
  "max-height": `${this._maxContentHeight}px`,
449
+ "max-width": `${this._maxContentWidth}px`,
429
450
  },
430
451
  arrow: {
431
452
  transform: `translate(${this.arrowTranslateX}px, ${this.arrowTranslateY}px)`,