@openui5/sap.ui.webc.main 1.93.3 → 1.96.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 +6 -11
- package/THIRDPARTY.txt +10 -16
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +16 -26
- package/src/sap/ui/webc/main/AvatarGroup.js +4 -20
- package/src/sap/ui/webc/main/Badge.js +1 -1
- package/src/sap/ui/webc/main/Breadcrumbs.js +128 -0
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +98 -0
- package/src/sap/ui/webc/main/BusyIndicator.js +9 -1
- package/src/sap/ui/webc/main/Button.js +12 -2
- package/src/sap/ui/webc/main/Calendar.js +12 -2
- package/src/sap/ui/webc/main/CalendarDate.js +1 -1
- package/src/sap/ui/webc/main/Card.js +11 -71
- package/src/sap/ui/webc/main/CardHeader.js +127 -0
- package/src/sap/ui/webc/main/Carousel.js +13 -25
- package/src/sap/ui/webc/main/CheckBox.js +14 -7
- package/src/sap/ui/webc/main/ColorPalette.js +6 -27
- package/src/sap/ui/webc/main/ColorPaletteItem.js +1 -1
- package/src/sap/ui/webc/main/ColorPicker.js +4 -2
- package/src/sap/ui/webc/main/ComboBox.js +22 -17
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +58 -0
- package/src/sap/ui/webc/main/ComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/CustomListItem.js +4 -2
- package/src/sap/ui/webc/main/DatePicker.js +61 -3
- package/src/sap/ui/webc/main/DateRangePicker.js +66 -8
- package/src/sap/ui/webc/main/DateTimePicker.js +61 -3
- package/src/sap/ui/webc/main/Dialog.js +15 -12
- package/src/sap/ui/webc/main/FileUploader.js +1 -1
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +1 -1
- package/src/sap/ui/webc/main/Icon.js +1 -1
- package/src/sap/ui/webc/main/Input.js +23 -4
- package/src/sap/ui/webc/main/Label.js +1 -1
- package/src/sap/ui/webc/main/Link.js +12 -2
- package/src/sap/ui/webc/main/List.js +38 -2
- package/src/sap/ui/webc/main/MessageStrip.js +4 -2
- package/src/sap/ui/webc/main/MultiComboBox.js +10 -4
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/MultiInput.js +26 -5
- package/src/sap/ui/webc/main/Option.js +1 -1
- package/src/sap/ui/webc/main/Panel.js +12 -2
- package/src/sap/ui/webc/main/Popover.js +21 -8
- package/src/sap/ui/webc/main/ProgressIndicator.js +1 -1
- package/src/sap/ui/webc/main/RadioButton.js +28 -21
- package/src/sap/ui/webc/main/RangeSlider.js +7 -3
- package/src/sap/ui/webc/main/RatingIndicator.js +12 -3
- package/src/sap/ui/webc/main/ResponsivePopover.js +22 -17
- package/src/sap/ui/webc/main/SegmentedButton.js +15 -15
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +135 -0
- package/src/sap/ui/webc/main/Select.js +16 -1
- package/src/sap/ui/webc/main/Slider.js +7 -3
- package/src/sap/ui/webc/main/StandardListItem.js +4 -2
- package/src/sap/ui/webc/main/StepInput.js +19 -2
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +58 -0
- package/src/sap/ui/webc/main/SuggestionItem.js +1 -11
- package/src/sap/ui/webc/main/Switch.js +4 -2
- 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 +12 -2
- 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 +69 -0
- package/src/sap/ui/webc/main/TableRow.js +1 -1
- package/src/sap/ui/webc/main/TextArea.js +22 -3
- package/src/sap/ui/webc/main/TimePicker.js +7 -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 +12 -2
- package/src/sap/ui/webc/main/Token.js +4 -2
- package/src/sap/ui/webc/main/Tree.js +1 -1
- package/src/sap/ui/webc/main/TreeItem.js +1 -1
- package/src/sap/ui/webc/main/library.js +117 -31
- package/src/sap/ui/webc/main/thirdparty/Avatar.js +12 -15
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +15 -7
- package/src/sap/ui/webc/main/thirdparty/Badge.js +11 -5
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +332 -0
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +41 -0
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +30 -1
- package/src/sap/ui/webc/main/thirdparty/Button.js +2 -9
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +12 -4
- package/src/sap/ui/webc/main/thirdparty/CalendarHeader.js +73 -2
- package/src/sap/ui/webc/main/thirdparty/Card.js +8 -115
- package/src/sap/ui/webc/main/thirdparty/CardHeader.js +141 -0
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +89 -36
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +5 -29
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +13 -10
- package/src/sap/ui/webc/main/thirdparty/ColorPaletteItem.js +0 -3
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +1 -6
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +85 -65
- package/src/sap/ui/webc/main/thirdparty/ComboBoxGroupItem.js +39 -0
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +44 -14
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +16 -17
- package/src/sap/ui/webc/main/thirdparty/DateTimePicker.js +0 -1
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +23 -4
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +117 -32
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Icon.js +17 -1
- package/src/sap/ui/webc/main/thirdparty/Input.js +18 -5
- package/src/sap/ui/webc/main/thirdparty/Interfaces.js +4 -0
- package/src/sap/ui/webc/main/thirdparty/Link.js +44 -6
- package/src/sap/ui/webc/main/thirdparty/List.js +12 -5
- package/src/sap/ui/webc/main/thirdparty/ListItem.js +6 -0
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +0 -1
- package/src/sap/ui/webc/main/thirdparty/Panel.js +7 -4
- package/src/sap/ui/webc/main/thirdparty/Popover.js +8 -8
- package/src/sap/ui/webc/main/thirdparty/Popup.js +39 -8
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +18 -16
- package/src/sap/ui/webc/main/thirdparty/RadioButtonGroup.js +31 -31
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +7 -4
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +63 -38
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +39 -0
- package/src/sap/ui/webc/main/thirdparty/Select.js +51 -20
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +9 -4
- package/src/sap/ui/webc/main/thirdparty/SuggestionGroupItem.js +36 -0
- package/src/sap/ui/webc/main/thirdparty/SuggestionItem.js +1 -5
- package/src/sap/ui/webc/main/thirdparty/SuggestionListItem.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Table.js +9 -2
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +89 -0
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +7 -1
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/TimePickerBase.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +8 -1
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +6 -6
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +11 -3
- 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 +7 -7
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +47 -47
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BadgeTemplate.lit.js +4 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +8 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.lit.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BusyIndicatorTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ButtonTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarHeaderTemplate.lit.js +5 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CalendarTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardHeaderTemplate.lit.js +12 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CardTemplate.lit.js +4 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +12 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteDialogTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteItemTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPaletteTemplate.lit.js +7 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPickerTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxPopoverTemplate.lit.js +19 -26
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +12 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DayPickerTemplate.lit.js +12 -20
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/GroupHeaderListItemTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/IconTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +23 -32
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +7 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LabelTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +4 -13
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +12 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +13 -22
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +7 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MonthPickerTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +19 -28
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +13 -22
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +3 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ProgressIndicatorTemplate.lit.js +9 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RadioButtonTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +9 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +15 -23
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +8 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +19 -28
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.lit.js +7 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +20 -29
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +4 -13
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +23 -32
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +15 -24
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +9 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableCellTemplate.lit.js +3 -8
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableColumnTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +13 -22
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +12 -21
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +7 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +7 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimeSelectionTemplate.lit.js +7 -16
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TitleTemplate.lit.js +9 -18
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToastTemplate.lit.js +3 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerPopoverTemplate.lit.js +8 -17
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +17 -26
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +4 -13
- package/src/sap/ui/webc/main/thirdparty/generated/templates/WheelSliderTemplate.lit.js +6 -15
- package/src/sap/ui/webc/main/thirdparty/generated/templates/YearPickerTemplate.lit.js +5 -14
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/AvatarGroup.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BreadcrumbsPopover.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPaletteItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/FileUploader.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GroupHeaderListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Link.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableCell.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TreeListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-23b6aec9.js → messagebundle_ar-7754de1c.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-b642f80f.js → messagebundle_bg-041345aa.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-20fa76b6.js → messagebundle_ca-df38eb0b.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-f636c9f4.js → messagebundle_cs-51d17321.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-668048df.js → messagebundle_cy-cc129f0c.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-ab0def1e.js → messagebundle_da-bc87b599.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-0bf4dd1a.js → messagebundle_de-518b0a75.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-4962a11e.js → messagebundle_el-9686b145.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-d45f8908.js → messagebundle_en-57ad19b6.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-22be6c54.js → messagebundle_en_GB-588d53e3.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-43f65212.js → messagebundle_en_US_sappsd-e370df7b.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-12f3828e.js → messagebundle_en_US_saprigi-adf0ddb3.js} +5 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-e9d14fae.js → messagebundle_en_US_saptrc-261422e2.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-357e1c36.js → messagebundle_es-ec258b44.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-8e0d2258.js → messagebundle_es_MX-5f113e73.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-5a1ea785.js → messagebundle_et-901c732b.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-25a76e5c.js → messagebundle_fi-0a2a6323.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-48f2bd02.js → messagebundle_fr-5df8899a.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-6e11af7d.js → messagebundle_fr_CA-0de6a568.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-b8e55814.js → messagebundle_hi-13e67957.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-b2f08f08.js → messagebundle_hr-93fbc1d1.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-81e9b34e.js → messagebundle_hu-dd94c35e.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-98262baf.js → messagebundle_it-0c46ce25.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-29c5b67e.js → messagebundle_iw-946df0a2.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-16deb9b7.js → messagebundle_ja-9cb333bb.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-bc7929b4.js → messagebundle_kk-239d7820.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-331e5063.js → messagebundle_ko-6f09e984.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-5708d85e.js → messagebundle_lt-2d4f9935.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-ce9a2b90.js → messagebundle_lv-d73bf0c0.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-b991460e.js → messagebundle_ms-9b4b2929.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-89ee9f6c.js → messagebundle_nl-55193168.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-1db10706.js → messagebundle_no-7f4a6832.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-49ee2166.js → messagebundle_pl-89c36a34.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-e1f22029.js → messagebundle_pt-b87f9645.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-19024d29.js → messagebundle_pt_PT-0e8230b0.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-9e2d0cd1.js → messagebundle_ro-83e7f44d.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-9f439834.js → messagebundle_ru-befd37d0.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-3fe24f0e.js → messagebundle_sh-4edec182.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-275cf4ec.js → messagebundle_sk-29160489.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-f774c011.js → messagebundle_sl-fd9ba370.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-716ad2e9.js → messagebundle_sv-57bfda52.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-503e18e9.js → messagebundle_th-184c45a0.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-1db67daa.js → messagebundle_tr-d5781fbb.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-58f2adad.js → messagebundle_uk-e49bb47f.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-f523cd98.js → messagebundle_vi-ce27847a.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-761506cb.js → messagebundle_zh_CN-bdbfb1bd.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-591c0661.js → messagebundle_zh_TW-ca1de535.js} +8 -1
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-09f8e92d.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-19666884.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-8e7c6ad9.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb713657.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dd8f2f47.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e3a31f8e.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e44b2b84.js +9 -0
- package/src/sap/ui/webc/main/thirdparty/popup-utils/OpenedPopupsRegistry.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/popup-utils/PopoverRegistry.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/types/{AvatarFitType.js → BreadcrumbsDesign.js} +7 -7
- package/src/sap/ui/webc/main/thirdparty/types/BreadcrumbsSeparatorStyle.js +24 -0
- package/src/sap/ui/webc/main/thirdparty/types/ButtonDesign.js +1 -0
- package/ui5.yaml +1 -1
- package/src/sap/ui/webc/main/DurationPicker.js +0 -271
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-39cac16d.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4ca42a34.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-6fc1faf3.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-94dc708f.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cb1a26d8.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-d2d877b5.js +0 -9
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e914e4ca.js +0 -9
|
@@ -10,6 +10,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
10
10
|
active: {
|
|
11
11
|
type: Boolean,
|
|
12
12
|
},
|
|
13
|
+
title: {
|
|
14
|
+
type: String,
|
|
15
|
+
},
|
|
13
16
|
actionable: {
|
|
14
17
|
type: Boolean,
|
|
15
18
|
},
|
|
@@ -175,6 +178,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
175
178
|
get modeDelete() {
|
|
176
179
|
return this._mode === ListMode.Delete;
|
|
177
180
|
}
|
|
181
|
+
get renderDeleteButton() {
|
|
182
|
+
return this.modeDelete;
|
|
183
|
+
}
|
|
178
184
|
get disableDeleteButton() {
|
|
179
185
|
return false;
|
|
180
186
|
}
|
|
@@ -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', './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, 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'], 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';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -120,6 +120,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
120
120
|
Token,
|
|
121
121
|
Icon,
|
|
122
122
|
ResponsivePopover,
|
|
123
|
+
Popover,
|
|
123
124
|
List,
|
|
124
125
|
StandardListItem,
|
|
125
126
|
ToggleButton,
|
|
@@ -204,7 +205,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
204
205
|
if (filteredItems.length === 0) {
|
|
205
206
|
this.allItemsPopover.close();
|
|
206
207
|
} else {
|
|
207
|
-
this.allItemsPopover.
|
|
208
|
+
this.allItemsPopover.showAt(this);
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
211
|
this.fireEvent("input");
|
|
@@ -328,7 +329,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
328
329
|
}
|
|
329
330
|
_click(event) {
|
|
330
331
|
if (Device.isPhone() && !this.readonly && !this._showMorePressed) {
|
|
331
|
-
this.allItemsPopover.
|
|
332
|
+
this.allItemsPopover.showAt(this);
|
|
332
333
|
}
|
|
333
334
|
this._showMorePressed = false;
|
|
334
335
|
}
|
|
@@ -378,7 +379,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
378
379
|
async openPopover() {
|
|
379
380
|
const popover = await this._getPopover();
|
|
380
381
|
if (popover) {
|
|
381
|
-
popover.
|
|
382
|
+
popover.showAt(this);
|
|
382
383
|
}
|
|
383
384
|
}
|
|
384
385
|
async closePopover() {
|
|
@@ -29,6 +29,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
29
29
|
},
|
|
30
30
|
collapsed: {
|
|
31
31
|
type: Boolean,
|
|
32
|
+
},
|
|
33
|
+
noAnimation: {
|
|
34
|
+
type: Boolean,
|
|
32
35
|
},
|
|
33
36
|
accessibleRole: {
|
|
34
37
|
type: PanelAccessibleRole,
|
|
@@ -97,8 +100,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
97
100
|
}
|
|
98
101
|
return true;
|
|
99
102
|
}
|
|
100
|
-
|
|
101
|
-
return AnimationMode.getAnimationMode()
|
|
103
|
+
shouldNotAnimate() {
|
|
104
|
+
return this.noAnimation || AnimationMode.getAnimationMode() === AnimationMode__default.None;
|
|
102
105
|
}
|
|
103
106
|
_headerClick(event) {
|
|
104
107
|
if (!this.shouldToggle(event.target)) {
|
|
@@ -135,7 +138,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
135
138
|
return;
|
|
136
139
|
}
|
|
137
140
|
this.collapsed = !this.collapsed;
|
|
138
|
-
if (
|
|
141
|
+
if (this.shouldNotAnimate()) {
|
|
139
142
|
this.fireEvent("toggle");
|
|
140
143
|
return;
|
|
141
144
|
}
|
|
@@ -165,7 +168,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
165
168
|
get classes() {
|
|
166
169
|
return {
|
|
167
170
|
headerBtn: {
|
|
168
|
-
"ui5-panel-header-button-animated": this.
|
|
171
|
+
"ui5-panel-header-button-animated": !this.shouldNotAnimate(),
|
|
169
172
|
},
|
|
170
173
|
};
|
|
171
174
|
}
|
|
@@ -95,13 +95,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
95
95
|
const target = event.target;
|
|
96
96
|
return target === this._opener || (target.getFocusDomRef && target.getFocusDomRef() === this._opener) || event.composedPath().indexOf(this._opener) > -1;
|
|
97
97
|
}
|
|
98
|
-
async
|
|
98
|
+
async showAt(opener, preventInitialFocus = false) {
|
|
99
99
|
if (!opener || this.opened) {
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
102
|
this._opener = opener;
|
|
103
103
|
this._openerRect = opener.getBoundingClientRect();
|
|
104
|
-
await super.
|
|
104
|
+
await super._open(preventInitialFocus);
|
|
105
105
|
}
|
|
106
106
|
_addOpenedPopup() {
|
|
107
107
|
PopoverRegistry.addOpenedPopover(this);
|
|
@@ -120,7 +120,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
120
120
|
const closedPopupParent = PopupUtils.getClosedPopupParent(this._opener);
|
|
121
121
|
let overflowsBottom = false;
|
|
122
122
|
let overflowsTop = false;
|
|
123
|
-
if (closedPopupParent.
|
|
123
|
+
if (closedPopupParent.showAt) {
|
|
124
124
|
const contentRect = closedPopupParent.contentDOM.getBoundingClientRect();
|
|
125
125
|
overflowsBottom = openerRect.top > (contentRect.top + contentRect.height);
|
|
126
126
|
overflowsTop = (openerRect.top + openerRect.height) < contentRect.top;
|
|
@@ -139,9 +139,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
reposition() {
|
|
142
|
-
this.
|
|
142
|
+
this._show();
|
|
143
143
|
}
|
|
144
|
-
|
|
144
|
+
_show() {
|
|
145
145
|
let placement;
|
|
146
146
|
const popoverSize = this.getPopoverSize();
|
|
147
147
|
if (popoverSize.width === 0 || popoverSize.height === 0) {
|
|
@@ -160,7 +160,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
160
160
|
return this.close();
|
|
161
161
|
}
|
|
162
162
|
if (this._oldPlacement && (this._oldPlacement.left === placement.left) && (this._oldPlacement.top === placement.top) && stretching) {
|
|
163
|
-
super.
|
|
163
|
+
super._show();
|
|
164
164
|
this.style.width = this._width;
|
|
165
165
|
return;
|
|
166
166
|
}
|
|
@@ -197,7 +197,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
197
197
|
top: `${top}px`,
|
|
198
198
|
left: `${left}px`,
|
|
199
199
|
});
|
|
200
|
-
super.
|
|
200
|
+
super._show();
|
|
201
201
|
if (stretching && this._width) {
|
|
202
202
|
this.style.width = this._width;
|
|
203
203
|
}
|
|
@@ -416,7 +416,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
416
416
|
return this.hideBackdrop;
|
|
417
417
|
}
|
|
418
418
|
get _ariaLabelledBy() {
|
|
419
|
-
return this.
|
|
419
|
+
return this.accessibleName ? undefined : "ui5-popup-header";
|
|
420
420
|
}
|
|
421
421
|
get _ariaModal() {
|
|
422
422
|
return true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/util/FocusableElements', 'sap/ui/webc/common/thirdparty/base/util/createStyleInHead', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/util/PopupUtils', './generated/templates/PopupTemplate.lit', './generated/templates/PopupBlockLayerTemplate.lit', './popup-utils/OpenedPopupsRegistry', './generated/themes/Popup.css', './generated/themes/PopupStaticAreaStyles.css'], function (Render, litRender, UI5Element, FocusableElements, createStyleInHead, Keys, PopupUtils, PopupTemplate_lit, PopupBlockLayerTemplate_lit, OpenedPopupsRegistry, Popup_css, PopupStaticAreaStyles_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/util/FocusableElements', 'sap/ui/webc/common/thirdparty/base/util/createStyleInHead', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/util/PopupUtils', './generated/templates/PopupTemplate.lit', './generated/templates/PopupBlockLayerTemplate.lit', './popup-utils/OpenedPopupsRegistry', './generated/themes/Popup.css', './generated/themes/PopupStaticAreaStyles.css'], function (Render, litRender, UI5Element, Device, FocusableElements, createStyleInHead, Keys, PopupUtils, PopupTemplate_lit, PopupBlockLayerTemplate_lit, OpenedPopupsRegistry, Popup_css, PopupStaticAreaStyles_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
24
24
|
opened: {
|
|
25
25
|
type: Boolean,
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
accessibleName: {
|
|
28
28
|
type: String,
|
|
29
29
|
defaultValue: undefined,
|
|
30
30
|
},
|
|
@@ -63,6 +63,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
63
63
|
customBlockingStyleInserted = true;
|
|
64
64
|
};
|
|
65
65
|
createBlockingStyle();
|
|
66
|
+
let bodyScrollingBlockers = 0;
|
|
66
67
|
class Popup extends UI5Element__default {
|
|
67
68
|
static get metadata() {
|
|
68
69
|
return metadata;
|
|
@@ -100,10 +101,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
100
101
|
event.preventDefault();
|
|
101
102
|
}
|
|
102
103
|
static blockBodyScrolling() {
|
|
103
|
-
|
|
104
|
+
bodyScrollingBlockers++;
|
|
105
|
+
if (bodyScrollingBlockers !== 1) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
if (window.pageYOffset > 0) {
|
|
109
|
+
document.body.style.top = `-${window.pageYOffset}px`;
|
|
110
|
+
}
|
|
104
111
|
document.body.classList.add("ui5-popup-scroll-blocker");
|
|
105
112
|
}
|
|
106
113
|
static unblockBodyScrolling() {
|
|
114
|
+
bodyScrollingBlockers--;
|
|
115
|
+
if (bodyScrollingBlockers !== 0) {
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
107
118
|
document.body.classList.remove("ui5-popup-scroll-blocker");
|
|
108
119
|
window.scrollTo(0, -parseFloat(document.body.style.top));
|
|
109
120
|
document.body.style.top = "";
|
|
@@ -121,7 +132,24 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
121
132
|
}
|
|
122
133
|
_onfocusout(e) {
|
|
123
134
|
if (!e.relatedTarget) {
|
|
124
|
-
this.
|
|
135
|
+
this._shouldFocusRoot = true;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
_onmousedown(e) {
|
|
139
|
+
this._root.removeAttribute("tabindex");
|
|
140
|
+
if (this.shadowRoot.contains(e.target)) {
|
|
141
|
+
this._shouldFocusRoot = true;
|
|
142
|
+
} else {
|
|
143
|
+
this._shouldFocusRoot = false;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
_onmouseup() {
|
|
147
|
+
this._root.tabIndex = -1;
|
|
148
|
+
if (this._shouldFocusRoot) {
|
|
149
|
+
if (Device.isChrome()) {
|
|
150
|
+
this._root.focus();
|
|
151
|
+
}
|
|
152
|
+
this._shouldFocusRoot = false;
|
|
125
153
|
}
|
|
126
154
|
}
|
|
127
155
|
async forwardToFirst() {
|
|
@@ -150,6 +178,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
150
178
|
|| await FocusableElements.getFirstFocusableElement(this)
|
|
151
179
|
|| this._root;
|
|
152
180
|
if (element) {
|
|
181
|
+
if (element === this._root) {
|
|
182
|
+
element.tabIndex = -1;
|
|
183
|
+
}
|
|
153
184
|
element.focus();
|
|
154
185
|
}
|
|
155
186
|
}
|
|
@@ -159,7 +190,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
159
190
|
isFocusWithin() {
|
|
160
191
|
return PopupUtils.isFocusedElementWithinNode(this.shadowRoot.querySelector(".ui5-popup-root"));
|
|
161
192
|
}
|
|
162
|
-
async
|
|
193
|
+
async _open(preventInitialFocus) {
|
|
163
194
|
const prevented = !this.fireEvent("before-open", {}, true, false);
|
|
164
195
|
if (prevented) {
|
|
165
196
|
return;
|
|
@@ -172,7 +203,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
172
203
|
this._zIndex = PopupUtils.getNextZIndex();
|
|
173
204
|
this.style.zIndex = this._zIndex;
|
|
174
205
|
this._focusedElementBeforeOpen = PopupUtils.getFocusedElement();
|
|
175
|
-
this.
|
|
206
|
+
this._show();
|
|
176
207
|
if (!this._disableInitialFocus && !preventInitialFocus) {
|
|
177
208
|
this.applyInitialFocus();
|
|
178
209
|
}
|
|
@@ -216,7 +247,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
216
247
|
this._focusedElementBeforeOpen.focus();
|
|
217
248
|
this._focusedElementBeforeOpen = null;
|
|
218
249
|
}
|
|
219
|
-
|
|
250
|
+
_show() {
|
|
220
251
|
this.style.display = this._displayProp;
|
|
221
252
|
}
|
|
222
253
|
hide() {
|
|
@@ -227,7 +258,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
227
258
|
get _ariaLabelledBy() {}
|
|
228
259
|
get _ariaModal() {}
|
|
229
260
|
get _ariaLabel() {
|
|
230
|
-
return this.
|
|
261
|
+
return this.accessibleName || undefined;
|
|
231
262
|
}
|
|
232
263
|
get _root() {
|
|
233
264
|
return this.shadowRoot.querySelector(".ui5-popup-root");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/Keys', './Label', './
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/Keys', './Label', './RadioButtonGroup', './types/WrappingType', './generated/templates/RadioButtonTemplate.lit', './generated/i18n/i18n-defaults', './generated/themes/RadioButton.css'], function (Device, FeaturesRegistry, UI5Element, litRender, i18nBundle, ValueState, Keys, Label, RadioButtonGroup, WrappingType, RadioButtonTemplate_lit, i18nDefaults, RadioButton_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -7,7 +7,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
7
7
|
var ValueState__default = /*#__PURE__*/_interopDefaultLegacy(ValueState);
|
|
8
8
|
|
|
9
9
|
const metadata = {
|
|
10
|
-
tag: "ui5-
|
|
10
|
+
tag: "ui5-radio-button",
|
|
11
|
+
altTag: "ui5-radiobutton",
|
|
11
12
|
languageAware: true,
|
|
12
13
|
properties: {
|
|
13
14
|
disabled: {
|
|
@@ -16,7 +17,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
16
17
|
readonly: {
|
|
17
18
|
type: Boolean,
|
|
18
19
|
},
|
|
19
|
-
|
|
20
|
+
checked: {
|
|
20
21
|
type: Boolean,
|
|
21
22
|
},
|
|
22
23
|
text: {
|
|
@@ -32,8 +33,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
32
33
|
value: {
|
|
33
34
|
type: String,
|
|
34
35
|
},
|
|
35
|
-
|
|
36
|
-
type:
|
|
36
|
+
wrappingType: {
|
|
37
|
+
type: WrappingType,
|
|
38
|
+
defaultValue: WrappingType.None,
|
|
37
39
|
},
|
|
38
40
|
_tabIndex: {
|
|
39
41
|
type: String,
|
|
@@ -47,7 +49,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
47
49
|
},
|
|
48
50
|
},
|
|
49
51
|
events: {
|
|
50
|
-
|
|
52
|
+
change: {},
|
|
51
53
|
},
|
|
52
54
|
};
|
|
53
55
|
class RadioButton extends UI5Element__default {
|
|
@@ -75,14 +77,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
75
77
|
}
|
|
76
78
|
onBeforeRendering() {
|
|
77
79
|
this.syncGroup();
|
|
78
|
-
this._wrappingType = this.wrap ? WrappingType.Normal : WrappingType.None;
|
|
79
80
|
this._enableFormSupport();
|
|
80
81
|
}
|
|
81
82
|
syncGroup() {
|
|
82
83
|
const oldGroup = this._name;
|
|
83
84
|
const currentGroup = this.name;
|
|
84
|
-
const
|
|
85
|
-
const
|
|
85
|
+
const oldChecked = this._checked;
|
|
86
|
+
const currentChecked = this.checked;
|
|
86
87
|
if (currentGroup !== oldGroup) {
|
|
87
88
|
if (oldGroup) {
|
|
88
89
|
RadioButtonGroup.removeFromGroup(this, oldGroup);
|
|
@@ -93,18 +94,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
93
94
|
} else if (currentGroup) {
|
|
94
95
|
RadioButtonGroup.enforceSingleSelection(this, currentGroup);
|
|
95
96
|
}
|
|
96
|
-
if (this.name &&
|
|
97
|
+
if (this.name && currentChecked !== oldChecked) {
|
|
97
98
|
RadioButtonGroup.updateTabOrder(this.name);
|
|
98
99
|
}
|
|
99
100
|
this._name = this.name;
|
|
100
|
-
this.
|
|
101
|
+
this._checked = this.checked;
|
|
101
102
|
}
|
|
102
103
|
_enableFormSupport() {
|
|
103
104
|
const FormSupport = FeaturesRegistry.getFeature("FormSupport");
|
|
104
105
|
if (FormSupport) {
|
|
105
106
|
FormSupport.syncNativeHiddenInput(this, (element, nativeInput) => {
|
|
106
|
-
nativeInput.disabled = element.disabled || !element.
|
|
107
|
-
nativeInput.value = element.
|
|
107
|
+
nativeInput.disabled = element.disabled || !element.checked;
|
|
108
|
+
nativeInput.value = element.checked ? element.value : "";
|
|
108
109
|
});
|
|
109
110
|
} else if (this.value) {
|
|
110
111
|
console.warn(`In order for the "value" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";`);
|
|
@@ -153,15 +154,15 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
153
154
|
return this;
|
|
154
155
|
}
|
|
155
156
|
if (!this.name) {
|
|
156
|
-
this.
|
|
157
|
-
this.fireEvent("
|
|
157
|
+
this.checked = !this.checked;
|
|
158
|
+
this.fireEvent("change");
|
|
158
159
|
return this;
|
|
159
160
|
}
|
|
160
161
|
RadioButtonGroup.selectItem(this, this.name);
|
|
161
162
|
return this;
|
|
162
163
|
}
|
|
163
164
|
canToggle() {
|
|
164
|
-
return !(this.disabled || this.readonly || this.
|
|
165
|
+
return !(this.disabled || this.readonly || this.checked);
|
|
165
166
|
}
|
|
166
167
|
valueStateTextMappings() {
|
|
167
168
|
const i18nBundle = this.i18nBundle;
|
|
@@ -172,6 +173,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
172
173
|
}
|
|
173
174
|
get classes() {
|
|
174
175
|
return {
|
|
176
|
+
main: {},
|
|
175
177
|
inner: {
|
|
176
178
|
"ui5-radio-inner--hoverable": !this.disabled && !this.readonly && Device.isDesktop(),
|
|
177
179
|
},
|
|
@@ -7,11 +7,11 @@ sap.ui.define(function () { 'use strict';
|
|
|
7
7
|
static getGroup(groupName) {
|
|
8
8
|
return this.groups.get(groupName);
|
|
9
9
|
}
|
|
10
|
-
static
|
|
11
|
-
return this.
|
|
10
|
+
static getCheckedRadioFromGroup(groupName) {
|
|
11
|
+
return this.checkedRadios.get(groupName);
|
|
12
12
|
}
|
|
13
13
|
static removeGroup(groupName) {
|
|
14
|
-
this.
|
|
14
|
+
this.checkedRadios.delete(groupName);
|
|
15
15
|
return this.groups.delete(groupName);
|
|
16
16
|
}
|
|
17
17
|
static addToGroup(radioBtn, groupName) {
|
|
@@ -28,14 +28,14 @@ sap.ui.define(function () { 'use strict';
|
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
30
|
const group = this.getGroup(groupName);
|
|
31
|
-
const
|
|
31
|
+
const checkedRadio = this.getCheckedRadioFromGroup(groupName);
|
|
32
32
|
group.forEach((_radioBtn, idx, arr) => {
|
|
33
33
|
if (radioBtn._id === _radioBtn._id) {
|
|
34
34
|
return arr.splice(idx, 1);
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
|
-
if (
|
|
38
|
-
this.
|
|
37
|
+
if (checkedRadio === radioBtn) {
|
|
38
|
+
this.checkedRadios.set(groupName, null);
|
|
39
39
|
}
|
|
40
40
|
if (!group.length) {
|
|
41
41
|
this.removeGroup(groupName);
|
|
@@ -43,8 +43,8 @@ sap.ui.define(function () { 'use strict';
|
|
|
43
43
|
this.updateTabOrder(groupName);
|
|
44
44
|
}
|
|
45
45
|
static createGroup(radioBtn, groupName) {
|
|
46
|
-
if (radioBtn.
|
|
47
|
-
this.
|
|
46
|
+
if (radioBtn.checked) {
|
|
47
|
+
this.checkedRadios.set(groupName, radioBtn);
|
|
48
48
|
}
|
|
49
49
|
this.groups.set(groupName, [radioBtn]);
|
|
50
50
|
}
|
|
@@ -63,10 +63,10 @@ sap.ui.define(function () { 'use strict';
|
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
65
|
const group = this.getGroup(groupName);
|
|
66
|
-
const
|
|
66
|
+
const hasCheckedRadio = group.some(radioBtn => radioBtn.checked);
|
|
67
67
|
group.filter(radioBtn => !radioBtn.disabled).forEach((radioBtn, idx) => {
|
|
68
|
-
if (
|
|
69
|
-
radioBtn._tabIndex = radioBtn.
|
|
68
|
+
if (hasCheckedRadio) {
|
|
69
|
+
radioBtn._tabIndex = radioBtn.checked ? "0" : "-1";
|
|
70
70
|
} else {
|
|
71
71
|
radioBtn._tabIndex = idx === 0 ? "0" : "-1";
|
|
72
72
|
}
|
|
@@ -87,22 +87,22 @@ sap.ui.define(function () { 'use strict';
|
|
|
87
87
|
this.updateTabOrder(groupName);
|
|
88
88
|
}
|
|
89
89
|
static updateSelectionInGroup(radioBtnToSelect, groupName) {
|
|
90
|
-
const
|
|
91
|
-
this._deselectRadio(
|
|
90
|
+
const checkedRadio = this.getCheckedRadioFromGroup(groupName);
|
|
91
|
+
this._deselectRadio(checkedRadio);
|
|
92
92
|
this._selectRadio(radioBtnToSelect);
|
|
93
|
-
this.
|
|
93
|
+
this.checkedRadios.set(groupName, radioBtnToSelect);
|
|
94
94
|
}
|
|
95
95
|
static _deselectRadio(radioBtn) {
|
|
96
96
|
if (radioBtn) {
|
|
97
|
-
radioBtn.
|
|
97
|
+
radioBtn.checked = false;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
static _selectRadio(radioBtn) {
|
|
101
101
|
if (radioBtn) {
|
|
102
102
|
radioBtn.focus();
|
|
103
|
-
radioBtn.
|
|
104
|
-
radioBtn.
|
|
105
|
-
radioBtn.fireEvent("
|
|
103
|
+
radioBtn.checked = true;
|
|
104
|
+
radioBtn._checked = true;
|
|
105
|
+
radioBtn.fireEvent("change");
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
static _nextSelectable(pos, group) {
|
|
@@ -136,16 +136,16 @@ sap.ui.define(function () { 'use strict';
|
|
|
136
136
|
return previousRadioToSelect;
|
|
137
137
|
}
|
|
138
138
|
static enforceSingleSelection(radioBtn, groupName) {
|
|
139
|
-
const
|
|
140
|
-
if (radioBtn.
|
|
141
|
-
if (!
|
|
142
|
-
this.
|
|
143
|
-
} else if (radioBtn !==
|
|
144
|
-
this._deselectRadio(
|
|
145
|
-
this.
|
|
139
|
+
const checkedRadio = this.getCheckedRadioFromGroup(groupName);
|
|
140
|
+
if (radioBtn.checked) {
|
|
141
|
+
if (!checkedRadio) {
|
|
142
|
+
this.checkedRadios.set(groupName, radioBtn);
|
|
143
|
+
} else if (radioBtn !== checkedRadio) {
|
|
144
|
+
this._deselectRadio(checkedRadio);
|
|
145
|
+
this.checkedRadios.set(groupName, radioBtn);
|
|
146
146
|
}
|
|
147
|
-
} else if (radioBtn ===
|
|
148
|
-
this.
|
|
147
|
+
} else if (radioBtn === checkedRadio) {
|
|
148
|
+
this.checkedRadios.set(groupName, null);
|
|
149
149
|
}
|
|
150
150
|
this.updateTabOrder(groupName);
|
|
151
151
|
}
|
|
@@ -155,11 +155,11 @@ sap.ui.define(function () { 'use strict';
|
|
|
155
155
|
}
|
|
156
156
|
return this._groups;
|
|
157
157
|
}
|
|
158
|
-
static get
|
|
159
|
-
if (!this.
|
|
160
|
-
this.
|
|
158
|
+
static get checkedRadios() {
|
|
159
|
+
if (!this._checkedRadios) {
|
|
160
|
+
this._checkedRadios = new Map();
|
|
161
161
|
}
|
|
162
|
-
return this.
|
|
162
|
+
return this._checkedRadios;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
|
|
@@ -15,7 +15,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
15
15
|
type: Float__default,
|
|
16
16
|
defaultValue: 0,
|
|
17
17
|
},
|
|
18
|
-
|
|
18
|
+
max: {
|
|
19
19
|
type: Integer__default,
|
|
20
20
|
defaultValue: 5,
|
|
21
21
|
},
|
|
@@ -25,7 +25,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
25
25
|
readonly: {
|
|
26
26
|
type: Boolean,
|
|
27
27
|
},
|
|
28
|
-
|
|
28
|
+
accessibleName: {
|
|
29
29
|
type: String,
|
|
30
30
|
defaultValue: undefined,
|
|
31
31
|
},
|
|
@@ -69,7 +69,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
69
69
|
}
|
|
70
70
|
calcState() {
|
|
71
71
|
this._stars = [];
|
|
72
|
-
for (let i = 1; i < this.
|
|
72
|
+
for (let i = 1; i < this.max + 1; i++) {
|
|
73
73
|
const remainder = Math.round((this.value - Math.floor(this.value)) * 10);
|
|
74
74
|
let halfStar = false,
|
|
75
75
|
tempValue = this.value;
|
|
@@ -111,7 +111,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
111
111
|
if (down && this.value > 0) {
|
|
112
112
|
this.value = Math.round(this.value - 1);
|
|
113
113
|
this.fireEvent("change");
|
|
114
|
-
} else if (up && this.value < this.
|
|
114
|
+
} else if (up && this.value < this.max) {
|
|
115
115
|
this.value = Math.round(this.value + 1);
|
|
116
116
|
this.fireEvent("change");
|
|
117
117
|
}
|
|
@@ -16,6 +16,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
16
16
|
_hideHeader: {
|
|
17
17
|
type: Boolean,
|
|
18
18
|
},
|
|
19
|
+
_hideCloseButton: {
|
|
20
|
+
type: Boolean,
|
|
21
|
+
},
|
|
19
22
|
},
|
|
20
23
|
};
|
|
21
24
|
class ResponsivePopover extends Popover {
|
|
@@ -47,7 +50,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
47
50
|
Title,
|
|
48
51
|
];
|
|
49
52
|
}
|
|
50
|
-
async
|
|
53
|
+
async showAt(opener, preventInitialFocus = false) {
|
|
51
54
|
this.style.display = this._isPhone ? "contents" : "";
|
|
52
55
|
if (this.isOpen() || (this._dialog && this._dialog.isOpen())) {
|
|
53
56
|
return;
|
|
@@ -56,10 +59,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
56
59
|
if (!this.noStretch) {
|
|
57
60
|
this._minWidth = Math.max(POPOVER_MIN_WIDTH, opener.getBoundingClientRect().width);
|
|
58
61
|
}
|
|
59
|
-
await
|
|
62
|
+
await super.showAt(opener, preventInitialFocus);
|
|
60
63
|
} else {
|
|
61
64
|
this.style.zIndex = PopupUtils.getNextZIndex();
|
|
62
|
-
await this._dialog.
|
|
65
|
+
await this._dialog.show();
|
|
63
66
|
}
|
|
64
67
|
}
|
|
65
68
|
close(escPressed = false, preventRegistryUpdate = false, preventFocusRestore = false) {
|
|
@@ -73,7 +76,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
73
76
|
if (this.isOpen()) {
|
|
74
77
|
return this.close();
|
|
75
78
|
}
|
|
76
|
-
this.
|
|
79
|
+
this.showAt(opener);
|
|
77
80
|
}
|
|
78
81
|
isOpen() {
|
|
79
82
|
return Device.isPhone() ? this._dialog.isOpen() : super.isOpen();
|