@openui5/sap.ui.webc.main 1.115.1 → 1.117.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 (592) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +1 -7
  3. package/package.json +3 -3
  4. package/src/sap/ui/webc/main/.library +1 -1
  5. package/src/sap/ui/webc/main/Avatar.js +23 -3
  6. package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
  7. package/src/sap/ui/webc/main/Badge.js +2 -2
  8. package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
  9. package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
  10. package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
  11. package/src/sap/ui/webc/main/Button.js +4 -3
  12. package/src/sap/ui/webc/main/Calendar.js +6 -2
  13. package/src/sap/ui/webc/main/CalendarDate.js +2 -2
  14. package/src/sap/ui/webc/main/Card.js +3 -7
  15. package/src/sap/ui/webc/main/CardHeader.js +7 -2
  16. package/src/sap/ui/webc/main/Carousel.js +49 -4
  17. package/src/sap/ui/webc/main/CheckBox.js +14 -4
  18. package/src/sap/ui/webc/main/ColorPalette.js +1 -1
  19. package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
  20. package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
  21. package/src/sap/ui/webc/main/ColorPicker.js +1 -1
  22. package/src/sap/ui/webc/main/ComboBox.js +11 -8
  23. package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
  24. package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
  25. package/src/sap/ui/webc/main/CustomListItem.js +19 -3
  26. package/src/sap/ui/webc/main/DatePicker.js +7 -2
  27. package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
  28. package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
  29. package/src/sap/ui/webc/main/Dialog.js +37 -6
  30. package/src/sap/ui/webc/main/FileUploader.js +1 -1
  31. package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
  32. package/src/sap/ui/webc/main/Icon.js +42 -2
  33. package/src/sap/ui/webc/main/Input.js +2 -2
  34. package/src/sap/ui/webc/main/Label.js +7 -3
  35. package/src/sap/ui/webc/main/Link.js +12 -2
  36. package/src/sap/ui/webc/main/List.js +2 -1
  37. package/src/sap/ui/webc/main/Menu.js +87 -3
  38. package/src/sap/ui/webc/main/MenuItem.js +34 -1
  39. package/src/sap/ui/webc/main/MessageStrip.js +1 -1
  40. package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
  41. package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
  42. package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
  43. package/src/sap/ui/webc/main/MultiInput.js +4 -4
  44. package/src/sap/ui/webc/main/Option.js +1 -1
  45. package/src/sap/ui/webc/main/Panel.js +3 -3
  46. package/src/sap/ui/webc/main/Popover.js +18 -4
  47. package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
  48. package/src/sap/ui/webc/main/RadioButton.js +17 -1
  49. package/src/sap/ui/webc/main/RangeSlider.js +12 -2
  50. package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
  51. package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
  52. package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
  53. package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
  54. package/src/sap/ui/webc/main/Select.js +20 -4
  55. package/src/sap/ui/webc/main/Slider.js +2 -2
  56. package/src/sap/ui/webc/main/SplitButton.js +7 -7
  57. package/src/sap/ui/webc/main/StandardListItem.js +31 -4
  58. package/src/sap/ui/webc/main/StepInput.js +2 -2
  59. package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
  60. package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
  61. package/src/sap/ui/webc/main/Switch.js +2 -2
  62. package/src/sap/ui/webc/main/Tab.js +3 -3
  63. package/src/sap/ui/webc/main/TabContainer.js +40 -4
  64. package/src/sap/ui/webc/main/TabSeparator.js +10 -2
  65. package/src/sap/ui/webc/main/Table.js +2 -2
  66. package/src/sap/ui/webc/main/TableCell.js +1 -1
  67. package/src/sap/ui/webc/main/TableColumn.js +21 -1
  68. package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
  69. package/src/sap/ui/webc/main/TableRow.js +9 -1
  70. package/src/sap/ui/webc/main/TextArea.js +2 -3
  71. package/src/sap/ui/webc/main/TimePicker.js +31 -3
  72. package/src/sap/ui/webc/main/Title.js +1 -1
  73. package/src/sap/ui/webc/main/Toast.js +1 -1
  74. package/src/sap/ui/webc/main/ToggleButton.js +4 -3
  75. package/src/sap/ui/webc/main/Token.js +6 -4
  76. package/src/sap/ui/webc/main/Tree.js +31 -2
  77. package/src/sap/ui/webc/main/TreeItem.js +63 -10
  78. package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
  79. package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
  80. package/src/sap/ui/webc/main/library.js +348 -70
  81. package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
  82. package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
  83. package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
  84. package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
  85. package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
  86. package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
  87. package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
  88. package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
  89. package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
  90. package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
  91. package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
  92. package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
  93. package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
  94. package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
  95. package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
  96. package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
  97. package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
  98. package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
  99. package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
  100. package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
  101. package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
  102. package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
  103. package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
  104. package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
  105. package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
  106. package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
  107. package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
  108. package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
  109. package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
  110. package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
  111. package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
  112. package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
  113. package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
  114. package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
  115. package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
  116. package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
  117. package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
  118. package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
  119. package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
  120. package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
  121. package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
  122. package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
  123. package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
  124. package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
  125. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
  126. package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
  127. package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
  128. package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
  129. package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
  130. package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
  131. package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
  132. package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
  133. package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
  134. package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
  135. package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
  136. package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
  137. package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
  138. package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
  139. package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
  140. package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
  141. package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
  142. package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
  143. package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
  144. package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
  145. package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
  146. package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
  147. package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
  148. package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
  149. package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
  150. package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
  151. package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
  152. package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
  153. package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
  154. package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
  155. package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
  156. package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
  157. package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
  158. package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
  159. package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
  160. package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
  161. package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
  162. package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
  163. package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
  164. package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
  165. package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
  166. package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
  167. package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
  168. package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
  169. package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
  170. package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
  171. package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
  172. package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
  173. package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
  174. package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
  175. package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
  176. package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
  177. package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
  178. package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
  179. package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
  180. package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
  181. package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
  182. package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
  183. package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
  184. package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
  185. package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
  186. package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
  187. package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
  188. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
  189. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
  190. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
  191. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
  192. package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
  193. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
  194. package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
  195. package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
  196. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
  197. package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
  198. package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
  199. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
  200. package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
  201. package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
  202. package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
  203. package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
  204. package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
  205. package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
  206. package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
  207. package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
  208. package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
  209. package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
  210. package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
  211. package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
  212. package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
  213. package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
  214. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
  215. package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
  216. package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
  217. package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
  218. package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
  219. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
  220. package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
  221. package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
  222. package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
  223. package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
  224. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
  225. package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
  226. package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
  227. package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
  228. package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
  229. package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
  230. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
  231. package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
  232. package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
  233. package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
  234. package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
  235. package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
  236. package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
  237. package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
  238. package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
  239. package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
  240. package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
  241. package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
  242. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
  243. package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
  244. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
  245. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
  246. package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
  247. package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
  248. package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
  249. package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
  250. package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
  251. package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
  252. package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
  253. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
  254. package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
  255. package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
  256. package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
  257. package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
  258. package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
  259. package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
  260. package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
  261. package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
  262. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
  263. package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
  264. package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
  265. package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
  266. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
  267. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
  268. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
  269. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
  270. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
  271. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
  272. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
  273. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
  274. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  275. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
  276. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
  277. package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  278. package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
  279. package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
  280. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
  281. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
  282. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
  283. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
  284. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
  285. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
  286. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
  287. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
  288. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
  289. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
  290. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
  291. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
  292. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
  293. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
  294. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
  295. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
  296. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
  297. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
  298. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
  299. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
  300. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
  301. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
  302. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
  303. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
  304. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
  305. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
  306. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
  307. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
  308. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
  309. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
  310. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
  311. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
  312. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
  313. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
  314. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
  315. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
  316. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
  317. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
  318. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
  319. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
  320. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
  321. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
  322. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
  323. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
  324. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
  325. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
  326. package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
  327. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
  328. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
  329. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
  330. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
  331. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
  332. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
  333. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
  334. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
  335. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
  336. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
  337. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
  338. package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
  339. package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
  340. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
  341. package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
  342. package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
  343. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
  344. package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
  345. package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
  346. package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
  347. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
  348. package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
  349. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
  350. package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
  351. package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
  352. package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
  353. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
  354. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
  355. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
  356. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
  357. package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
  358. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
  359. package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
  360. package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
  361. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
  362. package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
  363. package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
  364. package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
  365. package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
  366. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
  367. package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
  368. package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
  369. package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
  370. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
  371. package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
  372. package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
  373. package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
  374. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
  375. package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
  376. package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
  377. package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
  378. package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
  379. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
  380. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
  381. package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
  382. package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
  383. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
  384. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
  385. package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
  386. package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
  387. package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
  388. package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
  389. package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
  390. package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
  391. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
  392. package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
  393. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
  394. package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
  395. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
  396. package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
  397. package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
  398. package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
  399. package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
  400. package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
  401. package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
  402. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
  403. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
  404. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
  405. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
  406. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
  407. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
  408. package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
  409. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
  410. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
  411. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
  412. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
  413. package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
  414. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
  415. package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
  416. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
  417. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
  418. package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
  419. package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
  420. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
  421. package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
  422. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
  423. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
  424. package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
  425. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
  426. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
  427. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
  428. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
  429. package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
  430. package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
  431. package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
  432. package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
  433. package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
  434. package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
  435. package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
  436. package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
  437. package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
  438. package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
  439. package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
  440. package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
  441. package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
  442. package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
  443. package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
  444. package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
  445. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
  446. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
  447. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
  448. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
  449. package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
  450. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
  451. package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
  452. package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
  453. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
  454. package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
  455. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
  456. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
  457. package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
  458. package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
  459. package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
  460. package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
  461. package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
  462. package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
  463. package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
  464. package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
  465. package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
  466. package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
  467. package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
  468. package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
  469. package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
  470. package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
  471. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
  472. package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
  473. package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
  474. package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
  475. package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
  476. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
  477. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
  478. package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
  479. package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
  480. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
  481. package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
  482. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
  483. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
  484. package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
  485. package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
  486. package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
  487. package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
  488. package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
  489. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
  490. package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
  491. package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
  492. package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
  493. package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
  494. package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
  495. package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
  496. package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
  497. package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
  498. package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
  499. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
  500. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
  501. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
  502. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
  503. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
  504. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
  505. package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
  506. package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
  507. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
  508. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
  509. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
  510. package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
  511. package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
  512. package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
  513. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
  514. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
  515. package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
  516. package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
  517. package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
  518. package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
  519. package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
  520. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
  521. package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
  522. package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
  523. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
  524. package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
  525. package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
  526. package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
  527. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
  528. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
  529. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
  530. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
  531. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
  532. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
  533. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
  534. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
  535. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
  536. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
  537. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
  538. package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
  539. package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
  540. package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
  541. package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
  542. package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
  543. package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
  544. package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
  545. package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
  546. package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
  547. package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
  548. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
  549. package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
  550. package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
  551. package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
  552. package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
  553. package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
  554. package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
  555. package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
  556. package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
  557. package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
  558. package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
  559. package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
  560. package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
  561. package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
  562. package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
  563. package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
  564. package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
  565. package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
  566. package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
  567. package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
  568. package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
  569. package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
  570. package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
  571. package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
  572. package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
  573. package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
  574. package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
  575. package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
  576. package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
  577. package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
  578. package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
  579. package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
  580. package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
  581. package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
  582. package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
  583. package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
  584. package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
  585. package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
  586. package/ui5.yaml +19 -5
  587. package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
  588. package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
  589. package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
  590. package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
  591. package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
  592. package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,58 +1,26 @@
1
- sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/Keys", "./SliderBase", "./Icon", "./generated/templates/RangeSliderTemplate.lit", "./generated/i18n/i18n-defaults", "./generated/themes/RangeSlider.css"], function (_exports, _Float, _i18nBundle, _Keys, _SliderBase, _Icon, _RangeSliderTemplate, _i18nDefaults, _RangeSlider) {
1
+ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/types/Float", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/Keys", "./SliderBase", "./Icon", "./generated/templates/RangeSliderTemplate.lit", "./generated/i18n/i18n-defaults", "./generated/themes/RangeSlider.css"], function (_exports, _customElement, _property, _Float, _i18nBundle, _Keys, _SliderBase, _Icon, _RangeSliderTemplate, _i18nDefaults, _RangeSlider) {
2
2
  "use strict";
3
3
 
4
4
  Object.defineProperty(_exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  _exports.default = void 0;
8
+ _customElement = _interopRequireDefault(_customElement);
9
+ _property = _interopRequireDefault(_property);
8
10
  _Float = _interopRequireDefault(_Float);
9
11
  _SliderBase = _interopRequireDefault(_SliderBase);
10
12
  _Icon = _interopRequireDefault(_Icon);
11
13
  _RangeSliderTemplate = _interopRequireDefault(_RangeSliderTemplate);
12
14
  _RangeSlider = _interopRequireDefault(_RangeSlider);
13
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
- // Texts
15
-
16
- // Styles
17
-
18
- /**
19
- * @public
20
- */
21
- const metadata = {
22
- tag: "ui5-range-slider",
23
- languageAware: true,
24
- managedSlots: true,
25
- properties: /** @lends sap.ui.webcomponents.main.RangeSlider.prototype */{
26
- /**
27
- * Defines start point of a selection - position of a first handle on the slider.
28
- * <br><br>
29
- *
30
- * @type {Float}
31
- * @defaultvalue 0
32
- * @public
33
- */
34
- startValue: {
35
- type: _Float.default,
36
- defaultValue: 0
37
- },
38
- /**
39
- * Defines end point of a selection - position of a second handle on the slider.
40
- * <br><br>
41
- *
42
- * @type {Float}
43
- * @defaultvalue 100
44
- * @public
45
- */
46
- endValue: {
47
- type: _Float.default,
48
- defaultValue: 100
49
- },
50
- rangePressed: {
51
- type: Boolean
52
- }
53
- }
16
+ var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
17
+ var c = arguments.length,
18
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
19
+ d;
20
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
21
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
54
22
  };
55
-
23
+ var RangeSlider_1;
56
24
  /**
57
25
  * @class
58
26
  *
@@ -82,6 +50,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
82
50
  * <h3>Responsive Behavior</h3>
83
51
  * You can move the currently selected range by clicking on it and dragging it along the interval.
84
52
  *
53
+ * <h3>CSS Shadow Parts</h3>
54
+ *
55
+ * <ui5-link target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/CSS/::part">CSS Shadow Parts</ui5-link> allow developers to style elements inside the Shadow DOM.
56
+ * <br>
57
+ * The <code>ui5-range-slider</code> exposes the following CSS Shadow Parts:
58
+ * <ul>
59
+ * <li>progress-container - Used to style the progress container(the horizontal bar which visually represents the range between the minimum and maximum value) of the <code>ui5-range-slider</code>.</li>
60
+ * <li>progress-bar - Used to style the progress bar, which shows the progress of the <code>ui5-range-slider</code>.</li>
61
+ * <li>handle - Used to style the handles of the <code>ui5-range-slider</code>.</li>
62
+ * </ul>
63
+ *
85
64
  * <h3>Keyboard Handling</h3>
86
65
  *
87
66
  * <ul>
@@ -105,68 +84,57 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
105
84
  *
106
85
  * @constructor
107
86
  * @author SAP SE
108
- * @alias sap.ui.webcomponents.main.RangeSlider
109
- * @extends SliderBase
87
+ * @alias sap.ui.webc.main.RangeSlider
88
+ * @extends sap.ui.webc.main.SliderBase
110
89
  * @tagname ui5-range-slider
111
90
  * @since 1.0.0-rc.11
112
91
  * @public
113
92
  */
114
- class RangeSlider extends _SliderBase.default {
115
- static get metadata() {
116
- return metadata;
117
- }
118
- static get template() {
119
- return _RangeSliderTemplate.default;
120
- }
121
- static get VALUES() {
122
- return {
123
- start: "startValue",
124
- end: "endValue"
125
- };
126
- }
127
- static get dependencies() {
128
- return [_Icon.default];
129
- }
130
- static get styles() {
131
- return [_SliderBase.default.styles, _RangeSlider.default];
132
- }
93
+ let RangeSlider = RangeSlider_1 = class RangeSlider extends _SliderBase.default {
133
94
  constructor() {
134
95
  super();
135
- this._stateStorage.startValue = null;
136
- this._stateStorage.endValue = null;
96
+ this._isPressInCurrentRange = false;
97
+ this._handeIsPressed = false;
98
+ this._reversedValues = false;
99
+ this._stateStorage.startValue = undefined;
100
+ this._stateStorage.endValue = undefined;
137
101
  }
138
102
  get tooltipStartValue() {
139
- const stepPrecision = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);
103
+ const ctor = this.constructor;
104
+ const stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);
140
105
  return this.startValue.toFixed(stepPrecision);
141
106
  }
142
107
  get tooltipEndValue() {
143
- const stepPrecision = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);
108
+ const ctor = this.constructor;
109
+ const stepPrecision = ctor._getDecimalPrecisionOfNumber(this._effectiveStep);
144
110
  return this.endValue.toFixed(stepPrecision);
145
111
  }
146
112
  get _ariaDisabled() {
147
113
  return this.disabled || undefined;
148
114
  }
149
115
  get _ariaLabelledByText() {
150
- return RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_ARIA_DESCRIPTION);
116
+ return RangeSlider_1.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_ARIA_DESCRIPTION);
151
117
  }
152
118
  get _ariaHandlesText() {
153
119
  const isRTL = this.effectiveDir === "rtl";
154
120
  const isReversed = this._areValuesReversed();
155
121
  const ariaHandlesText = {};
156
122
  if (isRTL && !isReversed || !isRTL && isReversed) {
157
- ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_END_HANDLE_DESCRIPTION);
158
- ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_START_HANDLE_DESCRIPTION);
123
+ ariaHandlesText.startHandleText = RangeSlider_1.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_END_HANDLE_DESCRIPTION);
124
+ ariaHandlesText.endHandleText = RangeSlider_1.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_START_HANDLE_DESCRIPTION);
159
125
  } else {
160
- ariaHandlesText.startHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_START_HANDLE_DESCRIPTION);
161
- ariaHandlesText.endHandleText = RangeSlider.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_END_HANDLE_DESCRIPTION);
126
+ ariaHandlesText.startHandleText = RangeSlider_1.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_START_HANDLE_DESCRIPTION);
127
+ ariaHandlesText.endHandleText = RangeSlider_1.i18nBundle.getText(_i18nDefaults.RANGE_SLIDER_END_HANDLE_DESCRIPTION);
162
128
  }
163
129
  return ariaHandlesText;
164
130
  }
165
-
131
+ get _ariaValueNow() {
132
+ return Math.abs(this.endValue - this.startValue);
133
+ }
166
134
  /**
167
135
  * Check if the previously saved state is outdated. That would mean
168
136
  * either it is the initial rendering or that a property has been changed
169
- * programatically - because the previous state is always updated in
137
+ * programmatically - because the previous state is always updated in
170
138
  * the interaction handlers.
171
139
  *
172
140
  * Normalize current properties, update the previously stored state.
@@ -174,25 +142,60 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
174
142
  *
175
143
  */
176
144
  onBeforeRendering() {
145
+ if (this.startValue > this.endValue) {
146
+ const affectedValue = this._valueAffected === "startValue" ? "endValue" : "startValue";
147
+ this._swapValues();
148
+ this._setAffectedValue(affectedValue);
149
+ this.update(affectedValue, this.startValue, this.endValue);
150
+ }
177
151
  if (!this.isCurrentStateOutdated()) {
178
152
  return;
179
153
  }
180
154
  this.notResized = true;
181
- this.syncUIAndState("startValue", "endValue");
182
- this._updateHandlesAndRange(null);
183
- }
184
- _onfocusin(event) {
155
+ this.syncUIAndState();
156
+ this._updateHandlesAndRange(0);
157
+ }
158
+ syncUIAndState() {
159
+ // Validate step and update the stored state for the step property.
160
+ if (this.isPropertyUpdated("step")) {
161
+ this._validateStep(this.step);
162
+ this.storePropertyState("step");
163
+ }
164
+ // Recalculate the tickmarks and labels and update the stored state.
165
+ if (this.isPropertyUpdated("min", "max", "startValue", "endValue")) {
166
+ this.storePropertyState("min", "max");
167
+ // Here the value props are changed programmatically (not by user interaction)
168
+ // and it won't be "stepified" (rounded to the nearest step). 'Clip' them within
169
+ // min and max bounderies and update the previous state reference.
170
+ const normalizedStartValue = _SliderBase.default.clipValue(this.startValue, this._effectiveMin, this._effectiveMax);
171
+ this.startValue = normalizedStartValue;
172
+ this.updateStateStorageAndFireInputEvent("startValue");
173
+ this.storePropertyState("startValue");
174
+ const normalizedEndValue = _SliderBase.default.clipValue(this.endValue, this._effectiveMin, this._effectiveMax);
175
+ this.endValue = normalizedEndValue;
176
+ this.updateStateStorageAndFireInputEvent("endValue");
177
+ this.storePropertyState("endValue");
178
+ }
179
+ // Labels must be updated if any of the min/max/step/labelInterval props are changed
180
+ if (this.labelInterval && this.showTickmarks) {
181
+ this._createLabels();
182
+ }
183
+ // Update the stored state for the labelInterval, if changed
184
+ if (this.isPropertyUpdated("labelInterval")) {
185
+ this.storePropertyState("labelInterval");
186
+ }
187
+ }
188
+ _onfocusin() {
185
189
  // If this is the initial focusin of the component save its initial
186
190
  // value properties so they could be restored on ESC key press
187
- if (!this._getInitialValue("endValue")) {
188
- this._setInitialValue("startValue", this.startValue);
189
- this._setInitialValue("endValue", this.endValue);
191
+ if (!this._endValueInitial) {
192
+ this._startValueInitial = this.startValue;
193
+ this._endValueInitial = this.endValue;
190
194
  }
191
195
  if (this.showTooltip) {
192
196
  this._tooltipVisibility = _SliderBase.default.TOOLTIP_VISIBILITY.VISIBLE;
193
197
  }
194
198
  }
195
-
196
199
  /**
197
200
  * Handles focus out event of the focusable components inner elements.
198
201
  * Prevent focusout when the focus is getting initially set within the slider before the
@@ -205,19 +208,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
205
208
  *
206
209
  * @private
207
210
  */
208
- _onfocusout(event) {
211
+ _onfocusout() {
209
212
  if (this._isFocusing()) {
210
213
  this._preventFocusOut();
211
214
  return;
212
215
  }
213
- this._setAffectedValue(null);
214
- this._setInitialValue("startValue", null);
215
- this._setInitialValue("endValue", null);
216
+ this._setAffectedValue(undefined);
217
+ this._startValueInitial = undefined;
218
+ this._endValueInitial = undefined;
216
219
  if (this.showTooltip) {
217
220
  this._tooltipVisibility = _SliderBase.default.TOOLTIP_VISIBILITY.HIDDEN;
218
221
  }
219
222
  }
220
-
221
223
  /**
222
224
  * Handles keyup logic. If one of the handles came across the other
223
225
  * swap the start and end values. Reset the affected value by the finished
@@ -225,49 +227,52 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
225
227
  *
226
228
  * @private
227
229
  */
228
- _onkeyup(event) {
229
- super._onkeyup(event);
230
- this._swapValues();
231
- this._setAffectedValue(null);
232
- }
233
- _handleActionKeyPress(event) {
234
- if ((0, _Keys.isEscape)(event)) {
235
- this.update(null, this._getInitialValue("startValue"), this._getInitialValue("endValue"));
230
+ _onkeyup() {
231
+ super._onkeyup();
232
+ this._setAffectedValue(undefined);
233
+ if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
234
+ this.fireEvent("change");
235
+ }
236
+ this._startValueAtBeginningOfAction = undefined;
237
+ this._endValueAtBeginningOfAction = undefined;
238
+ }
239
+ _handleActionKeyPress(e) {
240
+ this._startValueAtBeginningOfAction = this.startValue;
241
+ this._endValueAtBeginningOfAction = this.endValue;
242
+ if ((0, _Keys.isEscape)(e)) {
243
+ this.update(undefined, this._startValueInitial, this._endValueInitial);
236
244
  return;
237
245
  }
238
-
239
246
  // Set the target of the interaction based on the focused inner element
240
247
  this._setAffectedValueByFocusedElement();
241
248
  const min = this._effectiveMin;
242
249
  const max = this._effectiveMax;
243
250
  const affectedValue = this._valueAffected;
244
-
245
251
  // If home/end key is pressed and no single handle is focused the active element
246
252
  // is the range selection - update both start and end values. Otherwise, if 'home'
247
253
  // is pressed the 'startValue'will be used for the start-handle offset calculation,
248
254
  // if 'End' is pressed - the 'endValue' will be used for the end-handle update.
249
- if (((0, _Keys.isEnd)(event) || (0, _Keys.isHome)(event)) && !affectedValue) {
250
- this._homeEndForSelectedRange(event, (0, _Keys.isHome)(event) ? "startValue" : "endValue", min, max);
255
+ if (((0, _Keys.isEnd)(e) || (0, _Keys.isHome)(e)) && !affectedValue) {
256
+ this._homeEndForSelectedRange(e, (0, _Keys.isHome)(e) ? "startValue" : "endValue", min, max);
251
257
  return;
252
258
  }
253
-
254
259
  // Calculate how much the value should be increased/decreased based on the action key
255
- const newValueOffset = this._handleActionKeyPressBase(event, affectedValue);
260
+ const newValueOffset = this._handleActionKeyPressBase(e, affectedValue);
256
261
  if (!newValueOffset) {
257
262
  return;
258
263
  }
259
-
260
264
  // Update a single value if one of the handles is focused or the range if not already at min or max
265
+ const ctor = this.constructor;
261
266
  if (affectedValue && !this._isPressInCurrentRange) {
262
- const newValue = this.constructor.clipValue(newValueOffset + this[affectedValue], min, max);
263
- this.update(affectedValue, newValue, null);
267
+ const propValue = this[affectedValue];
268
+ const newValue = ctor.clipValue(newValueOffset + propValue, min, max);
269
+ this.update(affectedValue, newValue, undefined);
264
270
  } else if (newValueOffset < 0 && this.startValue > min || newValueOffset > 0 && this.endValue < max) {
265
- const newStartValue = this.constructor.clipValue(newValueOffset + this.startValue, min, max);
266
- const newEndValue = this.constructor.clipValue(newValueOffset + this.endValue, min, max);
271
+ const newStartValue = ctor.clipValue(newValueOffset + this.startValue, min, max);
272
+ const newEndValue = ctor.clipValue(newValueOffset + this.endValue, min, max);
267
273
  this.update(affectedValue, newStartValue, newEndValue);
268
274
  }
269
275
  }
270
-
271
276
  /**
272
277
  * Determines affected value (start/end) depending on the currently
273
278
  * active inner element within the Range Slider - used in the keyboard handling.
@@ -276,30 +281,29 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
276
281
  */
277
282
  _setAffectedValueByFocusedElement() {
278
283
  if (this.shadowRoot.activeElement === this._startHandle) {
279
- this._setAffectedValue(RangeSlider.VALUES.start);
284
+ this._setAffectedValue("startValue");
280
285
  }
281
286
  if (this.shadowRoot.activeElement === this._endHandle) {
282
- this._setAffectedValue(RangeSlider.VALUES.end);
287
+ this._setAffectedValue("endValue");
283
288
  }
284
289
  if (this.shadowRoot.activeElement === this._progressBar) {
285
- this._setAffectedValue(null);
290
+ this._setAffectedValue(undefined);
286
291
  }
287
292
  this._setIsPressInCurrentRange(!this._valueAffected);
288
293
  }
289
-
290
294
  /**
291
295
  * Calculates the start and end values when the 'Home" or 'End' keys
292
296
  * are pressed on the selected range bar.
293
297
  *
294
298
  * @private
295
299
  */
296
- _homeEndForSelectedRange(event, affectedValue, min, max) {
297
- const newValueOffset = this._handleActionKeyPressBase(event, affectedValue);
298
- const newStartValue = this.constructor.clipValue(newValueOffset + this.startValue, min, max);
299
- const newEndValue = this.constructor.clipValue(newValueOffset + this.endValue, min, max);
300
- this.update(null, newStartValue, newEndValue);
300
+ _homeEndForSelectedRange(e, affectedValue, min, max) {
301
+ const newValueOffset = this._handleActionKeyPressBase(e, affectedValue);
302
+ const ctor = this.constructor;
303
+ const newStartValue = ctor.clipValue(newValueOffset + this.startValue, min, max);
304
+ const newEndValue = ctor.clipValue(newValueOffset + this.endValue, min, max);
305
+ this.update(undefined, newStartValue, newEndValue);
301
306
  }
302
-
303
307
  /**
304
308
  * Update values, stored inner state and the visual UI representation of the component.
305
309
  * If no specific type of value property is passed - the range is selected - update both handles,
@@ -309,45 +313,48 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
309
313
  */
310
314
  update(affectedValue, startValue, endValue) {
311
315
  if (!affectedValue) {
312
- this.updateValue("startValue", startValue);
313
- this.updateValue("endValue", endValue);
314
- this._updateHandlesAndRange(null);
316
+ this.startValue = startValue;
317
+ this.updateStateStorageAndFireInputEvent("startValue");
318
+ this.endValue = endValue;
319
+ this.updateStateStorageAndFireInputEvent("endValue");
320
+ this._updateHandlesAndRange(0);
315
321
  } else {
316
- const newValue = startValue;
317
- this._updateHandlesAndRange(newValue);
318
- this.updateValue(affectedValue, newValue);
322
+ const newValue = endValue && affectedValue === "endValue" ? endValue : startValue;
323
+ this._updateHandlesAndRange(newValue || 0);
324
+ if (affectedValue === "startValue") {
325
+ this.startValue = newValue;
326
+ this.updateStateStorageAndFireInputEvent("startValue");
327
+ }
328
+ if (affectedValue === "endValue") {
329
+ this.endValue = newValue;
330
+ this.updateStateStorageAndFireInputEvent("endValue");
331
+ }
319
332
  }
320
333
  }
321
-
322
334
  /**
323
335
  * Called when the user starts interacting with the slider
324
336
  *
325
337
  * @private
326
338
  */
327
- _onmousedown(event) {
339
+ _onmousedown(e) {
328
340
  // If step is 0 no interaction is available because there is no constant
329
341
  // (equal for all user environments) quantitative representation of the value
330
342
  if (this.disabled || this._effectiveStep === 0) {
331
343
  return;
332
344
  }
333
-
334
345
  // Calculate the new value from the press position of the event
335
- const newValue = this.handleDownBase(event);
336
-
346
+ const newValue = this.handleDownBase(e);
337
347
  // Determine the rest of the needed details from the start of the interaction.
338
- this._saveInteractionStartData(event, newValue);
348
+ this._saveInteractionStartData(e, newValue);
339
349
  this.rangePressed = this._isPressInCurrentRange;
340
-
341
350
  // Do not yet update the RangeSlider if press is in range or over a handle.
342
351
  if (this._isPressInCurrentRange || this._handeIsPressed) {
343
352
  this._handeIsPressed = false;
344
353
  return;
345
354
  }
346
-
347
355
  // Update Slider UI and internal state
348
- this.update(this._valueAffected, newValue, null);
356
+ this.update(this._valueAffected, newValue, undefined);
349
357
  }
350
-
351
358
  /**
352
359
  * Determines and saves needed values from the start of the interaction:
353
360
  *
@@ -358,54 +365,48 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
358
365
  *
359
366
  * @private
360
367
  */
361
- _saveInteractionStartData(event, newValue) {
368
+ _saveInteractionStartData(e, newValue) {
362
369
  const progressBarDom = this.shadowRoot.querySelector(".ui5-slider-progress").getBoundingClientRect();
363
-
364
370
  // Save the state of the value properties on the start of the interaction
365
371
  this._startValueAtBeginningOfAction = this.startValue;
366
372
  this._endValueAtBeginningOfAction = this.endValue;
367
-
368
373
  // Save the initial press point coordinates (position)
369
- this._initialPageXPosition = this.constructor.getPageXValueFromEvent(event);
374
+ const ctor = this.constructor;
375
+ this._initialPageXPosition = ctor.getPageXValueFromEvent(e);
370
376
  // Which element of the Range Slider is pressed and which value property to be modified on further interaction
371
377
  this._pressTargetAndAffectedValue(this._initialPageXPosition, newValue);
372
378
  // Use the progress bar to save the initial coordinates of the start-handle when the interaction begins.
373
379
  this._initialStartHandlePageX = this.directionStart === "left" ? progressBarDom.left : progressBarDom.right;
374
380
  }
375
-
376
381
  /**
377
382
  * Called when the user moves the slider
378
383
  *
379
384
  * @private
380
385
  */
381
- _handleMove(event) {
382
- event.preventDefault();
383
-
386
+ _handleMove(e) {
387
+ e.preventDefault();
384
388
  // If 'step' is 0 no interaction is available as there is no constant quantitative representation of the value
385
389
  if (this.disabled || this._effectiveStep === 0) {
386
390
  return;
387
391
  }
388
-
389
392
  // Update UI and state when dragging a single Range Slider handle
390
393
  if (!this._isPressInCurrentRange) {
391
- this._updateValueOnHandleDrag(event);
394
+ this._updateValueOnHandleDrag(e);
392
395
  return;
393
396
  }
394
-
395
397
  // Updates UI and state when dragging of the whole selected range
396
- this._updateValueOnRangeDrag(event);
398
+ this._updateValueOnRangeDrag(e);
397
399
  }
398
-
399
400
  /**
400
401
  * Updates UI and state when dragging a single Range Slider handle
401
402
  *
402
403
  * @private
403
404
  */
404
405
  _updateValueOnHandleDrag(event) {
405
- const newValue = this.constructor.getValueFromInteraction(event, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);
406
- this.update(this._valueAffected, newValue, null);
406
+ const ctor = this.constructor;
407
+ const newValue = ctor.getValueFromInteraction(event, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart);
408
+ this.update(this._valueAffected, newValue, undefined);
407
409
  }
408
-
409
410
  /**
410
411
  * Updates UI and state when dragging of the whole selected range
411
412
  *
@@ -413,29 +414,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
413
414
  */
414
415
  _updateValueOnRangeDrag(event) {
415
416
  // Calculate the new 'start' and 'end' values from the offset between the original press point and the current position of the mouse
416
- const currentPageXPos = this.constructor.getPageXValueFromEvent(event);
417
+ const ctor = this.constructor;
418
+ const currentPageXPos = ctor.getPageXValueFromEvent(event);
417
419
  const newValues = this._calculateRangeOffset(currentPageXPos, this._initialStartHandlePageX);
418
-
419
420
  // 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);
421
-
422
- // Update the UI and the state acccording to the calculated new values
423
- this.update(null, newValues[0], newValues[1]);
421
+ this._setAffectedValue(undefined);
422
+ // Update the UI and the state according to the calculated new values
423
+ this.update(undefined, newValues[0], newValues[1]);
424
424
  }
425
425
  _handleUp() {
426
+ this._setAffectedValueByFocusedElement();
427
+ this._setAffectedValue(undefined);
426
428
  if (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) {
427
429
  this.fireEvent("change");
428
430
  }
429
- this._swapValues();
430
- this._setAffectedValueByFocusedElement();
431
- this._setAffectedValue(null);
432
- this._startValueAtBeginningOfAction = null;
433
- this._endValueAtBeginningOfAction = null;
434
431
  this._setIsPressInCurrentRange(false);
435
432
  this.handleUpBase();
436
433
  this.rangePressed = false;
434
+ this._startValueAtBeginningOfAction = undefined;
435
+ this._endValueAtBeginningOfAction = undefined;
437
436
  }
438
-
439
437
  /**
440
438
  * Determines where the press occured and which values of the Range Slider
441
439
  * handles should be updated on further interaction.
@@ -453,51 +451,43 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
453
451
  _pressTargetAndAffectedValue(clientX, value) {
454
452
  const startHandle = this.shadowRoot.querySelector(".ui5-slider-handle--start");
455
453
  const endHandle = this.shadowRoot.querySelector(".ui5-slider-handle--end");
456
-
457
454
  // Check if the press point is in the bounds of any of the Range Slider handles
458
455
  const handleStartDomRect = startHandle.getBoundingClientRect();
459
456
  const handleEndDomRect = endHandle.getBoundingClientRect();
460
457
  const inHandleStartDom = clientX >= handleStartDomRect.left && clientX <= handleStartDomRect.right;
461
458
  const inHandleEndDom = clientX >= handleEndDomRect.left && clientX <= handleEndDomRect.right;
462
-
463
459
  // Remove the flag for value in current range if the press action is over one of the handles
464
460
  if (inHandleEndDom || inHandleStartDom) {
465
461
  this._handeIsPressed = true;
466
462
  }
467
-
468
463
  // Return that handle that is closer to the press point
469
464
  if (inHandleEndDom || value > this.endValue) {
470
- this._setAffectedValue(RangeSlider.VALUES.end);
465
+ this._setAffectedValue("endValue");
471
466
  }
472
-
473
467
  // If one of the handle is pressed return that one
474
468
  if (inHandleStartDom || value < this.startValue) {
475
- this._setAffectedValue(RangeSlider.VALUES.start);
469
+ this._setAffectedValue("startValue");
476
470
  }
477
-
478
471
  // Flag if press is in the current select range
479
- const isNewValueInCurrentRange = value >= this._startValueAtBeginningOfAction && value <= this._endValueAtBeginningOfAction;
472
+ const isNewValueInCurrentRange = this._startValueAtBeginningOfAction !== undefined && this._endValueAtBeginningOfAction !== undefined && value >= this._startValueAtBeginningOfAction && value <= this._endValueAtBeginningOfAction;
480
473
  this._setIsPressInCurrentRange(!(this._valueAffected || this._handeIsPressed) ? isNewValueInCurrentRange : false);
481
474
  }
482
-
483
475
  /**
484
476
  * Sets the value property (start/end) that will get updated
485
477
  * by a user action depending on that user action's characteristics
486
478
  * - mouse press position - cursor coordinates relative to the start/end handles
487
479
  * - selected inner element via a keyboard navigation
488
480
  *
489
- * @param {string} valuePropAffectedByInteraction The value that will get modified by the interaction
481
+ * @param {string} affectedValue The value that will get modified by the interaction
490
482
  * @private
491
483
  */
492
- _setAffectedValue(valuePropAffectedByInteraction) {
493
- this._valueAffected = valuePropAffectedByInteraction;
494
-
484
+ _setAffectedValue(affectedValue) {
485
+ this._valueAffected = affectedValue;
495
486
  // If the values have been swapped reset the reversed flag
496
487
  if (this._areValuesReversed()) {
497
488
  this._setValuesAreReversed();
498
489
  }
499
490
  }
500
-
501
491
  /**
502
492
  * Flag if press action is made on the currently selected range of values
503
493
  *
@@ -507,7 +497,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
507
497
  _setIsPressInCurrentRange(isPressInCurrentRange) {
508
498
  this._isPressInCurrentRange = isPressInCurrentRange;
509
499
  }
510
-
511
500
  /**
512
501
  * Manage the focus between the focusable inner elements within the component.
513
502
  *
@@ -539,14 +528,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
539
528
  if (this._isPressInCurrentRange || !affectedValue) {
540
529
  this._progressBar.focus();
541
530
  }
542
- if (affectedValue === RangeSlider.VALUES.start && !isReversed || affectedValue === RangeSlider.VALUES.end && isReversed) {
531
+ if (affectedValue === "startValue" && !isReversed || affectedValue === "endValue" && isReversed) {
543
532
  this._startHandle.focus();
544
533
  }
545
- if (affectedValue === RangeSlider.VALUES.end && !isReversed || affectedValue === RangeSlider.VALUES.start && isReversed) {
534
+ if (affectedValue === "endValue" && !isReversed || affectedValue === "startValue" && isReversed) {
546
535
  this._endHandle.focus();
547
536
  }
548
537
  }
549
-
550
538
  /**
551
539
  * Calculates startValue/endValue properties when the whole range is moved.
552
540
  *
@@ -560,23 +548,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
560
548
  */
561
549
  _calculateRangeOffset(currentPageXPos, initialStartHandlePageXPos) {
562
550
  // Return the current values if there is no difference in the
563
- // possitions of the initial press and the current pointer
551
+ // positions of the initial press and the current pointer
564
552
  if (this._initialPageXPosition === currentPageXPos) {
565
553
  return [this.startValue, this.endValue];
566
554
  }
567
555
  const min = this._effectiveMin;
568
556
  const max = this._effectiveMax;
569
557
  const selectedRange = this.endValue - this.startValue;
570
-
571
558
  // Computes the new value based on the difference of the current cursor location from the start of the interaction
572
559
  let startValue = this._calculateStartValueByOffset(currentPageXPos, initialStartHandlePageXPos);
573
-
574
560
  // When the end handle reaches the max possible value prevent the start handle from moving
575
561
  // And the opposite - if the start handle reaches the beginning of the slider keep the initially selected range.
576
- startValue = this.constructor.clipValue(startValue, min, max - selectedRange);
562
+ const ctor = this.constructor;
563
+ startValue = ctor.clipValue(startValue, min, max - selectedRange);
577
564
  return [startValue, startValue + selectedRange];
578
565
  }
579
-
580
566
  /**
581
567
  * Computes the new value based on the difference of the current cursor location from the
582
568
  * start of the interaction.
@@ -594,26 +580,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
594
580
  let startValue;
595
581
  let startValuePageX;
596
582
  let positionOffset;
597
-
598
583
  /* Depending on the dragging direction:
599
584
  - calculate the new position of the start handle from its old pageX value combined with the movement offset;
600
585
  - calculate the start value based on its new pageX coordinates;
601
586
  - 'stepify' the calculated value based on the specified step property; */
587
+ const ctor = this.constructor;
602
588
  if (currentPageXPos > this._initialPageXPosition) {
603
589
  // Difference between the new position of the pointer and when the press event initial occured
604
590
  positionOffset = currentPageXPos - this._initialPageXPosition;
605
591
  startValuePageX = initialStartHandlePageXPos + positionOffset;
606
- startValue = this.constructor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
607
- startValue = this.constructor.getSteppedValue(startValue, step, min);
592
+ startValue = ctor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
593
+ startValue = ctor.getSteppedValue(startValue, step, min);
608
594
  } else {
609
595
  positionOffset = this._initialPageXPosition - currentPageXPos;
610
596
  startValuePageX = initialStartHandlePageXPos - positionOffset;
611
- startValue = this.constructor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
612
- startValue = this.constructor.getSteppedValue(startValue, step, min);
597
+ startValue = ctor.computedValueFromPageX(startValuePageX, min, max, dom, this.directionStart);
598
+ startValue = ctor.getSteppedValue(startValue, step, min);
613
599
  }
614
600
  return startValue;
615
601
  }
616
-
617
602
  /**
618
603
  * Updates the visual representation of the component by calculating
619
604
  * the styles of the handles and the range selection based on the new state.
@@ -623,17 +608,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
623
608
  _updateHandlesAndRange(newValue) {
624
609
  const max = this._effectiveMax;
625
610
  const min = this._effectiveMin;
626
- const prevStartValue = this.getStoredPropertyState("startValue");
627
- const prevEndValue = this.getStoredPropertyState("endValue");
611
+ const prevStartValue = this.getStoredPropertyState("startValue") || 0;
612
+ const prevEndValue = this.getStoredPropertyState("endValue") || 0;
628
613
  const affectedValue = this._valueAffected;
629
-
630
614
  // The value according to which we update the UI can be either the startValue
631
615
  // or the endValue property. It is determined in _getClosestHandle()
632
616
  // depending on to which handle is closer the user interaction.
633
- if (affectedValue === RangeSlider.VALUES.start) {
617
+ if (affectedValue === "startValue") {
634
618
  this._selectedRange = (prevEndValue - newValue) / (max - min);
635
619
  this._firstHandlePositionFromStart = (newValue - min) / (max - min) * 100;
636
- } else if (affectedValue === RangeSlider.VALUES.end) {
620
+ } else if (affectedValue === "endValue") {
637
621
  this._selectedRange = (newValue - prevStartValue) / (max - min);
638
622
  this._secondHandlePositionFromStart = (newValue - min) / (max - min) * 100;
639
623
  } else {
@@ -643,7 +627,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
643
627
  this._secondHandlePositionFromStart = (this.endValue - min) / (max - min) * 100;
644
628
  }
645
629
  }
646
-
647
630
  /**
648
631
  * Swaps the start and end values of the handles if one came accros the other:
649
632
  * - If the start value is greater than the endValue swap them and their handles
@@ -658,22 +641,24 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
658
641
  */
659
642
  _swapValues() {
660
643
  const affectedValue = this._valueAffected;
661
- if (affectedValue === RangeSlider.VALUES.start && this.startValue > this.endValue) {
644
+ if (!affectedValue) {
645
+ return;
646
+ }
647
+ if (affectedValue === "startValue" && this.startValue > this.endValue) {
662
648
  const prevEndValue = this.endValue;
663
649
  this.endValue = this.startValue;
664
650
  this.startValue = prevEndValue;
665
- this._setValuesAreReversed();
666
- this.focusInnerElement();
667
651
  }
668
- if (affectedValue === RangeSlider.VALUES.end && this.endValue < this.startValue) {
652
+ if (affectedValue === "endValue" && this.endValue < this.startValue) {
669
653
  const prevStartValue = this.startValue;
670
654
  this.startValue = this.endValue;
671
655
  this.endValue = prevStartValue;
672
- this._setValuesAreReversed();
673
- this.focusInnerElement();
674
656
  }
657
+ this._setValuesAreReversed();
658
+ this._updateHandlesAndRange(this[affectedValue]);
659
+ this.focusInnerElement();
660
+ this.syncUIAndState();
675
661
  }
676
-
677
662
  /**
678
663
  * Flag that we have swapped the values of the 'start' and 'end' properties,
679
664
  * to correctly switch the focus within the component from one handle to another
@@ -732,9 +717,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
732
717
  endHandle: {
733
718
  [this.directionStart]: `${this._secondHandlePositionFromStart}%`
734
719
  },
735
- tickmarks: {
736
- "background": `${this._tickmarks}`
737
- },
738
720
  label: {
739
721
  "width": `${this._labelWidth}%`
740
722
  },
@@ -748,9 +730,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Float", "sap
748
730
  };
749
731
  }
750
732
  static async onDefine() {
751
- RangeSlider.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
733
+ RangeSlider_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
752
734
  }
753
- }
735
+ };
736
+ __decorate([(0, _property.default)({
737
+ validator: _Float.default,
738
+ defaultValue: 0
739
+ })], RangeSlider.prototype, "startValue", void 0);
740
+ __decorate([(0, _property.default)({
741
+ validator: _Float.default,
742
+ defaultValue: 100
743
+ })], RangeSlider.prototype, "endValue", void 0);
744
+ __decorate([(0, _property.default)({
745
+ type: Boolean
746
+ })], RangeSlider.prototype, "rangePressed", void 0);
747
+ RangeSlider = RangeSlider_1 = __decorate([(0, _customElement.default)({
748
+ tag: "ui5-range-slider",
749
+ languageAware: true,
750
+ template: _RangeSliderTemplate.default,
751
+ dependencies: [_Icon.default],
752
+ styles: [_SliderBase.default.styles, _RangeSlider.default]
753
+ })], RangeSlider);
754
754
  RangeSlider.define();
755
755
  var _default = RangeSlider;
756
756
  _exports.default = _default;