@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
@@ -37,6 +37,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
37
37
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
38
38
|
};
|
39
39
|
var Tokenizer_1;
|
40
|
+
|
41
|
+
// Styles
|
42
|
+
|
43
|
+
// reuse suggestions focus styling for NMore popup
|
44
|
+
|
40
45
|
var ClipboardDataOperation;
|
41
46
|
_exports.ClipboardDataOperation = ClipboardDataOperation;
|
42
47
|
(function (ClipboardDataOperation) {
|
@@ -73,6 +78,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
73
78
|
}
|
74
79
|
onBeforeRendering() {
|
75
80
|
this._nMoreCount = this.overflownTokens.length;
|
81
|
+
this._tokensCount = this._getTokens().length;
|
82
|
+
this._tokens.forEach(token => {
|
83
|
+
token.singleToken = this._tokens.length === 1;
|
84
|
+
});
|
85
|
+
if (!this._tokens.length) {
|
86
|
+
this.closeMorePopover();
|
87
|
+
}
|
76
88
|
}
|
77
89
|
onEnterDOM() {
|
78
90
|
_ResizeHandler.default.register(this.contentDom, this._resizeHandler);
|
@@ -80,21 +92,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
80
92
|
onExitDOM() {
|
81
93
|
_ResizeHandler.default.deregister(this.contentDom, this._resizeHandler);
|
82
94
|
}
|
83
|
-
async
|
84
|
-
if (this.
|
85
|
-
|
86
|
-
popover.showAt(this.morePopoverOpener || this);
|
95
|
+
async _openMorePopoverAndFireEvent() {
|
96
|
+
if (!this.preventPopoverOpen) {
|
97
|
+
await this.openMorePopover();
|
87
98
|
}
|
88
99
|
this.fireEvent("show-more-items-press");
|
89
100
|
}
|
101
|
+
async openMorePopover() {
|
102
|
+
(await this.getPopover()).showAt(this.morePopoverOpener || this);
|
103
|
+
}
|
90
104
|
_getTokens() {
|
91
105
|
return this.getSlottedNodes("tokens");
|
92
106
|
}
|
93
107
|
get _tokens() {
|
94
108
|
return this.getSlottedNodes("tokens");
|
95
109
|
}
|
96
|
-
|
97
|
-
|
110
|
+
_onmousedown(e) {
|
111
|
+
if (e.target.hasAttribute("ui5-token")) {
|
112
|
+
const target = e.target;
|
113
|
+
if (!target.toBeDeleted) {
|
114
|
+
this._itemNav.setCurrentItem(target);
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
onTokenSelect() {
|
119
|
+
const tokens = this._getTokens();
|
120
|
+
if (tokens.length === 1 && tokens[0].isTruncatable) {
|
121
|
+
if (tokens[0].selected) {
|
122
|
+
this.openMorePopover();
|
123
|
+
} else {
|
124
|
+
this.closeMorePopover();
|
125
|
+
}
|
126
|
+
}
|
98
127
|
}
|
99
128
|
_getVisibleTokens() {
|
100
129
|
if (this.disabled) {
|
@@ -105,7 +134,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
105
134
|
});
|
106
135
|
}
|
107
136
|
async onAfterRendering() {
|
108
|
-
if (
|
137
|
+
if (!this._getTokens().length) {
|
109
138
|
const popover = await this.getPopover();
|
110
139
|
popover.close();
|
111
140
|
}
|
@@ -123,6 +152,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
123
152
|
if (!e.detail) {
|
124
153
|
// if there are no details, the event is triggered by a click
|
125
154
|
this._tokenClickDelete(e, target);
|
155
|
+
if (this._getTokens().length) {
|
156
|
+
this.closeMorePopover();
|
157
|
+
}
|
126
158
|
return;
|
127
159
|
}
|
128
160
|
if (this._selectedTokens.length) {
|
@@ -183,11 +215,34 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
183
215
|
ref: token
|
184
216
|
});
|
185
217
|
}
|
186
|
-
itemDelete(e) {
|
218
|
+
async itemDelete(e) {
|
187
219
|
const token = e.detail.item.tokenRef;
|
188
|
-
|
189
|
-
|
190
|
-
|
220
|
+
// delay the token deletion in order to close the popover before removing token of the DOM
|
221
|
+
if (this._getTokens().length === 1 && this._getTokens()[0].isTruncatable) {
|
222
|
+
const morePopover = await this.getPopover();
|
223
|
+
morePopover.addEventListener("ui5-after-close", () => {
|
224
|
+
this.fireEvent("token-delete", {
|
225
|
+
ref: token
|
226
|
+
});
|
227
|
+
}, {
|
228
|
+
once: true
|
229
|
+
});
|
230
|
+
morePopover.close();
|
231
|
+
} else {
|
232
|
+
this.fireEvent("token-delete", {
|
233
|
+
ref: token
|
234
|
+
});
|
235
|
+
}
|
236
|
+
}
|
237
|
+
handleBeforeClose() {
|
238
|
+
if ((0, _Device.isPhone)()) {
|
239
|
+
this._getTokens().forEach(token => {
|
240
|
+
token.selected = false;
|
241
|
+
});
|
242
|
+
}
|
243
|
+
}
|
244
|
+
handleBeforeOpen() {
|
245
|
+
this.fireEvent("before-more-popover-open");
|
191
246
|
}
|
192
247
|
_onkeydown(e) {
|
193
248
|
if ((0, _Keys.isSpaceShift)(e)) {
|
@@ -299,15 +354,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
299
354
|
_click(e) {
|
300
355
|
this._handleTokenSelection(e);
|
301
356
|
}
|
302
|
-
_onmousedown(e) {
|
303
|
-
if (e.target.hasAttribute("ui5-token")) {
|
304
|
-
const target = e.target;
|
305
|
-
if (!target.toBeDeleted) {
|
306
|
-
this._itemNav.setCurrentItem(target);
|
307
|
-
this._scrollToToken(target);
|
308
|
-
}
|
309
|
-
}
|
310
|
-
}
|
311
357
|
_toggleTokenSelection(tokens) {
|
312
358
|
if (!tokens || !tokens.length) {
|
313
359
|
return;
|
@@ -380,11 +426,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
380
426
|
}
|
381
427
|
}
|
382
428
|
async closeMorePopover() {
|
383
|
-
|
384
|
-
popover.close();
|
429
|
+
(await this.getPopover()).close(false, false, true);
|
385
430
|
}
|
386
431
|
get _nMoreText() {
|
387
|
-
|
432
|
+
if (this._getVisibleTokens().length) {
|
433
|
+
return Tokenizer_1.i18nBundle.getText(_i18nDefaults.MULTIINPUT_SHOW_MORE_TOKENS, this._nMoreCount);
|
434
|
+
}
|
435
|
+
return Tokenizer_1.i18nBundle.getText(_i18nDefaults.TOKENIZER_SHOW_ALL_ITEMS, this._nMoreCount);
|
388
436
|
}
|
389
437
|
get showNMore() {
|
390
438
|
return !this.expanded && this.showMore && !!this.overflownTokens.length;
|
@@ -417,10 +465,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
417
465
|
return this._getTokens().filter(token => {
|
418
466
|
const parentRect = this.contentDom.getBoundingClientRect();
|
419
467
|
const tokenRect = token.getBoundingClientRect();
|
420
|
-
const tokenEnd = tokenRect.right;
|
421
|
-
const parentEnd = parentRect.right;
|
422
|
-
const tokenStart = tokenRect.left;
|
423
|
-
const parentStart = parentRect.left;
|
468
|
+
const tokenEnd = Number(tokenRect.right.toFixed(2));
|
469
|
+
const parentEnd = Number(parentRect.right.toFixed(2));
|
470
|
+
const tokenStart = Number(tokenRect.left.toFixed(2));
|
471
|
+
const parentStart = Number(parentRect.left.toFixed(2));
|
424
472
|
token.overflows = !this.expanded && (tokenStart < parentStart || tokenEnd > parentEnd);
|
425
473
|
return token.overflows;
|
426
474
|
});
|
@@ -463,7 +511,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
463
511
|
},
|
464
512
|
popoverValueState: {
|
465
513
|
"ui5-valuestatemessage-root": true,
|
466
|
-
"ui5-responsive-popover-header":
|
514
|
+
"ui5-responsive-popover-header": true,
|
467
515
|
"ui5-valuestatemessage--success": this.valueState === _ValueState.default.Success,
|
468
516
|
"ui5-valuestatemessage--error": this.valueState === _ValueState.default.Error,
|
469
517
|
"ui5-valuestatemessage--warning": this.valueState === _ValueState.default.Warning,
|
@@ -523,6 +571,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
523
571
|
__decorate([(0, _property.default)({
|
524
572
|
type: Boolean
|
525
573
|
})], Tokenizer.prototype, "disabled", void 0);
|
574
|
+
__decorate([(0, _property.default)({
|
575
|
+
type: Boolean
|
576
|
+
})], Tokenizer.prototype, "preventPopoverOpen", void 0);
|
526
577
|
__decorate([(0, _property.default)({
|
527
578
|
type: Boolean
|
528
579
|
})], Tokenizer.prototype, "expanded", void 0);
|
@@ -539,6 +590,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
539
590
|
__decorate([(0, _property.default)({
|
540
591
|
validator: _Integer.default
|
541
592
|
})], Tokenizer.prototype, "_nMoreCount", void 0);
|
593
|
+
__decorate([(0, _property.default)({
|
594
|
+
validator: _Integer.default
|
595
|
+
})], Tokenizer.prototype, "_tokensCount", void 0);
|
542
596
|
__decorate([(0, _slot.default)({
|
543
597
|
type: HTMLElement,
|
544
598
|
"default": true,
|
@@ -566,6 +620,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
566
620
|
type: HTMLElement
|
567
621
|
}
|
568
622
|
}
|
623
|
+
}), (0, _event.default)("before-more-popover-open", {
|
624
|
+
detail: {}
|
569
625
|
})], Tokenizer);
|
570
626
|
Tokenizer.define();
|
571
627
|
var _default = Tokenizer;
|
@@ -0,0 +1,454 @@
|
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/renderer/executeTemplate", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/icons/overflow", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/base/CustomElementsScope", "./generated/i18n/i18n-defaults", "./generated/templates/ToolbarTemplate.lit", "./generated/themes/Toolbar.css", "./generated/templates/ToolbarPopoverTemplate.lit", "./generated/themes/ToolbarPopover.css", "./types/ToolbarAlign", "./types/ToolbarItemOverflowBehavior", "./types/HasPopup", "./ToolbarRegistry", "./Button", "./Popover"], function (_exports, _UI5Element, _slot, _property, _customElement, _executeTemplate, _LitRenderer, _Render, _ResizeHandler, _AriaLabelHelper, _Integer, _overflow, _i18nBundle, _CustomElementsScope, _i18nDefaults, _ToolbarTemplate, _Toolbar, _ToolbarPopoverTemplate, _ToolbarPopover, _ToolbarAlign, _ToolbarItemOverflowBehavior, _HasPopup, _ToolbarRegistry, _Button, _Popover) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
Object.defineProperty(_exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
_exports.default = void 0;
|
8
|
+
_UI5Element = _interopRequireDefault(_UI5Element);
|
9
|
+
_slot = _interopRequireDefault(_slot);
|
10
|
+
_property = _interopRequireDefault(_property);
|
11
|
+
_customElement = _interopRequireDefault(_customElement);
|
12
|
+
_executeTemplate = _interopRequireDefault(_executeTemplate);
|
13
|
+
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
14
|
+
_ResizeHandler = _interopRequireDefault(_ResizeHandler);
|
15
|
+
_Integer = _interopRequireDefault(_Integer);
|
16
|
+
_ToolbarTemplate = _interopRequireDefault(_ToolbarTemplate);
|
17
|
+
_Toolbar = _interopRequireDefault(_Toolbar);
|
18
|
+
_ToolbarPopoverTemplate = _interopRequireDefault(_ToolbarPopoverTemplate);
|
19
|
+
_ToolbarPopover = _interopRequireDefault(_ToolbarPopover);
|
20
|
+
_ToolbarAlign = _interopRequireDefault(_ToolbarAlign);
|
21
|
+
_ToolbarItemOverflowBehavior = _interopRequireDefault(_ToolbarItemOverflowBehavior);
|
22
|
+
_HasPopup = _interopRequireDefault(_HasPopup);
|
23
|
+
_Button = _interopRequireDefault(_Button);
|
24
|
+
_Popover = _interopRequireDefault(_Popover);
|
25
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
26
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
27
|
+
var c = arguments.length,
|
28
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
29
|
+
d;
|
30
|
+
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;
|
31
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
32
|
+
};
|
33
|
+
var Toolbar_1;
|
34
|
+
function calculateCSSREMValue(styleSet, propertyName) {
|
35
|
+
return Number(styleSet.getPropertyValue(propertyName).replace("rem", "")) * parseInt(getComputedStyle(document.body).getPropertyValue("font-size"));
|
36
|
+
}
|
37
|
+
function parsePxValue(styleSet, propertyName) {
|
38
|
+
return Number(styleSet.getPropertyValue(propertyName).replace("px", ""));
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* @class
|
42
|
+
*
|
43
|
+
* <h3 class="comment-api-title">Overview</h3>
|
44
|
+
*
|
45
|
+
* The <code>ui5-toolbar</code> component is used to create a horizontal layout with items.
|
46
|
+
* The items can be overflowing in a popover, when the space is not enough to show all of them.
|
47
|
+
*
|
48
|
+
* <h3>Keyboard Handling</h3>
|
49
|
+
* The <code>ui5-toolbar</code> provides advanced keyboard handling.
|
50
|
+
* <br>
|
51
|
+
* <ul>
|
52
|
+
* <li>The control is not interactive, but can contain of interactive elements </li>
|
53
|
+
* <li>[TAB] - iterates through elements</li>
|
54
|
+
* </ul>
|
55
|
+
* <br>
|
56
|
+
*
|
57
|
+
* <h3>ES6 Module Import</h3>
|
58
|
+
* <code>import "@ui5/webcomponents/dist/Toolbar";</code>
|
59
|
+
* @constructor
|
60
|
+
* @author SAP SE
|
61
|
+
* @alias sap.ui.webc.main.Toolbar
|
62
|
+
* @extends sap.ui.webc.base.UI5Element
|
63
|
+
* @tagname ui5-toolbar
|
64
|
+
* @appenddocs sap.ui.webc.main.ToolbarButton sap.ui.webc.main.ToolbarSelect sap.ui.webc.main.ToolbarSelectOption sap.ui.webc.main.ToolbarSeparator sap.ui.webc.main.ToolbarSpacer
|
65
|
+
* @public
|
66
|
+
* @since 1.17.0
|
67
|
+
*/
|
68
|
+
let Toolbar = Toolbar_1 = class Toolbar extends _UI5Element.default {
|
69
|
+
static get styles() {
|
70
|
+
const styles = (0, _ToolbarRegistry.getRegisteredStyles)();
|
71
|
+
return [_Toolbar.default, ...styles];
|
72
|
+
}
|
73
|
+
static get staticAreaStyles() {
|
74
|
+
const styles = (0, _ToolbarRegistry.getRegisteredStaticAreaStyles)();
|
75
|
+
return [_ToolbarPopover.default, ...styles];
|
76
|
+
}
|
77
|
+
static get dependencies() {
|
78
|
+
const deps = (0, _ToolbarRegistry.getRegisteredDependencies)();
|
79
|
+
return [_Popover.default, _Button.default, ...deps];
|
80
|
+
}
|
81
|
+
static async onDefine() {
|
82
|
+
Toolbar_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
83
|
+
}
|
84
|
+
constructor() {
|
85
|
+
super();
|
86
|
+
this.itemsToOverflow = [];
|
87
|
+
this.itemsWidth = 0;
|
88
|
+
this.popoverOpen = false;
|
89
|
+
this.itemsWidthMeasured = false;
|
90
|
+
this.ITEMS_WIDTH_MAP = new Map();
|
91
|
+
this._onResize = this.onResize.bind(this);
|
92
|
+
this._onInteract = e => this.onInteract(e);
|
93
|
+
}
|
94
|
+
/**
|
95
|
+
* Read-only members
|
96
|
+
*/
|
97
|
+
get overflowButtonSize() {
|
98
|
+
return this.overflowButtonDOM?.getBoundingClientRect().width || 0;
|
99
|
+
}
|
100
|
+
get padding() {
|
101
|
+
const toolbarComputedStyle = getComputedStyle(this.getDomRef());
|
102
|
+
return calculateCSSREMValue(toolbarComputedStyle, (0, _CustomElementsScope.getScopedVarName)("--_ui5-toolbar-padding-left")) + calculateCSSREMValue(toolbarComputedStyle, (0, _CustomElementsScope.getScopedVarName)("--_ui5-toolbar-padding-right"));
|
103
|
+
}
|
104
|
+
get subscribedEvents() {
|
105
|
+
return this.items.map(item => Array.from(item.subscribedEvents.keys())).flat()
|
106
|
+
// remove duplicates
|
107
|
+
.filter((value, index, self) => self.indexOf(value) === index);
|
108
|
+
}
|
109
|
+
get alwaysOverflowItems() {
|
110
|
+
return this.items.filter(item => item.overflowPriority === _ToolbarItemOverflowBehavior.default.AlwaysOverflow);
|
111
|
+
}
|
112
|
+
get movableItems() {
|
113
|
+
return this.items.filter(item => item.overflowPriority !== _ToolbarItemOverflowBehavior.default.AlwaysOverflow && item.overflowPriority !== _ToolbarItemOverflowBehavior.default.NeverOverflow);
|
114
|
+
}
|
115
|
+
get overflowItems() {
|
116
|
+
// spacers are ignored
|
117
|
+
const overflowItems = this.getItemsInfo(this.itemsToOverflow.filter(item => !item.ignoreSpace));
|
118
|
+
return this.reverseOverflow ? overflowItems.reverse() : overflowItems;
|
119
|
+
}
|
120
|
+
get standardItems() {
|
121
|
+
return this.getItemsInfo(this.items.filter(item => this.itemsToOverflow.indexOf(item) === -1));
|
122
|
+
}
|
123
|
+
get hideOverflowButton() {
|
124
|
+
return this.itemsToOverflow.filter(item => !(item.ignoreSpace || item.isSeparator)).length === 0;
|
125
|
+
}
|
126
|
+
get classes() {
|
127
|
+
return {
|
128
|
+
items: {
|
129
|
+
"ui5-tb-items": true,
|
130
|
+
"ui5-tb-items-full-width": this.hasFlexibleSpacers
|
131
|
+
},
|
132
|
+
overflow: {
|
133
|
+
"ui5-overflow-list--alignleft": this.hasItemWithText
|
134
|
+
},
|
135
|
+
overflowButton: {
|
136
|
+
"ui5-tb-item": true,
|
137
|
+
"ui5-tb-overflow-btn": true,
|
138
|
+
"ui5-tb-overflow-btn-hidden": this.hideOverflowButton
|
139
|
+
}
|
140
|
+
};
|
141
|
+
}
|
142
|
+
get interactiveItemsCount() {
|
143
|
+
return this.items.filter(item => item.isInteractive).length;
|
144
|
+
}
|
145
|
+
/**
|
146
|
+
* Accessibility
|
147
|
+
*/
|
148
|
+
get hasAriaSemantics() {
|
149
|
+
return this.interactiveItemsCount > 1;
|
150
|
+
}
|
151
|
+
get accessibleRole() {
|
152
|
+
return this.hasAriaSemantics ? "toolbar" : undefined;
|
153
|
+
}
|
154
|
+
get ariaLabelText() {
|
155
|
+
return this.hasAriaSemantics ? (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this) : undefined;
|
156
|
+
}
|
157
|
+
get accInfo() {
|
158
|
+
return {
|
159
|
+
root: {
|
160
|
+
role: this.accessibleRole,
|
161
|
+
accessibleName: this.ariaLabelText
|
162
|
+
},
|
163
|
+
overflowButton: {
|
164
|
+
accessibleName: Toolbar_1.i18nBundle.getText(_i18nDefaults.TOOLBAR_OVERFLOW_BUTTON_ARIA_LABEL),
|
165
|
+
tooltip: Toolbar_1.i18nBundle.getText(_i18nDefaults.TOOLBAR_OVERFLOW_BUTTON_ARIA_LABEL),
|
166
|
+
accessibilityAttributes: {
|
167
|
+
expanded: this.overflowButtonDOM?.accessibilityAttributes.expanded,
|
168
|
+
hasPopup: _HasPopup.default.Menu
|
169
|
+
}
|
170
|
+
}
|
171
|
+
};
|
172
|
+
}
|
173
|
+
/**
|
174
|
+
* Toolbar Overflow Popover
|
175
|
+
*/
|
176
|
+
get overflowButtonDOM() {
|
177
|
+
return this.shadowRoot.querySelector(".ui5-tb-overflow-btn");
|
178
|
+
}
|
179
|
+
get itemsDOM() {
|
180
|
+
return this.shadowRoot.querySelector(".ui5-tb-items");
|
181
|
+
}
|
182
|
+
get hasItemWithText() {
|
183
|
+
return this.itemsToOverflow.some(item => item.containsText);
|
184
|
+
}
|
185
|
+
get hasFlexibleSpacers() {
|
186
|
+
return this.items.some(item => item.hasFlexibleWidth);
|
187
|
+
}
|
188
|
+
/**
|
189
|
+
* Lifecycle methods
|
190
|
+
*/
|
191
|
+
onEnterDOM() {
|
192
|
+
_ResizeHandler.default.register(this, this._onResize);
|
193
|
+
}
|
194
|
+
onExitDOM() {
|
195
|
+
_ResizeHandler.default.deregister(this, this._onResize);
|
196
|
+
}
|
197
|
+
onInvalidation(changeInfo) {
|
198
|
+
if (changeInfo.reason === "childchange" && changeInfo.child === this.itemsToOverflow[0]) {
|
199
|
+
this.onToolbarItemChange();
|
200
|
+
}
|
201
|
+
}
|
202
|
+
onBeforeRendering() {
|
203
|
+
this.detachListeners();
|
204
|
+
this.attachListeners();
|
205
|
+
}
|
206
|
+
async onAfterRendering() {
|
207
|
+
await (0, _Render.renderFinished)();
|
208
|
+
this.storeItemsWidth();
|
209
|
+
this.processOverflowLayout();
|
210
|
+
}
|
211
|
+
/**
|
212
|
+
* Returns if the overflow popup is open.
|
213
|
+
*
|
214
|
+
* @public
|
215
|
+
* @return { Promise<Boolean> }
|
216
|
+
*/
|
217
|
+
async isOverflowOpen() {
|
218
|
+
const overflowPopover = await this.getOverflowPopover();
|
219
|
+
return overflowPopover.isOpen();
|
220
|
+
}
|
221
|
+
async openOverflow() {
|
222
|
+
const overflowPopover = await this.getOverflowPopover();
|
223
|
+
overflowPopover.showAt(this.overflowButtonDOM);
|
224
|
+
this.reverseOverflow = overflowPopover.actualPlacementType === "Top";
|
225
|
+
}
|
226
|
+
async closeOverflow() {
|
227
|
+
const overflowPopover = await this.getOverflowPopover();
|
228
|
+
overflowPopover.close();
|
229
|
+
}
|
230
|
+
toggleOverflow() {
|
231
|
+
if (this.popoverOpen) {
|
232
|
+
this.closeOverflow();
|
233
|
+
} else {
|
234
|
+
this.openOverflow();
|
235
|
+
}
|
236
|
+
}
|
237
|
+
async getOverflowPopover() {
|
238
|
+
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
239
|
+
return staticAreaItem.querySelector(".ui5-overflow-popover");
|
240
|
+
}
|
241
|
+
/**
|
242
|
+
* Layout management
|
243
|
+
*/
|
244
|
+
processOverflowLayout() {
|
245
|
+
const containerWidth = this.offsetWidth - this.padding;
|
246
|
+
const contentWidth = this.itemsWidth;
|
247
|
+
const overflowSpace = contentWidth - containerWidth + this.overflowButtonSize;
|
248
|
+
// skip calculation if the width has not been changed or if the items width has not been changed
|
249
|
+
if (this.width === containerWidth && this.contentWidth === contentWidth) {
|
250
|
+
return;
|
251
|
+
}
|
252
|
+
this.distributeItems(overflowSpace);
|
253
|
+
this.width = containerWidth;
|
254
|
+
this.contentWidth = contentWidth;
|
255
|
+
}
|
256
|
+
storeItemsWidth() {
|
257
|
+
let totalWidth = 0;
|
258
|
+
this.items.forEach(item => {
|
259
|
+
const itemWidth = this.getItemWidth(item);
|
260
|
+
totalWidth += itemWidth;
|
261
|
+
this.ITEMS_WIDTH_MAP.set(item._id, itemWidth);
|
262
|
+
});
|
263
|
+
this.itemsWidth = totalWidth;
|
264
|
+
}
|
265
|
+
distributeItems(overflowSpace = 0) {
|
266
|
+
const movableItems = this.movableItems.reverse();
|
267
|
+
let index = 0;
|
268
|
+
let currentItem = movableItems[index];
|
269
|
+
this.itemsToOverflow = [];
|
270
|
+
// distribute items that always overflow
|
271
|
+
this.distributeItemsThatAlwaysOverflow();
|
272
|
+
while (overflowSpace > 0 && currentItem) {
|
273
|
+
this.itemsToOverflow.unshift(currentItem);
|
274
|
+
overflowSpace -= this.getCachedItemWidth(currentItem?._id) || 0;
|
275
|
+
index++;
|
276
|
+
currentItem = movableItems[index];
|
277
|
+
}
|
278
|
+
// If the last bar item is a spacer, force it to the overflow even if there is enough space for it
|
279
|
+
if (index < movableItems.length) {
|
280
|
+
let lastItem = movableItems[index];
|
281
|
+
while (index <= movableItems.length - 1 && lastItem.isSeparator) {
|
282
|
+
this.itemsToOverflow.unshift(lastItem);
|
283
|
+
index++;
|
284
|
+
lastItem = movableItems[index];
|
285
|
+
}
|
286
|
+
}
|
287
|
+
this.setSeperatorsVisibilityInOverflow();
|
288
|
+
}
|
289
|
+
distributeItemsThatAlwaysOverflow() {
|
290
|
+
this.alwaysOverflowItems.forEach(item => {
|
291
|
+
this.itemsToOverflow.push(item);
|
292
|
+
});
|
293
|
+
}
|
294
|
+
setSeperatorsVisibilityInOverflow() {
|
295
|
+
this.itemsToOverflow.forEach((item, idx, items) => {
|
296
|
+
if (item.isSeparator) {
|
297
|
+
item.visible = this.shouldShowSeparatorInOverflow(idx, items);
|
298
|
+
}
|
299
|
+
});
|
300
|
+
}
|
301
|
+
shouldShowSeparatorInOverflow(separatorIdx, overflowItems) {
|
302
|
+
let foundPrevNonSeparatorItem = false;
|
303
|
+
let foundNextNonSeperatorItem = false;
|
304
|
+
// search for non-separator item before and after the seperator
|
305
|
+
overflowItems.forEach((item, idx) => {
|
306
|
+
if (idx < separatorIdx && !item.isSeparator) {
|
307
|
+
foundPrevNonSeparatorItem = true;
|
308
|
+
}
|
309
|
+
if (idx > separatorIdx && !item.isSeparator) {
|
310
|
+
foundNextNonSeperatorItem = true;
|
311
|
+
}
|
312
|
+
});
|
313
|
+
return foundPrevNonSeparatorItem && foundNextNonSeperatorItem;
|
314
|
+
}
|
315
|
+
/**
|
316
|
+
* Event Handlers
|
317
|
+
*/
|
318
|
+
onOverflowPopoverClosed() {
|
319
|
+
this.popoverOpen = false;
|
320
|
+
if (this.overflowButtonDOM) {
|
321
|
+
this.overflowButtonDOM.accessibilityAttributes.expanded = "false";
|
322
|
+
}
|
323
|
+
}
|
324
|
+
onOverflowPopoverOpened() {
|
325
|
+
this.popoverOpen = true;
|
326
|
+
if (this.overflowButtonDOM) {
|
327
|
+
this.overflowButtonDOM.accessibilityAttributes.expanded = "true";
|
328
|
+
}
|
329
|
+
}
|
330
|
+
onResize() {
|
331
|
+
if (!this.itemsWidth) {
|
332
|
+
return;
|
333
|
+
}
|
334
|
+
this.closeOverflow();
|
335
|
+
this.processOverflowLayout();
|
336
|
+
}
|
337
|
+
onInteract(e) {
|
338
|
+
const target = e.target;
|
339
|
+
const item = target.closest(".ui5-tb-item") || target.closest(".ui5-tb-popover-item");
|
340
|
+
const eventType = e.type;
|
341
|
+
if (target === this.overflowButtonDOM) {
|
342
|
+
this.toggleOverflow();
|
343
|
+
return;
|
344
|
+
}
|
345
|
+
if (!item) {
|
346
|
+
return;
|
347
|
+
}
|
348
|
+
const refItemId = target.getAttribute("data-ui5-external-action-item-id");
|
349
|
+
if (refItemId) {
|
350
|
+
const abstractItem = this.getItemByID(refItemId);
|
351
|
+
const prevented = !abstractItem?.fireEvent(eventType, e.detail, true);
|
352
|
+
const eventOptions = abstractItem?.subscribedEvents.get(eventType);
|
353
|
+
if (prevented || abstractItem?.preventOverflowClosing || eventOptions?.preventClosing) {
|
354
|
+
return;
|
355
|
+
}
|
356
|
+
this.closeOverflow();
|
357
|
+
}
|
358
|
+
}
|
359
|
+
/**
|
360
|
+
* Private members
|
361
|
+
*/
|
362
|
+
async attachListeners() {
|
363
|
+
const popover = await this.getOverflowPopover();
|
364
|
+
this.subscribedEvents.forEach(e => {
|
365
|
+
this.itemsDOM?.addEventListener(e, this._onInteract);
|
366
|
+
popover?.addEventListener(e, this._onInteract);
|
367
|
+
});
|
368
|
+
}
|
369
|
+
async detachListeners() {
|
370
|
+
const popover = await this.getOverflowPopover();
|
371
|
+
this.subscribedEvents.forEach(e => {
|
372
|
+
this.itemsDOM?.removeEventListener(e, this._onInteract);
|
373
|
+
popover?.removeEventListener(e, this._onInteract);
|
374
|
+
});
|
375
|
+
}
|
376
|
+
onToolbarItemChange() {
|
377
|
+
// some items were updated reset the cache and trigger a re-render
|
378
|
+
this.itemsToOverflow = [];
|
379
|
+
this.contentWidth = 0; // re-render
|
380
|
+
}
|
381
|
+
|
382
|
+
getItemsInfo(items) {
|
383
|
+
return items.map(item => {
|
384
|
+
const ElementClass = (0, _ToolbarRegistry.getRegisteredToolbarItem)(item.constructor.name);
|
385
|
+
if (!ElementClass) {
|
386
|
+
return null;
|
387
|
+
}
|
388
|
+
const toolbarItem = {
|
389
|
+
toolbarTemplate: (0, _executeTemplate.default)(ElementClass.toolbarTemplate, item),
|
390
|
+
toolbarPopoverTemplate: (0, _executeTemplate.default)(ElementClass.toolbarPopoverTemplate, item)
|
391
|
+
};
|
392
|
+
return toolbarItem;
|
393
|
+
});
|
394
|
+
}
|
395
|
+
getItemWidth(item) {
|
396
|
+
// Spacer width - always 0 for flexible spacers, so that they shrink, otherwise - measure the width normally
|
397
|
+
if (item.ignoreSpace || item.isSeparator) {
|
398
|
+
return 0;
|
399
|
+
}
|
400
|
+
const id = item._id;
|
401
|
+
// Measure rendered width for spacers with width, and for normal items
|
402
|
+
const renderedItem = this.getRegisteredToolbarItemByID(id);
|
403
|
+
let itemWidth = 0;
|
404
|
+
if (renderedItem) {
|
405
|
+
const ItemCSSStyleSet = getComputedStyle(renderedItem);
|
406
|
+
itemWidth = renderedItem.offsetWidth + parsePxValue(ItemCSSStyleSet, "margin-inline-end") + parsePxValue(ItemCSSStyleSet, "margin-inline-start");
|
407
|
+
} else {
|
408
|
+
itemWidth = this.getCachedItemWidth(id) || 0;
|
409
|
+
}
|
410
|
+
return Math.ceil(itemWidth);
|
411
|
+
}
|
412
|
+
getCachedItemWidth(id) {
|
413
|
+
return this.ITEMS_WIDTH_MAP.get(id);
|
414
|
+
}
|
415
|
+
getItemByID(id) {
|
416
|
+
return this.items.find(item => item._id === id);
|
417
|
+
}
|
418
|
+
getRegisteredToolbarItemByID(id) {
|
419
|
+
return this.itemsDOM.querySelector(`[data-ui5-external-action-item-id="${id}"]`);
|
420
|
+
}
|
421
|
+
};
|
422
|
+
__decorate([(0, _property.default)({
|
423
|
+
type: _ToolbarAlign.default,
|
424
|
+
defaultValue: _ToolbarAlign.default.End
|
425
|
+
})], Toolbar.prototype, "alignContent", void 0);
|
426
|
+
__decorate([(0, _property.default)({
|
427
|
+
type: _Integer.default
|
428
|
+
})], Toolbar.prototype, "width", void 0);
|
429
|
+
__decorate([(0, _property.default)({
|
430
|
+
type: _Integer.default
|
431
|
+
})], Toolbar.prototype, "contentWidth", void 0);
|
432
|
+
__decorate([(0, _property.default)({
|
433
|
+
type: Boolean
|
434
|
+
})], Toolbar.prototype, "reverseOverflow", void 0);
|
435
|
+
__decorate([(0, _property.default)()], Toolbar.prototype, "accessibleName", void 0);
|
436
|
+
__decorate([(0, _property.default)({
|
437
|
+
defaultValue: ""
|
438
|
+
})], Toolbar.prototype, "accessibleNameRef", void 0);
|
439
|
+
__decorate([(0, _slot.default)({
|
440
|
+
"default": true,
|
441
|
+
type: HTMLElement,
|
442
|
+
invalidateOnChildChange: true
|
443
|
+
})], Toolbar.prototype, "items", void 0);
|
444
|
+
Toolbar = Toolbar_1 = __decorate([(0, _customElement.default)({
|
445
|
+
tag: "ui5-toolbar",
|
446
|
+
languageAware: true,
|
447
|
+
renderer: _LitRenderer.default,
|
448
|
+
template: _ToolbarTemplate.default,
|
449
|
+
staticAreaTemplate: _ToolbarPopoverTemplate.default
|
450
|
+
})], Toolbar);
|
451
|
+
Toolbar.define();
|
452
|
+
var _default = Toolbar;
|
453
|
+
_exports.default = _default;
|
454
|
+
});
|