@openui5/sap.ui.webc.main 1.111.1 → 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
@@ -11,18 +11,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
11
11
  _Integer = _interopRequireDefault(_Integer);
12
12
  _ResizeHandler = _interopRequireDefault(_ResizeHandler);
13
13
  _SliderBase = _interopRequireDefault(_SliderBase);
14
-
15
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
-
17
15
  // Styles
18
16
 
19
17
  /**
20
18
  * @public
21
19
  */
22
20
  const metadata = {
23
- properties:
24
- /** @lends sap.ui.webcomponents.main.SliderBase.prototype */
25
- {
21
+ properties: /** @lends sap.ui.webcomponents.main.SliderBase.prototype */{
26
22
  /**
27
23
  * Defines the minimum value of the slider.
28
24
  *
@@ -34,7 +30,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
34
30
  type: _Float.default,
35
31
  defaultValue: 0
36
32
  },
37
-
38
33
  /**
39
34
  * Defines the maximum value of the slider.
40
35
  *
@@ -46,7 +41,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
46
41
  type: _Float.default,
47
42
  defaultValue: 100
48
43
  },
49
-
50
44
  /**
51
45
  * Defines the size of the slider's selection intervals (e.g. min = 0, max = 10, step = 5 would result in possible selection of the values 0, 5, 10).
52
46
  * <br><br>
@@ -60,7 +54,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
60
54
  type: _Float.default,
61
55
  defaultValue: 1
62
56
  },
63
-
64
57
  /**
65
58
  * Displays a label with a value on every N-th step.
66
59
  * <br><br>
@@ -76,7 +69,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
76
69
  type: _Integer.default,
77
70
  defaultValue: 0
78
71
  },
79
-
80
72
  /**
81
73
  * Enables tickmarks visualization for each step.
82
74
  * <br><br>
@@ -89,7 +81,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
89
81
  showTickmarks: {
90
82
  type: Boolean
91
83
  },
92
-
93
84
  /**
94
85
  * Enables handle tooltip displaying the current value.
95
86
  *
@@ -100,7 +91,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
100
91
  showTooltip: {
101
92
  type: Boolean
102
93
  },
103
-
104
94
  /**
105
95
  * Defines whether the slider is in disabled state.
106
96
  *
@@ -111,7 +101,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
111
101
  disabled: {
112
102
  type: Boolean
113
103
  },
114
-
115
104
  /**
116
105
  * Defines the accessible aria name of the component.
117
106
  *
@@ -123,7 +112,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
123
112
  accessibleName: {
124
113
  type: String
125
114
  },
126
-
127
115
  /**
128
116
  * @private
129
117
  */
@@ -138,9 +126,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
138
126
  type: Boolean
139
127
  }
140
128
  },
141
- events:
142
- /** @lends sap.ui.webcomponents.main.SliderBase.prototype */
143
- {
129
+ events: /** @lends sap.ui.webcomponents.main.SliderBase.prototype */{
144
130
  /**
145
131
  * Fired when the value changes and the user has finished interacting with the slider.
146
132
  *
@@ -148,7 +134,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
148
134
  * @public
149
135
  */
150
136
  change: {},
151
-
152
137
  /**
153
138
  * Fired when the value changes due to user interaction that is not yet finished - during mouse/touch dragging.
154
139
  *
@@ -158,6 +143,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
158
143
  input: {}
159
144
  }
160
145
  };
146
+
161
147
  /**
162
148
  * @class
163
149
  *
@@ -171,7 +157,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
171
157
  * @tagname ui5-slider
172
158
  * @public
173
159
  */
174
-
175
160
  class SliderBase extends _UI5Element.default {
176
161
  constructor() {
177
162
  super();
@@ -184,55 +169,44 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
184
169
  max: null,
185
170
  labelInterval: null
186
171
  };
187
-
188
172
  const handleTouchStartEvent = event => {
189
173
  this._onmousedown(event);
190
174
  };
191
-
192
175
  this._ontouchstart = {
193
176
  handleEvent: handleTouchStartEvent,
194
177
  passive: true
195
178
  };
196
179
  }
197
-
198
180
  static get metadata() {
199
181
  return metadata;
200
182
  }
201
-
202
183
  static get render() {
203
184
  return _LitRenderer.default;
204
185
  }
205
-
206
186
  static get styles() {
207
187
  return _SliderBase.default;
208
188
  }
209
-
210
189
  static get UP_EVENTS() {
211
190
  return ["mouseup", "touchend"];
212
191
  }
213
-
214
192
  static get MOVE_EVENT_MAP() {
215
193
  return {
216
194
  mousedown: "mousemove",
217
195
  touchstart: "touchmove"
218
196
  };
219
197
  }
220
-
221
198
  static get ACTION_KEYS() {
222
199
  return [_Keys.isLeft, _Keys.isRight, _Keys.isUp, _Keys.isDown, _Keys.isLeftCtrl, _Keys.isRightCtrl, _Keys.isUpCtrl, _Keys.isDownCtrl, _Keys.isPlus, _Keys.isMinus, _Keys.isHome, _Keys.isEnd, _Keys.isPageUp, _Keys.isPageDown, _Keys.isEscape];
223
200
  }
224
-
225
201
  static get MIN_SPACE_BETWEEN_TICKMARKS() {
226
202
  return 8;
227
203
  }
228
-
229
204
  static get TOOLTIP_VISIBILITY() {
230
205
  return {
231
206
  VISIBLE: "visible",
232
207
  HIDDEN: "hidden"
233
208
  };
234
209
  }
235
-
236
210
  get classes() {
237
211
  return {
238
212
  root: {
@@ -243,15 +217,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
243
217
  }
244
218
  };
245
219
  }
246
-
247
220
  onEnterDOM() {
248
221
  _ResizeHandler.default.register(this, this._resizeHandler);
249
222
  }
250
-
251
223
  onExitDOM() {
252
224
  _ResizeHandler.default.deregister(this, this._handleResize);
253
225
  }
254
-
255
226
  onAfterRendering() {
256
227
  // Only call if the resize is triggered by a state changes other than
257
228
  // the ones that occured on the previous resize and those caused by user interaction.
@@ -259,84 +230,74 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
259
230
  this._resizeHandler();
260
231
  }
261
232
  }
233
+
262
234
  /** Shows the tooltip(s) if the <code>showTooltip</code> property is set to true
263
235
  *
264
236
  * @private
265
237
  */
266
-
267
-
268
238
  _onmouseover(event) {
269
239
  if (this.showTooltip) {
270
240
  this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.VISIBLE;
271
241
  }
272
242
  }
243
+
273
244
  /**
274
245
  * Hides the tooltip(s) if the <code>showTooltip</code> property is set to true
275
246
  *
276
247
  * @private
277
248
  */
278
-
279
-
280
249
  _onmouseout(event) {
281
250
  if (this.showTooltip && !this.shadowRoot.activeElement) {
282
251
  this._tooltipVisibility = SliderBase.TOOLTIP_VISIBILITY.HIDDEN;
283
252
  }
284
253
  }
254
+
285
255
  /**
286
256
  * Sets initial value when the component is focused in, can be restored with ESC key
287
257
  *
288
258
  * @private
289
259
  */
290
-
291
-
292
260
  _setInitialValue(valueType, value) {
293
261
  this[`_${valueType}Initial`] = value;
294
262
  }
295
-
296
263
  _getInitialValue(valueType) {
297
264
  return this[`_${valueType}Initial`];
298
265
  }
299
-
300
266
  _onkeydown(event) {
301
267
  if (this.disabled || this._effectiveStep === 0) {
302
268
  return;
303
269
  }
304
-
305
270
  if (SliderBase._isActionKey(event)) {
306
271
  event.preventDefault();
307
272
  this._isUserInteraction = true;
308
-
309
273
  this._handleActionKeyPress(event);
310
274
  }
311
275
  }
312
-
313
276
  _onkeyup(event) {
314
277
  if (this.disabled) {
315
278
  return;
316
279
  }
317
-
318
280
  this._isUserInteraction = false;
319
281
  }
282
+
320
283
  /**
321
284
  * Flags if an inner element is currently being focused
322
285
  *
323
286
  * @private
324
287
  */
325
-
326
-
327
288
  _preserveFocus(isFocusing) {
328
289
  this._isInnerElementFocusing = isFocusing;
329
290
  }
291
+
330
292
  /**
331
293
  * Return if an inside element within the component is currently being focused
332
294
  *
333
295
  * @private
334
296
  */
335
-
336
-
337
297
  _isFocusing() {
338
298
  return this._isInnerElementFocusing;
339
299
  }
300
+
340
301
  /**
341
302
  * Prevent focus out when inner element within the component is currently being in process of focusing in.
342
303
  * In theory this can be achieved either if the shadow root is focusable and 'delegatesFocus' attribute of
@@ -360,56 +321,53 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
360
321
  *
361
322
  * @private
362
323
  */
363
-
364
-
365
324
  _preventFocusOut() {
366
325
  this.focusInnerElement();
367
326
  }
327
+
368
328
  /**
369
329
  * Manages the focus between the component's inner elements
370
330
  * @protected
371
331
  */
372
-
373
-
374
332
  focusInnerElement() {
375
333
  this.focus();
376
334
  }
335
+
377
336
  /**
378
337
  * Handle the responsiveness of the Slider's UI elements when resizing
379
338
  *
380
339
  * @private
381
340
  */
382
-
383
-
384
341
  _handleResize() {
385
342
  if (!this.showTickmarks) {
386
343
  return;
387
- } // Mark resizing to avoid unneccessary calls to that function after rendering
344
+ }
388
345
 
346
+ // Mark resizing to avoid unneccessary calls to that function after rendering
347
+ this.notResized = false;
389
348
 
390
- this.notResized = false; // Convert the string represented calculation expression to a normal one
349
+ // Convert the string represented calculation expression to a normal one
391
350
  // Check the distance in pixels exist between every tickmark
351
+ const spaceBetweenTickmarks = this._spaceBetweenTickmarks();
392
352
 
393
- const spaceBetweenTickmarks = this._spaceBetweenTickmarks(); // If the pixels between the tickmarks are less than 8 only the first and the last one should be visible
353
+ // If the pixels between the tickmarks are less than 8 only the first and the last one should be visible
394
354
  // In such case the labels must correspond to the tickmarks, only the first and the last one should exist.
395
-
396
-
397
355
  if (spaceBetweenTickmarks < SliderBase.MIN_SPACE_BETWEEN_TICKMARKS) {
398
356
  this._hiddenTickmarks = true;
399
357
  this._labelsOverlapping = true;
400
358
  } else {
401
359
  this._hiddenTickmarks = false;
402
360
  }
403
-
404
361
  if (this.labelInterval <= 0 || this._hiddenTickmarks) {
405
362
  return;
406
- } // Check if there are any overlapping labels.
407
- // If so - only the first and the last one should be visible
408
-
363
+ }
409
364
 
365
+ // Check if there are any overlapping labels.
366
+ // If so - only the first and the last one should be visible
410
367
  const labelItems = this.shadowRoot.querySelectorAll(".ui5-slider-labels li");
411
368
  this._labelsOverlapping = [...labelItems].some(label => label.scrollWidth > label.clientWidth);
412
369
  }
370
+
413
371
  /**
414
372
  * Called when the user starts interacting with the slider.
415
373
  * After a down event on the slider root, listen for move events on window, so the slider value
@@ -417,212 +375,192 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
417
375
  *
418
376
  * @protected
419
377
  */
420
-
421
-
422
378
  handleDownBase(event) {
423
379
  const min = this._effectiveMin;
424
380
  const max = this._effectiveMax;
425
381
  const domRect = this.getBoundingClientRect();
426
382
  const directionStart = this.directionStart;
427
383
  const step = this._effectiveStep;
428
- const newValue = SliderBase.getValueFromInteraction(event, step, min, max, domRect, directionStart); // Mark start of a user interaction
429
-
430
- this._isUserInteraction = true; // Only allow one type of move event to be listened to (the first one registered after the down event)
384
+ const newValue = SliderBase.getValueFromInteraction(event, step, min, max, domRect, directionStart);
431
385
 
386
+ // Mark start of a user interaction
387
+ this._isUserInteraction = true;
388
+ // Only allow one type of move event to be listened to (the first one registered after the down event)
432
389
  this._moveEventType = !this._moveEventType ? SliderBase.MOVE_EVENT_MAP[event.type] : this._moveEventType;
433
390
  SliderBase.UP_EVENTS.forEach(upEventType => window.addEventListener(upEventType, this._upHandler));
434
391
  window.addEventListener(this._moveEventType, this._moveHandler);
435
-
436
392
  this._handleFocusOnMouseDown(event);
437
-
438
393
  return newValue;
439
394
  }
395
+
440
396
  /**
441
397
  * Forward the focus to an inner inner part within the component on press
442
398
  *
443
399
  * @private
444
400
  */
445
-
446
-
447
401
  _handleFocusOnMouseDown(event) {
448
402
  const focusedElement = this.shadowRoot.activeElement;
449
-
450
403
  if (!focusedElement || focusedElement !== event.target) {
451
404
  this._preserveFocus(true);
452
-
453
405
  this.focusInnerElement();
454
406
  }
455
407
  }
408
+
456
409
  /**
457
410
  * Called when the user finish interacting with the slider
458
411
  * Fires an <code>change</code> event indicating a final value change, after user interaction is finished.
459
412
  *
460
413
  * @protected
461
414
  */
462
-
463
-
464
415
  handleUpBase(valueType) {
465
416
  SliderBase.UP_EVENTS.forEach(upEventType => window.removeEventListener(upEventType, this._upHandler));
466
417
  window.removeEventListener(this._moveEventType, this._moveHandler);
467
418
  this._moveEventType = null;
468
419
  this._isUserInteraction = false;
469
-
470
420
  this._preserveFocus(false);
471
421
  }
422
+
472
423
  /**
473
424
  * Updates value property of the component that has been changed due to a user action.
474
425
  * Fires an <code>input</code> event indicating a value change via interaction that is not yet finished.
475
426
  *
476
427
  * @protected
477
428
  */
478
-
479
-
480
429
  updateValue(valueType, value) {
481
430
  this[valueType] = value;
482
431
  this.storePropertyState(valueType);
483
-
484
432
  if (this._isUserInteraction) {
485
433
  this.fireEvent("input");
486
434
  }
487
435
  }
436
+
488
437
  /**
489
438
  * Goes through the key shortcuts available for the component and returns 'true' if the event is triggered by one.
490
439
  *
491
440
  * @private
492
441
  */
493
-
494
-
495
442
  static _isActionKey(event) {
496
443
  return this.ACTION_KEYS.some(actionKey => actionKey(event));
497
444
  }
445
+
498
446
  /**
499
447
  * Locks the given value between min and max boundaries based on slider properties
500
448
  *
501
449
  * @protected
502
450
  */
503
-
504
-
505
451
  static clipValue(value, min, max) {
506
452
  value = Math.min(Math.max(value, min), max);
507
453
  return value;
508
454
  }
455
+
509
456
  /**
510
457
  * Sets the slider value from an event
511
458
  *
512
459
  * @protected
513
460
  */
514
-
515
-
516
461
  static getValueFromInteraction(event, stepSize, min, max, boundingClientRect, directionStart) {
517
462
  const pageX = this.getPageXValueFromEvent(event);
518
463
  const value = this.computedValueFromPageX(pageX, min, max, boundingClientRect, directionStart);
519
464
  const steppedValue = this.getSteppedValue(value, stepSize, min);
520
465
  return this.clipValue(steppedValue, min, max);
521
466
  }
467
+
522
468
  /**
523
469
  * "Stepify" the raw value - calculate the new value depending on the specified step property
524
470
  *
525
471
  * @protected
526
472
  */
527
-
528
-
529
473
  static getSteppedValue(value, stepSize, min) {
530
474
  const stepModuloValue = Math.abs((value - min) % stepSize);
531
-
532
475
  if (stepSize === 0 || stepModuloValue === 0) {
533
476
  return value;
534
- } // Clip (snap) the new value to the nearest step
535
-
477
+ }
536
478
 
537
- value = stepModuloValue * 2 >= stepSize ? value + stepSize - stepModuloValue : value - stepModuloValue; // If the step value is not a round number get its precision
479
+ // Clip (snap) the new value to the nearest step
480
+ value = stepModuloValue * 2 >= stepSize ? value + stepSize - stepModuloValue : value - stepModuloValue;
538
481
 
482
+ // If the step value is not a round number get its precision
539
483
  const stepPrecision = SliderBase._getDecimalPrecisionOfNumber(stepSize);
540
-
541
484
  return value.toFixed(stepPrecision);
542
485
  }
486
+
543
487
  /**
544
488
  * Gets pageX value from event on user interaction with the Slider
545
489
  *
546
490
  * @protected
547
491
  */
548
-
549
-
550
492
  static getPageXValueFromEvent(event) {
551
493
  if (event.targetTouches && event.targetTouches.length > 0) {
552
494
  return event.targetTouches[0].pageX;
553
495
  }
554
-
555
496
  return event.pageX;
556
497
  }
498
+
557
499
  /**
558
500
  * Computes the new value (in %) from the pageX position of the cursor.
559
501
  * Returns the value rounded to a precision of at most 2 digits after decimal point.
560
502
  *
561
503
  * @protected
562
504
  */
563
-
564
-
565
505
  static computedValueFromPageX(pageX, min, max, boundingClientRect, directionStart) {
566
506
  // Determine pageX position relative to the Slider DOM
567
- const xRelativePosition = directionStart === "left" ? pageX - boundingClientRect[directionStart] : boundingClientRect[directionStart] - pageX; // Calculate the percentage complete (the "progress")
568
-
569
- const percentageComplete = xRelativePosition / boundingClientRect.width; // Fit (map) the complete percentage between the min/max value range
570
-
507
+ const xRelativePosition = directionStart === "left" ? pageX - boundingClientRect[directionStart] : boundingClientRect[directionStart] - pageX;
508
+ // Calculate the percentage complete (the "progress")
509
+ const percentageComplete = xRelativePosition / boundingClientRect.width;
510
+ // Fit (map) the complete percentage between the min/max value range
571
511
  return min + percentageComplete * (max - min);
572
512
  }
513
+
573
514
  /**
574
515
  * Calculates the precision (decimal places) of a number, returns 0 if integer
575
516
  * Handles scientific notation cases.
576
517
  * @private
577
518
  */
578
-
579
-
580
519
  static _getDecimalPrecisionOfNumber(value) {
581
520
  if (Number.isInteger(value)) {
582
521
  return 0;
583
522
  }
584
-
585
523
  const match = String(value).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
586
524
  return Math.max(0, (match[1] ? match[1].length : 0) - (match[2] ? Number(match[2]) : 0));
587
525
  }
526
+
588
527
  /**
589
528
  * Normalize current properties, update the previously stored state.
590
529
  *
591
530
  * @protected
592
531
  */
593
-
594
-
595
532
  syncUIAndState(...values) {
596
533
  // Validate step and update the stored state for the step property.
597
534
  if (this.isPropertyUpdated("step")) {
598
535
  this._validateStep(this.step);
599
-
600
536
  this.storePropertyState("step");
601
- } // Recalculate the tickmarks and labels and update the stored state.
602
-
537
+ }
603
538
 
539
+ // Recalculate the tickmarks and labels and update the stored state.
604
540
  if (this.isPropertyUpdated("min", "max", ...values)) {
605
- this.storePropertyState("min", "max"); // Here the value props are changed programatically (not by user interaction)
541
+ this.storePropertyState("min", "max");
542
+
543
+ // Here the value props are changed programatically (not by user interaction)
606
544
  // and it won't be "stepified" (rounded to the nearest step). 'Clip' them within
607
545
  // min and max bounderies and update the previous state reference.
608
-
609
546
  values.forEach(valueType => {
610
547
  const normalizedValue = SliderBase.clipValue(this[valueType], this._effectiveMin, this._effectiveMax);
611
548
  this.updateValue(valueType, normalizedValue);
612
549
  this.storePropertyState(valueType);
613
550
  });
614
- } // Labels must be updated if any of the min/max/step/labelInterval props are changed
615
-
551
+ }
616
552
 
553
+ // Labels must be updated if any of the min/max/step/labelInterval props are changed
617
554
  if (this.labelInterval && this.showTickmarks) {
618
555
  this._createLabels();
619
- } // Update the stored state for the labelInterval, if changed
620
-
556
+ }
621
557
 
558
+ // Update the stored state for the labelInterval, if changed
622
559
  if (this.isPropertyUpdated("labelInterval")) {
623
560
  this.storePropertyState("labelInterval");
624
561
  }
625
562
  }
563
+
626
564
  /**
627
565
  * In order to always keep the visual UI representation and the internal
628
566
  * state in sync, the component has a 'state storage' that is updated when the
@@ -637,148 +575,130 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
637
575
  *
638
576
  * @protected
639
577
  */
640
-
641
-
642
578
  isCurrentStateOutdated() {
643
579
  return Object.entries(this._stateStorage).some(([propName, propValue]) => this[propName] !== propValue);
644
580
  }
581
+
645
582
  /**
646
583
  * Returns the last stored value of a property
647
584
  *
648
585
  * @protected
649
586
  */
650
-
651
-
652
587
  getStoredPropertyState(property) {
653
588
  return this._stateStorage[property];
654
589
  }
590
+
655
591
  /**
656
592
  * Check if one or more properties have been updated compared to their last
657
593
  * saved values in the state storage.
658
594
  *
659
595
  * @protected
660
596
  */
661
-
662
-
663
597
  isPropertyUpdated(...properties) {
664
598
  return properties.some(prop => this.getStoredPropertyState(prop) !== this[prop]);
665
599
  }
600
+
666
601
  /**
667
602
  * Updates the previously saved in the _stateStorage values of one or more properties.
668
603
  *
669
604
  * @protected
670
605
  */
671
-
672
-
673
606
  storePropertyState(...props) {
674
607
  props.forEach(property => {
675
608
  this._stateStorage[property] = this[property];
676
609
  });
677
610
  }
611
+
678
612
  /**
679
613
  * Returns the start side of a direction - left for LTR, right for RTL
680
614
  */
681
-
682
-
683
615
  get directionStart() {
684
616
  return this.effectiveDir === "rtl" ? "right" : "left";
685
617
  }
618
+
686
619
  /**
687
620
  * Calculates the labels amout, width and text and creates them
688
621
  *
689
622
  * @private
690
623
  */
691
-
692
-
693
624
  _createLabels() {
694
625
  if (!this.labelInterval || !this.showTickmarks) {
695
626
  return;
696
627
  }
697
-
698
628
  const labelInterval = this.labelInterval;
699
629
  const step = this._effectiveStep;
700
- const newNumberOfLabels = (this._effectiveMax - this._effectiveMin) / (step * labelInterval); // If the required labels are already rendered
630
+ const newNumberOfLabels = (this._effectiveMax - this._effectiveMin) / (step * labelInterval);
701
631
 
632
+ // If the required labels are already rendered
702
633
  if (newNumberOfLabels === this._oldNumberOfLabels) {
703
634
  return;
704
635
  }
705
-
706
636
  this._oldNumberOfLabels = newNumberOfLabels;
707
637
  this._labelWidth = 100 / newNumberOfLabels;
708
- this._labelValues = []; // If the step value is not a round number get its precision
638
+ this._labelValues = [];
639
+
640
+ // If the step value is not a round number get its precision
641
+ const stepPrecision = SliderBase._getDecimalPrecisionOfNumber(step);
709
642
 
710
- const stepPrecision = SliderBase._getDecimalPrecisionOfNumber(step); // numberOfLabels below can be float so that the "distance betweenlabels labels"
643
+ // numberOfLabels below can be float so that the "distance betweenlabels labels"
711
644
  // calculation to be precize (exactly the same as the distance between the tickmarks).
712
645
  // That's ok as the loop stop condition is set to an integer, so it will practically
713
646
  // "floor" the number of labels anyway.
714
-
715
-
716
647
  for (let i = 0; i <= newNumberOfLabels; i++) {
717
648
  // Format the label numbers with the same decimal precision as the value of the step property
718
649
  const labelItemNumber = (i * step * labelInterval + this._effectiveMin).toFixed(stepPrecision);
719
-
720
650
  this._labelValues.push(labelItemNumber);
721
651
  }
722
652
  }
723
-
724
653
  _handleActionKeyPressBase(event, affectedValue) {
725
654
  const isUpAction = SliderBase._isIncreaseValueAction(event);
726
-
727
655
  const isBigStep = SliderBase._isBigStepAction(event);
728
-
729
656
  const currentValue = this[affectedValue];
730
657
  const min = this._effectiveMin;
731
- const max = this._effectiveMax; // We need to take into consideration the effective direction of the slider - rtl or ltr.
658
+ const max = this._effectiveMax;
659
+
660
+ // We need to take into consideration the effective direction of the slider - rtl or ltr.
732
661
  // While in ltr, the left arrow key decreases the value, in rtl it should actually increase it.
662
+ let step = this.effectiveDir === "rtl" ? -this._effectiveStep : this._effectiveStep;
733
663
 
734
- let step = this.effectiveDir === "rtl" ? -this._effectiveStep : this._effectiveStep; // If the action key corresponds to a long step and the slider has more than 10 normal steps,
664
+ // If the action key corresponds to a long step and the slider has more than 10 normal steps,
735
665
  // make a jump of 1/10th of the Slider's length, otherwise just use the normal step property.
736
-
737
666
  step = isBigStep && (max - min) / step > 10 ? (max - min) / 10 : step;
738
-
739
667
  if ((0, _Keys.isEnd)(event)) {
740
668
  return max - currentValue;
741
669
  }
742
-
743
670
  if ((0, _Keys.isHome)(event)) {
744
671
  return (currentValue - min) * -1;
745
672
  }
746
-
747
673
  return isUpAction ? step : step * -1;
748
674
  }
749
-
750
675
  static _isDecreaseValueAction(event) {
751
676
  return (0, _Keys.isDown)(event) || (0, _Keys.isDownCtrl)(event) || (0, _Keys.isLeft)(event) || (0, _Keys.isLeftCtrl)(event) || (0, _Keys.isMinus)(event) || (0, _Keys.isPageDown)(event);
752
677
  }
753
-
754
678
  static _isIncreaseValueAction(event) {
755
679
  return (0, _Keys.isUp)(event) || (0, _Keys.isUpCtrl)(event) || (0, _Keys.isRight)(event) || (0, _Keys.isRightCtrl)(event) || (0, _Keys.isPlus)(event) || (0, _Keys.isPageUp)(event);
756
680
  }
757
-
758
681
  static _isBigStepAction(event) {
759
682
  return (0, _Keys.isDownCtrl)(event) || (0, _Keys.isUpCtrl)(event) || (0, _Keys.isLeftCtrl)(event) || (0, _Keys.isRightCtrl)(event) || (0, _Keys.isPageUp)(event) || (0, _Keys.isPageDown)(event);
760
683
  }
761
-
762
684
  get _tickmarksCount() {
763
685
  return (this._effectiveMax - this._effectiveMin) / this._effectiveStep;
764
686
  }
687
+
765
688
  /**
766
689
  * Calculates space between tickmarks
767
690
  *
768
691
  * @private
769
692
  */
770
-
771
-
772
693
  _spaceBetweenTickmarks() {
773
694
  return this.getBoundingClientRect().width / this._tickmarksCount;
774
695
  }
696
+
775
697
  /**
776
698
  * Notify in case of a invalid step value type
777
699
  *
778
700
  * @private
779
701
  */
780
-
781
-
782
702
  _validateStep(step) {
783
703
  if (step === 0) {
784
704
  console.warn("The 'step' property must be a positive float number"); // eslint-disable-line
@@ -796,46 +716,36 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
796
716
  get _labels() {
797
717
  return this._labelValues || [];
798
718
  }
719
+
799
720
  /**
800
721
  * Normalizes a new <code>step</code> property value.
801
722
  * If tickmarks are enabled recreates them according to it.
802
723
  *
803
724
  * @private
804
725
  */
805
-
806
-
807
726
  get _effectiveStep() {
808
727
  let step = this.step;
809
-
810
728
  if (step < 0) {
811
729
  step = Math.abs(step);
812
730
  }
813
-
814
731
  if (typeof step !== "number" || Number.isNaN(step)) {
815
732
  step = 1;
816
733
  }
817
-
818
734
  return step;
819
735
  }
820
-
821
736
  get _effectiveMin() {
822
737
  return Math.min(this.min, this.max);
823
738
  }
824
-
825
739
  get _effectiveMax() {
826
740
  return Math.max(this.min, this.max);
827
741
  }
828
-
829
742
  get tabIndex() {
830
743
  return this.disabled ? "-1" : "0";
831
744
  }
832
-
833
745
  get _ariaLabelledByHandleRefs() {
834
746
  return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim();
835
747
  }
836
-
837
748
  }
838
-
839
749
  var _default = SliderBase;
840
750
  _exports.default = _default;
841
751
  });