@sapudex/web-components 0.143.0 → 0.172.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +1 -0
- package/bundle.esm.js +9 -0
- package/dist/Badge.d.ts +21 -14
- package/dist/Badge.js +20 -26
- package/dist/Badge.js.map +1 -1
- package/dist/Breadcrumbs.d.ts +23 -21
- package/dist/Breadcrumbs.js +58 -40
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/BreadcrumbsItem.js +0 -1
- package/dist/BreadcrumbsItem.js.map +1 -1
- package/dist/Checkbox.js +0 -1
- package/dist/Checkbox.js.map +1 -1
- package/dist/CountrySelector.d.ts +9 -3
- package/dist/CountrySelector.js +48 -19
- package/dist/CountrySelector.js.map +1 -1
- package/dist/DatePicker.d.ts +2 -2
- package/dist/DatePicker.js.map +1 -1
- package/dist/Dropdown.js +0 -3
- package/dist/Dropdown.js.map +1 -1
- package/dist/Footer.d.ts +53 -10
- package/dist/Footer.js +41 -11
- package/dist/Footer.js.map +1 -1
- package/dist/Link.d.ts +2 -5
- package/dist/Link.js +4 -8
- package/dist/Link.js.map +1 -1
- package/dist/List.d.ts +16 -1
- package/dist/List.js +154 -100
- package/dist/List.js.map +1 -1
- package/dist/ListItem.d.ts +1 -0
- package/dist/ListItem.js +3 -0
- package/dist/ListItem.js.map +1 -1
- package/dist/MastheadItem.d.ts +12 -2
- package/dist/MastheadItem.js +34 -7
- package/dist/MastheadItem.js.map +1 -1
- package/dist/MastheadMenu.d.ts +1 -0
- package/dist/MastheadMenu.js +13 -4
- package/dist/MastheadMenu.js.map +1 -1
- package/dist/MastheadMenuItem.d.ts +10 -0
- package/dist/MastheadMenuItem.js +24 -3
- package/dist/MastheadMenuItem.js.map +1 -1
- package/dist/MastheadMobileMenu.js +2 -2
- package/dist/MastheadMobileMenu.js.map +1 -1
- package/dist/MastheadProfileMenu.js +2 -2
- package/dist/MastheadProfileMenu.js.map +1 -1
- package/dist/MastheadShell.d.ts +4 -0
- package/dist/MastheadShell.js +21 -5
- package/dist/MastheadShell.js.map +1 -1
- package/dist/Pagination.d.ts +13 -3
- package/dist/Pagination.js +90 -57
- package/dist/Pagination.js.map +1 -1
- package/dist/PhoneNumberField.d.ts +3 -0
- package/dist/PhoneNumberField.js +9 -4
- package/dist/PhoneNumberField.js.map +1 -1
- package/dist/RangeSlider.js +0 -1
- package/dist/RangeSlider.js.map +1 -1
- package/dist/Search.d.ts +5 -4
- package/dist/Search.js +13 -13
- package/dist/Search.js.map +1 -1
- package/dist/SearchableListBase.d.ts +7 -1
- package/dist/SearchableListBase.js +47 -4
- package/dist/SearchableListBase.js.map +1 -1
- package/dist/SecondaryNavigation.d.ts +2 -2
- package/dist/SecondaryNavigation.js +20 -10
- package/dist/SecondaryNavigation.js.map +1 -1
- package/dist/SecondaryNavigationItem.d.ts +6 -3
- package/dist/SecondaryNavigationItem.js +50 -26
- package/dist/SecondaryNavigationItem.js.map +1 -1
- package/dist/SecondaryNavigationSubItem.d.ts +1 -0
- package/dist/SecondaryNavigationSubItem.js +3 -0
- package/dist/SecondaryNavigationSubItem.js.map +1 -1
- package/dist/SegmentedButton.d.ts +2 -2
- package/dist/SegmentedButton.js.map +1 -1
- package/dist/SelectBox.d.ts +6 -9
- package/dist/SelectBox.js +50 -55
- package/dist/SelectBox.js.map +1 -1
- package/dist/SideNavigationGroup.js +0 -1
- package/dist/SideNavigationGroup.js.map +1 -1
- package/dist/SideNavigationItem.js +0 -1
- package/dist/SideNavigationItem.js.map +1 -1
- package/dist/SideNavigationSubItem.js +0 -1
- package/dist/SideNavigationSubItem.js.map +1 -1
- package/dist/Slider.js +0 -1
- package/dist/Slider.js.map +1 -1
- package/dist/TabNavigation.js +2 -2
- package/dist/TabNavigation.js.map +1 -1
- package/dist/Tag.d.ts +1 -4
- package/dist/Tag.js +1 -5
- package/dist/Tag.js.map +1 -1
- package/dist/Tile.d.ts +1 -1
- package/dist/Tile.js +1 -1
- package/dist/Tile.js.map +1 -1
- package/dist/Toast.d.ts +0 -1
- package/dist/Toast.js +4 -3
- package/dist/Toast.js.map +1 -1
- package/dist/Wizard.js +1 -1
- package/dist/Wizard.js.map +1 -1
- package/dist/WizardTab.js +0 -1
- package/dist/WizardTab.js.map +1 -1
- package/dist/assets/{bundle.esm-8623b7b1.js → bundle.esm-981c5cbb.js} +187 -191
- package/dist/assets/messagebundle_ar-bb470511.js +1 -0
- package/dist/assets/messagebundle_bg-a533dfab.js +1 -0
- package/dist/assets/messagebundle_cs-c70a7f36.js +1 -0
- package/dist/assets/messagebundle_da-e292cac5.js +1 -0
- package/dist/assets/messagebundle_de-5c108de6.js +1 -0
- package/dist/assets/messagebundle_el-44746e0b.js +1 -0
- package/dist/assets/messagebundle_en-4997b226.js +1 -0
- package/dist/assets/messagebundle_es-c0c1060f.js +1 -0
- package/dist/assets/messagebundle_et-a5f15d3b.js +1 -0
- package/dist/assets/messagebundle_fi-f4b8eb82.js +1 -0
- package/dist/assets/messagebundle_fr-af18ac46.js +1 -0
- package/dist/assets/messagebundle_hr-d893e46d.js +1 -0
- package/dist/assets/messagebundle_hu-230c58c9.js +1 -0
- package/dist/assets/messagebundle_it-5bf1436c.js +1 -0
- package/dist/assets/messagebundle_iw-dd60afc4.js +1 -0
- package/dist/assets/messagebundle_ko-c450bda3.js +1 -0
- package/dist/assets/messagebundle_lt-87ab0529.js +1 -0
- package/dist/assets/messagebundle_lv-fc413852.js +1 -0
- package/dist/assets/messagebundle_nl-34d7e236.js +1 -0
- package/dist/assets/messagebundle_no-f22648fb.js +1 -0
- package/dist/assets/messagebundle_pl-10303f09.js +1 -0
- package/dist/assets/messagebundle_pt-b7a40c67.js +1 -0
- package/dist/assets/messagebundle_ro-94628623.js +1 -0
- package/dist/assets/messagebundle_ru-1f6595ba.js +1 -0
- package/dist/assets/messagebundle_sk-89eabac1.js +1 -0
- package/dist/assets/messagebundle_sl-d56532f1.js +1 -0
- package/dist/assets/messagebundle_sr-cf7f3b32.js +1 -0
- package/dist/assets/messagebundle_sv-3a3b20d3.js +1 -0
- package/dist/assets/messagebundle_tr-33b16d09.js +1 -0
- package/dist/assets/messagebundle_uk-82e1f2c1.js +1 -0
- package/dist/assets/messagebundle_zh_CN-15ca05aa.js +1 -0
- package/dist/assets/messagebundle_zh_TW-ad6445e7.js +1 -0
- package/dist/assets/{parameters-bundle.css-c897ae23.js → parameters-bundle.css-07457fce.js} +2 -2
- package/dist/css/themes/Badge.css +1 -1
- package/dist/css/themes/BreadcrumbsPopover.css +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/css/themes/DatePickerPopover.css +1 -1
- package/dist/css/themes/FilterMenu.css +1 -1
- package/dist/css/themes/Footer.css +1 -1
- package/dist/css/themes/MastheadItem.css +1 -1
- package/dist/css/themes/MastheadMenu.css +1 -1
- package/dist/css/themes/MastheadMenuItem.css +1 -1
- package/dist/css/themes/MastheadShell.css +1 -1
- package/dist/css/themes/MediaPlayer.css +1 -1
- package/dist/css/themes/Modal.css +1 -1
- package/dist/css/themes/RatingIndicator.css +1 -1
- package/dist/css/themes/SelectBox.css +1 -1
- package/dist/css/themes/Slider.css +1 -1
- package/dist/css/themes/TableCell.css +1 -1
- package/dist/css/themes/TableCellBase.css +1 -1
- package/dist/css/themes/Tag.css +1 -1
- package/dist/css/themes/TagGroup.css +1 -1
- package/dist/css/themes/TextArea.css +1 -1
- package/dist/css/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +232 -31
- package/dist/custom-elements.json +224 -30
- package/dist/features/SearchSuggestionsPopover.d.ts +16 -0
- package/dist/features/SearchSuggestionsPopover.js +49 -0
- package/dist/features/SearchSuggestionsPopover.js.map +1 -1
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -0
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -0
- package/dist/generated/assets/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +7 -1
- package/dist/generated/i18n/i18n-defaults.js +7 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/json-imports/i18n-static.js +86 -2
- package/dist/generated/json-imports/i18n-static.js.map +1 -1
- package/dist/generated/json-imports/i18n.js +58 -2
- package/dist/generated/json-imports/i18n.js.map +1 -1
- package/dist/generated/templates/BadgeTemplate.lit.js +4 -4
- package/dist/generated/templates/BadgeTemplate.lit.js.map +1 -1
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js +3 -3
- package/dist/generated/templates/BreadcrumbsPopoverTemplate.lit.js.map +1 -1
- package/dist/generated/templates/CountrySelectorTemplate.lit.js +2 -2
- package/dist/generated/templates/CountrySelectorTemplate.lit.js.map +1 -1
- package/dist/generated/templates/FooterTemplate.lit.js +12 -11
- package/dist/generated/templates/FooterTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListItemTemplate.lit.js +2 -2
- package/dist/generated/templates/ListItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/ListTemplate.lit.js +3 -3
- package/dist/generated/templates/ListTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadItemTemplate.lit.js +17 -16
- package/dist/generated/templates/MastheadItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadMenuItemTemplate.lit.js +15 -14
- package/dist/generated/templates/MastheadMenuItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadMenuTemplate.lit.js +3 -3
- package/dist/generated/templates/MastheadMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadProfileMenuTemplate.lit.js +1 -1
- package/dist/generated/templates/MastheadProfileMenuTemplate.lit.js.map +1 -1
- package/dist/generated/templates/MastheadShellTemplate.lit.js +10 -9
- package/dist/generated/templates/MastheadShellTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PaginationTemplate.lit.js +3 -3
- package/dist/generated/templates/PaginationTemplate.lit.js.map +1 -1
- package/dist/generated/templates/PhoneNumberFieldTemplate.lit.js +1 -1
- package/dist/generated/templates/PhoneNumberFieldTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchSuggestionsTemplate.lit.js +1 -1
- package/dist/generated/templates/SearchSuggestionsTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SearchableListBaseTemplate.lit.js +2 -2
- package/dist/generated/templates/SearchableListBaseTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js +3 -3
- package/dist/generated/templates/SecondaryNavigationItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js +3 -3
- package/dist/generated/templates/SecondaryNavigationSubItemTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js +1 -1
- package/dist/generated/templates/SecondaryNavigationTemplate.lit.js.map +1 -1
- package/dist/generated/templates/SelectBoxTemplate.lit.js +3 -5
- package/dist/generated/templates/SelectBoxTemplate.lit.js.map +1 -1
- package/dist/generated/templates/StepInputTemplate.lit.js +1 -1
- package/dist/generated/templates/StepInputTemplate.lit.js.map +1 -1
- package/dist/generated/templates/TagGroupTemplate.lit.js +2 -2
- package/dist/generated/templates/TagGroupTemplate.lit.js.map +1 -1
- package/dist/generated/templates/WizardTemplate.lit.js +1 -1
- package/dist/generated/templates/WizardTemplate.lit.js.map +1 -1
- package/dist/generated/themes/Badge.css.js +1 -1
- package/dist/generated/themes/Badge.css.js.map +1 -1
- package/dist/generated/themes/BreadcrumbsPopover.css.js +1 -1
- package/dist/generated/themes/BreadcrumbsPopover.css.js.map +1 -1
- package/dist/generated/themes/Button.css.js +1 -1
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/FilterMenu.css.js +1 -1
- package/dist/generated/themes/FilterMenu.css.js.map +1 -1
- package/dist/generated/themes/Footer.css.js +1 -1
- package/dist/generated/themes/Footer.css.js.map +1 -1
- package/dist/generated/themes/MastheadItem.css.js +1 -1
- package/dist/generated/themes/MastheadItem.css.js.map +1 -1
- package/dist/generated/themes/MastheadMenu.css.js +1 -1
- package/dist/generated/themes/MastheadMenu.css.js.map +1 -1
- package/dist/generated/themes/MastheadMenuItem.css.js +1 -1
- package/dist/generated/themes/MastheadMenuItem.css.js.map +1 -1
- package/dist/generated/themes/MastheadShell.css.js +1 -1
- package/dist/generated/themes/MastheadShell.css.js.map +1 -1
- package/dist/generated/themes/MediaPlayer.css.js +1 -1
- package/dist/generated/themes/MediaPlayer.css.js.map +1 -1
- package/dist/generated/themes/Modal.css.js +1 -1
- package/dist/generated/themes/Modal.css.js.map +1 -1
- package/dist/generated/themes/RatingIndicator.css.js +1 -1
- package/dist/generated/themes/RatingIndicator.css.js.map +1 -1
- package/dist/generated/themes/SelectBox.css.js +1 -1
- package/dist/generated/themes/SelectBox.css.js.map +1 -1
- package/dist/generated/themes/Slider.css.js +1 -1
- package/dist/generated/themes/Slider.css.js.map +1 -1
- package/dist/generated/themes/TableCell.css.js +1 -1
- package/dist/generated/themes/TableCell.css.js.map +1 -1
- package/dist/generated/themes/TableCellBase.css.js +1 -1
- package/dist/generated/themes/TableCellBase.css.js.map +1 -1
- package/dist/generated/themes/Tag.css.js +1 -1
- package/dist/generated/themes/Tag.css.js.map +1 -1
- package/dist/generated/themes/TagGroup.css.js +1 -1
- package/dist/generated/themes/TagGroup.css.js.map +1 -1
- package/dist/generated/themes/TextArea.css.js +1 -1
- package/dist/generated/themes/TextArea.css.js.map +1 -1
- package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.js.map +1 -1
- package/dist/i18n/messagebundle.properties +10 -0
- package/dist/i18n/messagebundle_ar.properties +1 -0
- package/dist/i18n/messagebundle_bg.properties +1 -0
- package/dist/i18n/messagebundle_cs.properties +1 -0
- package/dist/i18n/messagebundle_da.properties +1 -0
- package/dist/i18n/messagebundle_de.properties +1 -0
- package/dist/i18n/messagebundle_el.properties +1 -0
- package/dist/i18n/messagebundle_en.properties +4 -0
- package/dist/i18n/messagebundle_es.properties +1 -0
- package/dist/i18n/messagebundle_et.properties +1 -0
- package/dist/i18n/messagebundle_fi.properties +1 -0
- package/dist/i18n/messagebundle_fr.properties +1 -0
- package/dist/i18n/messagebundle_hr.properties +1 -0
- package/dist/i18n/messagebundle_hu.properties +1 -0
- package/dist/i18n/messagebundle_it.properties +1 -0
- package/dist/i18n/messagebundle_iw.properties +2 -0
- package/dist/i18n/messagebundle_ko.properties +1 -0
- package/dist/i18n/messagebundle_lt.properties +1 -0
- package/dist/i18n/messagebundle_lv.properties +1 -0
- package/dist/i18n/messagebundle_nl.properties +1 -0
- package/dist/i18n/messagebundle_no.properties +1 -0
- package/dist/i18n/messagebundle_pl.properties +1 -0
- package/dist/i18n/messagebundle_pt.properties +1 -0
- package/dist/i18n/messagebundle_pt_BR.properties +1 -0
- package/dist/i18n/messagebundle_ro.properties +1 -0
- package/dist/i18n/messagebundle_ru.properties +1 -0
- package/dist/i18n/messagebundle_sk.properties +1 -0
- package/dist/i18n/messagebundle_sl.properties +1 -0
- package/dist/i18n/messagebundle_sr.properties +2 -0
- package/dist/i18n/messagebundle_sv.properties +1 -0
- package/dist/i18n/messagebundle_tr.properties +1 -0
- package/dist/i18n/messagebundle_uk.properties +1 -0
- package/dist/i18n/messagebundle_zh_CN.properties +4 -0
- package/dist/i18n/messagebundle_zh_TW.properties +1 -0
- package/dist/types/BadgeDesign.d.ts +15 -0
- package/dist/types/BadgeDesign.js +18 -0
- package/dist/types/BadgeDesign.js.map +1 -0
- package/dist/types/IconPlacement.d.ts +5 -0
- package/dist/types/IconPlacement.js +7 -0
- package/dist/types/IconPlacement.js.map +1 -0
- package/dist/types/List.d.ts +8 -0
- package/dist/types/List.js.map +1 -1
- package/dist/utils/isLetterKeyPressed.d.ts +2 -0
- package/dist/utils/isLetterKeyPressed.js +5 -0
- package/dist/utils/isLetterKeyPressed.js.map +1 -0
- package/dist/utils/listItemLabelStartsWithKeyFocus.d.ts +3 -0
- package/dist/utils/listItemLabelStartsWithKeyFocus.js +55 -0
- package/dist/utils/listItemLabelStartsWithKeyFocus.js.map +1 -0
- package/dist/utils/listItemLabelUtils.d.ts +7 -0
- package/dist/utils/listItemLabelUtils.js +36 -0
- package/dist/utils/listItemLabelUtils.js.map +1 -0
- package/dist/vscode.html-custom-data.json +63 -26
- package/dist/web-types.json +113 -38
- package/package.json +1 -1
- package/src/Badge.hbs +16 -5
- package/src/Badge.ts +36 -19
- package/src/Breadcrumbs.ts +92 -66
- package/src/BreadcrumbsItem.ts +0 -1
- package/src/BreadcrumbsPopover.hbs +11 -9
- package/src/Checkbox.ts +0 -1
- package/src/CountrySelector.hbs +2 -2
- package/src/CountrySelector.ts +66 -23
- package/src/DatePicker.ts +2 -2
- package/src/Dropdown.ts +0 -2
- package/src/Footer.hbs +52 -28
- package/src/Footer.ts +81 -22
- package/src/Link.ts +5 -9
- package/src/List.hbs +2 -2
- package/src/List.ts +182 -112
- package/src/ListItem.hbs +2 -2
- package/src/ListItem.ts +4 -0
- package/src/MastheadItem.hbs +14 -4
- package/src/MastheadItem.ts +42 -9
- package/src/MastheadMenu.hbs +4 -4
- package/src/MastheadMenu.ts +20 -8
- package/src/MastheadMenuItem.hbs +10 -2
- package/src/MastheadMenuItem.ts +28 -1
- package/src/MastheadMobileMenu.ts +2 -2
- package/src/MastheadProfileMenu.hbs +1 -0
- package/src/MastheadProfileMenu.ts +3 -2
- package/src/MastheadShell.hbs +25 -19
- package/src/MastheadShell.ts +25 -5
- package/src/Pagination.hbs +3 -2
- package/src/Pagination.ts +110 -60
- package/src/PhoneNumberField.hbs +3 -3
- package/src/PhoneNumberField.ts +16 -8
- package/src/RangeSlider.ts +0 -1
- package/src/Search.hbs +10 -10
- package/src/Search.ts +18 -18
- package/src/SearchSuggestions.hbs +1 -0
- package/src/SearchableListBase.hbs +3 -1
- package/src/SearchableListBase.ts +57 -6
- package/src/SecondaryNavigation.hbs +1 -0
- package/src/SecondaryNavigation.ts +23 -16
- package/src/SecondaryNavigationItem.hbs +10 -7
- package/src/SecondaryNavigationItem.ts +58 -28
- package/src/SecondaryNavigationSubItem.hbs +3 -0
- package/src/SecondaryNavigationSubItem.ts +3 -0
- package/src/SegmentedButton.ts +2 -2
- package/src/SelectBox.hbs +11 -24
- package/src/SelectBox.ts +51 -60
- package/src/SideNavigationGroup.ts +0 -1
- package/src/SideNavigationItem.ts +0 -1
- package/src/SideNavigationSubItem.ts +0 -1
- package/src/Slider.ts +0 -1
- package/src/StepInput.hbs +16 -16
- package/src/TabNavigation.ts +2 -2
- package/src/Tag.ts +1 -5
- package/src/TagGroup.hbs +1 -1
- package/src/Tile.ts +2 -2
- package/src/Toast.ts +4 -3
- package/src/Wizard.hbs +1 -0
- package/src/Wizard.ts +1 -1
- package/src/WizardTab.ts +0 -1
- package/src/features/SearchSuggestionsPopover.ts +67 -1
- package/src/generated/i18n/i18n-defaults.ts +2 -2
- package/src/generated/json-imports/i18n-static.ts +86 -2
- package/src/generated/json-imports/i18n.ts +59 -3
- package/src/generated/templates/BadgeTemplate.lit.ts +3 -3
- package/src/generated/templates/BreadcrumbsPopoverTemplate.lit.ts +3 -3
- package/src/generated/templates/CountrySelectorTemplate.lit.ts +2 -2
- package/src/generated/templates/FooterTemplate.lit.ts +12 -11
- package/src/generated/templates/ListItemTemplate.lit.ts +2 -2
- package/src/generated/templates/ListTemplate.lit.ts +3 -3
- package/src/generated/templates/MastheadItemTemplate.lit.ts +17 -16
- package/src/generated/templates/MastheadMenuItemTemplate.lit.ts +15 -14
- package/src/generated/templates/MastheadMenuTemplate.lit.ts +3 -3
- package/src/generated/templates/MastheadProfileMenuTemplate.lit.ts +1 -1
- package/src/generated/templates/MastheadShellTemplate.lit.ts +10 -9
- package/src/generated/templates/PaginationTemplate.lit.ts +3 -3
- package/src/generated/templates/PhoneNumberFieldTemplate.lit.ts +1 -1
- package/src/generated/templates/SearchSuggestionsTemplate.lit.ts +1 -1
- package/src/generated/templates/SearchableListBaseTemplate.lit.ts +2 -2
- package/src/generated/templates/SecondaryNavigationItemTemplate.lit.ts +3 -3
- package/src/generated/templates/SecondaryNavigationSubItemTemplate.lit.ts +3 -3
- package/src/generated/templates/SecondaryNavigationTemplate.lit.ts +1 -1
- package/src/generated/templates/SelectBoxTemplate.lit.ts +3 -5
- package/src/generated/templates/StepInputTemplate.lit.ts +1 -1
- package/src/generated/templates/TagGroupTemplate.lit.ts +2 -2
- package/src/generated/templates/WizardTemplate.lit.ts +1 -1
- package/src/generated/themes/Badge.css.ts +1 -1
- package/src/generated/themes/BreadcrumbsPopover.css.ts +1 -1
- package/src/generated/themes/Button.css.ts +1 -1
- package/src/generated/themes/DatePickerPopover.css.ts +1 -1
- package/src/generated/themes/FilterMenu.css.ts +1 -1
- package/src/generated/themes/Footer.css.ts +1 -1
- package/src/generated/themes/MastheadItem.css.ts +1 -1
- package/src/generated/themes/MastheadMenu.css.ts +1 -1
- package/src/generated/themes/MastheadMenuItem.css.ts +1 -1
- package/src/generated/themes/MastheadShell.css.ts +1 -1
- package/src/generated/themes/MediaPlayer.css.ts +1 -1
- package/src/generated/themes/Modal.css.ts +1 -1
- package/src/generated/themes/RatingIndicator.css.ts +1 -1
- package/src/generated/themes/SelectBox.css.ts +1 -1
- package/src/generated/themes/Slider.css.ts +1 -1
- package/src/generated/themes/TableCell.css.ts +1 -1
- package/src/generated/themes/TableCellBase.css.ts +1 -1
- package/src/generated/themes/Tag.css.ts +1 -1
- package/src/generated/themes/TagGroup.css.ts +1 -1
- package/src/generated/themes/TextArea.css.ts +1 -1
- package/src/generated/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css.ts +1 -1
- package/src/i18n/messagebundle.properties +10 -0
- package/src/i18n/messagebundle_ar.properties +1 -0
- package/src/i18n/messagebundle_bg.properties +1 -0
- package/src/i18n/messagebundle_cs.properties +1 -0
- package/src/i18n/messagebundle_da.properties +1 -0
- package/src/i18n/messagebundle_de.properties +1 -0
- package/src/i18n/messagebundle_el.properties +1 -0
- package/src/i18n/messagebundle_en.properties +4 -0
- package/src/i18n/messagebundle_es.properties +1 -0
- package/src/i18n/messagebundle_et.properties +1 -0
- package/src/i18n/messagebundle_fi.properties +1 -0
- package/src/i18n/messagebundle_fr.properties +1 -0
- package/src/i18n/messagebundle_hr.properties +1 -0
- package/src/i18n/messagebundle_hu.properties +1 -0
- package/src/i18n/messagebundle_it.properties +1 -0
- package/src/i18n/messagebundle_iw.properties +2 -0
- package/src/i18n/messagebundle_ko.properties +1 -0
- package/src/i18n/messagebundle_lt.properties +1 -0
- package/src/i18n/messagebundle_lv.properties +1 -0
- package/src/i18n/messagebundle_nl.properties +1 -0
- package/src/i18n/messagebundle_no.properties +1 -0
- package/src/i18n/messagebundle_pl.properties +1 -0
- package/src/i18n/messagebundle_pt.properties +1 -0
- package/src/i18n/messagebundle_pt_BR.properties +1 -0
- package/src/i18n/messagebundle_ro.properties +1 -0
- package/src/i18n/messagebundle_ru.properties +1 -0
- package/src/i18n/messagebundle_sk.properties +1 -0
- package/src/i18n/messagebundle_sl.properties +1 -0
- package/src/i18n/messagebundle_sr.properties +2 -0
- package/src/i18n/messagebundle_sv.properties +1 -0
- package/src/i18n/messagebundle_tr.properties +1 -0
- package/src/i18n/messagebundle_uk.properties +1 -0
- package/src/i18n/messagebundle_zh_CN.properties +4 -0
- package/src/i18n/messagebundle_zh_TW.properties +1 -0
- package/src/themes/Badge.css +48 -52
- package/src/themes/BreadcrumbsPopover.css +1 -0
- package/src/themes/Button.css +1 -1
- package/src/themes/DatePickerPopover.css +9 -0
- package/src/themes/FilterMenu.css +6 -6
- package/src/themes/Footer.css +22 -3
- package/src/themes/MastheadItem.css +4 -0
- package/src/themes/MastheadMenu.css +1 -1
- package/src/themes/MastheadMenuItem.css +4 -0
- package/src/themes/MastheadShell.css +5 -0
- package/src/themes/MediaPlayer.css +2 -1
- package/src/themes/Modal.css +1 -0
- package/src/themes/SelectBox.css +4 -88
- package/src/themes/TableCell.css +0 -2
- package/src/themes/TableCellBase.css +1 -0
- package/src/themes/Tag.css +8 -3
- package/src/themes/TagGroup.css +8 -0
- package/src/themes/TextArea.css +1 -1
- package/src/themes/overrides/@ui5/webcomponents/sap_glow/parameters-bundle.css +0 -5
- package/src/types/BadgeDesign.ts +17 -0
- package/src/types/IconPlacement.ts +6 -0
- package/src/types/List.ts +9 -0
- package/src/utils/isLetterKeyPressed.ts +5 -0
- package/src/utils/listItemLabelStartsWithKeyFocus.ts +74 -0
- package/src/utils/listItemLabelUtils.ts +50 -0
- package/dist/assets/messagebundle_de-8158912e.js +0 -1
- package/dist/assets/messagebundle_en-c677773a.js +0 -1
- package/dist/assets/messagebundle_es-8dab6565.js +0 -1
- package/dist/assets/messagebundle_fr-669aca6d.js +0 -1
|
@@ -7,15 +7,16 @@ function block3(context, tags, suffix) { return html `<div class="udex-masthead-
|
|
|
7
7
|
function block4(context, tags, suffix) { return html `${this.siteLabelUrl ? block5.call(this, context, tags, suffix) : block6.call(this, context, tags, suffix)}`; }
|
|
8
8
|
function block5(context, tags, suffix) { return html `<a @click="${this.handleSiteLabelClick}" role="link" href="${ifDefined(this.siteLabelUrl)}" target="_self" aria-label="${ifDefined(this.siteLabelAriaLabel)}" class="udex-masthead-shell__site-label udex-masthead-shell__site-label--link">${ifDefined(this.siteLabel)}</a>`; }
|
|
9
9
|
function block6(context, tags, suffix) { return html `<div class="udex-masthead-shell__site-label">${ifDefined(this.siteLabel)}</div>`; }
|
|
10
|
-
function block7(context, tags, suffix) { return html `<
|
|
11
|
-
function block8(context, tags, suffix, item, index) { return html `<
|
|
10
|
+
function block7(context, tags, suffix) { return html `<nav aria-label="${ifDefined(this.mainNavigationAriaLabel)}"><ul class="udex-masthead-shell__main-menu" aria-label="${ifDefined(this.mainNavigationAriaLabel)}">${repeat(this.menuItems, (item, index) => item._id || index, (item, index) => block8.call(this, context, tags, suffix, item, index))}</ul></nav>`; }
|
|
11
|
+
function block8(context, tags, suffix, item, index) { return html `<li class="udex-masthead-shell__item" @ui5-item-click="${ifDefined(this.setSelectedItem)}"><slot name="${ifDefined(item._individualSlot)}"></slot></li>`; }
|
|
12
12
|
function block9(context, tags, suffix) { return html `<div class="udex-masthead-shell__search-container"><slot name="search"></slot></div>${this._isSearchOpened ? block10.call(this, context, tags, suffix) : undefined}`; }
|
|
13
|
-
function block10(context, tags, suffix) { return suffix ? html `<div class="udex-masthead-shell__btn-holder"><${scopeTag("udex-control-button", tags, suffix)} class="udex-masthead-shell__close-search-btn" size="Small" icon="decline" accessible-name="${ifDefined(this.closeButtonAccessibleName)}" @click=${this.hideSearch}></${scopeTag("udex-control-button", tags, suffix)}></div>` : html `<div class="udex-masthead-shell__btn-holder"><udex-control-button class="udex-masthead-shell__close-search-btn" size="Small" icon="decline" accessible-name="${ifDefined(this.closeButtonAccessibleName)}" @click=${this.hideSearch}></udex-control-button></div>`; }
|
|
14
|
-
function block11(context, tags, suffix) { return html `<div class="udex-masthead-shell__right-menu">${this.
|
|
15
|
-
function block12(context, tags, suffix) { return html
|
|
16
|
-
function block13(context, tags, suffix) { return
|
|
17
|
-
function block14(context, tags, suffix) { return html `<div class="udex-masthead-
|
|
18
|
-
function block15(context, tags, suffix) { return html `<div class="udex-masthead-
|
|
19
|
-
function block16(context, tags, suffix) { return
|
|
13
|
+
function block10(context, tags, suffix) { return suffix ? html `<div class="udex-masthead-shell__btn-holder"><${scopeTag("udex-control-button", tags, suffix)} class="udex-masthead-shell__close-search-btn" size="Small" icon="decline" tooltip="${ifDefined(this.closeButtonAccessibleName)}" accessible-name="${ifDefined(this.closeButtonAccessibleName)}" @click=${this.hideSearch}></${scopeTag("udex-control-button", tags, suffix)}></div>` : html `<div class="udex-masthead-shell__btn-holder"><udex-control-button class="udex-masthead-shell__close-search-btn" size="Small" icon="decline" tooltip="${ifDefined(this.closeButtonAccessibleName)}" accessible-name="${ifDefined(this.closeButtonAccessibleName)}" @click=${this.hideSearch}></udex-control-button></div>`; }
|
|
14
|
+
function block11(context, tags, suffix) { return html `<div class="udex-masthead-shell__right-menu">${this.hasMobileMenuButtons ? block12.call(this, context, tags, suffix) : undefined}${this.hasExploreSAP ? block13.call(this, context, tags, suffix) : undefined}${this.hasSearch ? block14.call(this, context, tags, suffix) : undefined}${this.hasCart ? block15.call(this, context, tags, suffix) : undefined}${this.hasProfile ? block16.call(this, context, tags, suffix) : undefined}${this.hasMobileMenuButtons ? block17.call(this, context, tags, suffix) : undefined}</div>`; }
|
|
15
|
+
function block12(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-masthead-item", tags, suffix)} @ui5-item-click="${ifDefined(this.handleMobileMenuClick)}" class="udex-masthead-shell__menu-btn" accessible-role="button" icon="menu2" part="menu-open-btn" accessible-name="menu"><slot slot="dropdown" name="mobileMenu"></slot></${scopeTag("udex-masthead-item", tags, suffix)}>` : html `<udex-masthead-item @ui5-item-click="${ifDefined(this.handleMobileMenuClick)}" class="udex-masthead-shell__menu-btn" accessible-role="button" icon="menu2" part="menu-open-btn" accessible-name="menu"><slot slot="dropdown" name="mobileMenu"></slot></udex-masthead-item>`; }
|
|
16
|
+
function block13(context, tags, suffix) { return html `<div class="udex-masthead-shell__explore" @ui5-item-click="${ifDefined(this.setSelectedItem)}"><slot name="exploreSAP"></slot></div>`; }
|
|
17
|
+
function block14(context, tags, suffix) { return suffix ? html `<div class="udex-masthead-shell__search-icon"><${scopeTag("udex-masthead-item", tags, suffix)} class="udex-masthead-shell__search-btn" icon="search" @click="${this.handleSearchClick}" accessible-name="search"></${scopeTag("udex-masthead-item", tags, suffix)}></div>` : html `<div class="udex-masthead-shell__search-icon"><udex-masthead-item class="udex-masthead-shell__search-btn" icon="search" @click="${this.handleSearchClick}" accessible-name="search"></udex-masthead-item></div>`; }
|
|
18
|
+
function block15(context, tags, suffix) { return html `<div class="udex-masthead-shell__cart" @ui5-item-click="${ifDefined(this.setSelectedItem)}" @click="${this.handleCartClick}"><slot name="cart"></slot></div>`; }
|
|
19
|
+
function block16(context, tags, suffix) { return html `<div class="udex-masthead-shell__profile" @ui5-item-click="${ifDefined(this.setSelectedItem)}" @click="${this.handleProfileClick}"><slot name="profile"></slot></div>`; }
|
|
20
|
+
function block17(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-masthead-item", tags, suffix)} @keydown="${this.handleEnterAndSpaceOnCloseBtn}" @ui5-item-click="${ifDefined(this.handleMobileCloseClick)}" class="udex-masthead-shell__close-btn" accessible-role="button" icon="decline" accessible-name="close" part="menu-close-btn" hide-active-border></${scopeTag("udex-masthead-item", tags, suffix)}>` : html `<udex-masthead-item @keydown="${this.handleEnterAndSpaceOnCloseBtn}" @ui5-item-click="${ifDefined(this.handleMobileCloseClick)}" class="udex-masthead-shell__close-btn" accessible-role="button" icon="decline" accessible-name="close" part="menu-close-btn" hide-active-border></udex-masthead-item>`; }
|
|
20
21
|
export default block0;
|
|
21
22
|
//# sourceMappingURL=MastheadShellTemplate.lit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MastheadShellTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/MastheadShellTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAuB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,8CAA8C,IAAI,CAAC,aAAa,oDAAqD,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,IAA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AO,CAAuB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,oBAAoB,EAAE,IAAI,EAAE,MAAM,CAAC,qBAAqB,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,8KAA8K,QAAQ,CAAC,oBAAoB,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,QAAQ,CAAC,oBAAoB,EAAE,IAAI,EAAE,MAAM,CAAC,cAAc,IAAI,CAAC,6BAA6B,sBAAsB,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,uJAAuJ,QAAQ,CAAC,oBAAoB,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,wCAAwC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,+NAA+N,IAAI,CAAC,6BAA6B,sBAAsB,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,yKAAyK,CAAC,CAAA,CAAC;AAGj2C,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type MastheadShell from \"../../MastheadShell.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell\" @keydown=\"${this.handleKeyDown}\"><div class=\"udex-masthead-shell__main-content\">${ this.logoUrl ? block1.call(this, context, tags, suffix) : undefined }${ this.siteLabel ? block4.call(this, context, tags, suffix) : undefined }${ this.isMainMenuVisible ? block7.call(this, context, tags, suffix) : undefined }</div>${ this.isSearchVisible ? block9.call(this, context, tags, suffix) : undefined }${ this.isRightMenuVisible ? block11.call(this, context, tags, suffix) : undefined }</div> `;}\nfunction block1 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.homeUrl ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }`;}\nfunction block2 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a @click=\"${this.handleLogoClick}\" role=\"link\" href=\"${ifDefined(this.homeUrl)}\" title=\"${ifDefined(this.logoTitle)}\" target=\"_self\" aria-label=\"${ifDefined(this.homepageAriaLabel)}\" class=\"udex-masthead-shell__logo udex-masthead-shell__logo--link\"><img src=\"${ifDefined(this.logoUrl)}\" class=\"udex-masthead-shell__logo-image\" alt=\"${ifDefined(this.logoAlt)}\" /></a>`;}\nfunction block3 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__logo\"><img src=\"${ifDefined(this.logoUrl)}\" class=\"udex-masthead-shell__logo-image\" alt=\"${ifDefined(this.logoAlt)}\" /></div>`;}\nfunction block4 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.siteLabelUrl ? block5.call(this, context, tags, suffix) : block6.call(this, context, tags, suffix) }`;}\nfunction block5 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a @click=\"${this.handleSiteLabelClick}\" role=\"link\" href=\"${ifDefined(this.siteLabelUrl)}\" target=\"_self\" aria-label=\"${ifDefined(this.siteLabelAriaLabel)}\" class=\"udex-masthead-shell__site-label udex-masthead-shell__site-label--link\">${ifDefined(this.siteLabel)}</a>`;}\nfunction block6 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__site-label\">${ifDefined(this.siteLabel)}</div>`;}\nfunction block7 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__main-menu\" data-menubar-item-expanded=\"true\" role=\"menubar\">${ repeat(this.menuItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block8.call(this, context, tags, suffix, item, index)) }</div>`;}\nfunction block8 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<div @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\" class=\"udex-masthead-shell__item\" role=\"menuitem\"><slot name=\"${ifDefined(item._individualSlot)}\"></slot></div>`;}\nfunction block9 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__search-container\"><slot name=\"search\"></slot></div>${ this._isSearchOpened ? block10.call(this, context, tags, suffix) : undefined }`;}\nfunction block10 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-masthead-shell__btn-holder\"><${scopeTag(\"udex-control-button\", tags, suffix)} class=\"udex-masthead-shell__close-search-btn\" size=\"Small\" icon=\"decline\" accessible-name=\"${ifDefined(this.closeButtonAccessibleName)}\" @click=${this.hideSearch}></${scopeTag(\"udex-control-button\", tags, suffix)}></div>` : html`<div class=\"udex-masthead-shell__btn-holder\"><udex-control-button class=\"udex-masthead-shell__close-search-btn\" size=\"Small\" icon=\"decline\" accessible-name=\"${ifDefined(this.closeButtonAccessibleName)}\" @click=${this.hideSearch}></udex-control-button></div>`;}\nfunction block11 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__right-menu\">${ this.hasExploreSAP ? block12.call(this, context, tags, suffix) : undefined }${ this.hasSearch ? block13.call(this, context, tags, suffix) : undefined }${ this.hasCart ? block14.call(this, context, tags, suffix) : undefined }${ this.hasProfile ? block15.call(this, context, tags, suffix) : undefined }${ this.hasMobileMenuButtons ? block16.call(this, context, tags, suffix) : undefined }</div>`;}\nfunction block12 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__explore\" @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\"><slot name=\"exploreSAP\"></slot></div>`;}\nfunction block13 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-masthead-shell__search-icon\"><${scopeTag(\"udex-masthead-item\", tags, suffix)} class=\"udex-masthead-shell__search-btn\" icon=\"search\" @click=\"${this.handleSearchClick}\" accessible-name=\"search\"></${scopeTag(\"udex-masthead-item\", tags, suffix)}></div>` : html`<div class=\"udex-masthead-shell__search-icon\"><udex-masthead-item class=\"udex-masthead-shell__search-btn\" icon=\"search\" @click=\"${this.handleSearchClick}\" accessible-name=\"search\"></udex-masthead-item></div>`;}\nfunction block14 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__cart\" @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\" @click=\"${this.handleCartClick}\"><slot name=\"cart\"></slot></div>`;}\nfunction block15 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__profile\" @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\" @click=\"${this.handleProfileClick}\"><slot name=\"profile\"></slot></div>`;}\nfunction block16 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-masthead-item\", tags, suffix)} @ui5-item-click=\"${ifDefined(this.handleMobileMenuClick)}\" class=\"udex-masthead-shell__menu-btn\" accessible-role=\"button\" icon=\"menu2\" part=\"menu-open-btn\" accessible-name=\"menu\"><slot slot=\"dropdown\" name=\"mobileMenu\"></slot></${scopeTag(\"udex-masthead-item\", tags, suffix)}><${scopeTag(\"udex-masthead-item\", tags, suffix)} @keydown=\"${this.handleEnterAndSpaceOnCloseBtn}\" @ui5-item-click=\"${ifDefined(this.handleMobileCloseClick)}\" class=\"udex-masthead-shell__close-btn\" accessible-role=\"button\" icon=\"decline\" accessible-name=\"close\" part=\"menu-close-btn\" hide-active-border></${scopeTag(\"udex-masthead-item\", tags, suffix)}>` : html`<udex-masthead-item @ui5-item-click=\"${ifDefined(this.handleMobileMenuClick)}\" class=\"udex-masthead-shell__menu-btn\" accessible-role=\"button\" icon=\"menu2\" part=\"menu-open-btn\" accessible-name=\"menu\"><slot slot=\"dropdown\" name=\"mobileMenu\"></slot></udex-masthead-item><udex-masthead-item @keydown=\"${this.handleEnterAndSpaceOnCloseBtn}\" @ui5-item-click=\"${ifDefined(this.handleMobileCloseClick)}\" class=\"udex-masthead-shell__close-btn\" accessible-role=\"button\" icon=\"decline\" accessible-name=\"close\" part=\"menu-close-btn\" hide-active-border></udex-masthead-item>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"MastheadShellTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/MastheadShellTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAuB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,8CAA8C,IAAI,CAAC,aAAa,oDAAqD,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,SAAU,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI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,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA,mIAAmI,IAAI,CAAC,iBAAiB,wDAAwD,CAAC,CAAA,CAAC;AACnmB,SAAS,OAAO,CAAuB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,2DAA2D,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,aAAa,IAAI,CAAC,eAAe,mCAAmC,CAAC,CAAA,CAAC;AACrR,SAAS,OAAO,CAAuB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,8DAA8D,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,aAAa,IAAI,CAAC,kBAAkB,sCAAsC,CAAC,CAAA,CAAC;AAC9R,SAAS,OAAO,CAAuB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,oBAAoB,EAAE,IAAI,EAAE,MAAM,CAAC,cAAc,IAAI,CAAC,6BAA6B,sBAAsB,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,uJAAuJ,QAAQ,CAAC,oBAAoB,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,iCAAiC,IAAI,CAAC,6BAA6B,sBAAsB,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,yKAAyK,CAAC,CAAA,CAAC;AAGjxB,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type MastheadShell from \"../../MastheadShell.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell\" @keydown=\"${this.handleKeyDown}\"><div class=\"udex-masthead-shell__main-content\">${ this.logoUrl ? block1.call(this, context, tags, suffix) : undefined }${ this.siteLabel ? block4.call(this, context, tags, suffix) : undefined }${ this.isMainMenuVisible ? block7.call(this, context, tags, suffix) : undefined }</div>${ this.isSearchVisible ? block9.call(this, context, tags, suffix) : undefined }${ this.isRightMenuVisible ? block11.call(this, context, tags, suffix) : undefined }</div> `;}\nfunction block1 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.homeUrl ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) }`;}\nfunction block2 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a @click=\"${this.handleLogoClick}\" role=\"link\" href=\"${ifDefined(this.homeUrl)}\" title=\"${ifDefined(this.logoTitle)}\" target=\"_self\" aria-label=\"${ifDefined(this.homepageAriaLabel)}\" class=\"udex-masthead-shell__logo udex-masthead-shell__logo--link\"><img src=\"${ifDefined(this.logoUrl)}\" class=\"udex-masthead-shell__logo-image\" alt=\"${ifDefined(this.logoAlt)}\" /></a>`;}\nfunction block3 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__logo\"><img src=\"${ifDefined(this.logoUrl)}\" class=\"udex-masthead-shell__logo-image\" alt=\"${ifDefined(this.logoAlt)}\" /></div>`;}\nfunction block4 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.siteLabelUrl ? block5.call(this, context, tags, suffix) : block6.call(this, context, tags, suffix) }`;}\nfunction block5 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<a @click=\"${this.handleSiteLabelClick}\" role=\"link\" href=\"${ifDefined(this.siteLabelUrl)}\" target=\"_self\" aria-label=\"${ifDefined(this.siteLabelAriaLabel)}\" class=\"udex-masthead-shell__site-label udex-masthead-shell__site-label--link\">${ifDefined(this.siteLabel)}</a>`;}\nfunction block6 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__site-label\">${ifDefined(this.siteLabel)}</div>`;}\nfunction block7 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<nav aria-label=\"${ifDefined(this.mainNavigationAriaLabel)}\"><ul class=\"udex-masthead-shell__main-menu\" aria-label=\"${ifDefined(this.mainNavigationAriaLabel)}\">${ repeat(this.menuItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block8.call(this, context, tags, suffix, item, index)) }</ul></nav>`;}\nfunction block8 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<li class=\"udex-masthead-shell__item\" @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\"><slot name=\"${ifDefined(item._individualSlot)}\"></slot></li>`;}\nfunction block9 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__search-container\"><slot name=\"search\"></slot></div>${ this._isSearchOpened ? block10.call(this, context, tags, suffix) : undefined }`;}\nfunction block10 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-masthead-shell__btn-holder\"><${scopeTag(\"udex-control-button\", tags, suffix)} class=\"udex-masthead-shell__close-search-btn\" size=\"Small\" icon=\"decline\" tooltip=\"${ifDefined(this.closeButtonAccessibleName)}\" accessible-name=\"${ifDefined(this.closeButtonAccessibleName)}\" @click=${this.hideSearch}></${scopeTag(\"udex-control-button\", tags, suffix)}></div>` : html`<div class=\"udex-masthead-shell__btn-holder\"><udex-control-button class=\"udex-masthead-shell__close-search-btn\" size=\"Small\" icon=\"decline\" tooltip=\"${ifDefined(this.closeButtonAccessibleName)}\" accessible-name=\"${ifDefined(this.closeButtonAccessibleName)}\" @click=${this.hideSearch}></udex-control-button></div>`;}\nfunction block11 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__right-menu\">${ this.hasMobileMenuButtons ? block12.call(this, context, tags, suffix) : undefined }${ this.hasExploreSAP ? block13.call(this, context, tags, suffix) : undefined }${ this.hasSearch ? block14.call(this, context, tags, suffix) : undefined }${ this.hasCart ? block15.call(this, context, tags, suffix) : undefined }${ this.hasProfile ? block16.call(this, context, tags, suffix) : undefined }${ this.hasMobileMenuButtons ? block17.call(this, context, tags, suffix) : undefined }</div>`;}\nfunction block12 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-masthead-item\", tags, suffix)} @ui5-item-click=\"${ifDefined(this.handleMobileMenuClick)}\" class=\"udex-masthead-shell__menu-btn\" accessible-role=\"button\" icon=\"menu2\" part=\"menu-open-btn\" accessible-name=\"menu\"><slot slot=\"dropdown\" name=\"mobileMenu\"></slot></${scopeTag(\"udex-masthead-item\", tags, suffix)}>` : html`<udex-masthead-item @ui5-item-click=\"${ifDefined(this.handleMobileMenuClick)}\" class=\"udex-masthead-shell__menu-btn\" accessible-role=\"button\" icon=\"menu2\" part=\"menu-open-btn\" accessible-name=\"menu\"><slot slot=\"dropdown\" name=\"mobileMenu\"></slot></udex-masthead-item>`;}\nfunction block13 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__explore\" @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\"><slot name=\"exploreSAP\"></slot></div>`;}\nfunction block14 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-masthead-shell__search-icon\"><${scopeTag(\"udex-masthead-item\", tags, suffix)} class=\"udex-masthead-shell__search-btn\" icon=\"search\" @click=\"${this.handleSearchClick}\" accessible-name=\"search\"></${scopeTag(\"udex-masthead-item\", tags, suffix)}></div>` : html`<div class=\"udex-masthead-shell__search-icon\"><udex-masthead-item class=\"udex-masthead-shell__search-btn\" icon=\"search\" @click=\"${this.handleSearchClick}\" accessible-name=\"search\"></udex-masthead-item></div>`;}\nfunction block15 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__cart\" @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\" @click=\"${this.handleCartClick}\"><slot name=\"cart\"></slot></div>`;}\nfunction block16 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-masthead-shell__profile\" @ui5-item-click=\"${ifDefined(this.setSelectedItem)}\" @click=\"${this.handleProfileClick}\"><slot name=\"profile\"></slot></div>`;}\nfunction block17 (this: MastheadShell, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-masthead-item\", tags, suffix)} @keydown=\"${this.handleEnterAndSpaceOnCloseBtn}\" @ui5-item-click=\"${ifDefined(this.handleMobileCloseClick)}\" class=\"udex-masthead-shell__close-btn\" accessible-role=\"button\" icon=\"decline\" accessible-name=\"close\" part=\"menu-close-btn\" hide-active-border></${scopeTag(\"udex-masthead-item\", tags, suffix)}>` : html`<udex-masthead-item @keydown=\"${this.handleEnterAndSpaceOnCloseBtn}\" @ui5-item-click=\"${ifDefined(this.handleMobileCloseClick)}\" class=\"udex-masthead-shell__close-btn\" accessible-role=\"button\" icon=\"decline\" accessible-name=\"close\" part=\"menu-close-btn\" hide-active-border></udex-masthead-item>`;}\n\n\nexport default block0;"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint no-unused-vars: 0 */
|
|
2
2
|
import { html, repeat, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
3
|
function block0(context, tags, suffix) { return html `${this.pages ? block1.call(this, context, tags, suffix) : undefined} `; }
|
|
4
|
-
function block1(context, tags, suffix) { return suffix ? html `<nav aria-label="pagination" class="${ifDefined(this.paginationClass)}"><ul class="udex-pagination__list">${this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--prev udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.prevButtonDisbled}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}"></${scopeTag("udex-button", tags, suffix)}></li>${this.typeFull ? block3.call(this, context, tags, suffix) : undefined}${this.typeShort ? block5.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--next udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.nextButtonDisbled}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}"></${scopeTag("udex-button", tags, suffix)}></li>${this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined}</ul></nav>` : html `<nav aria-label="pagination" class="${ifDefined(this.paginationClass)}"><ul class="udex-pagination__list">${this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--prev udex-pagination__item"><udex-button ?disabled="${this.prevButtonDisbled}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}"></udex-button></li>${this.typeFull ? block3.call(this, context, tags, suffix) : undefined}${this.typeShort ? block5.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--next udex-pagination__item"><udex-button ?disabled="${this.nextButtonDisbled}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}"></udex-button></li>${this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined}</ul></nav>`; }
|
|
4
|
+
function block1(context, tags, suffix) { return suffix ? html `<nav aria-label="pagination" class="${ifDefined(this.paginationClass)}"><ul class="udex-pagination__list" role="navigation" aria-label="${ifDefined(this.paginationAccessibleName)}">${this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--prev udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.prevButtonDisbled}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}"></${scopeTag("udex-button", tags, suffix)}></li>${this.typeFull ? block3.call(this, context, tags, suffix) : undefined}${this.typeShort ? block5.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--next udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.nextButtonDisbled}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}"></${scopeTag("udex-button", tags, suffix)}></li>${this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined}</ul></nav>` : html `<nav aria-label="pagination" class="${ifDefined(this.paginationClass)}"><ul class="udex-pagination__list" role="navigation" aria-label="${ifDefined(this.paginationAccessibleName)}">${this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--prev udex-pagination__item"><udex-button ?disabled="${this.prevButtonDisbled}" accessible-name="${ifDefined(this.previousPageAccessibleName)}" tooltip="${ifDefined(this.previousBtnTooltip)}" size="Large" icon="navigation-left-arrow" design="Tertiary" @click="${this.setPrevPage}"></udex-button></li>${this.typeFull ? block3.call(this, context, tags, suffix) : undefined}${this.typeShort ? block5.call(this, context, tags, suffix) : undefined}<li class="udex-pagination__item--next udex-pagination__item"><udex-button ?disabled="${this.nextButtonDisbled}" tooltip="${ifDefined(this.nextBtnTooltip)}" accessible-name="${ifDefined(this.nextPageAccessibleName)}" size="Large" icon="navigation-right-arrow" design="Tertiary" @click="${this.setNextPage}"></udex-button></li>${this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined}</ul></nav>`; }
|
|
5
5
|
function block2(context, tags, suffix) { return suffix ? html `<li class="udex-pagination__item--first udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.prevButtonDisbled}" accessible-name="${ifDefined(this.firstPageAccessibleName)}" size="Large" icon="close-command-field" design="Tertiary" @click="${this.setFirstPage}"></${scopeTag("udex-button", tags, suffix)}></li>` : html `<li class="udex-pagination__item--first udex-pagination__item"><udex-button ?disabled="${this.prevButtonDisbled}" accessible-name="${ifDefined(this.firstPageAccessibleName)}" size="Large" icon="close-command-field" design="Tertiary" @click="${this.setFirstPage}"></udex-button></li>`; }
|
|
6
6
|
function block3(context, tags, suffix) { return html `${repeat(this.pagination, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}`; }
|
|
7
|
-
function block4(context, tags, suffix, item, index) { return html `<li class="udex-pagination__item"><a class="udex-pagination__page" href="#" aria-label="${ifDefined(item.accessibleName)}" @click="${this.onPageClick}" ?active="${item.active}" index="${ifDefined(item.index)}"><span class="udex-pagination__page--value">${ifDefined(item.value)}</span></a></li>`; }
|
|
8
|
-
function block5(context, tags, suffix) { return html `<li class="udex-pagination__item udex-pagination__item--short" tabindex="
|
|
7
|
+
function block4(context, tags, suffix, item, index) { return html `<li class="udex-pagination__item"><a class="udex-pagination__page" href="#" aria-label="${ifDefined(item.accessibleName)}" @click="${this.onPageClick}" ?active="${item.active}" aria-current="${ifDefined(item.ariaCurrent)}" index="${ifDefined(item.index)}"><span class="udex-pagination__page--value">${ifDefined(item.value)}</span></a></li>`; }
|
|
8
|
+
function block5(context, tags, suffix) { return html `<li class="udex-pagination__item udex-pagination__item--short" tabindex="-1" aria-label="${ifDefined(this.paginationShortAccessibleName)}"><span class="udex-pagination__item--short-value">${ifDefined(this.shortTextStart)}</span><span class="udex-pagination__item--short-separator">${ifDefined(this.shortTextSeparator)}</span><span class="udex-pagination__item--short-value">${ifDefined(this.shortTextEnd)}</span></li>`; }
|
|
9
9
|
function block6(context, tags, suffix) { return suffix ? html `<li class="udex-pagination__item--last udex-pagination__item"><${scopeTag("udex-button", tags, suffix)} ?disabled="${this.nextButtonDisbled}" accessible-name="${ifDefined(this.lastPageAccessibleName)}" size="Large" icon="open-command-field" design="Tertiary" @click="${this.setLastPage}"></${scopeTag("udex-button", tags, suffix)}></li>` : html `<li class="udex-pagination__item--last udex-pagination__item"><udex-button ?disabled="${this.nextButtonDisbled}" accessible-name="${ifDefined(this.lastPageAccessibleName)}" size="Large" icon="open-command-field" design="Tertiary" @click="${this.setLastPage}"></udex-button></li>`; }
|
|
10
10
|
export default block0;
|
|
11
11
|
//# sourceMappingURL=PaginationTemplate.lit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaginationTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/PaginationTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAAoB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAG,CAAC,CAAA,CAAC;AAC5L,SAAS,MAAM,CAAoB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,uCAAuC,SAAS,CAAC,IAAI,CAAC,eAAe,CAAC,uCAAwC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,kEAAkE,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,eAAe,IAAI,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CAAC,sBAAsB,CAAC,sEAAsE,IAAI,CAAC,WAAW,uBAAuB,CAAC,CAAA,CAAC;AAG7uB,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type Pagination from \"../../Pagination.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.pages ? block1.call(this, context, tags, suffix) : undefined } `;}\nfunction block1 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<nav aria-label=\"pagination\" class=\"${ifDefined(this.paginationClass)}\"><ul class=\"udex-pagination__list\">${ this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--prev udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.previousPageAccessibleName)}\" tooltip=\"${ifDefined(this.previousBtnTooltip)}\" size=\"Large\" icon=\"navigation-left-arrow\" design=\"Tertiary\" @click=\"${this.setPrevPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>${ this.typeFull ? block3.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block5.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--next udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.nextButtonDisbled}\" tooltip=\"${ifDefined(this.nextBtnTooltip)}\" accessible-name=\"${ifDefined(this.nextPageAccessibleName)}\" size=\"Large\" icon=\"navigation-right-arrow\" design=\"Tertiary\" @click=\"${this.setNextPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>${ this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined }</ul></nav>` : html`<nav aria-label=\"pagination\" class=\"${ifDefined(this.paginationClass)}\"><ul class=\"udex-pagination__list\">${ this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--prev udex-pagination__item\"><udex-button ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.previousPageAccessibleName)}\" tooltip=\"${ifDefined(this.previousBtnTooltip)}\" size=\"Large\" icon=\"navigation-left-arrow\" design=\"Tertiary\" @click=\"${this.setPrevPage}\"></udex-button></li>${ this.typeFull ? block3.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block5.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--next udex-pagination__item\"><udex-button ?disabled=\"${this.nextButtonDisbled}\" tooltip=\"${ifDefined(this.nextBtnTooltip)}\" accessible-name=\"${ifDefined(this.nextPageAccessibleName)}\" size=\"Large\" icon=\"navigation-right-arrow\" design=\"Tertiary\" @click=\"${this.setNextPage}\"></udex-button></li>${ this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined }</ul></nav>`;}\nfunction block2 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li class=\"udex-pagination__item--first udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.firstPageAccessibleName)}\" size=\"Large\" icon=\"close-command-field\" design=\"Tertiary\" @click=\"${this.setFirstPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>` : html`<li class=\"udex-pagination__item--first udex-pagination__item\"><udex-button ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.firstPageAccessibleName)}\" size=\"Large\" icon=\"close-command-field\" design=\"Tertiary\" @click=\"${this.setFirstPage}\"></udex-button></li>`;}\nfunction block3 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ repeat(this.pagination, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }`;}\nfunction block4 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<li class=\"udex-pagination__item\"><a class=\"udex-pagination__page\" href=\"#\" aria-label=\"${ifDefined(item.accessibleName)}\" @click=\"${this.onPageClick}\" ?active=\"${item.active}\" index=\"${ifDefined(item.index)}\"><span class=\"udex-pagination__page--value\">${ifDefined(item.value)}</span></a></li>`;}\nfunction block5 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<li class=\"udex-pagination__item udex-pagination__item--short\" tabindex=\"0\" aria-label=\"${ifDefined(this.paginationShortAccessibleName)}\"><span class=\"udex-pagination__item--short-value\">${ifDefined(this.shortTextStart)}</span><span class=\"udex-pagination__item--short-separator\">${ifDefined(this.shortTextSeparator)}</span><span class=\"udex-pagination__item--short-value\">${ifDefined(this.shortTextEnd)}</span></li>`;}\nfunction block6 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li class=\"udex-pagination__item--last udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.nextButtonDisbled}\" accessible-name=\"${ifDefined(this.lastPageAccessibleName)}\" size=\"Large\" icon=\"open-command-field\" design=\"Tertiary\" @click=\"${this.setLastPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>` : html`<li class=\"udex-pagination__item--last udex-pagination__item\"><udex-button ?disabled=\"${this.nextButtonDisbled}\" accessible-name=\"${ifDefined(this.lastPageAccessibleName)}\" size=\"Large\" icon=\"open-command-field\" design=\"Tertiary\" @click=\"${this.setLastPage}\"></udex-button></li>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"PaginationTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/PaginationTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;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AC,KAAK,CAAC,kBAAkB,CAAC,CAAA,CAAC;AACle,SAAS,MAAM,CAAoB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,4FAA4F,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,sDAAsD,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,+DAA+D,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,2DAA2D,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,cAAc,CAAC,CAAA,CAAC;AACthB,SAAS,MAAM,CAAoB,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,kEAAkE,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,eAAe,IAAI,CAAC,iBAAiB,sBAAsB,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,sEAAsE,IAAI,CAAC,WAAW,OAAO,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAA,yFAAyF,IAAI,CAAC,iBAAiB,sBAAsB,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,sEAAsE,IAAI,CAAC,WAAW,uBAAuB,CAAC,CAAA,CAAC;AAG7uB,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type Pagination from \"../../Pagination.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.pages ? block1.call(this, context, tags, suffix) : undefined } `;}\nfunction block1 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<nav aria-label=\"pagination\" class=\"${ifDefined(this.paginationClass)}\"><ul class=\"udex-pagination__list\" role=\"navigation\" aria-label=\"${ifDefined(this.paginationAccessibleName)}\">${ this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--prev udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.previousPageAccessibleName)}\" tooltip=\"${ifDefined(this.previousBtnTooltip)}\" size=\"Large\" icon=\"navigation-left-arrow\" design=\"Tertiary\" @click=\"${this.setPrevPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>${ this.typeFull ? block3.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block5.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--next udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.nextButtonDisbled}\" tooltip=\"${ifDefined(this.nextBtnTooltip)}\" accessible-name=\"${ifDefined(this.nextPageAccessibleName)}\" size=\"Large\" icon=\"navigation-right-arrow\" design=\"Tertiary\" @click=\"${this.setNextPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>${ this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined }</ul></nav>` : html`<nav aria-label=\"pagination\" class=\"${ifDefined(this.paginationClass)}\"><ul class=\"udex-pagination__list\" role=\"navigation\" aria-label=\"${ifDefined(this.paginationAccessibleName)}\">${ this.absoluteNavigation ? block2.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--prev udex-pagination__item\"><udex-button ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.previousPageAccessibleName)}\" tooltip=\"${ifDefined(this.previousBtnTooltip)}\" size=\"Large\" icon=\"navigation-left-arrow\" design=\"Tertiary\" @click=\"${this.setPrevPage}\"></udex-button></li>${ this.typeFull ? block3.call(this, context, tags, suffix) : undefined }${ this.typeShort ? block5.call(this, context, tags, suffix) : undefined }<li class=\"udex-pagination__item--next udex-pagination__item\"><udex-button ?disabled=\"${this.nextButtonDisbled}\" tooltip=\"${ifDefined(this.nextBtnTooltip)}\" accessible-name=\"${ifDefined(this.nextPageAccessibleName)}\" size=\"Large\" icon=\"navigation-right-arrow\" design=\"Tertiary\" @click=\"${this.setNextPage}\"></udex-button></li>${ this.absoluteNavigation ? block6.call(this, context, tags, suffix) : undefined }</ul></nav>`;}\nfunction block2 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li class=\"udex-pagination__item--first udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.firstPageAccessibleName)}\" size=\"Large\" icon=\"close-command-field\" design=\"Tertiary\" @click=\"${this.setFirstPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>` : html`<li class=\"udex-pagination__item--first udex-pagination__item\"><udex-button ?disabled=\"${this.prevButtonDisbled}\" accessible-name=\"${ifDefined(this.firstPageAccessibleName)}\" size=\"Large\" icon=\"close-command-field\" design=\"Tertiary\" @click=\"${this.setFirstPage}\"></udex-button></li>`;}\nfunction block3 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ repeat(this.pagination, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }`;}\nfunction block4 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`<li class=\"udex-pagination__item\"><a class=\"udex-pagination__page\" href=\"#\" aria-label=\"${ifDefined(item.accessibleName)}\" @click=\"${this.onPageClick}\" ?active=\"${item.active}\" aria-current=\"${ifDefined(item.ariaCurrent)}\" index=\"${ifDefined(item.index)}\"><span class=\"udex-pagination__page--value\">${ifDefined(item.value)}</span></a></li>`;}\nfunction block5 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<li class=\"udex-pagination__item udex-pagination__item--short\" tabindex=\"-1\" aria-label=\"${ifDefined(this.paginationShortAccessibleName)}\"><span class=\"udex-pagination__item--short-value\">${ifDefined(this.shortTextStart)}</span><span class=\"udex-pagination__item--short-separator\">${ifDefined(this.shortTextSeparator)}</span><span class=\"udex-pagination__item--short-value\">${ifDefined(this.shortTextEnd)}</span></li>`;}\nfunction block6 (this: Pagination, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<li class=\"udex-pagination__item--last udex-pagination__item\"><${scopeTag(\"udex-button\", tags, suffix)} ?disabled=\"${this.nextButtonDisbled}\" accessible-name=\"${ifDefined(this.lastPageAccessibleName)}\" size=\"Large\" icon=\"open-command-field\" design=\"Tertiary\" @click=\"${this.setLastPage}\"></${scopeTag(\"udex-button\", tags, suffix)}></li>` : html`<li class=\"udex-pagination__item--last udex-pagination__item\"><udex-button ?disabled=\"${this.nextButtonDisbled}\" accessible-name=\"${ifDefined(this.lastPageAccessibleName)}\" size=\"Large\" icon=\"open-command-field\" design=\"Tertiary\" @click=\"${this.setLastPage}\"></udex-button></li>`;}\n\n\nexport default block0;"]}
|
|
@@ -5,7 +5,7 @@ function block1(context, tags, suffix) { return html `<label id="udex-phone-numb
|
|
|
5
5
|
function block2(context, tags, suffix) { return html ` * `; }
|
|
6
6
|
function block3(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} id="${ifDefined(item.iso)}" ?selected="${item.selected}"><div class="udex-phone-number-field__dropdown-list-item"><div class="udex-phone-number-field__flag" style="background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}"></div><span class="udex-phone-number-field__country-name">${ifDefined(item.countryName)}${item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined}${ifDefined(item.phonePrefix)}</span></div></${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item id="${ifDefined(item.iso)}" ?selected="${item.selected}"><div class="udex-phone-number-field__dropdown-list-item"><div class="udex-phone-number-field__flag" style="background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}"></div><span class="udex-phone-number-field__country-name">${ifDefined(item.countryName)}${item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined}${ifDefined(item.phonePrefix)}</span></div></udex-list-item>`; }
|
|
7
7
|
function block4(context, tags, suffix, item, index) { return html ` (${ifDefined(item.localName)}) `; }
|
|
8
|
-
function block5(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-button", tags, suffix)} class="udex-phone-number-field__open-button" size="Large" icon="${ifDefined(this.buttonIcon)}" design="Tertiary" icon-end ?disabled="${this.isButtonDisabled}" aria-haspopup="true" accessible-name-ref="${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}" aria-label="${ifDefined(this.countrySelectorAriaLabel)}" aria-expanded="${ifDefined(this._dropdownExpanded)}" aria-controls="${ifDefined(this._id)}_dropdown-menu" role="combobox" @click="${this.onClick}"><div class="udex-phone-number-field__open-button-text">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class="udex-phone-number-field__button-content"><
|
|
8
|
+
function block5(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-button", tags, suffix)} class="udex-phone-number-field__open-button" size="Large" icon="${ifDefined(this.buttonIcon)}" design="Tertiary" icon-end ?disabled="${this.isButtonDisabled}" aria-haspopup="true" accessible-name-ref="${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}" aria-label="${ifDefined(this.countrySelectorAriaLabel)}" aria-expanded="${ifDefined(this._dropdownExpanded)}" aria-controls="${ifDefined(this._id)}_dropdown-menu" role="combobox" @click="${this.onClick}"><div class="udex-phone-number-field__open-button-text">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class="udex-phone-number-field__button-content"><img class="udex-phone-number-field__flag" aria-label=${ifDefined(this.selectedCountryName)} style="${styleMap(this.selectedFlagBackgroundPosition)}"></div></${scopeTag("udex-button", tags, suffix)}>` : html `<udex-button class="udex-phone-number-field__open-button" size="Large" icon="${ifDefined(this.buttonIcon)}" design="Tertiary" icon-end ?disabled="${this.isButtonDisabled}" aria-haspopup="true" accessible-name-ref="${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}" aria-label="${ifDefined(this.countrySelectorAriaLabel)}" aria-expanded="${ifDefined(this._dropdownExpanded)}" aria-controls="${ifDefined(this._id)}_dropdown-menu" role="combobox" @click="${this.onClick}"><div class="udex-phone-number-field__open-button-text">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class="udex-phone-number-field__button-content"><img class="udex-phone-number-field__flag" aria-label=${ifDefined(this.selectedCountryName)} style="${styleMap(this.selectedFlagBackgroundPosition)}"></div></udex-button>`; }
|
|
9
9
|
function block6(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-status-message", tags, suffix)} ?disabled="${this.disabled}" supporting-text="${ifDefined(this.supportingText)}" value-state="${ifDefined(this.fieldState)}"></${scopeTag("udex-status-message", tags, suffix)}>` : html `<udex-status-message ?disabled="${this.disabled}" supporting-text="${ifDefined(this.supportingText)}" value-state="${ifDefined(this.fieldState)}"></udex-status-message>`; }
|
|
10
10
|
function block7(context, tags, suffix) { return html `<span id="${ifDefined(this._id)}-supportingTextDesc" class="hidden-text">${ifDefined(this.supportingText)}</span>`; }
|
|
11
11
|
function block8(context, tags, suffix) { return html `<span id="${ifDefined(this._id)}-valueStateDesc" class="hidden-text">${ifDefined(this.valueStateText)}</span>`; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneNumberFieldTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/PhoneNumberFieldTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAY,QAAQ,EAAE,SAAS,EAAc,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA0B,OAAmB,EAAE,IAAc,EAAE,MAA0B,I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,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,2CAA2C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAA,CAAC;AAG9O,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type PhoneNumberField from \"../../PhoneNumberField.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-phone-number-field\" @ui5-selection-change=\"${ifDefined(this.handleSelect)}\" @ui5-before-open=\"${ifDefined(this.handleDropdownOpen)}\" @ui5-before-close=\"${ifDefined(this.handleDropdownClose)}\">${ this.label ? block1.call(this, context, tags, suffix) : undefined }<${scopeTag(\"udex-dropdown\", tags, suffix)} class=\"udex-phone-number-field__dropdown\" id=\"${ifDefined(this._id)}_dropdown-menu\" horizontal-align=\"Left\" height=\"${ifDefined(this.height)}\"><${scopeTag(\"udex-list\", tags, suffix)}>${ repeat(this.countriesList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list\", tags, suffix)}></${scopeTag(\"udex-dropdown\", tags, suffix)}><div class=\"udex-phone-number-field__input-wrapper\">${ !this.displayonly ? block5.call(this, context, tags, suffix) : undefined }<input class=\"udex-phone-number-field__input\" id=\"${ifDefined(this._id)}-phone\" type=\"tel\" .value=\"${ifDefined(this.value)}\" placeholder=\"${ifDefined(this.phoneFormat)}\" maxlength=\"${ifDefined(this.maxlength)}\" ?disabled=\"${this.disabled}\" ?readonly=\"${this.isInputReadonly}\" ?required=\"${this.required}\" autocomplete=\"tel\" aria-label=\"${ifDefined(this.accessibleName)}\" aria-labelledby=\"${ifDefined(this.accessibleName)}\" aria-required=\"${ifDefined(this.required)}\" aria-readonly=\"${ifDefined(this.isInputReadonly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-invalid=\"${ifDefined(this.ariaInvalid)}\" aria-describedby=\"${ifDefined(this.ariaDescribedById)}\" @input=\"${this.handleInput}\" @change=\"${this.handleChange}\" @click=\"${this.handleClick}\" @focus=\"${this.handleFocus}\" @blur=\"${this.handleBlur}\" @keydown=${this.handleKeyDown} @keyup=${this.handleKeyUp}></div></div>${ this.supportingText ? block6.call(this, context, tags, suffix) : undefined }${ this.supportingText ? block7.call(this, context, tags, suffix) : undefined }${ this.hasValueState ? block8.call(this, context, tags, suffix) : undefined }${ this.readonly ? block9.call(this, context, tags, suffix) : undefined }<span id=\"${ifDefined(this._id)}-countrySelectorAriaLabel\" class=\"hidden-text\">${ifDefined(this.countrySelectorAriaLabel)}</span>` : html`<div class=\"udex-phone-number-field\" @ui5-selection-change=\"${ifDefined(this.handleSelect)}\" @ui5-before-open=\"${ifDefined(this.handleDropdownOpen)}\" @ui5-before-close=\"${ifDefined(this.handleDropdownClose)}\">${ this.label ? block1.call(this, context, tags, suffix) : undefined }<udex-dropdown class=\"udex-phone-number-field__dropdown\" id=\"${ifDefined(this._id)}_dropdown-menu\" horizontal-align=\"Left\" height=\"${ifDefined(this.height)}\"><udex-list>${ repeat(this.countriesList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</udex-list></udex-dropdown><div class=\"udex-phone-number-field__input-wrapper\">${ !this.displayonly ? block5.call(this, context, tags, suffix) : undefined }<input class=\"udex-phone-number-field__input\" id=\"${ifDefined(this._id)}-phone\" type=\"tel\" .value=\"${ifDefined(this.value)}\" placeholder=\"${ifDefined(this.phoneFormat)}\" maxlength=\"${ifDefined(this.maxlength)}\" ?disabled=\"${this.disabled}\" ?readonly=\"${this.isInputReadonly}\" ?required=\"${this.required}\" autocomplete=\"tel\" aria-label=\"${ifDefined(this.accessibleName)}\" aria-labelledby=\"${ifDefined(this.accessibleName)}\" aria-required=\"${ifDefined(this.required)}\" aria-readonly=\"${ifDefined(this.isInputReadonly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-invalid=\"${ifDefined(this.ariaInvalid)}\" aria-describedby=\"${ifDefined(this.ariaDescribedById)}\" @input=\"${this.handleInput}\" @change=\"${this.handleChange}\" @click=\"${this.handleClick}\" @focus=\"${this.handleFocus}\" @blur=\"${this.handleBlur}\" @keydown=${this.handleKeyDown} @keyup=${this.handleKeyUp}></div></div>${ this.supportingText ? block6.call(this, context, tags, suffix) : undefined }${ this.supportingText ? block7.call(this, context, tags, suffix) : undefined }${ this.hasValueState ? block8.call(this, context, tags, suffix) : undefined }${ this.readonly ? block9.call(this, context, tags, suffix) : undefined }<span id=\"${ifDefined(this._id)}-countrySelectorAriaLabel\" class=\"hidden-text\">${ifDefined(this.countrySelectorAriaLabel)}</span>`;}\nfunction block1 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<label id=\"udex-phone-number-field__label\" class=\"udex-phone-number-field__label\" for=\"${ifDefined(this._id)}-phone\">${ifDefined(this.label)}${ this.required ? block2.call(this, context, tags, suffix) : undefined }</label>`;}\nfunction block2 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html` * `;}\nfunction block3 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} id=\"${ifDefined(item.iso)}\" ?selected=\"${item.selected}\"><div class=\"udex-phone-number-field__dropdown-list-item\"><div class=\"udex-phone-number-field__flag\" style=\"background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}\"></div><span class=\"udex-phone-number-field__country-name\">${ifDefined(item.countryName)}${ item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined }${ifDefined(item.phonePrefix)}</span></div></${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item id=\"${ifDefined(item.iso)}\" ?selected=\"${item.selected}\"><div class=\"udex-phone-number-field__dropdown-list-item\"><div class=\"udex-phone-number-field__flag\" style=\"background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}\"></div><span class=\"udex-phone-number-field__country-name\">${ifDefined(item.countryName)}${ item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined }${ifDefined(item.phonePrefix)}</span></div></udex-list-item>`;}\nfunction block4 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html` (${ifDefined(item.localName)}) `;}\nfunction block5 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-button\", tags, suffix)} class=\"udex-phone-number-field__open-button\" size=\"Large\" icon=\"${ifDefined(this.buttonIcon)}\" design=\"Tertiary\" icon-end ?disabled=\"${this.isButtonDisabled}\" aria-haspopup=\"true\" accessible-name-ref=\"${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}\" aria-label=\"${ifDefined(this.countrySelectorAriaLabel)}\" aria-expanded=\"${ifDefined(this._dropdownExpanded)}\" aria-controls=\"${ifDefined(this._id)}_dropdown-menu\" role=\"combobox\" @click=\"${this.onClick}\"><div class=\"udex-phone-number-field__open-button-text\">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class=\"udex-phone-number-field__button-content\"><div class=\"udex-phone-number-field__flag\" style=\"${styleMap(this.selectedFlagBackgroundPosition)}\"></div></div></${scopeTag(\"udex-button\", tags, suffix)}>` : html`<udex-button class=\"udex-phone-number-field__open-button\" size=\"Large\" icon=\"${ifDefined(this.buttonIcon)}\" design=\"Tertiary\" icon-end ?disabled=\"${this.isButtonDisabled}\" aria-haspopup=\"true\" accessible-name-ref=\"${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}\" aria-label=\"${ifDefined(this.countrySelectorAriaLabel)}\" aria-expanded=\"${ifDefined(this._dropdownExpanded)}\" aria-controls=\"${ifDefined(this._id)}_dropdown-menu\" role=\"combobox\" @click=\"${this.onClick}\"><div class=\"udex-phone-number-field__open-button-text\">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class=\"udex-phone-number-field__button-content\"><div class=\"udex-phone-number-field__flag\" style=\"${styleMap(this.selectedFlagBackgroundPosition)}\"></div></div></udex-button>`;}\nfunction block6 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-status-message\", tags, suffix)} ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.fieldState)}\"></${scopeTag(\"udex-status-message\", tags, suffix)}>` : html`<udex-status-message ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.fieldState)}\"></udex-status-message>`;}\nfunction block7 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"${ifDefined(this._id)}-supportingTextDesc\" class=\"hidden-text\">${ifDefined(this.supportingText)}</span>`;}\nfunction block8 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"${ifDefined(this._id)}-valueStateDesc\" class=\"hidden-text\">${ifDefined(this.valueStateText)}</span>`;}\nfunction block9 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"${ifDefined(this._id)}-stateReadOnlyDesc\" class=\"hidden-text\">${ifDefined(this.readOnlyStateText)}</span>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"PhoneNumberFieldTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/PhoneNumberFieldTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAY,QAAQ,EAAE,SAAS,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CAAC,IAAI,CAAC,GAAG,CAAC,wCAAwC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,CAAA,CAAC;AACxO,SAAS,MAAM,CAA0B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,aAAa,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,2CAA2C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAA,CAAC;AAG9O,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type PhoneNumberField from \"../../PhoneNumberField.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<div class=\"udex-phone-number-field\" @ui5-selection-change=\"${ifDefined(this.handleSelect)}\" @ui5-before-open=\"${ifDefined(this.handleDropdownOpen)}\" @ui5-before-close=\"${ifDefined(this.handleDropdownClose)}\">${ this.label ? block1.call(this, context, tags, suffix) : undefined }<${scopeTag(\"udex-dropdown\", tags, suffix)} class=\"udex-phone-number-field__dropdown\" id=\"${ifDefined(this._id)}_dropdown-menu\" horizontal-align=\"Left\" height=\"${ifDefined(this.height)}\"><${scopeTag(\"udex-list\", tags, suffix)}>${ repeat(this.countriesList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list\", tags, suffix)}></${scopeTag(\"udex-dropdown\", tags, suffix)}><div class=\"udex-phone-number-field__input-wrapper\">${ !this.displayonly ? block5.call(this, context, tags, suffix) : undefined }<input class=\"udex-phone-number-field__input\" id=\"${ifDefined(this._id)}-phone\" type=\"tel\" .value=\"${ifDefined(this.value)}\" placeholder=\"${ifDefined(this.phoneFormat)}\" maxlength=\"${ifDefined(this.maxlength)}\" ?disabled=\"${this.disabled}\" ?readonly=\"${this.isInputReadonly}\" ?required=\"${this.required}\" autocomplete=\"tel\" aria-label=\"${ifDefined(this.accessibleName)}\" aria-labelledby=\"${ifDefined(this.accessibleName)}\" aria-required=\"${ifDefined(this.required)}\" aria-readonly=\"${ifDefined(this.isInputReadonly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-invalid=\"${ifDefined(this.ariaInvalid)}\" aria-describedby=\"${ifDefined(this.ariaDescribedById)}\" @input=\"${this.handleInput}\" @change=\"${this.handleChange}\" @click=\"${this.handleClick}\" @focus=\"${this.handleFocus}\" @blur=\"${this.handleBlur}\" @keydown=${this.handleKeyDown} @keyup=${this.handleKeyUp}></div></div>${ this.supportingText ? block6.call(this, context, tags, suffix) : undefined }${ this.supportingText ? block7.call(this, context, tags, suffix) : undefined }${ this.hasValueState ? block8.call(this, context, tags, suffix) : undefined }${ this.readonly ? block9.call(this, context, tags, suffix) : undefined }<span id=\"${ifDefined(this._id)}-countrySelectorAriaLabel\" class=\"hidden-text\">${ifDefined(this.countrySelectorAriaLabel)}</span>` : html`<div class=\"udex-phone-number-field\" @ui5-selection-change=\"${ifDefined(this.handleSelect)}\" @ui5-before-open=\"${ifDefined(this.handleDropdownOpen)}\" @ui5-before-close=\"${ifDefined(this.handleDropdownClose)}\">${ this.label ? block1.call(this, context, tags, suffix) : undefined }<udex-dropdown class=\"udex-phone-number-field__dropdown\" id=\"${ifDefined(this._id)}_dropdown-menu\" horizontal-align=\"Left\" height=\"${ifDefined(this.height)}\"><udex-list>${ repeat(this.countriesList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block3.call(this, context, tags, suffix, item, index)) }</udex-list></udex-dropdown><div class=\"udex-phone-number-field__input-wrapper\">${ !this.displayonly ? block5.call(this, context, tags, suffix) : undefined }<input class=\"udex-phone-number-field__input\" id=\"${ifDefined(this._id)}-phone\" type=\"tel\" .value=\"${ifDefined(this.value)}\" placeholder=\"${ifDefined(this.phoneFormat)}\" maxlength=\"${ifDefined(this.maxlength)}\" ?disabled=\"${this.disabled}\" ?readonly=\"${this.isInputReadonly}\" ?required=\"${this.required}\" autocomplete=\"tel\" aria-label=\"${ifDefined(this.accessibleName)}\" aria-labelledby=\"${ifDefined(this.accessibleName)}\" aria-required=\"${ifDefined(this.required)}\" aria-readonly=\"${ifDefined(this.isInputReadonly)}\" aria-disabled=\"${ifDefined(this.disabled)}\" aria-invalid=\"${ifDefined(this.ariaInvalid)}\" aria-describedby=\"${ifDefined(this.ariaDescribedById)}\" @input=\"${this.handleInput}\" @change=\"${this.handleChange}\" @click=\"${this.handleClick}\" @focus=\"${this.handleFocus}\" @blur=\"${this.handleBlur}\" @keydown=${this.handleKeyDown} @keyup=${this.handleKeyUp}></div></div>${ this.supportingText ? block6.call(this, context, tags, suffix) : undefined }${ this.supportingText ? block7.call(this, context, tags, suffix) : undefined }${ this.hasValueState ? block8.call(this, context, tags, suffix) : undefined }${ this.readonly ? block9.call(this, context, tags, suffix) : undefined }<span id=\"${ifDefined(this._id)}-countrySelectorAriaLabel\" class=\"hidden-text\">${ifDefined(this.countrySelectorAriaLabel)}</span>`;}\nfunction block1 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<label id=\"udex-phone-number-field__label\" class=\"udex-phone-number-field__label\" for=\"${ifDefined(this._id)}-phone\">${ifDefined(this.label)}${ this.required ? block2.call(this, context, tags, suffix) : undefined }</label>`;}\nfunction block2 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html` * `;}\nfunction block3 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} id=\"${ifDefined(item.iso)}\" ?selected=\"${item.selected}\"><div class=\"udex-phone-number-field__dropdown-list-item\"><div class=\"udex-phone-number-field__flag\" style=\"background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}\"></div><span class=\"udex-phone-number-field__country-name\">${ifDefined(item.countryName)}${ item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined }${ifDefined(item.phonePrefix)}</span></div></${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item id=\"${ifDefined(item.iso)}\" ?selected=\"${item.selected}\"><div class=\"udex-phone-number-field__dropdown-list-item\"><div class=\"udex-phone-number-field__flag\" style=\"background-position-x: ${ifDefined(item.flagX)}; background-position-y: ${ifDefined(item.flagY)}\"></div><span class=\"udex-phone-number-field__country-name\">${ifDefined(item.countryName)}${ item.localName ? block4.call(this, context, tags, suffix, item, index) : undefined }${ifDefined(item.phonePrefix)}</span></div></udex-list-item>`;}\nfunction block4 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html` (${ifDefined(item.localName)}) `;}\nfunction block5 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-button\", tags, suffix)} class=\"udex-phone-number-field__open-button\" size=\"Large\" icon=\"${ifDefined(this.buttonIcon)}\" design=\"Tertiary\" icon-end ?disabled=\"${this.isButtonDisabled}\" aria-haspopup=\"true\" accessible-name-ref=\"${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}\" aria-label=\"${ifDefined(this.countrySelectorAriaLabel)}\" aria-expanded=\"${ifDefined(this._dropdownExpanded)}\" aria-controls=\"${ifDefined(this._id)}_dropdown-menu\" role=\"combobox\" @click=\"${this.onClick}\"><div class=\"udex-phone-number-field__open-button-text\">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class=\"udex-phone-number-field__button-content\"><img class=\"udex-phone-number-field__flag\" aria-label=${ifDefined(this.selectedCountryName)} style=\"${styleMap(this.selectedFlagBackgroundPosition)}\"></div></${scopeTag(\"udex-button\", tags, suffix)}>` : html`<udex-button class=\"udex-phone-number-field__open-button\" size=\"Large\" icon=\"${ifDefined(this.buttonIcon)}\" design=\"Tertiary\" icon-end ?disabled=\"${this.isButtonDisabled}\" aria-haspopup=\"true\" accessible-name-ref=\"${ifDefined(this._id)}-countrySelectorAriaLabel ${ifDefined(this.ariaDescribedById)}\" aria-label=\"${ifDefined(this.countrySelectorAriaLabel)}\" aria-expanded=\"${ifDefined(this._dropdownExpanded)}\" aria-controls=\"${ifDefined(this._id)}_dropdown-menu\" role=\"combobox\" @click=\"${this.onClick}\"><div class=\"udex-phone-number-field__open-button-text\">${ifDefined(this.selectedCountryName)}${ifDefined(this.selectedPhonePrefix)}</div><div class=\"udex-phone-number-field__button-content\"><img class=\"udex-phone-number-field__flag\" aria-label=${ifDefined(this.selectedCountryName)} style=\"${styleMap(this.selectedFlagBackgroundPosition)}\"></div></udex-button>`;}\nfunction block6 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-status-message\", tags, suffix)} ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.fieldState)}\"></${scopeTag(\"udex-status-message\", tags, suffix)}>` : html`<udex-status-message ?disabled=\"${this.disabled}\" supporting-text=\"${ifDefined(this.supportingText)}\" value-state=\"${ifDefined(this.fieldState)}\"></udex-status-message>`;}\nfunction block7 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"${ifDefined(this._id)}-supportingTextDesc\" class=\"hidden-text\">${ifDefined(this.supportingText)}</span>`;}\nfunction block8 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"${ifDefined(this._id)}-valueStateDesc\" class=\"hidden-text\">${ifDefined(this.valueStateText)}</span>`;}\nfunction block9 (this: PhoneNumberField, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span id=\"${ifDefined(this._id)}-stateReadOnlyDesc\" class=\"hidden-text\">${ifDefined(this.readOnlyStateText)}</span>`;}\n\n\nexport default block0;"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint no-unused-vars: 0 */
|
|
2
2
|
import { html, repeat, styleMap, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
-
function block0(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-popover", tags, suffix)} class="udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Right" style="${styleMap(this.popoverStyles)}" id="${ifDefined(this.getSuggestionsPopoverId)}" aria-orientation="vertical" accessible-role="Dialog" accessible-name="${ifDefined(this.suggestionsAccessibleName)}">${this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix)}</${scopeTag("ui5-popover", tags, suffix)}>` : html `<ui5-popover class="udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Right" style="${styleMap(this.popoverStyles)}" id="${ifDefined(this.getSuggestionsPopoverId)}" aria-orientation="vertical" accessible-role="Dialog" accessible-name="${ifDefined(this.suggestionsAccessibleName)}">${this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix)}</ui5-popover>`; }
|
|
3
|
+
function block0(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-popover", tags, suffix)} class="udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Right" style="${styleMap(this.popoverStyles)}" id="${ifDefined(this.getSuggestionsPopoverId)}" aria-orientation="vertical" accessible-role="Dialog" @keydown="${this.handleKeyPressSuggestionList}" accessible-name="${ifDefined(this.suggestionsAccessibleName)}">${this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix)}</${scopeTag("ui5-popover", tags, suffix)}>` : html `<ui5-popover class="udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Right" style="${styleMap(this.popoverStyles)}" id="${ifDefined(this.getSuggestionsPopoverId)}" aria-orientation="vertical" accessible-role="Dialog" @keydown="${this.handleKeyPressSuggestionList}" accessible-name="${ifDefined(this.suggestionsAccessibleName)}">${this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix)}</ui5-popover>`; }
|
|
4
4
|
function block1(context, tags, suffix) { return html `<span class="udex-search-suggestions__message">${ifDefined(this.noResultMessage)}</span>`; }
|
|
5
5
|
function block2(context, tags, suffix) { return html `<div role="tree">${this.isShowSuggestedList ? block3.call(this, context, tags, suffix) : undefined}${this.isShowRecommendedList ? block6.call(this, context, tags, suffix) : undefined}</div>`; }
|
|
6
6
|
function block3(context, tags, suffix) { return html `<div class="udex-search-suggestions__block" role="treeitem">${this.suggestedHeading ? block4.call(this, context, tags, suffix) : undefined}<div class="udex-search-suggestions__list" role="listbox" aria-labelledby="suggested-heading" tabindex="0" @keydown="${this.handleKeyDownPopover}">${repeat(this.suggestedList, (item, index) => item._id || index, (item, index) => block5.call(this, context, tags, suffix, item, index))}</div></div>`; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchSuggestionsTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchSuggestionsTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAY,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA2B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,yCAAyC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAA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AI,CAAC,KAAK,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,mBAAmB,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wFAAwF,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,yCAAyC,IAAI,CAAC,gBAAgB,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA,CAAC;AAGjtB,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SearchSuggestions from \"../../SearchSuggestions.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-popover\", tags, suffix)} class=\"udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}\" hide-arrow _disable-initial-focus placement-type=\"Bottom\" horizontal-align=\"Right\" style=\"${styleMap(this.popoverStyles)}\" id=\"${ifDefined(this.getSuggestionsPopoverId)}\" aria-orientation=\"vertical\" accessible-role=\"Dialog\" accessible-name=\"${ifDefined(this.suggestionsAccessibleName)}\">${ this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) }</${scopeTag(\"ui5-popover\", tags, suffix)}>` : html`<ui5-popover class=\"udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}\" hide-arrow _disable-initial-focus placement-type=\"Bottom\" horizontal-align=\"Right\" style=\"${styleMap(this.popoverStyles)}\" id=\"${ifDefined(this.getSuggestionsPopoverId)}\" aria-orientation=\"vertical\" accessible-role=\"Dialog\" accessible-name=\"${ifDefined(this.suggestionsAccessibleName)}\">${ this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) }</ui5-popover>`;}\nfunction block1 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-search-suggestions__message\">${ifDefined(this.noResultMessage)}</span>`;}\nfunction block2 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div role=\"tree\">${ this.isShowSuggestedList ? block3.call(this, context, tags, suffix) : undefined }${ this.isShowRecommendedList ? block6.call(this, context, tags, suffix) : undefined }</div>`;}\nfunction block3 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-search-suggestions__block\" role=\"treeitem\">${ this.suggestedHeading ? block4.call(this, context, tags, suffix) : undefined }<div class=\"udex-search-suggestions__list\" role=\"listbox\" aria-labelledby=\"suggested-heading\" tabindex=\"0\" @keydown=\"${this.handleKeyDownPopover}\">${ repeat(this.suggestedList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }</div></div>`;}\nfunction block4 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-search-suggestions__heading\" id=\"suggested-heading\">${ifDefined(this.suggestedHeading)}</span>`;}\nfunction block5 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</ui5-button>`;}\nfunction block6 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-search-suggestions__block\" role=\"treeitem\">${ this.recommendedHeading ? block7.call(this, context, tags, suffix) : undefined }<div class=\"udex-search-suggestions__list\" role=\"listbox\" aria-labelledby=\"recommended-heading\" tabindex=\"0\" @keydown=\"${this.handleKeyDownPopover}\">${ repeat(this.recommendedList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block8.call(this, context, tags, suffix, item, index)) }</div></div>`;}\nfunction block7 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-search-suggestions__heading\" id=\"recommended-heading\">${ifDefined(this.recommendedHeading)}</span>`;}\nfunction block8 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.hasCustomIcon ? block9.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index) }`;}\nfunction block9 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</ui5-button>`;}\nfunction block10 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"${ifDefined(item.id)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"${ifDefined(item.id)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</ui5-button>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"SearchSuggestionsTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchSuggestionsTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAY,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA2B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,yCAAyC,SAAS,CAAC,IAAI,CAAC,sBAAsB,CAAC,+FAA+F,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,oEAAoE,IAAI,CAAC,4BAA4B,sBAAsB,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,KAAM,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAE,KAAK,QAAQ,CAAC,aAAa,EAAE,I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svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SearchSuggestions from \"../../SearchSuggestions.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"ui5-popover\", tags, suffix)} class=\"udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}\" hide-arrow _disable-initial-focus placement-type=\"Bottom\" horizontal-align=\"Right\" style=\"${styleMap(this.popoverStyles)}\" id=\"${ifDefined(this.getSuggestionsPopoverId)}\" aria-orientation=\"vertical\" accessible-role=\"Dialog\" @keydown=\"${this.handleKeyPressSuggestionList}\" accessible-name=\"${ifDefined(this.suggestionsAccessibleName)}\">${ this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) }</${scopeTag(\"ui5-popover\", tags, suffix)}>` : html`<ui5-popover class=\"udex-search-suggestions__root ${ifDefined(this.homeSearchPopoverClass)}\" hide-arrow _disable-initial-focus placement-type=\"Bottom\" horizontal-align=\"Right\" style=\"${styleMap(this.popoverStyles)}\" id=\"${ifDefined(this.getSuggestionsPopoverId)}\" aria-orientation=\"vertical\" accessible-role=\"Dialog\" @keydown=\"${this.handleKeyPressSuggestionList}\" accessible-name=\"${ifDefined(this.suggestionsAccessibleName)}\">${ this.showNoResultMessage ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix) }</ui5-popover>`;}\nfunction block1 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-search-suggestions__message\">${ifDefined(this.noResultMessage)}</span>`;}\nfunction block2 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div role=\"tree\">${ this.isShowSuggestedList ? block3.call(this, context, tags, suffix) : undefined }${ this.isShowRecommendedList ? block6.call(this, context, tags, suffix) : undefined }</div>`;}\nfunction block3 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-search-suggestions__block\" role=\"treeitem\">${ this.suggestedHeading ? block4.call(this, context, tags, suffix) : undefined }<div class=\"udex-search-suggestions__list\" role=\"listbox\" aria-labelledby=\"suggested-heading\" tabindex=\"0\" @keydown=\"${this.handleKeyDownPopover}\">${ repeat(this.suggestedList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block5.call(this, context, tags, suffix, item, index)) }</div></div>`;}\nfunction block4 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-search-suggestions__heading\" id=\"suggested-heading\">${ifDefined(this.suggestedHeading)}</span>`;}\nfunction block5 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</ui5-button>`;}\nfunction block6 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-search-suggestions__block\" role=\"treeitem\">${ this.recommendedHeading ? block7.call(this, context, tags, suffix) : undefined }<div class=\"udex-search-suggestions__list\" role=\"listbox\" aria-labelledby=\"recommended-heading\" tabindex=\"0\" @keydown=\"${this.handleKeyDownPopover}\">${ repeat(this.recommendedList, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block8.call(this, context, tags, suffix, item, index)) }</div></div>`;}\nfunction block7 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<span class=\"udex-search-suggestions__heading\" id=\"recommended-heading\">${ifDefined(this.recommendedHeading)}</span>`;}\nfunction block8 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.hasCustomIcon ? block9.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index) }`;}\nfunction block9 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"${ifDefined(item.id)}\" icon=\"${ifDefined(item.icon)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</ui5-button>`;}\nfunction block10 (this: SearchSuggestions, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"ui5-button\", tags, suffix)} id=\"${ifDefined(item.id)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</${scopeTag(\"ui5-button\", tags, suffix)}>` : html`<ui5-button id=\"${ifDefined(item.id)}\" type=\"Button\" design=\"Default\" class=\"udex-search-suggestions__item-button\" title=\"${ifDefined(item.title)}\" tabindex=\"-1\" role=\"option\" @click=\"${item.handleSelectItem}\">${unsafeHTML(item.text)}</ui5-button>`;}\n\n\nexport default block0;"]}
|
|
@@ -3,12 +3,12 @@ import { html, repeat, ifDefined, unsafeHTML, scopeTag } from "@ui5/webcomponent
|
|
|
3
3
|
function block0(context, tags, suffix) { return html `${this.showSearch ? block1.call(this, context, tags, suffix) : undefined}${this.isListEmpty ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix)} `; }
|
|
4
4
|
function block1(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-search", tags, suffix)} slot="header" mode="Standard" class="udex-filter-menu__search" label="${ifDefined(this.searchPlaceholder)}" label-animation-disabled non-interactive-submit-button show-submit-button></${scopeTag("udex-search", tags, suffix)}>` : html `<udex-search slot="header" mode="Standard" class="udex-filter-menu__search" label="${ifDefined(this.searchPlaceholder)}" label-animation-disabled non-interactive-submit-button show-submit-button></udex-search>`; }
|
|
5
5
|
function block2(context, tags, suffix) { return html `<div class="udex-no-result"><span>${ifDefined(this.getNoResultText)}‎</span></div>`; }
|
|
6
|
-
function block3(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-list", tags, suffix)} id="udex-list" class="udex-filter-menu__list" ?controlled="${this.isControlled}" mode="${ifDefined(this.mode)}">${repeat(this._filteredItems, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}</${scopeTag("udex-list", tags, suffix)}>` : html `<udex-list id="udex-list" class="udex-filter-menu__list" ?controlled="${this.isControlled}" mode="${ifDefined(this.mode)}">${repeat(this._filteredItems, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}</udex-list>`; }
|
|
6
|
+
function block3(context, tags, suffix) { return suffix ? html `<${scopeTag("udex-list", tags, suffix)} id="udex-list" role="${ifDefined(this.roleForGroupList)}" accessible-role="${ifDefined(this.accessibleRoleForList)}" class="udex-filter-menu__list" ?controlled="${this.isControlled}" mode="${ifDefined(this.mode)}">${repeat(this._filteredItems, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}</${scopeTag("udex-list", tags, suffix)}>` : html `<udex-list id="udex-list" role="${ifDefined(this.roleForGroupList)}" accessible-role="${ifDefined(this.accessibleRoleForList)}" class="udex-filter-menu__list" ?controlled="${this.isControlled}" mode="${ifDefined(this.mode)}">${repeat(this._filteredItems, (item, index) => item._id || index, (item, index) => block4.call(this, context, tags, suffix, item, index))}</udex-list>`; }
|
|
7
7
|
function block4(context, tags, suffix, item, index) { return html `${item.isGroup ? block5.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index)}`; }
|
|
8
8
|
function block5(context, tags, suffix, item, index) { return html `${item.item.isSelectAllHeader ? block6.call(this, context, tags, suffix, item, index) : block8.call(this, context, tags, suffix, item, index)}`; }
|
|
9
9
|
function block6(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-select-all", tags, suffix)} _additional-class-name="${ifDefined(this.additionalClassName)}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" ?controlled="${item.item.controlled}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block7.call(this, context, tags, suffix, item, index))}</${scopeTag("udex-list-select-all", tags, suffix)}>` : html `<udex-list-select-all _additional-class-name="${ifDefined(this.additionalClassName)}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" ?controlled="${item.item.controlled}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block7.call(this, context, tags, suffix, item, index))}</udex-list-select-all>`; }
|
|
10
10
|
function block7(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</udex-list-item>`; }
|
|
11
|
-
function block8(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-group-header", tags, suffix)} role="
|
|
11
|
+
function block8(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-group-header", tags, suffix)} role="group" _additional-class-name="udex-searchable-list__header" class="${ifDefined(this.groupClassName)}" ?non-interactive="${item.item.nonInteractive}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" supporting-text="${ifDefined(item.item.supportingText)}" ?controlled="${item.item.controlled}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block9.call(this, context, tags, suffix, item, index))}</${scopeTag("udex-list-group-header", tags, suffix)}>` : html `<udex-list-group-header role="group" _additional-class-name="udex-searchable-list__header" class="${ifDefined(this.groupClassName)}" ?non-interactive="${item.item.nonInteractive}" data-token-id="${ifDefined(item.item._id)}" label="${ifDefined(item.item.label)}" supporting-text="${ifDefined(item.item.supportingText)}" ?controlled="${item.item.controlled}" ?disabled="${item.item.disabled}" ?selected="${item.item.selected}" ?indeterminate="${item.item.indeterminate}">${repeat(item.groupItems, (item, index) => item._id || index, (item, index) => block9.call(this, context, tags, suffix, item, index))}</udex-list-group-header>`; }
|
|
12
12
|
function block9(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} role="none" data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item role="none" data-token-id="${ifDefined(item._id)}" ?controlled="${item.controlled}" mode="${ifDefined(item.mode)}" supporting-text="${ifDefined(item.supportingText)}" ?divider="${item.divider}" ?disabled="${item.disabled}" ?selected="${item.selected}" label="${ifDefined(item.label)}">${unsafeHTML(item.innerHTML)}</udex-list-item>`; }
|
|
13
13
|
function block10(context, tags, suffix, item, index) { return suffix ? html `<${scopeTag("udex-list-item", tags, suffix)} data-token-id="${ifDefined(item.item._id)}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?controlled="${item.controlled}" ?divider="${item.divider}" ?selected="${item.item.selected}" label="${ifDefined(item.item.label)}">${unsafeHTML(item.item.innerHTML)}</${scopeTag("udex-list-item", tags, suffix)}>` : html `<udex-list-item data-token-id="${ifDefined(item.item._id)}" supporting-text="${ifDefined(item.item.supportingText)}" ?disabled="${item.item.disabled}" ?controlled="${item.controlled}" ?divider="${item.divider}" ?selected="${item.item.selected}" label="${ifDefined(item.item.label)}">${unsafeHTML(item.item.innerHTML)}</udex-list-item>`; }
|
|
14
14
|
export default block0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableListBaseTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchableListBaseTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA4B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAI,IAAI,CAAC,UAA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Y,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAA,CAAC;AAGh4B,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SearchableListBase from \"../../SearchableListBase.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.showSearch ? block1.call(this, context, tags, suffix) : undefined }${ this.isListEmpty ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) } `;}\nfunction block1 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-search\", tags, suffix)} slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></${scopeTag(\"udex-search\", tags, suffix)}>` : html`<udex-search slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></udex-search>`;}\nfunction block2 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-no-result\"><span>${ifDefined(this.getNoResultText)}‎</span></div>`;}\nfunction block3 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-list\", tags, suffix)} id=\"udex-list\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list\", tags, suffix)}>` : html`<udex-list id=\"udex-list\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</udex-list>`;}\nfunction block4 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.isGroup ? block5.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index) }`;}\nfunction block5 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.item.isSelectAllHeader ? block6.call(this, context, tags, suffix, item, index) : block8.call(this, context, tags, suffix, item, index) }`;}\nfunction block6 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-select-all\", tags, suffix)} _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-select-all\", tags, suffix)}>` : html`<udex-list-select-all _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</udex-list-select-all>`;}\nfunction block7 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block8 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-group-header\", tags, suffix)} role=\"list\" _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-group-header\", tags, suffix)}>` : html`<udex-list-group-header role=\"list\" _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</udex-list-group-header>`;}\nfunction block9 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} role=\"none\" data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item role=\"none\" data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block10 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</udex-list-item>`;}\n\n\nexport default block0;"]}
|
|
1
|
+
{"version":3,"file":"SearchableListBaseTemplate.lit.js","sourceRoot":"","sources":["../../../src/generated/templates/SearchableListBaseTemplate.lit.ts"],"names":[],"mappings":"AAAA,8BAA8B;AAC9B,OAAO,EAAE,IAAI,EAAO,MAAM,EAAsB,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,sDAAsD,CAAC;AAK9I,SAAS,MAAM,CAA4B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,IAAI,CAAA,GAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,SAAU,GAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,CAAE,GAAG,CAAC,CAAA,CAAC;AACpT,SAAS,MAAM,CAA4B,OAAmB,EAAE,IAAc,EAAE,MAA0B,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,IAAI,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,0EAA0E,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,iFAAiF,QAAQ,CAAC,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,sFAAsF,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,4FAA4F,CAAC,CAAA,CAA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M,CAAC,mBAAmB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,kBAAkB,IAAI,CAAC,UAAU,eAAe,IAAI,CAAC,OAAO,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,YAAY,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,QAAQ,CAAC,gBAAgB,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAA,kCAAkC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,sBAAsB,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,kBAAkB,IAAI,CAAC,UAAU,eAAe,IAAI,CAAC,OAAO,gBAAgB,IAAI,CAAC,IAAI,CAAC,QAAQ,YAAY,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,CAAA,CAAC;AAGh4B,eAAe,MAAM,CAAC","sourcesContent":["/* eslint no-unused-vars: 0 */\nimport { html, svg, repeat, classMap, styleMap, ifDefined, unsafeHTML, scopeTag } from \"@ui5/webcomponents-base/dist/renderer/LitRenderer.js\";\nimport type UI5Element from \"@ui5/webcomponents-base/dist/UI5Element.js\";\n\timport type SearchableListBase from \"../../SearchableListBase.js\";\n\timport type { ClassMapValue } from \"@ui5/webcomponents-base/dist/types.js\";\n\t\nfunction block0 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`${ this.showSearch ? block1.call(this, context, tags, suffix) : undefined }${ this.isListEmpty ? block2.call(this, context, tags, suffix) : block3.call(this, context, tags, suffix) } `;}\nfunction block1 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-search\", tags, suffix)} slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></${scopeTag(\"udex-search\", tags, suffix)}>` : html`<udex-search slot=\"header\" mode=\"Standard\" class=\"udex-filter-menu__search\" label=\"${ifDefined(this.searchPlaceholder)}\" label-animation-disabled non-interactive-submit-button show-submit-button></udex-search>`;}\nfunction block2 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return html`<div class=\"udex-no-result\"><span>${ifDefined(this.getNoResultText)}‎</span></div>`;}\nfunction block3 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined) { return suffix ? html`<${scopeTag(\"udex-list\", tags, suffix)} id=\"udex-list\" role=\"${ifDefined(this.roleForGroupList)}\" accessible-role=\"${ifDefined(this.accessibleRoleForList)}\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list\", tags, suffix)}>` : html`<udex-list id=\"udex-list\" role=\"${ifDefined(this.roleForGroupList)}\" accessible-role=\"${ifDefined(this.accessibleRoleForList)}\" class=\"udex-filter-menu__list\" ?controlled=\"${this.isControlled}\" mode=\"${ifDefined(this.mode)}\">${ repeat(this._filteredItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block4.call(this, context, tags, suffix, item, index)) }</udex-list>`;}\nfunction block4 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.isGroup ? block5.call(this, context, tags, suffix, item, index) : block10.call(this, context, tags, suffix, item, index) }`;}\nfunction block5 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return html`${ item.item.isSelectAllHeader ? block6.call(this, context, tags, suffix, item, index) : block8.call(this, context, tags, suffix, item, index) }`;}\nfunction block6 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-select-all\", tags, suffix)} _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-select-all\", tags, suffix)}>` : html`<udex-list-select-all _additional-class-name=\"${ifDefined(this.additionalClassName)}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" ?controlled=\"${item.item.controlled}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block7.call(this, context, tags, suffix, item, index)) }</udex-list-select-all>`;}\nfunction block7 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block8 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-group-header\", tags, suffix)} role=\"group\" _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</${scopeTag(\"udex-list-group-header\", tags, suffix)}>` : html`<udex-list-group-header role=\"group\" _additional-class-name=\"udex-searchable-list__header\" class=\"${ifDefined(this.groupClassName)}\" ?non-interactive=\"${item.item.nonInteractive}\" data-token-id=\"${ifDefined(item.item._id)}\" label=\"${ifDefined(item.item.label)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?controlled=\"${item.item.controlled}\" ?disabled=\"${item.item.disabled}\" ?selected=\"${item.item.selected}\" ?indeterminate=\"${item.item.indeterminate}\">${ repeat(item.groupItems, (item, index) => (item as typeof item & {_id?: any})._id || index, (item, index: number) => block9.call(this, context, tags, suffix, item, index)) }</udex-list-group-header>`;}\nfunction block9 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} role=\"none\" data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item role=\"none\" data-token-id=\"${ifDefined(item._id)}\" ?controlled=\"${item.controlled}\" mode=\"${ifDefined(item.mode)}\" supporting-text=\"${ifDefined(item.supportingText)}\" ?divider=\"${item.divider}\" ?disabled=\"${item.disabled}\" ?selected=\"${item.selected}\" label=\"${ifDefined(item.label)}\">${unsafeHTML(item.innerHTML)}</udex-list-item>`;}\nfunction block10 (this: SearchableListBase, context: UI5Element, tags: string[], suffix: string | undefined, item: any, index: number) { return suffix ? html`<${scopeTag(\"udex-list-item\", tags, suffix)} data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</${scopeTag(\"udex-list-item\", tags, suffix)}>` : html`<udex-list-item data-token-id=\"${ifDefined(item.item._id)}\" supporting-text=\"${ifDefined(item.item.supportingText)}\" ?disabled=\"${item.item.disabled}\" ?controlled=\"${item.controlled}\" ?divider=\"${item.divider}\" ?selected=\"${item.item.selected}\" label=\"${ifDefined(item.item.label)}\">${unsafeHTML(item.item.innerHTML)}</udex-list-item>`;}\n\n\nexport default block0;"]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint no-unused-vars: 0 */
|
|
2
2
|
import { html, repeat, ifDefined, scopeTag } from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
3
|
function block0(context, tags, suffix) { return html `${this.isLink ? block1.call(this, context, tags, suffix) : block2.call(this, context, tags, suffix)} `; }
|
|
4
|
-
function block1(context, tags, suffix) { return html `<a class="udex-secondary-navigation__item" role="${ifDefined(this.menuItemRole)}" ?active="${this.isActive}" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" @keydown="${this.handleItemLinkKeyDown}" @click="${this.
|
|
5
|
-
function block2(context, tags, suffix) { return html `<button class="udex-secondary-navigation__item" role="${ifDefined(this.itemRole)}" ?active="${this.isActive}" aria-haspopup="${ifDefined(this.hasNestedItems)}" aria-expanded="${ifDefined(this.isOpen)}" aria-label="${ifDefined(this.ariaLabel)}" @keydown="${this.
|
|
4
|
+
function block1(context, tags, suffix) { return html `<a class="udex-secondary-navigation__item" role="${ifDefined(this.menuItemRole)}" ?active="${this.isActive}" href="${ifDefined(this.path)}" target="${ifDefined(this.target)}" @keydown="${this.handleItemLinkKeyDown}" @click="${this.fireNavItemClickEvent}">${ifDefined(this.itemLabel)}</a>`; }
|
|
5
|
+
function block2(context, tags, suffix) { return html `<button class="udex-secondary-navigation__item" role="${ifDefined(this.itemRole)}" tabindex="0" ?active="${this.isActive}" aria-haspopup="${ifDefined(this.hasNestedItems)}" aria-expanded="${ifDefined(this.isOpen)}" aria-label="${ifDefined(this.ariaLabel)}" @keydown="${this.handleItemEnterOrSpaceKeys}" @click="${this.openDropdown}"><span class="udex-secondary-navigation__item-text-wrap">${ifDefined(this.itemLabel)}${this._subTitle ? block3.call(this, context, tags, suffix) : undefined}${this.hasNestedItems ? block4.call(this, context, tags, suffix) : undefined}</span></button>${this.isOpen ? block5.call(this, context, tags, suffix) : undefined}`; }
|
|
6
6
|
function block3(context, tags, suffix) { return html `<span class="udex-secondary-navigation__item-sub-title">${ifDefined(this._subTitle)}</span>`; }
|
|
7
7
|
function block4(context, tags, suffix) { return suffix ? html `<${scopeTag("ui5-icon", tags, suffix)} class="udex-secondary-navigation__item-icon" name="slim-arrow-down"></${scopeTag("ui5-icon", tags, suffix)}>` : html `<ui5-icon class="udex-secondary-navigation__item-icon" name="slim-arrow-down"></ui5-icon>`; }
|
|
8
|
-
function block5(context, tags, suffix) { return html `<div class="udex-secondary-navigation__dropdown"
|
|
8
|
+
function block5(context, tags, suffix) { return html `<div class="udex-secondary-navigation__dropdown"><ul role="menu" class="udex-secondary-navigation__dropdown-list" @keydown="${this.handleSubItemKeyDown}">${repeat(this._processedItems, (item, index) => item._id || index, (item, index) => block6.call(this, context, tags, suffix, item, index))}</ul><div @keydown="${this.handleButtonsEscKey}"><slot></slot></div></div>`; }
|
|
9
9
|
function block6(context, tags, suffix, item, index) { return suffix ? html `<li role="none"><${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)} index="${index}" @ui5-sub-item-click="${ifDefined(this.onSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?is-active="${item.active}"></${scopeTag("udex-secondary-navigation-sub-item", tags, suffix)}></li>` : html `<li role="none"><udex-secondary-navigation-sub-item index="${index}" @ui5-sub-item-click="${ifDefined(this.onSubItemClick)}" @ui5-back-item-click="${ifDefined(this.onBackClick)}" is-back="${ifDefined(item.isBack)}" label="${ifDefined(item.title)}" mobile-link-title="${ifDefined(item.mobileLinkTitle)}" .nestedItems="${ifDefined(item.items)}" path="${ifDefined(item.path)}" target="${ifDefined(item.target)}" ?is-active="${item.active}"></udex-secondary-navigation-sub-item></li>`; }
|
|
10
10
|
export default block0;
|
|
11
11
|
//# sourceMappingURL=SecondaryNavigationItemTemplate.lit.js.map
|