@openui5/sap.ui.webc.main 1.119.0 → 1.120.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/THIRDPARTY.txt +6 -6
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +2 -2
- package/src/sap/ui/webc/main/Avatar.js +42 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +6 -4
- 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 +1 -1
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -12
- package/src/sap/ui/webc/main/Button.js +10 -23
- package/src/sap/ui/webc/main/Calendar.js +1 -1
- package/src/sap/ui/webc/main/CalendarDate.js +1 -1
- package/src/sap/ui/webc/main/Card.js +1 -1
- package/src/sap/ui/webc/main/CardHeader.js +1 -1
- package/src/sap/ui/webc/main/Carousel.js +4 -6
- package/src/sap/ui/webc/main/CheckBox.js +4 -9
- 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 +2 -10
- package/src/sap/ui/webc/main/ColorPicker.js +1 -1
- package/src/sap/ui/webc/main/ComboBox.js +5 -13
- 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 +30 -1
- package/src/sap/ui/webc/main/DatePicker.js +4 -13
- package/src/sap/ui/webc/main/DateRangePicker.js +4 -13
- package/src/sap/ui/webc/main/DateTimePicker.js +4 -13
- package/src/sap/ui/webc/main/Dialog.js +9 -12
- package/src/sap/ui/webc/main/FileUploader.js +7 -14
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +1 -1
- package/src/sap/ui/webc/main/Input.js +4 -13
- package/src/sap/ui/webc/main/Label.js +3 -6
- package/src/sap/ui/webc/main/Link.js +3 -6
- package/src/sap/ui/webc/main/List.js +1 -1
- package/src/sap/ui/webc/main/Menu.js +3 -2
- package/src/sap/ui/webc/main/MenuItem.js +1 -1
- package/src/sap/ui/webc/main/MessageStrip.js +2 -4
- package/src/sap/ui/webc/main/MultiComboBox.js +3 -9
- 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 +3 -12
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +9 -1
- package/src/sap/ui/webc/main/Popover.js +5 -34
- package/src/sap/ui/webc/main/ProgressIndicator.js +9 -1
- package/src/sap/ui/webc/main/RadioButton.js +5 -19
- package/src/sap/ui/webc/main/RangeSlider.js +1 -1
- package/src/sap/ui/webc/main/RatingIndicator.js +24 -1
- package/src/sap/ui/webc/main/ResponsivePopover.js +5 -34
- package/src/sap/ui/webc/main/SegmentedButton.js +2 -9
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +10 -1
- package/src/sap/ui/webc/main/Select.js +65 -4
- package/src/sap/ui/webc/main/SelectMenu.js +65 -0
- package/src/sap/ui/webc/main/SelectMenuOption.js +80 -0
- package/src/sap/ui/webc/main/Slider.js +1 -1
- package/src/sap/ui/webc/main/SplitButton.js +1 -15
- package/src/sap/ui/webc/main/StandardListItem.js +23 -1
- package/src/sap/ui/webc/main/StepInput.js +4 -13
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +1 -1
- package/src/sap/ui/webc/main/Switch.js +25 -3
- package/src/sap/ui/webc/main/Tab.js +1 -1
- package/src/sap/ui/webc/main/TabContainer.js +1 -29
- package/src/sap/ui/webc/main/TabSeparator.js +1 -1
- package/src/sap/ui/webc/main/Table.js +2 -9
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +1 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
- package/src/sap/ui/webc/main/TableRow.js +1 -1
- package/src/sap/ui/webc/main/TextArea.js +5 -12
- package/src/sap/ui/webc/main/TimePicker.js +18 -14
- package/src/sap/ui/webc/main/Title.js +3 -6
- package/src/sap/ui/webc/main/Toast.js +1 -13
- package/src/sap/ui/webc/main/ToggleButton.js +10 -23
- package/src/sap/ui/webc/main/Token.js +1 -1
- package/src/sap/ui/webc/main/Toolbar.js +103 -0
- package/src/sap/ui/webc/main/ToolbarButton.js +192 -0
- package/src/sap/ui/webc/main/ToolbarSelect.js +166 -0
- package/src/sap/ui/webc/main/ToolbarSelectOption.js +71 -0
- package/src/sap/ui/webc/main/ToolbarSeparator.js +50 -0
- package/src/sap/ui/webc/main/ToolbarSpacer.js +67 -0
- package/src/sap/ui/webc/main/Tree.js +1 -1
- package/src/sap/ui/webc/main/TreeItem.js +17 -1
- package/src/sap/ui/webc/main/TreeItemCustom.js +17 -1
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/ui/webc/main/designtime/messagebundle_mk.properties +94 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sh.properties +3 -3
- package/src/sap/ui/webc/main/library.js +130 -2
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +40 -12
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +8 -2
- package/src/sap/ui/webc/main/thirdparty/Badge.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +6 -1
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/Button.js +28 -3
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +15 -8
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/Card.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +7 -1
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +5 -2
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +17 -0
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +16 -8
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +7 -4
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +9 -2
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +18 -10
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/Icon.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/Input.js +13 -11
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +29 -2
- package/src/sap/ui/webc/main/thirdparty/Label.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/Link.js +6 -0
- package/src/sap/ui/webc/main/thirdparty/List.js +14 -3
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +11 -1
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/Menu.js +64 -14
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +10 -4
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +125 -22
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +26 -3
- package/src/sap/ui/webc/main/thirdparty/Option.js +8 -11
- package/src/sap/ui/webc/main/thirdparty/Panel.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/Popup.js +7 -12
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +7 -1
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +26 -5
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +13 -3
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +16 -1
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +7 -48
- package/src/sap/ui/webc/main/thirdparty/Select.js +207 -32
- package/src/sap/ui/webc/main/thirdparty/SelectMenu.js +248 -0
- package/src/sap/ui/webc/main/thirdparty/SelectMenuOption.js +100 -0
- package/src/sap/ui/webc/main/thirdparty/Slider.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +6 -0
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/Switch.js +31 -3
- package/src/sap/ui/webc/main/thirdparty/Tab.js +11 -0
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +10 -9
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +6 -0
- package/src/sap/ui/webc/main/thirdparty/Table.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/TableCell.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +23 -17
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +159 -49
- package/src/sap/ui/webc/main/thirdparty/TimePickerClock.js +628 -0
- package/src/sap/ui/webc/main/thirdparty/TimePickerInternals.js +383 -0
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/TimeSelectionClocks.js +420 -0
- package/src/sap/ui/webc/main/thirdparty/TimeSelectionInputs.js +326 -0
- package/src/sap/ui/webc/main/thirdparty/Title.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/Toast.js +58 -3
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/ToggleSpinButton.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/Token.js +20 -5
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +84 -28
- package/src/sap/ui/webc/main/thirdparty/Toolbar.js +454 -0
- package/src/sap/ui/webc/main/thirdparty/ToolbarButton.js +116 -0
- package/src/sap/ui/webc/main/thirdparty/ToolbarItem.js +115 -0
- package/src/sap/ui/webc/main/thirdparty/ToolbarRegistry.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/ToolbarSelect.js +166 -0
- package/src/sap/ui/webc/main/thirdparty/ToolbarSelectOption.js +50 -0
- package/src/sap/ui/webc/main/thirdparty/ToolbarSeparator.js +62 -0
- package/src/sap/ui/webc/main/thirdparty/ToolbarSpacer.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/Tree.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +7 -2
- package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +5 -2
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +5 -0
- 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/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/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/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/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/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/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/MultiComboBoxPopover.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/PopupsCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +1 -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/SelectMenu.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectMenuOption.css +0 -0
- 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/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/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 -2
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerClock.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelectionClocks.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelectionInputs.css +1 -0
- 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/TokenizerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toolbar.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToolbarButtonPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToolbarPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -1
- 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_dark_exp/parameters-bundle.css +1 -0
- 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_hcb_exp/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw_exp/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +21 -9
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +17 -7
- 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_dark_exp/parameters-bundle.css.json.js +1 -0
- 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_hcb_exp/parameters-bundle.css.json.js +1 -0
- 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/assets/themes/sap_horizon_hcw_exp/parameters-bundle.css.json.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +47 -2
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +7 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectMenuTemplate.lit.js +45 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +7 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerClockTemplate.lit.js +33 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionClocksTemplate.lit.js +30 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionInputsTemplate.lit.js +27 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleSpinButtonTemplate.lit.js +21 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarButtonTemplate.lit.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarPopoverButtonTemplate.lit.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarPopoverSelectTemplate.lit.js +18 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarPopoverSeparatorTemplate.lit.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarPopoverTemplate.lit.js +18 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarSelectTemplate.lit.js +18 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarSeparatorTemplate.lit.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarSpacerTemplate.lit.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToolbarTemplate.lit.js +18 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectMenu.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectMenuOption.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerClock.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelectionClocks.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelectionInputs.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toolbar.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToolbarButtonPopover.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToolbarPopover.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark_exp/parameters-bundle.css.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb_exp/parameters-bundle.css.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw_exp/parameters-bundle.css.js +15 -0
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/types/ButtonType.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/ToolbarAlign.js +35 -0
- package/src/sap/ui/webc/main/thirdparty/types/ToolbarItemOverflowBehavior.js +41 -0
- package/ui5.yaml +30 -2
@@ -1,4 +1,4 @@
|
|
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/decorators/slot", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/util/InvisibleMessage", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/InvisibleMessageMode", "./List", "./generated/i18n/i18n-defaults", "./Option", "./Label", "./ResponsivePopover", "./Popover", "./StandardListItem", "./Icon", "./Button", "./generated/templates/SelectTemplate.lit", "./generated/templates/SelectPopoverTemplate.lit", "./generated/themes/Select.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/SelectPopover.css"], function (_exports, _UI5Element, _customElement, _property, _event, _slot, _LitRenderer, _Keys, _InvisibleMessage, _FeaturesRegistry, _AriaLabelHelper, _ValueState, _slimArrowDown, _error, _alert, _sysEnter, _information, _Device, _i18nBundle, _decline, _Integer, _InvisibleMessageMode, _List, _i18nDefaults, _Option, _Label, _ResponsivePopover, _Popover, _StandardListItem, _Icon, _Button, _SelectTemplate, _SelectPopoverTemplate, _Select, _ResponsivePopoverCommon, _ValueStateMessage, _SelectPopover) {
|
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/decorators/slot", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/connectToComponent", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/DOMReference", "sap/ui/webc/common/thirdparty/base/util/InvisibleMessage", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/InvisibleMessageMode", "sap/ui/webc/common/thirdparty/base/CustomElementsScope", "./List", "./generated/i18n/i18n-defaults", "./Option", "./Label", "./ResponsivePopover", "./Popover", "./StandardListItem", "./Icon", "./Button", "./generated/templates/SelectTemplate.lit", "./generated/templates/SelectPopoverTemplate.lit", "./generated/themes/Select.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/SelectPopover.css"], function (_exports, _UI5Element, _customElement, _property, _event, _slot, _LitRenderer, _connectToComponent, _Keys, _DOMReference, _InvisibleMessage, _FeaturesRegistry, _AriaLabelHelper, _ValueState, _slimArrowDown, _error, _alert, _sysEnter, _information, _Device, _i18nBundle, _decline, _Integer, _InvisibleMessageMode, _CustomElementsScope, _List, _i18nDefaults, _Option, _Label, _ResponsivePopover, _Popover, _StandardListItem, _Icon, _Button, _SelectTemplate, _SelectPopoverTemplate, _Select, _ResponsivePopoverCommon, _ValueStateMessage, _SelectPopover) {
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
@@ -11,6 +11,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
11
11
|
_event = _interopRequireDefault(_event);
|
12
12
|
_slot = _interopRequireDefault(_slot);
|
13
13
|
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
14
|
+
_connectToComponent = _interopRequireDefault(_connectToComponent);
|
15
|
+
_DOMReference = _interopRequireDefault(_DOMReference);
|
14
16
|
_InvisibleMessage = _interopRequireDefault(_InvisibleMessage);
|
15
17
|
_ValueState = _interopRequireDefault(_ValueState);
|
16
18
|
_Integer = _interopRequireDefault(_Integer);
|
@@ -38,12 +40,37 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
38
40
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
39
41
|
};
|
40
42
|
var Select_1;
|
43
|
+
|
44
|
+
// Templates
|
45
|
+
|
46
|
+
// Styles
|
47
|
+
|
41
48
|
/**
|
42
49
|
* @class
|
43
50
|
*
|
44
51
|
* <h3 class="comment-api-title">Overview</h3>
|
52
|
+
*
|
45
53
|
* The <code>ui5-select</code> component is used to create a drop-down list.
|
46
|
-
*
|
54
|
+
*
|
55
|
+
* <h3>Usage</h3>
|
56
|
+
*
|
57
|
+
* There are two main usages of the <code>ui5-select></code>.
|
58
|
+
*
|
59
|
+
* 1. With Option (<code>ui5-option</code>) web component:
|
60
|
+
* <br>
|
61
|
+
* The available options of the Select are defined by using the Option component.
|
62
|
+
* The Option comes with predefined design and layout, including <code>icon</code>, <code>text</code> and <code>additional-text</code>.
|
63
|
+
* <br><br>
|
64
|
+
*
|
65
|
+
* 2. With SelectMenu (<code>ui5-select-menu</code>) and SelectMenuOption (<code>ui5-select-menu-option</code>) web components:
|
66
|
+
* <br>
|
67
|
+
* The SelectMenu can be used as alternative to define the Select's dropdown
|
68
|
+
* and can be used via the <code>menu</code> property of the Select to reference SelectMenu by its ID.
|
69
|
+
* The component gives the possibility to customize the Select's dropdown
|
70
|
+
* by slotting entirely custom options (via the SelectMenuOption component) and adding custom styles.
|
71
|
+
*
|
72
|
+
* <b>Note:</b> SelectMenu is a popover and placing it top-level in the HTML page is recommended,
|
73
|
+
* because some page styles (for example transitions) can misplace the SelectMenu.
|
47
74
|
*
|
48
75
|
* <h3>Keyboard Handling</h3>
|
49
76
|
* The <code>ui5-select</code> provides advanced keyboard handling.
|
@@ -67,7 +94,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
67
94
|
* @alias sap.ui.webc.main.Select
|
68
95
|
* @extends sap.ui.webc.base.UI5Element
|
69
96
|
* @tagname ui5-select
|
70
|
-
* @appenddocs sap.ui.webc.main.Option
|
97
|
+
* @appenddocs sap.ui.webc.main.Option sap.ui.webc.main.SelectMenu sap.ui.webc.main.SelectMenuOption
|
71
98
|
* @public
|
72
99
|
* @since 0.8.0
|
73
100
|
*/
|
@@ -75,16 +102,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
75
102
|
constructor() {
|
76
103
|
super();
|
77
104
|
this._syncedOptions = [];
|
78
|
-
this._selectedIndex = -1;
|
79
105
|
this._selectedIndexBeforeOpen = -1;
|
80
106
|
this._escapePressed = false;
|
81
107
|
this._lastSelectedOption = null;
|
82
108
|
this._typedChars = "";
|
109
|
+
this._onMenuClick = this.onMenuClick.bind(this);
|
110
|
+
this._onMenuClose = this.onMenuClose.bind(this);
|
111
|
+
this._onMenuOpen = this.onMenuOpen.bind(this);
|
112
|
+
this._onMenuBeforeOpen = this.onMenuBeforeOpen.bind(this);
|
113
|
+
this._onMenuChange = this.onMenuChange.bind(this);
|
114
|
+
this._attachMenuListeners = this.attachMenuListeners.bind(this);
|
115
|
+
this._detachMenuListeners = this.detachMenuListeners.bind(this);
|
83
116
|
}
|
84
117
|
onBeforeRendering() {
|
85
|
-
this.
|
118
|
+
const menu = this._getSelectMenu();
|
119
|
+
if (menu) {
|
120
|
+
menu.value = this.value;
|
121
|
+
} else {
|
122
|
+
this._syncSelection();
|
123
|
+
}
|
86
124
|
this._enableFormSupport();
|
87
|
-
this.style.setProperty("--_ui5-input-icons-count", `${this.iconsCount}`);
|
125
|
+
this.style.setProperty((0, _CustomElementsScope.getScopedVarName)("--_ui5-input-icons-count"), `${this.iconsCount}`);
|
88
126
|
}
|
89
127
|
onAfterRendering() {
|
90
128
|
this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover);
|
@@ -102,6 +140,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
102
140
|
this.focused = false;
|
103
141
|
}
|
104
142
|
get _isPickerOpen() {
|
143
|
+
const menu = this._getSelectMenu();
|
144
|
+
if (menu) {
|
145
|
+
return menu.open;
|
146
|
+
}
|
105
147
|
return !!this.responsivePopover && this.responsivePopover.opened;
|
106
148
|
}
|
107
149
|
async _respPopover() {
|
@@ -116,14 +158,53 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
116
158
|
* @public
|
117
159
|
*/
|
118
160
|
get selectedOption() {
|
119
|
-
return this.
|
161
|
+
return this.selectOptions.find(option => option.selected);
|
162
|
+
}
|
163
|
+
onMenuClick(e) {
|
164
|
+
const optionIndex = e.detail.optionIndex;
|
165
|
+
this._handleSelectionChange(optionIndex);
|
166
|
+
}
|
167
|
+
onMenuBeforeOpen() {
|
168
|
+
this._beforeOpen();
|
169
|
+
}
|
170
|
+
onMenuOpen() {
|
171
|
+
this._afterOpen();
|
172
|
+
}
|
173
|
+
onMenuClose() {
|
174
|
+
this._afterClose();
|
175
|
+
}
|
176
|
+
onMenuChange(e) {
|
177
|
+
this._text = e.detail.text;
|
178
|
+
this._selectedIndex = e.detail.selectedIndex;
|
179
|
+
}
|
180
|
+
_toggleSelectMenu() {
|
181
|
+
const menu = this._getSelectMenu();
|
182
|
+
if (!menu) {
|
183
|
+
return;
|
184
|
+
}
|
185
|
+
if (menu.open) {
|
186
|
+
menu.close();
|
187
|
+
} else {
|
188
|
+
menu.showAt(this, this.offsetWidth);
|
189
|
+
}
|
190
|
+
}
|
191
|
+
onExitDOM() {
|
192
|
+
const menu = this._getSelectMenu();
|
193
|
+
if (menu) {
|
194
|
+
this._detachMenuListeners(menu);
|
195
|
+
}
|
120
196
|
}
|
121
197
|
async _toggleRespPopover() {
|
122
|
-
this._iconPressed = true;
|
123
|
-
this.responsivePopover = await this._respPopover();
|
124
198
|
if (this.disabled) {
|
125
199
|
return;
|
126
200
|
}
|
201
|
+
this._iconPressed = true;
|
202
|
+
const menu = this._getSelectMenu();
|
203
|
+
if (menu) {
|
204
|
+
this._toggleSelectMenu();
|
205
|
+
return;
|
206
|
+
}
|
207
|
+
this.responsivePopover = await this._respPopover();
|
127
208
|
if (this._isPickerOpen) {
|
128
209
|
this.responsivePopover.close();
|
129
210
|
} else {
|
@@ -183,6 +264,32 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
183
264
|
}
|
184
265
|
this._syncedOptions = syncOpts;
|
185
266
|
}
|
267
|
+
_getSelectMenu() {
|
268
|
+
return (0, _connectToComponent.default)({
|
269
|
+
host: this,
|
270
|
+
propName: "menu",
|
271
|
+
onConnect: this._attachMenuListeners,
|
272
|
+
onDisconnect: this._detachMenuListeners
|
273
|
+
});
|
274
|
+
}
|
275
|
+
attachMenuListeners(menu) {
|
276
|
+
menu.addEventListener("ui5-after-close", this._onMenuClose);
|
277
|
+
menu.addEventListener("ui5-after-open", this._onMenuOpen);
|
278
|
+
menu.addEventListener("ui5-before-open", this._onMenuBeforeOpen);
|
279
|
+
// @ts-ignore
|
280
|
+
menu.addEventListener("ui5-option-click", this._onMenuClick);
|
281
|
+
// @ts-ignore
|
282
|
+
menu.addEventListener("ui5-menu-change", this._onMenuChange);
|
283
|
+
}
|
284
|
+
detachMenuListeners(menu) {
|
285
|
+
menu.removeEventListener("ui5-after-close", this._onMenuClose);
|
286
|
+
menu.removeEventListener("ui5-after-open", this._onMenuOpen);
|
287
|
+
menu.removeEventListener("ui5-before-open", this._onMenuBeforeOpen);
|
288
|
+
// @ts-ignore
|
289
|
+
menu.removeEventListener("ui5-option-click", this._onMenuClick);
|
290
|
+
// @ts-ignore
|
291
|
+
menu.removeEventListener("ui5-menu-change", this._onMenuChange);
|
292
|
+
}
|
186
293
|
_enableFormSupport() {
|
187
294
|
const formSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
188
295
|
if (formSupport) {
|
@@ -198,10 +305,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
198
305
|
|
199
306
|
_onkeydown(e) {
|
200
307
|
const isTab = (0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e);
|
201
|
-
if (isTab && this.
|
202
|
-
this.
|
203
|
-
|
204
|
-
|
308
|
+
if (isTab && this._isPickerOpen) {
|
309
|
+
const menu = this._getSelectMenu();
|
310
|
+
if (menu) {
|
311
|
+
menu.close(false, false, true /* preventFocusRestore */);
|
312
|
+
} else {
|
313
|
+
this.responsivePopover.close();
|
314
|
+
}
|
315
|
+
} else if ((0, _Keys.isShow)(e)) {
|
205
316
|
e.preventDefault();
|
206
317
|
this._toggleRespPopover();
|
207
318
|
} else if ((0, _Keys.isSpace)(e)) {
|
@@ -239,7 +350,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
239
350
|
const currentIndex = this._selectedIndex;
|
240
351
|
const itemToSelect = this._searchNextItemByText(text);
|
241
352
|
if (itemToSelect) {
|
242
|
-
const nextIndex = this.
|
353
|
+
const nextIndex = this.selectOptions.indexOf(itemToSelect);
|
243
354
|
this._changeSelectedItem(this._selectedIndex, nextIndex);
|
244
355
|
if (currentIndex !== this._selectedIndex) {
|
245
356
|
this.itemSelectionAnnounce();
|
@@ -247,18 +358,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
247
358
|
}
|
248
359
|
}
|
249
360
|
_searchNextItemByText(text) {
|
250
|
-
let orderedOptions = this.
|
361
|
+
let orderedOptions = this.selectOptions.slice(0);
|
251
362
|
const optionsAfterSelected = orderedOptions.splice(this._selectedIndex + 1, orderedOptions.length - this._selectedIndex);
|
252
363
|
const optionsBeforeSelected = orderedOptions.splice(0, orderedOptions.length - 1);
|
253
364
|
orderedOptions = optionsAfterSelected.concat(optionsBeforeSelected);
|
254
|
-
return orderedOptions.find(option => (option.textContent || "").toLowerCase().startsWith(text));
|
365
|
+
return orderedOptions.find(option => (option.displayText || option.textContent || "").toLowerCase().startsWith(text));
|
255
366
|
}
|
256
367
|
_handleHomeKey(e) {
|
257
368
|
e.preventDefault();
|
258
369
|
this._changeSelectedItem(this._selectedIndex, 0);
|
259
370
|
}
|
260
371
|
_handleEndKey(e) {
|
261
|
-
const lastIndex = this.
|
372
|
+
const lastIndex = this.selectOptions.length - 1;
|
262
373
|
e.preventDefault();
|
263
374
|
this._changeSelectedItem(this._selectedIndex, lastIndex);
|
264
375
|
}
|
@@ -272,12 +383,17 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
272
383
|
}
|
273
384
|
}
|
274
385
|
_getSelectedItemIndex(item) {
|
275
|
-
return this.
|
386
|
+
return this.selectOptions.findIndex(option => `${option._id}-li` === item.id);
|
276
387
|
}
|
277
388
|
_select(index) {
|
278
|
-
this.
|
389
|
+
this.selectOptions[this._selectedIndex].selected = false;
|
390
|
+
if (this._selectedIndex !== index) {
|
391
|
+
this.fireEvent("live-change", {
|
392
|
+
selectedOption: this.selectOptions[index]
|
393
|
+
});
|
394
|
+
}
|
279
395
|
this._selectedIndex = index;
|
280
|
-
this.
|
396
|
+
this.selectOptions[index].selected = true;
|
281
397
|
}
|
282
398
|
/**
|
283
399
|
* The user clicked on an item from the list
|
@@ -304,6 +420,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
304
420
|
this._select(index);
|
305
421
|
this._toggleRespPopover();
|
306
422
|
}
|
423
|
+
_scrollSelectedItem() {
|
424
|
+
if (this._isPickerOpen) {
|
425
|
+
const itemRef = this._currentlySelectedOption?.getDomRef();
|
426
|
+
if (itemRef) {
|
427
|
+
itemRef.scrollIntoView({
|
428
|
+
behavior: "auto",
|
429
|
+
block: "nearest",
|
430
|
+
inline: "nearest"
|
431
|
+
});
|
432
|
+
}
|
433
|
+
}
|
434
|
+
}
|
307
435
|
_handleArrowNavigation(e) {
|
308
436
|
let nextIndex = -1;
|
309
437
|
const currentIndex = this._selectedIndex;
|
@@ -320,21 +448,33 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
320
448
|
// The aria-activedescendents attribute can't be used,
|
321
449
|
// because listitem elements are in different shadow dom
|
322
450
|
this.itemSelectionAnnounce();
|
451
|
+
this._scrollSelectedItem();
|
323
452
|
}
|
324
453
|
}
|
325
454
|
_changeSelectedItem(oldIndex, newIndex) {
|
326
|
-
const options = this.
|
327
|
-
options[oldIndex]
|
328
|
-
|
329
|
-
|
330
|
-
|
455
|
+
const options = this.selectOptions;
|
456
|
+
const previousOption = options[oldIndex];
|
457
|
+
previousOption.selected = false;
|
458
|
+
previousOption._focused = false;
|
459
|
+
previousOption.focused = false;
|
460
|
+
const nextOption = options[newIndex];
|
461
|
+
nextOption.selected = true;
|
462
|
+
nextOption._focused = true;
|
463
|
+
nextOption.focused = true;
|
331
464
|
this._selectedIndex = newIndex;
|
465
|
+
this.fireEvent("live-change", {
|
466
|
+
selectedOption: nextOption
|
467
|
+
});
|
332
468
|
if (!this._isPickerOpen) {
|
333
469
|
// arrow pressed on closed picker - do selection change
|
334
|
-
this._fireChangeEvent(
|
470
|
+
this._fireChangeEvent(nextOption);
|
335
471
|
}
|
336
472
|
}
|
337
473
|
_getNextOptionIndex() {
|
474
|
+
const menu = this._getSelectMenu();
|
475
|
+
if (menu) {
|
476
|
+
return this._selectedIndex === menu.options.length - 1 ? this._selectedIndex : this._selectedIndex + 1;
|
477
|
+
}
|
338
478
|
return this._selectedIndex === this.options.length - 1 ? this._selectedIndex : this._selectedIndex + 1;
|
339
479
|
}
|
340
480
|
_getPreviousOptionIndex() {
|
@@ -342,12 +482,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
342
482
|
}
|
343
483
|
_beforeOpen() {
|
344
484
|
this._selectedIndexBeforeOpen = this._selectedIndex;
|
345
|
-
this._lastSelectedOption = this.
|
485
|
+
this._lastSelectedOption = this.selectOptions[this._selectedIndex];
|
346
486
|
}
|
347
487
|
_afterOpen() {
|
348
488
|
this.opened = true;
|
349
489
|
this.fireEvent("open");
|
350
490
|
this.itemSelectionAnnounce();
|
491
|
+
this._scrollSelectedItem();
|
351
492
|
}
|
352
493
|
_afterClose() {
|
353
494
|
this.opened = false;
|
@@ -356,12 +497,22 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
356
497
|
if (this._escapePressed) {
|
357
498
|
this._select(this._selectedIndexBeforeOpen);
|
358
499
|
this._escapePressed = false;
|
359
|
-
} else if (this._lastSelectedOption !== this.
|
360
|
-
this._fireChangeEvent(this.
|
361
|
-
this._lastSelectedOption = this.
|
500
|
+
} else if (this._lastSelectedOption !== this.selectOptions[this._selectedIndex]) {
|
501
|
+
this._fireChangeEvent(this.selectOptions[this._selectedIndex]);
|
502
|
+
this._lastSelectedOption = this.selectOptions[this._selectedIndex];
|
362
503
|
}
|
363
504
|
this.fireEvent("close");
|
364
505
|
}
|
506
|
+
get selectOptions() {
|
507
|
+
const menu = this._getSelectMenu();
|
508
|
+
if (menu) {
|
509
|
+
return menu.options;
|
510
|
+
}
|
511
|
+
return this._filteredItems;
|
512
|
+
}
|
513
|
+
get hasCustomLabel() {
|
514
|
+
return !!this.label.length;
|
515
|
+
}
|
365
516
|
_fireChangeEvent(selectedOption) {
|
366
517
|
const changePrevented = !this.fireEvent("change", {
|
367
518
|
selectedOption
|
@@ -418,7 +569,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
418
569
|
return Select_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
|
419
570
|
}
|
420
571
|
get _currentlySelectedOption() {
|
421
|
-
return this.
|
572
|
+
return this.selectOptions[this._selectedIndex];
|
422
573
|
}
|
423
574
|
get _effectiveTabIndex() {
|
424
575
|
return this.disabled || this.responsivePopover // Handles focus on Tab/Shift + Tab when the popover is opened
|
@@ -493,7 +644,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
493
644
|
}
|
494
645
|
itemSelectionAnnounce() {
|
495
646
|
let text;
|
496
|
-
const optionsCount = this.
|
647
|
+
const optionsCount = this.selectOptions.length;
|
497
648
|
const itemPositionText = Select_1.i18nBundle.getText(_i18nDefaults.LIST_ITEM_POSITION, this._selectedIndex + 1, optionsCount);
|
498
649
|
if (this.focused && this._currentlySelectedOption) {
|
499
650
|
text = `${this._currentlySelectedOption.textContent} ${this._isPickerOpen ? itemPositionText : ""}`;
|
@@ -527,6 +678,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
527
678
|
Select_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
528
679
|
}
|
529
680
|
};
|
681
|
+
__decorate([(0, _property.default)({
|
682
|
+
validator: _DOMReference.default
|
683
|
+
})], Select.prototype, "menu", void 0);
|
530
684
|
__decorate([(0, _property.default)({
|
531
685
|
type: Boolean
|
532
686
|
})], Select.prototype, "disabled", void 0);
|
@@ -559,6 +713,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
559
713
|
__decorate([(0, _property.default)({
|
560
714
|
type: Boolean
|
561
715
|
})], Select.prototype, "focused", void 0);
|
716
|
+
__decorate([(0, _property.default)({
|
717
|
+
validator: _Integer.default,
|
718
|
+
defaultValue: -1,
|
719
|
+
noAttribute: true
|
720
|
+
})], Select.prototype, "_selectedIndex", void 0);
|
562
721
|
__decorate([(0, _slot.default)({
|
563
722
|
"default": true,
|
564
723
|
type: HTMLElement,
|
@@ -566,6 +725,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
566
725
|
})], Select.prototype, "options", void 0);
|
567
726
|
__decorate([(0, _slot.default)()], Select.prototype, "formSupport", void 0);
|
568
727
|
__decorate([(0, _slot.default)()], Select.prototype, "valueStateMessage", void 0);
|
728
|
+
__decorate([(0, _slot.default)()], Select.prototype, "label", void 0);
|
569
729
|
Select = Select_1 = __decorate([(0, _customElement.default)({
|
570
730
|
tag: "ui5-select",
|
571
731
|
languageAware: true,
|
@@ -590,6 +750,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
590
750
|
}
|
591
751
|
}
|
592
752
|
})
|
753
|
+
/**
|
754
|
+
* Fired when the user navigates through the options, but the selection is not finalized,
|
755
|
+
* or when pressing the ESC key to revert the current selection.
|
756
|
+
*
|
757
|
+
* @event sap.ui.webc.main.Select#live-change
|
758
|
+
* @param {HTMLElement} selectedOption the selected option.
|
759
|
+
* @public
|
760
|
+
* @since 1.17.0
|
761
|
+
*/, (0, _event.default)("live-change", {
|
762
|
+
detail: {
|
763
|
+
option: {
|
764
|
+
type: HTMLElement
|
765
|
+
}
|
766
|
+
}
|
767
|
+
})
|
593
768
|
/**
|
594
769
|
* Fired after the component's dropdown menu opens.
|
595
770
|
*
|