@openui5/sap.ui.webc.main 1.96.2 → 1.97.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 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +2 -2
- package/src/sap/ui/webc/main/AvatarGroup.js +1 -1
- package/src/sap/ui/webc/main/Badge.js +1 -1
- package/src/sap/ui/webc/main/Breadcrumbs.js +4 -4
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +4 -4
- package/src/sap/ui/webc/main/BusyIndicator.js +1 -1
- package/src/sap/ui/webc/main/Button.js +3 -3
- package/src/sap/ui/webc/main/Calendar.js +4 -4
- package/src/sap/ui/webc/main/CalendarDate.js +1 -1
- package/src/sap/ui/webc/main/Card.js +17 -1
- package/src/sap/ui/webc/main/CardHeader.js +4 -4
- package/src/sap/ui/webc/main/Carousel.js +1 -1
- package/src/sap/ui/webc/main/CheckBox.js +1 -1
- package/src/sap/ui/webc/main/ColorPalette.js +4 -4
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +112 -0
- package/src/sap/ui/webc/main/ColorPicker.js +3 -3
- package/src/sap/ui/webc/main/ComboBox.js +4 -4
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +4 -4
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +1 -1
- package/src/sap/ui/webc/main/DatePicker.js +5 -5
- package/src/sap/ui/webc/main/DateRangePicker.js +3 -3
- package/src/sap/ui/webc/main/DateTimePicker.js +4 -6
- package/src/sap/ui/webc/main/Dialog.js +1 -1
- package/src/sap/ui/webc/main/FileUploader.js +2 -2
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +1 -1
- package/src/sap/ui/webc/main/Input.js +6 -27
- package/src/sap/ui/webc/main/Label.js +2 -2
- package/src/sap/ui/webc/main/Link.js +2 -2
- package/src/sap/ui/webc/main/List.js +5 -6
- package/src/sap/ui/webc/main/MessageStrip.js +2 -2
- package/src/sap/ui/webc/main/MultiComboBox.js +4 -6
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +6 -27
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +5 -4
- package/src/sap/ui/webc/main/Popover.js +1 -1
- package/src/sap/ui/webc/main/ProgressIndicator.js +14 -1
- package/src/sap/ui/webc/main/RadioButton.js +1 -1
- package/src/sap/ui/webc/main/RangeSlider.js +15 -17
- package/src/sap/ui/webc/main/RatingIndicator.js +4 -4
- package/src/sap/ui/webc/main/ResponsivePopover.js +1 -1
- package/src/sap/ui/webc/main/SegmentedButton.js +1 -1
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +5 -5
- package/src/sap/ui/webc/main/Select.js +1 -1
- package/src/sap/ui/webc/main/Slider.js +20 -20
- package/src/sap/ui/webc/main/StandardListItem.js +1 -1
- package/src/sap/ui/webc/main/StepInput.js +1 -1
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +4 -4
- package/src/sap/ui/webc/main/SuggestionItem.js +2 -2
- package/src/sap/ui/webc/main/Switch.js +5 -5
- package/src/sap/ui/webc/main/Tab.js +1 -1
- package/src/sap/ui/webc/main/TabContainer.js +1 -1
- package/src/sap/ui/webc/main/TabSeparator.js +1 -1
- package/src/sap/ui/webc/main/Table.js +1 -1
- package/src/sap/ui/webc/main/TableCell.js +1 -1
- package/src/sap/ui/webc/main/TableColumn.js +1 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +5 -5
- package/src/sap/ui/webc/main/TableRow.js +5 -5
- package/src/sap/ui/webc/main/TextArea.js +5 -5
- package/src/sap/ui/webc/main/TimePicker.js +3 -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 +3 -3
- package/src/sap/ui/webc/main/Token.js +2 -2
- package/src/sap/ui/webc/main/Tree.js +29 -1
- package/src/sap/ui/webc/main/TreeItem.js +1 -1
- package/src/sap/ui/webc/main/library.js +16 -12
- package/src/sap/ui/webc/main/thirdparty/Assets.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +8 -11
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +6 -7
- package/src/sap/ui/webc/main/thirdparty/Badge.js +11 -6
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +6 -4
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/Button.js +3 -4
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +73 -2
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +17 -55
- package/src/sap/ui/webc/main/thirdparty/Card.js +13 -9
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +16 -11
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +8 -7
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +31 -6
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +161 -12
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +14 -4
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +110 -0
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +10 -1
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +146 -57
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +7 -6
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +9 -4
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +11 -4
- package/src/sap/ui/webc/main/thirdparty/DurationPicker.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +14 -9
- package/src/sap/ui/webc/main/thirdparty/GroupHeaderListItem.js +5 -8
- package/src/sap/ui/webc/main/thirdparty/Icon.js +14 -11
- package/src/sap/ui/webc/main/thirdparty/Input.js +68 -39
- package/src/sap/ui/webc/main/thirdparty/Link.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/List.js +41 -12
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +13 -8
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +189 -59
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Panel.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/Popover.js +52 -31
- package/src/sap/ui/webc/main/thirdparty/Popup.js +14 -25
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +8 -7
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +35 -7
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +6 -7
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +3 -4
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +5 -23
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Select.js +53 -47
- package/src/sap/ui/webc/main/thirdparty/Slider.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +4 -9
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +3 -4
- package/src/sap/ui/webc/main/thirdparty/Switch.js +5 -6
- package/src/sap/ui/webc/main/thirdparty/Tab.js +12 -2
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +12 -5
- package/src/sap/ui/webc/main/thirdparty/Table.js +8 -6
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +4 -8
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +11 -10
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +9 -6
- package/src/sap/ui/webc/main/thirdparty/TimeSelection.js +8 -9
- package/src/sap/ui/webc/main/thirdparty/Toast.js +5 -0
- package/src/sap/ui/webc/main/thirdparty/Token.js +2 -6
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +12 -14
- package/src/sap/ui/webc/main/thirdparty/Tree.js +18 -0
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +12 -15
- package/src/sap/ui/webc/main/thirdparty/YearPicker.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/AvatarGroup.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/BreadcrumbsPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.ie11.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Carousel.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalette.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPaletteStaticArea.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBoxPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateRangePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/FileUploader.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GroupHeaderListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Icon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/InvisibleTextStyles.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Label.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Link.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popup.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupGlobal.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupStaticAreaStyles.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tab.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableCell.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TapHighlightColor.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ToggleButton.ie11.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tree.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TreeListItem.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/ColorPaletteMoreColors.js +6 -6
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +20 -15
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +8 -1
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +10 -8
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +47 -47
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +8 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +6 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +12 -9
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +9 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +6 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +2 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +2 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.ie11.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Carousel.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalette.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteStaticArea.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBoxPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateRangePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Icon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InvisibleTextStyles.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Label.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popup.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupStaticAreaStyles.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tab.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TapHighlightColor.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Title.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ToggleButton.ie11.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tree.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-7754de1c.js → messagebundle_ar-f610ffe9.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-041345aa.js → messagebundle_bg-e372ad7a.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-df38eb0b.js → messagebundle_ca-64403819.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-51d17321.js → messagebundle_cs-f5276d1f.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-cc129f0c.js → messagebundle_cy-5b51959f.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-bc87b599.js → messagebundle_da-3f0c542a.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-518b0a75.js → messagebundle_de-ff52e292.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-9686b145.js → messagebundle_el-8a8f0e04.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-57ad19b6.js → messagebundle_en-39f79920.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-588d53e3.js → messagebundle_en_GB-9a6995bc.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-e370df7b.js → messagebundle_en_US_sappsd-1cd6f946.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-adf0ddb3.js → messagebundle_en_US_saprigi-88214efb.js} +10 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-261422e2.js → messagebundle_en_US_saptrc-d8b4cc37.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-ec258b44.js → messagebundle_es-4e7804b3.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-5f113e73.js → messagebundle_es_MX-5d55637e.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-901c732b.js → messagebundle_et-d019447e.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-0a2a6323.js → messagebundle_fi-115f5a0c.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-5df8899a.js → messagebundle_fr-f4458a8c.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-0de6a568.js → messagebundle_fr_CA-d3ac2579.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-13e67957.js → messagebundle_hi-3dbf5206.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-93fbc1d1.js → messagebundle_hr-3112e358.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-dd94c35e.js → messagebundle_hu-90f77b24.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-0c46ce25.js → messagebundle_it-4fd2c566.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-946df0a2.js → messagebundle_iw-ff53b57b.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-9cb333bb.js → messagebundle_ja-050a69c3.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-239d7820.js → messagebundle_kk-597a9724.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-6f09e984.js → messagebundle_ko-d840efd8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-2d4f9935.js → messagebundle_lt-d15c1526.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-d73bf0c0.js → messagebundle_lv-539ad33e.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-9b4b2929.js → messagebundle_ms-98b3e6dd.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-55193168.js → messagebundle_nl-5c52e887.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-7f4a6832.js → messagebundle_no-04ee2aaf.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-89c36a34.js → messagebundle_pl-6da30702.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-b87f9645.js → messagebundle_pt-71f281c3.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-0e8230b0.js → messagebundle_pt_PT-6d966418.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-83e7f44d.js → messagebundle_ro-e76a9c5d.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-befd37d0.js → messagebundle_ru-dc34dd79.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-4edec182.js → messagebundle_sh-f2171ee6.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-29160489.js → messagebundle_sk-5c10a3c8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-fd9ba370.js → messagebundle_sl-14cff3cf.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-57bfda52.js → messagebundle_sv-44a9e5d4.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-184c45a0.js → messagebundle_th-6cbca7a8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-d5781fbb.js → messagebundle_tr-00ce0f94.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-e49bb47f.js → messagebundle_uk-bf2de1c7.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-ce27847a.js → messagebundle_vi-a0de6aa8.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-bdbfb1bd.js → messagebundle_zh_CN-7cbf9197.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-ca1de535.js → messagebundle_zh_TW-53705d5b.js} +7 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-0f28e359.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-1ee56435.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4d4cd873.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-5bdedee7.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-60d672db.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-793a420b.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7c549d8f.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7e5617d6.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e75a0bfb.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-09f8e92d.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-19666884.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-8e7c6ad9.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb713657.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dd8f2f47.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e3a31f8e.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e44b2b84.js +0 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['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', './MultiComboBoxItem', './Tokenizer', './Token', './Icon', './Popover', './ResponsivePopover', './List', './StandardListItem', './ToggleButton', './ComboBoxFilters-f59100bd', './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'], function (UI5Element, litRender, ResizeHandler, ValueState, Keys, Integer, slimArrowDown, Device, i18nBundle, decline, multiselectAll, MultiComboBoxItem, Tokenizer, Token, Icon, Popover, ResponsivePopover, List, StandardListItem, ToggleButton, ComboBoxFilters, Button, i18nDefaults, MultiComboBoxTemplate_lit, MultiComboBoxPopoverTemplate_lit, MultiComboBox_css, ResponsivePopoverCommon_css, ValueStateMessage_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['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', './MultiComboBoxItem', './Tokenizer', './Token', './Icon', './Popover', './ResponsivePopover', './List', './StandardListItem', './ToggleButton', './ComboBoxFilters-f59100bd', './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'], function (UI5Element, litRender, ResizeHandler, ValueState, Keys, Integer, slimArrowDown, Device, i18nBundle, decline, multiselectAll, MultiComboBoxItem, Tokenizer, Token, Icon, Popover, ResponsivePopover, List, StandardListItem, ToggleButton, ComboBoxFilters, Button, i18nDefaults, MultiComboBoxTemplate_lit, MultiComboBoxPopoverTemplate_lit, MultiComboBox_css, ResponsivePopoverCommon_css, ValueStateMessage_css, Suggestions_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -82,6 +82,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
82
82
|
defaultValue: 0,
|
|
83
83
|
noAttribute: true,
|
|
84
84
|
},
|
|
85
|
+
_performingSelectionTwice: {
|
|
86
|
+
type: Boolean,
|
|
87
|
+
},
|
|
85
88
|
},
|
|
86
89
|
events: {
|
|
87
90
|
change: {},
|
|
@@ -111,7 +114,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
111
114
|
return MultiComboBox_css;
|
|
112
115
|
}
|
|
113
116
|
static get staticAreaStyles() {
|
|
114
|
-
return [ResponsivePopoverCommon_css, ValueStateMessage_css];
|
|
117
|
+
return [ResponsivePopoverCommon_css, ValueStateMessage_css, Suggestions_css];
|
|
115
118
|
}
|
|
116
119
|
static get dependencies() {
|
|
117
120
|
return [
|
|
@@ -132,9 +135,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
132
135
|
this._filteredItems = [];
|
|
133
136
|
this.selectedValues = [];
|
|
134
137
|
this._inputLastValue = "";
|
|
138
|
+
this._valueBeforeOpen = "";
|
|
135
139
|
this._deleting = false;
|
|
136
140
|
this._validationTimeout = null;
|
|
137
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
138
141
|
this._handleResizeBound = this._handleResize.bind(this);
|
|
139
142
|
}
|
|
140
143
|
onEnterDOM() {
|
|
@@ -149,28 +152,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
149
152
|
_inputChange() {
|
|
150
153
|
this.fireEvent("change");
|
|
151
154
|
}
|
|
152
|
-
_showMorePopover() {
|
|
153
|
-
this.filterSelected = true;
|
|
154
|
-
this._toggleRespPopover();
|
|
155
|
-
}
|
|
156
155
|
togglePopover() {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
this.
|
|
156
|
+
this.allItemsPopover.toggle(this);
|
|
157
|
+
}
|
|
158
|
+
_showFilteredItems() {
|
|
159
|
+
this.filterSelected = true;
|
|
160
|
+
this._showMorePressed = true;
|
|
161
|
+
this.togglePopover();
|
|
161
162
|
}
|
|
162
163
|
filterSelectedItems(event) {
|
|
163
|
-
if (this.allItemsSelected) {
|
|
164
|
-
this.filterSelected = true;
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
164
|
this.filterSelected = event.target.pressed;
|
|
165
|
+
this.selectedItems = this._filteredItems.filter(item => item.selected);
|
|
168
166
|
}
|
|
169
167
|
get _showAllItemsButtonPressed() {
|
|
170
|
-
return this.filterSelected
|
|
171
|
-
}
|
|
172
|
-
get allItemsSelected() {
|
|
173
|
-
return this.items.length === this.selectedValues.length;
|
|
168
|
+
return this.filterSelected;
|
|
174
169
|
}
|
|
175
170
|
get _inputDom() {
|
|
176
171
|
return this.shadowRoot.querySelector("#ui5-multi-combobox-input");
|
|
@@ -180,6 +175,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
180
175
|
const value = input.value;
|
|
181
176
|
const filteredItems = this._filterItems(value);
|
|
182
177
|
const oldValueState = this.valueState;
|
|
178
|
+
if (this.filterSelected) {
|
|
179
|
+
this.filterSelected = false;
|
|
180
|
+
}
|
|
183
181
|
const skipFiring = (this._inputDom.value === this.value) && Device.isIE() && !this._keyDown && !!this.placeholder;
|
|
184
182
|
if (skipFiring) {
|
|
185
183
|
event.preventDefault();
|
|
@@ -192,10 +190,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
192
190
|
if (!filteredItems.length && value && !this.allowCustomValues) {
|
|
193
191
|
input.value = this._inputLastValue;
|
|
194
192
|
this.valueState = "Error";
|
|
195
|
-
this.
|
|
196
|
-
this.valueState = oldValueState;
|
|
197
|
-
this._validationTimeout = null;
|
|
198
|
-
}, 2000);
|
|
193
|
+
this._resetValueState(oldValueState);
|
|
199
194
|
return;
|
|
200
195
|
}
|
|
201
196
|
this._inputLastValue = input.value;
|
|
@@ -258,21 +253,95 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
258
253
|
}
|
|
259
254
|
if (Keys.isShow(event) && !this.readonly && !this.disabled) {
|
|
260
255
|
event.preventDefault();
|
|
261
|
-
this.
|
|
256
|
+
this.togglePopover();
|
|
262
257
|
}
|
|
263
|
-
if (Keys.
|
|
264
|
-
|
|
265
|
-
await this._getList();
|
|
266
|
-
const firstListItem = this.list.items[0];
|
|
267
|
-
this.list._itemNavigation.setCurrentItem(firstListItem);
|
|
268
|
-
firstListItem.focus();
|
|
258
|
+
if (this.open && (Keys.isUp(event) || Keys.isDown(event))) {
|
|
259
|
+
this._handleArrowNavigation(event);
|
|
269
260
|
}
|
|
270
261
|
if (Keys.isBackSpace(event) && event.target.value === "") {
|
|
271
262
|
event.preventDefault();
|
|
272
263
|
this._tokenizer._focusLastToken();
|
|
273
264
|
}
|
|
265
|
+
if (Keys.isEscape(event) && (!this.allowCustomValues || (!this.open && this.allowCustomValues))) {
|
|
266
|
+
this.value = this._lastValue;
|
|
267
|
+
}
|
|
268
|
+
if (Keys.isEnter(event)) {
|
|
269
|
+
this.handleEnter();
|
|
270
|
+
}
|
|
274
271
|
this._keyDown = true;
|
|
275
272
|
}
|
|
273
|
+
_onValueStateKeydown(event) {
|
|
274
|
+
const isArrowDown = Keys.isDown(event);
|
|
275
|
+
const isArrowUp = Keys.isUp(event);
|
|
276
|
+
event.preventDefault();
|
|
277
|
+
if (isArrowDown) {
|
|
278
|
+
this._handleArrowDown(event);
|
|
279
|
+
}
|
|
280
|
+
if (isArrowUp) {
|
|
281
|
+
this._inputDom.focus();
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
_onItemKeydown(event) {
|
|
285
|
+
const isFirstItem = this.list.items[0] === event.target;
|
|
286
|
+
event.preventDefault();
|
|
287
|
+
if (!Keys.isUp(event) || !isFirstItem) {
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
if (this.valueStateHeader) {
|
|
291
|
+
this.valueStateHeader.focus();
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
this._inputDom.focus();
|
|
295
|
+
}
|
|
296
|
+
async _handleArrowNavigation(event) {
|
|
297
|
+
const isArrowDown = Keys.isDown(event);
|
|
298
|
+
const hasSuggestions = this.allItemsPopover.opened && this.items.length;
|
|
299
|
+
event.preventDefault();
|
|
300
|
+
if (this.hasValueStateMessage && !this.valueStateHeader) {
|
|
301
|
+
await this._setValueStateHeader();
|
|
302
|
+
}
|
|
303
|
+
if (isArrowDown && this.focused && this.valueStateHeader) {
|
|
304
|
+
this.valueStateHeader.focus();
|
|
305
|
+
return;
|
|
306
|
+
}
|
|
307
|
+
if (isArrowDown && this.focused && hasSuggestions) {
|
|
308
|
+
this._handleArrowDown(event);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
_handleArrowDown(event) {
|
|
312
|
+
const firstListItem = this.list.items[0];
|
|
313
|
+
this.list._itemNavigation.setCurrentItem(firstListItem);
|
|
314
|
+
firstListItem.focus();
|
|
315
|
+
}
|
|
316
|
+
handleEnter() {
|
|
317
|
+
const lowerCaseValue = this.value.toLowerCase();
|
|
318
|
+
const matchingItem = this.items.find(item => item.text.toLowerCase() === lowerCaseValue);
|
|
319
|
+
const oldValueState = this.valueState;
|
|
320
|
+
if (matchingItem) {
|
|
321
|
+
if (matchingItem.selected) {
|
|
322
|
+
if (this._validationTimeout) {
|
|
323
|
+
return;
|
|
324
|
+
}
|
|
325
|
+
this.valueState = "Error";
|
|
326
|
+
this._performingSelectionTwice = true;
|
|
327
|
+
this._resetValueState(oldValueState, () => {
|
|
328
|
+
this._performingSelectionTwice = false;
|
|
329
|
+
});
|
|
330
|
+
} else {
|
|
331
|
+
matchingItem.selected = true;
|
|
332
|
+
this.value = "";
|
|
333
|
+
this.fireSelectionChange();
|
|
334
|
+
}
|
|
335
|
+
this.allItemsPopover.close();
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
_resetValueState(valueState, callback) {
|
|
339
|
+
this._validationTimeout = setTimeout(() => {
|
|
340
|
+
this.valueState = valueState;
|
|
341
|
+
this._validationTimeout = null;
|
|
342
|
+
callback && callback();
|
|
343
|
+
}, 2000);
|
|
344
|
+
}
|
|
276
345
|
_onTokenizerKeydown(event) {
|
|
277
346
|
if (Keys.isRight(event)) {
|
|
278
347
|
const lastTokenIndex = this._tokenizer.tokens.length - 1;
|
|
@@ -286,31 +355,44 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
286
355
|
_filterItems(str) {
|
|
287
356
|
return (ComboBoxFilters.Filters[this.filter] || ComboBoxFilters.StartsWithPerTerm)(str, this.items);
|
|
288
357
|
}
|
|
358
|
+
_afterOpenPicker() {
|
|
359
|
+
this._toggle();
|
|
360
|
+
if (!Device.isPhone()) {
|
|
361
|
+
this._innerInput.focus();
|
|
362
|
+
} else {
|
|
363
|
+
this.allItemsPopover.focus();
|
|
364
|
+
}
|
|
365
|
+
}
|
|
289
366
|
_toggle() {
|
|
290
367
|
this.open = !this.open;
|
|
291
368
|
this.fireEvent("open-change");
|
|
292
|
-
if (!this.open) {
|
|
293
|
-
this._afterClosePopover();
|
|
294
|
-
}
|
|
295
369
|
}
|
|
296
370
|
_getSelectedItems() {
|
|
297
371
|
this.selectedValues = this.items.filter(item => item.selected);
|
|
298
372
|
return this.selectedValues;
|
|
299
373
|
}
|
|
300
374
|
_listSelectionChange(event) {
|
|
301
|
-
event.target.items
|
|
375
|
+
this.syncItems(event.target.items);
|
|
376
|
+
if (!Device.isPhone()) {
|
|
377
|
+
this.fireSelectionChange();
|
|
378
|
+
}
|
|
379
|
+
if (!event.detail.selectionComponentPressed && !Keys.isSpace(event.detail)) {
|
|
380
|
+
this.allItemsPopover.close();
|
|
381
|
+
this.value = "";
|
|
382
|
+
if (Device.isPhone()) {
|
|
383
|
+
this.fireSelectionChange();
|
|
384
|
+
}
|
|
385
|
+
this.fireEvent("input");
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
syncItems(listItems) {
|
|
389
|
+
listItems.forEach(item => {
|
|
302
390
|
this.items.forEach(mcbItem => {
|
|
303
391
|
if (mcbItem._id === item.getAttribute("data-ui5-token-id")) {
|
|
304
392
|
mcbItem.selected = item.selected;
|
|
305
393
|
}
|
|
306
394
|
});
|
|
307
395
|
});
|
|
308
|
-
this.fireSelectionChange();
|
|
309
|
-
if (!event.detail.selectionComponentPressed && !Keys.isSpace(event.detail)) {
|
|
310
|
-
this.allItemsPopover.close();
|
|
311
|
-
this.value = "";
|
|
312
|
-
this.fireEvent("input");
|
|
313
|
-
}
|
|
314
396
|
}
|
|
315
397
|
fireSelectionChange() {
|
|
316
398
|
this.fireEvent("selection-change", { items: this._getSelectedItems() });
|
|
@@ -324,22 +406,32 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
324
406
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
325
407
|
this.list = staticAreaItem.querySelector(".ui5-multi-combobox-all-items-list");
|
|
326
408
|
}
|
|
327
|
-
_toggleRespPopover() {
|
|
328
|
-
this.allItemsPopover.toggle(this);
|
|
329
|
-
}
|
|
330
409
|
_click(event) {
|
|
331
|
-
if (Device.isPhone() && !this.readonly && !this._showMorePressed) {
|
|
410
|
+
if (Device.isPhone() && !this.readonly && !this._showMorePressed && !this._deleting) {
|
|
332
411
|
this.allItemsPopover.showAt(this);
|
|
333
412
|
}
|
|
334
413
|
this._showMorePressed = false;
|
|
335
414
|
}
|
|
336
|
-
|
|
415
|
+
_afterClosePicker() {
|
|
337
416
|
if (Device.isPhone()) {
|
|
338
417
|
this.blur();
|
|
339
418
|
}
|
|
419
|
+
this._toggle();
|
|
340
420
|
this._iconPressed = false;
|
|
341
421
|
this.filterSelected = false;
|
|
342
422
|
}
|
|
423
|
+
_beforeOpen() {
|
|
424
|
+
this._itemsBeforeOpen = this.items.map(item => {
|
|
425
|
+
return {
|
|
426
|
+
ref: item,
|
|
427
|
+
selected: item.selected,
|
|
428
|
+
};
|
|
429
|
+
});
|
|
430
|
+
this._valueBeforeOpen = this.value;
|
|
431
|
+
if (this.filterSelected) {
|
|
432
|
+
this.selectedItems = this._filteredItems.filter(item => item.selected);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
343
435
|
onBeforeRendering() {
|
|
344
436
|
const input = this.shadowRoot.querySelector("input");
|
|
345
437
|
this._inputLastValue = this.value;
|
|
@@ -348,15 +440,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
348
440
|
}
|
|
349
441
|
const filteredItems = this._filterItems(this.value);
|
|
350
442
|
this._filteredItems = filteredItems;
|
|
351
|
-
if (Device.isPhone() && this.allItemsPopover && this.allItemsPopover.opened) {
|
|
352
|
-
this.allItemsPopover.focus();
|
|
353
|
-
}
|
|
354
443
|
}
|
|
355
444
|
async onAfterRendering() {
|
|
356
445
|
await this._getRespPopover();
|
|
357
446
|
await this._getList();
|
|
358
447
|
this.toggle(this.shouldDisplayOnlyValueStateMessage);
|
|
359
448
|
this.storeResponsivePopoverWidth();
|
|
449
|
+
this._deleting = false;
|
|
360
450
|
}
|
|
361
451
|
get _isPhone() {
|
|
362
452
|
return Device.isPhone();
|
|
@@ -376,12 +466,28 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
376
466
|
this.closePopover();
|
|
377
467
|
}
|
|
378
468
|
}
|
|
469
|
+
handleCancel() {
|
|
470
|
+
this._itemsBeforeOpen.forEach(item => {
|
|
471
|
+
item.ref.selected = item.selected;
|
|
472
|
+
});
|
|
473
|
+
this.togglePopover();
|
|
474
|
+
this.value = this._valueBeforeOpen;
|
|
475
|
+
}
|
|
476
|
+
handleOK() {
|
|
477
|
+
if (Device.isPhone()) {
|
|
478
|
+
this.fireSelectionChange();
|
|
479
|
+
}
|
|
480
|
+
this.togglePopover();
|
|
481
|
+
}
|
|
379
482
|
async openPopover() {
|
|
380
483
|
const popover = await this._getPopover();
|
|
381
484
|
if (popover) {
|
|
382
485
|
popover.showAt(this);
|
|
383
486
|
}
|
|
384
487
|
}
|
|
488
|
+
_forwardFocusToInner() {
|
|
489
|
+
this._innerInput.focus();
|
|
490
|
+
}
|
|
385
491
|
async closePopover() {
|
|
386
492
|
const popover = await this._getPopover();
|
|
387
493
|
popover && popover.close();
|
|
@@ -390,24 +496,38 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
390
496
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
391
497
|
return staticAreaItem.querySelector("[ui5-popover]");
|
|
392
498
|
}
|
|
499
|
+
async _getResponsivePopover() {
|
|
500
|
+
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
501
|
+
return staticAreaItem.querySelector("[ui5-responsive-popover]");
|
|
502
|
+
}
|
|
503
|
+
async _setValueStateHeader() {
|
|
504
|
+
const responsivePopover = await this._getResponsivePopover();
|
|
505
|
+
this.valueStateHeader = responsivePopover.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root");
|
|
506
|
+
}
|
|
393
507
|
get _tokenizer() {
|
|
394
508
|
return this.shadowRoot.querySelector("[ui5-tokenizer]");
|
|
395
509
|
}
|
|
396
510
|
inputFocusIn() {
|
|
397
511
|
if (!Device.isPhone()) {
|
|
398
512
|
this.focused = true;
|
|
513
|
+
} else {
|
|
514
|
+
this._innerInput.blur();
|
|
399
515
|
}
|
|
516
|
+
this._lastValue = this.value;
|
|
400
517
|
}
|
|
401
518
|
inputFocusOut(event) {
|
|
402
519
|
if (!this.shadowRoot.contains(event.relatedTarget) && !this._deleting) {
|
|
403
520
|
this.focused = false;
|
|
521
|
+
if (!Device.isPhone() && !this.allowCustomValues && (this.staticAreaItem !== event.relatedTarget)) {
|
|
522
|
+
this.value = "";
|
|
523
|
+
}
|
|
404
524
|
}
|
|
405
525
|
}
|
|
406
526
|
get editable() {
|
|
407
527
|
return !this.readonly;
|
|
408
528
|
}
|
|
409
529
|
get _isFocusInside() {
|
|
410
|
-
return this.focused || this._tokenizerFocused;
|
|
530
|
+
return !Device.isPhone() && (this.focused || this._tokenizerFocused);
|
|
411
531
|
}
|
|
412
532
|
get selectedItemsListMode() {
|
|
413
533
|
return this.readonly ? "None" : "MultiSelect";
|
|
@@ -422,7 +542,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
422
542
|
return this.hasValueState && this.valueState !== ValueState__default.Success;
|
|
423
543
|
}
|
|
424
544
|
get valueStateText() {
|
|
425
|
-
|
|
545
|
+
let key = this.valueState;
|
|
546
|
+
if (this._performingSelectionTwice) {
|
|
547
|
+
key = "Error_Selection";
|
|
548
|
+
}
|
|
549
|
+
return this.valueStateTextMappings[key];
|
|
426
550
|
}
|
|
427
551
|
get valueStateTextId() {
|
|
428
552
|
return this.hasValueState ? `${this._id}-valueStateDesc` : undefined;
|
|
@@ -450,9 +574,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
450
574
|
}
|
|
451
575
|
get valueStateTextMappings() {
|
|
452
576
|
return {
|
|
453
|
-
"Success":
|
|
454
|
-
"Error":
|
|
455
|
-
"
|
|
577
|
+
"Success": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
|
|
578
|
+
"Error": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
|
|
579
|
+
"Error_Selection": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR_ALREADY_SELECTED),
|
|
580
|
+
"Warning": MultiComboBox.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
|
|
456
581
|
};
|
|
457
582
|
}
|
|
458
583
|
get _innerInput() {
|
|
@@ -464,21 +589,27 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
464
589
|
return this.getDomRef().querySelector("#ui5-multi-combobox-input");
|
|
465
590
|
}
|
|
466
591
|
get _headerTitleText() {
|
|
467
|
-
return
|
|
592
|
+
return MultiComboBox.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_TITLE);
|
|
468
593
|
}
|
|
469
594
|
get _iconAccessibleNameText() {
|
|
470
|
-
return
|
|
595
|
+
return MultiComboBox.i18nBundle.getText(i18nDefaults.SELECT_OPTIONS);
|
|
471
596
|
}
|
|
472
597
|
get _dialogOkButton() {
|
|
473
|
-
return
|
|
598
|
+
return MultiComboBox.i18nBundle.getText(i18nDefaults.MULTICOMBOBOX_DIALOG_OK_BUTTON);
|
|
474
599
|
}
|
|
475
600
|
get _tokenizerExpanded() {
|
|
476
601
|
return (this._isFocusInside || this.open) && !this.readonly;
|
|
477
602
|
}
|
|
478
603
|
get classes() {
|
|
479
604
|
return {
|
|
605
|
+
popover: {
|
|
606
|
+
"ui5-multi-combobox-all-items-responsive-popover": true,
|
|
607
|
+
"ui5-suggestions-popover": !this.isPhone,
|
|
608
|
+
"ui5-suggestions-popover-with-value-state-header": !this.isPhone && this.hasValueStateMessage,
|
|
609
|
+
},
|
|
480
610
|
popoverValueState: {
|
|
481
611
|
"ui5-valuestatemessage-root": true,
|
|
612
|
+
"ui5-valuestatemessage-header": true,
|
|
482
613
|
"ui5-valuestatemessage--success": this.valueState === ValueState__default.Success,
|
|
483
614
|
"ui5-valuestatemessage--error": this.valueState === ValueState__default.Error,
|
|
484
615
|
"ui5-valuestatemessage--warning": this.valueState === ValueState__default.Warning,
|
|
@@ -491,15 +622,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
491
622
|
popoverValueStateMessage: {
|
|
492
623
|
"width": `${this._listWidth}px`,
|
|
493
624
|
"display": this._listWidth === 0 ? "none" : "inline-block",
|
|
494
|
-
"padding": "0.9125rem 1rem",
|
|
495
625
|
},
|
|
496
626
|
popoverHeader: {
|
|
497
|
-
"max-width": `${this._inputWidth}px`,
|
|
627
|
+
"max-width": Device.isPhone() ? "100%" : `${this._inputWidth}px`,
|
|
498
628
|
},
|
|
499
629
|
};
|
|
500
630
|
}
|
|
501
631
|
static async onDefine() {
|
|
502
|
-
await i18nBundle.
|
|
632
|
+
MultiComboBox.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
503
633
|
}
|
|
504
634
|
}
|
|
505
635
|
MultiComboBox.define();
|
|
@@ -165,7 +165,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/u
|
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
167
|
get ariaRoleDescription() {
|
|
168
|
-
return
|
|
168
|
+
return MultiInput.i18nBundle.getText(i18nDefaults.MULTIINPUT_ROLEDESCRIPTION_TEXT);
|
|
169
169
|
}
|
|
170
170
|
static get dependencies() {
|
|
171
171
|
return [
|
|
@@ -85,7 +85,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
85
85
|
constructor() {
|
|
86
86
|
super();
|
|
87
87
|
this._header = {};
|
|
88
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
89
88
|
}
|
|
90
89
|
onBeforeRendering() {
|
|
91
90
|
if (!this._animationRunning) {
|
|
@@ -173,7 +172,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
173
172
|
};
|
|
174
173
|
}
|
|
175
174
|
get toggleButtonTitle() {
|
|
176
|
-
return
|
|
175
|
+
return Panel.i18nBundle.getText(i18nDefaults.PANEL_ICON);
|
|
177
176
|
}
|
|
178
177
|
get expanded() {
|
|
179
178
|
return !this.collapsed;
|
|
@@ -230,7 +229,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
230
229
|
return [Button];
|
|
231
230
|
}
|
|
232
231
|
static async onDefine() {
|
|
233
|
-
await i18nBundle.
|
|
232
|
+
Panel.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
234
233
|
}
|
|
235
234
|
}
|
|
236
235
|
Panel.define();
|
|
@@ -54,7 +54,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
54
54
|
type: PopoverPlacementType,
|
|
55
55
|
defaultValue: PopoverPlacementType.Right,
|
|
56
56
|
},
|
|
57
|
-
_maxContentHeight: {
|
|
57
|
+
_maxContentHeight: {
|
|
58
|
+
type: Integer__default,
|
|
59
|
+
noAttribute: true,
|
|
60
|
+
},
|
|
61
|
+
_maxContentWidth: {
|
|
62
|
+
type: Integer__default,
|
|
63
|
+
noAttribute: true,
|
|
64
|
+
},
|
|
58
65
|
},
|
|
59
66
|
managedSlots: true,
|
|
60
67
|
slots: {
|
|
@@ -82,7 +89,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
82
89
|
static get template() {
|
|
83
90
|
return PopoverTemplate_lit;
|
|
84
91
|
}
|
|
85
|
-
static get
|
|
92
|
+
static get VIEWPORT_MARGIN() {
|
|
86
93
|
return 10;
|
|
87
94
|
}
|
|
88
95
|
onEnterDOM() {
|
|
@@ -159,40 +166,47 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
159
166
|
if (this._preventRepositionAndClose) {
|
|
160
167
|
return this.close();
|
|
161
168
|
}
|
|
162
|
-
if (this._oldPlacement && (this._oldPlacement.left === placement.left) && (this._oldPlacement.top === placement.top) && stretching) {
|
|
163
|
-
super._show();
|
|
164
|
-
this.style.width = this._width;
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
169
|
this._oldPlacement = placement;
|
|
168
|
-
|
|
170
|
+
this.actualPlacementType = placement.placementType;
|
|
171
|
+
let left = clamp__default(
|
|
169
172
|
this._left,
|
|
170
|
-
Popover.
|
|
171
|
-
document.documentElement.clientWidth - popoverSize.width - Popover.
|
|
173
|
+
Popover.VIEWPORT_MARGIN,
|
|
174
|
+
document.documentElement.clientWidth - popoverSize.width - Popover.VIEWPORT_MARGIN,
|
|
172
175
|
);
|
|
173
|
-
|
|
176
|
+
if (this.actualPlacementType === PopoverPlacementType.Right) {
|
|
177
|
+
left = Math.max(left, this._left);
|
|
178
|
+
}
|
|
179
|
+
let top = clamp__default(
|
|
174
180
|
this._top,
|
|
175
|
-
Popover.
|
|
176
|
-
document.documentElement.clientHeight - popoverSize.height - Popover.
|
|
181
|
+
Popover.VIEWPORT_MARGIN,
|
|
182
|
+
document.documentElement.clientHeight - popoverSize.height - Popover.VIEWPORT_MARGIN,
|
|
177
183
|
);
|
|
184
|
+
if (this.actualPlacementType === PopoverPlacementType.Bottom) {
|
|
185
|
+
top = Math.max(top, this._top);
|
|
186
|
+
}
|
|
178
187
|
let { arrowX, arrowY } = placement;
|
|
179
|
-
const
|
|
180
|
-
|
|
181
|
-
if (
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
188
|
+
const isVertical = this.actualPlacementType === PopoverPlacementType.Top
|
|
189
|
+
|| this.actualPlacementType === PopoverPlacementType.Bottom;
|
|
190
|
+
if (isVertical) {
|
|
191
|
+
const popoverOnLeftBorderOffset = Popover.VIEWPORT_MARGIN - this._left;
|
|
192
|
+
const popoverOnRightBorderOffset = this._left + popoverSize.width + Popover.VIEWPORT_MARGIN - document.documentElement.clientWidth;
|
|
193
|
+
if (popoverOnLeftBorderOffset > 0) {
|
|
194
|
+
arrowX -= popoverOnLeftBorderOffset;
|
|
195
|
+
} else if (popoverOnRightBorderOffset > 0) {
|
|
196
|
+
arrowX += popoverOnRightBorderOffset;
|
|
197
|
+
}
|
|
185
198
|
}
|
|
186
|
-
this.arrowTranslateX = arrowX;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
199
|
+
this.arrowTranslateX = Math.round(arrowX);
|
|
200
|
+
if (!isVertical) {
|
|
201
|
+
const popoverOnTopBorderOffset = Popover.VIEWPORT_MARGIN - this._top;
|
|
202
|
+
const popoverOnBottomBorderOffset = this._top + popoverSize.height + Popover.VIEWPORT_MARGIN - document.documentElement.clientHeight;
|
|
203
|
+
if (popoverOnTopBorderOffset > 0) {
|
|
204
|
+
arrowY -= popoverOnTopBorderOffset;
|
|
205
|
+
} else if (popoverOnBottomBorderOffset > 0) {
|
|
206
|
+
arrowY += popoverOnBottomBorderOffset;
|
|
207
|
+
}
|
|
193
208
|
}
|
|
194
|
-
this.arrowTranslateY = arrowY;
|
|
195
|
-
this.actualPlacementType = placement.placementType;
|
|
209
|
+
this.arrowTranslateY = Math.round(arrowY);
|
|
196
210
|
Object.assign(this.style, {
|
|
197
211
|
top: `${top}px`,
|
|
198
212
|
left: `${left}px`,
|
|
@@ -228,6 +242,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
228
242
|
const clientWidth = document.documentElement.clientWidth;
|
|
229
243
|
const clientHeight = document.documentElement.clientHeight;
|
|
230
244
|
let maxHeight = clientHeight;
|
|
245
|
+
let maxWidth = clientWidth;
|
|
231
246
|
let width = "";
|
|
232
247
|
let height = "";
|
|
233
248
|
const placementType = this.getActualPlacementType(targetRect, popoverSize);
|
|
@@ -264,12 +279,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
264
279
|
case PopoverPlacementType.Left:
|
|
265
280
|
left = Math.max(targetRect.left - popoverSize.width - arrowOffset, 0);
|
|
266
281
|
top = this.getHorizontalTop(targetRect, popoverSize);
|
|
282
|
+
if (!allowTargetOverlap) {
|
|
283
|
+
maxWidth = targetRect.left - arrowOffset;
|
|
284
|
+
}
|
|
267
285
|
break;
|
|
268
286
|
case PopoverPlacementType.Right:
|
|
269
287
|
if (allowTargetOverlap) {
|
|
270
288
|
left = Math.max(Math.min(targetRect.left + targetRect.width + arrowOffset, clientWidth - popoverSize.width), 0);
|
|
271
289
|
} else {
|
|
272
290
|
left = targetRect.left + targetRect.width + arrowOffset;
|
|
291
|
+
maxWidth = clientWidth - targetRect.right - arrowOffset;
|
|
273
292
|
}
|
|
274
293
|
top = this.getHorizontalTop(targetRect, popoverSize);
|
|
275
294
|
break;
|
|
@@ -287,15 +306,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
287
306
|
top -= top + popoverSize.height - clientHeight;
|
|
288
307
|
}
|
|
289
308
|
}
|
|
290
|
-
let maxContentHeight =
|
|
309
|
+
let maxContentHeight = maxHeight;
|
|
291
310
|
if (this._displayHeader) {
|
|
292
311
|
const headerDomRef = this.shadowRoot.querySelector(".ui5-popup-header-root")
|
|
293
312
|
|| this.shadowRoot.querySelector(".ui5-popup-header-text");
|
|
294
313
|
if (headerDomRef) {
|
|
295
|
-
maxContentHeight =
|
|
314
|
+
maxContentHeight = maxHeight - headerDomRef.offsetHeight;
|
|
296
315
|
}
|
|
297
316
|
}
|
|
298
|
-
this._maxContentHeight = maxContentHeight - Popover.
|
|
317
|
+
this._maxContentHeight = Math.round(maxContentHeight - Popover.VIEWPORT_MARGIN);
|
|
318
|
+
this._maxContentWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);
|
|
299
319
|
const arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical);
|
|
300
320
|
if (this._left === undefined || Math.abs(this._left - left) > 1.5) {
|
|
301
321
|
this._left = Math.round(left);
|
|
@@ -426,6 +446,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
426
446
|
...super.styles,
|
|
427
447
|
content: {
|
|
428
448
|
"max-height": `${this._maxContentHeight}px`,
|
|
449
|
+
"max-width": `${this._maxContentWidth}px`,
|
|
429
450
|
},
|
|
430
451
|
arrow: {
|
|
431
452
|
transform: `translate(${this.arrowTranslateX}px, ${this.arrowTranslateY}px)`,
|