@openui5/sap.ui.webc.main 1.119.1 → 1.120.1
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
@@ -0,0 +1,326 @@
|
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/Keys", "./TimePickerInternals", "./Input", "./SegmentedButton", "./types/InputType", "./generated/i18n/i18n-defaults", "./generated/templates/TimeSelectionInputsTemplate.lit", "./generated/themes/TimeSelectionInputs.css"], function (_exports, _customElement, _property, _LitRenderer, _Gregorian, _Integer, _Keys, _TimePickerInternals, _Input, _SegmentedButton, _InputType, _i18nDefaults, _TimeSelectionInputsTemplate, _TimeSelectionInputs) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
Object.defineProperty(_exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
_exports.default = void 0;
|
8
|
+
_customElement = _interopRequireDefault(_customElement);
|
9
|
+
_property = _interopRequireDefault(_property);
|
10
|
+
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
11
|
+
_Integer = _interopRequireDefault(_Integer);
|
12
|
+
_TimePickerInternals = _interopRequireDefault(_TimePickerInternals);
|
13
|
+
_Input = _interopRequireDefault(_Input);
|
14
|
+
_SegmentedButton = _interopRequireDefault(_SegmentedButton);
|
15
|
+
_InputType = _interopRequireDefault(_InputType);
|
16
|
+
_TimeSelectionInputsTemplate = _interopRequireDefault(_TimeSelectionInputsTemplate);
|
17
|
+
_TimeSelectionInputs = _interopRequireDefault(_TimeSelectionInputs);
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
19
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
20
|
+
var c = arguments.length,
|
21
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
22
|
+
d;
|
23
|
+
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;
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
25
|
+
};
|
26
|
+
|
27
|
+
// default calendar for bundling
|
28
|
+
|
29
|
+
// Template
|
30
|
+
|
31
|
+
// Styles
|
32
|
+
|
33
|
+
/**
|
34
|
+
* @class
|
35
|
+
*
|
36
|
+
* <h3 class="comment-api-title">Overview</h3>
|
37
|
+
*
|
38
|
+
* <code>ui5-time-selection-inputs</code> displays a popover with <code>ui5-input</code> components of type="number" and an
|
39
|
+
* optional a AM/PM <code>ui5-segmented-button</code> according to the display format given to the <code>ui5-time-picker</code>.
|
40
|
+
* Using of numeric input components enables display of mobile devices' native numeric keyboard, which speeds up entering of the time.
|
41
|
+
* The popup appears only on mobile devices when there is a tap on the <code>ui5-time-picker</code> input.
|
42
|
+
*
|
43
|
+
* This component should not be used separately.
|
44
|
+
*
|
45
|
+
* @constructor
|
46
|
+
* @author SAP SE
|
47
|
+
* @alias sap.ui.webc.main.TimeSelectionInputs
|
48
|
+
* @extends sap.ui.webc.main.TimePickerInternals
|
49
|
+
* @abstract
|
50
|
+
* @tagname ui5-time-selection-inputs
|
51
|
+
* @since 1.18.0
|
52
|
+
* @private
|
53
|
+
*/
|
54
|
+
let TimeSelectionInputs = class TimeSelectionInputs extends _TimePickerInternals.default {
|
55
|
+
get enterHoursLabel() {
|
56
|
+
return _TimePickerInternals.default.i18nBundle.getText(_i18nDefaults.TIMEPICKER_INPUTS_ENTER_HOURS);
|
57
|
+
}
|
58
|
+
get enterMinutesLabel() {
|
59
|
+
return _TimePickerInternals.default.i18nBundle.getText(_i18nDefaults.TIMEPICKER_INPUTS_ENTER_MINUTES);
|
60
|
+
}
|
61
|
+
get enterSecondsLabel() {
|
62
|
+
return _TimePickerInternals.default.i18nBundle.getText(_i18nDefaults.TIMEPICKER_INPUTS_ENTER_SECONDS);
|
63
|
+
}
|
64
|
+
get _numberType() {
|
65
|
+
return _InputType.default.Number;
|
66
|
+
}
|
67
|
+
get _isHoursInput() {
|
68
|
+
const key = this._componentKey("hours");
|
69
|
+
return this._componentMap[key] === this._activeIndex;
|
70
|
+
}
|
71
|
+
get _is24HoursFormat() {
|
72
|
+
return this.formatPattern.indexOf("HH") !== -1 || this.formatPattern.indexOf("H") !== -1;
|
73
|
+
}
|
74
|
+
onBeforeRendering() {
|
75
|
+
this._createComponents();
|
76
|
+
}
|
77
|
+
_addNumericAttributes() {
|
78
|
+
this._entities.forEach((item, index) => {
|
79
|
+
const input = this._inputComponent(index);
|
80
|
+
if (input) {
|
81
|
+
const innerInput = this._innerInput(input);
|
82
|
+
innerInput.setAttribute("autocomplete", "off");
|
83
|
+
innerInput.setAttribute("pattern", "[0-9]*");
|
84
|
+
innerInput.setAttribute("inputmode", "numeric");
|
85
|
+
}
|
86
|
+
});
|
87
|
+
}
|
88
|
+
/**
|
89
|
+
* Returns Input component by index or name.
|
90
|
+
*
|
91
|
+
* @param {number | string} indexOrName the index or name of the component
|
92
|
+
* @returns { Input | undefined} component (if exists) or undefined
|
93
|
+
*/
|
94
|
+
_inputComponent(indexOrName) {
|
95
|
+
const index = typeof indexOrName === "string" ? this._indexFromName(indexOrName) : indexOrName;
|
96
|
+
const entity = this._entities[index].entity;
|
97
|
+
return entity ? this.shadowRoot?.querySelector(`#${this._id}_input_${entity}`) : undefined;
|
98
|
+
}
|
99
|
+
/**
|
100
|
+
* Returns the inner input element DOM reference.
|
101
|
+
*
|
102
|
+
* @param { Input } input the Input component
|
103
|
+
* @returns { HTMLElement } inner input element
|
104
|
+
*/
|
105
|
+
_innerInput(input) {
|
106
|
+
return input && input.getInputDOMRefSync();
|
107
|
+
}
|
108
|
+
/**
|
109
|
+
* Creates clock and button components according to the display format pattern.
|
110
|
+
*/
|
111
|
+
_createComponents() {
|
112
|
+
let value;
|
113
|
+
this._entities = [];
|
114
|
+
this._periods = [];
|
115
|
+
this._componentMap = {
|
116
|
+
hours: -1,
|
117
|
+
minutes: -1,
|
118
|
+
seconds: -1
|
119
|
+
};
|
120
|
+
if (this._hasHoursComponent) {
|
121
|
+
// add Hours input
|
122
|
+
this._componentMap.hours = this._entities.length;
|
123
|
+
value = parseInt(this._hours);
|
124
|
+
this._entities.push({
|
125
|
+
"entity": "hours",
|
126
|
+
"label": this.enterHoursLabel,
|
127
|
+
"value": value,
|
128
|
+
"stringValue": this._editedInput === this._entities.length ? this._editedInputValue : this._formatNumberToString(value, this._zeroPaddedHours),
|
129
|
+
"hasSeparator": this._entities.length > 0,
|
130
|
+
"prependZero": this._zeroPaddedHours,
|
131
|
+
"attributes": {
|
132
|
+
"min": this._hoursConfiguration.minHour,
|
133
|
+
"max": this._hoursConfiguration.maxHour,
|
134
|
+
"step": 1
|
135
|
+
}
|
136
|
+
});
|
137
|
+
}
|
138
|
+
if (this._hasMinutesComponent) {
|
139
|
+
// add Minutes clock
|
140
|
+
this._componentMap.minutes = this._entities.length;
|
141
|
+
value = parseInt(this._minutes);
|
142
|
+
this._entities.push({
|
143
|
+
"entity": "minutes",
|
144
|
+
"label": this.enterMinutesLabel,
|
145
|
+
"value": value,
|
146
|
+
"stringValue": this._editedInput === this._entities.length ? this._editedInputValue : this._formatNumberToString(value, true),
|
147
|
+
"hasSeparator": this._entities.length > 0,
|
148
|
+
"prependZero": true,
|
149
|
+
"attributes": {
|
150
|
+
"min": 0,
|
151
|
+
"max": 59,
|
152
|
+
"step": 1
|
153
|
+
}
|
154
|
+
});
|
155
|
+
}
|
156
|
+
if (this._hasSecondsComponent) {
|
157
|
+
// add Seconds clock
|
158
|
+
this._componentMap.seconds = this._entities.length;
|
159
|
+
value = parseInt(this._seconds);
|
160
|
+
this._entities.push({
|
161
|
+
"entity": "seconds",
|
162
|
+
"label": this.enterSecondsLabel,
|
163
|
+
"value": value,
|
164
|
+
"stringValue": this._editedInput === this._entities.length ? this._editedInputValue : this._formatNumberToString(value, true),
|
165
|
+
"hasSeparator": this._entities.length > 0,
|
166
|
+
"prependZero": true,
|
167
|
+
"attributes": {
|
168
|
+
"min": 0,
|
169
|
+
"max": 59,
|
170
|
+
"step": 1
|
171
|
+
}
|
172
|
+
});
|
173
|
+
}
|
174
|
+
this._createPeriodComponent();
|
175
|
+
}
|
176
|
+
/**
|
177
|
+
* Switches to the specific input.
|
178
|
+
*
|
179
|
+
* @param {number} index the index (in _entities array) of the input
|
180
|
+
* @private
|
181
|
+
*/
|
182
|
+
_switchInput(index) {
|
183
|
+
if (index >= this._entities.length) {
|
184
|
+
index = 0;
|
185
|
+
}
|
186
|
+
this._inputComponent(index).focus();
|
187
|
+
}
|
188
|
+
/**
|
189
|
+
* Switches to the next input that can de focused.
|
190
|
+
*
|
191
|
+
* @param {boolean} wrapAround whether to start with first clock after reaching the last one, or not
|
192
|
+
* @private
|
193
|
+
*/
|
194
|
+
_switchNextInput(wrapAround = false) {
|
195
|
+
let activeInput = this._activeIndex;
|
196
|
+
const startActiveInput = activeInput;
|
197
|
+
if (!this._entities.length) {
|
198
|
+
return;
|
199
|
+
}
|
200
|
+
do {
|
201
|
+
activeInput++;
|
202
|
+
if (activeInput >= this._entities.length) {
|
203
|
+
activeInput = wrapAround ? 0 : this._entities.length - 1;
|
204
|
+
}
|
205
|
+
// false-positive finding of no-unmodified-loop-condition rule
|
206
|
+
// eslint-disable-next-line no-unmodified-loop-condition
|
207
|
+
} while (this._inputComponent(activeInput).disabled && activeInput !== startActiveInput && (wrapAround || activeInput < this._entities.length));
|
208
|
+
if (activeInput !== startActiveInput && !this._inputComponent(activeInput).disabled) {
|
209
|
+
this._switchInput(activeInput);
|
210
|
+
}
|
211
|
+
}
|
212
|
+
/**
|
213
|
+
* Return a value as string, formatted and prepended with zero if necessary.
|
214
|
+
*
|
215
|
+
* @param {number} num A number to format
|
216
|
+
* @param {boolean} prependZero Whether to prepend with zero or not
|
217
|
+
* @param {number} max Max value of the number for this clock
|
218
|
+
* @returns {string} Formatted value
|
219
|
+
* @private
|
220
|
+
*/
|
221
|
+
_formatNumberToString(num, prependZero) {
|
222
|
+
return num < 10 && prependZero ? `0${num}` : num.toString();
|
223
|
+
}
|
224
|
+
_onkeydown(evt) {
|
225
|
+
if (this._activeIndex === -1) {
|
226
|
+
return;
|
227
|
+
}
|
228
|
+
if ((0, _Keys.isEnter)(evt)) {
|
229
|
+
// Accept the time and close the popover
|
230
|
+
this.fireEvent("close-inputs");
|
231
|
+
} else if ((0, _Keys.isNumber)(evt) && this._entities[this._activeIndex]) {
|
232
|
+
const char = evt.key;
|
233
|
+
const buffer = this._keyboardBuffer + char;
|
234
|
+
const bufferValue = parseInt(buffer);
|
235
|
+
evt.preventDefault();
|
236
|
+
this._resetCooldown(true);
|
237
|
+
if (bufferValue > this._entities[this._activeIndex].attributes.max) {
|
238
|
+
// value accumulated in the buffer (old entry + new entry) is greater than the input maximum value,
|
239
|
+
// so assign old entry to the current inut and then switch to the next input, and add new entry as an old value
|
240
|
+
this._inputChange(parseInt(this._keyboardBuffer));
|
241
|
+
this._switchNextInput();
|
242
|
+
this._keyboardBuffer = char;
|
243
|
+
this._inputChange(parseInt(char));
|
244
|
+
this._resetCooldown(true);
|
245
|
+
} else {
|
246
|
+
// value is less than clock's max value, so add new entry to the buffer
|
247
|
+
this._keyboardBuffer = buffer;
|
248
|
+
this._inputChange(parseInt(this._keyboardBuffer));
|
249
|
+
if (this._keyboardBuffer.length === 2 || parseInt(`${this._keyboardBuffer}0`) > this._entities[this._activeIndex].attributes.max) {
|
250
|
+
// if buffer length is 2, or buffer value + one more (any) number is greater than clock's max value
|
251
|
+
// there is no place for more entry - just set buffer as a value, and switch to the next clock
|
252
|
+
this._resetCooldown(this._keyboardBuffer.length !== 2);
|
253
|
+
this._keyboardBuffer = "";
|
254
|
+
this._switchNextInput();
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
/**
|
260
|
+
* Input 'change' event handler.
|
261
|
+
*
|
262
|
+
* @param {value} number new value to set on active input
|
263
|
+
*/
|
264
|
+
_inputChange(value) {
|
265
|
+
const stringValue = this._formatNumberToString(value, this._entities[this._activeIndex].prependZero);
|
266
|
+
if (this._activeIndex === -1) {
|
267
|
+
return;
|
268
|
+
}
|
269
|
+
value = parseInt(stringValue);
|
270
|
+
this._entities[this._activeIndex].value = value;
|
271
|
+
this._inputComponent(this._activeIndex).value = this._formatNumberToString(value, this._entities[this._activeIndex].prependZero);
|
272
|
+
switch (this._activeIndex) {
|
273
|
+
case this._componentMap.hours:
|
274
|
+
this._hoursChange(value);
|
275
|
+
break;
|
276
|
+
case this._componentMap.minutes:
|
277
|
+
this._minutesChange(value);
|
278
|
+
break;
|
279
|
+
case this._componentMap.seconds:
|
280
|
+
this._secondsChange(value);
|
281
|
+
break;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
_onfocusin(e) {
|
285
|
+
const input = e.target;
|
286
|
+
const innerInput = this._innerInput(input);
|
287
|
+
this._editedInput = -1;
|
288
|
+
innerInput.select();
|
289
|
+
this._activeIndex = this._getIndexFromId(input.id);
|
290
|
+
}
|
291
|
+
_onfocusout() {
|
292
|
+
let value = this._inputComponent(this._activeIndex).value === "" ? 0 : this._entities[this._activeIndex].value;
|
293
|
+
this._editedInput = -1;
|
294
|
+
if (this._isHoursInput && !this._is24HoursFormat && value === 0) {
|
295
|
+
value = 12;
|
296
|
+
}
|
297
|
+
this._inputChange(value);
|
298
|
+
this._activeIndex = -1;
|
299
|
+
}
|
300
|
+
_oninput() {
|
301
|
+
const stringValue = this._inputComponent(this._activeIndex).value;
|
302
|
+
const value = stringValue === "" ? 0 : parseInt(stringValue);
|
303
|
+
if (value !== this._entities[this._activeIndex].value) {
|
304
|
+
this._editedInput = this._activeIndex;
|
305
|
+
this._editedInputValue = stringValue;
|
306
|
+
this._inputChange(value);
|
307
|
+
this._keyboardBuffer = stringValue;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
};
|
311
|
+
__decorate([(0, _property.default)({
|
312
|
+
validator: _Integer.default,
|
313
|
+
defaultValue: -1
|
314
|
+
})], TimeSelectionInputs.prototype, "_editedInput", void 0);
|
315
|
+
__decorate([(0, _property.default)()], TimeSelectionInputs.prototype, "_editedInputValue", void 0);
|
316
|
+
TimeSelectionInputs = __decorate([(0, _customElement.default)({
|
317
|
+
tag: "ui5-time-selection-inputs",
|
318
|
+
renderer: _LitRenderer.default,
|
319
|
+
styles: _TimeSelectionInputs.default,
|
320
|
+
template: _TimeSelectionInputsTemplate.default,
|
321
|
+
dependencies: [_Input.default, _SegmentedButton.default]
|
322
|
+
})], TimeSelectionInputs);
|
323
|
+
TimeSelectionInputs.define();
|
324
|
+
var _default = TimeSelectionInputs;
|
325
|
+
_exports.default = _default;
|
326
|
+
});
|
@@ -21,6 +21,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
21
21
|
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;
|
22
22
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
23
23
|
};
|
24
|
+
|
25
|
+
// Template
|
26
|
+
|
27
|
+
// Styles
|
28
|
+
|
24
29
|
/**
|
25
30
|
* @class
|
26
31
|
*
|
@@ -1,4 +1,4 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/util/PopupUtils", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "./types/ToastPlacement", "./generated/templates/ToastTemplate.lit", "./generated/themes/Toast.css"], function (_exports, _Integer, _UI5Element, _LitRenderer, _PopupUtils, _customElement, _property, _ToastPlacement, _ToastTemplate, _Toast) {
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/util/PopupUtils", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "./types/ToastPlacement", "./generated/templates/ToastTemplate.lit", "./generated/themes/Toast.css"], function (_exports, _Integer, _UI5Element, _LitRenderer, _PopupUtils, _Keys, _Device, _customElement, _property, _ToastPlacement, _ToastTemplate, _Toast) {
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
@@ -21,9 +21,36 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
21
21
|
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;
|
22
22
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
23
23
|
};
|
24
|
+
|
25
|
+
// Template
|
26
|
+
|
27
|
+
// Styles
|
28
|
+
|
24
29
|
// Constants
|
25
30
|
const MIN_DURATION = 500;
|
26
31
|
const MAX_DURATION = 1000;
|
32
|
+
const openedToasts = [];
|
33
|
+
let opener;
|
34
|
+
const handleGlobalKeydown = e => {
|
35
|
+
const isCtrl = e.metaKey || !(0, _Device.isMac)() && e.ctrlKey;
|
36
|
+
const isMKey = e.key.toLowerCase() === "m";
|
37
|
+
const isCombinationPressed = isCtrl && e.shiftKey && isMKey;
|
38
|
+
const hasOpenToast = openedToasts.length;
|
39
|
+
if (isCombinationPressed) {
|
40
|
+
e.preventDefault();
|
41
|
+
if (hasOpenToast) {
|
42
|
+
openedToasts[0].focusable = true;
|
43
|
+
if (openedToasts[0].focused) {
|
44
|
+
openedToasts[0].focused = false;
|
45
|
+
opener?.focus();
|
46
|
+
} else {
|
47
|
+
opener = document.activeElement;
|
48
|
+
openedToasts[0].focus();
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
};
|
53
|
+
document.addEventListener("keydown", handleGlobalKeydown);
|
27
54
|
/**
|
28
55
|
* @class
|
29
56
|
*
|
@@ -88,6 +115,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
88
115
|
this._initiateOpening();
|
89
116
|
}
|
90
117
|
}
|
118
|
+
_onfocusin() {
|
119
|
+
if (this.focusable) {
|
120
|
+
this.focused = true;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
_onfocusout() {
|
124
|
+
this.focused = false;
|
125
|
+
}
|
91
126
|
/**
|
92
127
|
* If the minimum duration is lower than 500ms, we force
|
93
128
|
* it to be 500ms, as described in the documentation.
|
@@ -108,7 +143,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
108
143
|
// transition duration (animation).
|
109
144
|
"transition-delay": this.open ? `${this.effectiveDuration - transitionDuration}ms` : "",
|
110
145
|
// We alter the opacity property, in order to trigger transition
|
111
|
-
"opacity": this.open && !this.hover ? "0" : "",
|
146
|
+
"opacity": this.open && !this.hover && !this.focused ? "0" : "",
|
112
147
|
"z-index": (0, _PopupUtils.getNextZIndex)()
|
113
148
|
}
|
114
149
|
};
|
@@ -117,14 +152,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
117
152
|
this.domRendered = true;
|
118
153
|
requestAnimationFrame(() => {
|
119
154
|
this.open = true;
|
155
|
+
openedToasts.pop();
|
156
|
+
openedToasts.push(this);
|
120
157
|
});
|
121
158
|
}
|
122
159
|
_ontransitionend() {
|
123
|
-
if (this.hover) {
|
160
|
+
if (this.hover || this.focused) {
|
124
161
|
return;
|
125
162
|
}
|
126
163
|
this.domRendered = false;
|
127
164
|
this.open = false;
|
165
|
+
this.focusable = false;
|
166
|
+
this.focused = false;
|
167
|
+
openedToasts.pop();
|
128
168
|
}
|
129
169
|
_onmouseover() {
|
130
170
|
this.hover = true;
|
@@ -132,6 +172,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
132
172
|
_onmouseleave() {
|
133
173
|
this.hover = false;
|
134
174
|
}
|
175
|
+
_onkeydown(e) {
|
176
|
+
if ((0, _Keys.isEscape)(e)) {
|
177
|
+
this.focused = false;
|
178
|
+
opener?.focus();
|
179
|
+
}
|
180
|
+
}
|
181
|
+
get _tabindex() {
|
182
|
+
return this.focused ? "0" : "-1";
|
183
|
+
}
|
135
184
|
};
|
136
185
|
__decorate([(0, _property.default)({
|
137
186
|
validator: _Integer.default,
|
@@ -150,6 +199,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/types/Integer", "s
|
|
150
199
|
__decorate([(0, _property.default)({
|
151
200
|
type: Boolean
|
152
201
|
})], Toast.prototype, "domRendered", void 0);
|
202
|
+
__decorate([(0, _property.default)({
|
203
|
+
type: Boolean
|
204
|
+
})], Toast.prototype, "focusable", void 0);
|
205
|
+
__decorate([(0, _property.default)({
|
206
|
+
type: Boolean
|
207
|
+
})], Toast.prototype, "focused", void 0);
|
153
208
|
Toast = __decorate([(0, _customElement.default)({
|
154
209
|
tag: "ui5-toast",
|
155
210
|
renderer: _LitRenderer.default,
|
@@ -18,6 +18,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/decorators/customE
|
|
18
18
|
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;
|
19
19
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
20
20
|
};
|
21
|
+
|
22
|
+
// Styles
|
23
|
+
|
21
24
|
/**
|
22
25
|
* @class
|
23
26
|
*
|
@@ -0,0 +1,72 @@
|
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/types/Integer", "./Button", "./ToggleButton", "./generated/templates/ToggleSpinButtonTemplate.lit"], function (_exports, _customElement, _property, _LitRenderer, _Integer, _Button, _ToggleButton, _ToggleSpinButtonTemplate) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
Object.defineProperty(_exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
_exports.default = void 0;
|
8
|
+
_customElement = _interopRequireDefault(_customElement);
|
9
|
+
_property = _interopRequireDefault(_property);
|
10
|
+
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
11
|
+
_Integer = _interopRequireDefault(_Integer);
|
12
|
+
_Button = _interopRequireDefault(_Button);
|
13
|
+
_ToggleButton = _interopRequireDefault(_ToggleButton);
|
14
|
+
_ToggleSpinButtonTemplate = _interopRequireDefault(_ToggleSpinButtonTemplate);
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
16
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
17
|
+
var c = arguments.length,
|
18
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
19
|
+
d;
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
22
|
+
};
|
23
|
+
|
24
|
+
// Template
|
25
|
+
|
26
|
+
/**
|
27
|
+
* @class
|
28
|
+
*
|
29
|
+
* <h3 class="comment-api-title">Overview</h3>
|
30
|
+
*
|
31
|
+
* <code>ui5-toggle-spin-button</code> is explicitly used in the new design of <code>ui5-time-picker</code>.
|
32
|
+
* It extends <code>ui5-toggle-button</code> with some specific accessibility-related properties in order to
|
33
|
+
* have spin button look and feel from accessibility point of view. This component should not be used separately.
|
34
|
+
*
|
35
|
+
* @constructor
|
36
|
+
* @author SAP SE
|
37
|
+
* @alias sap.ui.webc.main.ToggleSpinButton
|
38
|
+
* @extends sap.ui.webc.base.UI5Element
|
39
|
+
* @abstract
|
40
|
+
* @tagname ui5-toggle-spin-button
|
41
|
+
* @since 1.15.0
|
42
|
+
* @private
|
43
|
+
*/
|
44
|
+
let ToggleSpinButton = class ToggleSpinButton extends _ToggleButton.default {
|
45
|
+
/**
|
46
|
+
* Override of the handler in order to prevent button toggle functionality
|
47
|
+
*/
|
48
|
+
_onclick() {}
|
49
|
+
};
|
50
|
+
__decorate([(0, _property.default)({
|
51
|
+
validator: _Integer.default,
|
52
|
+
defaultValue: -1
|
53
|
+
})], ToggleSpinButton.prototype, "valueMin", void 0);
|
54
|
+
__decorate([(0, _property.default)({
|
55
|
+
validator: _Integer.default,
|
56
|
+
defaultValue: -1
|
57
|
+
})], ToggleSpinButton.prototype, "valueMax", void 0);
|
58
|
+
__decorate([(0, _property.default)({
|
59
|
+
validator: _Integer.default,
|
60
|
+
defaultValue: -1
|
61
|
+
})], ToggleSpinButton.prototype, "valueNow", void 0);
|
62
|
+
__decorate([(0, _property.default)()], ToggleSpinButton.prototype, "valueText", void 0);
|
63
|
+
ToggleSpinButton = __decorate([(0, _customElement.default)({
|
64
|
+
tag: "ui5-toggle-spin-button",
|
65
|
+
renderer: _LitRenderer.default,
|
66
|
+
styles: [_Button.default.styles, _ToggleButton.default.styles],
|
67
|
+
template: _ToggleSpinButtonTemplate.default
|
68
|
+
})], ToggleSpinButton);
|
69
|
+
ToggleSpinButton.define();
|
70
|
+
var _default = ToggleSpinButton;
|
71
|
+
_exports.default = _default;
|
72
|
+
});
|
@@ -23,6 +23,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
23
23
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
24
24
|
};
|
25
25
|
var Token_1;
|
26
|
+
|
27
|
+
// Styles
|
28
|
+
|
26
29
|
/**
|
27
30
|
* @class
|
28
31
|
*
|
@@ -44,8 +47,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
44
47
|
*/
|
45
48
|
let Token = Token_1 = class Token extends _UI5Element.default {
|
46
49
|
_handleSelect() {
|
47
|
-
|
48
|
-
|
50
|
+
if (!this.toBeDeleted) {
|
51
|
+
this.selected = !this.selected;
|
52
|
+
this.fireEvent("select");
|
53
|
+
}
|
49
54
|
}
|
50
55
|
_focusin() {
|
51
56
|
this.focused = true;
|
@@ -53,10 +58,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
53
58
|
_focusout() {
|
54
59
|
this.focused = !this.focused;
|
55
60
|
}
|
56
|
-
_mousedown() {
|
57
|
-
this.toBeDeleted = true;
|
58
|
-
}
|
59
61
|
_delete() {
|
62
|
+
this.toBeDeleted = true;
|
60
63
|
this.fireEvent("delete");
|
61
64
|
}
|
62
65
|
_keydown(e) {
|
@@ -86,6 +89,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
86
89
|
}
|
87
90
|
return "decline";
|
88
91
|
}
|
92
|
+
get textDom() {
|
93
|
+
return this.getDomRef()?.querySelector(".ui5-token--text");
|
94
|
+
}
|
95
|
+
get isTruncatable() {
|
96
|
+
if (!this.textDom) {
|
97
|
+
return false;
|
98
|
+
}
|
99
|
+
return Math.ceil(this.textDom.getBoundingClientRect().width) < Math.ceil(this.textDom.scrollWidth);
|
100
|
+
}
|
89
101
|
static async onDefine() {
|
90
102
|
Token_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
91
103
|
}
|
@@ -100,6 +112,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
100
112
|
__decorate([(0, _property.default)({
|
101
113
|
type: Boolean
|
102
114
|
})], Token.prototype, "overflows", void 0);
|
115
|
+
__decorate([(0, _property.default)({
|
116
|
+
type: Boolean
|
117
|
+
})], Token.prototype, "singleToken", void 0);
|
103
118
|
__decorate([(0, _property.default)({
|
104
119
|
type: Boolean
|
105
120
|
})], Token.prototype, "focused", void 0);
|