@openui5/sap.ui.webc.main 1.97.1 → 1.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +15 -22
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +12 -8
- package/src/sap/ui/webc/main/Avatar.js +15 -3
- package/src/sap/ui/webc/main/AvatarGroup.js +4 -1
- package/src/sap/ui/webc/main/Badge.js +4 -1
- package/src/sap/ui/webc/main/Breadcrumbs.js +7 -3
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +5 -2
- package/src/sap/ui/webc/main/BusyIndicator.js +4 -1
- package/src/sap/ui/webc/main/Button.js +65 -8
- package/src/sap/ui/webc/main/Calendar.js +5 -1
- package/src/sap/ui/webc/main/CalendarDate.js +4 -1
- package/src/sap/ui/webc/main/Card.js +20 -10
- package/src/sap/ui/webc/main/CardHeader.js +5 -2
- package/src/sap/ui/webc/main/Carousel.js +8 -2
- package/src/sap/ui/webc/main/CheckBox.js +63 -8
- package/src/sap/ui/webc/main/ColorPalette.js +6 -2
- package/src/sap/ui/webc/main/ColorPaletteItem.js +4 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +28 -7
- package/src/sap/ui/webc/main/ColorPicker.js +4 -1
- package/src/sap/ui/webc/main/ComboBox.js +54 -19
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +5 -2
- package/src/sap/ui/webc/main/ComboBoxItem.js +4 -1
- package/src/sap/ui/webc/main/CustomListItem.js +4 -1
- package/src/sap/ui/webc/main/DatePicker.js +38 -15
- package/src/sap/ui/webc/main/DateRangePicker.js +46 -16
- package/src/sap/ui/webc/main/DateTimePicker.js +37 -14
- package/src/sap/ui/webc/main/Dialog.js +46 -6
- package/src/sap/ui/webc/main/FileUploader.js +22 -8
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +4 -1
- package/src/sap/ui/webc/main/Icon.js +17 -1
- package/src/sap/ui/webc/main/Input.js +72 -20
- package/src/sap/ui/webc/main/Label.js +29 -12
- package/src/sap/ui/webc/main/Link.js +62 -9
- package/src/sap/ui/webc/main/List.js +26 -14
- package/src/sap/ui/webc/main/MessageStrip.js +7 -2
- package/src/sap/ui/webc/main/MultiComboBox.js +29 -12
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +4 -1
- package/src/sap/ui/webc/main/MultiInput.js +118 -18
- package/src/sap/ui/webc/main/Option.js +16 -7
- package/src/sap/ui/webc/main/Panel.js +9 -3
- package/src/sap/ui/webc/main/Popover.js +60 -8
- package/src/sap/ui/webc/main/ProgressIndicator.js +34 -10
- package/src/sap/ui/webc/main/RadioButton.js +55 -8
- package/src/sap/ui/webc/main/RangeSlider.js +18 -6
- package/src/sap/ui/webc/main/RatingIndicator.js +45 -11
- package/src/sap/ui/webc/main/ResponsivePopover.js +60 -8
- package/src/sap/ui/webc/main/SegmentedButton.js +42 -1
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +63 -7
- package/src/sap/ui/webc/main/Select.js +47 -27
- package/src/sap/ui/webc/main/Slider.js +31 -6
- package/src/sap/ui/webc/main/SplitButton.js +164 -0
- package/src/sap/ui/webc/main/StandardListItem.js +4 -1
- package/src/sap/ui/webc/main/StepInput.js +47 -15
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +5 -2
- package/src/sap/ui/webc/main/SuggestionItem.js +4 -1
- package/src/sap/ui/webc/main/Switch.js +51 -7
- package/src/sap/ui/webc/main/Tab.js +26 -7
- package/src/sap/ui/webc/main/TabContainer.js +41 -7
- package/src/sap/ui/webc/main/TabSeparator.js +4 -1
- package/src/sap/ui/webc/main/Table.js +23 -4
- package/src/sap/ui/webc/main/TableCell.js +4 -1
- package/src/sap/ui/webc/main/TableColumn.js +4 -1
- package/src/sap/ui/webc/main/TableGroupRow.js +5 -2
- package/src/sap/ui/webc/main/TableRow.js +4 -1
- package/src/sap/ui/webc/main/TextArea.js +38 -17
- package/src/sap/ui/webc/main/TimePicker.js +20 -5
- package/src/sap/ui/webc/main/Title.js +4 -1
- package/src/sap/ui/webc/main/Toast.js +4 -1
- package/src/sap/ui/webc/main/ToggleButton.js +62 -6
- package/src/sap/ui/webc/main/Token.js +4 -1
- package/src/sap/ui/webc/main/Tree.js +5 -1
- package/src/sap/ui/webc/main/TreeItem.js +20 -1
- package/src/sap/ui/webc/main/designtime/Input.designtime.js +26 -0
- package/src/sap/ui/webc/main/designtime/MultiInput.designtime.js +27 -0
- package/src/sap/ui/webc/main/designtime/Panel.designtime.js +45 -0
- package/src/sap/ui/webc/main/designtime/RangeSlider.designtime.js +26 -0
- package/src/sap/ui/webc/main/designtime/RatingIndicator.designtime.js +26 -0
- package/src/sap/ui/webc/main/designtime/Slider.designtime.js +25 -0
- package/src/sap/ui/webc/main/designtime/Table.designtime.js +37 -0
- package/src/sap/ui/webc/main/designtime/library.designtime.js +12 -0
- package/src/sap/ui/webc/main/designtime/messagebundle.properties +44 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ar.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_bg.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ca.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_cs.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_cy.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_da.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_de.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_el.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_GB.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_US_sappsd.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_US_saprigi.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_US_saptrc.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_es.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_es_MX.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_et.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fi.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fr.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fr_CA.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hi.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hr.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hu.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_id.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_it.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_iw.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ja.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_kk.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ko.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_lt.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_lv.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ms.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_nl.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_no.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pl.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pt.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pt_PT.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ro.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ru.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sh.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sk.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sl.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sv.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_th.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_tr.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_uk.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_vi.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_zh_CN.properties +28 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_zh_TW.properties +28 -0
- package/src/sap/ui/webc/main/library.config.js +3 -0
- package/src/sap/ui/webc/main/library.js +110 -6
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +24 -10
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/Button.js +20 -17
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/Carousel.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/CheckBox.js +18 -2
- package/src/sap/ui/webc/main/thirdparty/ColorPalette.js +5 -5
- package/src/sap/ui/webc/main/thirdparty/ColorPalettePopover.js +11 -3
- package/src/sap/ui/webc/main/thirdparty/ColorPicker.js +26 -3
- package/src/sap/ui/webc/main/thirdparty/ComboBox.js +75 -19
- package/src/sap/ui/webc/main/thirdparty/ComboBoxFilters.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +6 -8
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +9 -3
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +12 -1
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +22 -16
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +13 -6
- package/src/sap/ui/webc/main/thirdparty/Icon.js +9 -6
- package/src/sap/ui/webc/main/thirdparty/Input.js +154 -36
- package/src/sap/ui/webc/main/thirdparty/Label.js +7 -2
- package/src/sap/ui/webc/main/thirdparty/Link.js +8 -7
- package/src/sap/ui/webc/main/thirdparty/List.js +7 -13
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +22 -9
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +152 -24
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +39 -8
- package/src/sap/ui/webc/main/thirdparty/Option.js +6 -3
- package/src/sap/ui/webc/main/thirdparty/Panel.js +7 -7
- package/src/sap/ui/webc/main/thirdparty/Popover.js +79 -58
- package/src/sap/ui/webc/main/thirdparty/Popup.js +38 -19
- package/src/sap/ui/webc/main/thirdparty/ProgressIndicator.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +5 -2
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +5 -2
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +20 -7
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +6 -1
- package/src/sap/ui/webc/main/thirdparty/SegmentedButtonItem.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/Select.js +22 -2
- package/src/sap/ui/webc/main/thirdparty/Slider.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +8 -5
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +199 -0
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +5 -6
- package/src/sap/ui/webc/main/thirdparty/Switch.js +14 -1
- package/src/sap/ui/webc/main/thirdparty/Tab.js +13 -7
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +347 -92
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +26 -3
- package/src/sap/ui/webc/main/thirdparty/Table.js +164 -7
- package/src/sap/ui/webc/main/thirdparty/TableColumn.js +0 -3
- package/src/sap/ui/webc/main/thirdparty/TableGroupRow.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/TableRow.js +61 -9
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +18 -5
- package/src/sap/ui/webc/main/thirdparty/ToggleButton.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/Token.js +11 -1
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +122 -13
- package/src/sap/ui/webc/main/thirdparty/Tree.js +3 -1
- package/src/sap/ui/webc/main/thirdparty/TreeItem.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/TreeListItem.js +7 -1
- package/src/sap/ui/webc/main/thirdparty/WheelSlider.js +9 -9
- package/src/sap/ui/webc/main/thirdparty/{ComboBoxFilters-f59100bd.js → _chunks/ComboBoxFilters.js} +0 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-f610ffe9.js → _chunks/messagebundle_ar.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-e372ad7a.js → _chunks/messagebundle_bg.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-64403819.js → _chunks/messagebundle_ca.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-f5276d1f.js → _chunks/messagebundle_cs.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-5b51959f.js → _chunks/messagebundle_cy.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-3f0c542a.js → _chunks/messagebundle_da.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-ff52e292.js → _chunks/messagebundle_de.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-8a8f0e04.js → _chunks/messagebundle_el.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-39f79920.js → _chunks/messagebundle_en.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-9a6995bc.js → _chunks/messagebundle_en_GB.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-1cd6f946.js → _chunks/messagebundle_en_US_sappsd.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-88214efb.js → _chunks/messagebundle_en_US_saprigi.js} +11 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-d8b4cc37.js → _chunks/messagebundle_en_US_saptrc.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-4e7804b3.js → _chunks/messagebundle_es.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-5d55637e.js → _chunks/messagebundle_es_MX.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-d019447e.js → _chunks/messagebundle_et.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-115f5a0c.js → _chunks/messagebundle_fi.js} +11 -3
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-f4458a8c.js → _chunks/messagebundle_fr.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-d3ac2579.js → _chunks/messagebundle_fr_CA.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-3dbf5206.js → _chunks/messagebundle_hi.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-3112e358.js → _chunks/messagebundle_hr.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-90f77b24.js → _chunks/messagebundle_hu.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_in-7ab9b6f2.js → _chunks/messagebundle_in.js} +0 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-4fd2c566.js → _chunks/messagebundle_it.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-ff53b57b.js → _chunks/messagebundle_iw.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-050a69c3.js → _chunks/messagebundle_ja.js} +12 -4
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-597a9724.js → _chunks/messagebundle_kk.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-d840efd8.js → _chunks/messagebundle_ko.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-d15c1526.js → _chunks/messagebundle_lt.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-539ad33e.js → _chunks/messagebundle_lv.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-98b3e6dd.js → _chunks/messagebundle_ms.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-5c52e887.js → _chunks/messagebundle_nl.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-04ee2aaf.js → _chunks/messagebundle_no.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-6da30702.js → _chunks/messagebundle_pl.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-71f281c3.js → _chunks/messagebundle_pt.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-6d966418.js → _chunks/messagebundle_pt_PT.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-e76a9c5d.js → _chunks/messagebundle_ro.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-dc34dd79.js → _chunks/messagebundle_ru.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-f2171ee6.js → _chunks/messagebundle_sh.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-5c10a3c8.js → _chunks/messagebundle_sk.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-14cff3cf.js → _chunks/messagebundle_sl.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-44a9e5d4.js → _chunks/messagebundle_sv.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-6cbca7a8.js → _chunks/messagebundle_th.js} +9 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-00ce0f94.js → _chunks/messagebundle_tr.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-bf2de1c7.js → _chunks/messagebundle_uk.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-a0de6aa8.js → _chunks/messagebundle_vi.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-7cbf9197.js → _chunks/messagebundle_zh_CN.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-53705d5b.js → _chunks/messagebundle_zh_TW.js} +9 -1
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css2.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css3.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css4.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css5.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css6.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css7.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css8.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css9.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Avatar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Badge.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Breadcrumbs.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CalendarHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Card.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CardHeader.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CheckBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPalettePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ColorPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/CustomListItem.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DatePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DateTimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/DayPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Dialog.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/GrowingButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Input.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/InputIcon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/List.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ListItemBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MessageStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MonthPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiComboBox.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/MultiInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Panel.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Popover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupGlobal.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/PopupsCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ProgressIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RadioButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/RatingIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/ResponsivePopoverCommon.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SegmentedButton.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Select.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SelectPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SliderBase.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/SplitButton.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/StepInput.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Suggestions.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Switch.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabContainer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInOverflow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabInStrip.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInOverflow.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/TabSeparatorInStrip.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/Table.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableColumn.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableGroupRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TableRow.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TextArea.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Tokenizer.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TokenizerPopover.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/ValueStateMessage.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/WheelSlider.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/YearPicker.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +143 -29
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +10 -1
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +9 -9
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/i18n.js +48 -48
- package/src/sap/ui/webc/main/thirdparty/generated/templates/AvatarGroupTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/BreadcrumbsTemplate.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/ButtonTemplate.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 +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.lit.js +1 -1
- 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 +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +4 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CustomListItemTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/FileUploaderPopoverTemplate.lit.js +5 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputPopoverTemplate.lit.js +6 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +7 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/LinkTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListItemTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ListTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +6 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +4 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +8 -6
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PanelTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopoverTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupBlockLayerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/PopupTemplate.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 +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js +5 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectPopoverTemplate.lit.js +5 -5
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SliderBaseTemplate.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/SplitButtonTemplate.lit.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StandardListItemTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/StepInputTemplate.lit.js +4 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SwitchTemplate.lit.js +4 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +4 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +10 -11
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInOverflowTemplate.lit.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorInStripTemplate.lit.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableGroupRowTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableRowTemplate.lit.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TableTemplate.lit.js +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TextAreaTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TimePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ToggleButtonTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TokenizerTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeListItemTemplate.lit.js +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TreeTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Avatar.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Badge.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Breadcrumbs.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BrowserScrollbar.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/BusyIndicator.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Button.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Calendar.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CalendarHeader.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Card.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CardHeader.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CheckBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPalettePopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ColorPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ComboBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/CustomListItem.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DatePickerPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DateTimePickerPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/DayPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Dialog.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/GrowingButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Input.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/InputIcon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/List.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ListItemBase.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MessageStrip.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MonthPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiComboBox.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/MultiInput.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Panel.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Popover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupGlobal.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/PopupsCommon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ProgressIndicator.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RadioButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/RatingIndicator.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ResponsivePopoverCommon.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SegmentedButton.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Select.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SelectPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SliderBase.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/SplitButton.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/StepInput.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Suggestions.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Switch.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabContainer.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInOverflow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabInStrip.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInOverflow.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TabSeparatorInStrip.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Table.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableColumn.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableGroupRow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TableRow.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TextArea.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimePickerPopover.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TimeSelection.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Token.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Tokenizer.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/TokenizerPopover.css.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/ValueStateMessage.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/WheelSlider.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/YearPicker.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +23 -0
- package/src/sap/ui/webc/main/thirdparty/types/TabsOverflowMode.js +20 -0
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabSeparatorTemplate.lit.js +0 -7
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-0f28e359.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-1ee56435.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4d4cd873.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-5bdedee7.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-60d672db.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-793a420b.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7c549d8f.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-7e5617d6.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-e75a0bfb.js +0 -13
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/util/PopupUtils', 'sap/ui/webc/common/thirdparty/base/util/clamp', './Popup', './types/PopoverPlacementType', './types/PopoverVerticalAlign', './types/PopoverHorizontalAlign', './popup-utils/PopoverRegistry', './generated/templates/PopoverTemplate.lit', './generated/themes/BrowserScrollbar.css', './generated/themes/PopupsCommon.css', './generated/themes/Popover.css'], function (Integer, Device, PopupUtils, clamp, Popup, PopoverPlacementType, PopoverVerticalAlign, PopoverHorizontalAlign, PopoverRegistry, PopoverTemplate_lit, BrowserScrollbar_css, PopupsCommon_css, Popover_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
5
5
|
var Integer__default = /*#__PURE__*/_interopDefaultLegacy(Integer);
|
|
6
|
-
var ResizeHandler__default = /*#__PURE__*/_interopDefaultLegacy(ResizeHandler);
|
|
7
6
|
var clamp__default = /*#__PURE__*/_interopDefaultLegacy(clamp);
|
|
8
7
|
|
|
9
8
|
const arrowSize = 8;
|
|
@@ -37,6 +36,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
37
36
|
allowTargetOverlap: {
|
|
38
37
|
type: Boolean,
|
|
39
38
|
},
|
|
39
|
+
opener: {
|
|
40
|
+
type: String,
|
|
41
|
+
},
|
|
40
42
|
disableScrolling: {
|
|
41
43
|
type: Boolean,
|
|
42
44
|
},
|
|
@@ -54,11 +56,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
54
56
|
type: PopoverPlacementType,
|
|
55
57
|
defaultValue: PopoverPlacementType.Right,
|
|
56
58
|
},
|
|
57
|
-
|
|
59
|
+
_maxHeight: {
|
|
58
60
|
type: Integer__default,
|
|
59
61
|
noAttribute: true,
|
|
60
62
|
},
|
|
61
|
-
|
|
63
|
+
_maxWidth: {
|
|
62
64
|
type: Integer__default,
|
|
63
65
|
noAttribute: true,
|
|
64
66
|
},
|
|
@@ -78,7 +80,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
78
80
|
class Popover extends Popup {
|
|
79
81
|
constructor() {
|
|
80
82
|
super();
|
|
81
|
-
this._handleResize = this.handleResize.bind(this);
|
|
82
83
|
}
|
|
83
84
|
static get metadata() {
|
|
84
85
|
return metadata;
|
|
@@ -92,11 +93,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
92
93
|
static get VIEWPORT_MARGIN() {
|
|
93
94
|
return 10;
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
static get ARROW_MARGIN() {
|
|
97
|
+
return 6;
|
|
97
98
|
}
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
onAfterRendering() {
|
|
100
|
+
if (!this.isOpen() && this.open) {
|
|
101
|
+
const opener = document.getElementById(this.opener);
|
|
102
|
+
if (!opener) {
|
|
103
|
+
console.warn("Valid opener id is required.");
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
this.showAt(opener);
|
|
107
|
+
} else if (this.isOpen() && !this.open) {
|
|
108
|
+
this.close();
|
|
109
|
+
}
|
|
100
110
|
}
|
|
101
111
|
isOpenerClicked(event) {
|
|
102
112
|
const target = event.target;
|
|
@@ -140,7 +150,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
140
150
|
&& openerRect.left === 0
|
|
141
151
|
&& openerRect.right === 0;
|
|
142
152
|
}
|
|
143
|
-
|
|
153
|
+
_resize() {
|
|
154
|
+
super._resize();
|
|
144
155
|
if (this.opened) {
|
|
145
156
|
this.reposition();
|
|
146
157
|
}
|
|
@@ -184,37 +195,56 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
184
195
|
if (this.actualPlacementType === PopoverPlacementType.Bottom) {
|
|
185
196
|
top = Math.max(top, this._top);
|
|
186
197
|
}
|
|
187
|
-
|
|
188
|
-
const
|
|
189
|
-
|
|
198
|
+
const isVertical = this.actualPlacementType === PopoverPlacementType.Top || this.actualPlacementType === PopoverPlacementType.Bottom;
|
|
199
|
+
const borderRadius = Number.parseInt(window.getComputedStyle(this).getPropertyValue("border-radius"));
|
|
200
|
+
const arrow = this._clampArrowPlacement(placement.arrow, isVertical, this._top, this._left, popoverSize, borderRadius);
|
|
201
|
+
this.arrowTranslateX = arrow.x;
|
|
202
|
+
this.arrowTranslateY = arrow.y;
|
|
203
|
+
top = this._adjustForIOSKeyboard(top);
|
|
204
|
+
Object.assign(this.style, {
|
|
205
|
+
top: `${top}px`,
|
|
206
|
+
left: `${left}px`,
|
|
207
|
+
});
|
|
208
|
+
super._show();
|
|
209
|
+
if (stretching && this._width) {
|
|
210
|
+
this.style.width = this._width;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
_clampArrowPlacement({ x, y }, isVertical, top, left, { width, height }, borderRadius) {
|
|
214
|
+
const maxY = this._getArrowRange(height, borderRadius);
|
|
215
|
+
const maxX = this._getArrowRange(width, borderRadius);
|
|
190
216
|
if (isVertical) {
|
|
191
|
-
const popoverOnLeftBorderOffset = Popover.VIEWPORT_MARGIN -
|
|
192
|
-
const popoverOnRightBorderOffset =
|
|
217
|
+
const popoverOnLeftBorderOffset = Popover.VIEWPORT_MARGIN - left;
|
|
218
|
+
const popoverOnRightBorderOffset = left + width + Popover.VIEWPORT_MARGIN - document.documentElement.clientWidth;
|
|
193
219
|
if (popoverOnLeftBorderOffset > 0) {
|
|
194
|
-
|
|
220
|
+
x = Math.max(x - popoverOnLeftBorderOffset, -maxX);
|
|
195
221
|
} else if (popoverOnRightBorderOffset > 0) {
|
|
196
|
-
|
|
222
|
+
x = Math.min(x + popoverOnRightBorderOffset, maxX);
|
|
197
223
|
}
|
|
198
224
|
}
|
|
199
|
-
this.arrowTranslateX = Math.round(arrowX);
|
|
200
225
|
if (!isVertical) {
|
|
201
|
-
const popoverOnTopBorderOffset = Popover.VIEWPORT_MARGIN -
|
|
202
|
-
const popoverOnBottomBorderOffset =
|
|
226
|
+
const popoverOnTopBorderOffset = Popover.VIEWPORT_MARGIN - top;
|
|
227
|
+
const popoverOnBottomBorderOffset = top + height + Popover.VIEWPORT_MARGIN - document.documentElement.clientHeight;
|
|
203
228
|
if (popoverOnTopBorderOffset > 0) {
|
|
204
|
-
|
|
229
|
+
y = Math.max(y - popoverOnTopBorderOffset, -maxY);
|
|
205
230
|
} else if (popoverOnBottomBorderOffset > 0) {
|
|
206
|
-
|
|
231
|
+
y = Math.min(y + popoverOnBottomBorderOffset, maxY);
|
|
207
232
|
}
|
|
208
233
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
234
|
+
return {
|
|
235
|
+
x: Math.round(x),
|
|
236
|
+
y: Math.round(y),
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
_getArrowRange(dimension, borderRadius) {
|
|
240
|
+
return Math.floor((dimension / 2) - (borderRadius + Popover.ARROW_MARGIN));
|
|
241
|
+
}
|
|
242
|
+
_adjustForIOSKeyboard(top) {
|
|
243
|
+
if (!Device.isIOS()) {
|
|
244
|
+
return top;
|
|
217
245
|
}
|
|
246
|
+
const actualTop = Math.ceil(this.getBoundingClientRect().top);
|
|
247
|
+
return top + (Number.parseInt(this.style.top || "0") - actualTop);
|
|
218
248
|
}
|
|
219
249
|
getPopoverSize() {
|
|
220
250
|
if (!this.opened) {
|
|
@@ -243,21 +273,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
243
273
|
const clientHeight = document.documentElement.clientHeight;
|
|
244
274
|
let maxHeight = clientHeight;
|
|
245
275
|
let maxWidth = clientWidth;
|
|
246
|
-
let width = "";
|
|
247
|
-
let height = "";
|
|
248
276
|
const placementType = this.getActualPlacementType(targetRect, popoverSize);
|
|
249
277
|
this._preventRepositionAndClose = this.shouldCloseDueToNoOpener(targetRect) || this.shouldCloseDueToOverflow(placementType, targetRect);
|
|
250
278
|
const isVertical = placementType === PopoverPlacementType.Top
|
|
251
279
|
|| placementType === PopoverPlacementType.Bottom;
|
|
252
280
|
if (this.horizontalAlign === PopoverHorizontalAlign.Stretch && isVertical) {
|
|
253
281
|
popoverSize.width = targetRect.width;
|
|
254
|
-
|
|
282
|
+
this._width = `${targetRect.width}px`;
|
|
255
283
|
} else if (this.verticalAlign === PopoverVerticalAlign.Stretch && !isVertical) {
|
|
256
284
|
popoverSize.height = targetRect.height;
|
|
257
|
-
height = `${targetRect.height}px`;
|
|
258
285
|
}
|
|
259
|
-
this._width = width;
|
|
260
|
-
this._height = height;
|
|
261
286
|
const arrowOffset = this.hideArrow ? 0 : arrowSize;
|
|
262
287
|
switch (placementType) {
|
|
263
288
|
case PopoverPlacementType.Top:
|
|
@@ -269,10 +294,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
269
294
|
break;
|
|
270
295
|
case PopoverPlacementType.Bottom:
|
|
271
296
|
left = this.getVerticalLeft(targetRect, popoverSize);
|
|
297
|
+
top = targetRect.bottom + arrowOffset;
|
|
272
298
|
if (allowTargetOverlap) {
|
|
273
|
-
top = Math.max(Math.min(
|
|
299
|
+
top = Math.max(Math.min(top, clientHeight - popoverSize.height), 0);
|
|
274
300
|
} else {
|
|
275
|
-
top = targetRect.bottom + arrowOffset;
|
|
276
301
|
maxHeight = clientHeight - targetRect.bottom - arrowOffset;
|
|
277
302
|
}
|
|
278
303
|
break;
|
|
@@ -284,13 +309,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
284
309
|
}
|
|
285
310
|
break;
|
|
286
311
|
case PopoverPlacementType.Right:
|
|
312
|
+
left = targetRect.left + targetRect.width + arrowOffset;
|
|
313
|
+
top = this.getHorizontalTop(targetRect, popoverSize);
|
|
287
314
|
if (allowTargetOverlap) {
|
|
288
|
-
left = Math.max(Math.min(
|
|
315
|
+
left = Math.max(Math.min(left, clientWidth - popoverSize.width), 0);
|
|
289
316
|
} else {
|
|
290
|
-
left = targetRect.left + targetRect.width + arrowOffset;
|
|
291
317
|
maxWidth = clientWidth - targetRect.right - arrowOffset;
|
|
292
318
|
}
|
|
293
|
-
top = this.getHorizontalTop(targetRect, popoverSize);
|
|
294
319
|
break;
|
|
295
320
|
}
|
|
296
321
|
if (isVertical) {
|
|
@@ -306,26 +331,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
306
331
|
top -= top + popoverSize.height - clientHeight;
|
|
307
332
|
}
|
|
308
333
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
const headerDomRef = this.shadowRoot.querySelector(".ui5-popup-header-root")
|
|
312
|
-
|| this.shadowRoot.querySelector(".ui5-popup-header-text");
|
|
313
|
-
if (headerDomRef) {
|
|
314
|
-
maxContentHeight = maxHeight - headerDomRef.offsetHeight;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
this._maxContentHeight = Math.round(maxContentHeight - Popover.VIEWPORT_MARGIN);
|
|
318
|
-
this._maxContentWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);
|
|
319
|
-
const arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical);
|
|
334
|
+
this._maxHeight = Math.round(maxHeight - Popover.VIEWPORT_MARGIN);
|
|
335
|
+
this._maxWidth = Math.round(maxWidth - Popover.VIEWPORT_MARGIN);
|
|
320
336
|
if (this._left === undefined || Math.abs(this._left - left) > 1.5) {
|
|
321
337
|
this._left = Math.round(left);
|
|
322
338
|
}
|
|
323
339
|
if (this._top === undefined || Math.abs(this._top - top) > 1.5) {
|
|
324
340
|
this._top = Math.round(top);
|
|
325
341
|
}
|
|
342
|
+
const arrowPos = this.getArrowPosition(targetRect, popoverSize, left, top, isVertical);
|
|
326
343
|
return {
|
|
327
|
-
|
|
328
|
-
arrowY: arrowPos.y,
|
|
344
|
+
arrow: arrowPos,
|
|
329
345
|
top: this._top,
|
|
330
346
|
left: this._left,
|
|
331
347
|
placementType,
|
|
@@ -436,7 +452,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
436
452
|
return this.hideBackdrop;
|
|
437
453
|
}
|
|
438
454
|
get _ariaLabelledBy() {
|
|
439
|
-
return this.
|
|
455
|
+
return this._ariaLabel ? undefined : "ui5-popup-header";
|
|
440
456
|
}
|
|
441
457
|
get _ariaModal() {
|
|
442
458
|
return true;
|
|
@@ -444,15 +460,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/
|
|
|
444
460
|
get styles() {
|
|
445
461
|
return {
|
|
446
462
|
...super.styles,
|
|
447
|
-
|
|
448
|
-
"max-height": `${this.
|
|
449
|
-
"max-width": `${this.
|
|
463
|
+
root: {
|
|
464
|
+
"max-height": `${this._maxHeight}px`,
|
|
465
|
+
"max-width": `${this._maxWidth}px`,
|
|
450
466
|
},
|
|
451
467
|
arrow: {
|
|
452
468
|
transform: `translate(${this.arrowTranslateX}px, ${this.arrowTranslateY}px)`,
|
|
453
469
|
},
|
|
454
470
|
};
|
|
455
471
|
}
|
|
472
|
+
get classes() {
|
|
473
|
+
const allClasses = super.classes;
|
|
474
|
+
allClasses.root["ui5-popover-root"] = true;
|
|
475
|
+
return allClasses;
|
|
476
|
+
}
|
|
456
477
|
get _displayHeader() {
|
|
457
478
|
return this.header.length || this.headerText;
|
|
458
479
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
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/ManagedStyles', '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', './generated/themes/PopupGlobal.css'], function (Render, litRender, UI5Element, Device, FocusableElements, ManagedStyles, Keys, PopupUtils, PopupTemplate_lit, PopupBlockLayerTemplate_lit, OpenedPopupsRegistry, Popup_css, PopupStaticAreaStyles_css, PopupGlobal_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/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/ManagedStyles', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/util/PopupUtils', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap/ui/webc/common/thirdparty/base/MediaRange', './generated/templates/PopupTemplate.lit', './generated/templates/PopupBlockLayerTemplate.lit', './popup-utils/OpenedPopupsRegistry', './generated/themes/Popup.css', './generated/themes/PopupStaticAreaStyles.css', './generated/themes/PopupGlobal.css'], function (Render, litRender, UI5Element, Device, FocusableElements, AriaLabelHelper, ManagedStyles, Keys, PopupUtils, ResizeHandler, MediaRange, PopupTemplate_lit, PopupBlockLayerTemplate_lit, OpenedPopupsRegistry, Popup_css, PopupStaticAreaStyles_css, PopupGlobal_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
5
5
|
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
6
6
|
var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
7
|
+
var ResizeHandler__default = /*#__PURE__*/_interopDefaultLegacy(ResizeHandler);
|
|
8
|
+
var MediaRange__default = /*#__PURE__*/_interopDefaultLegacy(MediaRange);
|
|
7
9
|
|
|
8
10
|
const metadata = {
|
|
9
11
|
managedSlots: true,
|
|
@@ -20,13 +22,24 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
20
22
|
preventFocusRestore: {
|
|
21
23
|
type: Boolean,
|
|
22
24
|
},
|
|
25
|
+
open: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
},
|
|
23
28
|
opened: {
|
|
24
29
|
type: Boolean,
|
|
30
|
+
noAttribute: true,
|
|
25
31
|
},
|
|
26
32
|
accessibleName: {
|
|
27
33
|
type: String,
|
|
28
34
|
defaultValue: undefined,
|
|
29
35
|
},
|
|
36
|
+
accessibleNameRef: {
|
|
37
|
+
type: String,
|
|
38
|
+
defaultValue: "",
|
|
39
|
+
},
|
|
40
|
+
mediaRange: {
|
|
41
|
+
type: String,
|
|
42
|
+
},
|
|
30
43
|
_disableInitialFocus: {
|
|
31
44
|
type: Boolean,
|
|
32
45
|
},
|
|
@@ -52,8 +65,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
52
65
|
}
|
|
53
66
|
};
|
|
54
67
|
createBlockingStyle();
|
|
55
|
-
const
|
|
68
|
+
const pageScrollingBlockers = new Set();
|
|
56
69
|
class Popup extends UI5Element__default {
|
|
70
|
+
constructor() {
|
|
71
|
+
super();
|
|
72
|
+
this._resizeHandler = this._resize.bind(this);
|
|
73
|
+
}
|
|
57
74
|
static get metadata() {
|
|
58
75
|
return metadata;
|
|
59
76
|
}
|
|
@@ -76,37 +93,37 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
76
93
|
if (!this.isOpen()) {
|
|
77
94
|
this._blockLayerHidden = true;
|
|
78
95
|
}
|
|
96
|
+
ResizeHandler__default.register(this, this._resizeHandler);
|
|
79
97
|
}
|
|
80
98
|
onExitDOM() {
|
|
81
99
|
if (this.isOpen()) {
|
|
82
|
-
Popup.
|
|
100
|
+
Popup.unblockPageScrolling(this);
|
|
83
101
|
this._removeOpenedPopup();
|
|
84
102
|
}
|
|
103
|
+
ResizeHandler__default.deregister(this, this._resizeHandler);
|
|
85
104
|
}
|
|
86
105
|
get _displayProp() {
|
|
87
106
|
return "block";
|
|
88
107
|
}
|
|
108
|
+
_resize() {
|
|
109
|
+
this.mediaRange = MediaRange__default.getCurrentRange(MediaRange__default.RANGESETS.RANGE_4STEPS, this.getDomRef().offsetWidth);
|
|
110
|
+
}
|
|
89
111
|
_preventBlockLayerFocus(event) {
|
|
90
112
|
event.preventDefault();
|
|
91
113
|
}
|
|
92
|
-
static
|
|
93
|
-
|
|
94
|
-
if (
|
|
114
|
+
static blockPageScrolling(popup) {
|
|
115
|
+
pageScrollingBlockers.add(popup);
|
|
116
|
+
if (pageScrollingBlockers.size !== 1) {
|
|
95
117
|
return;
|
|
96
118
|
}
|
|
97
|
-
|
|
98
|
-
document.body.style.top = `-${window.pageYOffset}px`;
|
|
99
|
-
}
|
|
100
|
-
document.body.classList.add("ui5-popup-scroll-blocker");
|
|
119
|
+
document.documentElement.classList.add("ui5-popup-scroll-blocker");
|
|
101
120
|
}
|
|
102
|
-
static
|
|
103
|
-
|
|
104
|
-
if (
|
|
121
|
+
static unblockPageScrolling(popup) {
|
|
122
|
+
pageScrollingBlockers.delete(popup);
|
|
123
|
+
if (pageScrollingBlockers.size !== 0) {
|
|
105
124
|
return;
|
|
106
125
|
}
|
|
107
|
-
document.
|
|
108
|
-
window.scrollTo(0, -parseFloat(document.body.style.top));
|
|
109
|
-
document.body.style.top = "";
|
|
126
|
+
document.documentElement.classList.remove("ui5-popup-scroll-blocker");
|
|
110
127
|
}
|
|
111
128
|
_scroll(e) {
|
|
112
129
|
this.fireEvent("scroll", {
|
|
@@ -187,7 +204,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
187
204
|
if (this.isModal && !this.shouldHideBackdrop) {
|
|
188
205
|
this.getStaticAreaItemDomRef();
|
|
189
206
|
this._blockLayerHidden = false;
|
|
190
|
-
Popup.
|
|
207
|
+
Popup.blockPageScrolling(this);
|
|
191
208
|
}
|
|
192
209
|
this._zIndex = PopupUtils.getNextZIndex();
|
|
193
210
|
this.style.zIndex = this._zIndex;
|
|
@@ -198,6 +215,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
198
215
|
}
|
|
199
216
|
this._addOpenedPopup();
|
|
200
217
|
this.opened = true;
|
|
218
|
+
this.open = true;
|
|
201
219
|
await Render.renderFinished();
|
|
202
220
|
this.fireEvent("after-open", {}, false, false);
|
|
203
221
|
}
|
|
@@ -214,10 +232,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
214
232
|
}
|
|
215
233
|
if (this.isModal) {
|
|
216
234
|
this._blockLayerHidden = true;
|
|
217
|
-
Popup.
|
|
235
|
+
Popup.unblockPageScrolling(this);
|
|
218
236
|
}
|
|
219
237
|
this.hide();
|
|
220
238
|
this.opened = false;
|
|
239
|
+
this.open = false;
|
|
221
240
|
if (!preventRegistryUpdate) {
|
|
222
241
|
this._removeOpenedPopup();
|
|
223
242
|
}
|
|
@@ -247,7 +266,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
247
266
|
get _ariaLabelledBy() {}
|
|
248
267
|
get _ariaModal() {}
|
|
249
268
|
get _ariaLabel() {
|
|
250
|
-
return this
|
|
269
|
+
return AriaLabelHelper.getEffectiveAriaLabelText(this);
|
|
251
270
|
}
|
|
252
271
|
get _root() {
|
|
253
272
|
return this.shadowRoot.querySelector(".ui5-popup-root");
|
|
@@ -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/types/AnimationMode', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/config/AnimationMode', 'sap/ui/webc/common/thirdparty/base/i18nBundle', './generated/templates/ProgressIndicatorTemplate.lit', './generated/i18n/i18n-defaults', './generated/themes/ProgressIndicator.css'], function (UI5Element, litRender, AnimationMode$1, ValueState, Integer, AnimationMode, i18nBundle, ProgressIndicatorTemplate_lit, i18nDefaults, ProgressIndicator_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/types/AnimationMode', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/config/AnimationMode', 'sap/ui/webc/common/thirdparty/base/i18nBundle', './Icon', './generated/templates/ProgressIndicatorTemplate.lit', './generated/i18n/i18n-defaults', './generated/themes/ProgressIndicator.css'], function (UI5Element, litRender, AnimationMode$1, ValueState, Integer, AnimationMode, i18nBundle, Icon, ProgressIndicatorTemplate_lit, i18nDefaults, ProgressIndicator_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -47,6 +47,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
47
47
|
static get template() {
|
|
48
48
|
return ProgressIndicatorTemplate_lit;
|
|
49
49
|
}
|
|
50
|
+
static get dependencies() {
|
|
51
|
+
return [Icon];
|
|
52
|
+
}
|
|
50
53
|
constructor() {
|
|
51
54
|
super();
|
|
52
55
|
this._previousValue = 0;
|
|
@@ -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', './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';
|
|
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/util/AriaLabelHelper', '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, AriaLabelHelper, 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
|
|
|
@@ -42,6 +42,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
42
42
|
accessibleName: {
|
|
43
43
|
type: String,
|
|
44
44
|
},
|
|
45
|
+
accessibleNameRef: {
|
|
46
|
+
type: String,
|
|
47
|
+
},
|
|
45
48
|
_tabIndex: {
|
|
46
49
|
type: String,
|
|
47
50
|
defaultValue: "-1",
|
|
@@ -214,7 +217,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
214
217
|
return this.disabled ? "true" : undefined;
|
|
215
218
|
}
|
|
216
219
|
get ariaLabelText() {
|
|
217
|
-
return [this
|
|
220
|
+
return [AriaLabelHelper.getEffectiveAriaLabelText(this), this.text].filter(Boolean).join(" ");
|
|
218
221
|
}
|
|
219
222
|
get ariaDescribedBy() {
|
|
220
223
|
return this.hasValueState ? `${this._id}-descr` : undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Float', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './SliderBase', './generated/templates/RangeSliderTemplate.lit', './generated/i18n/i18n-defaults'], function (Float, i18nBundle, Keys, SliderBase, RangeSliderTemplate_lit, i18nDefaults) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Float', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './SliderBase', './Icon', './generated/templates/RangeSliderTemplate.lit', './generated/i18n/i18n-defaults'], function (Float, i18nBundle, Keys, SliderBase, Icon, RangeSliderTemplate_lit, i18nDefaults) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -32,6 +32,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Float', 'sap/ui/webc/co
|
|
|
32
32
|
end: "endValue",
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
+
static get dependencies() {
|
|
36
|
+
return [Icon];
|
|
37
|
+
}
|
|
35
38
|
constructor() {
|
|
36
39
|
super();
|
|
37
40
|
this._stateStorage.startValue = null;
|
|
@@ -332,7 +335,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/types/Float', 'sap/ui/webc/co
|
|
|
332
335
|
get styles() {
|
|
333
336
|
return {
|
|
334
337
|
progress: {
|
|
335
|
-
"
|
|
338
|
+
"width": `${this._selectedRange * 100}%`,
|
|
336
339
|
"transform-origin": `${this.directionStart} top`,
|
|
337
340
|
[this.directionStart]: `${this._firstHandlePositionFromStart}%`,
|
|
338
341
|
},
|
|
@@ -103,17 +103,30 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
103
103
|
if (this.disabled || this.readonly) {
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
|
|
106
|
+
const isDecrease = Keys.isDown(event) || Keys.isLeft(event);
|
|
107
|
+
const isIncrease = Keys.isRight(event) || Keys.isUp(event);
|
|
108
|
+
const isIncreaseWithReset = Keys.isSpace(event) || Keys.isEnter(event);
|
|
109
|
+
const isMin = Keys.isHome(event);
|
|
110
|
+
const isMax = Keys.isEnd(event);
|
|
111
|
+
const isNumber = (event.keyCode >= 48 && event.keyCode <= 57) || (event.keyCode >= 96 && event.keyCode <= 105);
|
|
112
|
+
if (isDecrease || isIncrease || isIncreaseWithReset || isMin || isMax || isNumber) {
|
|
109
113
|
event.preventDefault();
|
|
110
|
-
if (
|
|
114
|
+
if (isDecrease && this.value > 0) {
|
|
111
115
|
this.value = Math.round(this.value - 1);
|
|
112
|
-
|
|
113
|
-
} else if (up && this.value < this.max) {
|
|
116
|
+
} else if (isIncrease && this.value < this.max) {
|
|
114
117
|
this.value = Math.round(this.value + 1);
|
|
115
|
-
|
|
118
|
+
} else if (isIncreaseWithReset) {
|
|
119
|
+
const proposedValue = Math.round(this.value + 1);
|
|
120
|
+
this.value = proposedValue > this.max ? 0 : proposedValue;
|
|
121
|
+
} else if (isMin) {
|
|
122
|
+
this.value = 0;
|
|
123
|
+
} else if (isMax) {
|
|
124
|
+
this.value = this.max;
|
|
125
|
+
} else if (isNumber) {
|
|
126
|
+
const pressedNumber = parseInt(event.key);
|
|
127
|
+
this.value = pressedNumber > this.max ? this.max : pressedNumber;
|
|
116
128
|
}
|
|
129
|
+
this.fireEvent("change");
|
|
117
130
|
}
|
|
118
131
|
}
|
|
119
132
|
_onfocusin() {
|
|
@@ -3,9 +3,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
3
3
|
const metadata = {
|
|
4
4
|
tag: "ui5-responsive-popover",
|
|
5
5
|
properties: {
|
|
6
|
-
withPadding: {
|
|
7
|
-
type: Boolean,
|
|
8
|
-
},
|
|
9
6
|
contentOnlyOnDesktop: {
|
|
10
7
|
type: Boolean,
|
|
11
8
|
},
|
|
@@ -40,6 +37,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
40
37
|
}
|
|
41
38
|
static get dependencies() {
|
|
42
39
|
return [
|
|
40
|
+
...Popover.dependencies,
|
|
43
41
|
Button,
|
|
44
42
|
Dialog,
|
|
45
43
|
Title,
|
|
@@ -86,10 +84,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
86
84
|
return ResponsivePopover.i18nBundle.getText(i18nDefaults.RESPONSIVE_POPOVER_CLOSE_DIALOG_BUTTON);
|
|
87
85
|
}
|
|
88
86
|
_afterDialogOpen(event) {
|
|
87
|
+
this.open = true;
|
|
89
88
|
this.opened = true;
|
|
90
89
|
this._propagateDialogEvent(event);
|
|
91
90
|
}
|
|
92
91
|
_afterDialogClose(event) {
|
|
92
|
+
this.open = false;
|
|
93
93
|
this.opened = false;
|
|
94
94
|
this._propagateDialogEvent(event);
|
|
95
95
|
}
|
|
@@ -11,7 +11,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
11
11
|
tag: "ui5-segmented-button",
|
|
12
12
|
altTag: "ui5-segmentedbutton",
|
|
13
13
|
languageAware: true,
|
|
14
|
-
properties: {
|
|
14
|
+
properties: {
|
|
15
|
+
accessibleName: {
|
|
16
|
+
type: String,
|
|
17
|
+
defaultValue: undefined,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
15
20
|
managedSlots: true,
|
|
16
21
|
slots: {
|
|
17
22
|
"default": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['./generated/templates/SegmentedButtonItemTemplate.lit', './ToggleButton', './types/ButtonDesign', './generated/i18n/i18n-defaults'], function (SegmentedButtonItemTemplate_lit, ToggleButton, ButtonDesign, i18nDefaults) { 'use strict';
|
|
1
|
+
sap.ui.define(['./generated/templates/SegmentedButtonItemTemplate.lit', './ToggleButton', './types/ButtonDesign', './Icon', './generated/i18n/i18n-defaults'], function (SegmentedButtonItemTemplate_lit, ToggleButton, ButtonDesign, Icon, i18nDefaults) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const metadata = {
|
|
4
4
|
tag: "ui5-segmented-button-item",
|
|
@@ -28,6 +28,9 @@ sap.ui.define(['./generated/templates/SegmentedButtonItemTemplate.lit', './Toggl
|
|
|
28
28
|
static get template() {
|
|
29
29
|
return SegmentedButtonItemTemplate_lit;
|
|
30
30
|
}
|
|
31
|
+
static get dependencies() {
|
|
32
|
+
return [Icon];
|
|
33
|
+
}
|
|
31
34
|
get ariaDescription() {
|
|
32
35
|
return SegmentedButtonItem.i18nBundle.getText(i18nDefaults.SEGMENTEDBUTTONITEM_ARIA_DESCRIPTION);
|
|
33
36
|
}
|