@openui5/sap.ui.webc.main 1.97.1 → 1.99.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +14 -21
- package/package.json +3 -3
- package/src/sap/ui/webc/main/.library +1 -1
- package/src/sap/ui/webc/main/Avatar.js +4 -1
- 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 +49 -1
- 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 +49 -1
- package/src/sap/ui/webc/main/ColorPalette.js +4 -1
- package/src/sap/ui/webc/main/ColorPaletteItem.js +4 -1
- package/src/sap/ui/webc/main/ColorPalettePopover.js +23 -3
- package/src/sap/ui/webc/main/ColorPicker.js +4 -1
- package/src/sap/ui/webc/main/ComboBox.js +37 -12
- 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 +20 -10
- package/src/sap/ui/webc/main/DateRangePicker.js +28 -11
- package/src/sap/ui/webc/main/DateTimePicker.js +19 -9
- package/src/sap/ui/webc/main/Dialog.js +20 -2
- package/src/sap/ui/webc/main/FileUploader.js +4 -1
- package/src/sap/ui/webc/main/GroupHeaderListItem.js +4 -1
- package/src/sap/ui/webc/main/Icon.js +20 -3
- package/src/sap/ui/webc/main/Input.js +54 -10
- package/src/sap/ui/webc/main/Label.js +29 -12
- package/src/sap/ui/webc/main/Link.js +44 -5
- 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 +13 -6
- package/src/sap/ui/webc/main/MultiComboBoxItem.js +4 -1
- package/src/sap/ui/webc/main/MultiInput.js +38 -10
- package/src/sap/ui/webc/main/Option.js +4 -1
- package/src/sap/ui/webc/main/Panel.js +6 -1
- package/src/sap/ui/webc/main/Popover.js +20 -2
- package/src/sap/ui/webc/main/ProgressIndicator.js +13 -1
- package/src/sap/ui/webc/main/RadioButton.js +41 -1
- package/src/sap/ui/webc/main/RangeSlider.js +6 -2
- package/src/sap/ui/webc/main/RatingIndicator.js +19 -2
- package/src/sap/ui/webc/main/ResponsivePopover.js +20 -2
- package/src/sap/ui/webc/main/SegmentedButton.js +33 -1
- package/src/sap/ui/webc/main/SegmentedButtonItem.js +50 -2
- package/src/sap/ui/webc/main/Select.js +28 -19
- package/src/sap/ui/webc/main/Slider.js +15 -2
- package/src/sap/ui/webc/main/SplitButton.js +156 -0
- package/src/sap/ui/webc/main/StandardListItem.js +4 -1
- package/src/sap/ui/webc/main/StepInput.js +28 -9
- 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 +19 -1
- package/src/sap/ui/webc/main/Tab.js +14 -3
- package/src/sap/ui/webc/main/TabContainer.js +36 -10
- package/src/sap/ui/webc/main/TabSeparator.js +4 -1
- package/src/sap/ui/webc/main/Table.js +21 -3
- 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 +19 -9
- package/src/sap/ui/webc/main/TimePicker.js +4 -1
- 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 +49 -1
- package/src/sap/ui/webc/main/Token.js +4 -1
- package/src/sap/ui/webc/main/Tree.js +4 -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/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/library.designtime.js +12 -0
- package/src/sap/ui/webc/main/designtime/messagebundle.properties +32 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ar.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_bg.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ca.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_cs.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_cy.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_da.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_de.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_el.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_GB.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_en_US_sappsd.properties +24 -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 +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_es.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_es_MX.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_et.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fi.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fr.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_fr_CA.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hi.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hr.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_hu.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_id.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_it.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_iw.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ja.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_kk.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ko.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_lt.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_lv.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ms.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_nl.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_no.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pl.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pt.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_pt_PT.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ro.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_ru.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sh.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sk.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sl.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_sv.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_th.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_tr.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_uk.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_vi.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_zh_CN.properties +24 -0
- package/src/sap/ui/webc/main/designtime/messagebundle_zh_TW.properties +24 -0
- package/src/sap/ui/webc/main/library.config.js +3 -0
- package/src/sap/ui/webc/main/library.js +100 -5
- package/src/sap/ui/webc/main/thirdparty/AvatarGroup.js +2 -2
- package/src/sap/ui/webc/main/thirdparty/Breadcrumbs.js +22 -9
- 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 +12 -13
- package/src/sap/ui/webc/main/thirdparty/Calendar.js +1 -0
- 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/ComboBox.js +73 -18
- package/src/sap/ui/webc/main/thirdparty/DateComponentBase.js +6 -8
- package/src/sap/ui/webc/main/thirdparty/DatePicker.js +6 -0
- package/src/sap/ui/webc/main/thirdparty/DateRangePicker.js +6 -0
- package/src/sap/ui/webc/main/thirdparty/DayPicker.js +3 -0
- package/src/sap/ui/webc/main/thirdparty/Dialog.js +4 -11
- package/src/sap/ui/webc/main/thirdparty/FileUploader.js +11 -4
- package/src/sap/ui/webc/main/thirdparty/Icon.js +9 -6
- package/src/sap/ui/webc/main/thirdparty/Input.js +130 -28
- package/src/sap/ui/webc/main/thirdparty/Link.js +5 -6
- package/src/sap/ui/webc/main/thirdparty/List.js +5 -3
- package/src/sap/ui/webc/main/thirdparty/MessageStrip.js +22 -9
- package/src/sap/ui/webc/main/thirdparty/MultiComboBox.js +23 -4
- 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 +5 -5
- package/src/sap/ui/webc/main/thirdparty/Popover.js +64 -51
- package/src/sap/ui/webc/main/thirdparty/Popup.js +6 -2
- package/src/sap/ui/webc/main/thirdparty/RadioButton.js +5 -2
- package/src/sap/ui/webc/main/thirdparty/RangeSlider.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/RatingIndicator.js +20 -7
- package/src/sap/ui/webc/main/thirdparty/ResponsivePopover.js +1 -0
- package/src/sap/ui/webc/main/thirdparty/SegmentedButton.js +6 -1
- package/src/sap/ui/webc/main/thirdparty/Select.js +21 -1
- package/src/sap/ui/webc/main/thirdparty/SliderBase.js +5 -2
- package/src/sap/ui/webc/main/thirdparty/SplitButton.js +196 -0
- package/src/sap/ui/webc/main/thirdparty/StepInput.js +5 -6
- package/src/sap/ui/webc/main/thirdparty/Switch.js +11 -1
- package/src/sap/ui/webc/main/thirdparty/Tab.js +13 -7
- package/src/sap/ui/webc/main/thirdparty/TabContainer.js +324 -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 +53 -4
- package/src/sap/ui/webc/main/thirdparty/TextArea.js +17 -4
- 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 +94 -6
- 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/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/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/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/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/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/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/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/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 +141 -29
- package/src/sap/ui/webc/main/thirdparty/generated/i18n/i18n-defaults.js +9 -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 +47 -47
- 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/CardHeaderTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CarouselTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/CheckBoxTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/ColorPalettePopoverTemplate.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 +2 -2
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DatePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DateTimePickerPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/main/thirdparty/generated/templates/DialogTemplate.lit.js +1 -1
- 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 +2 -2
- 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/PopupBlockLayerTemplate.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/ResponsivePopoverTemplate.lit.js +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +9 -10
- 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/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/TreeListItemTemplate.lit.js +2 -2
- 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/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/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/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/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/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/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/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/{messagebundle_ar-f610ffe9.js → messagebundle_ar-7d8b4442.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_bg-e372ad7a.js → messagebundle_bg-9ad96f98.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ca-64403819.js → messagebundle_ca-f1555bd9.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cs-f5276d1f.js → messagebundle_cs-ef8aa726.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_cy-5b51959f.js → messagebundle_cy-990b67d4.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_da-3f0c542a.js → messagebundle_da-10ddad8e.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_de-ff52e292.js → messagebundle_de-3df474de.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_el-8a8f0e04.js → messagebundle_el-26906c8d.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en-39f79920.js → messagebundle_en-f820b936.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_GB-9a6995bc.js → messagebundle_en_GB-2d06b0a2.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_sappsd-1cd6f946.js → messagebundle_en_US_sappsd-5a02ac90.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saprigi-88214efb.js → messagebundle_en_US_saprigi-789390fa.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_en_US_saptrc-d8b4cc37.js → messagebundle_en_US_saptrc-b8adcdb7.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es-4e7804b3.js → messagebundle_es-fb48a8d9.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_es_MX-5d55637e.js → messagebundle_es_MX-1649847d.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_et-d019447e.js → messagebundle_et-21441666.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fi-115f5a0c.js → messagebundle_fi-a7a6ed50.js} +11 -3
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr-f4458a8c.js → messagebundle_fr-7d25aa37.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_fr_CA-d3ac2579.js → messagebundle_fr_CA-f0885bcd.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hi-3dbf5206.js → messagebundle_hi-4ff3dc19.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hr-3112e358.js → messagebundle_hr-27ea5966.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_hu-90f77b24.js → messagebundle_hu-4e7efab2.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_it-4fd2c566.js → messagebundle_it-05136e9a.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_iw-ff53b57b.js → messagebundle_iw-e57af9b5.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ja-050a69c3.js → messagebundle_ja-548e66ac.js} +12 -4
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_kk-597a9724.js → messagebundle_kk-9a532b4c.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ko-d840efd8.js → messagebundle_ko-85246117.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lt-d15c1526.js → messagebundle_lt-fd1ed9a8.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_lv-539ad33e.js → messagebundle_lv-528ee0b5.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ms-98b3e6dd.js → messagebundle_ms-ab977639.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_nl-5c52e887.js → messagebundle_nl-6ef0aca9.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_no-04ee2aaf.js → messagebundle_no-598c70b3.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pl-6da30702.js → messagebundle_pl-3c6bd3f7.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt-71f281c3.js → messagebundle_pt-a38c9a95.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_pt_PT-6d966418.js → messagebundle_pt_PT-6216e41a.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ro-e76a9c5d.js → messagebundle_ro-4efbaf89.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_ru-dc34dd79.js → messagebundle_ru-c8cc395e.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sh-f2171ee6.js → messagebundle_sh-a18343ab.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sk-5c10a3c8.js → messagebundle_sk-cbb7b742.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sl-14cff3cf.js → messagebundle_sl-39b012e5.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_sv-44a9e5d4.js → messagebundle_sv-68d03f9d.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_th-6cbca7a8.js → messagebundle_th-e0f152c1.js} +9 -1
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_tr-00ce0f94.js → messagebundle_tr-10848533.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_uk-bf2de1c7.js → messagebundle_uk-64f282f3.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_vi-a0de6aa8.js → messagebundle_vi-c6d60018.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_CN-7cbf9197.js → messagebundle_zh_CN-3be28696.js} +10 -2
- package/src/sap/ui/webc/main/thirdparty/{messagebundle_zh_TW-53705d5b.js → messagebundle_zh_TW-229e0d2b.js} +9 -1
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-87f538cb.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-91761a3a.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-9a20ee88.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-ae75ba99.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-b27de009.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-ba83be15.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-c6c72cae.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dc4174de.js +13 -0
- package/src/sap/ui/webc/main/thirdparty/parameters-bundle.css-dd344116.js +13 -0
- 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
|
@@ -3,12 +3,12 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], funct
|
|
|
3
3
|
const block0 = (context, tags, suffix) => litRender.html`<li part="native-li" tabindex="${litRender.ifDefined(context.tabIndex)}" class="${litRender.classMap(context.classes.main)}" dir="${litRender.ifDefined(context.effectiveDir)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" @keyup="${context._onkeyup}" @keydown="${context._onkeydown}" @mouseup="${context._onmouseup}" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @touchend="${context._ontouchend}" @click="${context._onclick}" role="${litRender.ifDefined(context._accInfo.role)}" aria-expanded="${litRender.ifDefined(context._accInfo.ariaExpanded)}" title="${litRender.ifDefined(context.title)}" aria-level="${litRender.ifDefined(context._accInfo.ariaLevel)}" aria-posinset="${litRender.ifDefined(context._accInfo.posinset)}" aria-setsize="${litRender.ifDefined(context._accInfo.setsize)}" aria-describedby="${litRender.ifDefined(context._id)}-invisibleText-describedby" aria-labelledby="${litRender.ifDefined(context._id)}-invisibleText ${litRender.ifDefined(context._id)}-content" aria-disabled="${litRender.ifDefined(context.ariaDisabled)}">${ context.placeSelectionElementBefore ? block1(context, tags, suffix) : undefined }<div id="${litRender.ifDefined(context._id)}-content" class="ui5-li-content"></div>${ context.typeDetail ? block5(context, tags, suffix) : undefined }${ context.placeSelectionElementAfter ? block6(context, tags, suffix) : undefined }<span id="${litRender.ifDefined(context._id)}-invisibleText" class="ui5-hidden-text">${litRender.ifDefined(context._accInfo.listItemAriaLabel)}${litRender.ifDefined(context.accessibleName)}</span><span id="${litRender.ifDefined(context._id)}-invisibleText-describedby" class="ui5-hidden-text">${litRender.ifDefined(context._accInfo.ariaSelectedText)}</span></li> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`${ context.modeSingleSelect ? block2(context, tags, suffix) : undefined }${ context.modeMultiSelect ? block3(context, tags, suffix) : undefined }${ context.renderDeleteButton ? block4(context, tags, suffix) : undefined }`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-radio-button", tags, suffix)} ?disabled="${context.isInactive}" accessible-name="${litRender.ifDefined(context._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${litRender.ifDefined(context._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${context.selected}" @click="${context.onSingleSelectionComponentPress}"></${litRender.scopeTag("ui5-radio-button", tags, suffix)}>`;
|
|
6
|
-
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
6
|
+
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" ?indeterminate=${context.indeterminate} tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
7
7
|
const block4 = (context, tags, suffix) => litRender.html`<div class="ui5-li-deletebtn"><${litRender.scopeTag("ui5-button", tags, suffix)} tabindex="-1" data-sap-no-tab-ref id="${litRender.ifDefined(context._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${context.disableDeleteButton}" @click="${context.onDelete}" title="${litRender.ifDefined(context.deleteText)}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
8
8
|
const block5 = (context, tags, suffix) => litRender.html`<div class="ui5-li-detailbtn"><${litRender.scopeTag("ui5-button", tags, suffix)} design="Transparent" icon="edit" @click="${context.onDetailClick}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
9
9
|
const block6 = (context, tags, suffix) => litRender.html`${ context.modeSingleSelect ? block7(context, tags, suffix) : undefined }${ context.modeMultiSelect ? block8(context, tags, suffix) : undefined }${ context.renderDeleteButton ? block9(context, tags, suffix) : undefined }`;
|
|
10
10
|
const block7 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-radio-button", tags, suffix)} ?disabled="${context.isInactive}" accessible-name="${litRender.ifDefined(context._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${litRender.ifDefined(context._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${context.selected}" @click="${context.onSingleSelectionComponentPress}"></${litRender.scopeTag("ui5-radio-button", tags, suffix)}>`;
|
|
11
|
-
const block8 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
11
|
+
const block8 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" ?indeterminate=${context.indeterminate} tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
12
12
|
const block9 = (context, tags, suffix) => litRender.html`<div class="ui5-li-deletebtn"><${litRender.scopeTag("ui5-button", tags, suffix)} tabindex="-1" data-sap-no-tab-ref id="${litRender.ifDefined(context._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${context.disableDeleteButton}" @click="${context.onDelete}" title="${litRender.ifDefined(context.deleteText)}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
13
13
|
|
|
14
14
|
return block0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-list-root" @focusin="${context._onfocusin}" @keydown="${context._onkeydown}"><div class="ui5-list-scroll-container"><!-- header -->${ context.header.length ? block1() : undefined }${ context.shouldRenderH1 ? block2(context) : undefined }${ context.hasData ? block3(context) : undefined }<span id="${litRender.ifDefined(context._id)}-modeLabel" class="ui5-hidden-text">${litRender.ifDefined(context.ariaLabelModeText)}</span><ul id="${litRender.ifDefined(context._id)}-listUl" class="ui5-list-ul" role="${litRender.ifDefined(context.accessibleRole)}" aria-label="${litRender.ifDefined(context.
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-list-root" @focusin="${context._onfocusin}" @keydown="${context._onkeydown}"><div class="ui5-list-scroll-container"><!-- header -->${ context.header.length ? block1() : undefined }${ context.shouldRenderH1 ? block2(context) : undefined }${ context.hasData ? block3(context) : undefined }<span id="${litRender.ifDefined(context._id)}-modeLabel" class="ui5-hidden-text">${litRender.ifDefined(context.ariaLabelModeText)}</span><ul id="${litRender.ifDefined(context._id)}-listUl" class="ui5-list-ul" role="${litRender.ifDefined(context.accessibleRole)}" aria-label="${litRender.ifDefined(context.ariaLabelTxt)}" aria-labelledby="${litRender.ifDefined(context.ariaLabelledBy)}"><slot></slot>${ context.showNoDataText ? block4(context) : undefined }</ul>${ context.growsWithButton ? block5(context) : undefined }${ context.footerText ? block6(context) : undefined }${ context.hasData ? block7(context) : undefined }<span tabindex="-1" aria-hidden="true" class="ui5-list-end-marker"></span></div>${ context.busy ? block8(context, tags, suffix) : undefined }</div> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`<slot name="header" />`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<header id="${litRender.ifDefined(context.headerID)}" class="ui5-list-header">${litRender.ifDefined(context.headerText)}</header>`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`<div id="${litRender.ifDefined(context._id)}-before" tabindex="0" class="ui5-list-focusarea"></div>`;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.root)}" id="${litRender.ifDefined(context._id)}" role="note" dir="${litRender.ifDefined(context.effectiveDir)}" aria-live="assertive" aria-labelledby="${litRender.ifDefined(context._id)}">${ !context.hideIcon ? block1(context, tags, suffix) : undefined }<span class="ui5-hidden-text">${litRender.ifDefined(context.hiddenText)}</span><span class="ui5-
|
|
4
|
-
const block1 = (context, tags, suffix) => litRender.html`<div class="ui5-
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.root)}" id="${litRender.ifDefined(context._id)}" role="note" dir="${litRender.ifDefined(context.effectiveDir)}" aria-live="assertive" aria-labelledby="${litRender.ifDefined(context._id)}">${ !context.hideIcon ? block1(context, tags, suffix) : undefined }<span class="ui5-hidden-text">${litRender.ifDefined(context.hiddenText)}</span><span class="ui5-message-strip-text"><slot></slot></span>${ !context.hideCloseButton ? block4(context, tags, suffix) : undefined }</div>`;
|
|
4
|
+
const block1 = (context, tags, suffix) => litRender.html`<div class="ui5-message-strip-icon-wrapper" aria-hidden="true">${ context.iconProvided ? block2() : block3(context, tags, suffix) }</div>`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<slot name="icon"></slot>`;
|
|
6
|
-
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} name="${litRender.ifDefined(context.standardIconName)}" class="ui5-
|
|
7
|
-
const block4 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-button", tags, suffix)} icon="decline" design="Transparent" class="ui5-
|
|
6
|
+
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} name="${litRender.ifDefined(context.standardIconName)}" class="ui5-message-strip-icon"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
7
|
+
const block4 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-button", tags, suffix)} icon="decline" design="Transparent" class="ui5-message-strip-close-button" title="${litRender.ifDefined(context._closeButtonText)}" @click=${context._closeClick}></${litRender.scopeTag("ui5-button", tags, suffix)}>`;
|
|
8
8
|
|
|
9
9
|
return block0;
|
|
10
10
|
|
package/src/sap/ui/webc/main/thirdparty/generated/templates/MultiComboBoxPopoverTemplate.lit.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-responsive-popover", tags, suffix)} placement-type="Bottom" horizontal-align="Stretch" class="${litRender.classMap(context.classes.popover)}" hide-arrow _disable-initial-focus @ui5-selection-change=${litRender.ifDefined(context._listSelectionChange)} @ui5-after-close=${litRender.ifDefined(context._afterClosePicker)} @ui5-before-open=${litRender.ifDefined(context._beforeOpen)} @ui5-after-open=${litRender.ifDefined(context._afterOpenPicker)}>${ context._isPhone ? block1(context, tags, suffix) : undefined }${ !context._isPhone ? block6(context) : undefined }${ context.filterSelected ? block11(context, tags, suffix) : block13(context, tags, suffix) }${ context._isPhone ? block15(context, tags, suffix) : undefined }</${litRender.scopeTag("ui5-responsive-popover", tags, suffix)}>${ context.hasValueStateMessage ? block16(context, tags, suffix) : undefined } `;
|
|
4
|
-
const block1 = (context, tags, suffix) => litRender.html`<div slot="header" class="ui5-responsive-popover-header" style="${litRender.styleMap(context.styles.popoverHeader)}"><div class="row"><span>${litRender.ifDefined(context._headerTitleText)}</span><${litRender.scopeTag("ui5-button", tags, suffix)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${context.handleCancel}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div><div class="row"><div slot="header" class="input-root-phone" value-state="${litRender.ifDefined(context.valueState)}"><input .value="${litRender.ifDefined(context.value)}" inner-input placeholder="${litRender.ifDefined(context.placeholder)}" value-state="${litRender.ifDefined(context.valueState)}" @input="${context._inputLiveChange}" @change=${context._inputChange} aria-autocomplete="both" aria-labelledby="${litRender.ifDefined(context._id)}-hiddenText-nMore" aria-describedby="${litRender.ifDefined(context._id)}-valueStateDesc" /></div><${litRender.scopeTag("ui5-toggle-button", tags, suffix)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${context._showAllItemsButtonPressed} @click="${context.filterSelectedItems}"></${litRender.scopeTag("ui5-toggle-button", tags, suffix)}></div>${ context.hasValueStateMessage ? block2(context) : undefined }</div></div>`;
|
|
5
|
-
const block2 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.popoverValueState)}" style="${litRender.styleMap(context.styles.popoverValueStateMessage)}">${ context.shouldDisplayDefaultValueStateMessage ? block3(context) : block4(context) }</div>`;
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-responsive-popover", tags, suffix)} placement-type="Bottom" horizontal-align="Stretch" class="${litRender.classMap(context.classes.popover)}" hide-arrow _disable-initial-focus @ui5-selection-change=${litRender.ifDefined(context._listSelectionChange)} @ui5-after-close=${litRender.ifDefined(context._afterClosePicker)} @ui5-before-open=${litRender.ifDefined(context._beforeOpen)} @ui5-after-open=${litRender.ifDefined(context._afterOpenPicker)}>${ context._isPhone ? block1(context, tags, suffix) : undefined }${ !context._isPhone ? block6(context, tags, suffix) : undefined }${ context.filterSelected ? block11(context, tags, suffix) : block13(context, tags, suffix) }${ context._isPhone ? block15(context, tags, suffix) : undefined }</${litRender.scopeTag("ui5-responsive-popover", tags, suffix)}>${ context.hasValueStateMessage ? block16(context, tags, suffix) : undefined } `;
|
|
4
|
+
const block1 = (context, tags, suffix) => litRender.html`<div slot="header" class="ui5-responsive-popover-header" style="${litRender.styleMap(context.styles.popoverHeader)}"><div class="row"><span>${litRender.ifDefined(context._headerTitleText)}</span><${litRender.scopeTag("ui5-button", tags, suffix)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${context.handleCancel}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div><div class="row"><div slot="header" class="input-root-phone" value-state="${litRender.ifDefined(context.valueState)}"><input .value="${litRender.ifDefined(context.value)}" inner-input placeholder="${litRender.ifDefined(context.placeholder)}" value-state="${litRender.ifDefined(context.valueState)}" @input="${context._inputLiveChange}" @change=${context._inputChange} aria-autocomplete="both" aria-labelledby="${litRender.ifDefined(context._id)}-hiddenText-nMore" aria-describedby="${litRender.ifDefined(context._id)}-valueStateDesc" /></div><${litRender.scopeTag("ui5-toggle-button", tags, suffix)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${context._showAllItemsButtonPressed} @click="${context.filterSelectedItems}"></${litRender.scopeTag("ui5-toggle-button", tags, suffix)}></div>${ context.hasValueStateMessage ? block2(context, tags, suffix) : undefined }</div></div>`;
|
|
5
|
+
const block2 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.popoverValueState)}" style="${litRender.styleMap(context.styles.popoverValueStateMessage)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-input-value-state-message-icon" name="${litRender.ifDefined(context._valueStateMessageIcon)}"></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.shouldDisplayDefaultValueStateMessage ? block3(context) : block4(context) }</div>`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`${litRender.ifDefined(context.valueStateText)}`;
|
|
7
7
|
const block4 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context.valueStateMessageText, (item, index) => item._id || index, (item, index) => block5(item)) }`;
|
|
8
8
|
const block5 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item)}`;
|
|
9
|
-
const block6 = (context, tags, suffix) => litRender.html`${ context.hasValueStateMessage ? block7(context) : undefined }`;
|
|
10
|
-
const block7 = (context, tags, suffix) => litRender.html`<div slot="header" @keydown="${context._onValueStateKeydown}" tabindex="0" class="ui5-responsive-popover-header ${litRender.classMap(context.classes.popoverValueState)}" style=${litRender.styleMap(context.styles.popoverValueStateMessage)}>${ context.shouldDisplayDefaultValueStateMessage ? block8(context) : block9(context) }</div>`;
|
|
9
|
+
const block6 = (context, tags, suffix) => litRender.html`${ context.hasValueStateMessage ? block7(context, tags, suffix) : undefined }`;
|
|
10
|
+
const block7 = (context, tags, suffix) => litRender.html`<div slot="header" @keydown="${context._onValueStateKeydown}" tabindex="0" class="ui5-responsive-popover-header ${litRender.classMap(context.classes.popoverValueState)}" style=${litRender.styleMap(context.styles.popoverValueStateMessage)}><${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-input-value-state-message-icon" name="${litRender.ifDefined(context._valueStateMessageIcon)}"></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.shouldDisplayDefaultValueStateMessage ? block8(context) : block9(context) }</div>`;
|
|
11
11
|
const block8 = (context, tags, suffix) => litRender.html`${litRender.ifDefined(context.valueStateText)}`;
|
|
12
12
|
const block9 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context.valueStateMessageText, (item, index) => item._id || index, (item, index) => block10(item)) }`;
|
|
13
13
|
const block10 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item)}`;
|
|
@@ -16,7 +16,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], funct
|
|
|
16
16
|
const block13 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-list", tags, suffix)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${ litRender.repeat(context._filteredItems, (item, index) => item._id || index, (item, index) => block14(item, index, context, tags, suffix)) }</${litRender.scopeTag("ui5-list", tags, suffix)}>`;
|
|
17
17
|
const block14 = (item, index, context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-li", tags, suffix)} type="${litRender.ifDefined(context._listItemsType)}" additional-text=${litRender.ifDefined(item.additionalText)} ?selected=${item.selected} data-ui5-token-id="${litRender.ifDefined(item._id)}" data-ui5-stable="${litRender.ifDefined(item.stableDomRef)}" @keydown="${context._onItemKeydown}">${litRender.ifDefined(item.text)}</${litRender.scopeTag("ui5-li", tags, suffix)}>`;
|
|
18
18
|
const block15 = (context, tags, suffix) => litRender.html`<div slot="footer" class="ui5-responsive-popover-footer"><${litRender.scopeTag("ui5-button", tags, suffix)} design="Transparent" @click="${context.handleOK}">${litRender.ifDefined(context._dialogOkButton)}</${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
19
|
-
const block16 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-popover", tags, suffix)} skip-registry-update _disable-initial-focus prevent-focus-restore no-padding hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="
|
|
19
|
+
const block16 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-popover", tags, suffix)} skip-registry-update _disable-initial-focus prevent-focus-restore no-padding hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${litRender.ifDefined(context._valueStatePopoverHorizontalAlign)}"><div slot="header" class="${litRender.classMap(context.classes.popoverValueState)}" style="${litRender.styleMap(context.styles.popoverHeader)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-input-value-state-message-icon" name="${litRender.ifDefined(context._valueStateMessageIcon)}"></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.shouldDisplayDefaultValueStateMessage ? block17(context) : block18(context) }</div></${litRender.scopeTag("ui5-popover", tags, suffix)}>`;
|
|
20
20
|
const block17 = (context, tags, suffix) => litRender.html`${litRender.ifDefined(context.valueStateText)}`;
|
|
21
21
|
const block18 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context.valueStateMessageText, (item, index) => item._id || index, (item, index) => block19(item)) }`;
|
|
22
22
|
const block19 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item)}`;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-multi-combobox-root"><span id="${litRender.ifDefined(context._id)}-hiddenText-nMore" class="ui5-hidden-text">${litRender.ifDefined(context._tokensCountText)}</span>${ context.hasValueState ? block1(context) : undefined }<${litRender.scopeTag("ui5-tokenizer", tags, suffix)} slot="_beginContent" show-more class="ui5-multi-combobox-tokenizer" ?disabled="${context.disabled}" @ui5-show-more-items-press="${litRender.ifDefined(context._showFilteredItems)}" @ui5-token-delete="${litRender.ifDefined(context._tokenDelete)}" @focusout="${context._tokenizerFocusOut}" @focusin="${context._tokenizerFocusIn}" @click=${context._click} @keydown="${context._onTokenizerKeydown}" ?expanded="${context._tokenizerExpanded}">${ litRender.repeat(context.items, (item, index) => item._id || index, (item, index) => block2(item, index, context, tags, suffix)) }</${litRender.scopeTag("ui5-tokenizer", tags, suffix)}><input id="ui5-multi-combobox-input" .value="${litRender.ifDefined(context.value)}" inner-input placeholder=${litRender.ifDefined(context._getPlaceholder)} ?disabled=${context.disabled} ?readonly=${context.readonly} value-state="${litRender.ifDefined(context.valueState)}" @input="${context._inputLiveChange}" @change=${context._inputChange} @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" @click=${context._click} @focusin=${context.inputFocusIn} @focusout=${context.inputFocusOut} role="combobox" aria-haspopup="listbox" aria-expanded="${litRender.ifDefined(context.open)}" aria-autocomplete="both" aria-describedby="${litRender.ifDefined(context.ariaDescribedByText)}" aria-required="${litRender.ifDefined(context.required)}" />${ context.
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-multi-combobox-root"><span id="${litRender.ifDefined(context._id)}-hiddenText-nMore" class="ui5-hidden-text">${litRender.ifDefined(context._tokensCountText)}</span>${ context.hasValueState ? block1(context) : undefined }<${litRender.scopeTag("ui5-tokenizer", tags, suffix)} slot="_beginContent" show-more class="ui5-multi-combobox-tokenizer" ?disabled="${context.disabled}" @ui5-show-more-items-press="${litRender.ifDefined(context._showFilteredItems)}" @ui5-token-delete="${litRender.ifDefined(context._tokenDelete)}" @focusout="${context._tokenizerFocusOut}" @focusin="${context._tokenizerFocusIn}" @click=${context._click} @keydown="${context._onTokenizerKeydown}" ?expanded="${context._tokenizerExpanded}">${ litRender.repeat(context.items, (item, index) => item._id || index, (item, index) => block2(item, index, context, tags, suffix)) }</${litRender.scopeTag("ui5-tokenizer", tags, suffix)}><input id="ui5-multi-combobox-input" .value="${litRender.ifDefined(context.value)}" inner-input placeholder=${litRender.ifDefined(context._getPlaceholder)} ?disabled=${context.disabled} ?readonly=${context.readonly} value-state="${litRender.ifDefined(context.valueState)}" @input="${context._inputLiveChange}" @change=${context._inputChange} @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" @click=${context._click} @focusin=${context.inputFocusIn} @focusout=${context.inputFocusOut} role="combobox" aria-haspopup="listbox" aria-expanded="${litRender.ifDefined(context.open)}" aria-autocomplete="both" aria-describedby="${litRender.ifDefined(context.ariaDescribedByText)}" aria-required="${litRender.ifDefined(context.required)}" />${ context.readonly ? block4(context, tags, suffix) : undefined }${ context.icon ? block5() : undefined }${ !context.readonly ? block6(context, tags, suffix) : undefined }</div>`;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`<span id="${litRender.ifDefined(context._id)}-valueStateDesc" class="ui5-hidden-text">${litRender.ifDefined(context.valueStateText)}</span>`;
|
|
5
5
|
const block2 = (item, index, context, tags, suffix) => litRender.html`${ item.selected ? block3(item, index, context, tags, suffix) : undefined }`;
|
|
6
6
|
const block3 = (item, index, context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-token", tags, suffix)} ?readonly="${context.readonly}" class="ui5-multi-combobox-token" data-ui5-id="${litRender.ifDefined(item._id)}" part="token-${index}" text="${litRender.ifDefined(item.text)}"></${litRender.scopeTag("ui5-token", tags, suffix)}>`;
|
|
7
|
-
const block4 = (context, tags, suffix) => litRender.html
|
|
8
|
-
const block5 = (context, tags, suffix) => litRender.html
|
|
7
|
+
const block4 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-input-readonly-icon" name="not-editable" @click="${context._readonlyIconClick}"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
8
|
+
const block5 = (context, tags, suffix) => litRender.html`<slot name="icon"></slot>`;
|
|
9
|
+
const block6 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} name="slim-arrow-down" input-icon slot="icon" tabindex="-1" @click="${context.togglePopover}" @mousedown="${context._onIconMousedown}" @focusin="${context._forwardFocusToInner}" ?pressed="${context.open}" dir="${litRender.ifDefined(context.effectiveDir)}" accessible-name="${litRender.ifDefined(context._iconAccessibleNameText)}"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
9
10
|
|
|
10
11
|
return block0;
|
|
11
12
|
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-input-root" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}"><div class="ui5-input-content"><span id="${litRender.ifDefined(context._id)}-hiddenText-nMore" class="ui5-hidden-text">${litRender.ifDefined(context._tokensCountText)}</span><${litRender.scopeTag("ui5-tokenizer", tags, suffix)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${litRender.ifDefined(context)} .popoverMinWidth=${litRender.ifDefined(context._inputWidth)} .valueState=${litRender.ifDefined(context.valueState)} ?expanded="${context.expandedTokenizer}" show-more @keydown="${context._onTokenizerKeydown}" @show-more-items-press=${context.showMorePress} @token-delete=${context.tokenDelete} @focusout="${context._tokenizerFocusOut}"><slot name="tokens"></slot><div slot="valueStateMessage">${ context.shouldDisplayDefaultValueStateMessage ? block1(context) : block2(context) }</div></${litRender.scopeTag("ui5-tokenizer", tags, suffix)}><input id="${litRender.ifDefined(context._id)}-inner" class="ui5-input-inner" style="${litRender.styleMap(context.styles.innerInput)}" type="${litRender.ifDefined(context.inputType)}" inner-input ?inner-input-with-icon="${context.icon.length}" ?disabled="${context.disabled}" ?readonly="${context._readonly}" .value="${litRender.ifDefined(context.value)}" placeholder="${litRender.ifDefined(context._placeholder)}" maxlength="${litRender.ifDefined(context.maxlength)}" role="${litRender.ifDefined(context.accInfo.input.role)}" aria-controls="${litRender.ifDefined(context.accInfo.input.ariaControls)}" ?aria-invalid="${context.accInfo.input.ariaInvalid}" aria-haspopup="${litRender.ifDefined(context.accInfo.input.ariaHasPopup)}" aria-describedby="${litRender.ifDefined(context.accInfo.input.ariaDescribedBy)}" aria-roledescription="${litRender.ifDefined(context.accInfo.input.ariaRoledescription)}" aria-autocomplete="${litRender.ifDefined(context.accInfo.input.ariaAutoComplete)}" aria-expanded="${litRender.ifDefined(context.accInfo.input.ariaExpanded)}" aria-label="${litRender.ifDefined(context.accInfo.input.ariaLabel)}" aria-required="${litRender.ifDefined(context.required)}" @input="${context._handleInput}" @change="${context.
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-input-root" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}"><div class="ui5-input-content"><span id="${litRender.ifDefined(context._id)}-hiddenText-nMore" class="ui5-hidden-text">${litRender.ifDefined(context._tokensCountText)}</span><${litRender.scopeTag("ui5-tokenizer", tags, suffix)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${litRender.ifDefined(context)} .popoverMinWidth=${litRender.ifDefined(context._inputWidth)} .valueState=${litRender.ifDefined(context.valueState)} ?expanded="${context.expandedTokenizer}" show-more @keydown="${context._onTokenizerKeydown}" @show-more-items-press=${context.showMorePress} @token-delete=${context.tokenDelete} @focusout="${context._tokenizerFocusOut}"><slot name="tokens"></slot><div slot="valueStateMessage">${ context.shouldDisplayDefaultValueStateMessage ? block1(context) : block2(context) }</div></${litRender.scopeTag("ui5-tokenizer", tags, suffix)}><input id="${litRender.ifDefined(context._id)}-inner" class="ui5-input-inner" style="${litRender.styleMap(context.styles.innerInput)}" type="${litRender.ifDefined(context.inputType)}" inner-input ?inner-input-with-icon="${context.icon.length}" ?disabled="${context.disabled}" ?readonly="${context._readonly}" .value="${litRender.ifDefined(context.value)}" placeholder="${litRender.ifDefined(context._placeholder)}" maxlength="${litRender.ifDefined(context.maxlength)}" role="${litRender.ifDefined(context.accInfo.input.role)}" aria-controls="${litRender.ifDefined(context.accInfo.input.ariaControls)}" ?aria-invalid="${context.accInfo.input.ariaInvalid}" aria-haspopup="${litRender.ifDefined(context.accInfo.input.ariaHasPopup)}" aria-describedby="${litRender.ifDefined(context.accInfo.input.ariaDescribedBy)}" aria-roledescription="${litRender.ifDefined(context.accInfo.input.ariaRoledescription)}" aria-autocomplete="${litRender.ifDefined(context.accInfo.input.ariaAutoComplete)}" aria-expanded="${litRender.ifDefined(context.accInfo.input.ariaExpanded)}" aria-label="${litRender.ifDefined(context.accInfo.input.ariaLabel)}" aria-required="${litRender.ifDefined(context.required)}" @input="${context._handleInput}" @change="${context._handleNativeInputChange}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" @click=${context._click} @focusin=${context.innerFocusIn} data-sap-focus-ref step="${litRender.ifDefined(context.nativeInputAttributes.step)}" min="${litRender.ifDefined(context.nativeInputAttributes.min)}" max="${litRender.ifDefined(context.nativeInputAttributes.max)}" />${ context.readonly ? block4(context, tags, suffix) : undefined }${ context.effectiveShowClearIcon ? block5(context, tags, suffix) : undefined }${ context.icon.length ? block6() : undefined }<div class="ui5-input-value-state-icon">${litRender.unsafeHTML(context._valueStateInputIcon)}</div>${ context.showValueHelpIcon ? block7(context, tags, suffix) : undefined }${ context.showSuggestions ? block8(context) : undefined }${ context.accInfo.input.ariaDescription ? block9(context) : undefined }${ context.hasValueState ? block10(context) : undefined }</div><slot name="formSupport"></slot></div> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`${litRender.ifDefined(context.valueStateText)}`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context.valueStateMessageText, (item, index) => item._id || index, (item, index) => block3(item)) }`;
|
|
6
6
|
const block3 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item)}`;
|
|
7
|
-
const block4 = (context, tags, suffix) => litRender.html
|
|
8
|
-
const block5 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} @click=${context.
|
|
9
|
-
const block6 = (context, tags, suffix) => litRender.html`<
|
|
10
|
-
const block7 = (context, tags, suffix) => litRender.html
|
|
11
|
-
const block8 = (context, tags, suffix) => litRender.html`<span id="${litRender.ifDefined(context._id)}-
|
|
7
|
+
const block4 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-input-readonly-icon" name="not-editable"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
8
|
+
const block5 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} @click=${context._clear} tabindex="-1" input-icon class="ui5-input-clear-icon" name="decline"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
9
|
+
const block6 = (context, tags, suffix) => litRender.html`<div class="ui5-input-icon-root"><slot name="icon"></slot></div>`;
|
|
10
|
+
const block7 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} @click=${context.valueHelpPress} @mousedown=${context.valueHelpMouseDown} @mouseup=${context.valueHelpMouseUp} input-icon name="value-help"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
11
|
+
const block8 = (context, tags, suffix) => litRender.html`<span id="${litRender.ifDefined(context._id)}-suggestionsText" class="ui5-hidden-text">${litRender.ifDefined(context.suggestionsText)}</span><span id="${litRender.ifDefined(context._id)}-selectionText" class="ui5-hidden-text" aria-live="polite" role="status"></span><span id="${litRender.ifDefined(context._id)}-suggestionsCount" class="ui5-hidden-text" aria-live="polite">${litRender.ifDefined(context.availableSuggestionsCount)}</span>`;
|
|
12
|
+
const block9 = (context, tags, suffix) => litRender.html`<span id="${litRender.ifDefined(context._id)}-descr" class="ui5-hidden-text">${litRender.ifDefined(context.accInfo.input.ariaDescription)}</span>`;
|
|
13
|
+
const block10 = (context, tags, suffix) => litRender.html`<span id="${litRender.ifDefined(context._id)}-valueStateDesc" class="ui5-hidden-text">${litRender.ifDefined(context.ariaValueStateHiddenText)}</span>`;
|
|
12
14
|
|
|
13
15
|
return block0;
|
|
14
16
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-panel-root" role="${litRender.ifDefined(context.accRole)}" aria-label="${litRender.ifDefined(context.effectiveAccessibleName)}" dir="${litRender.ifDefined(context.effectiveDir)}"><!-- header: either header or h1 with header text --><div @click="${context._headerClick}" @keydown="${context._headerKeyDown}" @keyup="${context._headerKeyUp}" class="ui5-panel-header" tabindex="${litRender.ifDefined(context.headerTabIndex)}" role="${litRender.ifDefined(context.accInfo.role)}" aria-expanded="${litRender.ifDefined(context.accInfo.ariaExpanded)}" aria-controls="${litRender.ifDefined(context.accInfo.ariaControls)}" aria-labelledby="${litRender.ifDefined(context.accInfo.ariaLabelledby)}">${ !context.fixed ? block1(context, tags, suffix) : undefined }${ context._hasHeader ? block4() : block5(context) }</div><!-- content area --><div class="ui5-panel-content" id="${litRender.ifDefined(context._id)}-content" tabindex="-1" style="${litRender.styleMap(context.styles.content)}" part="content"><slot></slot></div></div>`;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`<div class="ui5-panel-header-button-root">${ context._hasHeader ? block2(context, tags, suffix) : block3(context, tags, suffix) }</div>`;
|
|
5
|
-
const block2 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-button", tags, suffix)} design="Transparent" class="ui5-panel-header-button ${litRender.classMap(context.classes.headerBtn)}" icon="slim-arrow-right" @click="${context._toggleButtonClick}" .
|
|
5
|
+
const block2 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-button", tags, suffix)} design="Transparent" class="ui5-panel-header-button ${litRender.classMap(context.classes.headerBtn)}" icon="slim-arrow-right" @click="${context._toggleButtonClick}" .accessibilityAttributes=${litRender.ifDefined(context.accInfo.button.accessibilityAttributes)} title="${litRender.ifDefined(context.accInfo.button.title)}" accessible-name="${litRender.ifDefined(context.accInfo.button.ariaLabelButton)}"></${litRender.scopeTag("ui5-button", tags, suffix)}>`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-panel-header-button ui5-panel-header-icon ${litRender.classMap(context.classes.headerBtn)}" name="slim-arrow-right"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
7
7
|
const block4 = (context, tags, suffix) => litRender.html`<slot name="header"></slot>`;
|
|
8
8
|
const block5 = (context, tags, suffix) => litRender.html`<div id="${litRender.ifDefined(context._id)}-header-title" role="heading" aria-level="${litRender.ifDefined(context.headerAriaLevel)}" class="ui5-panel-header-title">${litRender.ifDefined(context.headerText)}</div>`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-block-layer" ?hidden=${context._blockLayerHidden} tabindex="
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-block-layer" ?hidden=${context._blockLayerHidden} tabindex="0" style="${litRender.styleMap(context.styles.blockLayer)}" @keydown="${context._preventBlockLayerFocus}" @mousedown="${context._preventBlockLayerFocus}"></div>`;
|
|
4
4
|
|
|
5
5
|
return block0;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-root" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @mouseover="${context._onmouseover}" @mouseout="${context._onmouseout}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" dir="${litRender.ifDefined(context.effectiveDir)}"><span id="${litRender.ifDefined(context._id)}-startHandleDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaHandlesText.startHandleText)}</span><span id="${litRender.ifDefined(context._id)}-endHandleDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaHandlesText.endHandleText)}</span><div class="ui5-slider-inner">${ context.step ? block1(context) : undefined }<div class="ui5-slider-progress-container"><div class="ui5-slider-progress" style="${litRender.styleMap(context.styles.progress)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuetext="From ${litRender.ifDefined(context.startValue)} to ${litRender.ifDefined(context.endValue)}" aria-labelledby="${litRender.ifDefined(context._id)}-sliderDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}"></div></div><div class="ui5-slider-handle ui5-slider-handle--start" style="${litRender.styleMap(context.styles.startHandle)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuenow="${litRender.ifDefined(context.startValue)}" aria-labelledby="${litRender.ifDefined(context._id)}-startHandleDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="source-code" slider-icon></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.showTooltip ? block5(context) : undefined }</div><div class="ui5-slider-handle ui5-slider-handle--end" style="${litRender.styleMap(context.styles.endHandle)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuenow="${litRender.ifDefined(context.endValue)}" aria-labelledby="${litRender.ifDefined(context._id)}-endHandleDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="source-code" slider-icon></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.showTooltip ? block6(context) : undefined }</div></div><span id="${litRender.ifDefined(context._id)}-sliderDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaLabelledByText)}</span></div>`;
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-root ${litRender.classMap(context.classes.root)}" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @mouseover="${context._onmouseover}" @mouseout="${context._onmouseout}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" dir="${litRender.ifDefined(context.effectiveDir)}"><span id="${litRender.ifDefined(context._id)}-startHandleDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaHandlesText.startHandleText)}</span><span id="${litRender.ifDefined(context._id)}-endHandleDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaHandlesText.endHandleText)}</span><div class="ui5-slider-inner">${ context.step ? block1(context) : undefined }<div class="ui5-slider-progress-container"><div class="ui5-slider-progress" style="${litRender.styleMap(context.styles.progress)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuetext="From ${litRender.ifDefined(context.startValue)} to ${litRender.ifDefined(context.endValue)}" aria-labelledby="${litRender.ifDefined(context._id)}-sliderDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}"></div></div><div class="ui5-slider-handle ui5-slider-handle--start" style="${litRender.styleMap(context.styles.startHandle)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuenow="${litRender.ifDefined(context.startValue)}" aria-labelledby="${litRender.ifDefined(context._id)}-startHandleDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="source-code" slider-icon></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.showTooltip ? block5(context) : undefined }</div><div class="ui5-slider-handle ui5-slider-handle--end" style="${litRender.styleMap(context.styles.endHandle)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuenow="${litRender.ifDefined(context.endValue)}" aria-labelledby="${litRender.ifDefined(context._id)}-endHandleDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="source-code" slider-icon></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.showTooltip ? block6(context) : undefined }</div></div><span id="${litRender.ifDefined(context._id)}-sliderDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaLabelledByText)}</span></div>`;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`${ context.showTickmarks ? block2(context) : undefined }`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-tickmarks" style="${litRender.styleMap(context.styles.tickmarks)}"></div>${ context.labelInterval ? block3(context) : undefined }`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`<ul class="ui5-slider-labels ${litRender.classMap(context.classes.labelContainer)}" style="${litRender.styleMap(context.styles.labelContainer)}">${ litRender.repeat(context._labels, (item, index) => item._id || index, (item, index) => block4(item, index, context)) }</ul>`;
|
package/src/sap/ui/webc/main/thirdparty/generated/templates/ResponsivePopoverTemplate.lit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const block0 = (context, tags, suffix) => litRender.html`${ context._isPhone ? block1(context, tags, suffix) : block7(context) }`;
|
|
4
|
-
const block1 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-dialog", tags, suffix)} ?with-padding=${context.withPadding} stretch _disable-initial-focus @ui5-before-open="${litRender.ifDefined(context._propagateDialogEvent)}" @ui5-after-open="${litRender.ifDefined(context._afterDialogOpen)}" @ui5-before-close="${litRender.ifDefined(context._propagateDialogEvent)}" @ui5-after-close="${litRender.ifDefined(context._afterDialogClose)}">${ !context._hideHeader ? block2(context, tags, suffix) : undefined }<slot></slot><slot slot="footer" name="footer"></slot></${litRender.scopeTag("ui5-dialog", tags, suffix)}>`;
|
|
4
|
+
const block1 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-dialog", tags, suffix)} accessible-name=${litRender.ifDefined(context.accessibleName)} accessible-name-ref=${litRender.ifDefined(context.accessibleNameRef)} ?with-padding=${context.withPadding} stretch _disable-initial-focus @ui5-before-open="${litRender.ifDefined(context._propagateDialogEvent)}" @ui5-after-open="${litRender.ifDefined(context._afterDialogOpen)}" @ui5-before-close="${litRender.ifDefined(context._propagateDialogEvent)}" @ui5-after-close="${litRender.ifDefined(context._afterDialogClose)}">${ !context._hideHeader ? block2(context, tags, suffix) : undefined }<slot></slot><slot slot="footer" name="footer"></slot></${litRender.scopeTag("ui5-dialog", tags, suffix)}>`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`${ context.header.length ? block3() : block4(context, tags, suffix) }`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`<slot slot="header" name="header"></slot>`;
|
|
7
7
|
const block4 = (context, tags, suffix) => litRender.html`<header class="${litRender.classMap(context.classes.header)}">${ context.headerText ? block5(context, tags, suffix) : undefined }${ !context._hideCloseButton ? block6(context, tags, suffix) : undefined }</header>`;
|
package/src/sap/ui/webc/main/thirdparty/generated/templates/SegmentedButtonItemTemplate.lit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<li role="option" aria-roledescription="${litRender.ifDefined(context.ariaDescription)}" aria-posinset="${litRender.ifDefined(context.posInSet)}" aria-setsize="${litRender.ifDefined(context.sizeOfSet)}" aria-selected="${litRender.ifDefined(context.pressed)}" class="ui5-button-root" aria-disabled="${litRender.ifDefined(context.disabled)}" data-sap-focus-ref dir="${litRender.ifDefined(context.effectiveDir)}" @focusout=${context._onfocusout} @focusin=${context._onfocusin} @click=${context._onclick} @mousedown=${context._onmousedown} @mouseup=${context._onmouseup} @keydown=${context._onkeydown} @keyup=${context._onkeyup} @touchstart="${context._ontouchstart}" @touchend="${context._ontouchend}" tabindex=${litRender.ifDefined(context.tabIndexValue)} aria-label="${litRender.ifDefined(context.ariaLabelText)}" title="${litRender.ifDefined(context.
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<li role="option" aria-roledescription="${litRender.ifDefined(context.ariaDescription)}" aria-posinset="${litRender.ifDefined(context.posInSet)}" aria-setsize="${litRender.ifDefined(context.sizeOfSet)}" aria-selected="${litRender.ifDefined(context.pressed)}" class="ui5-button-root" aria-disabled="${litRender.ifDefined(context.disabled)}" data-sap-focus-ref dir="${litRender.ifDefined(context.effectiveDir)}" @focusout=${context._onfocusout} @focusin=${context._onfocusin} @click=${context._onclick} @mousedown=${context._onmousedown} @mouseup=${context._onmouseup} @keydown=${context._onkeydown} @keyup=${context._onkeyup} @touchstart="${context._ontouchstart}" @touchend="${context._ontouchend}" tabindex=${litRender.ifDefined(context.tabIndexValue)} aria-label="${litRender.ifDefined(context.ariaLabelText)}" title="${litRender.ifDefined(context.title)}">${ context.icon ? block1(context, tags, suffix) : undefined }<span id="${litRender.ifDefined(context._id)}-content" class="ui5-button-text"><bdi><slot></slot></bdi></span></li> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-button-icon" name="${litRender.ifDefined(context.icon)}" part="icon" ?show-tooltip=${context.showIconTooltip}></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
5
5
|
|
|
6
6
|
return block0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<ul @click="${context._onclick}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" @focusin="${context._onfocusin}" class="ui5-segmented-button-root" role="listbox" dir="${litRender.ifDefined(context.effectiveDir)}" aria-multiselectable="true" aria-describedby="${litRender.ifDefined(context._id)}-invisibleText" aria-roledescription=${litRender.ifDefined(context.ariaDescription)}><slot></slot><span id="${litRender.ifDefined(context._id)}-invisibleText" class="ui5-hidden-text">${litRender.ifDefined(context.ariaDescribedBy)}</span></ul>`;
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<ul @click="${context._onclick}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" @focusin="${context._onfocusin}" class="ui5-segmented-button-root" role="listbox" dir="${litRender.ifDefined(context.effectiveDir)}" aria-multiselectable="true" aria-describedby="${litRender.ifDefined(context._id)}-invisibleText" aria-roledescription=${litRender.ifDefined(context.ariaDescription)} aria-label=${litRender.ifDefined(context.accessibleName)}><slot></slot><span id="${litRender.ifDefined(context._id)}-invisibleText" class="ui5-hidden-text">${litRender.ifDefined(context.ariaDescribedBy)}</span></ul>`;
|
|
4
4
|
|
|
5
5
|
return block0;
|
|
6
6
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const block0 = (context, tags, suffix) => litRender.html`${ context.options ? block1(context, tags, suffix) : undefined }${ context.shouldOpenValueStateMessagePopover ? block13(context, tags, suffix) : undefined }`;
|
|
4
|
-
const block1 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-responsive-popover", tags, suffix)} hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Stretch" @ui5-after-open="${litRender.ifDefined(context._afterOpen)}" @ui5-before-open="${litRender.ifDefined(context._beforeOpen)}" @ui5-after-close="${litRender.ifDefined(context._afterClose)}" @keydown="${context._onkeydown}">${ context._isPhone ? block2(context, tags, suffix) : undefined }${ !context._isPhone ? block7(context) : undefined }<${litRender.scopeTag("ui5-list", tags, suffix)} mode="SingleSelectAuto" separators="None" @mousedown="${context._itemMousedown}" @ui5-
|
|
4
|
+
const block1 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-responsive-popover", tags, suffix)} hide-arrow _disable-initial-focus placement-type="Bottom" class="ui5-select-popover ${litRender.classMap(context.classes.popover)}" horizontal-align="Stretch" @ui5-after-open="${litRender.ifDefined(context._afterOpen)}" @ui5-before-open="${litRender.ifDefined(context._beforeOpen)}" @ui5-after-close="${litRender.ifDefined(context._afterClose)}" @keydown="${context._onkeydown}">${ context._isPhone ? block2(context, tags, suffix) : undefined }${ !context._isPhone ? block7(context, tags, suffix) : undefined }<${litRender.scopeTag("ui5-list", tags, suffix)} mode="SingleSelectAuto" separators="None" @mousedown="${context._itemMousedown}" @ui5-selection-change="${litRender.ifDefined(context._handleItemPress)}">${ litRender.repeat(context._syncedOptions, (item, index) => item._id || index, (item, index) => block12(item, index, context, tags, suffix)) }</${litRender.scopeTag("ui5-list", tags, suffix)}></${litRender.scopeTag("ui5-responsive-popover", tags, suffix)}>`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<div slot="header" class="ui5-responsive-popover-header"><div class="row"><span>${litRender.ifDefined(context._headerTitleText)}</span><${litRender.scopeTag("ui5-button", tags, suffix)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${context._toggleRespPopover}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>${ context.hasValueStateText ? block3(context) : undefined }</div>`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.popoverValueState)} row ui5-select-value-state-dialog-header">${ context.shouldDisplayDefaultValueStateMessage ? block4(context) : block5(context) }</div>`;
|
|
7
7
|
const block4 = (context, tags, suffix) => litRender.html`${litRender.ifDefined(context.valueStateText)}`;
|
|
8
8
|
const block5 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context.valueStateMessageText, (item, index) => item._id || index, (item, index) => block6(item)) }`;
|
|
9
9
|
const block6 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item)}`;
|
|
10
|
-
const block7 = (context, tags, suffix) => litRender.html`${ context.hasValueStateText ? block8(context) : undefined }`;
|
|
11
|
-
const block8 = (context, tags, suffix) => litRender.html`<div slot="header" class="
|
|
10
|
+
const block7 = (context, tags, suffix) => litRender.html`${ context.hasValueStateText ? block8(context, tags, suffix) : undefined }`;
|
|
11
|
+
const block8 = (context, tags, suffix) => litRender.html`<div slot="header" class="${litRender.classMap(context.classes.popoverValueState)}" style=${litRender.styleMap(context.styles.responsivePopoverHeader)}><${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-input-value-state-message-icon" name="${litRender.ifDefined(context._valueStateMessageInputIcon)}"></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.shouldDisplayDefaultValueStateMessage ? block9(context) : block10(context) }</div>`;
|
|
12
12
|
const block9 = (context, tags, suffix) => litRender.html`${litRender.ifDefined(context.valueStateText)}`;
|
|
13
13
|
const block10 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context.valueStateMessageText, (item, index) => item._id || index, (item, index) => block11(item)) }`;
|
|
14
14
|
const block11 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item)}`;
|
|
15
|
-
const block12 = (item, index, context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-li", tags, suffix)} id="${litRender.ifDefined(item.id)}-li" icon="${litRender.ifDefined(item.icon)}" ?selected="${item.selected}" ?focused="${item._focused}" ?aria-selected="${item.selected}" data-ui5-stable="${litRender.ifDefined(item.stableDomRef)}">${litRender.ifDefined(item.textContent)}</${litRender.scopeTag("ui5-li", tags, suffix)}>`;
|
|
16
|
-
const block13 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-popover", tags, suffix)} skip-registry-update _disable-initial-focus prevent-focus-restore no-padding hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left"><div slot="header" class="${litRender.classMap(context.classes.popoverValueState)}" style="${litRender.styleMap(context.styles.popoverHeader)}">${ context.shouldDisplayDefaultValueStateMessage ? block14(context) : block15(context) }</div></${litRender.scopeTag("ui5-popover", tags, suffix)}>`;
|
|
15
|
+
const block12 = (item, index, context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-li", tags, suffix)} id="${litRender.ifDefined(item.id)}-li" icon="${litRender.ifDefined(item.icon)}" ?selected="${item.selected}" ?focused="${item._focused}" title="${litRender.ifDefined(item.title)}" ?aria-selected="${item.selected}" data-ui5-stable="${litRender.ifDefined(item.stableDomRef)}">${litRender.ifDefined(item.textContent)}</${litRender.scopeTag("ui5-li", tags, suffix)}>`;
|
|
16
|
+
const block13 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-popover", tags, suffix)} skip-registry-update _disable-initial-focus prevent-focus-restore no-padding hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left"><div slot="header" class="${litRender.classMap(context.classes.popoverValueState)}" style="${litRender.styleMap(context.styles.popoverHeader)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} class="ui5-input-value-state-message-icon" name="${litRender.ifDefined(context._valueStateMessageInputIcon)}"></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.shouldDisplayDefaultValueStateMessage ? block14(context) : block15(context) }</div></${litRender.scopeTag("ui5-popover", tags, suffix)}>`;
|
|
17
17
|
const block14 = (context, tags, suffix) => litRender.html`${litRender.ifDefined(context.valueStateText)}`;
|
|
18
18
|
const block15 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context.valueStateMessageText, (item, index) => item._id || index, (item, index) => block16(item)) }`;
|
|
19
19
|
const block16 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item)}`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-root" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @mouseover="${context._onmouseover}" @mouseout="${context._onmouseout}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" dir="${litRender.ifDefined(context.effectiveDir)}"><div class="ui5-slider-inner">${ context.step ? block1(context) : undefined }</div><span id="${litRender.ifDefined(context._id)}-sliderDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaLabelledByText)}</span></div> `;
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-root ${litRender.classMap(context.classes.root)}" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @mouseover="${context._onmouseover}" @mouseout="${context._onmouseout}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" dir="${litRender.ifDefined(context.effectiveDir)}"><div class="ui5-slider-inner">${ context.step ? block1(context) : undefined }</div><span id="${litRender.ifDefined(context._id)}-sliderDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaLabelledByText)}</span></div> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`${ context.showTickmarks ? block2(context) : undefined }`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-tickmarks" style="${litRender.styleMap(context.styles.tickmarks)}"></div>${ context.labelInterval ? block3(context) : undefined }`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`<ul class="ui5-slider-labels ${litRender.classMap(context.classes.labelContainer)}" style="${litRender.styleMap(context.styles.labelContainer)}">${ litRender.repeat(context._labels, (item, index) => item._id || index, (item, index) => block4(item, index, context)) }</ul>`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-root" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @mouseover="${context._onmouseover}" @mouseout="${context._onmouseout}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" dir="${litRender.ifDefined(context.effectiveDir)}"><div class="ui5-slider-inner">${ context.step ? block1(context) : undefined }<div class="ui5-slider-progress-container" aria-hidden="true" part="progress-container"><div class="ui5-slider-progress" style="${litRender.styleMap(context.styles.progress)}" @focusout="${context._onfocusout}" @focusin="${context._onfocusin}" tabindex="-1" part="progress-bar"></div></div><div class="ui5-slider-handle" style="${litRender.styleMap(context.styles.handle)}" @focusout="${context._onfocusout}" @focusin="${context._onfocusin}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuenow="${litRender.ifDefined(context.value)}" aria-labelledby="${litRender.ifDefined(context._id)}-sliderDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}" data-sap-focus-ref part="handle"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="source-code" slider-icon></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.showTooltip ? block5(context) : undefined }</div></div><span id="${litRender.ifDefined(context._id)}-sliderDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaLabelledByText)}</span></div>`;
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-root ${litRender.classMap(context.classes.root)}" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @mouseover="${context._onmouseover}" @mouseout="${context._onmouseout}" @keydown="${context._onkeydown}" @keyup="${context._onkeyup}" dir="${litRender.ifDefined(context.effectiveDir)}"><div class="ui5-slider-inner">${ context.step ? block1(context) : undefined }<div class="ui5-slider-progress-container" aria-hidden="true" part="progress-container"><div class="ui5-slider-progress" style="${litRender.styleMap(context.styles.progress)}" @focusout="${context._onfocusout}" @focusin="${context._onfocusin}" tabindex="-1" part="progress-bar"></div></div><div class="ui5-slider-handle" style="${litRender.styleMap(context.styles.handle)}" @focusout="${context._onfocusout}" @focusin="${context._onfocusin}" role="slider" tabindex="${litRender.ifDefined(context.tabIndex)}" aria-orientation="horizontal" aria-valuemin="${litRender.ifDefined(context.min)}" aria-valuemax="${litRender.ifDefined(context.max)}" aria-valuenow="${litRender.ifDefined(context.value)}" aria-labelledby="${litRender.ifDefined(context._id)}-sliderDesc" aria-disabled="${litRender.ifDefined(context._ariaDisabled)}" data-sap-focus-ref part="handle"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="source-code" part="icon-slider" slider-icon></${litRender.scopeTag("ui5-icon", tags, suffix)}>${ context.showTooltip ? block5(context) : undefined }</div></div><span id="${litRender.ifDefined(context._id)}-sliderDesc" class="ui5-hidden-text">${litRender.ifDefined(context._ariaLabelledByText)}</span></div>`;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`${ context.showTickmarks ? block2(context) : undefined }`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<div class="ui5-slider-tickmarks" style="${litRender.styleMap(context.styles.tickmarks)}"></div>${ context.labelInterval ? block3(context) : undefined }`;
|
|
6
6
|
const block3 = (context, tags, suffix) => litRender.html`<ul class="ui5-slider-labels ${litRender.classMap(context.classes.labelContainer)}" style="${litRender.styleMap(context.styles.labelContainer)}">${ litRender.repeat(context._labels, (item, index) => item._id || index, (item, index) => block4(item, index, context)) }</ul>`;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
|
+
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-split-button-root" role="group" tabindex=${litRender.ifDefined(context._tabIndex)} aria-labelledby="${litRender.ifDefined(context._id)}-invisibleTextDefault ${litRender.ifDefined(context._id)}-invisibleText" @focusout=${context._onFocusOut} @focusin=${context._onFocusIn} @keydown=${context._onKeyDown} @keyup=${context._onKeyUp}><${litRender.scopeTag("ui5-button", tags, suffix)} class="ui5-split-text-button" design="${litRender.ifDefined(context.design)}" dir=${litRender.ifDefined(context.effectiveDir)} icon="${litRender.ifDefined(context._textButtonIcon)}" tabindex="-1" ?disabled="${context.disabled}" ?active="${context._textButtonActive}" @click="${context._fireClick}" @touchstart=${context._textButtonPress} @mousedown=${context._textButtonPress} @mouseup=${context._textButtonRelease} @focusin=${context._setTabIndexValue} @focusout=${context._onFocusOut}><slot></slot></${litRender.scopeTag("ui5-button", tags, suffix)}><div class="ui5-split-arrow-button-wrapper" dir=${litRender.ifDefined(context.effectiveDir)}><${litRender.scopeTag("ui5-button", tags, suffix)} class="ui5-split-arrow-button" design="${litRender.ifDefined(context.design)}" icon="slim-arrow-down" tabindex="-1" ?disabled="${context.disabled}" ?active="${context._arrowButtonActive}" aria-expanded="${litRender.ifDefined(context.accessibilityInfo.ariaExpanded)}" aria-haspopup="${litRender.ifDefined(context.accessibilityInfo.ariaHaspopup)}" @click="${context._fireArrowClick}" @focusin=${context._setTabIndexValue} @focusout=${context._onFocusOut}></${litRender.scopeTag("ui5-button", tags, suffix)}></div><span id="${litRender.ifDefined(context._id)}-invisibleText" class="ui5-hidden-text">${litRender.ifDefined(context.accessibilityInfo.description)}${litRender.ifDefined(context.accessibilityInfo.keyboardHint)}${litRender.ifDefined(context.accessibleName)}</span><span id="${litRender.ifDefined(context._id)}-invisibleTextDefault" class="ui5-hidden-text">${litRender.ifDefined(context.textButtonAccText)}</span></div>`;
|
|
4
|
+
|
|
5
|
+
return block0;
|
|
6
|
+
|
|
7
|
+
});
|
|
@@ -3,7 +3,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], funct
|
|
|
3
3
|
const block0 = (context, tags, suffix) => litRender.html`<li part="native-li" tabindex="${litRender.ifDefined(context.tabIndex)}" class="${litRender.classMap(context.classes.main)}" dir="${litRender.ifDefined(context.effectiveDir)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" @keyup="${context._onkeyup}" @keydown="${context._onkeydown}" @mouseup="${context._onmouseup}" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @touchend="${context._ontouchend}" @click="${context._onclick}" role="${litRender.ifDefined(context._accInfo.role)}" aria-expanded="${litRender.ifDefined(context._accInfo.ariaExpanded)}" title="${litRender.ifDefined(context.title)}" aria-level="${litRender.ifDefined(context._accInfo.ariaLevel)}" aria-posinset="${litRender.ifDefined(context._accInfo.posinset)}" aria-setsize="${litRender.ifDefined(context._accInfo.setsize)}" aria-describedby="${litRender.ifDefined(context._id)}-invisibleText-describedby" aria-labelledby="${litRender.ifDefined(context._id)}-invisibleText ${litRender.ifDefined(context._id)}-content" aria-disabled="${litRender.ifDefined(context.ariaDisabled)}">${ context.placeSelectionElementBefore ? block1(context, tags, suffix) : undefined }<div id="${litRender.ifDefined(context._id)}-content" class="ui5-li-content">${ context.displayImage ? block5(context, tags, suffix) : undefined }${ context.displayIconBegin ? block6(context, tags, suffix) : undefined }<div class="ui5-li-text-wrapper"><span part="title" class="ui5-li-title"><slot></slot></span>${ context.description ? block7(context) : undefined }${ !context.typeActive ? block9(context) : undefined }</div>${ !context.description ? block10(context) : undefined }</div>${ context.displayIconEnd ? block12(context, tags, suffix) : undefined }${ context.typeDetail ? block13(context, tags, suffix) : undefined }${ context.placeSelectionElementAfter ? block14(context, tags, suffix) : undefined }<span id="${litRender.ifDefined(context._id)}-invisibleText" class="ui5-hidden-text">${litRender.ifDefined(context._accInfo.listItemAriaLabel)}${litRender.ifDefined(context.accessibleName)}</span><span id="${litRender.ifDefined(context._id)}-invisibleText-describedby" class="ui5-hidden-text">${litRender.ifDefined(context._accInfo.ariaSelectedText)}</span></li> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`${ context.modeSingleSelect ? block2(context, tags, suffix) : undefined }${ context.modeMultiSelect ? block3(context, tags, suffix) : undefined }${ context.renderDeleteButton ? block4(context, tags, suffix) : undefined }`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-radio-button", tags, suffix)} ?disabled="${context.isInactive}" accessible-name="${litRender.ifDefined(context._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${litRender.ifDefined(context._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${context.selected}" @click="${context.onSingleSelectionComponentPress}"></${litRender.scopeTag("ui5-radio-button", tags, suffix)}>`;
|
|
6
|
-
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
6
|
+
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" ?indeterminate=${context.indeterminate} tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
7
7
|
const block4 = (context, tags, suffix) => litRender.html`<div class="ui5-li-deletebtn"><${litRender.scopeTag("ui5-button", tags, suffix)} tabindex="-1" data-sap-no-tab-ref id="${litRender.ifDefined(context._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${context.disableDeleteButton}" @click="${context.onDelete}" title="${litRender.ifDefined(context.deleteText)}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
8
8
|
const block5 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-avatar", tags, suffix)} shape="Square" class="ui5-li-img"><img src="${litRender.ifDefined(context.image)}" class="ui5-li-img-inner" /></${litRender.scopeTag("ui5-avatar", tags, suffix)}>`;
|
|
9
9
|
const block6 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} part="icon" name="${litRender.ifDefined(context.icon)}" class="ui5-li-icon"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
@@ -16,7 +16,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], funct
|
|
|
16
16
|
const block13 = (context, tags, suffix) => litRender.html`<div class="ui5-li-detailbtn"><${litRender.scopeTag("ui5-button", tags, suffix)} design="Transparent" icon="edit" @click="${context.onDetailClick}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
17
17
|
const block14 = (context, tags, suffix) => litRender.html`${ context.modeSingleSelect ? block15(context, tags, suffix) : undefined }${ context.modeMultiSelect ? block16(context, tags, suffix) : undefined }${ context.renderDeleteButton ? block17(context, tags, suffix) : undefined }`;
|
|
18
18
|
const block15 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-radio-button", tags, suffix)} ?disabled="${context.isInactive}" accessible-name="${litRender.ifDefined(context._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${litRender.ifDefined(context._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${context.selected}" @click="${context.onSingleSelectionComponentPress}"></${litRender.scopeTag("ui5-radio-button", tags, suffix)}>`;
|
|
19
|
-
const block16 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
19
|
+
const block16 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" ?indeterminate=${context.indeterminate} tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
20
20
|
const block17 = (context, tags, suffix) => litRender.html`<div class="ui5-li-deletebtn"><${litRender.scopeTag("ui5-button", tags, suffix)} tabindex="-1" data-sap-no-tab-ref id="${litRender.ifDefined(context._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${context.disableDeleteButton}" @click="${context.onDelete}" title="${litRender.ifDefined(context.deleteText)}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
21
21
|
|
|
22
22
|
return block0;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div id="${litRender.ifDefined(context._id)}" class="ui5-step-input-root" @keydown="${context._onkeydown}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}"><!-- Decrement Icon
|
|
4
|
-
const block1 = (context, tags, suffix) => litRender.html`<
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div id="${litRender.ifDefined(context._id)}" class="ui5-step-input-root" @keydown="${context._onkeydown}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}"><!-- Decrement Icon -->${ !context.readonly ? block1(context, tags, suffix) : undefined }<!-- INPUT --><${litRender.scopeTag("ui5-input", tags, suffix)} id="${litRender.ifDefined(context._id)}-inner" class="ui5-step-input-input" placeholder="${litRender.ifDefined(context.placeholder)}" type="${litRender.ifDefined(context.type)}" value="${litRender.ifDefined(context._valuePrecisioned)}" ?disabled="${context.disabled}" ?required="${context.required}" ?readonly="${context.readonly}" value-state="${litRender.ifDefined(context.valueState)}" data-sap-focus-ref ._inputAccInfo ="${litRender.ifDefined(context.accInfo)}" ._nativeInputAttributes="${litRender.ifDefined(context.inputAttributes)}" @ui5-change="${litRender.ifDefined(context._onInputChange)}" @focusout="${context._onInputFocusOut}" @focusin="${context._onInputFocusIn}">${ context.valueStateMessage.length ? block2() : undefined }</${litRender.scopeTag("ui5-input", tags, suffix)}><!-- Increment Icon -->${ !context.readonly ? block3(context, tags, suffix) : undefined }<slot name="formSupport"></slot></div>`;
|
|
4
|
+
const block1 = (context, tags, suffix) => litRender.html`<div class="ui5-step-icon ui5-step-dec" title="${litRender.ifDefined(context.decIconTitle)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} id="${litRender.ifDefined(context._id)}-dec" name="${litRender.ifDefined(context.decIconName)}" tabindex="-1" accessible-name="${litRender.ifDefined(context.decIconTitle)}" @click="${context._decValue}" @focusout="${context._onButtonFocusOut}" @mousedown="${context._decSpin}" @mouseup="${context._resetSpin}" @mouseout="${context._resetSpinOut}" input-icon show-tooltip ?clickable="${context._decIconClickable}"></${litRender.scopeTag("ui5-icon", tags, suffix)}></div>`;
|
|
5
|
+
const block2 = (context, tags, suffix) => litRender.html`<slot name="valueStateMessage" slot="valueStateMessage"></slot>`;
|
|
6
|
+
const block3 = (context, tags, suffix) => litRender.html`<div class="ui5-step-icon ui5-step-inc" title="${litRender.ifDefined(context.incIconTitle)}"><${litRender.scopeTag("ui5-icon", tags, suffix)} id="${litRender.ifDefined(context._id)}-inc" name="${litRender.ifDefined(context.incIconName)}" tabindex="-1" accessible-name="${litRender.ifDefined(context.incIconTitle)}" @click="${context._incValue}" @focusout="${context._onButtonFocusOut}" @mousedown="${context._incSpin}" @mouseup="${context._resetSpin}" @mouseout="${context._resetSpinOut}" input-icon show-tooltip ?clickable="${context._incIconClickable}"></${litRender.scopeTag("ui5-icon", tags, suffix)}></div>`;
|
|
5
7
|
|
|
6
8
|
return block0;
|
|
7
9
|
|
package/src/sap/ui/webc/main/thirdparty/generated/templates/SuggestionListItemTemplate.lit.js
CHANGED
|
@@ -3,7 +3,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], funct
|
|
|
3
3
|
const block0 = (context, tags, suffix) => litRender.html`<li part="native-li" tabindex="${litRender.ifDefined(context.tabIndex)}" class="${litRender.classMap(context.classes.main)}" dir="${litRender.ifDefined(context.effectiveDir)}" @focusin="${context._onfocusin}" @focusout="${context._onfocusout}" @keyup="${context._onkeyup}" @keydown="${context._onkeydown}" @mouseup="${context._onmouseup}" @mousedown="${context._onmousedown}" @touchstart="${context._ontouchstart}" @touchend="${context._ontouchend}" @click="${context._onclick}" role="${litRender.ifDefined(context._accInfo.role)}" aria-expanded="${litRender.ifDefined(context._accInfo.ariaExpanded)}" title="${litRender.ifDefined(context.title)}" aria-level="${litRender.ifDefined(context._accInfo.ariaLevel)}" aria-posinset="${litRender.ifDefined(context._accInfo.posinset)}" aria-setsize="${litRender.ifDefined(context._accInfo.setsize)}" aria-describedby="${litRender.ifDefined(context._id)}-invisibleText-describedby" aria-labelledby="${litRender.ifDefined(context._id)}-invisibleText ${litRender.ifDefined(context._id)}-content" aria-disabled="${litRender.ifDefined(context.ariaDisabled)}">${ context.placeSelectionElementBefore ? block1(context, tags, suffix) : undefined }<div id="${litRender.ifDefined(context._id)}-content" class="ui5-li-content">${ context.displayImage ? block5(context, tags, suffix) : undefined }${ context.displayIconBegin ? block6(context, tags, suffix) : undefined }<div class="ui5-li-text-wrapper">${ context.hasTitle ? block7() : undefined }${ context.hasDescription ? block8(context) : undefined }${ !context.typeActive ? block12(context) : undefined }</div>${ !context.hasDescription ? block13(context) : undefined }</div>${ context.displayIconEnd ? block15(context, tags, suffix) : undefined }${ context.typeDetail ? block16(context, tags, suffix) : undefined }${ context.placeSelectionElementAfter ? block17(context, tags, suffix) : undefined }<span id="${litRender.ifDefined(context._id)}-invisibleText" class="ui5-hidden-text">${litRender.ifDefined(context._accInfo.listItemAriaLabel)}${litRender.ifDefined(context.accessibleName)}</span><span id="${litRender.ifDefined(context._id)}-invisibleText-describedby" class="ui5-hidden-text">${litRender.ifDefined(context._accInfo.ariaSelectedText)}</span></li> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`${ context.modeSingleSelect ? block2(context, tags, suffix) : undefined }${ context.modeMultiSelect ? block3(context, tags, suffix) : undefined }${ context.renderDeleteButton ? block4(context, tags, suffix) : undefined }`;
|
|
5
5
|
const block2 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-radio-button", tags, suffix)} ?disabled="${context.isInactive}" accessible-name="${litRender.ifDefined(context._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${litRender.ifDefined(context._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${context.selected}" @click="${context.onSingleSelectionComponentPress}"></${litRender.scopeTag("ui5-radio-button", tags, suffix)}>`;
|
|
6
|
-
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
6
|
+
const block3 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" ?indeterminate=${context.indeterminate} tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
7
7
|
const block4 = (context, tags, suffix) => litRender.html`<div class="ui5-li-deletebtn"><${litRender.scopeTag("ui5-button", tags, suffix)} tabindex="-1" data-sap-no-tab-ref id="${litRender.ifDefined(context._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${context.disableDeleteButton}" @click="${context.onDelete}" title="${litRender.ifDefined(context.deleteText)}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
8
8
|
const block5 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-avatar", tags, suffix)} shape="Square" class="ui5-li-img"><img src="${litRender.ifDefined(context.image)}" class="ui5-li-img-inner" /></${litRender.scopeTag("ui5-avatar", tags, suffix)}>`;
|
|
9
9
|
const block6 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-icon", tags, suffix)} part="icon" name="${litRender.ifDefined(context.icon)}" class="ui5-li-icon"></${litRender.scopeTag("ui5-icon", tags, suffix)}>`;
|
|
@@ -19,7 +19,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], funct
|
|
|
19
19
|
const block16 = (context, tags, suffix) => litRender.html`<div class="ui5-li-detailbtn"><${litRender.scopeTag("ui5-button", tags, suffix)} design="Transparent" icon="edit" @click="${context.onDetailClick}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
20
20
|
const block17 = (context, tags, suffix) => litRender.html`${ context.modeSingleSelect ? block18(context, tags, suffix) : undefined }${ context.modeMultiSelect ? block19(context, tags, suffix) : undefined }${ context.renderDeleteButton ? block20(context, tags, suffix) : undefined }`;
|
|
21
21
|
const block18 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-radio-button", tags, suffix)} ?disabled="${context.isInactive}" accessible-name="${litRender.ifDefined(context._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${litRender.ifDefined(context._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${context.selected}" @click="${context.onSingleSelectionComponentPress}"></${litRender.scopeTag("ui5-radio-button", tags, suffix)}>`;
|
|
22
|
-
const block19 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
22
|
+
const block19 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-checkbox", tags, suffix)} ?disabled="${context.isInactive}" ?indeterminate=${context.indeterminate} tabindex="-1" id="${litRender.ifDefined(context._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${context.selected}" aria-label="${litRender.ifDefined(context._accInfo.ariaLabel)}" @click="${context.onMultiSelectionComponentPress}"></${litRender.scopeTag("ui5-checkbox", tags, suffix)}>`;
|
|
23
23
|
const block20 = (context, tags, suffix) => litRender.html`<div class="ui5-li-deletebtn"><${litRender.scopeTag("ui5-button", tags, suffix)} tabindex="-1" data-sap-no-tab-ref id="${litRender.ifDefined(context._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${context.disableDeleteButton}" @click="${context.onDelete}" title="${litRender.ifDefined(context.deleteText)}"></${litRender.scopeTag("ui5-button", tags, suffix)}></div>`;
|
|
24
24
|
|
|
25
25
|
return block0;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-switch-root ${litRender.classMap(context.classes.main)}" role="
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="ui5-switch-root ${litRender.classMap(context.classes.main)}" role="switch" aria-label="${litRender.ifDefined(context.ariaLabelText)}" aria-checked="${litRender.ifDefined(context.checked)}" aria-disabled="${litRender.ifDefined(context.ariaDisabled)}" aria-labelledby="${litRender.ifDefined(context._id)}-hiddenText" @click="${context._onclick}" @keyup="${context._onkeyup}" @keydown="${context._onkeydown}" tabindex="${litRender.ifDefined(context.tabIndex)}" dir="${litRender.ifDefined(context.effectiveDir)}"><div class="ui5-switch-inner"><div class="ui5-switch-track" part="slider"><div class="ui5-switch-slider">${ context.graphical ? block1(context, tags, suffix) : block2(context, tags, suffix) }<span class="ui5-switch-handle" part="handle"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="${litRender.ifDefined(context.sapNextIcon)}" class="ui5-switch-handle-icon"></${litRender.scopeTag("ui5-icon", tags, suffix)}></span></div></div></div><input type='checkbox' ?checked="${context.checked}" class="ui5-switch-input" data-sap-no-tab-ref/><span id="${litRender.ifDefined(context._id)}-hiddenText" class="ui5-hidden-text">${litRender.ifDefined(context.hiddenText)}</span></div>`;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`<span class="ui5-switch-text ui5-switch-text--on"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="accept" dir="ltr" class="ui5-switch-icon-on"></${litRender.scopeTag("ui5-icon", tags, suffix)}></span><span class="ui5-switch-text ui5-switch-text--off"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="decline" class="ui5-switch-icon-off"></${litRender.scopeTag("ui5-icon", tags, suffix)}></span>`;
|
|
5
|
-
const block2 = (context, tags, suffix) => litRender.html
|
|
5
|
+
const block2 = (context, tags, suffix) => litRender.html`${ context.hasNoLabel ? block3(context, tags, suffix) : block4(context) }`;
|
|
6
|
+
const block3 = (context, tags, suffix) => litRender.html`<span class="ui5-switch-text ui5-switch-text--on ui5-switch-no-label-icon" part="text-on"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="${litRender.ifDefined(context.sapNextIcon)}" class="ui5-switch-no-label-icon-on"></${litRender.scopeTag("ui5-icon", tags, suffix)}></span><span class="ui5-switch-text ui5-switch-text--off switch-no-label-icon" part="text-off"><${litRender.scopeTag("ui5-icon", tags, suffix)} name="${litRender.ifDefined(context.sapNextIcon)}" class="ui5-switch-no-label-icon-off"></${litRender.scopeTag("ui5-icon", tags, suffix)}></span>`;
|
|
7
|
+
const block4 = (context, tags, suffix) => litRender.html`<span class="ui5-switch-text ui5-switch-text--on" part="text-on">${litRender.ifDefined(context._textOn)}</span><span class="ui5-switch-text ui5-switch-text--off" part="text-off">${litRender.ifDefined(context._textOff)}</span>`;
|
|
6
8
|
|
|
7
9
|
return block0;
|
|
8
10
|
|
package/src/sap/ui/webc/main/thirdparty/generated/templates/TabContainerPopoverTemplate.lit.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-responsive-popover", tags, suffix)} id="${litRender.ifDefined(context._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop
|
|
4
|
-
const block1 = (
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-responsive-popover", tags, suffix)} id="${litRender.ifDefined(context._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop hide-arrow _hide-header class="ui5-tab-container-responsive-popover"><${litRender.scopeTag("ui5-list", tags, suffix)} mode="SingleSelect" separators="None" @ui5-item-click="${litRender.ifDefined(context._onOverflowListItemClick)}">${ context._endOverflowItems.length ? block1(context) : block3(context) }</${litRender.scopeTag("ui5-list", tags, suffix)}><div slot="footer" class="ui5-responsive-popover-footer"><${litRender.scopeTag("ui5-button", tags, suffix)} design="Transparent" @click="${context._closeRespPopover}">Cancel</${litRender.scopeTag("ui5-button", tags, suffix)}></div></${litRender.scopeTag("ui5-responsive-popover", tags, suffix)}>`;
|
|
4
|
+
const block1 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context._endOverflowItems, (item, index) => item._id || index, (item, index) => block2(item)) }`;
|
|
5
5
|
const block2 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item.overflowPresentation)}`;
|
|
6
|
+
const block3 = (context, tags, suffix) => litRender.html`${ litRender.repeat(context._startOverflowItems, (item, index) => item._id || index, (item, index) => block4(item)) }`;
|
|
7
|
+
const block4 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item.overflowPresentation)}`;
|
|
6
8
|
|
|
7
9
|
return block0;
|
|
8
10
|
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer'], function (litRender) { 'use strict';
|
|
2
2
|
|
|
3
|
-
const block0 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.root)}" dir="${litRender.ifDefined(context.effectiveDir)}">${ context.tabsAtTheBottom ? block1(context) : undefined }<div class="${litRender.classMap(context.classes.header)}" id="${litRender.ifDefined(context._id)}-header"><div class="
|
|
3
|
+
const block0 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.root)}" dir="${litRender.ifDefined(context.effectiveDir)}">${ context.tabsAtTheBottom ? block1(context) : undefined }<div class="${litRender.classMap(context.classes.header)}" id="${litRender.ifDefined(context._id)}-header"><div class="ui5-tc__overflow ui5-tc__overflow--start" @click="${context._onOverflowClick}" @keydown="${context._onOverflowKeyDown}" hidden>${ context.startOverflowButton.length ? block4() : block5(context, tags, suffix) }</div><div id="${litRender.ifDefined(context._id)}-tabStrip" class="${litRender.classMap(context.classes.tabStrip)}" role="tablist" @click="${context._onTabStripClick}" @keydown="${context._onTabStripKeyDown}" @keyup="${context._onTabStripKeyUp}">${ litRender.repeat(context.items, (item, index) => item._id || index, (item, index) => block6(item)) }</div><div class="ui5-tc__overflow ui5-tc__overflow--end" @click="${context._onOverflowClick}" @keydown="${context._onOverflowKeyDown}" hidden>${ context.overflowButton.length ? block7() : block8(context, tags, suffix) }</div></div>${ !context.tabsAtTheBottom ? block9(context) : undefined }</div> `;
|
|
4
4
|
const block1 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.content)}">${ litRender.repeat(context.items, (item, index) => item._id || index, (item, index) => block2(item)) }</div>`;
|
|
5
5
|
const block2 = (item, index, context, tags, suffix) => litRender.html`${ !item.isSeparator ? block3(item) : undefined }`;
|
|
6
6
|
const block3 = (item, index, context, tags, suffix) => litRender.html`<div class="ui5-tc__contentItem" id="ui5-tc-contentItem-${litRender.ifDefined(item._posinset)}" ?hidden="${item.effectiveHidden}" role="tabpanel" aria-labelledby="${litRender.ifDefined(item._id)}"><slot name="${litRender.ifDefined(item._individualSlot)}"></slot></div>`;
|
|
7
|
-
const block4 = (
|
|
8
|
-
const block5 = (
|
|
9
|
-
const block6 = (item, index, context, tags, suffix) => litRender.html
|
|
10
|
-
const block7 = (context, tags, suffix) => litRender.html`<
|
|
11
|
-
const block8 = (context, tags, suffix) => litRender.html
|
|
12
|
-
const block9 = (context, tags, suffix) => litRender.html
|
|
13
|
-
const block10 = (context, tags, suffix) => litRender.html
|
|
14
|
-
const block11 = (item, index, context, tags, suffix) => litRender.html
|
|
15
|
-
const block12 = (item, index, context, tags, suffix) => litRender.html`<div class="ui5-tc__contentItem" id="ui5-tc-contentItem-${litRender.ifDefined(item._posinset)}" ?hidden="${item.effectiveHidden}" role="tabpanel" aria-labelledby="${litRender.ifDefined(item._id)}"><slot name="${litRender.ifDefined(item._individualSlot)}"></slot></div>`;
|
|
7
|
+
const block4 = (context, tags, suffix) => litRender.html`<slot name="startOverflowButton"></slot>`;
|
|
8
|
+
const block5 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-button", tags, suffix)} icon="${litRender.ifDefined(context.overflowMenuIcon)}" data-ui5-stable="overflow-start" tabindex="-1" title="${litRender.ifDefined(context.overflowMenuTitle)}" aria-haspopup="true" icon-end>${litRender.ifDefined(context._startOverflowText)}</${litRender.scopeTag("ui5-button", tags, suffix)}>`;
|
|
9
|
+
const block6 = (item, index, context, tags, suffix) => litRender.html`${litRender.ifDefined(item.stripPresentation)}`;
|
|
10
|
+
const block7 = (context, tags, suffix) => litRender.html`<slot name="overflowButton"></slot>`;
|
|
11
|
+
const block8 = (context, tags, suffix) => litRender.html`<${litRender.scopeTag("ui5-button", tags, suffix)} icon="${litRender.ifDefined(context.overflowMenuIcon)}" data-ui5-stable="overflow-end" tabindex="-1" title="${litRender.ifDefined(context.overflowMenuTitle)}" aria-haspopup="true" icon-end>${litRender.ifDefined(context._endOverflowText)}</${litRender.scopeTag("ui5-button", tags, suffix)}>`;
|
|
12
|
+
const block9 = (context, tags, suffix) => litRender.html`<div class="${litRender.classMap(context.classes.content)}">${ litRender.repeat(context.items, (item, index) => item._id || index, (item, index) => block10(item)) }</div>`;
|
|
13
|
+
const block10 = (item, index, context, tags, suffix) => litRender.html`${ !item.isSeparator ? block11(item) : undefined }`;
|
|
14
|
+
const block11 = (item, index, context, tags, suffix) => litRender.html`<div class="ui5-tc__contentItem" id="ui5-tc-contentItem-${litRender.ifDefined(item._posinset)}" ?hidden="${item.effectiveHidden}" role="tabpanel" aria-labelledby="${litRender.ifDefined(item._id)}"><slot name="${litRender.ifDefined(item._individualSlot)}"></slot></div>`;
|
|
16
15
|
|
|
17
16
|
return block0;
|
|
18
17
|
|