@openui5/sap.ui.webc.main 1.115.0 → 1.116.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.
- package/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +23 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
- package/src/sap/ui/webc/main/Badge.js +2 -2
- package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
- package/src/sap/ui/webc/main/Button.js +4 -3
- package/src/sap/ui/webc/main/Calendar.js +6 -2
- package/src/sap/ui/webc/main/CalendarDate.js +2 -2
- package/src/sap/ui/webc/main/Card.js +3 -7
- package/src/sap/ui/webc/main/CardHeader.js +7 -2
- package/src/sap/ui/webc/main/Carousel.js +49 -4
- package/src/sap/ui/webc/main/CheckBox.js +14 -4
- package/src/sap/ui/webc/main/ColorPalette.js +1 -1
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
- package/src/sap/ui/webc/main/ColorPicker.js +1 -1
- package/src/sap/ui/webc/main/ComboBox.js +11 -8
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +19 -3
- package/src/sap/ui/webc/main/DatePicker.js +7 -2
- package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
- package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
- package/src/sap/ui/webc/main/Dialog.js +37 -6
- package/src/sap/ui/webc/main/FileUploader.js +1 -1
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +42 -2
- package/src/sap/ui/webc/main/Input.js +2 -2
- package/src/sap/ui/webc/main/Label.js +7 -3
- package/src/sap/ui/webc/main/Link.js +12 -2
- package/src/sap/ui/webc/main/List.js +2 -1
- package/src/sap/ui/webc/main/Menu.js +87 -3
- package/src/sap/ui/webc/main/MenuItem.js +34 -1
- package/src/sap/ui/webc/main/MessageStrip.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
- package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +4 -4
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +3 -3
- package/src/sap/ui/webc/main/Popover.js +18 -4
- package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
- package/src/sap/ui/webc/main/RadioButton.js +17 -1
- package/src/sap/ui/webc/main/RangeSlider.js +12 -2
- package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
- package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
- package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
- package/src/sap/ui/webc/main/Select.js +20 -4
- package/src/sap/ui/webc/main/Slider.js +2 -2
- package/src/sap/ui/webc/main/SplitButton.js +7 -7
- package/src/sap/ui/webc/main/StandardListItem.js +31 -4
- package/src/sap/ui/webc/main/StepInput.js +2 -2
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
- package/src/sap/ui/webc/main/Switch.js +2 -2
- package/src/sap/ui/webc/main/Tab.js +3 -3
- package/src/sap/ui/webc/main/TabContainer.js +40 -4
- package/src/sap/ui/webc/main/TabSeparator.js +10 -2
- package/src/sap/ui/webc/main/Table.js +2 -2
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +21 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
- package/src/sap/ui/webc/main/TableRow.js +9 -1
- package/src/sap/ui/webc/main/TextArea.js +2 -3
- package/src/sap/ui/webc/main/TimePicker.js +31 -3
- package/src/sap/ui/webc/main/Title.js +1 -1
- package/src/sap/ui/webc/main/Toast.js +1 -1
- package/src/sap/ui/webc/main/ToggleButton.js +4 -3
- package/src/sap/ui/webc/main/Token.js +6 -4
- package/src/sap/ui/webc/main/Tree.js +31 -2
- package/src/sap/ui/webc/main/TreeItem.js +63 -10
- package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/ui/webc/main/library.js +348 -70
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
- package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
- package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
- package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
- package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
- package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
- package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
- package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
- package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
- package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
- package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
- package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
- package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
- package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
- package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
- package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
- package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
- package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
- package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
- package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
- package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
- package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
- package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
- package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
- package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
- package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
- package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
- package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
- package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
- package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
- package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
- package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
- package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
- package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
- package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
- package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
- package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
- package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
- package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/custom-elements.json.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
- package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
- package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
- package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
- package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
- package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
- package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
- package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
- package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
- package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
- package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
- package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
- package/ui5.yaml +15 -2
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
- 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
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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.
|
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.
|
136
|
-
this.
|
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
|
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
|
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
|
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 =
|
158
|
-
ariaHandlesText.endHandleText =
|
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 =
|
161
|
-
ariaHandlesText.endHandleText =
|
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
|
-
*
|
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(
|
182
|
-
this._updateHandlesAndRange(
|
183
|
-
}
|
184
|
-
|
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.
|
188
|
-
this.
|
189
|
-
this.
|
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(
|
211
|
+
_onfocusout() {
|
209
212
|
if (this._isFocusing()) {
|
210
213
|
this._preventFocusOut();
|
211
214
|
return;
|
212
215
|
}
|
213
|
-
this._setAffectedValue(
|
214
|
-
this.
|
215
|
-
this.
|
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(
|
229
|
-
super._onkeyup(
|
230
|
-
this.
|
231
|
-
this.
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
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)(
|
250
|
-
this._homeEndForSelectedRange(
|
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(
|
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
|
263
|
-
|
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 =
|
266
|
-
const newEndValue =
|
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(
|
284
|
+
this._setAffectedValue("startValue");
|
280
285
|
}
|
281
286
|
if (this.shadowRoot.activeElement === this._endHandle) {
|
282
|
-
this._setAffectedValue(
|
287
|
+
this._setAffectedValue("endValue");
|
283
288
|
}
|
284
289
|
if (this.shadowRoot.activeElement === this._progressBar) {
|
285
|
-
this._setAffectedValue(
|
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(
|
297
|
-
const newValueOffset = this._handleActionKeyPressBase(
|
298
|
-
const
|
299
|
-
const
|
300
|
-
this.
|
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.
|
313
|
-
this.
|
314
|
-
this.
|
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
|
-
|
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(
|
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(
|
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(
|
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,
|
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(
|
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
|
-
|
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(
|
382
|
-
|
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(
|
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(
|
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
|
406
|
-
|
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
|
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(
|
421
|
-
|
422
|
-
|
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(
|
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(
|
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}
|
481
|
+
* @param {string} affectedValue The value that will get modified by the interaction
|
490
482
|
* @private
|
491
483
|
*/
|
492
|
-
_setAffectedValue(
|
493
|
-
this._valueAffected =
|
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 ===
|
531
|
+
if (affectedValue === "startValue" && !isReversed || affectedValue === "endValue" && isReversed) {
|
543
532
|
this._startHandle.focus();
|
544
533
|
}
|
545
|
-
if (affectedValue ===
|
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
|
-
//
|
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
|
-
|
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 =
|
607
|
-
startValue =
|
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 =
|
612
|
-
startValue =
|
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 ===
|
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 ===
|
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
|
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 ===
|
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
|
-
|
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;
|