@openui5/sap.ui.webc.main 1.96.1 → 1.97.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +1 -1
- package/THIRDPARTY.txt +2 -1
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +2 -2
- package/src/sap/ui/webc/main/Avatar.js +3 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +2 -2
- package/src/sap/ui/webc/main/Badge.js +2 -2
- package/src/sap/ui/webc/main/Breadcrumbs.js +5 -5
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +5 -5
- package/src/sap/ui/webc/main/BusyIndicator.js +2 -2
- package/src/sap/ui/webc/main/Button.js +4 -4
- package/src/sap/ui/webc/main/Calendar.js +5 -5
- package/src/sap/ui/webc/main/CalendarDate.js +2 -2
- package/src/sap/ui/webc/main/Card.js +18 -2
- package/src/sap/ui/webc/main/CardHeader.js +5 -5
- package/src/sap/ui/webc/main/Carousel.js +2 -2
- package/src/sap/ui/webc/main/CheckBox.js +2 -2
- package/src/sap/ui/webc/main/ColorPalette.js +5 -5
- package/src/sap/ui/webc/main/ColorPaletteItem.js +2 -2
- package/src/sap/ui/webc/main/ColorPalettePopover.js +112 -0
- package/src/sap/ui/webc/main/ColorPicker.js +4 -4
- package/src/sap/ui/webc/main/ComboBox.js +5 -5
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +5 -5
- package/src/sap/ui/webc/main/ComboBoxItem.js +2 -2
- package/src/sap/ui/webc/main/CustomListItem.js +2 -2
- package/src/sap/ui/webc/main/DatePicker.js +6 -6
- package/src/sap/ui/webc/main/DateRangePicker.js +4 -4
- package/src/sap/ui/webc/main/DateTimePicker.js +5 -7
- package/src/sap/ui/webc/main/Dialog.js +2 -2
- package/src/sap/ui/webc/main/FileUploader.js +3 -3
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +2 -2
- package/src/sap/ui/webc/main/Icon.js +2 -2
- package/src/sap/ui/webc/main/Input.js +7 -28
- package/src/sap/ui/webc/main/Label.js +3 -3
- package/src/sap/ui/webc/main/Link.js +3 -3
- package/src/sap/ui/webc/main/List.js +6 -7
- package/src/sap/ui/webc/main/MessageStrip.js +3 -3
- package/src/sap/ui/webc/main/MultiComboBox.js +5 -7
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +2 -2
- package/src/sap/ui/webc/main/MultiInput.js +7 -28
- package/src/sap/ui/webc/main/Option.js +2 -2
- package/src/sap/ui/webc/main/Panel.js +6 -5
- package/src/sap/ui/webc/main/Popover.js +2 -2
- package/src/sap/ui/webc/main/ProgressIndicator.js +15 -2
- package/src/sap/ui/webc/main/RadioButton.js +2 -2
- package/src/sap/ui/webc/main/RangeSlider.js +16 -18
- package/src/sap/ui/webc/main/RatingIndicator.js +5 -5
- package/src/sap/ui/webc/main/ResponsivePopover.js +2 -2
- package/src/sap/ui/webc/main/SegmentedButton.js +2 -2
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +6 -6
- package/src/sap/ui/webc/main/Select.js +2 -2
- package/src/sap/ui/webc/main/Slider.js +21 -21
- package/src/sap/ui/webc/main/StandardListItem.js +2 -2
- package/src/sap/ui/webc/main/StepInput.js +2 -2
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +5 -5
- package/src/sap/ui/webc/main/SuggestionItem.js +3 -3
- package/src/sap/ui/webc/main/Switch.js +6 -6
- package/src/sap/ui/webc/main/Tab.js +2 -2
- package/src/sap/ui/webc/main/TabContainer.js +2 -2
- package/src/sap/ui/webc/main/TabSeparator.js +2 -2
- package/src/sap/ui/webc/main/Table.js +2 -2
- package/src/sap/ui/webc/main/TableCell.js +2 -2
- package/src/sap/ui/webc/main/TableColumn.js +2 -2
- package/src/sap/ui/webc/main/TableGroupRow.js +6 -6
- package/src/sap/ui/webc/main/TableRow.js +6 -6
- package/src/sap/ui/webc/main/TextArea.js +6 -6
- package/src/sap/ui/webc/main/TimePicker.js +4 -4
- package/src/sap/ui/webc/main/Title.js +2 -2
- package/src/sap/ui/webc/main/Toast.js +2 -2
- package/src/sap/ui/webc/main/ToggleButton.js +4 -4
- package/src/sap/ui/webc/main/Token.js +3 -3
- package/src/sap/ui/webc/main/Tree.js +30 -2
- package/src/sap/ui/webc/main/TreeItem.js +2 -2
- package/src/sap/ui/webc/main/library.js +17 -13
- 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
|
@@ -26,20 +26,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/i18nBundle', './ListItemBase'
|
|
|
26
26
|
static get styles() {
|
|
27
27
|
return [ListItemBase.styles, GroupHeaderListItem_css];
|
|
28
28
|
}
|
|
29
|
-
constructor() {
|
|
30
|
-
super();
|
|
31
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
32
|
-
}
|
|
33
29
|
get group() {
|
|
34
30
|
return true;
|
|
35
31
|
}
|
|
36
32
|
get groupHeaderText() {
|
|
37
|
-
return
|
|
33
|
+
return GroupHeaderListItem.i18nBundle.getText(i18nDefaults.GROUP_HEADER_TEXT);
|
|
34
|
+
}
|
|
35
|
+
get ariaLabelText() {
|
|
36
|
+
return [this.textContent, this.accessibleName].filter(Boolean).join(" ");
|
|
38
37
|
}
|
|
39
38
|
static async onDefine() {
|
|
40
|
-
await
|
|
41
|
-
i18nBundle.fetchI18nBundle("@ui5/webcomponents"),
|
|
42
|
-
]);
|
|
39
|
+
GroupHeaderListItem.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
43
40
|
}
|
|
44
41
|
}
|
|
45
42
|
GroupHeaderListItem.define();
|
|
@@ -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/asset-registries/Icons', 'sap/ui/webc/common/thirdparty/base/util/createStyleInHead', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/
|
|
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/asset-registries/Icons', 'sap/ui/webc/common/thirdparty/base/util/createStyleInHead', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/isLegacyBrowser', './generated/templates/IconTemplate.lit', './generated/themes/Icon.css'], function (UI5Element, litRender, Icons, createStyleInHead, i18nBundle, Keys, isLegacyBrowser, IconTemplate_lit, Icon_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -8,6 +8,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
8
8
|
var isLegacyBrowser__default = /*#__PURE__*/_interopDefaultLegacy(isLegacyBrowser);
|
|
9
9
|
|
|
10
10
|
const ICON_NOT_FOUND = "ICON_NOT_FOUND";
|
|
11
|
+
const PRESENTATION_ROLE = "presentation";
|
|
11
12
|
const metadata = {
|
|
12
13
|
tag: "ui5-icon",
|
|
13
14
|
languageAware: true,
|
|
@@ -94,11 +95,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
94
95
|
this.fireEvent("click");
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
this.fireEvent("click");
|
|
101
|
-
}
|
|
98
|
+
_onClickHandler(event) {
|
|
99
|
+
event.stopPropagation();
|
|
100
|
+
this.fireEvent("click");
|
|
102
101
|
}
|
|
103
102
|
get _dir() {
|
|
104
103
|
if (!this.effectiveDir) {
|
|
@@ -111,6 +110,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
111
110
|
}
|
|
112
111
|
get effectiveAriaHidden() {
|
|
113
112
|
if (this.ariaHidden === "") {
|
|
113
|
+
if (this.isDecorative) {
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
114
116
|
return;
|
|
115
117
|
}
|
|
116
118
|
return this.ariaHidden;
|
|
@@ -118,6 +120,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
118
120
|
get tabIndex() {
|
|
119
121
|
return this.interactive ? "0" : "-1";
|
|
120
122
|
}
|
|
123
|
+
get isDecorative() {
|
|
124
|
+
return this.effectiveAccessibleRole === PRESENTATION_ROLE;
|
|
125
|
+
}
|
|
121
126
|
get effectiveAccessibleRole() {
|
|
122
127
|
if (this.role) {
|
|
123
128
|
return this.role;
|
|
@@ -125,7 +130,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
125
130
|
if (this.interactive) {
|
|
126
131
|
return "button";
|
|
127
132
|
}
|
|
128
|
-
return this.effectiveAccessibleName ? "img" :
|
|
133
|
+
return this.effectiveAccessibleName ? "img" : PRESENTATION_ROLE;
|
|
129
134
|
}
|
|
130
135
|
static createGlobalStyle() {
|
|
131
136
|
if (isLegacyBrowser__default()) {
|
|
@@ -165,13 +170,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
165
170
|
this.accData = iconData.accData;
|
|
166
171
|
this.ltr = iconData.ltr;
|
|
167
172
|
this.packageName = iconData.packageName;
|
|
173
|
+
this._onclick = this.interactive ? this._onClickHandler.bind(this) : undefined;
|
|
168
174
|
if (this.accessibleName) {
|
|
169
175
|
this.effectiveAccessibleName = this.accessibleName;
|
|
170
176
|
} else if (this.accData) {
|
|
171
|
-
|
|
172
|
-
await i18n.fetchI18nBundle(this.packageName);
|
|
173
|
-
}
|
|
174
|
-
const i18nBundle$1 = i18nBundle.getI18nBundle(this.packageName);
|
|
177
|
+
const i18nBundle$1 = await i18nBundle.getI18nBundle(this.packageName);
|
|
175
178
|
this.effectiveAccessibleName = i18nBundle$1.getText(this.accData) || undefined;
|
|
176
179
|
}
|
|
177
180
|
}
|
|
@@ -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/
|
|
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/Device', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/util/Caret', 'sap/ui/webc/common/thirdparty/icons/decline', './types/InputType', './Popover', './generated/templates/InputTemplate.lit', './generated/templates/InputPopoverTemplate.lit', './generated/i18n/i18n-defaults', './generated/themes/Input.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css', './generated/themes/Suggestions.css'], function (UI5Element, litRender, ResizeHandler, Device, ValueState, FeaturesRegistry, Keys, Integer, i18nBundle, AriaLabelHelper, Caret, decline, InputType, Popover, InputTemplate_lit, InputPopoverTemplate_lit, i18nDefaults, Input_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
|
|
|
@@ -74,6 +74,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
74
74
|
focused: {
|
|
75
75
|
type: Boolean,
|
|
76
76
|
},
|
|
77
|
+
open: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
},
|
|
77
80
|
_input: {
|
|
78
81
|
type: Object,
|
|
79
82
|
},
|
|
@@ -137,7 +140,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
137
140
|
return Input_css;
|
|
138
141
|
}
|
|
139
142
|
static get staticAreaStyles() {
|
|
140
|
-
return [ResponsivePopoverCommon_css, ValueStateMessage_css];
|
|
143
|
+
return [ResponsivePopoverCommon_css, ValueStateMessage_css, Suggestions_css];
|
|
141
144
|
}
|
|
142
145
|
constructor() {
|
|
143
146
|
super();
|
|
@@ -149,6 +152,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
149
152
|
this.previousValue = undefined;
|
|
150
153
|
this.firstRendering = true;
|
|
151
154
|
this.highlightValue = "";
|
|
155
|
+
this.lastConfirmedValue = "";
|
|
152
156
|
this._backspaceKeyDown = false;
|
|
153
157
|
this.EVENT_CHANGE = "change";
|
|
154
158
|
this.EVENT_INPUT = "input";
|
|
@@ -156,7 +160,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
156
160
|
this.ACTION_ENTER = "enter";
|
|
157
161
|
this.ACTION_USER_INPUT = "input";
|
|
158
162
|
this.suggestionsTexts = [];
|
|
159
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
160
163
|
this._handleResizeBound = this._handleResize.bind(this);
|
|
161
164
|
}
|
|
162
165
|
onEnterDOM() {
|
|
@@ -170,6 +173,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
170
173
|
this.enableSuggestions();
|
|
171
174
|
this.suggestionsTexts = this.Suggestions.defaultSlotProperties(this.highlightValue);
|
|
172
175
|
}
|
|
176
|
+
this.open = this.open && (!!this.suggestionItems.length || this._isPhone);
|
|
173
177
|
const FormSupport = FeaturesRegistry.getFeature("FormSupport");
|
|
174
178
|
if (FormSupport) {
|
|
175
179
|
FormSupport.syncNativeHiddenInput(this);
|
|
@@ -178,21 +182,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
184
|
async onAfterRendering() {
|
|
181
|
-
if (
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
preventFocusRestore: !this.hasSuggestionItemSelected,
|
|
185
|
+
if (this.Suggestions) {
|
|
186
|
+
this.Suggestions.toggle(this.open, {
|
|
187
|
+
preventFocusRestore: true,
|
|
185
188
|
});
|
|
186
|
-
await Render.renderFinished();
|
|
187
189
|
this._listWidth = await this.Suggestions._getListWidth();
|
|
188
|
-
if (!Device.isPhone() && shouldOpenSuggestions) {
|
|
189
|
-
(await this.getInputDOMRef()).focus();
|
|
190
|
-
}
|
|
191
190
|
}
|
|
192
|
-
if (
|
|
193
|
-
this.
|
|
191
|
+
if (this.shouldDisplayOnlyValueStateMessage) {
|
|
192
|
+
this.openPopover();
|
|
193
|
+
} else {
|
|
194
|
+
this.closePopover();
|
|
194
195
|
}
|
|
195
|
-
this.firstRendering = false;
|
|
196
196
|
}
|
|
197
197
|
_onkeydown(event) {
|
|
198
198
|
if (Keys.isUp(event)) {
|
|
@@ -250,12 +250,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
250
250
|
const itemPressed = !!(this.Suggestions && this.Suggestions.onEnter(event));
|
|
251
251
|
if (!itemPressed) {
|
|
252
252
|
this.fireEventByAction(this.ACTION_ENTER);
|
|
253
|
+
this.lastConfirmedValue = this.value;
|
|
253
254
|
}
|
|
254
255
|
}
|
|
255
256
|
_handleEscape() {
|
|
256
257
|
if (this.showSuggestions && this.Suggestions && this.Suggestions._isItemOnTarget()) {
|
|
257
258
|
this.value = this.valueBeforeItemPreview;
|
|
258
259
|
this.suggestionSelectionCanceled = true;
|
|
260
|
+
this.open = false;
|
|
261
|
+
} else if (this.Suggestions && this.Suggestions.isOpened()) {
|
|
262
|
+
this.closePopover();
|
|
263
|
+
} else {
|
|
264
|
+
this.value = this.lastConfirmedValue ? this.lastConfirmedValue : this.previousValue;
|
|
259
265
|
}
|
|
260
266
|
}
|
|
261
267
|
async _onfocusin(event) {
|
|
@@ -278,12 +284,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
278
284
|
}
|
|
279
285
|
this.closePopover();
|
|
280
286
|
this.previousValue = "";
|
|
287
|
+
this.lastConfirmedValue = "";
|
|
281
288
|
this.focused = false;
|
|
289
|
+
this.open = false;
|
|
282
290
|
}
|
|
283
291
|
_click(event) {
|
|
284
292
|
if (Device.isPhone() && !this.readonly && this.Suggestions) {
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
293
|
+
this.blur();
|
|
294
|
+
this.open = true;
|
|
287
295
|
}
|
|
288
296
|
}
|
|
289
297
|
_handleChange(event) {
|
|
@@ -325,6 +333,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
325
333
|
this.hasSuggestionItemSelected = false;
|
|
326
334
|
if (this.Suggestions) {
|
|
327
335
|
this.Suggestions.updateSelectedItemPosition(null);
|
|
336
|
+
if (!this._isPhone) {
|
|
337
|
+
this.open = !!inputDomRef.value;
|
|
338
|
+
}
|
|
328
339
|
}
|
|
329
340
|
}
|
|
330
341
|
_handleResize() {
|
|
@@ -342,13 +353,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
342
353
|
this.announceSelectedItem();
|
|
343
354
|
if (Device.isPhone()) {
|
|
344
355
|
this.blur();
|
|
345
|
-
|
|
346
|
-
}
|
|
347
|
-
toggle(isToggled) {
|
|
348
|
-
if (isToggled && !this.isRespPopoverOpen) {
|
|
349
|
-
this.openPopover();
|
|
350
|
-
} else {
|
|
351
|
-
this.closePopover();
|
|
356
|
+
this.focused = false;
|
|
352
357
|
}
|
|
353
358
|
}
|
|
354
359
|
isValueStateOpened() {
|
|
@@ -398,6 +403,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
398
403
|
if (fireInput) {
|
|
399
404
|
this.value = itemText;
|
|
400
405
|
this.valueBeforeItemSelection = itemText;
|
|
406
|
+
this.lastConfirmedValue = itemText;
|
|
401
407
|
this.fireEvent(this.EVENT_INPUT);
|
|
402
408
|
this.fireEvent(this.EVENT_CHANGE);
|
|
403
409
|
this._changeFired = true;
|
|
@@ -459,8 +465,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
459
465
|
return "";
|
|
460
466
|
}
|
|
461
467
|
async getInputDOMRef() {
|
|
462
|
-
if (Device.isPhone() && this.Suggestions
|
|
463
|
-
await this.Suggestions.
|
|
468
|
+
if (Device.isPhone() && this.Suggestions) {
|
|
469
|
+
await this.Suggestions._getSuggestionPopover();
|
|
464
470
|
return this.Suggestions && this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone");
|
|
465
471
|
}
|
|
466
472
|
return this.nativeInput;
|
|
@@ -517,12 +523,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
517
523
|
onOpen() {}
|
|
518
524
|
onClose() {}
|
|
519
525
|
valueStateTextMappings() {
|
|
520
|
-
const i18nBundle = this.i18nBundle;
|
|
521
526
|
return {
|
|
522
|
-
"Success": i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
|
|
523
|
-
"Information": i18nBundle.getText(i18nDefaults.VALUE_STATE_INFORMATION),
|
|
524
|
-
"Error": i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
|
|
525
|
-
"Warning": i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
|
|
527
|
+
"Success": Input.i18nBundle.getText(i18nDefaults.VALUE_STATE_SUCCESS),
|
|
528
|
+
"Information": Input.i18nBundle.getText(i18nDefaults.VALUE_STATE_INFORMATION),
|
|
529
|
+
"Error": Input.i18nBundle.getText(i18nDefaults.VALUE_STATE_ERROR),
|
|
530
|
+
"Warning": Input.i18nBundle.getText(i18nDefaults.VALUE_STATE_WARNING),
|
|
526
531
|
};
|
|
527
532
|
}
|
|
528
533
|
announceSelectedItem() {
|
|
@@ -537,7 +542,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
537
542
|
return this.readonly && !this.disabled;
|
|
538
543
|
}
|
|
539
544
|
get _headerTitleText() {
|
|
540
|
-
return
|
|
545
|
+
return Input.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_TITLE);
|
|
541
546
|
}
|
|
542
547
|
get inputType() {
|
|
543
548
|
return this.type.toLowerCase();
|
|
@@ -591,8 +596,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
591
596
|
}
|
|
592
597
|
get classes() {
|
|
593
598
|
return {
|
|
599
|
+
popover: {
|
|
600
|
+
"ui5-suggestions-popover": !this.isPhone && this.showSuggestions,
|
|
601
|
+
"ui5-suggestions-popover-with-value-state-header": !this.isPhone && this.showSuggestions && this.hasValueStateMessage,
|
|
602
|
+
},
|
|
594
603
|
popoverValueState: {
|
|
595
604
|
"ui5-valuestatemessage-root": true,
|
|
605
|
+
"ui5-valuestatemessage-header": true,
|
|
596
606
|
"ui5-responsive-popover-header": !this.isValueStateOpened(),
|
|
597
607
|
"ui5-valuestatemessage--success": this.valueState === ValueState__default.Success,
|
|
598
608
|
"ui5-valuestatemessage--error": this.valueState === ValueState__default.Error,
|
|
@@ -602,6 +612,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
602
612
|
};
|
|
603
613
|
}
|
|
604
614
|
get styles() {
|
|
615
|
+
const remSizeIxPx = parseInt(getComputedStyle(document.documentElement).fontSize);
|
|
605
616
|
const stylesObject = {
|
|
606
617
|
popoverHeader: {
|
|
607
618
|
"max-width": `${this._inputWidth}px`,
|
|
@@ -609,10 +620,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
609
620
|
suggestionPopoverHeader: {
|
|
610
621
|
"display": this._listWidth === 0 ? "none" : "inline-block",
|
|
611
622
|
"width": `${this._listWidth}px`,
|
|
612
|
-
"padding": "0.925rem 1rem",
|
|
613
623
|
},
|
|
614
624
|
suggestionsPopover: {
|
|
615
|
-
"
|
|
625
|
+
"min-width": `${this._inputWidth}px`,
|
|
626
|
+
"max-width": (this._inputWidth / remSizeIxPx) > 40 ? `${this._inputWidth}px` : "40rem",
|
|
616
627
|
},
|
|
617
628
|
innerInput: {},
|
|
618
629
|
};
|
|
@@ -628,7 +639,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
628
639
|
return this.getSlottedNodes("valueStateMessage").map(el => el.cloneNode(true));
|
|
629
640
|
}
|
|
630
641
|
get shouldDisplayOnlyValueStateMessage() {
|
|
631
|
-
return this.hasValueStateMessage && !this.
|
|
642
|
+
return this.hasValueStateMessage && !this.open && this.focused;
|
|
632
643
|
}
|
|
633
644
|
get shouldDisplayDefaultValueStateMessage() {
|
|
634
645
|
return !this.valueStateMessage.length && this.hasValueStateMessage;
|
|
@@ -645,17 +656,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
645
656
|
return this.valueStateTextMappings()[this.valueState];
|
|
646
657
|
}
|
|
647
658
|
get suggestionsText() {
|
|
648
|
-
return
|
|
659
|
+
return Input.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS);
|
|
649
660
|
}
|
|
650
661
|
get availableSuggestionsCount() {
|
|
651
662
|
if (this.showSuggestions && (this.value || this.Suggestions.isOpened())) {
|
|
652
663
|
switch (this.suggestionsTexts.length) {
|
|
653
664
|
case 0:
|
|
654
|
-
return
|
|
665
|
+
return Input.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_NO_HIT);
|
|
655
666
|
case 1:
|
|
656
|
-
return
|
|
667
|
+
return Input.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_ONE_HIT);
|
|
657
668
|
default:
|
|
658
|
-
return
|
|
669
|
+
return Input.i18nBundle.getText(i18nDefaults.INPUT_SUGGESTIONS_MORE_HITS, this.suggestionsTexts.length);
|
|
659
670
|
}
|
|
660
671
|
}
|
|
661
672
|
return undefined;
|
|
@@ -669,6 +680,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
669
680
|
get _placeholder() {
|
|
670
681
|
return this.placeholder;
|
|
671
682
|
}
|
|
683
|
+
get _valueStateInputIcon() {
|
|
684
|
+
const iconPerValueState = {
|
|
685
|
+
Error: `<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20ZM7.70711 13.7071C7.31658 14.0976 6.68342 14.0976 6.29289 13.7071C5.90237 13.3166 5.90237 12.6834 6.29289 12.2929L8.58579 10L6.29289 7.70711C5.90237 7.31658 5.90237 6.68342 6.29289 6.29289C6.68342 5.90237 7.31658 5.90237 7.70711 6.29289L10 8.58579L12.2929 6.29289C12.6834 5.90237 13.3166 5.90237 13.7071 6.29289C14.0976 6.68342 14.0976 7.31658 13.7071 7.70711L11.4142 10L13.7071 12.2929C14.0976 12.6834 14.0976 13.3166 13.7071 13.7071C13.3166 14.0976 12.6834 14.0976 12.2929 13.7071L10 11.4142L7.70711 13.7071Z" fill="#EE3939"/>`,
|
|
686
|
+
Warning: `<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M11.8619 0.49298C11.6823 0.187541 11.3544 0 11 0C10.6456 0 10.3177 0.187541 10.1381 0.49298L0.138066 17.493C-0.0438112 17.8022 -0.0461447 18.1851 0.13195 18.4965C0.310046 18.8079 0.641283 19 1 19H21C21.3587 19 21.69 18.8079 21.868 18.4965C22.0461 18.1851 22.0438 17.8022 21.8619 17.493L11.8619 0.49298ZM11 6C11.5523 6 12 6.44772 12 7V10C12 10.5523 11.5523 11 11 11C10.4477 11 10 10.5523 10 10V7C10 6.44772 10.4477 6 11 6ZM11 16C11.8284 16 12.5 15.3284 12.5 14.5C12.5 13.6716 11.8284 13 11 13C10.1716 13 9.5 13.6716 9.5 14.5C9.5 15.3284 10.1716 16 11 16Z" fill="#F58B00"/>`,
|
|
687
|
+
Success: `<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10ZM14.7071 6.29289C14.3166 5.90237 13.6834 5.90237 13.2929 6.29289L8 11.5858L6.70711 10.2929C6.31658 9.90237 5.68342 9.90237 5.29289 10.2929C4.90237 10.6834 4.90237 11.3166 5.29289 11.7071L7.29289 13.7071C7.68342 14.0976 8.31658 14.0976 8.70711 13.7071L14.7071 7.70711C15.0976 7.31658 15.0976 6.68342 14.7071 6.29289Z" fill="#36A41D"/>`,
|
|
688
|
+
Information: `<path xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" d="M3 0C1.34315 0 0 1.34315 0 3V15C0 16.6569 1.34315 18 3 18H15C16.6569 18 18 16.6569 18 15V3C18 1.34315 16.6569 0 15 0H3ZM9 6.5C9.82843 6.5 10.5 5.82843 10.5 5C10.5 4.17157 9.82843 3.5 9 3.5C8.17157 3.5 7.5 4.17157 7.5 5C7.5 5.82843 8.17157 6.5 9 6.5ZM9 8.5C9.55228 8.5 10 8.94772 10 9.5V13.5C10 14.0523 9.55228 14.5 9 14.5C8.44771 14.5 8 14.0523 8 13.5V9.5C8 8.94772 8.44771 8.5 9 8.5Z" fill="#1B90FF"/>`,
|
|
689
|
+
};
|
|
690
|
+
const result = `
|
|
691
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="20" viewBox="0 0 20 20" fill="none">
|
|
692
|
+
${iconPerValueState[this.valueState]};
|
|
693
|
+
</svg>
|
|
694
|
+
`;
|
|
695
|
+
return this.valueState !== ValueState__default.None ? result : "";
|
|
696
|
+
}
|
|
672
697
|
getCaretPosition() {
|
|
673
698
|
return Caret.getCaretPosition(this.nativeInput);
|
|
674
699
|
}
|
|
@@ -689,7 +714,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
689
714
|
return [Popover].concat(Suggestions ? Suggestions.dependencies : []);
|
|
690
715
|
}
|
|
691
716
|
static async onDefine() {
|
|
692
|
-
|
|
717
|
+
const Suggestions = FeaturesRegistry.getFeature("InputSuggestions");
|
|
718
|
+
[Input.i18nBundle] = await Promise.all([
|
|
719
|
+
i18nBundle.getI18nBundle("@ui5/webcomponents"),
|
|
720
|
+
Suggestions ? Suggestions.init() : Promise.resolve(),
|
|
721
|
+
]);
|
|
693
722
|
}
|
|
694
723
|
}
|
|
695
724
|
Input.define();
|
|
@@ -62,7 +62,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
62
62
|
constructor() {
|
|
63
63
|
super();
|
|
64
64
|
this._dummyAnchor = document.createElement("a");
|
|
65
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
66
65
|
}
|
|
67
66
|
static get metadata() {
|
|
68
67
|
return metadata;
|
|
@@ -108,7 +107,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
108
107
|
};
|
|
109
108
|
}
|
|
110
109
|
get linkTypeText() {
|
|
111
|
-
return
|
|
110
|
+
return Link.i18nBundle.getText(Link.typeTextMappings()[this.design]);
|
|
112
111
|
}
|
|
113
112
|
get parsedRef() {
|
|
114
113
|
return (this.href && this.href.length > 0) ? this.href : undefined;
|
|
@@ -117,7 +116,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
117
116
|
return this.accessibleRole || "link";
|
|
118
117
|
}
|
|
119
118
|
static async onDefine() {
|
|
120
|
-
await i18nBundle.
|
|
119
|
+
Link.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
121
120
|
}
|
|
122
121
|
_onclick(event) {
|
|
123
122
|
event.isMarked = "link";
|
|
@@ -46,7 +46,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
46
46
|
type: ListSeparators,
|
|
47
47
|
defaultValue: ListSeparators.All,
|
|
48
48
|
},
|
|
49
|
-
|
|
49
|
+
growing: {
|
|
50
50
|
type: ListGrowingMode,
|
|
51
51
|
defaultValue: ListGrowingMode.None,
|
|
52
52
|
},
|
|
@@ -64,14 +64,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
64
64
|
type: String,
|
|
65
65
|
defaultValue: "",
|
|
66
66
|
},
|
|
67
|
-
|
|
67
|
+
accessibleRole: {
|
|
68
68
|
type: String,
|
|
69
|
-
defaultValue: "
|
|
69
|
+
defaultValue: "list",
|
|
70
70
|
},
|
|
71
|
-
|
|
71
|
+
_inViewport: {
|
|
72
72
|
type: Boolean,
|
|
73
73
|
},
|
|
74
|
-
|
|
74
|
+
_loadMoreActive: {
|
|
75
75
|
type: Boolean,
|
|
76
76
|
},
|
|
77
77
|
},
|
|
@@ -120,7 +120,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
120
120
|
return List_css;
|
|
121
121
|
}
|
|
122
122
|
static async onDefine() {
|
|
123
|
-
await i18nBundle.
|
|
123
|
+
List.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
124
124
|
}
|
|
125
125
|
static get dependencies() {
|
|
126
126
|
return [BusyIndicator];
|
|
@@ -142,7 +142,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
142
142
|
this.addEventListener("ui5-_selection-requested", this.onSelectionRequested.bind(this));
|
|
143
143
|
this.addEventListener("ui5-_focus-requested", this.focusUploadCollectionItem.bind(this));
|
|
144
144
|
this._handleResize = this.checkListInViewport.bind(this);
|
|
145
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
146
145
|
this.initialIntersection = true;
|
|
147
146
|
}
|
|
148
147
|
onExitDOM() {
|
|
@@ -176,6 +175,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
176
175
|
get headerID() {
|
|
177
176
|
return `${this._id}-header`;
|
|
178
177
|
}
|
|
178
|
+
get modeLabelID() {
|
|
179
|
+
return `${this._id}-modeLabel`;
|
|
180
|
+
}
|
|
179
181
|
get listEndDOM() {
|
|
180
182
|
return this.shadowRoot.querySelector(".ui5-list-end-marker");
|
|
181
183
|
}
|
|
@@ -185,6 +187,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
185
187
|
get showNoDataText() {
|
|
186
188
|
return !this.hasData && this.noDataText;
|
|
187
189
|
}
|
|
190
|
+
get isDelete() {
|
|
191
|
+
return this.mode === ListMode.Delete;
|
|
192
|
+
}
|
|
193
|
+
get isSingleSelect() {
|
|
194
|
+
return [
|
|
195
|
+
ListMode.SingleSelect,
|
|
196
|
+
ListMode.SingleSelectBegin,
|
|
197
|
+
ListMode.SingleSelectEnd,
|
|
198
|
+
ListMode.SingleSelectAuto,
|
|
199
|
+
].includes(this.mode);
|
|
200
|
+
}
|
|
188
201
|
get isMultiSelect() {
|
|
189
202
|
return this.mode === ListMode.MultiSelect;
|
|
190
203
|
}
|
|
@@ -192,11 +205,30 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
192
205
|
if (this.accessibleNameRef || this.accessibleName) {
|
|
193
206
|
return undefined;
|
|
194
207
|
}
|
|
195
|
-
|
|
208
|
+
const ids = [];
|
|
209
|
+
if (this.isMultiSelect || this.isSingleSelect || this.isDelete) {
|
|
210
|
+
ids.push(this.modeLabelID);
|
|
211
|
+
}
|
|
212
|
+
if (this.shouldRenderH1) {
|
|
213
|
+
ids.push(this.headerID);
|
|
214
|
+
}
|
|
215
|
+
return ids.length ? ids.join(" ") : undefined;
|
|
196
216
|
}
|
|
197
217
|
get ariaLabelТxt() {
|
|
198
218
|
return AriaLabelHelper.getEffectiveAriaLabelText(this);
|
|
199
219
|
}
|
|
220
|
+
get ariaLabelModeText() {
|
|
221
|
+
if (this.isMultiSelect) {
|
|
222
|
+
return List.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_MULTISELECTABLE);
|
|
223
|
+
}
|
|
224
|
+
if (this.isSingleSelect) {
|
|
225
|
+
return List.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_SELECTABLE);
|
|
226
|
+
}
|
|
227
|
+
if (this.isDelete) {
|
|
228
|
+
return List.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_DELETABLE);
|
|
229
|
+
}
|
|
230
|
+
return undefined;
|
|
231
|
+
}
|
|
200
232
|
get grows() {
|
|
201
233
|
return this.growing !== ListGrowingMode.None;
|
|
202
234
|
}
|
|
@@ -210,7 +242,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
210
242
|
return this.growing === ListGrowingMode.Button;
|
|
211
243
|
}
|
|
212
244
|
get _growingButtonText() {
|
|
213
|
-
return
|
|
245
|
+
return List.i18nBundle.getText(i18nDefaults.LOAD_MORE_TEXT);
|
|
214
246
|
}
|
|
215
247
|
get busyIndPosition() {
|
|
216
248
|
if (Device.isIE() || !this.grows) {
|
|
@@ -318,9 +350,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
318
350
|
return this.getSlottedNodes("items").filter(item => !item.disabled);
|
|
319
351
|
}
|
|
320
352
|
_onkeydown(event) {
|
|
321
|
-
if (Keys.isSpace(event)) {
|
|
322
|
-
event.preventDefault();
|
|
323
|
-
}
|
|
324
353
|
if (Keys.isTabNext(event)) {
|
|
325
354
|
this._handleTabNext(event);
|
|
326
355
|
}
|
|
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
18
18
|
},
|
|
19
19
|
role: {
|
|
20
20
|
type: String,
|
|
21
|
-
defaultValue: "
|
|
21
|
+
defaultValue: "listitem",
|
|
22
22
|
},
|
|
23
23
|
_mode: {
|
|
24
24
|
type: ListMode,
|
|
@@ -58,7 +58,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
58
58
|
this.active = false;
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
62
61
|
}
|
|
63
62
|
onBeforeRendering(...params) {
|
|
64
63
|
this.actionable = (this.type === ListItemType.Active) && (this._mode !== ListMode.Delete);
|
|
@@ -196,22 +195,28 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
196
195
|
}
|
|
197
196
|
return undefined;
|
|
198
197
|
}
|
|
198
|
+
get ariaSelectedText() {
|
|
199
|
+
let ariaSelectedText;
|
|
200
|
+
if (this.ariaSelected !== undefined) {
|
|
201
|
+
ariaSelectedText = this.ariaSelected ? ListItem.i18nBundle.getText(i18nDefaults.LIST_ITEM_SELECTED) : ListItem.i18nBundle.getText(i18nDefaults.LIST_ITEM_NOT_SELECTED);
|
|
202
|
+
}
|
|
203
|
+
return ariaSelectedText;
|
|
204
|
+
}
|
|
199
205
|
get deleteText() {
|
|
200
|
-
return
|
|
206
|
+
return ListItem.i18nBundle.getText(i18nDefaults.DELETE);
|
|
201
207
|
}
|
|
202
208
|
get _accInfo() {
|
|
203
209
|
return {
|
|
204
210
|
role: this.role,
|
|
205
211
|
ariaExpanded: undefined,
|
|
206
212
|
ariaLevel: undefined,
|
|
207
|
-
ariaLabel:
|
|
208
|
-
|
|
213
|
+
ariaLabel: ListItem.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_ITEM_CHECKBOX),
|
|
214
|
+
ariaLabelRadioButton: ListItem.i18nBundle.getText(i18nDefaults.ARIA_LABEL_LIST_ITEM_RADIO_BUTTON),
|
|
215
|
+
ariaSelectedText: this.ariaSelectedText,
|
|
209
216
|
};
|
|
210
217
|
}
|
|
211
218
|
static async onDefine() {
|
|
212
|
-
await
|
|
213
|
-
i18nBundle.fetchI18nBundle("@ui5/webcomponents"),
|
|
214
|
-
]);
|
|
219
|
+
ListItem.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
215
220
|
}
|
|
216
221
|
}
|
|
217
222
|
|
|
@@ -48,7 +48,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
48
48
|
}
|
|
49
49
|
constructor() {
|
|
50
50
|
super();
|
|
51
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
52
51
|
}
|
|
53
52
|
_closeClick() {
|
|
54
53
|
this.fireEvent("close", {});
|
|
@@ -60,7 +59,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
60
59
|
];
|
|
61
60
|
}
|
|
62
61
|
static async onDefine() {
|
|
63
|
-
await i18nBundle.
|
|
62
|
+
MessageStrip.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
64
63
|
}
|
|
65
64
|
static designClassesMappings() {
|
|
66
65
|
return {
|
|
@@ -82,7 +81,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
82
81
|
return `Message Strip ${this.design} ${this.hideCloseButton ? "" : "closable"}`;
|
|
83
82
|
}
|
|
84
83
|
get _closeButtonText() {
|
|
85
|
-
return
|
|
84
|
+
return MessageStrip.i18nBundle.getText(i18nDefaults.MESSAGE_STRIP_CLOSE_BUTTON);
|
|
86
85
|
}
|
|
87
86
|
get classes() {
|
|
88
87
|
return {
|