@openui5/sap.ui.webc.main 1.115.1 → 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,4 +1,4 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/types/Float", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/icons/
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/types/Float", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/icons/direction-arrows", "sap/ui/webc/common/thirdparty/base/Keys", "./generated/themes/SliderBase.css"], function (_exports, _UI5Element, _customElement, _property, _event, _LitRenderer, _Float, _Integer, _ResizeHandler, _Device, _directionArrows, _Keys, _SliderBase) {
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
@@ -6,144 +6,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_UI5Element = _interopRequireDefault(_UI5Element);
|
9
|
+
_customElement = _interopRequireDefault(_customElement);
|
10
|
+
_property = _interopRequireDefault(_property);
|
11
|
+
_event = _interopRequireDefault(_event);
|
9
12
|
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
10
13
|
_Float = _interopRequireDefault(_Float);
|
11
14
|
_Integer = _interopRequireDefault(_Integer);
|
12
15
|
_ResizeHandler = _interopRequireDefault(_ResizeHandler);
|
13
16
|
_SliderBase = _interopRequireDefault(_SliderBase);
|
14
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
properties: /** @lends sap.ui.webcomponents.main.SliderBase.prototype */{
|
22
|
-
/**
|
23
|
-
* Defines the minimum value of the slider.
|
24
|
-
*
|
25
|
-
* @type {Float}
|
26
|
-
* @defaultvalue 0
|
27
|
-
* @public
|
28
|
-
*/
|
29
|
-
min: {
|
30
|
-
type: _Float.default,
|
31
|
-
defaultValue: 0
|
32
|
-
},
|
33
|
-
/**
|
34
|
-
* Defines the maximum value of the slider.
|
35
|
-
*
|
36
|
-
* @type {Float}
|
37
|
-
* @defaultvalue 100
|
38
|
-
* @public
|
39
|
-
*/
|
40
|
-
max: {
|
41
|
-
type: _Float.default,
|
42
|
-
defaultValue: 100
|
43
|
-
},
|
44
|
-
/**
|
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).
|
46
|
-
* <br><br>
|
47
|
-
* <b>Note:</b> If set to 0 the slider handle movement is disabled. When negative number or value other than a number, the component fallbacks to its default value.
|
48
|
-
*
|
49
|
-
* @type {Integer}
|
50
|
-
* @defaultvalue 1
|
51
|
-
* @public
|
52
|
-
*/
|
53
|
-
step: {
|
54
|
-
type: _Float.default,
|
55
|
-
defaultValue: 1
|
56
|
-
},
|
57
|
-
/**
|
58
|
-
* Displays a label with a value on every N-th step.
|
59
|
-
* <br><br>
|
60
|
-
* <b>Note:</b> The step and tickmarks properties must be enabled.
|
61
|
-
* Example - if the step value is set to 2 and the label interval is also specified to 2 - then every second
|
62
|
-
* tickmark will be labelled, which means every 4th value number.
|
63
|
-
*
|
64
|
-
* @type {Integer}
|
65
|
-
* @defaultvalue 0
|
66
|
-
* @public
|
67
|
-
*/
|
68
|
-
labelInterval: {
|
69
|
-
type: _Integer.default,
|
70
|
-
defaultValue: 0
|
71
|
-
},
|
72
|
-
/**
|
73
|
-
* Enables tickmarks visualization for each step.
|
74
|
-
* <br><br>
|
75
|
-
* <b>Note:</b> The step must be a positive number.
|
76
|
-
*
|
77
|
-
* @type {boolean}
|
78
|
-
* @defaultvalue false
|
79
|
-
* @public
|
80
|
-
*/
|
81
|
-
showTickmarks: {
|
82
|
-
type: Boolean
|
83
|
-
},
|
84
|
-
/**
|
85
|
-
* Enables handle tooltip displaying the current value.
|
86
|
-
*
|
87
|
-
* @type {boolean}
|
88
|
-
* @defaultvalue false
|
89
|
-
* @public
|
90
|
-
*/
|
91
|
-
showTooltip: {
|
92
|
-
type: Boolean
|
93
|
-
},
|
94
|
-
/**
|
95
|
-
* Defines whether the slider is in disabled state.
|
96
|
-
*
|
97
|
-
* @type {boolean}
|
98
|
-
* @defaultvalue false
|
99
|
-
* @public
|
100
|
-
*/
|
101
|
-
disabled: {
|
102
|
-
type: Boolean
|
103
|
-
},
|
104
|
-
/**
|
105
|
-
* Defines the accessible aria name of the component.
|
106
|
-
*
|
107
|
-
* @type {string}
|
108
|
-
* @defaultvalue: ""
|
109
|
-
* @public
|
110
|
-
* @since 1.4.0
|
111
|
-
*/
|
112
|
-
accessibleName: {
|
113
|
-
type: String
|
114
|
-
},
|
115
|
-
/**
|
116
|
-
* @private
|
117
|
-
*/
|
118
|
-
_tooltipVisibility: {
|
119
|
-
type: String,
|
120
|
-
defaultValue: "hidden"
|
121
|
-
},
|
122
|
-
_labelsOverlapping: {
|
123
|
-
type: Boolean
|
124
|
-
},
|
125
|
-
_hiddenTickmarks: {
|
126
|
-
type: Boolean
|
127
|
-
}
|
128
|
-
},
|
129
|
-
events: /** @lends sap.ui.webcomponents.main.SliderBase.prototype */{
|
130
|
-
/**
|
131
|
-
* Fired when the value changes and the user has finished interacting with the slider.
|
132
|
-
*
|
133
|
-
* @event
|
134
|
-
* @public
|
135
|
-
*/
|
136
|
-
change: {},
|
137
|
-
/**
|
138
|
-
* Fired when the value changes due to user interaction that is not yet finished - during mouse/touch dragging.
|
139
|
-
*
|
140
|
-
* @event
|
141
|
-
* @public
|
142
|
-
*/
|
143
|
-
input: {}
|
144
|
-
}
|
18
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
19
|
+
var c = arguments.length,
|
20
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
21
|
+
d;
|
22
|
+
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;
|
23
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
145
24
|
};
|
146
|
-
|
25
|
+
var SliderBase_1;
|
147
26
|
/**
|
148
27
|
* @class
|
149
28
|
*
|
@@ -152,49 +31,39 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
152
31
|
*
|
153
32
|
* @constructor
|
154
33
|
* @author SAP SE
|
155
|
-
* @alias sap.ui.
|
156
|
-
* @extends sap.ui.
|
34
|
+
* @alias sap.ui.webc.main.SliderBase
|
35
|
+
* @extends sap.ui.webc.base.UI5Element
|
157
36
|
* @tagname ui5-slider
|
158
37
|
* @public
|
159
38
|
*/
|
160
|
-
class SliderBase extends _UI5Element.default {
|
39
|
+
let SliderBase = SliderBase_1 = class SliderBase extends _UI5Element.default {
|
161
40
|
constructor() {
|
162
41
|
super();
|
42
|
+
this.notResized = false;
|
43
|
+
this._isUserInteraction = false;
|
44
|
+
this._isInnerElementFocusing = false;
|
45
|
+
this._labelWidth = 0;
|
163
46
|
this._resizeHandler = this._handleResize.bind(this);
|
164
47
|
this._moveHandler = this._handleMove.bind(this);
|
165
48
|
this._upHandler = this._handleUp.bind(this);
|
166
49
|
this._stateStorage = {
|
167
|
-
step:
|
168
|
-
min:
|
169
|
-
max:
|
170
|
-
labelInterval:
|
50
|
+
step: undefined,
|
51
|
+
min: undefined,
|
52
|
+
max: undefined,
|
53
|
+
labelInterval: undefined
|
171
54
|
};
|
172
|
-
const handleTouchStartEvent =
|
173
|
-
this._onmousedown(
|
55
|
+
const handleTouchStartEvent = e => {
|
56
|
+
this._onmousedown(e);
|
174
57
|
};
|
175
58
|
this._ontouchstart = {
|
176
59
|
handleEvent: handleTouchStartEvent,
|
177
60
|
passive: true
|
178
61
|
};
|
179
62
|
}
|
180
|
-
|
181
|
-
|
182
|
-
}
|
183
|
-
|
184
|
-
return _LitRenderer.default;
|
185
|
-
}
|
186
|
-
static get styles() {
|
187
|
-
return _SliderBase.default;
|
188
|
-
}
|
189
|
-
static get UP_EVENTS() {
|
190
|
-
return ["mouseup", "touchend"];
|
191
|
-
}
|
192
|
-
static get MOVE_EVENT_MAP() {
|
193
|
-
return {
|
194
|
-
mousedown: "mousemove",
|
195
|
-
touchstart: "touchmove"
|
196
|
-
};
|
197
|
-
}
|
63
|
+
_handleMove(e) {} // eslint-disable-line
|
64
|
+
_handleUp() {}
|
65
|
+
_onmousedown(e) {} // eslint-disable-line
|
66
|
+
_handleActionKeyPress(e) {} // eslint-disable-line
|
198
67
|
static get ACTION_KEYS() {
|
199
68
|
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];
|
200
69
|
}
|
@@ -221,7 +90,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
221
90
|
_ResizeHandler.default.register(this, this._resizeHandler);
|
222
91
|
}
|
223
92
|
onExitDOM() {
|
224
|
-
_ResizeHandler.default.deregister(this, this.
|
93
|
+
_ResizeHandler.default.deregister(this, this._resizeHandler);
|
225
94
|
}
|
226
95
|
onAfterRendering() {
|
227
96
|
// Only call if the resize is triggered by a state changes other than
|
@@ -230,56 +99,41 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
230
99
|
this._resizeHandler();
|
231
100
|
}
|
232
101
|
}
|
233
|
-
|
234
102
|
/** Shows the tooltip(s) if the <code>showTooltip</code> property is set to true
|
235
103
|
*
|
236
104
|
* @private
|
237
105
|
*/
|
238
|
-
_onmouseover(
|
106
|
+
_onmouseover() {
|
239
107
|
if (this.showTooltip) {
|
240
|
-
this._tooltipVisibility =
|
108
|
+
this._tooltipVisibility = SliderBase_1.TOOLTIP_VISIBILITY.VISIBLE;
|
241
109
|
}
|
242
110
|
}
|
243
|
-
|
244
111
|
/**
|
245
112
|
* Hides the tooltip(s) if the <code>showTooltip</code> property is set to true
|
246
113
|
*
|
247
114
|
* @private
|
248
115
|
*/
|
249
|
-
_onmouseout(
|
116
|
+
_onmouseout() {
|
250
117
|
if (this.showTooltip && !this.shadowRoot.activeElement) {
|
251
|
-
this._tooltipVisibility =
|
118
|
+
this._tooltipVisibility = SliderBase_1.TOOLTIP_VISIBILITY.HIDDEN;
|
252
119
|
}
|
253
120
|
}
|
254
|
-
|
255
|
-
/**
|
256
|
-
* Sets initial value when the component is focused in, can be restored with ESC key
|
257
|
-
*
|
258
|
-
* @private
|
259
|
-
*/
|
260
|
-
_setInitialValue(valueType, value) {
|
261
|
-
this[`_${valueType}Initial`] = value;
|
262
|
-
}
|
263
|
-
_getInitialValue(valueType) {
|
264
|
-
return this[`_${valueType}Initial`];
|
265
|
-
}
|
266
|
-
_onkeydown(event) {
|
121
|
+
_onkeydown(e) {
|
267
122
|
if (this.disabled || this._effectiveStep === 0) {
|
268
123
|
return;
|
269
124
|
}
|
270
|
-
if (
|
271
|
-
|
125
|
+
if (SliderBase_1._isActionKey(e)) {
|
126
|
+
e.preventDefault();
|
272
127
|
this._isUserInteraction = true;
|
273
|
-
this._handleActionKeyPress(
|
128
|
+
this._handleActionKeyPress(e);
|
274
129
|
}
|
275
130
|
}
|
276
|
-
_onkeyup(
|
131
|
+
_onkeyup() {
|
277
132
|
if (this.disabled) {
|
278
133
|
return;
|
279
134
|
}
|
280
135
|
this._isUserInteraction = false;
|
281
136
|
}
|
282
|
-
|
283
137
|
/**
|
284
138
|
* Flags if an inner element is currently being focused
|
285
139
|
*
|
@@ -288,7 +142,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
288
142
|
_preserveFocus(isFocusing) {
|
289
143
|
this._isInnerElementFocusing = isFocusing;
|
290
144
|
}
|
291
|
-
|
292
145
|
/**
|
293
146
|
* Return if an inside element within the component is currently being focused
|
294
147
|
*
|
@@ -297,34 +150,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
297
150
|
_isFocusing() {
|
298
151
|
return this._isInnerElementFocusing;
|
299
152
|
}
|
300
|
-
|
301
153
|
/**
|
302
154
|
* Prevent focus out when inner element within the component is currently being in process of focusing in.
|
303
|
-
* In theory this can be achieved either if the shadow root is focusable and 'delegatesFocus' attribute of
|
304
|
-
* the .attachShadow() customElement method is set to true, or if we forward it manually.
|
305
|
-
* As we use lit-element as base of our core UI5 element class that 'delegatesFocus' property is not set to 'true' and
|
306
|
-
* we have to manage the focus here. If at some point in the future this changes, the focus delegating logic could be
|
307
|
-
* removed as it will become redundant.
|
308
|
-
*
|
309
|
-
* When we manually set the focus on mouseDown to the first focusable element inside the shadowDom,
|
310
|
-
* that inner focus (shadowRoot.activeElement) is set a moment before the global document.activeElement
|
311
|
-
* is set to the customElement (ui5-slider) causing a 'race condition'.
|
312
|
-
*
|
313
|
-
* In order for a element within the shadowRoot to be focused, the global document.activeElement MUST be the parent
|
314
|
-
* customElement of the shadow root, in our case the ui5-slider component. Because of that after our focusin of the handle,
|
315
|
-
* a focusout event fired by the browser immidiatly after, resetting the focus. Focus out must be manually prevented
|
316
|
-
* in both initial focusing and switching the focus between inner elements of the component cases.
|
317
|
-
* Note: If we set the focus to the handle with a timeout or a bit later in time, on a mouseup or click event it will
|
318
|
-
* work fine and we will avoid the described race condition as our host customElement will be already finished focusing.
|
319
|
-
* However, that does not work for us as we need the focus to be set to the handle exactly on mousedown,
|
320
|
-
* because of the nature of the component and its available drag interactions.
|
321
155
|
*
|
322
156
|
* @private
|
323
157
|
*/
|
324
158
|
_preventFocusOut() {
|
325
159
|
this.focusInnerElement();
|
326
160
|
}
|
327
|
-
|
328
161
|
/**
|
329
162
|
* Manages the focus between the component's inner elements
|
330
163
|
* @protected
|
@@ -332,7 +165,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
332
165
|
focusInnerElement() {
|
333
166
|
this.focus();
|
334
167
|
}
|
335
|
-
|
336
168
|
/**
|
337
169
|
* Handle the responsiveness of the Slider's UI elements when resizing
|
338
170
|
*
|
@@ -342,17 +174,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
342
174
|
if (!this.showTickmarks) {
|
343
175
|
return;
|
344
176
|
}
|
345
|
-
|
346
177
|
// Mark resizing to avoid unneccessary calls to that function after rendering
|
347
178
|
this.notResized = false;
|
348
|
-
|
349
179
|
// Convert the string represented calculation expression to a normal one
|
350
180
|
// Check the distance in pixels exist between every tickmark
|
351
181
|
const spaceBetweenTickmarks = this._spaceBetweenTickmarks();
|
352
|
-
|
353
182
|
// If the pixels between the tickmarks are less than 8 only the first and the last one should be visible
|
354
183
|
// In such case the labels must correspond to the tickmarks, only the first and the last one should exist.
|
355
|
-
if (spaceBetweenTickmarks <
|
184
|
+
if (spaceBetweenTickmarks < SliderBase_1.MIN_SPACE_BETWEEN_TICKMARKS) {
|
356
185
|
this._hiddenTickmarks = true;
|
357
186
|
this._labelsOverlapping = true;
|
358
187
|
} else {
|
@@ -361,13 +190,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
361
190
|
if (this.labelInterval <= 0 || this._hiddenTickmarks) {
|
362
191
|
return;
|
363
192
|
}
|
364
|
-
|
365
193
|
// Check if there are any overlapping labels.
|
366
194
|
// If so - only the first and the last one should be visible
|
367
195
|
const labelItems = this.shadowRoot.querySelectorAll(".ui5-slider-labels li");
|
368
196
|
this._labelsOverlapping = [...labelItems].some(label => label.scrollWidth > label.clientWidth);
|
369
197
|
}
|
370
|
-
|
371
198
|
/**
|
372
199
|
* Called when the user starts interacting with the slider.
|
373
200
|
* After a down event on the slider root, listen for move events on window, so the slider value
|
@@ -375,74 +202,73 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
375
202
|
*
|
376
203
|
* @protected
|
377
204
|
*/
|
378
|
-
handleDownBase(
|
205
|
+
handleDownBase(e) {
|
379
206
|
const min = this._effectiveMin;
|
380
207
|
const max = this._effectiveMax;
|
381
208
|
const domRect = this.getBoundingClientRect();
|
382
209
|
const directionStart = this.directionStart;
|
383
210
|
const step = this._effectiveStep;
|
384
|
-
const newValue =
|
385
|
-
|
211
|
+
const newValue = SliderBase_1.getValueFromInteraction(e, step, min, max, domRect, directionStart);
|
386
212
|
// Mark start of a user interaction
|
387
213
|
this._isUserInteraction = true;
|
214
|
+
window.addEventListener("mouseup", this._upHandler);
|
215
|
+
window.addEventListener("touchend", this._upHandler);
|
388
216
|
// Only allow one type of move event to be listened to (the first one registered after the down event)
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
217
|
+
if ((0, _Device.supportsTouch)() && e instanceof TouchEvent) {
|
218
|
+
window.addEventListener("touchmove", this._moveHandler);
|
219
|
+
} else {
|
220
|
+
window.addEventListener("mousemove", this._moveHandler);
|
221
|
+
}
|
222
|
+
this._handleFocusOnMouseDown(e);
|
393
223
|
return newValue;
|
394
224
|
}
|
395
|
-
|
396
225
|
/**
|
397
226
|
* Forward the focus to an inner inner part within the component on press
|
398
227
|
*
|
399
228
|
* @private
|
400
229
|
*/
|
401
|
-
_handleFocusOnMouseDown(
|
230
|
+
_handleFocusOnMouseDown(e) {
|
402
231
|
const focusedElement = this.shadowRoot.activeElement;
|
403
|
-
if (!focusedElement || focusedElement !==
|
232
|
+
if (!focusedElement || focusedElement !== e.target) {
|
404
233
|
this._preserveFocus(true);
|
405
234
|
this.focusInnerElement();
|
406
235
|
}
|
407
236
|
}
|
408
|
-
|
409
237
|
/**
|
410
238
|
* Called when the user finish interacting with the slider
|
411
239
|
* Fires an <code>change</code> event indicating a final value change, after user interaction is finished.
|
412
240
|
*
|
413
241
|
* @protected
|
414
242
|
*/
|
415
|
-
handleUpBase(
|
416
|
-
|
417
|
-
window.removeEventListener(
|
418
|
-
|
243
|
+
handleUpBase() {
|
244
|
+
window.removeEventListener("mouseup", this._upHandler);
|
245
|
+
window.removeEventListener("touchend", this._upHandler);
|
246
|
+
// Only one of the following was attached, but it's ok to remove both as there is no error
|
247
|
+
window.removeEventListener("mousemove", this._moveHandler);
|
248
|
+
window.removeEventListener("touchmove", this._moveHandler);
|
419
249
|
this._isUserInteraction = false;
|
420
250
|
this._preserveFocus(false);
|
421
251
|
}
|
422
|
-
|
423
252
|
/**
|
424
|
-
* Updates
|
253
|
+
* Updates state storage for the value-related property
|
425
254
|
* Fires an <code>input</code> event indicating a value change via interaction that is not yet finished.
|
426
255
|
*
|
427
256
|
* @protected
|
428
257
|
*/
|
429
|
-
|
430
|
-
this[valueType] = value;
|
258
|
+
updateStateStorageAndFireInputEvent(valueType) {
|
431
259
|
this.storePropertyState(valueType);
|
432
260
|
if (this._isUserInteraction) {
|
433
261
|
this.fireEvent("input");
|
434
262
|
}
|
435
263
|
}
|
436
|
-
|
437
264
|
/**
|
438
265
|
* Goes through the key shortcuts available for the component and returns 'true' if the event is triggered by one.
|
439
266
|
*
|
440
267
|
* @private
|
441
268
|
*/
|
442
|
-
static _isActionKey(
|
443
|
-
return this.ACTION_KEYS.some(actionKey => actionKey(
|
269
|
+
static _isActionKey(e) {
|
270
|
+
return this.ACTION_KEYS.some(actionKey => actionKey(e));
|
444
271
|
}
|
445
|
-
|
446
272
|
/**
|
447
273
|
* Locks the given value between min and max boundaries based on slider properties
|
448
274
|
*
|
@@ -452,19 +278,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
452
278
|
value = Math.min(Math.max(value, min), max);
|
453
279
|
return value;
|
454
280
|
}
|
455
|
-
|
456
281
|
/**
|
457
282
|
* Sets the slider value from an event
|
458
283
|
*
|
459
284
|
* @protected
|
460
285
|
*/
|
461
|
-
static getValueFromInteraction(
|
462
|
-
const pageX = this.getPageXValueFromEvent(
|
286
|
+
static getValueFromInteraction(e, stepSize, min, max, boundingClientRect, directionStart) {
|
287
|
+
const pageX = this.getPageXValueFromEvent(e);
|
463
288
|
const value = this.computedValueFromPageX(pageX, min, max, boundingClientRect, directionStart);
|
464
289
|
const steppedValue = this.getSteppedValue(value, stepSize, min);
|
465
290
|
return this.clipValue(steppedValue, min, max);
|
466
291
|
}
|
467
|
-
|
468
292
|
/**
|
469
293
|
* "Stepify" the raw value - calculate the new value depending on the specified step property
|
470
294
|
*
|
@@ -475,27 +299,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
475
299
|
if (stepSize === 0 || stepModuloValue === 0) {
|
476
300
|
return value;
|
477
301
|
}
|
478
|
-
|
479
302
|
// Clip (snap) the new value to the nearest step
|
480
303
|
value = stepModuloValue * 2 >= stepSize ? value + stepSize - stepModuloValue : value - stepModuloValue;
|
481
|
-
|
482
304
|
// If the step value is not a round number get its precision
|
483
|
-
const stepPrecision =
|
484
|
-
return value.toFixed(stepPrecision);
|
305
|
+
const stepPrecision = SliderBase_1._getDecimalPrecisionOfNumber(stepSize);
|
306
|
+
return Number(value.toFixed(stepPrecision));
|
485
307
|
}
|
486
|
-
|
487
308
|
/**
|
488
309
|
* Gets pageX value from event on user interaction with the Slider
|
489
310
|
*
|
490
311
|
* @protected
|
491
312
|
*/
|
492
|
-
static getPageXValueFromEvent(
|
493
|
-
if (
|
494
|
-
|
313
|
+
static getPageXValueFromEvent(e) {
|
314
|
+
if ((0, _Device.supportsTouch)() && e instanceof TouchEvent) {
|
315
|
+
if (e.targetTouches && e.targetTouches.length > 0) {
|
316
|
+
return e.targetTouches[0].pageX;
|
317
|
+
}
|
318
|
+
return 0;
|
495
319
|
}
|
496
|
-
return
|
320
|
+
return e.pageX; // MouseEvent
|
497
321
|
}
|
498
|
-
|
499
322
|
/**
|
500
323
|
* Computes the new value (in %) from the pageX position of the cursor.
|
501
324
|
* Returns the value rounded to a precision of at most 2 digits after decimal point.
|
@@ -510,7 +333,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
510
333
|
// Fit (map) the complete percentage between the min/max value range
|
511
334
|
return min + percentageComplete * (max - min);
|
512
335
|
}
|
513
|
-
|
514
336
|
/**
|
515
337
|
* Calculates the precision (decimal places) of a number, returns 0 if integer
|
516
338
|
* Handles scientific notation cases.
|
@@ -521,53 +343,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
521
343
|
return 0;
|
522
344
|
}
|
523
345
|
const match = String(value).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
/**
|
528
|
-
* Normalize current properties, update the previously stored state.
|
529
|
-
*
|
530
|
-
* @protected
|
531
|
-
*/
|
532
|
-
syncUIAndState(...values) {
|
533
|
-
// Validate step and update the stored state for the step property.
|
534
|
-
if (this.isPropertyUpdated("step")) {
|
535
|
-
this._validateStep(this.step);
|
536
|
-
this.storePropertyState("step");
|
537
|
-
}
|
538
|
-
|
539
|
-
// Recalculate the tickmarks and labels and update the stored state.
|
540
|
-
if (this.isPropertyUpdated("min", "max", ...values)) {
|
541
|
-
this.storePropertyState("min", "max");
|
542
|
-
|
543
|
-
// Here the value props are changed programatically (not by user interaction)
|
544
|
-
// and it won't be "stepified" (rounded to the nearest step). 'Clip' them within
|
545
|
-
// min and max bounderies and update the previous state reference.
|
546
|
-
values.forEach(valueType => {
|
547
|
-
const normalizedValue = SliderBase.clipValue(this[valueType], this._effectiveMin, this._effectiveMax);
|
548
|
-
this.updateValue(valueType, normalizedValue);
|
549
|
-
this.storePropertyState(valueType);
|
550
|
-
});
|
551
|
-
}
|
552
|
-
|
553
|
-
// Labels must be updated if any of the min/max/step/labelInterval props are changed
|
554
|
-
if (this.labelInterval && this.showTickmarks) {
|
555
|
-
this._createLabels();
|
556
|
-
}
|
557
|
-
|
558
|
-
// Update the stored state for the labelInterval, if changed
|
559
|
-
if (this.isPropertyUpdated("labelInterval")) {
|
560
|
-
this.storePropertyState("labelInterval");
|
346
|
+
if (!match || match.length < 2) {
|
347
|
+
return 0;
|
561
348
|
}
|
349
|
+
return Math.max(0, (match[1] ? match[1].length : 0) - (match[2] ? Number(match[2]) : 0));
|
562
350
|
}
|
563
|
-
|
564
351
|
/**
|
565
352
|
* In order to always keep the visual UI representation and the internal
|
566
353
|
* state in sync, the component has a 'state storage' that is updated when the
|
567
354
|
* current state is changed due to a user action.
|
568
355
|
*
|
569
356
|
* Check if the previously saved state is outdated. That would mean
|
570
|
-
* a property has been changed
|
357
|
+
* a property has been changed programmatically because the previous state
|
571
358
|
* is always updated in the interaction handlers.
|
572
359
|
*
|
573
360
|
* Will return true if any of the properties is not equal to its previously
|
@@ -578,46 +365,41 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
578
365
|
isCurrentStateOutdated() {
|
579
366
|
return Object.entries(this._stateStorage).some(([propName, propValue]) => this[propName] !== propValue);
|
580
367
|
}
|
581
|
-
|
582
368
|
/**
|
583
369
|
* Returns the last stored value of a property
|
584
370
|
*
|
585
371
|
* @protected
|
586
372
|
*/
|
587
|
-
getStoredPropertyState(
|
588
|
-
return this._stateStorage[
|
373
|
+
getStoredPropertyState(prop) {
|
374
|
+
return this._stateStorage[prop];
|
589
375
|
}
|
590
|
-
|
591
376
|
/**
|
592
377
|
* Check if one or more properties have been updated compared to their last
|
593
378
|
* saved values in the state storage.
|
594
379
|
*
|
595
380
|
* @protected
|
596
381
|
*/
|
597
|
-
isPropertyUpdated(...
|
598
|
-
return
|
382
|
+
isPropertyUpdated(...props) {
|
383
|
+
return props.some(prop => this.getStoredPropertyState(prop) !== this[prop]);
|
599
384
|
}
|
600
|
-
|
601
385
|
/**
|
602
386
|
* Updates the previously saved in the _stateStorage values of one or more properties.
|
603
387
|
*
|
604
388
|
* @protected
|
605
389
|
*/
|
606
390
|
storePropertyState(...props) {
|
607
|
-
props.forEach(
|
608
|
-
this._stateStorage[
|
391
|
+
props.forEach(prop => {
|
392
|
+
this._stateStorage[prop] = this[prop];
|
609
393
|
});
|
610
394
|
}
|
611
|
-
|
612
395
|
/**
|
613
396
|
* Returns the start side of a direction - left for LTR, right for RTL
|
614
397
|
*/
|
615
398
|
get directionStart() {
|
616
399
|
return this.effectiveDir === "rtl" ? "right" : "left";
|
617
400
|
}
|
618
|
-
|
619
401
|
/**
|
620
|
-
* Calculates the labels
|
402
|
+
* Calculates the labels amount, width and text and creates them
|
621
403
|
*
|
622
404
|
* @private
|
623
405
|
*/
|
@@ -628,7 +410,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
628
410
|
const labelInterval = this.labelInterval;
|
629
411
|
const step = this._effectiveStep;
|
630
412
|
const newNumberOfLabels = (this._effectiveMax - this._effectiveMin) / (step * labelInterval);
|
631
|
-
|
632
413
|
// If the required labels are already rendered
|
633
414
|
if (newNumberOfLabels === this._oldNumberOfLabels) {
|
634
415
|
return;
|
@@ -636,10 +417,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
636
417
|
this._oldNumberOfLabels = newNumberOfLabels;
|
637
418
|
this._labelWidth = 100 / newNumberOfLabels;
|
638
419
|
this._labelValues = [];
|
639
|
-
|
640
420
|
// If the step value is not a round number get its precision
|
641
|
-
const stepPrecision =
|
642
|
-
|
421
|
+
const stepPrecision = SliderBase_1._getDecimalPrecisionOfNumber(step);
|
643
422
|
// numberOfLabels below can be float so that the "distance betweenlabels labels"
|
644
423
|
// calculation to be precize (exactly the same as the distance between the tickmarks).
|
645
424
|
// That's ok as the loop stop condition is set to an integer, so it will practically
|
@@ -650,41 +429,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
650
429
|
this._labelValues.push(labelItemNumber);
|
651
430
|
}
|
652
431
|
}
|
653
|
-
_handleActionKeyPressBase(
|
654
|
-
const isUpAction =
|
655
|
-
const isBigStep =
|
656
|
-
const currentValue = this[
|
432
|
+
_handleActionKeyPressBase(e, affectedPropName) {
|
433
|
+
const isUpAction = SliderBase_1._isIncreaseValueAction(e);
|
434
|
+
const isBigStep = SliderBase_1._isBigStepAction(e);
|
435
|
+
const currentValue = this[affectedPropName];
|
657
436
|
const min = this._effectiveMin;
|
658
437
|
const max = this._effectiveMax;
|
659
|
-
|
660
438
|
// We need to take into consideration the effective direction of the slider - rtl or ltr.
|
661
439
|
// While in ltr, the left arrow key decreases the value, in rtl it should actually increase it.
|
662
440
|
let step = this.effectiveDir === "rtl" ? -this._effectiveStep : this._effectiveStep;
|
663
|
-
|
664
441
|
// If the action key corresponds to a long step and the slider has more than 10 normal steps,
|
665
442
|
// make a jump of 1/10th of the Slider's length, otherwise just use the normal step property.
|
666
443
|
step = isBigStep && (max - min) / step > 10 ? (max - min) / 10 : step;
|
667
|
-
if ((0, _Keys.isEnd)(
|
444
|
+
if ((0, _Keys.isEnd)(e)) {
|
668
445
|
return max - currentValue;
|
669
446
|
}
|
670
|
-
if ((0, _Keys.isHome)(
|
447
|
+
if ((0, _Keys.isHome)(e)) {
|
671
448
|
return (currentValue - min) * -1;
|
672
449
|
}
|
673
450
|
return isUpAction ? step : step * -1;
|
674
451
|
}
|
675
|
-
static _isDecreaseValueAction(
|
676
|
-
return (0, _Keys.isDown)(
|
452
|
+
static _isDecreaseValueAction(e) {
|
453
|
+
return (0, _Keys.isDown)(e) || (0, _Keys.isDownCtrl)(e) || (0, _Keys.isLeft)(e) || (0, _Keys.isLeftCtrl)(e) || (0, _Keys.isMinus)(e) || (0, _Keys.isPageDown)(e);
|
677
454
|
}
|
678
|
-
static _isIncreaseValueAction(
|
679
|
-
return (0, _Keys.isUp)(
|
455
|
+
static _isIncreaseValueAction(e) {
|
456
|
+
return (0, _Keys.isUp)(e) || (0, _Keys.isUpCtrl)(e) || (0, _Keys.isRight)(e) || (0, _Keys.isRightCtrl)(e) || (0, _Keys.isPlus)(e) || (0, _Keys.isPageUp)(e);
|
680
457
|
}
|
681
|
-
static _isBigStepAction(
|
682
|
-
return (0, _Keys.isDownCtrl)(
|
458
|
+
static _isBigStepAction(e) {
|
459
|
+
return (0, _Keys.isDownCtrl)(e) || (0, _Keys.isUpCtrl)(e) || (0, _Keys.isLeftCtrl)(e) || (0, _Keys.isRightCtrl)(e) || (0, _Keys.isPageUp)(e) || (0, _Keys.isPageDown)(e);
|
683
460
|
}
|
684
461
|
get _tickmarksCount() {
|
685
462
|
return (this._effectiveMax - this._effectiveMin) / this._effectiveStep;
|
686
463
|
}
|
687
|
-
|
688
464
|
/**
|
689
465
|
* Calculates space between tickmarks
|
690
466
|
*
|
@@ -693,7 +469,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
693
469
|
_spaceBetweenTickmarks() {
|
694
470
|
return this.getBoundingClientRect().width / this._tickmarksCount;
|
695
471
|
}
|
696
|
-
|
697
472
|
/**
|
698
473
|
* Notify in case of a invalid step value type
|
699
474
|
*
|
@@ -708,7 +483,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
708
483
|
console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"); // eslint-disable-line
|
709
484
|
}
|
710
485
|
|
711
|
-
if (
|
486
|
+
if (Number.isNaN(step)) {
|
712
487
|
console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1"); // eslint-disable-line
|
713
488
|
}
|
714
489
|
}
|
@@ -716,7 +491,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
716
491
|
get _labels() {
|
717
492
|
return this._labelValues || [];
|
718
493
|
}
|
719
|
-
|
720
494
|
/**
|
721
495
|
* Normalizes a new <code>step</code> property value.
|
722
496
|
* If tickmarks are enabled recreates them according to it.
|
@@ -728,7 +502,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
728
502
|
if (step < 0) {
|
729
503
|
step = Math.abs(step);
|
730
504
|
}
|
731
|
-
if (
|
505
|
+
if (Number.isNaN(step)) {
|
732
506
|
step = 1;
|
733
507
|
}
|
734
508
|
return step;
|
@@ -739,13 +513,64 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
739
513
|
get _effectiveMax() {
|
740
514
|
return Math.max(this.min, this.max);
|
741
515
|
}
|
742
|
-
get
|
516
|
+
get _tabIndex() {
|
743
517
|
return this.disabled ? "-1" : "0";
|
744
518
|
}
|
745
519
|
get _ariaLabelledByHandleRefs() {
|
746
520
|
return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim();
|
747
521
|
}
|
748
|
-
}
|
522
|
+
};
|
523
|
+
__decorate([(0, _property.default)({
|
524
|
+
validator: _Float.default,
|
525
|
+
defaultValue: 0
|
526
|
+
})], SliderBase.prototype, "min", void 0);
|
527
|
+
__decorate([(0, _property.default)({
|
528
|
+
validator: _Float.default,
|
529
|
+
defaultValue: 100
|
530
|
+
})], SliderBase.prototype, "max", void 0);
|
531
|
+
__decorate([(0, _property.default)({
|
532
|
+
validator: _Float.default,
|
533
|
+
defaultValue: 1
|
534
|
+
})], SliderBase.prototype, "step", void 0);
|
535
|
+
__decorate([(0, _property.default)({
|
536
|
+
validator: _Integer.default,
|
537
|
+
defaultValue: 0
|
538
|
+
})], SliderBase.prototype, "labelInterval", void 0);
|
539
|
+
__decorate([(0, _property.default)({
|
540
|
+
type: Boolean
|
541
|
+
})], SliderBase.prototype, "showTickmarks", void 0);
|
542
|
+
__decorate([(0, _property.default)({
|
543
|
+
type: Boolean
|
544
|
+
})], SliderBase.prototype, "showTooltip", void 0);
|
545
|
+
__decorate([(0, _property.default)({
|
546
|
+
type: Boolean
|
547
|
+
})], SliderBase.prototype, "disabled", void 0);
|
548
|
+
__decorate([(0, _property.default)()], SliderBase.prototype, "accessibleName", void 0);
|
549
|
+
__decorate([(0, _property.default)({
|
550
|
+
defaultValue: "hidden"
|
551
|
+
})], SliderBase.prototype, "_tooltipVisibility", void 0);
|
552
|
+
__decorate([(0, _property.default)({
|
553
|
+
type: Boolean
|
554
|
+
})], SliderBase.prototype, "_labelsOverlapping", void 0);
|
555
|
+
__decorate([(0, _property.default)({
|
556
|
+
type: Boolean
|
557
|
+
})], SliderBase.prototype, "_hiddenTickmarks", void 0);
|
558
|
+
SliderBase = SliderBase_1 = __decorate([(0, _customElement.default)({
|
559
|
+
renderer: _LitRenderer.default,
|
560
|
+
styles: _SliderBase.default
|
561
|
+
})
|
562
|
+
/**
|
563
|
+
* Fired when the value changes and the user has finished interacting with the slider.
|
564
|
+
*
|
565
|
+
* @event sap.ui.webc.main.SliderBase#change
|
566
|
+
* @public
|
567
|
+
*/, (0, _event.default)("change")
|
568
|
+
/**
|
569
|
+
* Fired when the value changes due to user interaction that is not yet finished - during mouse/touch dragging.
|
570
|
+
*
|
571
|
+
* @event sap.ui.webc.main.SliderBase#input
|
572
|
+
* @public
|
573
|
+
*/, (0, _event.default)("input")], SliderBase);
|
749
574
|
var _default = SliderBase;
|
750
575
|
_exports.default = _default;
|
751
576
|
});
|