@openui5/sap.ui.webc.main 1.111.0 → 1.112.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/package.json +3 -3
  2. package/src/sap/ui/webc/main/.library +1 -1
  3. package/src/sap/ui/webc/main/Avatar.js +1 -1
  4. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  5. package/src/sap/ui/webc/main/Badge.js +1 -1
  6. package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
  7. package/src/sap/ui/webc/main/BreadcrumbsItem.js +1 -1
  8. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  9. package/src/sap/ui/webc/main/Button.js +1 -1
  10. package/src/sap/ui/webc/main/Calendar.js +1 -1
  11. package/src/sap/ui/webc/main/CalendarDate.js +1 -1
  12. package/src/sap/ui/webc/main/Card.js +1 -1
  13. package/src/sap/ui/webc/main/CardHeader.js +1 -1
  14. package/src/sap/ui/webc/main/Carousel.js +1 -1
  15. package/src/sap/ui/webc/main/CheckBox.js +1 -1
  16. package/src/sap/ui/webc/main/ColorPalette.js +1 -1
  17. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  18. package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
  19. package/src/sap/ui/webc/main/ColorPicker.js +1 -1
  20. package/src/sap/ui/webc/main/ComboBox.js +1 -1
  21. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
  22. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  23. package/src/sap/ui/webc/main/CustomListItem.js +1 -1
  24. package/src/sap/ui/webc/main/DatePicker.js +2 -2
  25. package/src/sap/ui/webc/main/DateRangePicker.js +2 -2
  26. package/src/sap/ui/webc/main/DateTimePicker.js +2 -2
  27. package/src/sap/ui/webc/main/Dialog.js +1 -1
  28. package/src/sap/ui/webc/main/FileUploader.js +1 -1
  29. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  30. package/src/sap/ui/webc/main/Icon.js +5 -11
  31. package/src/sap/ui/webc/main/Input.js +1 -1
  32. package/src/sap/ui/webc/main/Label.js +1 -1
  33. package/src/sap/ui/webc/main/Link.js +1 -1
  34. package/src/sap/ui/webc/main/List.js +1 -1
  35. package/src/sap/ui/webc/main/Menu.js +1 -1
  36. package/src/sap/ui/webc/main/MenuItem.js +1 -1
  37. package/src/sap/ui/webc/main/MessageStrip.js +1 -1
  38. package/src/sap/ui/webc/main/MultiComboBox.js +1 -1
  39. package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
  40. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  41. package/src/sap/ui/webc/main/MultiInput.js +1 -1
  42. package/src/sap/ui/webc/main/Option.js +1 -1
  43. package/src/sap/ui/webc/main/Panel.js +1 -1
  44. package/src/sap/ui/webc/main/Popover.js +1 -1
  45. package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
  46. package/src/sap/ui/webc/main/RadioButton.js +1 -1
  47. package/src/sap/ui/webc/main/RangeSlider.js +1 -1
  48. package/src/sap/ui/webc/main/RatingIndicator.js +1 -1
  49. package/src/sap/ui/webc/main/ResponsivePopover.js +1 -1
  50. package/src/sap/ui/webc/main/SegmentedButton.js +1 -1
  51. package/src/sap/ui/webc/main/SegmentedButtonItem.js +1 -1
  52. package/src/sap/ui/webc/main/Select.js +1 -1
  53. package/src/sap/ui/webc/main/Slider.js +1 -1
  54. package/src/sap/ui/webc/main/SplitButton.js +1 -1
  55. package/src/sap/ui/webc/main/StandardListItem.js +1 -1
  56. package/src/sap/ui/webc/main/StepInput.js +1 -1
  57. package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
  58. package/src/sap/ui/webc/main/SuggestionItem.js +1 -1
  59. package/src/sap/ui/webc/main/Switch.js +1 -1
  60. package/src/sap/ui/webc/main/Tab.js +1 -1
  61. package/src/sap/ui/webc/main/TabContainer.js +1 -1
  62. package/src/sap/ui/webc/main/TabSeparator.js +1 -1
  63. package/src/sap/ui/webc/main/Table.js +1 -1
  64. package/src/sap/ui/webc/main/TableCell.js +1 -1
  65. package/src/sap/ui/webc/main/TableColumn.js +1 -1
  66. package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
  67. package/src/sap/ui/webc/main/TableRow.js +1 -1
  68. package/src/sap/ui/webc/main/TextArea.js +1 -1
  69. package/src/sap/ui/webc/main/TimePicker.js +2 -2
  70. package/src/sap/ui/webc/main/Title.js +1 -1
  71. package/src/sap/ui/webc/main/Toast.js +1 -1
  72. package/src/sap/ui/webc/main/ToggleButton.js +1 -1
  73. package/src/sap/ui/webc/main/Token.js +1 -1
  74. package/src/sap/ui/webc/main/Tree.js +1 -1
  75. package/src/sap/ui/webc/main/TreeItem.js +1 -1
  76. package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
  77. package/src/sap/ui/webc/main/library.config.js +6 -0
  78. package/src/sap/ui/webc/main/library.js +2 -2
  79. package/src/sap/ui/webc/main/thirdparty/Avatar.js +7 -51
  80. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +34 -100
  81. package/src/sap/ui/webc/main/thirdparty/Badge.js +4 -23
  82. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +43 -145
  83. package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +4 -17
  84. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +7 -36
  85. package/src/sap/ui/webc/main/thirdparty/Button.js +6 -73
  86. package/src/sap/ui/webc/main/thirdparty/Calendar.js +19 -74
  87. package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +2 -8
  88. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +1 -29
  89. package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +6 -26
  90. package/src/sap/ui/webc/main/thirdparty/Card.js +5 -26
  91. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +4 -47
  92. package/src/sap/ui/webc/main/thirdparty/Carousel.js +17 -107
  93. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +9 -63
  94. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +5 -83
  95. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +4 -26
  96. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +7 -41
  97. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +51 -123
  98. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +24 -212
  99. package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +5 -18
  100. package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +2 -9
  101. package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +3 -20
  102. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -25
  103. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +28 -127
  104. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +20 -85
  105. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +20 -66
  106. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +32 -158
  107. package/src/sap/ui/webc/main/thirdparty/Dialog.js +18 -104
  108. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +11 -56
  109. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +9 -83
  110. package/src/sap/ui/webc/main/thirdparty/Filters.js +0 -9
  111. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -20
  112. package/src/sap/ui/webc/main/thirdparty/Icon.js +8 -53
  113. package/src/sap/ui/webc/main/thirdparty/Input.js +75 -273
  114. package/src/sap/ui/webc/main/thirdparty/Interfaces.js +19 -20
  115. package/src/sap/ui/webc/main/thirdparty/Label.js +5 -21
  116. package/src/sap/ui/webc/main/thirdparty/Link.js +5 -48
  117. package/src/sap/ui/webc/main/thirdparty/List.js +33 -183
  118. package/src/sap/ui/webc/main/thirdparty/ListItem.js +10 -76
  119. package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +5 -37
  120. package/src/sap/ui/webc/main/thirdparty/Menu.js +8 -91
  121. package/src/sap/ui/webc/main/thirdparty/MenuItem.js +3 -21
  122. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +4 -34
  123. package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +12 -61
  124. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +25 -299
  125. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +5 -18
  126. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +2 -9
  127. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +10 -71
  128. package/src/sap/ui/webc/main/thirdparty/Option.js +5 -22
  129. package/src/sap/ui/webc/main/thirdparty/Panel.js +4 -62
  130. package/src/sap/ui/webc/main/thirdparty/Popover.js +28 -143
  131. package/src/sap/ui/webc/main/thirdparty/Popup.js +20 -118
  132. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +6 -38
  133. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +8 -76
  134. package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +8 -54
  135. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +79 -170
  136. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +6 -49
  137. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -35
  138. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +9 -57
  139. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +2 -15
  140. package/src/sap/ui/webc/main/thirdparty/Select.js +15 -131
  141. package/src/sap/ui/webc/main/thirdparty/Slider.js +24 -65
  142. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +74 -164
  143. package/src/sap/ui/webc/main/thirdparty/SplitButton.js +6 -67
  144. package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +3 -25
  145. package/src/sap/ui/webc/main/thirdparty/StepInput.js +12 -106
  146. package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +5 -17
  147. package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +4 -22
  148. package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +2 -12
  149. package/src/sap/ui/webc/main/thirdparty/Switch.js +6 -41
  150. package/src/sap/ui/webc/main/thirdparty/Tab.js +6 -83
  151. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +39 -259
  152. package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +2 -17
  153. package/src/sap/ui/webc/main/thirdparty/Table.js +25 -185
  154. package/src/sap/ui/webc/main/thirdparty/TableCell.js +4 -18
  155. package/src/sap/ui/webc/main/thirdparty/TableColumn.js +4 -18
  156. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +5 -28
  157. package/src/sap/ui/webc/main/thirdparty/TableRow.js +7 -81
  158. package/src/sap/ui/webc/main/thirdparty/TextArea.js +7 -97
  159. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +3 -16
  160. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +14 -93
  161. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +7 -95
  162. package/src/sap/ui/webc/main/thirdparty/Title.js +4 -22
  163. package/src/sap/ui/webc/main/thirdparty/Toast.js +8 -31
  164. package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +2 -14
  165. package/src/sap/ui/webc/main/thirdparty/Token.js +4 -36
  166. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -117
  167. package/src/sap/ui/webc/main/thirdparty/Tree.js +7 -53
  168. package/src/sap/ui/webc/main/thirdparty/TreeItem.js +4 -22
  169. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +5 -45
  170. package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +6 -93
  171. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +22 -72
  172. package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +0 -8
  173. package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +2 -19
  174. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +24 -165
  175. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +0 -16
  176. package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +0 -52
  177. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +1 -4
  178. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +1 -7
  179. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -3
  180. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +1 -3
  181. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +1 -4
  182. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -5
  183. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +1 -4
  184. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +1 -4
  185. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -2
  186. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +1 -7
  187. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -3
  188. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -11
  189. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -5
  190. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +1 -2
  191. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -2
  192. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +1 -3
  193. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +1 -7
  194. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -2
  195. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +1 -18
  196. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +1 -5
  197. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +1 -11
  198. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -5
  199. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +1 -4
  200. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -7
  201. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +1 -11
  202. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +1 -7
  203. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +1 -6
  204. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -5
  205. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -2
  206. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +1 -4
  207. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +1 -22
  208. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -7
  209. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +1 -2
  210. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +1 -3
  211. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +1 -11
  212. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +1 -10
  213. package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +1 -10
  214. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +1 -6
  215. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +1 -4
  216. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +1 -25
  217. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +1 -7
  218. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -11
  219. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +1 -7
  220. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +1 -7
  221. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +1 -2
  222. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +1 -2
  223. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +1 -12
  224. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -5
  225. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -11
  226. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +1 -11
  227. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +1 -14
  228. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +1 -3
  229. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +1 -2
  230. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +1 -18
  231. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -4
  232. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +1 -9
  233. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -10
  234. package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +1 -2
  235. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +1 -19
  236. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +1 -5
  237. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +1 -22
  238. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -6
  239. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +1 -3
  240. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -11
  241. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +1 -6
  242. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +1 -9
  243. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +1 -2
  244. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +1 -2
  245. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +1 -3
  246. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +1 -2
  247. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +1 -2
  248. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +1 -2
  249. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +1 -10
  250. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +1 -11
  251. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +1 -6
  252. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +1 -6
  253. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -2
  254. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -4
  255. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -6
  256. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +1 -8
  257. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +1 -3
  258. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +1 -4
  259. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +1 -5
  260. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +1 -7
  261. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +1 -4
  262. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +1 -16
  263. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -3
  264. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +1 -5
  265. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +1 -4
  266. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +0 -2
  267. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +0 -2
  268. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +0 -2
  269. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +0 -2
  270. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +0 -2
  271. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +0 -2
  272. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +0 -2
  273. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +0 -2
  274. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +0 -2
  275. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +0 -2
  276. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +0 -2
  277. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +0 -2
  278. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +0 -2
  279. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +0 -2
  280. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +0 -2
  281. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +0 -2
  282. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +0 -2
  283. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +0 -2
  284. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +0 -2
  285. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +0 -2
  286. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +0 -2
  287. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +0 -2
  288. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +0 -2
  289. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +0 -2
  290. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +0 -2
  291. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +0 -2
  292. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +0 -2
  293. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +0 -2
  294. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +0 -2
  295. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +0 -2
  296. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +0 -2
  297. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +0 -2
  298. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +0 -2
  299. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +0 -2
  300. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +0 -2
  301. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +0 -2
  302. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +0 -2
  303. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +0 -2
  304. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +0 -2
  305. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +0 -2
  306. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +0 -2
  307. package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +0 -2
  308. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +0 -2
  309. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +0 -2
  310. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +0 -2
  311. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +0 -2
  312. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +0 -2
  313. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +0 -2
  314. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +0 -2
  315. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +0 -2
  316. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +0 -2
  317. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +0 -2
  318. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +0 -2
  319. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +0 -2
  320. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +0 -2
  321. package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +0 -2
  322. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +0 -2
  323. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +0 -2
  324. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +0 -2
  325. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +0 -2
  326. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +0 -2
  327. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +0 -2
  328. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +0 -2
  329. package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +0 -2
  330. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +0 -2
  331. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +0 -2
  332. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +0 -2
  333. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +0 -2
  334. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +0 -2
  335. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +0 -2
  336. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +0 -2
  337. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +0 -2
  338. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +0 -2
  339. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +0 -2
  340. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +0 -2
  341. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +0 -2
  342. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +0 -2
  343. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +0 -2
  344. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +0 -2
  345. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +0 -2
  346. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +0 -2
  347. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +0 -2
  348. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +0 -2
  349. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +0 -2
  350. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +0 -2
  351. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +0 -2
  352. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +0 -2
  353. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +0 -2
  354. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +0 -2
  355. package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +0 -2
  356. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +0 -2
  357. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -2
  358. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +0 -2
  359. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +0 -2
  360. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +0 -2
  361. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +0 -12
  362. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +4 -33
  363. package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +0 -26
  364. package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +1 -15
  365. package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +1 -6
  366. package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +1 -6
  367. package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +1 -9
  368. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +1 -6
  369. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +1 -10
  370. package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +1 -7
  371. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +1 -10
  372. package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +1 -7
  373. package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +1 -6
  374. package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +1 -7
  375. package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +1 -9
  376. package/src/sap/ui/webc/main/thirdparty/types/InputType.js +1 -10
  377. package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +1 -7
  378. package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +1 -7
  379. package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +1 -7
  380. package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +1 -11
  381. package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +1 -7
  382. package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +1 -8
  383. package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +1 -7
  384. package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +1 -8
  385. package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +1 -8
  386. package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +1 -8
  387. package/src/sap/ui/webc/main/thirdparty/types/Priority.js +1 -8
  388. package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +1 -9
  389. package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +1 -6
  390. package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +1 -6
  391. package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +1 -6
  392. package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +1 -7
  393. package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +1 -7
  394. package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +1 -6
  395. package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +1 -6
  396. package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +1 -10
  397. package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +1 -13
  398. package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +1 -6
  399. package/ui5.yaml +1 -1
@@ -12,9 +12,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
12
12
  _RatingIndicatorTemplate = _interopRequireDefault(_RatingIndicatorTemplate);
13
13
  _Icon = _interopRequireDefault(_Icon);
14
14
  _RatingIndicator = _interopRequireDefault(_RatingIndicator);
15
-
16
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
16
  // Styles
19
17
 
20
18
  /**
@@ -23,9 +21,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
23
21
  const metadata = {
24
22
  tag: "ui5-rating-indicator",
25
23
  languageAware: true,
26
- properties:
27
- /** @lends sap.ui.webcomponents.main.RatingIndicator.prototype */
28
- {
24
+ properties: /** @lends sap.ui.webcomponents.main.RatingIndicator.prototype */{
29
25
  /**
30
26
  * The indicated value of the rating.
31
27
  * <br><br>
@@ -43,7 +39,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
43
39
  type: _Float.default,
44
40
  defaultValue: 0
45
41
  },
46
-
47
42
  /**
48
43
  * The number of displayed rating symbols.
49
44
  * @type {Integer}
@@ -55,7 +50,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
55
50
  type: _Integer.default,
56
51
  defaultValue: 5
57
52
  },
58
-
59
53
  /**
60
54
  * Defines whether the component is disabled.
61
55
  *
@@ -68,7 +62,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
68
62
  disabled: {
69
63
  type: Boolean
70
64
  },
71
-
72
65
  /**
73
66
  * Defines whether the component is read-only.
74
67
  * <br><br>
@@ -82,7 +75,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
82
75
  readonly: {
83
76
  type: Boolean
84
77
  },
85
-
86
78
  /**
87
79
  * Defines the accessible aria name of the component.
88
80
  *
@@ -95,7 +87,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
95
87
  type: String,
96
88
  defaultValue: undefined
97
89
  },
98
-
99
90
  /**
100
91
  * @private
101
92
  */
@@ -103,7 +94,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
103
94
  type: Object,
104
95
  multiple: true
105
96
  },
106
-
107
97
  /**
108
98
  * @private
109
99
  */
@@ -111,13 +101,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
111
101
  type: Boolean
112
102
  }
113
103
  },
114
- slots:
115
- /** @lends sap.ui.webcomponents.main.RatingIndicator.prototype */
116
- {//
104
+ slots: /** @lends sap.ui.webcomponents.main.RatingIndicator.prototype */{
105
+ //
117
106
  },
118
- events:
119
- /** @lends sap.ui.webcomponents.main.RatingIndicator.prototype */
120
- {
107
+ events: /** @lends sap.ui.webcomponents.main.RatingIndicator.prototype */{
121
108
  /**
122
109
  * The event is fired when the value changes.
123
110
  *
@@ -127,6 +114,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
127
114
  change: {}
128
115
  }
129
116
  };
117
+
130
118
  /**
131
119
  * @class
132
120
  *
@@ -168,32 +156,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
168
156
  * @public
169
157
  * @since 1.0.0-rc.8
170
158
  */
171
-
172
159
  class RatingIndicator extends _UI5Element.default {
173
160
  static get metadata() {
174
161
  return metadata;
175
162
  }
176
-
177
163
  static get render() {
178
164
  return _LitRenderer.default;
179
165
  }
180
-
181
166
  static get styles() {
182
167
  return _RatingIndicator.default;
183
168
  }
184
-
185
169
  static get template() {
186
170
  return _RatingIndicatorTemplate.default;
187
171
  }
188
-
189
172
  static async onDefine() {
190
173
  RatingIndicator.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
191
174
  }
192
-
193
175
  static get dependencies() {
194
176
  return [_Icon.default];
195
177
  }
196
-
197
178
  constructor() {
198
179
  super();
199
180
  this._liveValue = null; // stores the value to determine when to fire change
@@ -202,15 +183,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
202
183
  onBeforeRendering() {
203
184
  this.calcState();
204
185
  }
205
-
206
186
  calcState() {
207
187
  this._stars = [];
208
-
209
188
  for (let i = 1; i < this.max + 1; i++) {
210
189
  const remainder = Math.round((this.value - Math.floor(this.value)) * 10);
211
190
  let halfStar = false,
212
- tempValue = this.value;
213
-
191
+ tempValue = this.value;
214
192
  if (Math.floor(this.value) + 1 === i && remainder > 2 && remainder < 8) {
215
193
  halfStar = true;
216
194
  } else if (remainder <= 2) {
@@ -218,7 +196,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
218
196
  } else if (remainder >= 8) {
219
197
  tempValue = Math.ceil(this.value);
220
198
  }
221
-
222
199
  this._stars.push({
223
200
  selected: i <= tempValue,
224
201
  index: i,
@@ -226,39 +203,31 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
226
203
  });
227
204
  }
228
205
  }
229
-
230
206
  _onclick(event) {
231
207
  if (this.disabled || this.readonly) {
232
208
  return;
233
209
  }
234
-
235
210
  this.value = parseInt(event.target.getAttribute("data-ui5-value"));
236
-
237
211
  if (this.value === 1 && this._liveValue === 1) {
238
212
  this.value = 0;
239
213
  }
240
-
241
214
  if (this._liveValue !== this.value) {
242
215
  this.fireEvent("change");
243
216
  this._liveValue = this.value;
244
217
  }
245
218
  }
246
-
247
219
  _onkeydown(event) {
248
220
  if (this.disabled || this.readonly) {
249
221
  return;
250
222
  }
251
-
252
223
  const isDecrease = (0, _Keys.isDown)(event) || (0, _Keys.isLeft)(event);
253
224
  const isIncrease = (0, _Keys.isRight)(event) || (0, _Keys.isUp)(event);
254
225
  const isIncreaseWithReset = (0, _Keys.isSpace)(event) || (0, _Keys.isEnter)(event);
255
226
  const isMin = (0, _Keys.isHome)(event);
256
227
  const isMax = (0, _Keys.isEnd)(event);
257
228
  const isNumber = event.keyCode >= 48 && event.keyCode <= 57 || event.keyCode >= 96 && event.keyCode <= 105;
258
-
259
229
  if (isDecrease || isIncrease || isIncreaseWithReset || isMin || isMax || isNumber) {
260
230
  event.preventDefault();
261
-
262
231
  if (isDecrease && this.value > 0) {
263
232
  this.value = Math.round(this.value - 1);
264
233
  } else if (isIncrease && this.value < this.max) {
@@ -274,50 +243,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
274
243
  const pressedNumber = parseInt(event.key);
275
244
  this.value = pressedNumber > this.max ? this.max : pressedNumber;
276
245
  }
277
-
278
246
  this.fireEvent("change");
279
247
  }
280
248
  }
281
-
282
249
  _onfocusin() {
283
250
  if (this.disabled) {
284
251
  return;
285
252
  }
286
-
287
253
  this._focused = true;
288
254
  this._liveValue = this.value;
289
255
  }
290
-
291
256
  _onfocusout() {
292
257
  this._focused = false;
293
258
  }
294
-
295
259
  get tabIndex() {
296
260
  return this.disabled ? "-1" : "0";
297
261
  }
298
-
299
262
  get tooltip() {
300
263
  return this.getAttribute("title") || this.defaultTooltip;
301
264
  }
302
-
303
265
  get defaultTooltip() {
304
266
  return RatingIndicator.i18nBundle.getText(_i18nDefaults.RATING_INDICATOR_TOOLTIP_TEXT);
305
267
  }
306
-
307
268
  get _ariaRoleDescription() {
308
269
  return RatingIndicator.i18nBundle.getText(_i18nDefaults.RATING_INDICATOR_TEXT);
309
270
  }
310
-
311
271
  get _ariaDisabled() {
312
272
  return this.disabled || undefined;
313
273
  }
314
-
315
274
  get ariaReadonly() {
316
275
  return this.readonly ? "true" : undefined;
317
276
  }
318
-
319
277
  }
320
-
321
278
  RatingIndicator.define();
322
279
  var _default = RatingIndicator;
323
280
  _exports.default = _default;
@@ -11,9 +11,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
11
11
  _Button = _interopRequireDefault(_Button);
12
12
  _Title = _interopRequireDefault(_Title);
13
13
  _ResponsivePopover = _interopRequireDefault(_ResponsivePopover);
14
-
15
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
-
17
15
  // Styles
18
16
 
19
17
  /**
@@ -21,9 +19,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
21
19
  */
22
20
  const metadata = {
23
21
  tag: "ui5-responsive-popover",
24
- properties:
25
- /** @lends sap.ui.webcomponents.main.ResponsivePopover.prototype */
26
- {
22
+ properties: /** @lends sap.ui.webcomponents.main.ResponsivePopover.prototype */{
27
23
  /**
28
24
  * Defines if only the content would be displayed (without header and footer) in the popover on Desktop.
29
25
  * By default both the header and footer would be displayed.
@@ -32,7 +28,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
32
28
  contentOnlyOnDesktop: {
33
29
  type: Boolean
34
30
  },
35
-
36
31
  /**
37
32
  * Used internaly for controls which must not have header.
38
33
  * @private
@@ -40,7 +35,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
40
35
  _hideHeader: {
41
36
  type: Boolean
42
37
  },
43
-
44
38
  /**
45
39
  * Defines whether a close button will be rendered in the header of the component
46
40
  * <b>Note:</b> If you are using the <code>header</code> slot, this property will have no effect
@@ -55,6 +49,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
55
49
  }
56
50
  }
57
51
  };
52
+
58
53
  /**
59
54
  * @class
60
55
  *
@@ -84,20 +79,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
84
79
  * @since 1.0.0-rc.6
85
80
  * @public
86
81
  */
87
-
88
82
  class ResponsivePopover extends _Popover.default {
89
83
  constructor() {
90
84
  super();
91
85
  }
92
-
93
86
  static get metadata() {
94
87
  return metadata;
95
88
  }
96
-
97
89
  static get styles() {
98
90
  return [_Popover.default.styles, _ResponsivePopover.default];
99
91
  }
100
-
101
92
  get classes() {
102
93
  const allClasses = super.classes;
103
94
  allClasses.header = {
@@ -106,14 +97,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
106
97
  };
107
98
  return allClasses;
108
99
  }
109
-
110
100
  static get template() {
111
101
  return _ResponsivePopoverTemplate.default;
112
102
  }
113
-
114
103
  static get dependencies() {
115
104
  return [..._Popover.default.dependencies, _Button.default, _Dialog.default, _Title.default];
116
105
  }
106
+
117
107
  /**
118
108
  * Shows popover on desktop and dialog on mobile.
119
109
  * @param {HTMLElement} opener the element that the popover is shown at
@@ -122,8 +112,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
122
112
  * @async
123
113
  * @returns {Promise} Resolves when the responsive popover is open
124
114
  */
125
-
126
-
127
115
  async showAt(opener, preventInitialFocus = false) {
128
116
  if (!(0, _Device.isPhone)()) {
129
117
  await super.showAt(opener, preventInitialFocus);
@@ -133,12 +121,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
133
121
  await this._dialog.show(preventInitialFocus);
134
122
  }
135
123
  }
124
+
136
125
  /**
137
126
  * Closes the popover/dialog.
138
127
  * @public
139
128
  */
140
-
141
-
142
129
  close(escPressed = false, preventRegistryUpdate = false, preventFocusRestore = false) {
143
130
  if (!(0, _Device.isPhone)()) {
144
131
  super.close(escPressed, preventRegistryUpdate, preventFocusRestore);
@@ -146,74 +133,57 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/w
146
133
  this._dialog.close(escPressed, preventRegistryUpdate, preventFocusRestore);
147
134
  }
148
135
  }
149
-
150
136
  toggle(opener) {
151
137
  if (this.isOpen()) {
152
138
  return this.close();
153
139
  }
154
-
155
140
  this.showAt(opener);
156
141
  }
142
+
157
143
  /**
158
144
  * Tells if the responsive popover is open
159
145
  * @public
160
146
  * @returns {boolean}
161
147
  */
162
-
163
-
164
148
  isOpen() {
165
149
  return (0, _Device.isPhone)() ? this._dialog.isOpen() : super.isOpen();
166
150
  }
167
-
168
151
  get _dialog() {
169
152
  return this.shadowRoot.querySelector("[ui5-dialog]");
170
153
  }
171
-
172
154
  get contentDOM() {
173
155
  return this._isPhone ? this._dialog.contentDOM : super.contentDOM;
174
156
  }
175
-
176
157
  get _isPhone() {
177
158
  return (0, _Device.isPhone)();
178
159
  }
179
-
180
160
  get _displayHeader() {
181
161
  return (this._isPhone || !this.contentOnlyOnDesktop) && super._displayHeader;
182
162
  }
183
-
184
163
  get _displayFooter() {
185
164
  return this._isPhone || !this.contentOnlyOnDesktop;
186
165
  }
187
-
188
166
  get _closeDialogAriaLabel() {
189
167
  return ResponsivePopover.i18nBundle.getText(_i18nDefaults.RESPONSIVE_POPOVER_CLOSE_DIALOG_BUTTON);
190
168
  }
191
-
192
169
  _beforeDialogOpen(event) {
193
170
  this.open = true;
194
171
  this.opened = true;
195
-
196
172
  this._propagateDialogEvent(event);
197
173
  }
198
-
199
174
  _afterDialogClose(event) {
200
175
  this.open = false;
201
176
  this.opened = false;
202
-
203
177
  this._propagateDialogEvent(event);
204
178
  }
205
-
206
179
  _propagateDialogEvent(event) {
207
180
  const type = event.type.replace("ui5-", "");
208
181
  this.fireEvent(type, event.detail);
209
182
  }
210
-
211
183
  static async onDefine() {
212
184
  ResponsivePopover.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
213
185
  }
214
-
215
186
  }
216
-
217
187
  ResponsivePopover.define();
218
188
  var _default = ResponsivePopover;
219
189
  _exports.default = _default;
@@ -12,10 +12,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
12
12
  _SegmentedButtonItem = _interopRequireDefault(_SegmentedButtonItem);
13
13
  _SegmentedButtonTemplate = _interopRequireDefault(_SegmentedButtonTemplate);
14
14
  _SegmentedButton = _interopRequireDefault(_SegmentedButton);
15
-
16
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
17
-
18
16
  // Template
17
+
19
18
  // Styles
20
19
 
21
20
  /**
@@ -25,9 +24,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
25
24
  tag: "ui5-segmented-button",
26
25
  altTag: "ui5-segmentedbutton",
27
26
  languageAware: true,
28
- properties:
29
- /** @lends sap.ui.webcomponents.main.SegmentedButton.prototype */
30
- {
27
+ properties: /** @lends sap.ui.webcomponents.main.SegmentedButton.prototype */{
31
28
  /**
32
29
  * Defines the accessible aria name of the component.
33
30
  *
@@ -42,9 +39,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
42
39
  }
43
40
  },
44
41
  managedSlots: true,
45
- slots:
46
- /** @lends sap.ui.webcomponents.main.SegmentedButton.prototype */
47
- {
42
+ slots: /** @lends sap.ui.webcomponents.main.SegmentedButton.prototype */{
48
43
  /**
49
44
  * Defines the items of <code>ui5-segmented-button</code>.
50
45
  * <br><br>
@@ -60,9 +55,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
60
55
  type: HTMLElement
61
56
  }
62
57
  },
63
- events:
64
- /** @lends sap.ui.webcomponents.main.SegmentedButton.prototype */
65
- {
58
+ events: /** @lends sap.ui.webcomponents.main.SegmentedButton.prototype */{
66
59
  /**
67
60
  * Fired when the selected item changes.
68
61
  *
@@ -79,6 +72,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
79
72
  }
80
73
  }
81
74
  };
75
+
82
76
  /**
83
77
  * @class
84
78
  *
@@ -103,55 +97,43 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
103
97
  * @appenddocs SegmentedButtonItem
104
98
  * @public
105
99
  */
106
-
107
100
  class SegmentedButton extends _UI5Element.default {
108
101
  static get metadata() {
109
102
  return metadata;
110
103
  }
111
-
112
104
  static get render() {
113
105
  return _LitRenderer.default;
114
106
  }
115
-
116
107
  static get template() {
117
108
  return _SegmentedButtonTemplate.default;
118
109
  }
119
-
120
110
  static get styles() {
121
111
  return _SegmentedButton.default;
122
112
  }
123
-
124
113
  static get dependencies() {
125
114
  return [_SegmentedButtonItem.default];
126
115
  }
127
-
128
116
  static async onDefine() {
129
117
  SegmentedButton.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
130
118
  }
131
-
132
119
  constructor() {
133
120
  super();
134
121
  this._itemNavigation = new _ItemNavigation.default(this, {
135
122
  getItemsCallback: () => this.getSlottedNodes("items")
136
123
  });
137
124
  this.absoluteWidthSet = false; // set to true whenever we set absolute width to the component
138
-
139
125
  this.percentageWidthSet = false; // set to true whenever we set 100% width to the component
140
-
141
126
  this.hasPreviouslyFocusedItem = false;
142
127
  this._handleResizeBound = this._doLayout.bind(this);
143
128
  }
144
-
145
129
  onEnterDOM() {
146
130
  _ResizeHandler.default.register(this.parentNode, this._handleResizeBound);
147
131
  }
148
-
149
132
  onExitDOM() {
150
133
  if (this.parentNode) {
151
134
  _ResizeHandler.default.deregister(this.parentNode, this._handleResizeBound);
152
135
  }
153
136
  }
154
-
155
137
  onBeforeRendering() {
156
138
  const items = this.getSlottedNodes("items");
157
139
  items.forEach((item, index, arr) => {
@@ -160,18 +142,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
160
142
  });
161
143
  this.normalizeSelection();
162
144
  }
163
-
164
145
  async onAfterRendering() {
165
146
  await this._doLayout();
166
147
  }
167
-
168
148
  prepareToMeasureItems() {
169
149
  this.style.width = "";
170
150
  this.items.forEach(item => {
171
151
  item.style.width = "";
172
152
  });
173
153
  }
174
-
175
154
  async measureItemsWidth() {
176
155
  await (0, _Render.renderFinished)();
177
156
  this.prepareToMeasureItems();
@@ -180,10 +159,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
180
159
  return item.offsetWidth + 1;
181
160
  });
182
161
  }
183
-
184
162
  normalizeSelection() {
185
163
  this._selectedItem = this.items.filter(item => item.pressed).pop();
186
-
187
164
  if (this._selectedItem) {
188
165
  this.items.forEach(item => {
189
166
  item.pressed = false;
@@ -191,36 +168,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
191
168
  this._selectedItem.pressed = true;
192
169
  }
193
170
  }
194
-
195
171
  _selectItem(event) {
196
172
  if (event.target.disabled || event.target === this.getDomRef()) {
197
173
  return;
198
174
  }
199
-
200
175
  if (event.target !== this._selectedItem) {
201
176
  if (this._selectedItem) {
202
177
  this._selectedItem.pressed = false;
203
178
  }
204
-
205
179
  this._selectedItem = event.target;
206
180
  this.fireEvent("selection-change", {
207
181
  selectedItem: this._selectedItem
208
182
  });
209
183
  }
210
-
211
184
  this._selectedItem.pressed = true;
212
-
213
185
  this._itemNavigation.setCurrentItem(this._selectedItem);
214
-
215
186
  return this;
216
187
  }
217
-
218
188
  _onclick(event) {
219
189
  this._selectItem(event);
220
-
221
190
  this.selectedItem.focus();
222
191
  }
223
-
224
192
  _onkeydown(event) {
225
193
  if ((0, _Keys.isEnter)(event)) {
226
194
  this._selectItem(event);
@@ -228,56 +196,46 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
228
196
  event.preventDefault();
229
197
  }
230
198
  }
231
-
232
199
  _onkeyup(event) {
233
200
  if ((0, _Keys.isSpace)(event)) {
234
201
  this._selectItem(event);
235
202
  }
236
203
  }
237
-
238
204
  _onfocusin(event) {
239
205
  // If the component was previously focused,
240
206
  // update the ItemNavigation to sync butons` tabindex values
241
207
  if (this.hasPreviouslyFocusedItem) {
242
208
  this._itemNavigation.setCurrentItem(event.target);
243
-
244
209
  return;
245
- } // If the component is focused for the first time
246
- // focus the selected item if such present
247
-
210
+ }
248
211
 
212
+ // If the component is focused for the first time
213
+ // focus the selected item if such present
249
214
  if (this.selectedItem) {
250
215
  this.selectedItem.focus();
251
-
252
216
  this._itemNavigation.setCurrentItem(this._selectedItem);
253
-
254
217
  this.hasPreviouslyFocusedItem = true;
255
218
  }
256
219
  }
257
-
258
220
  async _doLayout() {
259
221
  const itemsHaveWidth = this.widths && this.widths.some(item => item.offsetWidth > 2); // 2 are the pixel's added for rounding & IE
260
-
261
222
  if (!itemsHaveWidth) {
262
223
  await this.measureItemsWidth();
263
224
  }
264
-
265
225
  const parentWidth = this.parentNode ? this.parentNode.offsetWidth : 0;
266
-
267
226
  if (!this.style.width || this.percentageWidthSet) {
268
227
  this.style.width = `${Math.max(...this.widths) * this.items.length}px`;
269
228
  this.absoluteWidthSet = true;
270
229
  }
271
-
272
230
  this.items.forEach(item => {
273
231
  item.style.width = "100%";
274
232
  });
275
-
276
233
  if (parentWidth <= this.offsetWidth && this.absoluteWidthSet) {
277
234
  this.style.width = "100%";
278
235
  this.percentageWidthSet = true;
279
236
  }
280
237
  }
238
+
281
239
  /**
282
240
  * Currently selected item.
283
241
  *
@@ -285,22 +243,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
285
243
  * @type { sap.ui.webcomponents.main.ISegmentedButtonItem }
286
244
  * @public
287
245
  */
288
-
289
-
290
246
  get selectedItem() {
291
247
  return this._selectedItem;
292
248
  }
293
-
294
249
  get ariaDescribedBy() {
295
250
  return SegmentedButton.i18nBundle.getText(_i18nDefaults.SEGMENTEDBUTTON_ARIA_DESCRIBEDBY);
296
251
  }
297
-
298
252
  get ariaDescription() {
299
253
  return SegmentedButton.i18nBundle.getText(_i18nDefaults.SEGMENTEDBUTTON_ARIA_DESCRIPTION);
300
254
  }
301
-
302
255
  }
303
-
304
256
  SegmentedButton.define();
305
257
  var _default = SegmentedButton;
306
258
  _exports.default = _default;