@openui5/sap.ui.webc.main 1.115.0 → 1.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +23 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
- package/src/sap/ui/webc/main/Badge.js +2 -2
- package/src/sap/ui/webc/main/Breadcrumbs.js +1 -1
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +3 -3
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
- package/src/sap/ui/webc/main/Button.js +4 -3
- package/src/sap/ui/webc/main/Calendar.js +6 -2
- package/src/sap/ui/webc/main/CalendarDate.js +2 -2
- package/src/sap/ui/webc/main/Card.js +3 -7
- package/src/sap/ui/webc/main/CardHeader.js +7 -2
- package/src/sap/ui/webc/main/Carousel.js +49 -4
- package/src/sap/ui/webc/main/CheckBox.js +14 -4
- package/src/sap/ui/webc/main/ColorPalette.js +1 -1
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +1 -1
- package/src/sap/ui/webc/main/ColorPicker.js +1 -1
- package/src/sap/ui/webc/main/ComboBox.js +11 -8
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +19 -3
- package/src/sap/ui/webc/main/DatePicker.js +7 -2
- package/src/sap/ui/webc/main/DateRangePicker.js +9 -3
- package/src/sap/ui/webc/main/DateTimePicker.js +8 -3
- package/src/sap/ui/webc/main/Dialog.js +37 -6
- package/src/sap/ui/webc/main/FileUploader.js +1 -1
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +42 -2
- package/src/sap/ui/webc/main/Input.js +2 -2
- package/src/sap/ui/webc/main/Label.js +7 -3
- package/src/sap/ui/webc/main/Link.js +12 -2
- package/src/sap/ui/webc/main/List.js +2 -1
- package/src/sap/ui/webc/main/Menu.js +87 -3
- package/src/sap/ui/webc/main/MenuItem.js +34 -1
- package/src/sap/ui/webc/main/MessageStrip.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBox.js +8 -7
- package/src/sap/ui/webc/main/MultiComboBoxGroupItem.js +1 -1
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +4 -4
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +3 -3
- package/src/sap/ui/webc/main/Popover.js +18 -4
- package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
- package/src/sap/ui/webc/main/RadioButton.js +17 -1
- package/src/sap/ui/webc/main/RangeSlider.js +12 -2
- package/src/sap/ui/webc/main/RatingIndicator.js +2 -2
- package/src/sap/ui/webc/main/ResponsivePopover.js +18 -4
- package/src/sap/ui/webc/main/SegmentedButton.js +40 -5
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +4 -3
- package/src/sap/ui/webc/main/Select.js +20 -4
- package/src/sap/ui/webc/main/Slider.js +2 -2
- package/src/sap/ui/webc/main/SplitButton.js +7 -7
- package/src/sap/ui/webc/main/StandardListItem.js +31 -4
- package/src/sap/ui/webc/main/StepInput.js +2 -2
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +1 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
- package/src/sap/ui/webc/main/Switch.js +2 -2
- package/src/sap/ui/webc/main/Tab.js +3 -3
- package/src/sap/ui/webc/main/TabContainer.js +40 -4
- package/src/sap/ui/webc/main/TabSeparator.js +10 -2
- package/src/sap/ui/webc/main/Table.js +2 -2
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +21 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +1 -1
- package/src/sap/ui/webc/main/TableRow.js +9 -1
- package/src/sap/ui/webc/main/TextArea.js +2 -3
- package/src/sap/ui/webc/main/TimePicker.js +31 -3
- package/src/sap/ui/webc/main/Title.js +1 -1
- package/src/sap/ui/webc/main/Toast.js +1 -1
- package/src/sap/ui/webc/main/ToggleButton.js +4 -3
- package/src/sap/ui/webc/main/Token.js +6 -4
- package/src/sap/ui/webc/main/Tree.js +31 -2
- package/src/sap/ui/webc/main/TreeItem.js +63 -10
- package/src/sap/ui/webc/main/TreeItemCustom.js +205 -0
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +1 -1
- package/src/sap/ui/webc/main/library.js +348 -70
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +130 -232
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +109 -184
- package/src/sap/ui/webc/main/thirdparty/Badge.js +40 -86
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +152 -202
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +27 -78
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +46 -115
- package/src/sap/ui/webc/main/thirdparty/Button.js +123 -287
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +146 -197
- package/src/sap/ui/webc/main/thirdparty/CalendarDate.js +16 -26
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +78 -113
- package/src/sap/ui/webc/main/thirdparty/CalendarPart.js +16 -27
- package/src/sap/ui/webc/main/thirdparty/Card.js +43 -92
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +69 -129
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +167 -229
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +103 -244
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +122 -173
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +41 -77
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +62 -105
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +138 -244
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +297 -419
- package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +20 -41
- package/src/sap/ui/webc/main/thirdparty/ComboBoxItem.js +30 -37
- package/src/sap/ui/webc/main/thirdparty/CustomListItem.js +33 -54
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +59 -76
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +207 -334
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +56 -72
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +63 -111
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +147 -212
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +162 -183
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +101 -242
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +25 -58
- package/src/sap/ui/webc/main/thirdparty/Icon.js +103 -193
- package/src/sap/ui/webc/main/thirdparty/Input.js +453 -717
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +51 -61
- package/src/sap/ui/webc/main/thirdparty/Label.js +49 -108
- package/src/sap/ui/webc/main/thirdparty/Link.js +104 -247
- package/src/sap/ui/webc/main/thirdparty/List.js +303 -468
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +126 -166
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +64 -104
- package/src/sap/ui/webc/main/thirdparty/Menu.js +264 -200
- package/src/sap/ui/webc/main/thirdparty/MenuItem.js +66 -117
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +70 -141
- package/src/sap/ui/webc/main/thirdparty/MonthPicker.js +100 -103
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +381 -496
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxGroupItem.js +20 -34
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +19 -26
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +127 -137
- package/src/sap/ui/webc/main/thirdparty/Option.js +40 -107
- package/src/sap/ui/webc/main/thirdparty/Panel.js +102 -214
- package/src/sap/ui/webc/main/thirdparty/Popover.js +141 -274
- package/src/sap/ui/webc/main/thirdparty/Popup.js +155 -250
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +41 -109
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +111 -263
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +32 -13
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +208 -208
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +79 -146
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +70 -81
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +141 -126
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +41 -73
- package/src/sap/ui/webc/main/thirdparty/Select.js +186 -285
- package/src/sap/ui/webc/main/thirdparty/Slider.js +84 -80
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +151 -326
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +111 -240
- package/src/sap/ui/webc/main/thirdparty/StandardListItem.js +50 -142
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +137 -309
- package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +22 -35
- package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +37 -114
- package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +29 -37
- package/src/sap/ui/webc/main/thirdparty/Switch.js +63 -146
- package/src/sap/ui/webc/main/thirdparty/Tab.js +126 -168
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +344 -453
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +35 -26
- package/src/sap/ui/webc/main/thirdparty/Table.js +319 -489
- package/src/sap/ui/webc/main/thirdparty/TableCell.js +41 -50
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +38 -88
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +50 -90
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +137 -174
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +162 -358
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +24 -52
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +116 -159
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +121 -167
- package/src/sap/ui/webc/main/thirdparty/Title.js +38 -71
- package/src/sap/ui/webc/main/thirdparty/Toast.js +41 -110
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +25 -39
- package/src/sap/ui/webc/main/thirdparty/Token.js +86 -143
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +256 -202
- package/src/sap/ui/webc/main/thirdparty/Tree.js +227 -302
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +42 -156
- package/src/sap/ui/webc/main/thirdparty/TreeItemBase.js +256 -0
- package/src/sap/ui/webc/main/thirdparty/TreeItemCustom.js +80 -0
- package/src/sap/ui/webc/main/thirdparty/TreeList.js +51 -0
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +75 -120
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +135 -124
- package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/FormComponents.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Menu.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +3 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RangeSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSemanticIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +2 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/custom-elements.json.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/InputElementsFormSupport.js +25 -10
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -72
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +108 -23
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +15 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +57 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +36 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +16 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +63 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +48 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MenuTemplate.lit.js +33 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +72 -24
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +21 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +33 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +13 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +30 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +39 -13
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +51 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +27 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SplitButtonTemplate.lit.js +6 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +78 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +87 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +18 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +24 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +36 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +33 -10
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +15 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +21 -7
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +18 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemBaseTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemCustomTemplate.lit.js +72 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeItemTemplate.lit.js +78 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +12 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FormComponents.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Menu.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBoxPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RangeSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSemanticIcon.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeItem.css.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +16 -1
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +36 -21
- package/src/sap/ui/webc/main/thirdparty/timepicker-utils/TimeSlider.js +6 -3
- package/src/sap/ui/webc/main/thirdparty/types/AvatarColorScheme.js +21 -34
- package/src/sap/ui/webc/main/thirdparty/types/AvatarGroupType.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/AvatarShape.js +11 -24
- package/src/sap/ui/webc/main/thirdparty/types/AvatarSize.js +19 -32
- package/src/sap/ui/webc/main/thirdparty/types/BackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/BorderDesign.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/BusyIndicatorSize.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/CalendarPickersMode.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/CalendarSelectionMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/CarouselArrowsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/CarouselPageIndicatorStyle.js +35 -0
- package/src/sap/ui/webc/main/thirdparty/types/ComboBoxFilter.js +46 -0
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +14 -27
- package/src/sap/ui/webc/main/thirdparty/types/IconDesign.js +70 -0
- package/src/sap/ui/webc/main/thirdparty/types/InputType.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/LinkDesign.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/ListItemType.js +19 -25
- package/src/sap/ui/webc/main/thirdparty/types/ListMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/ListSeparators.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/MessageStripDesign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PanelAccessibleRole.js +19 -28
- package/src/sap/ui/webc/main/thirdparty/types/PopoverHorizontalAlign.js +18 -30
- package/src/sap/ui/webc/main/thirdparty/types/PopoverPlacementType.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopoverVerticalAlign.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/PopupAccessibleRole.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/Priority.js +13 -26
- package/src/sap/ui/webc/main/thirdparty/types/SegmentedButtonMode.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/SemanticColor.js +15 -27
- package/src/sap/ui/webc/main/thirdparty/types/SwitchDesign.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerBackgroundDesign.js +40 -0
- package/src/sap/ui/webc/main/thirdparty/types/TabContainerTabsPlacement.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabLayout.js +14 -26
- package/src/sap/ui/webc/main/thirdparty/types/TableColumnPopinDisplay.js +34 -0
- package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +17 -29
- package/src/sap/ui/webc/main/thirdparty/types/TableMode.js +13 -25
- package/src/sap/ui/webc/main/thirdparty/types/TableRowType.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +12 -24
- package/src/sap/ui/webc/main/thirdparty/types/TitleLevel.js +16 -28
- package/src/sap/ui/webc/main/thirdparty/types/ToastPlacement.js +28 -40
- package/src/sap/ui/webc/main/thirdparty/types/WrappingType.js +11 -24
- package/ui5.yaml +15 -2
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +0 -300
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +0 -316
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +0 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +0 -27
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +0 -19
- package/src/sap/ui/webc/main/thirdparty/types/GrowingMode.js +0 -53
@@ -1,4 +1,4 @@
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/multiselect-all", "sap/ui/webc/common/thirdparty/icons/not-editable", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "./MultiComboBoxItem", "./MultiComboBoxGroupItem", "./Tokenizer", "./Token", "./Icon", "./Popover", "./ResponsivePopover", "./List", "./StandardListItem", "./ToggleButton", "./Filters", "./Button", "./generated/i18n/i18n-defaults", "./generated/templates/MultiComboBoxTemplate.lit", "./generated/templates/MultiComboBoxPopoverTemplate.lit", "./generated/themes/MultiComboBox.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css", "./generated/themes/MultiComboBoxPopover.css"], function (_exports, _UI5Element, _LitRenderer, _ResizeHandler, _ValueState, _Keys, _Integer, _slimArrowDown, _Device, _i18nBundle, _decline, _multiselectAll, _notEditable, _error, _alert, _sysEnter, _information, _FeaturesRegistry, _AriaLabelHelper, _MultiComboBoxItem, _MultiComboBoxGroupItem, _Tokenizer, _Token, _Icon, _Popover, _ResponsivePopover, _List, _StandardListItem, _ToggleButton, Filters, _Button, _i18nDefaults, _MultiComboBoxTemplate, _MultiComboBoxPopoverTemplate, _MultiComboBox, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions, _MultiComboBoxPopover) {
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/icons/slim-arrow-down", "sap/ui/webc/common/thirdparty/base/Device", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/common/thirdparty/icons/decline", "sap/ui/webc/common/thirdparty/icons/multiselect-all", "sap/ui/webc/common/thirdparty/icons/not-editable", "sap/ui/webc/common/thirdparty/icons/error", "sap/ui/webc/common/thirdparty/icons/alert", "sap/ui/webc/common/thirdparty/icons/sys-enter-2", "sap/ui/webc/common/thirdparty/icons/information", "sap/ui/webc/common/thirdparty/base/FeaturesRegistry", "sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper", "./MultiComboBoxItem", "./MultiComboBoxGroupItem", "./GroupHeaderListItem", "./Tokenizer", "./Token", "./Icon", "./Popover", "./ResponsivePopover", "./List", "./StandardListItem", "./ToggleButton", "./Filters", "./Button", "./generated/i18n/i18n-defaults", "./generated/templates/MultiComboBoxTemplate.lit", "./generated/templates/MultiComboBoxPopoverTemplate.lit", "./generated/themes/MultiComboBox.css", "./generated/themes/ResponsivePopoverCommon.css", "./generated/themes/ValueStateMessage.css", "./generated/themes/Suggestions.css", "./generated/themes/MultiComboBoxPopover.css", "./types/ComboBoxFilter"], function (_exports, _UI5Element, _customElement, _property, _slot, _event, _LitRenderer, _ResizeHandler, _ValueState, _Keys, _Integer, _slimArrowDown, _Device, _i18nBundle, _decline, _multiselectAll, _notEditable, _error, _alert, _sysEnter, _information, _FeaturesRegistry, _AriaLabelHelper, _MultiComboBoxItem, _MultiComboBoxGroupItem, _GroupHeaderListItem, _Tokenizer, _Token, _Icon, _Popover, _ResponsivePopover, _List, _StandardListItem, _ToggleButton, Filters, _Button, _i18nDefaults, _MultiComboBoxTemplate, _MultiComboBoxPopoverTemplate, _MultiComboBox, _ResponsivePopoverCommon, _ValueStateMessage, _Suggestions, _MultiComboBoxPopover, _ComboBoxFilter) {
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
@@ -6,13 +6,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
6
6
|
});
|
7
7
|
_exports.default = void 0;
|
8
8
|
_UI5Element = _interopRequireDefault(_UI5Element);
|
9
|
+
_customElement = _interopRequireDefault(_customElement);
|
10
|
+
_property = _interopRequireDefault(_property);
|
11
|
+
_slot = _interopRequireDefault(_slot);
|
12
|
+
_event = _interopRequireDefault(_event);
|
9
13
|
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
10
14
|
_ResizeHandler = _interopRequireDefault(_ResizeHandler);
|
11
15
|
_ValueState = _interopRequireDefault(_ValueState);
|
12
16
|
_Integer = _interopRequireDefault(_Integer);
|
13
17
|
_MultiComboBoxItem = _interopRequireDefault(_MultiComboBoxItem);
|
14
18
|
_MultiComboBoxGroupItem = _interopRequireDefault(_MultiComboBoxGroupItem);
|
15
|
-
|
19
|
+
_GroupHeaderListItem = _interopRequireDefault(_GroupHeaderListItem);
|
20
|
+
_Tokenizer = _interopRequireWildcard(_Tokenizer);
|
16
21
|
_Token = _interopRequireDefault(_Token);
|
17
22
|
_Icon = _interopRequireDefault(_Icon);
|
18
23
|
_Popover = _interopRequireDefault(_Popover);
|
@@ -29,281 +34,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
29
34
|
_ValueStateMessage = _interopRequireDefault(_ValueStateMessage);
|
30
35
|
_Suggestions = _interopRequireDefault(_Suggestions);
|
31
36
|
_MultiComboBoxPopover = _interopRequireDefault(_MultiComboBoxPopover);
|
37
|
+
_ComboBoxFilter = _interopRequireDefault(_ComboBoxFilter);
|
32
38
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
33
39
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
34
40
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
*/
|
42
|
-
const metadata = {
|
43
|
-
tag: "ui5-multi-combobox",
|
44
|
-
languageAware: true,
|
45
|
-
managedSlots: true,
|
46
|
-
slots: /** @lends sap.ui.webcomponents.main.MultiComboBox.prototype */{
|
47
|
-
/**
|
48
|
-
* Defines the component items.
|
49
|
-
*
|
50
|
-
* @type {sap.ui.webcomponents.main.IMultiComboBoxItem[]}
|
51
|
-
* @slot items
|
52
|
-
* @public
|
53
|
-
*/
|
54
|
-
"default": {
|
55
|
-
propertyName: "items",
|
56
|
-
type: HTMLElement,
|
57
|
-
invalidateOnChildChange: true
|
58
|
-
},
|
59
|
-
/**
|
60
|
-
* Defines the icon to be displayed in the component.
|
61
|
-
*
|
62
|
-
* @type {sap.ui.webcomponents.main.IIcon}
|
63
|
-
* @slot
|
64
|
-
* @public
|
65
|
-
* @since 1.0.0-rc.9
|
66
|
-
*/
|
67
|
-
icon: {
|
68
|
-
type: HTMLElement
|
69
|
-
},
|
70
|
-
/**
|
71
|
-
* Defines the value state message that will be displayed as pop up under the component.
|
72
|
-
* <br><br>
|
73
|
-
*
|
74
|
-
* <b>Note:</b> If not specified, a default text (in the respective language) will be displayed.
|
75
|
-
* <br>
|
76
|
-
* <b>Note:</b> The <code>valueStateMessage</code> would be displayed,
|
77
|
-
* when the component is in <code>Information</code>, <code>Warning</code> or <code>Error</code> value state.
|
78
|
-
* @type {HTMLElement[]}
|
79
|
-
* @since 1.0.0-rc.9
|
80
|
-
* @slot
|
81
|
-
* @public
|
82
|
-
*/
|
83
|
-
valueStateMessage: {
|
84
|
-
type: HTMLElement
|
85
|
-
}
|
86
|
-
},
|
87
|
-
properties: /** @lends sap.ui.webcomponents.main.MultiComboBox.prototype */{
|
88
|
-
/**
|
89
|
-
* Defines the value of the component.
|
90
|
-
* <br><br>
|
91
|
-
* <b>Note:</b> The property is updated upon typing.
|
92
|
-
*
|
93
|
-
* @type {string}
|
94
|
-
* @defaultvalue ""
|
95
|
-
* @public
|
96
|
-
*/
|
97
|
-
value: {
|
98
|
-
type: String,
|
99
|
-
defaultValue: ""
|
100
|
-
},
|
101
|
-
/**
|
102
|
-
* Defines whether the value will be autcompleted to match an item
|
103
|
-
*
|
104
|
-
* @type {boolean}
|
105
|
-
* @defaultvalue false
|
106
|
-
* @public
|
107
|
-
* @since 1.4.0
|
108
|
-
*/
|
109
|
-
noTypeahead: {
|
110
|
-
type: Boolean
|
111
|
-
},
|
112
|
-
/**
|
113
|
-
* Defines a short hint intended to aid the user with data entry when the
|
114
|
-
* component has no value.
|
115
|
-
* @type {string}
|
116
|
-
* @defaultvalue ""
|
117
|
-
* @public
|
118
|
-
*/
|
119
|
-
placeholder: {
|
120
|
-
type: String,
|
121
|
-
defaultValue: ""
|
122
|
-
},
|
123
|
-
/**
|
124
|
-
* Defines if the user input will be prevented, if no matching item has been found
|
125
|
-
*
|
126
|
-
* @type {boolean}
|
127
|
-
* @defaultvalue false
|
128
|
-
* @public
|
129
|
-
*/
|
130
|
-
allowCustomValues: {
|
131
|
-
type: Boolean
|
132
|
-
},
|
133
|
-
/**
|
134
|
-
* Defines whether the component is in disabled state.
|
135
|
-
* <br><br>
|
136
|
-
* <b>Note:</b> A disabled component is completely noninteractive.
|
137
|
-
*
|
138
|
-
* @type {boolean}
|
139
|
-
* @defaultvalue false
|
140
|
-
* @public
|
141
|
-
*/
|
142
|
-
disabled: {
|
143
|
-
type: Boolean
|
144
|
-
},
|
145
|
-
/**
|
146
|
-
* Defines the value state of the component.
|
147
|
-
* <br><br>
|
148
|
-
* Available options are:
|
149
|
-
* <ul>
|
150
|
-
* <li><code>None</code></li>
|
151
|
-
* <li><code>Error</code></li>
|
152
|
-
* <li><code>Warning</code></li>
|
153
|
-
* <li><code>Success</code></li>
|
154
|
-
* <li><code>Information</code></li>
|
155
|
-
* </ul>
|
156
|
-
*
|
157
|
-
* @type {ValueState}
|
158
|
-
* @defaultvalue "None"
|
159
|
-
* @public
|
160
|
-
*/
|
161
|
-
valueState: {
|
162
|
-
type: _ValueState.default,
|
163
|
-
defaultValue: _ValueState.default.None
|
164
|
-
},
|
165
|
-
/**
|
166
|
-
* Defines whether the component is read-only.
|
167
|
-
* <br><br>
|
168
|
-
* <b>Note:</b> A read-only component is not editable,
|
169
|
-
* but still provides visual feedback upon user interaction.
|
170
|
-
*
|
171
|
-
* @type {boolean}
|
172
|
-
* @defaultvalue false
|
173
|
-
* @public
|
174
|
-
*/
|
175
|
-
readonly: {
|
176
|
-
type: Boolean
|
177
|
-
},
|
178
|
-
/**
|
179
|
-
* Defines whether the component is required.
|
180
|
-
*
|
181
|
-
* @type {boolean}
|
182
|
-
* @defaultvalue false
|
183
|
-
* @public
|
184
|
-
* @since 1.0.0-rc.5
|
185
|
-
*/
|
186
|
-
required: {
|
187
|
-
type: Boolean
|
188
|
-
},
|
189
|
-
/**
|
190
|
-
* Defines the filter type of the component.
|
191
|
-
* Available options are: <code>StartsWithPerTerm</code>, <code>StartsWith</code>, <code>Contains</code> and <code>None</code>.
|
192
|
-
*
|
193
|
-
* @type {string}
|
194
|
-
* @defaultvalue "StartsWithPerTerm"
|
195
|
-
* @public
|
196
|
-
*/
|
197
|
-
filter: {
|
198
|
-
type: String,
|
199
|
-
defaultValue: "StartsWithPerTerm"
|
200
|
-
},
|
201
|
-
/**
|
202
|
-
* Indicates whether the dropdown is open. True if the dropdown is open, false otherwise.
|
203
|
-
*
|
204
|
-
* @type {boolean}
|
205
|
-
* @defaultvalue false
|
206
|
-
* @readonly
|
207
|
-
* @since 1.0.0-rc.5
|
208
|
-
* @public
|
209
|
-
*/
|
210
|
-
open: {
|
211
|
-
type: Boolean
|
212
|
-
},
|
213
|
-
/**
|
214
|
-
* Defines the accessible aria name of the component.
|
215
|
-
*
|
216
|
-
* @type {string}
|
217
|
-
* @defaultvalue: ""
|
218
|
-
* @public
|
219
|
-
* @since 1.4.0
|
220
|
-
*/
|
221
|
-
accessibleName: {
|
222
|
-
type: String,
|
223
|
-
defaultValue: undefined
|
224
|
-
},
|
225
|
-
/**
|
226
|
-
* Receives id(or many ids) of the elements that label the component.
|
227
|
-
*
|
228
|
-
* @type {string}
|
229
|
-
* @defaultvalue ""
|
230
|
-
* @public
|
231
|
-
* @since 1.4.0
|
232
|
-
*/
|
233
|
-
accessibleNameRef: {
|
234
|
-
type: String,
|
235
|
-
defaultValue: ""
|
236
|
-
},
|
237
|
-
_filteredItems: {
|
238
|
-
type: Object
|
239
|
-
},
|
240
|
-
filterSelected: {
|
241
|
-
type: Boolean
|
242
|
-
},
|
243
|
-
focused: {
|
244
|
-
type: Boolean
|
245
|
-
},
|
246
|
-
_tokenizerFocused: {
|
247
|
-
type: Boolean
|
248
|
-
},
|
249
|
-
_iconPressed: {
|
250
|
-
type: Boolean,
|
251
|
-
noAttribute: true
|
252
|
-
},
|
253
|
-
_inputWidth: {
|
254
|
-
type: _Integer.default,
|
255
|
-
noAttribute: true
|
256
|
-
},
|
257
|
-
_listWidth: {
|
258
|
-
type: _Integer.default,
|
259
|
-
defaultValue: 0,
|
260
|
-
noAttribute: true
|
261
|
-
},
|
262
|
-
_performingSelectionTwice: {
|
263
|
-
type: Boolean
|
264
|
-
}
|
265
|
-
},
|
266
|
-
events: /** @lends sap.ui.webcomponents.main.MultiComboBox.prototype */{
|
267
|
-
/**
|
268
|
-
* Fired when the input operation has finished by pressing Enter or on focusout.
|
269
|
-
*
|
270
|
-
* @event
|
271
|
-
* @public
|
272
|
-
*/
|
273
|
-
change: {},
|
274
|
-
/**
|
275
|
-
* Fired when the value of the component changes at each keystroke.
|
276
|
-
*
|
277
|
-
* @event
|
278
|
-
* @public
|
279
|
-
*/
|
280
|
-
input: {},
|
281
|
-
/**
|
282
|
-
* Fired when the dropdown is opened or closed.
|
283
|
-
*
|
284
|
-
* @event sap.ui.webcomponents.main.MultiComboBox#open-change
|
285
|
-
* @since 1.0.0-rc.5
|
286
|
-
* @public
|
287
|
-
*/
|
288
|
-
"open-change": {},
|
289
|
-
/**
|
290
|
-
* Fired when selection is changed by user interaction
|
291
|
-
* in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
|
292
|
-
*
|
293
|
-
* @event sap.ui.webcomponents.main.MultiComboBox#selection-change
|
294
|
-
* @param {Array} items an array of the selected items.
|
295
|
-
* @public
|
296
|
-
*/
|
297
|
-
"selection-change": {
|
298
|
-
detail: {
|
299
|
-
items: {
|
300
|
-
type: Array
|
301
|
-
}
|
302
|
-
}
|
303
|
-
}
|
304
|
-
}
|
41
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
42
|
+
var c = arguments.length,
|
43
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
44
|
+
d;
|
45
|
+
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;
|
46
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
305
47
|
};
|
306
|
-
|
48
|
+
var MultiComboBox_1;
|
307
49
|
/**
|
308
50
|
* @class
|
309
51
|
*
|
@@ -316,8 +58,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
316
58
|
* <h3>Structure</h3>
|
317
59
|
* The <code>ui5-multi-combobox</code> consists of the following elements:
|
318
60
|
* <ul>
|
319
|
-
* <li> Tokenizer - a list of tokens with selected options
|
320
|
-
* <li> Input field - displays the selected option/s as token/s. Users can type to filter the list
|
61
|
+
* <li> Tokenizer - a list of tokens with selected options.</li>
|
62
|
+
* <li> Input field - displays the selected option/s as token/s. Users can type to filter the list.</li>
|
321
63
|
* <li> Drop-down arrow - expands\collapses the option list.</li>
|
322
64
|
* <li> Option list - the list of available options.</li>
|
323
65
|
* </ul>
|
@@ -355,45 +97,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
355
97
|
*
|
356
98
|
* @constructor
|
357
99
|
* @author SAP SE
|
358
|
-
* @alias sap.ui.
|
359
|
-
* @extends UI5Element
|
100
|
+
* @alias sap.ui.webc.main.MultiComboBox
|
101
|
+
* @extends sap.ui.webc.base.UI5Element
|
360
102
|
* @tagname ui5-multi-combobox
|
361
103
|
* @public
|
362
|
-
* @appenddocs MultiComboBoxItem MultiComboBoxGroupItem
|
104
|
+
* @appenddocs sap.ui.webc.main.MultiComboBoxItem sap.ui.webc.main.MultiComboBoxGroupItem
|
363
105
|
* @since 0.11.0
|
364
106
|
*/
|
365
|
-
class MultiComboBox extends _UI5Element.default {
|
366
|
-
static get metadata() {
|
367
|
-
return metadata;
|
368
|
-
}
|
369
|
-
static get render() {
|
370
|
-
return _LitRenderer.default;
|
371
|
-
}
|
372
|
-
static get template() {
|
373
|
-
return _MultiComboBoxTemplate.default;
|
374
|
-
}
|
375
|
-
static get staticAreaTemplate() {
|
376
|
-
return _MultiComboBoxPopoverTemplate.default;
|
377
|
-
}
|
378
|
-
static get styles() {
|
379
|
-
return _MultiComboBox.default;
|
380
|
-
}
|
381
|
-
static get staticAreaStyles() {
|
382
|
-
return [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _Suggestions.default, _MultiComboBoxPopover.default];
|
383
|
-
}
|
384
|
-
static get dependencies() {
|
385
|
-
return [_MultiComboBoxItem.default, _MultiComboBoxGroupItem.default, _Tokenizer.default, _Token.default, _Icon.default, _ResponsivePopover.default, _Popover.default, _List.default, _StandardListItem.default, _ToggleButton.default, _Button.default];
|
386
|
-
}
|
107
|
+
let MultiComboBox = MultiComboBox_1 = class MultiComboBox extends _UI5Element.default {
|
387
108
|
constructor() {
|
388
109
|
super();
|
389
110
|
this._filteredItems = [];
|
390
111
|
this.selectedValues = [];
|
112
|
+
this._itemsBeforeOpen = [];
|
391
113
|
this._inputLastValue = "";
|
392
114
|
this._valueBeforeOpen = "";
|
393
115
|
this._deleting = false;
|
394
116
|
this._validationTimeout = null;
|
395
117
|
this._handleResizeBound = this._handleResize.bind(this);
|
396
118
|
this.valueBeforeAutoComplete = "";
|
119
|
+
this._lastValue = "";
|
397
120
|
this.currentItemIdx = -1;
|
398
121
|
this.FormSupport = undefined;
|
399
122
|
}
|
@@ -410,21 +133,21 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
410
133
|
this.fireEvent("change");
|
411
134
|
}
|
412
135
|
togglePopover() {
|
413
|
-
this.allItemsPopover
|
136
|
+
this.allItemsPopover?.toggle(this);
|
414
137
|
}
|
415
138
|
togglePopoverByDropdownIcon() {
|
416
139
|
this._shouldFilterItems = false;
|
417
|
-
this.allItemsPopover
|
140
|
+
this.allItemsPopover?.toggle(this);
|
418
141
|
}
|
419
142
|
_showFilteredItems() {
|
420
143
|
this.filterSelected = true;
|
421
144
|
this._showMorePressed = true;
|
422
145
|
this.togglePopover();
|
423
146
|
}
|
424
|
-
filterSelectedItems(
|
425
|
-
this.filterSelected =
|
147
|
+
filterSelectedItems(e) {
|
148
|
+
this.filterSelected = e.target.pressed;
|
426
149
|
const selectedItems = this._filteredItems.filter(item => item.selected);
|
427
|
-
this.selectedItems = this.items.filter((item, idx, allItems) =>
|
150
|
+
this.selectedItems = this.items.filter((item, idx, allItems) => MultiComboBox_1._groupItemFilter(item, ++idx, allItems, selectedItems) || selectedItems.indexOf(item) !== -1);
|
428
151
|
}
|
429
152
|
get _showAllItemsButtonPressed() {
|
430
153
|
return this.filterSelected;
|
@@ -432,8 +155,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
432
155
|
get _inputDom() {
|
433
156
|
return this.shadowRoot.querySelector("#ui5-multi-combobox-input");
|
434
157
|
}
|
435
|
-
_inputLiveChange(
|
436
|
-
const input =
|
158
|
+
_inputLiveChange(e) {
|
159
|
+
const input = e.target;
|
437
160
|
const value = input.value;
|
438
161
|
const filteredItems = this._filterItems(value);
|
439
162
|
const oldValueState = this.valueState;
|
@@ -447,7 +170,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
447
170
|
}
|
448
171
|
if (!filteredItems.length && value && !this.allowCustomValues) {
|
449
172
|
input.value = this.valueBeforeAutoComplete || this._inputLastValue;
|
450
|
-
this.valueState =
|
173
|
+
this.valueState = _ValueState.default.Error;
|
451
174
|
this._shouldAutocomplete = false;
|
452
175
|
this._resetValueState(oldValueState);
|
453
176
|
return;
|
@@ -457,18 +180,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
457
180
|
this._filteredItems = filteredItems;
|
458
181
|
if (!(0, _Device.isPhone)()) {
|
459
182
|
if (filteredItems.length === 0) {
|
460
|
-
this.allItemsPopover
|
183
|
+
this.allItemsPopover?.close();
|
461
184
|
} else {
|
462
|
-
this.allItemsPopover
|
185
|
+
this.allItemsPopover?.showAt(this);
|
463
186
|
}
|
464
187
|
}
|
465
188
|
this.fireEvent("input");
|
466
189
|
}
|
467
|
-
_tokenDelete(
|
468
|
-
const token =
|
190
|
+
_tokenDelete(e) {
|
191
|
+
const token = e.detail.ref;
|
469
192
|
const deletingItem = this.items.find(item => item._id === token.getAttribute("data-ui5-id"));
|
470
193
|
deletingItem.selected = false;
|
471
194
|
this._deleting = true;
|
195
|
+
this._preventTokenizerToggle = true;
|
472
196
|
this.fireSelectionChange();
|
473
197
|
}
|
474
198
|
get _getPlaceholder() {
|
@@ -478,28 +202,30 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
478
202
|
return this.placeholder;
|
479
203
|
}
|
480
204
|
_handleArrowLeft() {
|
481
|
-
const
|
482
|
-
const
|
205
|
+
const inputDomRef = this._inputDom;
|
206
|
+
const cursorPosition = inputDomRef.selectionStart || 0;
|
207
|
+
const isTextSelected = (inputDomRef.selectionEnd || 0) - cursorPosition > 0;
|
483
208
|
if (cursorPosition === 0 && !isTextSelected) {
|
484
209
|
this._tokenizer._focusLastToken();
|
485
210
|
}
|
486
211
|
}
|
487
|
-
_tokenizerFocusOut(
|
212
|
+
_tokenizerFocusOut(e) {
|
488
213
|
this._tokenizerFocused = false;
|
489
214
|
const tokensCount = this._tokenizer.tokens.length;
|
490
215
|
const selectedTokens = this._selectedTokensCount;
|
491
216
|
const lastTokenBeingDeleted = tokensCount - 1 === 0 && this._deleting;
|
492
217
|
const allTokensAreBeingDeleted = selectedTokens === tokensCount && this._deleting;
|
493
|
-
|
218
|
+
const relatedTarget = e.relatedTarget;
|
219
|
+
if (!relatedTarget || !relatedTarget.hasAttribute("ui5-token")) {
|
494
220
|
this._tokenizer.tokens.forEach(token => {
|
495
221
|
token.selected = false;
|
496
222
|
});
|
497
|
-
this._tokenizer.
|
223
|
+
this._tokenizer.expanded = this._preventTokenizerToggle ? this._tokenizer.expanded : false;
|
498
224
|
}
|
499
225
|
if (allTokensAreBeingDeleted || lastTokenBeingDeleted) {
|
500
226
|
setTimeout(() => {
|
501
227
|
if (!(0, _Device.isPhone)()) {
|
502
|
-
this.
|
228
|
+
this._inputDom.focus();
|
503
229
|
}
|
504
230
|
this._deleting = false;
|
505
231
|
}, 0);
|
@@ -509,41 +235,45 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
509
235
|
this._tokenizerFocused = true;
|
510
236
|
this.focused = false;
|
511
237
|
}
|
512
|
-
|
513
|
-
const isArrowDownCtrl = (0, _Keys.isDownCtrl)(
|
514
|
-
if ((0, _Keys.isShow)(
|
515
|
-
this._handleShow(
|
238
|
+
_onkeydown(e) {
|
239
|
+
const isArrowDownCtrl = (0, _Keys.isDownCtrl)(e);
|
240
|
+
if ((0, _Keys.isShow)(e) && !this.disabled) {
|
241
|
+
this._handleShow(e);
|
516
242
|
return;
|
517
243
|
}
|
518
|
-
if ((0, _Keys.isDownShift)(
|
519
|
-
|
244
|
+
if ((0, _Keys.isDownShift)(e) || (0, _Keys.isUpShift)(e)) {
|
245
|
+
e.preventDefault();
|
520
246
|
return;
|
521
247
|
}
|
522
|
-
if ((0, _Keys.isUp)(
|
523
|
-
this._handleArrowNavigation(
|
248
|
+
if ((0, _Keys.isUp)(e) || (0, _Keys.isDown)(e) || (0, _Keys.isUpCtrl)(e) || isArrowDownCtrl) {
|
249
|
+
this._handleArrowNavigation(e, isArrowDownCtrl);
|
524
250
|
return;
|
525
251
|
}
|
526
|
-
|
527
252
|
// CTRL + Arrow Down navigation is performed by the ItemNavigation module of the List,
|
528
253
|
// here we only implement the text selection of the selected item
|
529
|
-
if (isArrowDownCtrl && !this.allItemsPopover
|
254
|
+
if (isArrowDownCtrl && !this.allItemsPopover?.opened) {
|
530
255
|
setTimeout(() => this._inputDom.setSelectionRange(0, this._inputDom.value.length), 0);
|
531
256
|
}
|
532
|
-
if ((0, _Keys.isLeftCtrl)(
|
533
|
-
this._handleArrowCtrl(
|
257
|
+
if ((0, _Keys.isLeftCtrl)(e) || (0, _Keys.isRightCtrl)(e)) {
|
258
|
+
this._handleArrowCtrl(e);
|
534
259
|
return;
|
535
260
|
}
|
536
|
-
if ((0, _Keys.isCtrlV)(
|
537
|
-
this._handlePaste(
|
261
|
+
if ((0, _Keys.isCtrlV)(e) || (0, _Keys.isInsertShift)(e)) {
|
262
|
+
this._handlePaste();
|
538
263
|
return;
|
539
264
|
}
|
540
|
-
if ((0, _Keys.isSpaceShift)(
|
541
|
-
|
265
|
+
if ((0, _Keys.isSpaceShift)(e)) {
|
266
|
+
e.preventDefault();
|
267
|
+
}
|
268
|
+
if (e.key === "ArrowLeft" || e.key === "Show" || e.key === "PageUp" || e.key === "PageDown" || e.key === "Backspace" || e.key === "Escape" || e.key === "Home" || e.key === "End" || e.key === "Tab" || e.key === "ArrowDown" || e.key === "Enter") {
|
269
|
+
this[`_handle${e.key}`](e);
|
542
270
|
}
|
543
|
-
this
|
544
|
-
this._shouldAutocomplete = !this.noTypeahead && !((0, _Keys.isBackSpace)(event) || (0, _Keys.isDelete)(event) || (0, _Keys.isEscape)(event) || (0, _Keys.isEnter)(event));
|
271
|
+
this._shouldAutocomplete = !this.noTypeahead && !((0, _Keys.isBackSpace)(e) || (0, _Keys.isDelete)(e) || (0, _Keys.isEscape)(e) || (0, _Keys.isEnter)(e));
|
545
272
|
}
|
546
|
-
async _handlePaste(
|
273
|
+
async _handlePaste() {
|
274
|
+
if (this.readonly) {
|
275
|
+
return;
|
276
|
+
}
|
547
277
|
const pastedText = await navigator.clipboard.readText();
|
548
278
|
if (!pastedText) {
|
549
279
|
return;
|
@@ -561,7 +291,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
561
291
|
this.fireEvent("input");
|
562
292
|
}
|
563
293
|
}
|
564
|
-
_handleShow(
|
294
|
+
_handleShow(e) {
|
565
295
|
const items = this.items;
|
566
296
|
const selectedItem = this._getSelectedItems()[0];
|
567
297
|
const focusedToken = this._tokenizer.tokens.find(token => token.focused);
|
@@ -569,7 +299,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
569
299
|
const matchingItem = this.items.find(item => item.text.localeCompare(value, undefined, {
|
570
300
|
sensitivity: "base"
|
571
301
|
}) === 0);
|
572
|
-
|
302
|
+
e.preventDefault();
|
573
303
|
if (this.readonly) {
|
574
304
|
return;
|
575
305
|
}
|
@@ -583,27 +313,27 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
583
313
|
}
|
584
314
|
if (selectedItem && !focusedToken) {
|
585
315
|
this._itemToFocus = selectedItem;
|
586
|
-
} else if (focusedToken &&
|
316
|
+
} else if (focusedToken && e.target === focusedToken) {
|
587
317
|
this._itemToFocus = items.find(item => item.text === focusedToken.text);
|
588
318
|
} else {
|
589
319
|
this._itemToFocus = items[0];
|
590
320
|
}
|
591
321
|
}
|
592
|
-
_handlePageUp(
|
593
|
-
|
322
|
+
_handlePageUp(e) {
|
323
|
+
e.preventDefault();
|
594
324
|
}
|
595
|
-
_handlePageDown(
|
596
|
-
|
325
|
+
_handlePageDown(e) {
|
326
|
+
e.preventDefault();
|
597
327
|
}
|
598
|
-
_handleBackspace(
|
599
|
-
if (
|
600
|
-
|
328
|
+
_handleBackspace(e) {
|
329
|
+
if (e.target.value === "") {
|
330
|
+
e.preventDefault();
|
601
331
|
this._tokenizer._focusLastToken();
|
602
332
|
}
|
603
333
|
}
|
604
|
-
_handleEscape(
|
334
|
+
_handleEscape() {
|
605
335
|
const innerInput = this._innerInput;
|
606
|
-
const isAutoCompleted = innerInput.selectionEnd - innerInput.selectionStart > 0;
|
336
|
+
const isAutoCompleted = (innerInput.selectionEnd || 0) - (innerInput.selectionStart || 0) > 0;
|
607
337
|
if (isAutoCompleted) {
|
608
338
|
this.value = this.valueBeforeAutoComplete;
|
609
339
|
}
|
@@ -611,26 +341,26 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
611
341
|
this.value = this._lastValue;
|
612
342
|
}
|
613
343
|
}
|
614
|
-
_handleHome(
|
615
|
-
const shouldFocusToken = this._isFocusInside &&
|
344
|
+
_handleHome(e) {
|
345
|
+
const shouldFocusToken = this._isFocusInside && e.target.selectionStart === 0 && this._tokenizer.tokens.length > 0;
|
616
346
|
if (shouldFocusToken) {
|
617
|
-
|
347
|
+
e.preventDefault();
|
618
348
|
this._tokenizer.tokens[0].focus();
|
619
349
|
}
|
620
350
|
}
|
621
|
-
_handleEnd(
|
351
|
+
_handleEnd(e) {
|
622
352
|
const tokens = this._tokenizer.tokens;
|
623
353
|
const lastTokenIdx = tokens.length - 1;
|
624
|
-
const shouldFocusInput =
|
354
|
+
const shouldFocusInput = e.target === tokens[lastTokenIdx] && tokens[lastTokenIdx] === this.shadowRoot.activeElement;
|
625
355
|
if (shouldFocusInput) {
|
626
|
-
|
356
|
+
e.preventDefault();
|
627
357
|
this._inputDom.focus();
|
628
358
|
}
|
629
359
|
}
|
630
|
-
_handleTab(
|
631
|
-
this.allItemsPopover
|
360
|
+
_handleTab() {
|
361
|
+
this.allItemsPopover?.close();
|
632
362
|
}
|
633
|
-
_handleSelectAll(
|
363
|
+
_handleSelectAll() {
|
634
364
|
const filteredItems = this._filteredItems;
|
635
365
|
const allItemsSelected = filteredItems.every(item => item.selected);
|
636
366
|
filteredItems.forEach(item => {
|
@@ -638,61 +368,61 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
638
368
|
});
|
639
369
|
this.fireSelectionChange();
|
640
370
|
}
|
641
|
-
_onValueStateKeydown(
|
642
|
-
const isArrowDown = (0, _Keys.isDown)(
|
643
|
-
const isArrowUp = (0, _Keys.isUp)(
|
644
|
-
if ((0, _Keys.isTabNext)(
|
645
|
-
this._onItemTab(
|
371
|
+
_onValueStateKeydown(e) {
|
372
|
+
const isArrowDown = (0, _Keys.isDown)(e);
|
373
|
+
const isArrowUp = (0, _Keys.isUp)(e);
|
374
|
+
if ((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e)) {
|
375
|
+
this._onItemTab();
|
646
376
|
return;
|
647
377
|
}
|
648
|
-
|
649
|
-
if (isArrowDown || (0, _Keys.isDownCtrl)(
|
650
|
-
this._handleArrowDown(
|
378
|
+
e.preventDefault();
|
379
|
+
if (isArrowDown || (0, _Keys.isDownCtrl)(e)) {
|
380
|
+
this._handleArrowDown();
|
651
381
|
}
|
652
|
-
if (isArrowUp || (0, _Keys.isUpCtrl)(
|
382
|
+
if (isArrowUp || (0, _Keys.isUpCtrl)(e)) {
|
653
383
|
this._shouldAutocomplete = true;
|
654
384
|
this._inputDom.focus();
|
655
385
|
}
|
656
386
|
}
|
657
|
-
async _onItemKeydown(
|
658
|
-
const isFirstItem = this.list
|
659
|
-
const isArrowUp = (0, _Keys.isUp)(
|
387
|
+
async _onItemKeydown(e) {
|
388
|
+
const isFirstItem = this.list?.items[0] === e.target;
|
389
|
+
const isArrowUp = (0, _Keys.isUp)(e) || (0, _Keys.isUpCtrl)(e);
|
660
390
|
if (this.hasValueStateMessage && !this.valueStateHeader) {
|
661
391
|
await this._setValueStateHeader();
|
662
392
|
}
|
663
|
-
if ((0, _Keys.isTabNext)(
|
664
|
-
this._onItemTab(
|
393
|
+
if ((0, _Keys.isTabNext)(e) || (0, _Keys.isTabPrevious)(e)) {
|
394
|
+
this._onItemTab();
|
665
395
|
return;
|
666
396
|
}
|
667
|
-
if ((0, _Keys.isHomeCtrl)(
|
668
|
-
this.list
|
669
|
-
this.list
|
397
|
+
if ((0, _Keys.isHomeCtrl)(e)) {
|
398
|
+
this.list?._itemNavigation._handleHome();
|
399
|
+
this.list?.items[this.list?._itemNavigation._currentIndex].focus();
|
670
400
|
}
|
671
|
-
if ((0, _Keys.isEndCtrl)(
|
672
|
-
this.list
|
673
|
-
this.list
|
401
|
+
if ((0, _Keys.isEndCtrl)(e)) {
|
402
|
+
this.list?._itemNavigation._handleEnd();
|
403
|
+
this.list?.items[this.list?._itemNavigation._currentIndex].focus();
|
674
404
|
}
|
675
|
-
|
676
|
-
if ((0, _Keys.isDownShift)(
|
677
|
-
this._handleItemRangeSelection(
|
405
|
+
e.preventDefault();
|
406
|
+
if ((0, _Keys.isDownShift)(e) || (0, _Keys.isUpShift)(e)) {
|
407
|
+
this._handleItemRangeSelection(e);
|
678
408
|
return;
|
679
409
|
}
|
680
|
-
if ((0, _Keys.isUpCtrl)(
|
681
|
-
this.list
|
682
|
-
this.list
|
410
|
+
if ((0, _Keys.isUpCtrl)(e) && !isFirstItem) {
|
411
|
+
this.list?._itemNavigation._handleUp();
|
412
|
+
this.list?.items[this.list?._itemNavigation._currentIndex].focus();
|
683
413
|
}
|
684
|
-
if ((0, _Keys.isDownCtrl)(
|
685
|
-
this.list
|
686
|
-
this.list
|
414
|
+
if ((0, _Keys.isDownCtrl)(e)) {
|
415
|
+
this.list?._itemNavigation._handleDown();
|
416
|
+
this.list?.items[this.list?._itemNavigation._currentIndex].focus();
|
687
417
|
}
|
688
|
-
if ((0, _Keys.isShow)(
|
418
|
+
if ((0, _Keys.isShow)(e)) {
|
689
419
|
this.togglePopover();
|
690
420
|
}
|
691
|
-
if ((0, _Keys.isCtrlA)(
|
692
|
-
this._handleSelectAll(
|
421
|
+
if ((0, _Keys.isCtrlA)(e)) {
|
422
|
+
this._handleSelectAll();
|
693
423
|
return;
|
694
424
|
}
|
695
|
-
if ((isArrowUp && isFirstItem || (0, _Keys.isHome)(
|
425
|
+
if ((isArrowUp && isFirstItem || (0, _Keys.isHome)(e)) && this.valueStateHeader) {
|
696
426
|
this.valueStateHeader.focus();
|
697
427
|
}
|
698
428
|
if (!this.valueStateHeader && isFirstItem && isArrowUp) {
|
@@ -700,25 +430,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
700
430
|
this._shouldAutocomplete = true;
|
701
431
|
}
|
702
432
|
}
|
703
|
-
_handleArrowCtrl(
|
433
|
+
_handleArrowCtrl(e) {
|
704
434
|
const input = this._inputDom;
|
705
|
-
const isArrowLeft = (0, _Keys.isLeftCtrl)(
|
435
|
+
const isArrowLeft = (0, _Keys.isLeftCtrl)(e);
|
706
436
|
if (isArrowLeft && input.selectionStart === 0 && input.selectionEnd === 0) {
|
707
|
-
|
437
|
+
e.preventDefault();
|
708
438
|
}
|
709
|
-
if (isArrowLeft && input.selectionEnd - input.selectionStart > 0) {
|
439
|
+
if (isArrowLeft && (input.selectionEnd || 0) - (input.selectionStart || 0) > 0) {
|
710
440
|
input.setSelectionRange(0, 0);
|
711
441
|
}
|
712
442
|
}
|
713
|
-
_onItemTab(
|
443
|
+
_onItemTab() {
|
714
444
|
this._inputDom.focus();
|
715
|
-
this.allItemsPopover
|
445
|
+
this.allItemsPopover?.close();
|
716
446
|
}
|
717
|
-
async _handleArrowNavigation(
|
718
|
-
const isArrowDown = isDownControl || (0, _Keys.isDown)(
|
447
|
+
async _handleArrowNavigation(e, isDownControl) {
|
448
|
+
const isArrowDown = isDownControl || (0, _Keys.isDown)(e);
|
719
449
|
const hasSuggestions = this.items.length;
|
720
|
-
const isOpen = this.allItemsPopover
|
721
|
-
|
450
|
+
const isOpen = this.allItemsPopover?.opened;
|
451
|
+
e.preventDefault();
|
722
452
|
if (this.hasValueStateMessage && !this.valueStateHeader) {
|
723
453
|
await this._setValueStateHeader();
|
724
454
|
}
|
@@ -728,34 +458,34 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
728
458
|
return;
|
729
459
|
}
|
730
460
|
if (isArrowDown && hasSuggestions) {
|
731
|
-
this._handleArrowDown(
|
461
|
+
this._handleArrowDown();
|
732
462
|
}
|
733
463
|
if (!isArrowDown && !isOpen && !this.readonly) {
|
734
464
|
this._navigateToPrevItem();
|
735
465
|
}
|
736
466
|
}
|
737
|
-
_handleArrowDown(
|
738
|
-
const isOpen = this.allItemsPopover
|
739
|
-
const firstListItem = this.list
|
467
|
+
_handleArrowDown() {
|
468
|
+
const isOpen = this.allItemsPopover?.opened;
|
469
|
+
const firstListItem = this.list?.items[0];
|
740
470
|
if (isOpen) {
|
741
|
-
this.list
|
471
|
+
firstListItem && this.list?._itemNavigation.setCurrentItem(firstListItem);
|
742
472
|
this.value = this.valueBeforeAutoComplete || this.value;
|
743
|
-
firstListItem
|
473
|
+
firstListItem?.focus();
|
744
474
|
} else if (!this.readonly) {
|
745
475
|
this._navigateToNextItem();
|
746
476
|
}
|
747
477
|
}
|
748
|
-
_handleItemRangeSelection(
|
478
|
+
_handleItemRangeSelection(e) {
|
749
479
|
const items = this.items;
|
750
|
-
const listItems = this.list
|
751
|
-
const currentItemIdx = listItems
|
480
|
+
const listItems = this.list?.items;
|
481
|
+
const currentItemIdx = listItems?.indexOf(e.target) || -1;
|
752
482
|
const nextItemIdx = currentItemIdx + 1;
|
753
483
|
const prevItemIdx = currentItemIdx - 1;
|
754
|
-
if ((0, _Keys.isDownShift)(
|
484
|
+
if ((0, _Keys.isDownShift)(e) && items[nextItemIdx]) {
|
755
485
|
items[nextItemIdx].selected = items[currentItemIdx].selected;
|
756
486
|
items[nextItemIdx].focus();
|
757
487
|
}
|
758
|
-
if ((0, _Keys.isUpShift)(
|
488
|
+
if ((0, _Keys.isUpShift)(e) && items[prevItemIdx]) {
|
759
489
|
items[prevItemIdx].selected = items[currentItemIdx].selected;
|
760
490
|
items[prevItemIdx].focus();
|
761
491
|
}
|
@@ -813,7 +543,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
813
543
|
}
|
814
544
|
_handleEnter() {
|
815
545
|
const lowerCaseValue = this.value.toLowerCase();
|
816
|
-
const matchingItem = this.items.find(item => item.text.toLowerCase() === lowerCaseValue);
|
546
|
+
const matchingItem = this.items.find(item => item.text.toLowerCase() === lowerCaseValue && !item.isGroupItem);
|
817
547
|
const oldValueState = this.valueState;
|
818
548
|
const innerInput = this._innerInput;
|
819
549
|
if (this.FormSupport) {
|
@@ -824,7 +554,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
824
554
|
if (this._validationTimeout) {
|
825
555
|
return;
|
826
556
|
}
|
827
|
-
this.valueState =
|
557
|
+
this.valueState = _ValueState.default.Error;
|
828
558
|
this._performingSelectionTwice = true;
|
829
559
|
this._resetValueState(oldValueState, () => {
|
830
560
|
this._performingSelectionTwice = false;
|
@@ -835,7 +565,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
835
565
|
this.fireSelectionChange();
|
836
566
|
}
|
837
567
|
innerInput.setSelectionRange(matchingItem.text.length, matchingItem.text.length);
|
838
|
-
this.allItemsPopover
|
568
|
+
this.allItemsPopover?.close();
|
839
569
|
}
|
840
570
|
}
|
841
571
|
_resetValueState(valueState, callback) {
|
@@ -845,51 +575,50 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
845
575
|
callback && callback();
|
846
576
|
}, 2000);
|
847
577
|
}
|
848
|
-
_onTokenizerKeydown(
|
849
|
-
const isCtrl = !!(
|
850
|
-
if ((0, _Keys.isRight)(
|
851
|
-
const lastTokenIndex = this._tokenizer.tokens.length - 1;
|
852
|
-
if (
|
578
|
+
_onTokenizerKeydown(e) {
|
579
|
+
const isCtrl = !!(e.metaKey || e.ctrlKey);
|
580
|
+
if ((0, _Keys.isRight)(e)) {
|
581
|
+
const lastTokenIndex = this._tokenizer.tokens.length - this._tokenizer.overflownTokens.length - 1;
|
582
|
+
if (e.target === this._tokenizer.tokens[lastTokenIndex]) {
|
853
583
|
setTimeout(() => {
|
854
|
-
this.
|
584
|
+
this._inputDom.focus();
|
855
585
|
}, 0);
|
856
586
|
}
|
857
587
|
}
|
858
|
-
if (isCtrl && ["c", "x"].includes(
|
859
|
-
|
860
|
-
const isCut =
|
588
|
+
if (isCtrl && ["c", "x"].includes(e.key.toLowerCase()) || (0, _Keys.isDeleteShift)(e) || (0, _Keys.isInsertCtrl)(e)) {
|
589
|
+
e.preventDefault();
|
590
|
+
const isCut = e.key.toLowerCase() === "x" || (0, _Keys.isDeleteShift)(e);
|
861
591
|
const selectedTokens = this._tokenizer.tokens.filter(token => token.selected);
|
862
592
|
if (isCut) {
|
863
|
-
const cutResult = this._tokenizer._fillClipboard(
|
593
|
+
const cutResult = this._tokenizer._fillClipboard(_Tokenizer.ClipboardDataOperation.cut, selectedTokens);
|
864
594
|
selectedTokens.forEach(token => {
|
865
|
-
this._tokenizer.
|
595
|
+
this._tokenizer.deleteToken(token);
|
866
596
|
});
|
867
597
|
this.focus();
|
868
598
|
return cutResult;
|
869
599
|
}
|
870
|
-
return this._tokenizer._fillClipboard(
|
600
|
+
return this._tokenizer._fillClipboard(_Tokenizer.ClipboardDataOperation.copy, selectedTokens);
|
871
601
|
}
|
872
|
-
if ((0, _Keys.isCtrlV)(
|
873
|
-
this._handlePaste(
|
602
|
+
if ((0, _Keys.isCtrlV)(e) || (0, _Keys.isInsertShift)(e)) {
|
603
|
+
this._handlePaste();
|
874
604
|
}
|
875
|
-
if ((0, _Keys.isHome)(
|
876
|
-
this._handleHome(
|
605
|
+
if ((0, _Keys.isHome)(e)) {
|
606
|
+
this._handleHome(e);
|
877
607
|
}
|
878
|
-
if ((0, _Keys.isEnd)(
|
879
|
-
this._handleEnd(
|
608
|
+
if ((0, _Keys.isEnd)(e)) {
|
609
|
+
this._handleEnd(e);
|
880
610
|
}
|
881
|
-
if ((0, _Keys.isShow)(
|
882
|
-
this.
|
611
|
+
if ((0, _Keys.isShow)(e) && !this.readonly && !this.disabled) {
|
612
|
+
this._preventTokenizerToggle = true;
|
613
|
+
this._handleShow(e);
|
883
614
|
}
|
884
615
|
}
|
885
616
|
_filterItems(str) {
|
886
617
|
const itemsToFilter = this.items.filter(item => !item.isGroupItem);
|
887
618
|
const filteredItems = (Filters[this.filter] || Filters.StartsWithPerTerm)(str, itemsToFilter, "text");
|
888
|
-
|
889
619
|
// Return the filtered items and their group items
|
890
|
-
return this.items.filter((item, idx, allItems) =>
|
620
|
+
return this.items.filter((item, idx, allItems) => MultiComboBox_1._groupItemFilter(item, ++idx, allItems, filteredItems) || filteredItems.indexOf(item) !== -1);
|
891
621
|
}
|
892
|
-
|
893
622
|
/**
|
894
623
|
* Returns true if the group header should be shown (if there is a filtered suggestion item for this group item)
|
895
624
|
*
|
@@ -910,9 +639,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
910
639
|
if (!(0, _Device.isPhone)() && !this._isOpenedByKeyboard) {
|
911
640
|
this._innerInput.focus();
|
912
641
|
} else if (this._isOpenedByKeyboard) {
|
913
|
-
this._itemToFocus
|
642
|
+
this._itemToFocus?.focus();
|
914
643
|
} else {
|
915
|
-
this.allItemsPopover
|
644
|
+
this.allItemsPopover?.focus();
|
916
645
|
}
|
917
646
|
this._isOpenedByKeyboard = false;
|
918
647
|
}
|
@@ -925,18 +654,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
925
654
|
this.selectedValues = this.items.filter(item => item.selected);
|
926
655
|
return this.selectedValues;
|
927
656
|
}
|
928
|
-
_listSelectionChange(
|
657
|
+
_listSelectionChange(e) {
|
929
658
|
// sync list items and cb items
|
930
|
-
this.syncItems(
|
931
|
-
|
659
|
+
this.syncItems(e.target.items);
|
932
660
|
// don't call selection change right after selection as user can cancel it on phone
|
933
661
|
if (!(0, _Device.isPhone)()) {
|
934
662
|
this.fireSelectionChange();
|
935
663
|
}
|
936
|
-
|
937
|
-
|
664
|
+
// casted to KeyboardEvent since isSpace and isSpaceCtrl accepts KeyboardEvent only
|
665
|
+
const castedEvent = {
|
666
|
+
key: e.detail.key
|
667
|
+
};
|
668
|
+
if (!e.detail.selectionComponentPressed && !(0, _Keys.isSpace)(castedEvent) && !(0, _Keys.isSpaceCtrl)(castedEvent)) {
|
669
|
+
this.allItemsPopover?.close();
|
938
670
|
this.value = "";
|
939
|
-
|
940
671
|
// if the item (not checkbox) is clicked, call the selection change
|
941
672
|
if ((0, _Device.isPhone)()) {
|
942
673
|
this.fireSelectionChange();
|
@@ -968,10 +699,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
968
699
|
async _getList() {
|
969
700
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
970
701
|
this.list = staticAreaItem.querySelector(".ui5-multi-combobox-all-items-list");
|
702
|
+
return this.list;
|
971
703
|
}
|
972
|
-
_click(
|
704
|
+
_click() {
|
973
705
|
if ((0, _Device.isPhone)() && !this.readonly && !this._showMorePressed && !this._deleting) {
|
974
|
-
this.allItemsPopover
|
706
|
+
this.allItemsPopover?.showAt(this);
|
975
707
|
}
|
976
708
|
this._showMorePressed = false;
|
977
709
|
}
|
@@ -982,6 +714,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
982
714
|
}
|
983
715
|
this._toggle();
|
984
716
|
this._iconPressed = false;
|
717
|
+
this._preventTokenizerToggle = false;
|
985
718
|
this.filterSelected = false;
|
986
719
|
}
|
987
720
|
_beforeOpen() {
|
@@ -994,7 +727,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
994
727
|
this._valueBeforeOpen = this.value;
|
995
728
|
if (this.filterSelected) {
|
996
729
|
const selectedItems = this._filteredItems.filter(item => item.selected);
|
997
|
-
this.selectedItems = this.items.filter((item, idx, allItems) =>
|
730
|
+
this.selectedItems = this.items.filter((item, idx, allItems) => MultiComboBox_1._groupItemFilter(item, ++idx, allItems, selectedItems) || selectedItems.indexOf(item) !== -1);
|
998
731
|
}
|
999
732
|
}
|
1000
733
|
_handleTypeAhead(item, filterValue) {
|
@@ -1023,7 +756,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1023
756
|
}
|
1024
757
|
onBeforeRendering() {
|
1025
758
|
const input = this._innerInput;
|
1026
|
-
const autoCompletedChars = input && input.selectionEnd - input.selectionStart;
|
759
|
+
const autoCompletedChars = input && (input.selectionEnd || 0) - (input.selectionStart || 0);
|
1027
760
|
const value = input && input.value;
|
1028
761
|
this.FormSupport = (0, _FeaturesRegistry.getFeature)("FormSupport");
|
1029
762
|
this._inputLastValue = value;
|
@@ -1034,18 +767,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1034
767
|
this.items.forEach(item => {
|
1035
768
|
item._getRealDomRef = () => this.allItemsPopover.querySelector(`*[data-ui5-stable=${item.stableDomRef}]`);
|
1036
769
|
});
|
770
|
+
this.tokenizerAvailable = this._getSelectedItems().length > 0;
|
771
|
+
this.style.setProperty("--_ui5-input-icons-count", `${this.iconsCount}`);
|
1037
772
|
if (!input || !value) {
|
1038
773
|
return;
|
1039
774
|
}
|
1040
|
-
|
1041
775
|
// Typehead causes issues on Android devices, so we disable it for now
|
1042
776
|
// If there is already a selection the autocomplete has already been performed
|
1043
777
|
if (this._shouldAutocomplete && !(0, _Device.isAndroid)() && !autoCompletedChars) {
|
1044
778
|
const item = this._getFirstMatchingItem(value);
|
1045
|
-
|
1046
779
|
// Keep the original typed in text intact
|
1047
780
|
this.valueBeforeAutoComplete = value;
|
1048
|
-
this._handleTypeAhead(item, value);
|
781
|
+
item && this._handleTypeAhead(item, value);
|
1049
782
|
}
|
1050
783
|
if (this._shouldFilterItems) {
|
1051
784
|
this._filteredItems = this._filterItems(this._shouldAutocomplete || !!autoCompletedChars ? this.valueBeforeAutoComplete : value);
|
@@ -1059,6 +792,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1059
792
|
this.toggle(this.shouldDisplayOnlyValueStateMessage);
|
1060
793
|
this.storeResponsivePopoverWidth();
|
1061
794
|
this._deleting = false;
|
795
|
+
// force resize of the tokenizer on invalidation
|
796
|
+
this._tokenizer._handleResize();
|
1062
797
|
}
|
1063
798
|
get _isPhone() {
|
1064
799
|
return (0, _Device.isPhone)();
|
@@ -1080,7 +815,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1080
815
|
}
|
1081
816
|
handleCancel() {
|
1082
817
|
this._itemsBeforeOpen.forEach(item => {
|
1083
|
-
item.ref
|
818
|
+
if (item.ref instanceof _MultiComboBoxItem.default) {
|
819
|
+
item.ref.selected = item.selected;
|
820
|
+
}
|
1084
821
|
});
|
1085
822
|
this.togglePopover();
|
1086
823
|
this.value = this._valueBeforeOpen;
|
@@ -1092,17 +829,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1092
829
|
this.togglePopover();
|
1093
830
|
}
|
1094
831
|
async openPopover() {
|
1095
|
-
|
1096
|
-
if (popover) {
|
1097
|
-
popover.showAt(this);
|
1098
|
-
}
|
832
|
+
(await this._getPopover())?.showAt(this);
|
1099
833
|
}
|
1100
834
|
_forwardFocusToInner() {
|
1101
835
|
this._innerInput.focus();
|
1102
836
|
}
|
1103
837
|
async closePopover() {
|
1104
|
-
|
1105
|
-
popover && popover.close();
|
838
|
+
(await this._getPopover())?.close();
|
1106
839
|
}
|
1107
840
|
async _getPopover() {
|
1108
841
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
@@ -1119,24 +852,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1119
852
|
get _tokenizer() {
|
1120
853
|
return this.shadowRoot.querySelector("[ui5-tokenizer]");
|
1121
854
|
}
|
1122
|
-
inputFocusIn(
|
855
|
+
inputFocusIn(e) {
|
1123
856
|
if (!(0, _Device.isPhone)() || this.readonly) {
|
1124
857
|
this.focused = true;
|
858
|
+
this._tokenizer.expanded = true;
|
1125
859
|
} else {
|
1126
860
|
this._innerInput.blur();
|
1127
861
|
}
|
1128
|
-
if (!(0, _Device.isPhone)() && (
|
862
|
+
if (!(0, _Device.isPhone)() && (e.relatedTarget?.tagName !== "UI5-STATIC-AREA-ITEM" || !e.relatedTarget)) {
|
1129
863
|
this._innerInput.setSelectionRange(0, this.value.length);
|
1130
864
|
}
|
1131
865
|
this._lastValue = this.value;
|
1132
866
|
this.valueBeforeAutoComplete = "";
|
1133
867
|
}
|
1134
|
-
inputFocusOut(
|
1135
|
-
if (!this.shadowRoot.contains(
|
868
|
+
inputFocusOut(e) {
|
869
|
+
if (!this.shadowRoot.contains(e.relatedTarget) && !this._deleting) {
|
1136
870
|
this.focused = false;
|
1137
|
-
|
871
|
+
this._tokenizer.expanded = this.open;
|
1138
872
|
// remove the value if user focus out the input and focus is not going in the popover
|
1139
|
-
if (!(0, _Device.isPhone)() && !this.allowCustomValues && this.staticAreaItem !==
|
873
|
+
if (!(0, _Device.isPhone)() && !this.allowCustomValues && this.staticAreaItem !== e.relatedTarget) {
|
1140
874
|
this.value = "";
|
1141
875
|
}
|
1142
876
|
}
|
@@ -1159,15 +893,30 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1159
893
|
get hasValueStateMessage() {
|
1160
894
|
return this.hasValueState && this.valueState !== _ValueState.default.Success;
|
1161
895
|
}
|
1162
|
-
get
|
1163
|
-
|
896
|
+
get ariaValueStateHiddenText() {
|
897
|
+
if (!this.hasValueState) {
|
898
|
+
return;
|
899
|
+
}
|
900
|
+
let text = "";
|
901
|
+
if (this.valueState !== _ValueState.default.None) {
|
902
|
+
text = this.valueStateTypeMappings[this.valueState];
|
903
|
+
}
|
904
|
+
if (this.shouldDisplayDefaultValueStateMessage) {
|
905
|
+
return `${text} ${this.valueStateDefaultText || ""}`;
|
906
|
+
}
|
907
|
+
return `${text}`.concat(" ", this.valueStateMessageText.map(el => el.textContent).join(" "));
|
908
|
+
}
|
909
|
+
get valueStateDefaultText() {
|
910
|
+
if (this.valueState === _ValueState.default.None) {
|
911
|
+
return "";
|
912
|
+
}
|
1164
913
|
if (this._performingSelectionTwice) {
|
1165
|
-
|
914
|
+
return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR_ALREADY_SELECTED);
|
1166
915
|
}
|
1167
|
-
return this.valueStateTextMappings[
|
916
|
+
return this.valueStateTextMappings[this.valueState];
|
1168
917
|
}
|
1169
918
|
get valueStateTextId() {
|
1170
|
-
return this.hasValueState ?
|
919
|
+
return this.hasValueState ? `ui5-multi-combobox-valueStateDesc` : undefined;
|
1171
920
|
}
|
1172
921
|
get valueStateMessageText() {
|
1173
922
|
return this.getSlottedNodes("valueStateMessage").map(el => el.cloneNode(true));
|
@@ -1175,18 +924,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1175
924
|
get ariaLabelText() {
|
1176
925
|
return (0, _AriaLabelHelper.getEffectiveAriaLabelText)(this);
|
1177
926
|
}
|
1178
|
-
|
1179
927
|
/**
|
1180
928
|
* This method is relevant for sap_horizon theme only
|
1181
929
|
*/
|
1182
930
|
get _valueStateMessageIcon() {
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
931
|
+
if (this.valueState === _ValueState.default.None) {
|
932
|
+
return "";
|
933
|
+
}
|
934
|
+
return {
|
935
|
+
[_ValueState.default.Error]: "error",
|
936
|
+
[_ValueState.default.Warning]: "alert",
|
937
|
+
[_ValueState.default.Success]: "sys-enter-2",
|
938
|
+
[_ValueState.default.Information]: "information"
|
939
|
+
}[this.valueState];
|
1190
940
|
}
|
1191
941
|
get _tokensCountText() {
|
1192
942
|
if (!this._tokenizer) {
|
@@ -1195,7 +945,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1195
945
|
return this._tokenizer._tokensCountText();
|
1196
946
|
}
|
1197
947
|
get _tokensCountTextId() {
|
1198
|
-
return
|
948
|
+
return "ui5-multi-combobox-hiddenText-nMore";
|
1199
949
|
}
|
1200
950
|
get _selectedTokensCount() {
|
1201
951
|
return this._tokenizer.tokens.filter(token => token.selected).length;
|
@@ -1209,44 +959,64 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1209
959
|
get shouldDisplayOnlyValueStateMessage() {
|
1210
960
|
return this.focused && !this.readonly && this.hasValueStateMessage && !this._iconPressed;
|
1211
961
|
}
|
962
|
+
get valueStateTypeMappings() {
|
963
|
+
return {
|
964
|
+
[_ValueState.default.Success]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_SUCCESS),
|
965
|
+
[_ValueState.default.Information]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_INFORMATION),
|
966
|
+
[_ValueState.default.Error]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_ERROR),
|
967
|
+
[_ValueState.default.Warning]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_TYPE_WARNING)
|
968
|
+
};
|
969
|
+
}
|
1212
970
|
get valueStateTextMappings() {
|
1213
971
|
return {
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
"Information": MultiComboBox.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
|
972
|
+
[_ValueState.default.Success]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_SUCCESS),
|
973
|
+
[_ValueState.default.Error]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_ERROR),
|
974
|
+
[_ValueState.default.Warning]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_WARNING),
|
975
|
+
[_ValueState.default.Information]: MultiComboBox_1.i18nBundle.getText(_i18nDefaults.VALUE_STATE_INFORMATION)
|
1219
976
|
};
|
1220
977
|
}
|
1221
978
|
get _innerInput() {
|
1222
979
|
if ((0, _Device.isPhone)()) {
|
1223
|
-
if (this.allItemsPopover
|
980
|
+
if (this.allItemsPopover?.opened) {
|
1224
981
|
return this.allItemsPopover.querySelector("input");
|
1225
982
|
}
|
1226
983
|
}
|
1227
|
-
return this.
|
984
|
+
return this._inputDom;
|
1228
985
|
}
|
1229
986
|
get _headerTitleText() {
|
1230
|
-
return
|
987
|
+
return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.INPUT_SUGGESTIONS_TITLE);
|
1231
988
|
}
|
1232
989
|
get _iconAccessibleNameText() {
|
1233
|
-
return
|
990
|
+
return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.SELECT_OPTIONS);
|
1234
991
|
}
|
1235
992
|
get _dialogOkButton() {
|
1236
|
-
return
|
993
|
+
return MultiComboBox_1.i18nBundle.getText(_i18nDefaults.MULTICOMBOBOX_DIALOG_OK_BUTTON);
|
1237
994
|
}
|
1238
995
|
get _tokenizerExpanded() {
|
1239
|
-
|
996
|
+
if ((0, _Device.isPhone)() || this.readonly) {
|
997
|
+
return false;
|
998
|
+
}
|
999
|
+
if (this._preventTokenizerToggle) {
|
1000
|
+
return this._tokenizer.expanded;
|
1001
|
+
}
|
1002
|
+
const isCurrentlyExpanded = this._tokenizer?.expanded;
|
1003
|
+
const shouldBeExpanded = this.focused || this.open || isCurrentlyExpanded;
|
1004
|
+
return shouldBeExpanded;
|
1240
1005
|
}
|
1241
1006
|
get _valueStatePopoverHorizontalAlign() {
|
1242
1007
|
return this.effectiveDir !== "rtl" ? "Left" : "Right";
|
1243
1008
|
}
|
1009
|
+
get iconsCount() {
|
1010
|
+
const slottedIconsCount = this.icon?.length || 0;
|
1011
|
+
const arrowDownIconsCount = this.readonly ? 0 : 1;
|
1012
|
+
return slottedIconsCount + arrowDownIconsCount;
|
1013
|
+
}
|
1244
1014
|
get classes() {
|
1245
1015
|
return {
|
1246
1016
|
popover: {
|
1247
1017
|
"ui5-multi-combobox-all-items-responsive-popover": true,
|
1248
|
-
"ui5-suggestions-popover":
|
1249
|
-
"ui5-suggestions-popover-with-value-state-header":
|
1018
|
+
"ui5-suggestions-popover": true,
|
1019
|
+
"ui5-suggestions-popover-with-value-state-header": this.hasValueStateMessage
|
1250
1020
|
},
|
1251
1021
|
popoverValueState: {
|
1252
1022
|
"ui5-valuestatemessage-root": true,
|
@@ -1262,7 +1032,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1262
1032
|
const remSizeIxPx = parseInt(getComputedStyle(document.documentElement).fontSize);
|
1263
1033
|
return {
|
1264
1034
|
popoverValueStateMessage: {
|
1265
|
-
"width": `${this._listWidth}px`,
|
1035
|
+
"width": `${this._listWidth || 0}px`,
|
1266
1036
|
"display": this._listWidth === 0 ? "none" : "inline-block"
|
1267
1037
|
},
|
1268
1038
|
popoverHeader: {
|
@@ -1275,9 +1045,124 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
1275
1045
|
};
|
1276
1046
|
}
|
1277
1047
|
static async onDefine() {
|
1278
|
-
|
1048
|
+
MultiComboBox_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents");
|
1049
|
+
}
|
1050
|
+
};
|
1051
|
+
__decorate([(0, _property.default)()], MultiComboBox.prototype, "value", void 0);
|
1052
|
+
__decorate([(0, _property.default)({
|
1053
|
+
type: Boolean
|
1054
|
+
})], MultiComboBox.prototype, "noTypeahead", void 0);
|
1055
|
+
__decorate([(0, _property.default)()], MultiComboBox.prototype, "placeholder", void 0);
|
1056
|
+
__decorate([(0, _property.default)({
|
1057
|
+
type: Boolean
|
1058
|
+
})], MultiComboBox.prototype, "allowCustomValues", void 0);
|
1059
|
+
__decorate([(0, _property.default)({
|
1060
|
+
type: Boolean
|
1061
|
+
})], MultiComboBox.prototype, "disabled", void 0);
|
1062
|
+
__decorate([(0, _property.default)({
|
1063
|
+
type: _ValueState.default,
|
1064
|
+
defaultValue: _ValueState.default.None
|
1065
|
+
})], MultiComboBox.prototype, "valueState", void 0);
|
1066
|
+
__decorate([(0, _property.default)({
|
1067
|
+
type: Boolean
|
1068
|
+
})], MultiComboBox.prototype, "readonly", void 0);
|
1069
|
+
__decorate([(0, _property.default)({
|
1070
|
+
type: Boolean
|
1071
|
+
})], MultiComboBox.prototype, "required", void 0);
|
1072
|
+
__decorate([(0, _property.default)({
|
1073
|
+
type: _ComboBoxFilter.default,
|
1074
|
+
defaultValue: _ComboBoxFilter.default.StartsWithPerTerm
|
1075
|
+
})], MultiComboBox.prototype, "filter", void 0);
|
1076
|
+
__decorate([(0, _property.default)({
|
1077
|
+
type: Boolean
|
1078
|
+
})], MultiComboBox.prototype, "open", void 0);
|
1079
|
+
__decorate([(0, _property.default)()], MultiComboBox.prototype, "accessibleName", void 0);
|
1080
|
+
__decorate([(0, _property.default)()], MultiComboBox.prototype, "accessibleNameRef", void 0);
|
1081
|
+
__decorate([(0, _property.default)({
|
1082
|
+
type: Object,
|
1083
|
+
noAttribute: true,
|
1084
|
+
multiple: true
|
1085
|
+
})], MultiComboBox.prototype, "_filteredItems", void 0);
|
1086
|
+
__decorate([(0, _property.default)({
|
1087
|
+
type: Boolean
|
1088
|
+
})], MultiComboBox.prototype, "filterSelected", void 0);
|
1089
|
+
__decorate([(0, _property.default)({
|
1090
|
+
type: Boolean
|
1091
|
+
})], MultiComboBox.prototype, "focused", void 0);
|
1092
|
+
__decorate([(0, _property.default)({
|
1093
|
+
type: Boolean,
|
1094
|
+
noAttribute: true
|
1095
|
+
})], MultiComboBox.prototype, "_tokenizerFocused", void 0);
|
1096
|
+
__decorate([(0, _property.default)({
|
1097
|
+
type: Boolean,
|
1098
|
+
noAttribute: true
|
1099
|
+
})], MultiComboBox.prototype, "_iconPressed", void 0);
|
1100
|
+
__decorate([(0, _property.default)({
|
1101
|
+
validator: _Integer.default,
|
1102
|
+
noAttribute: true
|
1103
|
+
})], MultiComboBox.prototype, "_inputWidth", void 0);
|
1104
|
+
__decorate([(0, _property.default)({
|
1105
|
+
validator: _Integer.default,
|
1106
|
+
noAttribute: true,
|
1107
|
+
defaultValue: 0
|
1108
|
+
})], MultiComboBox.prototype, "_listWidth", void 0);
|
1109
|
+
__decorate([(0, _property.default)({
|
1110
|
+
type: Boolean,
|
1111
|
+
noAttribute: true
|
1112
|
+
})], MultiComboBox.prototype, "_performingSelectionTwice", void 0);
|
1113
|
+
__decorate([(0, _property.default)({
|
1114
|
+
type: Boolean
|
1115
|
+
})], MultiComboBox.prototype, "tokenizerAvailable", void 0);
|
1116
|
+
__decorate([(0, _slot.default)({
|
1117
|
+
type: HTMLElement,
|
1118
|
+
"default": true,
|
1119
|
+
invalidateOnChildChange: true
|
1120
|
+
})], MultiComboBox.prototype, "items", void 0);
|
1121
|
+
__decorate([(0, _slot.default)()], MultiComboBox.prototype, "icon", void 0);
|
1122
|
+
__decorate([(0, _slot.default)()], MultiComboBox.prototype, "valueStateMessage", void 0);
|
1123
|
+
MultiComboBox = MultiComboBox_1 = __decorate([(0, _customElement.default)({
|
1124
|
+
tag: "ui5-multi-combobox",
|
1125
|
+
languageAware: true,
|
1126
|
+
renderer: _LitRenderer.default,
|
1127
|
+
template: _MultiComboBoxTemplate.default,
|
1128
|
+
staticAreaTemplate: _MultiComboBoxPopoverTemplate.default,
|
1129
|
+
styles: _MultiComboBox.default,
|
1130
|
+
staticAreaStyles: [_ResponsivePopoverCommon.default, _ValueStateMessage.default, _Suggestions.default, _MultiComboBoxPopover.default],
|
1131
|
+
dependencies: [_MultiComboBoxItem.default, _MultiComboBoxGroupItem.default, _Tokenizer.default, _Token.default, _Icon.default, _ResponsivePopover.default, _Popover.default, _List.default, _StandardListItem.default, _GroupHeaderListItem.default, _ToggleButton.default, _Button.default]
|
1132
|
+
})
|
1133
|
+
/**
|
1134
|
+
* Fired when the input operation has finished by pressing Enter or on focusout.
|
1135
|
+
*
|
1136
|
+
* @event sap.ui.webc.main.MultiComboBox#change
|
1137
|
+
* @public
|
1138
|
+
*/, (0, _event.default)("change")
|
1139
|
+
/**
|
1140
|
+
* Fired when the value of the component changes at each keystroke.
|
1141
|
+
*
|
1142
|
+
* @event sap.ui.webc.main.MultiComboBox#input
|
1143
|
+
* @public
|
1144
|
+
*/, (0, _event.default)("input")
|
1145
|
+
/**
|
1146
|
+
* Fired when the dropdown is opened or closed.
|
1147
|
+
*
|
1148
|
+
* @event sap.ui.webc.main.MultiComboBox#open-change
|
1149
|
+
* @since 1.0.0-rc.5
|
1150
|
+
* @public
|
1151
|
+
*/, (0, _event.default)("open-change")
|
1152
|
+
/**
|
1153
|
+
* Fired when selection is changed by user interaction
|
1154
|
+
* in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
|
1155
|
+
*
|
1156
|
+
* @event sap.ui.webc.main.MultiComboBox#selection-change
|
1157
|
+
* @param {Array} items an array of the selected items.
|
1158
|
+
* @public
|
1159
|
+
*/, (0, _event.default)("selection-change", {
|
1160
|
+
detail: {
|
1161
|
+
items: {
|
1162
|
+
type: Array
|
1163
|
+
}
|
1279
1164
|
}
|
1280
|
-
}
|
1165
|
+
})], MultiComboBox);
|
1281
1166
|
MultiComboBox.define();
|
1282
1167
|
var _default = MultiComboBox;
|
1283
1168
|
_exports.default = _default;
|