@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
@@ -10,10 +10,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
10
10
  _Icon = _interopRequireDefault(_Icon);
11
11
  _RangeSliderTemplate = _interopRequireDefault(_RangeSliderTemplate);
12
12
  _RangeSlider = _interopRequireDefault(_RangeSlider);
13
-
14
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
-
16
14
  // Texts
15
+
17
16
  // Styles
18
17
 
19
18
  /**
@@ -23,9 +22,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
23
22
  tag: "ui5-range-slider",
24
23
  languageAware: true,
25
24
  managedSlots: true,
26
- properties:
27
- /** @lends sap.ui.webcomponents.main.RangeSlider.prototype */
28
- {
25
+ properties: /** @lends sap.ui.webcomponents.main.RangeSlider.prototype */{
29
26
  /**
30
27
  * Defines start point of a selection - position of a first handle on the slider.
31
28
  * <br><br>
@@ -38,7 +35,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
38
35
  type: _Float.default,
39
36
  defaultValue: 0
40
37
  },
41
-
42
38
  /**
43
39
  * Defines end point of a selection - position of a second handle on the slider.
44
40
  * <br><br>
@@ -56,6 +52,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
56
52
  }
57
53
  }
58
54
  };
55
+
59
56
  /**
60
57
  * @class
61
58
  *
@@ -114,64 +111,48 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
114
111
  * @since 1.0.0-rc.11
115
112
  * @public
116
113
  */
117
-
118
114
  class RangeSlider extends _SliderBase.default {
119
115
  static get metadata() {
120
116
  return metadata;
121
117
  }
122
-
123
118
  static get template() {
124
119
  return _RangeSliderTemplate.default;
125
120
  }
126
-
127
121
  static get VALUES() {
128
122
  return {
129
123
  start: "startValue",
130
124
  end: "endValue"
131
125
  };
132
126
  }
133
-
134
127
  static get dependencies() {
135
128
  return [_Icon.default];
136
129
  }
137
-
138
130
  static get styles() {
139
131
  return [_SliderBase.default.styles, _RangeSlider.default];
140
132
  }
141
-
142
133
  constructor() {
143
134
  super();
144
135
  this._stateStorage.startValue = null;
145
136
  this._stateStorage.endValue = null;
146
137
  }
147
-
148
138
  get tooltipStartValue() {
149
139
  const stepPrecision = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);
150
-
151
140
  return this.startValue.toFixed(stepPrecision);
152
141
  }
153
-
154
142
  get tooltipEndValue() {
155
143
  const stepPrecision = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);
156
-
157
144
  return this.endValue.toFixed(stepPrecision);
158
145
  }
159
-
160
146
  get _ariaDisabled() {
161
147
  return this.disabled || undefined;
162
148
  }
163
-
164
149
  get _ariaLabelledByText() {
165
150
  return RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_ARIA_DESCRIPTION);
166
151
  }
167
-
168
152
  get _ariaHandlesText() {
169
153
  const isRTL = this.effectiveDir === "rtl";
170
-
171
154
  const isReversed = this._areValuesReversed();
172
-
173
155
  const ariaHandlesText = {};
174
-
175
156
  if (isRTL && !isReversed || !isRTL && isReversed) {
176
157
  ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_END_HANDLE_DESCRIPTION);
177
158
  ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_START_HANDLE_DESCRIPTION);
@@ -179,9 +160,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
179
160
  ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_START_HANDLE_DESCRIPTION);
180
161
  ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_END_HANDLE_DESCRIPTION);
181
162
  }
182
-
183
163
  return ariaHandlesText;
184
164
  }
165
+
185
166
  /**
186
167
  * Check if the previously saved state is outdated. That would mean
187
168
  * either it is the initial rendering or that a property has been changed
@@ -192,32 +173,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
192
173
  * Update the visual UI representation of the Slider.
193
174
  *
194
175
  */
195
-
196
-
197
176
  onBeforeRendering() {
198
177
  if (!this.isCurrentStateOutdated()) {
199
178
  return;
200
179
  }
201
-
202
180
  this.notResized = true;
203
181
  this.syncUIAndState("startValue", "endValue");
204
-
205
182
  this._updateHandlesAndRange(null);
206
183
  }
207
-
208
184
  _onfocusin(event) {
209
185
  // If this is the initial focusin of the component save its initial
210
186
  // value properties so they could be restored on ESC key press
211
187
  if (!this._getInitialValue("endValue")) {
212
188
  this._setInitialValue("startValue", this.startValue);
213
-
214
189
  this._setInitialValue("endValue", this.endValue);
215
190
  }
216
-
217
191
  if (this.showTooltip) {
218
192
  this._tooltipVisibility = _SliderBase.default.TOOLTIP_VISIBILITY.VISIBLE;
219
193
  }
220
194
  }
195
+
221
196
  /**
222
197
  * Handles focus out event of the focusable components inner elements.
223
198
  * Prevent focusout when the focus is getting initially set within the slider before the
@@ -230,25 +205,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
230
205
  *
231
206
  * @private
232
207
  */
233
-
234
-
235
208
  _onfocusout(event) {
236
209
  if (this._isFocusing()) {
237
210
  this._preventFocusOut();
238
-
239
211
  return;
240
212
  }
241
-
242
213
  this._setAffectedValue(null);
243
-
244
214
  this._setInitialValue("startValue", null);
245
-
246
215
  this._setInitialValue("endValue", null);
247
-
248
216
  if (this.showTooltip) {
249
217
  this._tooltipVisibility = _SliderBase.default.TOOLTIP_VISIBILITY.HIDDEN;
250
218
  }
251
219
  }
220
+
252
221
  /**
253
222
  * Handles keyup logic. If one of the handles came across the other
254
223
  * swap the start and end values. Reset the affected value by the finished
@@ -256,46 +225,39 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
256
225
  *
257
226
  * @private
258
227
  */
259
-
260
-
261
228
  _onkeyup(event) {
262
229
  super._onkeyup(event);
263
-
264
230
  this._swapValues();
265
-
266
231
  this._setAffectedValue(null);
267
232
  }
268
-
269
233
  _handleActionKeyPress(event) {
270
234
  if ((0, _Keys.isEscape)(event)) {
271
235
  this.update(null, this._getInitialValue("startValue"), this._getInitialValue("endValue"));
272
236
  return;
273
- } // Set the target of the interaction based on the focused inner element
274
-
237
+ }
275
238
 
239
+ // Set the target of the interaction based on the focused inner element
276
240
  this._setAffectedValueByFocusedElement();
277
-
278
241
  const min = this._effectiveMin;
279
242
  const max = this._effectiveMax;
280
- const affectedValue = this._valueAffected; // If home/end key is pressed and no single handle is focused the active element
243
+ const affectedValue = this._valueAffected;
244
+
245
+ // If home/end key is pressed and no single handle is focused the active element
281
246
  // is the range selection - update both start and end values. Otherwise, if 'home'
282
247
  // is pressed the 'startValue'will be used for the start-handle offset calculation,
283
248
  // if 'End' is pressed - the 'endValue' will be used for the end-handle update.
284
-
285
249
  if (((0, _Keys.isEnd)(event) || (0, _Keys.isHome)(event)) && !affectedValue) {
286
250
  this._homeEndForSelectedRange(event, (0, _Keys.isHome)(event) ? "startValue" : "endValue", min, max);
287
-
288
251
  return;
289
- } // Calculate how much the value should be increased/decreased based on the action key
290
-
252
+ }
291
253
 
254
+ // Calculate how much the value should be increased/decreased based on the action key
292
255
  const newValueOffset = this._handleActionKeyPressBase(event, affectedValue);
293
-
294
256
  if (!newValueOffset) {
295
257
  return;
296
- } // Update a single value if one of the handles is focused or the range if not already at min or max
297
-
258
+ }
298
259
 
260
+ // Update a single value if one of the handles is focused or the range if not already at min or max
299
261
  if (affectedValue && !this._isPressInCurrentRange) {
300
262
  const newValue = this.constructor.clipValue(newValueOffset + this[affectedValue], min, max);
301
263
  this.update(affectedValue, newValue, null);
@@ -305,44 +267,39 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
305
267
  this.update(affectedValue, newStartValue, newEndValue);
306
268
  }
307
269
  }
270
+
308
271
  /**
309
272
  * Determines affected value (start/end) depending on the currently
310
273
  * active inner element within the Range Slider - used in the keyboard handling.
311
274
  *
312
275
  * @private
313
276
  */
314
-
315
-
316
277
  _setAffectedValueByFocusedElement() {
317
278
  if (this.shadowRoot.activeElement === this._startHandle) {
318
279
  this._setAffectedValue(RangeSlider.VALUES.start);
319
280
  }
320
-
321
281
  if (this.shadowRoot.activeElement === this._endHandle) {
322
282
  this._setAffectedValue(RangeSlider.VALUES.end);
323
283
  }
324
-
325
284
  if (this.shadowRoot.activeElement === this._progressBar) {
326
285
  this._setAffectedValue(null);
327
286
  }
328
-
329
287
  this._setIsPressInCurrentRange(!this._valueAffected);
330
288
  }
289
+
331
290
  /**
332
291
  * Calculates the start and end values when the 'Home" or 'End' keys
333
292
  * are pressed on the selected range bar.
334
293
  *
335
294
  * @private
336
295
  */
337
-
338
-
339
296
  _homeEndForSelectedRange(event, affectedValue, min, max) {
340
297
  const newValueOffset = this._handleActionKeyPressBase(event, affectedValue);
341
-
342
298
  const newStartValue = this.constructor.clipValue(newValueOffset + this.startValue, min, max);
343
299
  const newEndValue = this.constructor.clipValue(newValueOffset + this.endValue, min, max);
344
300
  this.update(null, newStartValue, newEndValue);
345
301
  }
302
+
346
303
  /**
347
304
  * Update values, stored inner state and the visual UI representation of the component.
348
305
  * If no specific type of value property is passed - the range is selected - update both handles,
@@ -350,51 +307,47 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
350
307
  *
351
308
  * @private
352
309
  */
353
-
354
-
355
310
  update(affectedValue, startValue, endValue) {
356
311
  if (!affectedValue) {
357
312
  this.updateValue("startValue", startValue);
358
313
  this.updateValue("endValue", endValue);
359
-
360
314
  this._updateHandlesAndRange(null);
361
315
  } else {
362
316
  const newValue = startValue;
363
-
364
317
  this._updateHandlesAndRange(newValue);
365
-
366
318
  this.updateValue(affectedValue, newValue);
367
319
  }
368
320
  }
321
+
369
322
  /**
370
323
  * Called when the user starts interacting with the slider
371
324
  *
372
325
  * @private
373
326
  */
374
-
375
-
376
327
  _onmousedown(event) {
377
328
  // If step is 0 no interaction is available because there is no constant
378
329
  // (equal for all user environments) quantitative representation of the value
379
330
  if (this.disabled || this._effectiveStep === 0) {
380
331
  return;
381
- } // Calculate the new value from the press position of the event
382
-
332
+ }
383
333
 
384
- const newValue = this.handleDownBase(event); // Determine the rest of the needed details from the start of the interaction.
334
+ // Calculate the new value from the press position of the event
335
+ const newValue = this.handleDownBase(event);
385
336
 
337
+ // Determine the rest of the needed details from the start of the interaction.
386
338
  this._saveInteractionStartData(event, newValue);
339
+ this.rangePressed = this._isPressInCurrentRange;
387
340
 
388
- this.rangePressed = this._isPressInCurrentRange; // Do not yet update the RangeSlider if press is in range or over a handle.
389
-
341
+ // Do not yet update the RangeSlider if press is in range or over a handle.
390
342
  if (this._isPressInCurrentRange || this._handeIsPressed) {
391
343
  this._handeIsPressed = false;
392
344
  return;
393
- } // Update Slider UI and internal state
394
-
345
+ }
395
346
 
347
+ // Update Slider UI and internal state
396
348
  this.update(this._valueAffected, newValue, null);
397
349
  }
350
+
398
351
  /**
399
352
  * Determines and saves needed values from the start of the interaction:
400
353
  *
@@ -405,95 +358,84 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
405
358
  *
406
359
  * @private
407
360
  */
408
-
409
-
410
361
  _saveInteractionStartData(event, newValue) {
411
- const progressBarDom = this.shadowRoot.querySelector(".ui5-slider-progress").getBoundingClientRect(); // Save the state of the value properties on the start of the interaction
362
+ const progressBarDom = this.shadowRoot.querySelector(".ui5-slider-progress").getBoundingClientRect();
412
363
 
364
+ // Save the state of the value properties on the start of the interaction
413
365
  this._startValueAtBeginningOfAction = this.startValue;
414
- this._endValueAtBeginningOfAction = this.endValue; // Save the initial press point coordinates (position)
415
-
416
- this._initialPageXPosition = this.constructor.getPageXValueFromEvent(event); // Which element of the Range Slider is pressed and which value property to be modified on further interaction
417
-
418
- this._pressTargetAndAffectedValue(this._initialPageXPosition, newValue); // Use the progress bar to save the initial coordinates of the start-handle when the interaction begins.
419
-
366
+ this._endValueAtBeginningOfAction = this.endValue;
420
367
 
368
+ // Save the initial press point coordinates (position)
369
+ this._initialPageXPosition = this.constructor.getPageXValueFromEvent(event);
370
+ // Which element of the Range Slider is pressed and which value property to be modified on further interaction
371
+ this._pressTargetAndAffectedValue(this._initialPageXPosition, newValue);
372
+ // Use the progress bar to save the initial coordinates of the start-handle when the interaction begins.
421
373
  this._initialStartHandlePageX = this.directionStart === "left" ? progressBarDom.left : progressBarDom.right;
422
374
  }
375
+
423
376
  /**
424
377
  * Called when the user moves the slider
425
378
  *
426
379
  * @private
427
380
  */
428
-
429
-
430
381
  _handleMove(event) {
431
- event.preventDefault(); // If 'step' is 0 no interaction is available as there is no constant quantitative representation of the value
382
+ event.preventDefault();
432
383
 
384
+ // If 'step' is 0 no interaction is available as there is no constant quantitative representation of the value
433
385
  if (this.disabled || this._effectiveStep === 0) {
434
386
  return;
435
- } // Update UI and state when dragging a single Range Slider handle
436
-
387
+ }
437
388
 
389
+ // Update UI and state when dragging a single Range Slider handle
438
390
  if (!this._isPressInCurrentRange) {
439
391
  this._updateValueOnHandleDrag(event);
440
-
441
392
  return;
442
- } // Updates UI and state when dragging of the whole selected range
443
-
393
+ }
444
394
 
395
+ // Updates UI and state when dragging of the whole selected range
445
396
  this._updateValueOnRangeDrag(event);
446
397
  }
398
+
447
399
  /**
448
400
  * Updates UI and state when dragging a single Range Slider handle
449
401
  *
450
402
  * @private
451
403
  */
452
-
453
-
454
404
  _updateValueOnHandleDrag(event) {
455
405
  const newValue = this.constructor.getValueFromInteraction(event, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);
456
406
  this.update(this._valueAffected, newValue, null);
457
407
  }
408
+
458
409
  /**
459
410
  * Updates UI and state when dragging of the whole selected range
460
411
  *
461
412
  * @private
462
413
  */
463
-
464
-
465
414
  _updateValueOnRangeDrag(event) {
466
415
  // Calculate the new 'start' and 'end' values from the offset between the original press point and the current position of the mouse
467
416
  const currentPageXPos = this.constructor.getPageXValueFromEvent(event);
417
+ const newValues = this._calculateRangeOffset(currentPageXPos, this._initialStartHandlePageX);
468
418
 
469
- const newValues = this._calculateRangeOffset(currentPageXPos, this._initialStartHandlePageX); // No matter the which value is set as the one to be modified (by prev. user action) we want to modify both of them
470
-
471
-
472
- this._setAffectedValue(null); // Update the UI and the state acccording to the calculated new values
473
-
419
+ // No matter the which value is set as the one to be modified (by prev. user action) we want to modify both of them
420
+ this._setAffectedValue(null);
474
421
 
422
+ // Update the UI and the state acccording to the calculated new values
475
423
  this.update(null, newValues[0], newValues[1]);
476
424
  }
477
-
478
425
  _handleUp() {
479
426
  if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
480
427
  this.fireEvent("change");
481
428
  }
482
-
483
429
  this._swapValues();
484
-
485
430
  this._setAffectedValueByFocusedElement();
486
-
487
431
  this._setAffectedValue(null);
488
-
489
432
  this._startValueAtBeginningOfAction = null;
490
433
  this._endValueAtBeginningOfAction = null;
491
-
492
434
  this._setIsPressInCurrentRange(false);
493
-
494
435
  this.handleUpBase();
495
436
  this.rangePressed = false;
496
437
  }
438
+
497
439
  /**
498
440
  * Determines where the press occured and which values of the Range Slider
499
441
  * handles should be updated on further interaction.
@@ -508,36 +450,36 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
508
450
  *
509
451
  * @private
510
452
  */
511
-
512
-
513
453
  _pressTargetAndAffectedValue(clientX, value) {
514
454
  const startHandle = this.shadowRoot.querySelector(".ui5-slider-handle--start");
515
- const endHandle = this.shadowRoot.querySelector(".ui5-slider-handle--end"); // Check if the press point is in the bounds of any of the Range Slider handles
455
+ const endHandle = this.shadowRoot.querySelector(".ui5-slider-handle--end");
516
456
 
457
+ // Check if the press point is in the bounds of any of the Range Slider handles
517
458
  const handleStartDomRect = startHandle.getBoundingClientRect();
518
459
  const handleEndDomRect = endHandle.getBoundingClientRect();
519
460
  const inHandleStartDom = clientX >= handleStartDomRect.left && clientX <= handleStartDomRect.right;
520
- const inHandleEndDom = clientX >= handleEndDomRect.left && clientX <= handleEndDomRect.right; // Remove the flag for value in current range if the press action is over one of the handles
461
+ const inHandleEndDom = clientX >= handleEndDomRect.left && clientX <= handleEndDomRect.right;
521
462
 
463
+ // Remove the flag for value in current range if the press action is over one of the handles
522
464
  if (inHandleEndDom || inHandleStartDom) {
523
465
  this._handeIsPressed = true;
524
- } // Return that handle that is closer to the press point
525
-
466
+ }
526
467
 
468
+ // Return that handle that is closer to the press point
527
469
  if (inHandleEndDom || value > this.endValue) {
528
470
  this._setAffectedValue(RangeSlider.VALUES.end);
529
- } // If one of the handle is pressed return that one
530
-
471
+ }
531
472
 
473
+ // If one of the handle is pressed return that one
532
474
  if (inHandleStartDom || value < this.startValue) {
533
475
  this._setAffectedValue(RangeSlider.VALUES.start);
534
- } // Flag if press is in the current select range
535
-
476
+ }
536
477
 
478
+ // Flag if press is in the current select range
537
479
  const isNewValueInCurrentRange = value >= this._startValueAtBeginningOfAction && value <= this._endValueAtBeginningOfAction;
538
-
539
480
  this._setIsPressInCurrentRange(!(this._valueAffected || this._handeIsPressed) ? isNewValueInCurrentRange : false);
540
481
  }
482
+
541
483
  /**
542
484
  * Sets the value property (start/end) that will get updated
543
485
  * by a user action depending on that user action's characteristics
@@ -547,26 +489,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
547
489
  * @param {string} valuePropAffectedByInteraction The value that will get modified by the interaction
548
490
  * @private
549
491
  */
550
-
551
-
552
492
  _setAffectedValue(valuePropAffectedByInteraction) {
553
- this._valueAffected = valuePropAffectedByInteraction; // If the values have been swapped reset the reversed flag
493
+ this._valueAffected = valuePropAffectedByInteraction;
554
494
 
495
+ // If the values have been swapped reset the reversed flag
555
496
  if (this._areValuesReversed()) {
556
497
  this._setValuesAreReversed();
557
498
  }
558
499
  }
500
+
559
501
  /**
560
502
  * Flag if press action is made on the currently selected range of values
561
503
  *
562
504
  * @param {boolean} isPressInCurrentRange Did the current press action occur in the current range (between the two handles)
563
505
  * @private
564
506
  */
565
-
566
-
567
507
  _setIsPressInCurrentRange(isPressInCurrentRange) {
568
508
  this._isPressInCurrentRange = isPressInCurrentRange;
569
509
  }
510
+
570
511
  /**
571
512
  * Manage the focus between the focusable inner elements within the component.
572
513
  *
@@ -592,25 +533,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
592
533
  *
593
534
  * @protected
594
535
  */
595
-
596
-
597
536
  focusInnerElement() {
598
537
  const isReversed = this._areValuesReversed();
599
-
600
538
  const affectedValue = this._valueAffected;
601
-
602
539
  if (this._isPressInCurrentRange || !affectedValue) {
603
540
  this._progressBar.focus();
604
541
  }
605
-
606
542
  if (affectedValue === RangeSlider.VALUES.start && !isReversed || affectedValue === RangeSlider.VALUES.end && isReversed) {
607
543
  this._startHandle.focus();
608
544
  }
609
-
610
545
  if (affectedValue === RangeSlider.VALUES.end && !isReversed || affectedValue === RangeSlider.VALUES.start && isReversed) {
611
546
  this._endHandle.focus();
612
547
  }
613
548
  }
549
+
614
550
  /**
615
551
  * Calculates startValue/endValue properties when the whole range is moved.
616
552
  *
@@ -622,26 +558,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
622
558
  *
623
559
  * @private
624
560
  */
625
-
626
-
627
561
  _calculateRangeOffset(currentPageXPos, initialStartHandlePageXPos) {
628
562
  // Return the current values if there is no difference in the
629
563
  // possitions of the initial press and the current pointer
630
564
  if (this._initialPageXPosition === currentPageXPos) {
631
565
  return [this.startValue, this.endValue];
632
566
  }
633
-
634
567
  const min = this._effectiveMin;
635
568
  const max = this._effectiveMax;
636
- const selectedRange = this.endValue - this.startValue; // Computes the new value based on the difference of the current cursor location from the start of the interaction
637
-
638
- let startValue = this._calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos); // When the end handle reaches the max possible value prevent the start handle from moving
639
- // And the opposite - if the start handle reaches the beginning of the slider keep the initially selected range.
569
+ const selectedRange = this.endValue - this.startValue;
640
570
 
571
+ // Computes the new value based on the difference of the current cursor location from the start of the interaction
572
+ let startValue = this._calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos);
641
573
 
574
+ // When the end handle reaches the max possible value prevent the start handle from moving
575
+ // And the opposite - if the start handle reaches the beginning of the slider keep the initially selected range.
642
576
  startValue = this.constructor.clipValue(startValue, min, max - selectedRange);
643
577
  return [startValue, startValue + selectedRange];
644
578
  }
579
+
645
580
  /**
646
581
  * Computes the new value based on the difference of the current cursor location from the
647
582
  * start of the interaction.
@@ -651,8 +586,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
651
586
  *
652
587
  * @private
653
588
  */
654
-
655
-
656
589
  _calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos) {
657
590
  const min = this._effectiveMin;
658
591
  const max = this._effectiveMax;
@@ -661,11 +594,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
661
594
  let startValue;
662
595
  let startValuePageX;
663
596
  let positionOffset;
597
+
664
598
  /* Depending on the dragging direction:
665
599
  - calculate the new position of the start handle from its old pageX value combined with the movement offset;
666
600
  - calculate the start value based on its new pageX coordinates;
667
601
  - 'stepify' the calculated value based on the specified step property; */
668
-
669
602
  if (currentPageXPos > this._initialPageXPosition) {
670
603
  // Difference between the new position of the pointer and when the press event initial occured
671
604
  positionOffset = currentPageXPos - this._initialPageXPosition;
@@ -678,26 +611,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
678
611
  startValue = this.constructor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
679
612
  startValue = this.constructor.getSteppedValue(startValue, step, min);
680
613
  }
681
-
682
614
  return startValue;
683
615
  }
616
+
684
617
  /**
685
618
  * Updates the visual representation of the component by calculating
686
619
  * the styles of the handles and the range selection based on the new state.
687
620
  *
688
621
  * @private
689
622
  */
690
-
691
-
692
623
  _updateHandlesAndRange(newValue) {
693
624
  const max = this._effectiveMax;
694
625
  const min = this._effectiveMin;
695
626
  const prevStartValue = this.getStoredPropertyState("startValue");
696
627
  const prevEndValue = this.getStoredPropertyState("endValue");
697
- const affectedValue = this._valueAffected; // The value according to which we update the UI can be either the startValue
628
+ const affectedValue = this._valueAffected;
629
+
630
+ // The value according to which we update the UI can be either the startValue
698
631
  // or the endValue property. It is determined in _getClosestHandle()
699
632
  // depending on to which handle is closer the user interaction.
700
-
701
633
  if (affectedValue === RangeSlider.VALUES.start) {
702
634
  this._selectedRange = (prevEndValue - newValue) / (max - min);
703
635
  this._firstHandlePositionFromStart = (newValue - min) / (max - min) * 100;
@@ -711,6 +643,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
711
643
  this._secondHandlePositionFromStart = (this.endValue - min) / (max - min) * 100;
712
644
  }
713
645
  }
646
+
714
647
  /**
715
648
  * Swaps the start and end values of the handles if one came accros the other:
716
649
  * - If the start value is greater than the endValue swap them and their handles
@@ -723,31 +656,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
723
656
  *
724
657
  * @private
725
658
  */
726
-
727
-
728
659
  _swapValues() {
729
660
  const affectedValue = this._valueAffected;
730
-
731
661
  if (affectedValue === RangeSlider.VALUES.start && this.startValue > this.endValue) {
732
662
  const prevEndValue = this.endValue;
733
663
  this.endValue = this.startValue;
734
664
  this.startValue = prevEndValue;
735
-
736
665
  this._setValuesAreReversed();
737
-
738
666
  this.focusInnerElement();
739
667
  }
740
-
741
668
  if (affectedValue === RangeSlider.VALUES.end && this.endValue < this.startValue) {
742
669
  const prevStartValue = this.startValue;
743
670
  this.startValue = this.endValue;
744
671
  this.endValue = prevStartValue;
745
-
746
672
  this._setValuesAreReversed();
747
-
748
673
  this.focusInnerElement();
749
674
  }
750
675
  }
676
+
751
677
  /**
752
678
  * Flag that we have swapped the values of the 'start' and 'end' properties,
753
679
  * to correctly switch the focus within the component from one handle to another
@@ -756,57 +682,43 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
756
682
  *
757
683
  * @private
758
684
  */
759
-
760
-
761
685
  _setValuesAreReversed() {
762
686
  this._reversedValues = !this._reversedValues;
763
687
  }
764
-
765
688
  _areValuesReversed() {
766
689
  return this._reversedValues;
767
690
  }
768
-
769
691
  get tickmarksObject() {
770
692
  const count = this._tickmarksCount;
771
693
  const arr = [];
772
-
773
694
  if (this._hiddenTickmarks) {
774
695
  return [false, false];
775
696
  }
776
-
777
697
  for (let i = 0; i <= count; i++) {
778
698
  const isBiggerThanStartValue = this._effectiveMin + i * this.step >= this.startValue;
779
699
  const isBiggerThanEndValue = this._effectiveMin + i * this.step <= this.endValue;
780
700
  arr.push(isBiggerThanStartValue && isBiggerThanEndValue);
781
701
  }
782
-
783
702
  return arr;
784
703
  }
785
-
786
704
  get _startHandle() {
787
705
  return this.shadowRoot.querySelector(".ui5-slider-handle--start");
788
706
  }
789
-
790
707
  get _endHandle() {
791
708
  return this.shadowRoot.querySelector(".ui5-slider-handle--end");
792
709
  }
793
-
794
710
  get _progressBar() {
795
711
  return this.shadowRoot.querySelector(".ui5-slider-progress");
796
712
  }
797
-
798
713
  get _ariaLabelledByStartHandleRefs() {
799
714
  return [`${this._id}-accName`, `${this._id}-startHandleDesc`].join(" ").trim();
800
715
  }
801
-
802
716
  get _ariaLabelledByEndHandleRefs() {
803
717
  return [`${this._id}-accName`, `${this._id}-endHandleDesc`].join(" ").trim();
804
718
  }
805
-
806
719
  get _ariaLabelledByProgressBarRefs() {
807
720
  return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim();
808
721
  }
809
-
810
722
  get styles() {
811
723
  return {
812
724
  progress: {
@@ -835,13 +747,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
835
747
  }
836
748
  };
837
749
  }
838
-
839
750
  static async onDefine() {
840
751
  RangeSlider.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
841
752
  }
842
-
843
753
  }
844
-
845
754
  RangeSlider.define();
846
755
  var _default = RangeSlider;
847
756
  _exports.default = _default;