@openui5/sap.ui.webc.main 1.98.0 → 1.101.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/THIRDPARTY.txt +6 -6
- 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 +6 -2
- package/src/sap/ui/webc/main/BreadcrumbsItem.js +4 -1
- package/src/sap/ui/webc/main/BusyIndicator.js +6 -4
- package/src/sap/ui/webc/main/Button.js +67 -10
- 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 -12
- package/src/sap/ui/webc/main/CardHeader.js +4 -1
- package/src/sap/ui/webc/main/Carousel.js +8 -2
- package/src/sap/ui/webc/main/CheckBox.js +62 -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 +27 -6
- package/src/sap/ui/webc/main/ColorPicker.js +4 -1
- package/src/sap/ui/webc/main/ComboBox.js +54 -20
- package/src/sap/ui/webc/main/ComboBoxGroupItem.js +4 -1
- 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 +40 -17
- package/src/sap/ui/webc/main/DateRangePicker.js +46 -17
- package/src/sap/ui/webc/main/DateTimePicker.js +39 -16
- package/src/sap/ui/webc/main/Dialog.js +46 -8
- package/src/sap/ui/webc/main/FileUploader.js +22 -9
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +4 -1
- package/src/sap/ui/webc/main/Icon.js +19 -7
- package/src/sap/ui/webc/main/Input.js +71 -20
- package/src/sap/ui/webc/main/Label.js +29 -13
- package/src/sap/ui/webc/main/Link.js +64 -10
- package/src/sap/ui/webc/main/List.js +25 -15
- package/src/sap/ui/webc/main/MessageStrip.js +6 -3
- package/src/sap/ui/webc/main/MultiComboBox.js +28 -7
- 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 -5
- package/src/sap/ui/webc/main/Popover.js +60 -10
- package/src/sap/ui/webc/main/ProgressIndicator.js +33 -10
- package/src/sap/ui/webc/main/RadioButton.js +56 -8
- package/src/sap/ui/webc/main/RangeSlider.js +18 -7
- package/src/sap/ui/webc/main/RatingIndicator.js +44 -11
- package/src/sap/ui/webc/main/ResponsivePopover.js +60 -8
- package/src/sap/ui/webc/main/SegmentedButton.js +41 -1
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +62 -6
- package/src/sap/ui/webc/main/Select.js +46 -17
- package/src/sap/ui/webc/main/Slider.js +30 -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 +46 -15
- package/src/sap/ui/webc/main/SuggestionGroupItem.js +4 -1
- package/src/sap/ui/webc/main/SuggestionItem.js +4 -1
- package/src/sap/ui/webc/main/Switch.js +50 -7
- package/src/sap/ui/webc/main/Tab.js +29 -7
- package/src/sap/ui/webc/main/TabContainer.js +48 -5
- package/src/sap/ui/webc/main/TabSeparator.js +4 -1
- package/src/sap/ui/webc/main/Table.js +22 -5
- package/src/sap/ui/webc/main/TableCell.js +4 -1
- package/src/sap/ui/webc/main/TableColumn.js +6 -2
- package/src/sap/ui/webc/main/TableGroupRow.js +4 -1
- package/src/sap/ui/webc/main/TableRow.js +4 -1
- package/src/sap/ui/webc/main/TextArea.js +38 -19
- package/src/sap/ui/webc/main/TimePicker.js +20 -6
- package/src/sap/ui/webc/main/Title.js +4 -2
- package/src/sap/ui/webc/main/Toast.js +4 -3
- package/src/sap/ui/webc/main/ToggleButton.js +62 -7
- package/src/sap/ui/webc/main/Token.js +4 -1
- package/src/sap/ui/webc/main/Tree.js +5 -3
- package/src/sap/ui/webc/main/TreeItem.js +20 -1
- package/src/sap/ui/webc/main/changeHandler/ChangeLinkTarget.js +75 -0
- package/src/sap/ui/webc/main/designtime/Button.designtime.js +46 -0
- package/src/sap/ui/webc/main/designtime/DatePicker.designtime.js +26 -0
- package/src/sap/ui/webc/main/designtime/DateTimePicker.designtime.js +26 -0
- package/src/sap/ui/webc/main/designtime/Input.designtime.js +26 -0
- package/src/sap/ui/webc/main/designtime/Link.designtime.js +96 -0
- package/src/sap/ui/webc/main/designtime/MultiInput.designtime.js +27 -0
- package/src/sap/ui/webc/main/designtime/Panel.designtime.js +61 -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/TableColumn.designtime.js +29 -0
- package/src/sap/ui/webc/main/designtime/library.designtime.js +12 -0
- package/src/sap/ui/webc/main/designtime/messagebundle.properties +53 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ar.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_bg.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ca.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_cs.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_cy.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_da.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_de.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_el.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_GB.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_US_sappsd.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_US_saprigi.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_US_saptrc.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_es.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_es_MX.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_et.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fi.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fr.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fr_CA.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hi.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hr.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hu.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_id.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_it.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_iw.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ja.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_kk.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ko.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_lt.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_lv.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ms.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_nl.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_no.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pl.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pt.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pt_PT.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ro.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ru.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sh.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sk.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sl.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sv.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_th.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_tr.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_uk.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_vi.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_zh_CN.properties +34 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_zh_TW.properties +34 -0
- package/src/sap/ui/webc/main/flexibility/Button.flexibility.js +20 -0
- package/src/sap/ui/webc/main/flexibility/Link.flexibility.js +27 -0
- package/src/sap/ui/webc/main/flexibility/Panel.flexibility.js +21 -0
- package/src/sap/ui/webc/main/library.config.js +3 -0
- package/src/sap/ui/webc/main/library.js +167 -23
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +56 -15
- package/src/sap/ui/webc/main/thirdparty/BreadcrumbsItem.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/BusyIndicator.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/Button.js +17 -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 +15 -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 +60 -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 +6 -4
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +12 -1
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +22 -16
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/Icon.js +8 -6
- package/src/sap/ui/webc/main/thirdparty/Input.js +115 -22
- 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 +38 -11
- package/src/sap/ui/webc/main/thirdparty/ListItemBase.js +4 -2
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +13 -1
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +311 -39
- package/src/sap/ui/webc/main/thirdparty/MultiComboBoxItem.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/MultiInput.js +39 -8
- package/src/sap/ui/webc/main/thirdparty/Option.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/Panel.js +7 -7
- package/src/sap/ui/webc/main/thirdparty/Popover.js +86 -59
- 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 +7 -2
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +20 -7
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +4 -4
- 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 +7 -3
- package/src/sap/ui/webc/main/thirdparty/Slider.js +4 -1
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +7 -4
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +199 -0
- package/src/sap/ui/webc/main/thirdparty/Switch.js +11 -1
- package/src/sap/ui/webc/main/thirdparty/Tab.js +59 -6
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +485 -107
- package/src/sap/ui/webc/main/thirdparty/TabSeparator.js +26 -3
- package/src/sap/ui/webc/main/thirdparty/Table.js +163 -6
- 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 +60 -8
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +9 -5
- package/src/sap/ui/webc/main/thirdparty/TimePicker.js +0 -2
- package/src/sap/ui/webc/main/thirdparty/Token.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/Tokenizer.js +148 -14
- 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/{ComboBoxFilters-f59100bd.js → _chunks/ComboBoxFilters.js} +0 -0
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ar-f610ffe9.js → _chunks/messagebundle_ar.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-e372ad7a.js → _chunks/messagebundle_bg.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-64403819.js → _chunks/messagebundle_ca.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-f5276d1f.js → _chunks/messagebundle_cs.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-5b51959f.js → _chunks/messagebundle_cy.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-3f0c542a.js → _chunks/messagebundle_da.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-ff52e292.js → _chunks/messagebundle_de.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-8a8f0e04.js → _chunks/messagebundle_el.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-39f79920.js → _chunks/messagebundle_en.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-9a6995bc.js → _chunks/messagebundle_en_GB.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-1cd6f946.js → _chunks/messagebundle_en_US_sappsd.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-88214efb.js → _chunks/messagebundle_en_US_saprigi.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-d8b4cc37.js → _chunks/messagebundle_en_US_saptrc.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-4e7804b3.js → _chunks/messagebundle_es.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-5d55637e.js → _chunks/messagebundle_es_MX.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-d019447e.js → _chunks/messagebundle_et.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-115f5a0c.js → _chunks/messagebundle_fi.js} +14 -3
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-f4458a8c.js → _chunks/messagebundle_fr.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-d3ac2579.js → _chunks/messagebundle_fr_CA.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-3dbf5206.js → _chunks/messagebundle_hi.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-3112e358.js → _chunks/messagebundle_hr.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-90f77b24.js → _chunks/messagebundle_hu.js} +13 -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} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-ff53b57b.js → _chunks/messagebundle_iw.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-050a69c3.js → _chunks/messagebundle_ja.js} +15 -4
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-597a9724.js → _chunks/messagebundle_kk.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-d840efd8.js → _chunks/messagebundle_ko.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-d15c1526.js → _chunks/messagebundle_lt.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-539ad33e.js → _chunks/messagebundle_lv.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-98b3e6dd.js → _chunks/messagebundle_ms.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-5c52e887.js → _chunks/messagebundle_nl.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-04ee2aaf.js → _chunks/messagebundle_no.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-6da30702.js → _chunks/messagebundle_pl.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-71f281c3.js → _chunks/messagebundle_pt.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-6d966418.js → _chunks/messagebundle_pt_PT.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-e76a9c5d.js → _chunks/messagebundle_ro.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-dc34dd79.js → _chunks/messagebundle_ru.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-f2171ee6.js → _chunks/messagebundle_sh.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-5c10a3c8.js → _chunks/messagebundle_sk.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-14cff3cf.js → _chunks/messagebundle_sl.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-44a9e5d4.js → _chunks/messagebundle_sv.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-6cbca7a8.js → _chunks/messagebundle_th.js} +12 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-00ce0f94.js → _chunks/messagebundle_tr.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-bf2de1c7.js → _chunks/messagebundle_uk.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-a0de6aa8.js → _chunks/messagebundle_vi.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-7cbf9197.js → _chunks/messagebundle_zh_CN.js} +13 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-53705d5b.js → _chunks/messagebundle_zh_TW.js} +12 -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.css10.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css11.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/_chunks/parameters-bundle.css12.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/BreadcrumbsPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BrowserScrollbar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/BusyIndicator.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Button.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Calendar.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/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/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/DatePickerPopover.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/Input.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/MultiComboBox.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/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/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/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/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/TimePickerPopover.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/TimeSelection.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Title.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Toast.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/Token.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/sap_belize/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_dark/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/main/thirdparty/features/InputSuggestions.js +70 -14
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +12 -1
- package/src/sap/ui/webc/main/thirdparty/generated/json-imports/Themes.js +13 -10
- 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 +2 -2
- 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 +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ComboBoxTemplate.lit.js +1 -1
- 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 +4 -4
- package/src/sap/ui/webc/main/thirdparty/generated/templates/InputTemplate.lit.js +6 -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 +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MessageStripTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiInputTemplate.lit.js +7 -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/RadioButtonTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RangeSliderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/RatingIndicatorTemplate.lit.js +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 +3 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/SelectTemplate.lit.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js +2 -3
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerTemplate.lit.js +9 -12
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInOverflowTemplate.lit.js +2 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/TabInStripTemplate.lit.js +4 -2
- 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/TabTemplate.lit.js +2 -1
- 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/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/BreadcrumbsPopover.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/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/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/DatePickerPopover.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/Input.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/MultiComboBox.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/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/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/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/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/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/Title.css.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/themes/Toast.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/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/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_dark/parameters-bundle.css.js +7 -0
- 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/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +7 -0
- package/src/sap/ui/webc/main/thirdparty/types/HasPopup.js +23 -0
- package/src/sap/ui/webc/main/thirdparty/types/ListGrowingMode.js +15 -2
- package/src/sap/ui/webc/main/thirdparty/types/TableGrowingMode.js +15 -2
- 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-0af46f05.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-4d5954e7.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-58c993f1.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-5cd315e5.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-6cdfb99e.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-c4cbd21b.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-cc68d055.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-d4d2e1ea.js +0 -13
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-ec070c87.js +0 -13
|
@@ -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/i18nBundle', 'sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', 'sap/ui/webc/common/thirdparty/base/types/ItemNavigationBehavior', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', './generated/templates/ColorPaletteTemplate.lit', './generated/templates/ColorPaletteDialogTemplate.lit', './ColorPaletteItem', './generated/i18n/i18n-defaults', './generated/themes/ColorPalette.css', './generated/themes/ColorPaletteStaticArea.css'], function (UI5Element, litRender, i18nBundle, ItemNavigation, CSSColor, ItemNavigationBehavior, Device, Keys, FeaturesRegistry, ColorPaletteTemplate_lit, ColorPaletteDialogTemplate_lit, ColorPaletteItem, i18nDefaults, ColorPalette_css, ColorPaletteStaticArea_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/i18nBundle', 'sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', 'sap/ui/webc/common/thirdparty/base/types/ItemNavigationBehavior', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', './generated/templates/ColorPaletteTemplate.lit', './generated/templates/ColorPaletteDialogTemplate.lit', './ColorPaletteItem', './Button', './generated/i18n/i18n-defaults', './generated/themes/ColorPalette.css', './generated/themes/ColorPaletteStaticArea.css'], function (UI5Element, litRender, i18nBundle, ItemNavigation, CSSColor, ItemNavigationBehavior, Device, Keys, FeaturesRegistry, ColorPaletteTemplate_lit, ColorPaletteDialogTemplate_lit, ColorPaletteItem, Button, i18nDefaults, ColorPalette_css, ColorPaletteStaticArea_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -70,7 +70,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
70
70
|
}
|
|
71
71
|
static get dependencies() {
|
|
72
72
|
const ColorPaletteMoreColors = FeaturesRegistry.getFeature("ColorPaletteMoreColors");
|
|
73
|
-
return [ColorPaletteItem].concat(ColorPaletteMoreColors ? ColorPaletteMoreColors.dependencies : []);
|
|
73
|
+
return [ColorPaletteItem, Button].concat(ColorPaletteMoreColors ? ColorPaletteMoreColors.dependencies : []);
|
|
74
74
|
}
|
|
75
75
|
static async onDefine() {
|
|
76
76
|
const ColorPaletteMoreColors = FeaturesRegistry.getFeature("ColorPaletteMoreColors");
|
|
@@ -130,18 +130,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
_onclick(event) {
|
|
133
|
-
if (event.target.
|
|
133
|
+
if (event.target.hasAttribute("ui5-color-palette-item")) {
|
|
134
134
|
this.selectColor(event.target);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
_onkeyup(event) {
|
|
138
|
-
if (Keys.isSpace(event) && event.target.
|
|
138
|
+
if (Keys.isSpace(event) && event.target.hasAttribute("ui5-color-palette-item")) {
|
|
139
139
|
event.preventDefault();
|
|
140
140
|
this.selectColor(event.target);
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
_onkeydown(event) {
|
|
144
|
-
if (Keys.isEnter(event) && event.target.
|
|
144
|
+
if (Keys.isEnter(event) && event.target.hasAttribute("ui5-color-palette-item")) {
|
|
145
145
|
this.selectColor(event.target);
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -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/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', './generated/templates/ColorPalettePopoverTemplate.lit', './generated/themes/ColorPalettePopover.css', './generated/themes/ResponsivePopoverCommon.css', './generated/i18n/i18n-defaults', './Button', './ResponsivePopover', './ColorPalette'], function (UI5Element, litRender, i18nBundle, CSSColor, ColorPalettePopoverTemplate_lit, ColorPalettePopover_css, ResponsivePopoverCommon_css, i18nDefaults, Button, ResponsivePopover, ColorPalette) { '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/i18nBundle', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', './generated/templates/ColorPalettePopoverTemplate.lit', './generated/themes/ColorPalettePopover.css', './generated/themes/ResponsivePopoverCommon.css', './generated/i18n/i18n-defaults', './Button', './Title', './ResponsivePopover', './ColorPalette'], function (UI5Element, litRender, i18nBundle, CSSColor, ColorPalettePopoverTemplate_lit, ColorPalettePopover_css, ResponsivePopoverCommon_css, i18nDefaults, Button, Title, ResponsivePopover, ColorPalette) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -57,6 +57,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
57
57
|
return [
|
|
58
58
|
ResponsivePopover,
|
|
59
59
|
Button,
|
|
60
|
+
Title,
|
|
60
61
|
ColorPalette,
|
|
61
62
|
];
|
|
62
63
|
}
|
|
@@ -73,10 +74,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
73
74
|
_colorPalette() {
|
|
74
75
|
return this.responsivePopover.content[0].querySelector("[ui5-color-palette]");
|
|
75
76
|
}
|
|
76
|
-
|
|
77
|
-
this.
|
|
77
|
+
showAt(opener) {
|
|
78
|
+
this._openPopover(opener);
|
|
78
79
|
}
|
|
79
80
|
openPopover(opener) {
|
|
81
|
+
console.warn("The method 'openPopover' is deprecated and will be removed in future, use 'showAt' instead.");
|
|
82
|
+
this._openPopover(opener);
|
|
83
|
+
}
|
|
84
|
+
_openPopover(opener) {
|
|
80
85
|
this._respPopover();
|
|
81
86
|
this.responsivePopover.showAt(opener, true);
|
|
82
87
|
if (this.showDefaultColor) {
|
|
@@ -85,6 +90,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
85
90
|
this._colorPalette().focusColorElement(this._colorPalette().colorPaletteNavigationElements[0], this._colorPalette()._itemNavigation);
|
|
86
91
|
}
|
|
87
92
|
}
|
|
93
|
+
closePopover() {
|
|
94
|
+
this.responsivePopover.close();
|
|
95
|
+
}
|
|
88
96
|
onSelectedColor(event) {
|
|
89
97
|
this.closePopover();
|
|
90
98
|
this.fireEvent("item-click", event.detail);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/types/Float', 'sap/ui/webc/common/thirdparty/base/util/ColorConversion', './generated/templates/ColorPickerTemplate.lit', './Input', './Slider', './Label', './generated/themes/ColorPicker.css'], function (UI5Element, CSSColor, Device, Render, litRender, Integer, Float, ColorConversion, ColorPickerTemplate_lit, Input, Slider, Label, ColorPicker_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/types/CSSColor', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/types/Float', 'sap/ui/webc/common/thirdparty/base/util/ColorConversion', './generated/templates/ColorPickerTemplate.lit', './Input', './Slider', './Label', './generated/themes/ColorPicker.css'], function (UI5Element, Keys, CSSColor, Device, Render, litRender, Integer, Float, ColorConversion, ColorPickerTemplate_lit, Input, Slider, Label, ColorPicker_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -37,6 +37,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
37
37
|
type: Integer__default,
|
|
38
38
|
defaultValue: 0,
|
|
39
39
|
},
|
|
40
|
+
_isSelectedColorChanged: {
|
|
41
|
+
type: Boolean,
|
|
42
|
+
},
|
|
43
|
+
_isHueValueChanged: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
},
|
|
40
46
|
_wrongHEX: {
|
|
41
47
|
type: Boolean,
|
|
42
48
|
},
|
|
@@ -190,6 +196,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
190
196
|
this.selectedHue = event.target.value;
|
|
191
197
|
this._hue = this.selectedHue;
|
|
192
198
|
this._setMainColor(this._hue);
|
|
199
|
+
this._isHueValueChanged = true;
|
|
193
200
|
const tempColor = this._calculateColorFromCoordinates(this._selectedCoordinates.x + 6.5, this._selectedCoordinates.y + 6.5);
|
|
194
201
|
if (tempColor) {
|
|
195
202
|
this._setColor(ColorConversion.HSLToRGB(tempColor));
|
|
@@ -201,6 +208,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
201
208
|
if (newValue.length === 3) {
|
|
202
209
|
newValue = `${newValue[0]}${newValue[0]}${newValue[1]}${newValue[1]}${newValue[2]}${newValue[2]}`;
|
|
203
210
|
}
|
|
211
|
+
if (newValue === this.hex) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
204
214
|
this.hex = newValue;
|
|
205
215
|
if (newValue.length !== 6 || !hexRegex.test(newValue)) {
|
|
206
216
|
this._wrongHEX = true;
|
|
@@ -275,13 +285,19 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
275
285
|
x: x - 6.5,
|
|
276
286
|
y: y - 6.5,
|
|
277
287
|
};
|
|
288
|
+
this._isSelectedColorChanged = true;
|
|
278
289
|
const tempColor = this._calculateColorFromCoordinates(x, y);
|
|
279
290
|
if (tempColor) {
|
|
280
291
|
this._setColor(ColorConversion.HSLToRGB(tempColor));
|
|
281
292
|
}
|
|
282
293
|
}
|
|
294
|
+
_onkeydown(event) {
|
|
295
|
+
if (Keys.isEnter(event)) {
|
|
296
|
+
this._handleHEXChange(event);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
283
299
|
_calculateColorFromCoordinates(x, y) {
|
|
284
|
-
const h =
|
|
300
|
+
const h = this._hue / 4.25,
|
|
285
301
|
s = 1 - +(Math.round((y / 256) + "e+2") + "e-2"),
|
|
286
302
|
l = +(Math.round((x / 256) + "e+2") + "e-2");
|
|
287
303
|
if (!s || !l) {
|
|
@@ -322,7 +338,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
322
338
|
x: ((Math.round(hslColours.l * 100) * 2.56)) - 6.5,
|
|
323
339
|
y: (256 - (Math.round(hslColours.s * 100) * 2.56)) - 6.5,
|
|
324
340
|
};
|
|
325
|
-
|
|
341
|
+
if (this._isSelectedColorChanged) {
|
|
342
|
+
this._isSelectedColorChanged = false;
|
|
343
|
+
} else if (this._isHueValueChanged) {
|
|
344
|
+
this._isHueValueChanged = false;
|
|
345
|
+
this._hue = this.selectedHue ? this.selectedHue : this._hue;
|
|
346
|
+
} else {
|
|
347
|
+
this._hue = Math.round(hslColours.h * 4.25);
|
|
348
|
+
}
|
|
326
349
|
this._setMainColor(this._hue);
|
|
327
350
|
}
|
|
328
351
|
get inputsDisabled() {
|
|
@@ -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/ValueState', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/util/InvisibleMessage', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-down', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/icons/not-editable', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './ComboBoxFilters
|
|
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/ValueState', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/util/InvisibleMessage', 'sap/ui/webc/common/thirdparty/icons/slim-arrow-down', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/icons/not-editable', 'sap/ui/webc/common/thirdparty/icons/error', 'sap/ui/webc/common/thirdparty/icons/alert', 'sap/ui/webc/common/thirdparty/icons/sys-enter-2', 'sap/ui/webc/common/thirdparty/icons/information', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './_chunks/ComboBoxFilters', './generated/i18n/i18n-defaults', './generated/templates/ComboBoxTemplate.lit', './generated/templates/ComboBoxPopoverTemplate.lit', './generated/themes/ComboBox.css', './generated/themes/ComboBoxPopover.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css', './generated/themes/Suggestions.css', './ComboBoxItem', './Icon', './Popover', './ResponsivePopover', './List', './BusyIndicator', './Button', './StandardListItem', './ComboBoxGroupItem', './GroupHeaderListItem'], function (UI5Element, litRender, ValueState, Device, Integer, AriaLabelHelper, announce, slimArrowDown, decline, notEditable, error, alert, sysEnter2, information, i18nBundle, Keys, ComboBoxFilters, i18nDefaults, ComboBoxTemplate_lit, ComboBoxPopoverTemplate_lit, ComboBox_css, ComboBoxPopover_css, ResponsivePopoverCommon_css, ValueStateMessage_css, Suggestions_css, ComboBoxItem, Icon, Popover, ResponsivePopover, List, BusyIndicator, Button, StandardListItem, ComboBoxGroupItem, GroupHeaderListItem) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -166,7 +166,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
166
166
|
event.stopImmediatePropagation();
|
|
167
167
|
return;
|
|
168
168
|
}
|
|
169
|
-
if (!this.shadowRoot.contains(event.relatedTarget)) {
|
|
169
|
+
if (!this.shadowRoot.contains(event.relatedTarget) && (this.staticAreaItem !== event.relatedTarget)) {
|
|
170
170
|
this.focused = false;
|
|
171
171
|
!Device.isPhone() && this._closeRespPopover(event);
|
|
172
172
|
}
|
|
@@ -217,6 +217,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
217
217
|
return staticAreaItem.querySelector(".ui5-valuestatemessage-popover");
|
|
218
218
|
}
|
|
219
219
|
_resetFilter() {
|
|
220
|
+
this._userTypedValue = null;
|
|
221
|
+
this.inner.setSelectionRange(0, this.value.length);
|
|
220
222
|
this._filteredItems = this._filterItems("");
|
|
221
223
|
this._selectMatchingItem();
|
|
222
224
|
}
|
|
@@ -268,28 +270,24 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
268
270
|
return item;
|
|
269
271
|
});
|
|
270
272
|
}
|
|
271
|
-
|
|
272
|
-
if (this.
|
|
273
|
+
handleNavKeyPress(event) {
|
|
274
|
+
if (this.focused && (Keys.isHome(event) || Keys.isEnd(event)) && this.value) {
|
|
273
275
|
return;
|
|
274
276
|
}
|
|
275
277
|
const isOpen = this.open;
|
|
276
|
-
const isArrowDown = Keys.isDown(event);
|
|
277
|
-
const isArrowUp = Keys.isUp(event);
|
|
278
278
|
const currentItem = this._filteredItems.find(item => {
|
|
279
279
|
return isOpen ? item.focused : item.selected;
|
|
280
280
|
});
|
|
281
281
|
const indexOfItem = this._filteredItems.indexOf(currentItem);
|
|
282
282
|
event.preventDefault();
|
|
283
|
-
if (
|
|
283
|
+
if (this.focused && isOpen && (Keys.isUp(event) || Keys.isPageUp(event) || Keys.isPageDown(event))) {
|
|
284
284
|
return;
|
|
285
285
|
}
|
|
286
|
-
this.
|
|
287
|
-
|
|
288
|
-
this._handleArrowDown(event, indexOfItem);
|
|
289
|
-
}
|
|
290
|
-
if (isArrowUp) {
|
|
291
|
-
this._handleArrowUp(event, indexOfItem);
|
|
286
|
+
if (this._filteredItems.length - 1 === indexOfItem && Keys.isDown(event)) {
|
|
287
|
+
return;
|
|
292
288
|
}
|
|
289
|
+
this._isKeyNavigation = true;
|
|
290
|
+
this[`_handle${event.key}`](event, indexOfItem);
|
|
293
291
|
}
|
|
294
292
|
_handleItemNavigation(event, indexOfItem, isForward) {
|
|
295
293
|
const isOpen = this.open;
|
|
@@ -302,7 +300,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
302
300
|
this._clearFocus();
|
|
303
301
|
if (isOpen) {
|
|
304
302
|
this._itemFocused = true;
|
|
305
|
-
this.value = isGroupItem ?
|
|
303
|
+
this.value = isGroupItem ? "" : currentItem.text;
|
|
306
304
|
this.focused = false;
|
|
307
305
|
currentItem.focused = true;
|
|
308
306
|
} else {
|
|
@@ -317,7 +315,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
317
315
|
}
|
|
318
316
|
this._announceSelectedItem(indexOfItem);
|
|
319
317
|
const item = this._getFirstMatchingItem(this.value);
|
|
320
|
-
this._applyAtomicValueAndSelection(item,
|
|
318
|
+
this._applyAtomicValueAndSelection(item, (this.open ? this._userTypedValue : null), true);
|
|
321
319
|
if ((item && !item.selected)) {
|
|
322
320
|
this.fireEvent("selection-change", {
|
|
323
321
|
item,
|
|
@@ -359,12 +357,47 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
359
357
|
indexOfItem = !isOpen && this.hasValueState && indexOfItem === -1 ? 0 : indexOfItem;
|
|
360
358
|
this._handleItemNavigation(event, --indexOfItem, false );
|
|
361
359
|
}
|
|
360
|
+
_handlePageUp(event, indexOfItem) {
|
|
361
|
+
const isProposedIndexValid = indexOfItem - ComboBox.SKIP_ITEMS_SIZE > -1;
|
|
362
|
+
indexOfItem = isProposedIndexValid ? indexOfItem - ComboBox.SKIP_ITEMS_SIZE : 0;
|
|
363
|
+
const shouldMoveForward = this._filteredItems[indexOfItem].isGroupItem && !this.open;
|
|
364
|
+
if (!isProposedIndexValid && this.hasValueStateText && this.open) {
|
|
365
|
+
this._clearFocus();
|
|
366
|
+
this._itemFocused = false;
|
|
367
|
+
this._isValueStateFocused = true;
|
|
368
|
+
return;
|
|
369
|
+
}
|
|
370
|
+
this._handleItemNavigation(event, indexOfItem, shouldMoveForward);
|
|
371
|
+
}
|
|
372
|
+
_handlePageDown(event, indexOfItem) {
|
|
373
|
+
const itemsLength = this._filteredItems.length;
|
|
374
|
+
const isProposedIndexValid = indexOfItem + ComboBox.SKIP_ITEMS_SIZE < itemsLength;
|
|
375
|
+
indexOfItem = isProposedIndexValid ? indexOfItem + ComboBox.SKIP_ITEMS_SIZE : itemsLength - 1;
|
|
376
|
+
const shouldMoveForward = this._filteredItems[indexOfItem].isGroupItem && !this.open;
|
|
377
|
+
this._handleItemNavigation(event, indexOfItem, shouldMoveForward);
|
|
378
|
+
}
|
|
379
|
+
_handleHome(event, indexOfItem) {
|
|
380
|
+
const shouldMoveForward = this._filteredItems[0].isGroupItem && !this.open;
|
|
381
|
+
if (this.hasValueStateText && this.open) {
|
|
382
|
+
this._clearFocus();
|
|
383
|
+
this._itemFocused = false;
|
|
384
|
+
this._isValueStateFocused = true;
|
|
385
|
+
return;
|
|
386
|
+
}
|
|
387
|
+
this._handleItemNavigation(event, 0, shouldMoveForward);
|
|
388
|
+
}
|
|
389
|
+
_handleEnd(event, indexOfItem) {
|
|
390
|
+
this._handleItemNavigation(event, this._filteredItems.length - 1, true );
|
|
391
|
+
}
|
|
392
|
+
_keyup(event) {
|
|
393
|
+
this._userTypedValue = this.value.substring(0, this.inner.selectionStart);
|
|
394
|
+
}
|
|
362
395
|
_keydown(event) {
|
|
363
|
-
const
|
|
396
|
+
const isNavKey = Keys.isDown(event) || Keys.isUp(event) || Keys.isPageUp(event) || Keys.isPageDown(event) || Keys.isHome(event) || Keys.isEnd(event);
|
|
364
397
|
this._autocomplete = !(Keys.isBackSpace(event) || Keys.isDelete(event));
|
|
365
398
|
this._isKeyNavigation = false;
|
|
366
|
-
if (
|
|
367
|
-
this.
|
|
399
|
+
if (isNavKey && !this.readonly && this._filteredItems.length) {
|
|
400
|
+
this.handleNavKeyPress(event);
|
|
368
401
|
}
|
|
369
402
|
if (Keys.isEnter(event)) {
|
|
370
403
|
this._fireChangeEvent();
|
|
@@ -390,6 +423,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
390
423
|
this._itemFocused = true;
|
|
391
424
|
selectedItem.focused = true;
|
|
392
425
|
this.focused = false;
|
|
426
|
+
} else if (this.open && this._filteredItems.length) {
|
|
427
|
+
this._handleItemNavigation(event, 0, true );
|
|
393
428
|
} else {
|
|
394
429
|
this.focused = true;
|
|
395
430
|
}
|
|
@@ -445,6 +480,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
445
480
|
const value = (item && item.text) || "";
|
|
446
481
|
this.inner.value = value;
|
|
447
482
|
if (highlightValue) {
|
|
483
|
+
filterValue = filterValue || "";
|
|
448
484
|
this.inner.setSelectionRange(filterValue.length, value.length);
|
|
449
485
|
}
|
|
450
486
|
this.value = value;
|
|
@@ -542,12 +578,15 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
542
578
|
};
|
|
543
579
|
}
|
|
544
580
|
get shouldOpenValueStateMessagePopover() {
|
|
545
|
-
return this.focused && this.hasValueStateText && !this._iconPressed
|
|
581
|
+
return this.focused && !this.readonly && this.hasValueStateText && !this._iconPressed
|
|
546
582
|
&& !this.open && !this._isPhone;
|
|
547
583
|
}
|
|
548
584
|
get shouldDisplayDefaultValueStateMessage() {
|
|
549
585
|
return !this.valueStateMessage.length && this.hasValueStateText;
|
|
550
586
|
}
|
|
587
|
+
get _valueStatePopoverHorizontalAlign() {
|
|
588
|
+
return this.effectiveDir !== "rtl" ? "Left" : "Right";
|
|
589
|
+
}
|
|
551
590
|
get _valueStateMessageIcon() {
|
|
552
591
|
const iconPerValueState = {
|
|
553
592
|
Error: "error",
|
|
@@ -578,6 +617,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
578
617
|
BusyIndicator,
|
|
579
618
|
Button,
|
|
580
619
|
StandardListItem,
|
|
620
|
+
GroupHeaderListItem,
|
|
581
621
|
Popover,
|
|
582
622
|
ComboBoxGroupItem,
|
|
583
623
|
];
|
|
@@ -613,6 +653,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
613
653
|
};
|
|
614
654
|
}
|
|
615
655
|
}
|
|
656
|
+
ComboBox.SKIP_ITEMS_SIZE = 10;
|
|
616
657
|
ComboBox.define();
|
|
617
658
|
|
|
618
659
|
return ComboBox;
|
|
@@ -73,19 +73,17 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
73
73
|
return this.getFormat().format(localDate, true);
|
|
74
74
|
}
|
|
75
75
|
getFormat() {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
return this._isPattern
|
|
77
|
+
? DateFormat__default.getInstance({
|
|
78
|
+
strictParsing: true,
|
|
79
79
|
pattern: this._formatPattern,
|
|
80
80
|
calendarType: this._primaryCalendarType,
|
|
81
|
-
})
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
})
|
|
82
|
+
: DateFormat__default.getInstance({
|
|
83
|
+
strictParsing: true,
|
|
84
84
|
style: this._formatPattern,
|
|
85
85
|
calendarType: this._primaryCalendarType,
|
|
86
86
|
});
|
|
87
|
-
}
|
|
88
|
-
return dateFormat;
|
|
89
87
|
}
|
|
90
88
|
static async onDefine() {
|
|
91
89
|
[DateComponentBase.i18nBundle] = await Promise.all([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/webc/common/thirdparty/localization/dates/CalendarDate', 'sap/ui/webc/common/thirdparty/localization/dates/modifyDateBy', 'sap/ui/webc/common/thirdparty/localization/dates/getRoundedTimestamp', 'sap/ui/webc/common/thirdparty/localization/dates/getTodayUTCTimestamp', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/icons/appointment-2', 'sap/ui/webc/common/thirdparty/icons/decline', './generated/i18n/i18n-defaults', './DateComponentBase', './Icon', './Button', './ResponsivePopover', './Calendar', './CalendarDate', './Input', './types/InputType', './generated/templates/DatePickerTemplate.lit', './generated/templates/DatePickerPopoverTemplate.lit', 'sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian', './generated/themes/DatePicker.css', './generated/themes/DatePickerPopover.css', './generated/themes/ResponsivePopoverCommon.css'], function (FeaturesRegistry, CalendarDate, modifyDateBy, getRoundedTimestamp, getTodayUTCTimestamp, ValueState, AriaLabelHelper, Keys, Device, appointment2, decline, i18nDefaults, DateComponentBase, Icon, Button, ResponsivePopover, Calendar, CalendarDate$1, Input, InputType, DatePickerTemplate_lit, DatePickerPopoverTemplate_lit, Gregorian, DatePicker_css, DatePickerPopover_css, ResponsivePopoverCommon_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/webc/common/thirdparty/localization/dates/CalendarDate', 'sap/ui/webc/common/thirdparty/localization/dates/modifyDateBy', 'sap/ui/webc/common/thirdparty/localization/dates/getRoundedTimestamp', 'sap/ui/webc/common/thirdparty/localization/dates/getTodayUTCTimestamp', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/util/AriaLabelHelper', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/icons/appointment-2', 'sap/ui/webc/common/thirdparty/icons/decline', './types/HasPopup', './generated/i18n/i18n-defaults', './DateComponentBase', './Icon', './Button', './ResponsivePopover', './Calendar', './CalendarDate', './Input', './types/InputType', './generated/templates/DatePickerTemplate.lit', './generated/templates/DatePickerPopoverTemplate.lit', 'sap/ui/webc/common/thirdparty/localization/features/calendar/Gregorian', './generated/themes/DatePicker.css', './generated/themes/DatePickerPopover.css', './generated/themes/ResponsivePopoverCommon.css'], function (FeaturesRegistry, CalendarDate, modifyDateBy, getRoundedTimestamp, getTodayUTCTimestamp, ValueState, AriaLabelHelper, Keys, Device, appointment2, decline, HasPopup, i18nDefaults, DateComponentBase, Icon, Button, ResponsivePopover, Calendar, CalendarDate$1, Input, InputType, DatePickerTemplate_lit, DatePickerPopoverTemplate_lit, Gregorian, DatePicker_css, DatePickerPopover_css, ResponsivePopoverCommon_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -125,6 +125,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
|
|
|
125
125
|
} else if (this.name) {
|
|
126
126
|
console.warn(`In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";`);
|
|
127
127
|
}
|
|
128
|
+
this.value = this.normalizeValue(this.value);
|
|
128
129
|
this.liveValue = this.value;
|
|
129
130
|
}
|
|
130
131
|
get _calendarSelectionMode() {
|
|
@@ -201,6 +202,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
|
|
|
201
202
|
return;
|
|
202
203
|
}
|
|
203
204
|
if (updateValue) {
|
|
205
|
+
this._getInput().getInputDOMRef().then(innnerInput => {
|
|
206
|
+
innnerInput.value = value;
|
|
207
|
+
});
|
|
204
208
|
this.value = value;
|
|
205
209
|
this._updateValueState();
|
|
206
210
|
}
|
|
@@ -282,11 +286,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/we
|
|
|
282
286
|
get accInfo() {
|
|
283
287
|
return {
|
|
284
288
|
"ariaRoledescription": this.dateAriaDescription,
|
|
285
|
-
"ariaHasPopup":
|
|
289
|
+
"ariaHasPopup": HasPopup.Grid,
|
|
286
290
|
"ariaAutoComplete": "none",
|
|
287
|
-
"role": "combobox",
|
|
288
291
|
"ariaControls": `${this._id}-responsive-popover`,
|
|
289
|
-
"ariaExpanded": this.isOpen(),
|
|
290
292
|
"ariaRequired": this.required,
|
|
291
293
|
"ariaLabel": AriaLabelHelper.getEffectiveAriaLabelText(this),
|
|
292
294
|
};
|
|
@@ -25,6 +25,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
25
25
|
static get styles() {
|
|
26
26
|
return [DatePicker.styles, DateRangePicker_css];
|
|
27
27
|
}
|
|
28
|
+
constructor() {
|
|
29
|
+
super();
|
|
30
|
+
this._prevDelimiter = null;
|
|
31
|
+
}
|
|
32
|
+
get dateValue() {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
get dateValueUTC() {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
28
38
|
get _startDateTimestamp() {
|
|
29
39
|
return this._extractFirstTimestamp(this.value);
|
|
30
40
|
}
|
|
@@ -131,7 +141,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
131
141
|
}
|
|
132
142
|
_splitValueByDelimiter(value) {
|
|
133
143
|
const valuesArray = [];
|
|
134
|
-
const partsArray = value.split(this._effectiveDelimiter);
|
|
144
|
+
const partsArray = value.split(this._prevDelimiter || this._effectiveDelimiter);
|
|
135
145
|
valuesArray[0] = partsArray.slice(0, partsArray.length / 2).join(this._effectiveDelimiter);
|
|
136
146
|
valuesArray[1] = partsArray.slice(partsArray.length / 2).join(this._effectiveDelimiter);
|
|
137
147
|
return valuesArray;
|
|
@@ -154,6 +164,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Render', 'sap/ui/webc/common/
|
|
|
154
164
|
return undefined;
|
|
155
165
|
}
|
|
156
166
|
_buildValue(firstDateTimestamp, lastDateTimestamp) {
|
|
167
|
+
this._prevDelimiter = this._effectiveDelimiter;
|
|
157
168
|
if (firstDateTimestamp) {
|
|
158
169
|
const firstDateString = this._getStringFromTimestamp(firstDateTimestamp * 1000);
|
|
159
170
|
if (!lastDateTimestamp) {
|
|
@@ -20,9 +20,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
20
20
|
headerText: {
|
|
21
21
|
type: String,
|
|
22
22
|
},
|
|
23
|
-
accessibleName: {
|
|
24
|
-
type: String,
|
|
25
|
-
},
|
|
26
23
|
stretch: {
|
|
27
24
|
type: Boolean,
|
|
28
25
|
},
|
|
@@ -77,18 +74,11 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
77
74
|
}
|
|
78
75
|
get _ariaLabelledBy() {
|
|
79
76
|
let ariaLabelledById;
|
|
80
|
-
if (this.headerText !== "" && !this.
|
|
77
|
+
if (this.headerText !== "" && !this._ariaLabel) {
|
|
81
78
|
ariaLabelledById = "ui5-popup-header-text";
|
|
82
79
|
}
|
|
83
80
|
return ariaLabelledById;
|
|
84
81
|
}
|
|
85
|
-
get _ariaLabel() {
|
|
86
|
-
let ariaLabel;
|
|
87
|
-
if (this.header.length > 0 && !!this.accessibleName) {
|
|
88
|
-
ariaLabel = this.accessibleName;
|
|
89
|
-
}
|
|
90
|
-
return this.accessibleName ? this.accessibleName : ariaLabel;
|
|
91
|
-
}
|
|
92
82
|
get _ariaModal() {
|
|
93
83
|
return true;
|
|
94
84
|
}
|
|
@@ -104,6 +94,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
104
94
|
get _headerTabIndex() {
|
|
105
95
|
return this._movable ? "0" : undefined;
|
|
106
96
|
}
|
|
97
|
+
get _showResizeHandle() {
|
|
98
|
+
return this.resizable && this.onDesktop;
|
|
99
|
+
}
|
|
107
100
|
_show() {
|
|
108
101
|
super._show();
|
|
109
102
|
this._center();
|
|
@@ -112,23 +105,36 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/
|
|
|
112
105
|
this._isRTL = this.effectiveDir === "rtl";
|
|
113
106
|
this.onPhone = Device.isPhone();
|
|
114
107
|
this.onDesktop = Device.isDesktop();
|
|
115
|
-
this._detachResizeHandlers();
|
|
116
108
|
}
|
|
117
109
|
onAfterRendering() {
|
|
110
|
+
if (!this.isOpen() && this.open) {
|
|
111
|
+
this.show();
|
|
112
|
+
} else if (this.isOpen() && !this.open) {
|
|
113
|
+
this.close();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
onEnterDOM() {
|
|
117
|
+
super.onEnterDOM();
|
|
118
118
|
this._attachResizeHandlers();
|
|
119
119
|
}
|
|
120
120
|
onExitDOM() {
|
|
121
121
|
super.onExitDOM();
|
|
122
122
|
this._detachResizeHandlers();
|
|
123
123
|
}
|
|
124
|
+
_resize() {
|
|
125
|
+
super._resize();
|
|
126
|
+
if (this._resizeHandlersAttached) {
|
|
127
|
+
this._center();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
124
130
|
_attachResizeHandlers() {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
131
|
+
if (!this._resizeHandlersAttached) {
|
|
132
|
+
ResizeHandler__default.register(document.body, this._screenResizeHandler);
|
|
133
|
+
this._resizeHandlersAttached = true;
|
|
134
|
+
}
|
|
128
135
|
}
|
|
129
136
|
_detachResizeHandlers() {
|
|
130
137
|
if (this._resizeHandlersAttached) {
|
|
131
|
-
ResizeHandler__default.deregister(this, this._screenResizeHandler);
|
|
132
138
|
ResizeHandler__default.deregister(document.body, this._screenResizeHandler);
|
|
133
139
|
this._resizeHandlersAttached = false;
|
|
134
140
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './generated/i18n/i18n-defaults', './Input', './Popover', './generated/templates/FileUploaderTemplate.lit', './generated/templates/FileUploaderPopoverTemplate.lit', './generated/themes/FileUploader.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css'], function (UI5Element, ValueState, FeaturesRegistry, litRender, i18nBundle, Keys, i18nDefaults, Input, Popover, FileUploaderTemplate_lit, FileUploaderPopoverTemplate_lit, FileUploader_css, ResponsivePopoverCommon_css, ValueStateMessage_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/types/ValueState', 'sap/ui/webc/common/thirdparty/base/FeaturesRegistry', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/Keys', './generated/i18n/i18n-defaults', './Input', './Popover', './Icon', './generated/templates/FileUploaderTemplate.lit', './generated/templates/FileUploaderPopoverTemplate.lit', './generated/themes/FileUploader.css', './generated/themes/ResponsivePopoverCommon.css', './generated/themes/ValueStateMessage.css'], function (UI5Element, ValueState, FeaturesRegistry, litRender, i18nBundle, Keys, i18nDefaults, Input, Popover, Icon, FileUploaderTemplate_lit, FileUploaderPopoverTemplate_lit, FileUploader_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
|
|
|
@@ -275,7 +275,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
275
275
|
return this.shadowRoot.querySelector(".ui5-file-uploader-input");
|
|
276
276
|
}
|
|
277
277
|
static get dependencies() {
|
|
278
|
-
return [Input, Popover];
|
|
278
|
+
return [Input, Popover, Icon];
|
|
279
279
|
}
|
|
280
280
|
static async onDefine() {
|
|
281
281
|
FileUploader.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
@@ -26,7 +26,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
26
26
|
showTooltip: {
|
|
27
27
|
type: Boolean,
|
|
28
28
|
},
|
|
29
|
-
|
|
29
|
+
accessibleRole: {
|
|
30
30
|
type: String,
|
|
31
31
|
},
|
|
32
32
|
ariaHidden: {
|
|
@@ -72,12 +72,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
72
72
|
static async onDefine() {
|
|
73
73
|
this.createGlobalStyle();
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
_onFocusInHandler(event) {
|
|
76
76
|
if (this.interactive) {
|
|
77
77
|
this.focused = true;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
_onFocusOutHandler(event) {
|
|
81
81
|
this.focused = false;
|
|
82
82
|
}
|
|
83
83
|
_onkeydown(event) {
|
|
@@ -119,14 +119,14 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
119
119
|
return this.ariaHidden;
|
|
120
120
|
}
|
|
121
121
|
get tabIndex() {
|
|
122
|
-
return this.interactive ? "0" :
|
|
122
|
+
return this.interactive ? "0" : undefined;
|
|
123
123
|
}
|
|
124
124
|
get isDecorative() {
|
|
125
125
|
return this.effectiveAccessibleRole === PRESENTATION_ROLE;
|
|
126
126
|
}
|
|
127
127
|
get effectiveAccessibleRole() {
|
|
128
|
-
if (this.
|
|
129
|
-
return this.
|
|
128
|
+
if (this.accessibleRole) {
|
|
129
|
+
return this.accessibleRole;
|
|
130
130
|
}
|
|
131
131
|
if (this.interactive) {
|
|
132
132
|
return "button";
|
|
@@ -172,6 +172,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
172
172
|
this.ltr = iconData.ltr;
|
|
173
173
|
this.packageName = iconData.packageName;
|
|
174
174
|
this._onclick = this.interactive ? this._onClickHandler.bind(this) : undefined;
|
|
175
|
+
this._onfocusout = this.interactive ? this._onFocusOutHandler.bind(this) : undefined;
|
|
176
|
+
this._onfocusin = this.interactive ? this._onFocusInHandler.bind(this) : undefined;
|
|
175
177
|
if (this.accessibleName) {
|
|
176
178
|
this.effectiveAccessibleName = this.accessibleName;
|
|
177
179
|
} else if (this.accData) {
|