@ui5/webcomponents-fiori 1.0.2 → 1.1.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/CHANGELOG.md +37 -0
- package/dist/Bar.js +14 -0
- package/dist/DynamicSideContent.js +567 -0
- package/dist/FlexibleColumnLayout.js +58 -0
- package/dist/IllustratedMessage.js +43 -1
- package/dist/Interfaces.js +10 -0
- package/dist/MediaGallery.js +595 -0
- package/dist/MediaGalleryItem.js +334 -0
- package/dist/ShellBar.js +40 -18
- package/dist/ShellBarItem.js +1 -1
- package/dist/SideNavigation.js +11 -1
- package/dist/UploadCollectionItem.js +5 -0
- package/dist/ViewSettingsDialog.js +18 -2
- package/dist/Wizard.js +29 -9
- package/dist/WizardTab.js +4 -18
- package/dist/api.json +752 -19
- package/dist/css/themes/Bar.css +1 -1
- package/dist/css/themes/DynamicSideContent.css +1 -0
- package/dist/css/themes/IllustratedMessage.css +1 -1
- package/dist/css/themes/MediaGallery.css +1 -0
- package/dist/css/themes/MediaGalleryItem.css +1 -0
- package/dist/css/themes/NotificationListGroupItem.css +1 -1
- package/dist/css/themes/NotificationListItem.css +1 -1
- package/dist/css/themes/SideNavigation.css +1 -1
- package/dist/css/themes/SideNavigationPopover.css +1 -0
- package/dist/css/themes/UploadCollectionItem.css +1 -1
- package/dist/css/themes/ViewSettingsDialog.css +1 -1
- package/dist/css/themes/Wizard.css +1 -1
- package/dist/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
- package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
- package/dist/generated/assets/themes/sap_belize/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.js +2 -2
- package/dist/generated/templates/BarTemplate.lit.js +1 -1
- package/dist/generated/templates/DynamicSideContentTemplate.lit.js +7 -0
- package/dist/generated/templates/FilterItemTemplate.lit.js +2 -2
- package/dist/generated/templates/FlexibleColumnLayoutTemplate.lit.js +1 -1
- package/dist/generated/templates/MediaGalleryItemTemplate.lit.js +10 -0
- package/dist/generated/templates/MediaGalleryTemplate.lit.js +13 -0
- package/dist/generated/templates/ShellBarPopoverTemplate.lit.js +1 -1
- package/dist/generated/templates/ShellBarTemplate.lit.js +5 -5
- package/dist/generated/templates/UploadCollectionItemTemplate.lit.js +2 -2
- package/dist/generated/templates/ViewSettingsDialogTemplate.lit.js +14 -11
- package/dist/generated/templates/WizardTemplate.lit.js +1 -1
- package/dist/generated/themes/Bar.css.js +1 -1
- package/dist/generated/themes/DynamicSideContent.css.js +8 -0
- package/dist/generated/themes/IllustratedMessage.css.js +1 -1
- package/dist/generated/themes/MediaGallery.css.js +8 -0
- package/dist/generated/themes/MediaGalleryItem.css.js +8 -0
- package/dist/generated/themes/NotificationListGroupItem.css.js +1 -1
- package/dist/generated/themes/NotificationListItem.css.js +1 -1
- package/dist/generated/themes/SideNavigation.css.js +1 -1
- package/dist/generated/themes/SideNavigationPopover.css.js +8 -0
- package/dist/generated/themes/UploadCollectionItem.css.js +1 -1
- package/dist/generated/themes/ViewSettingsDialog.css.js +1 -1
- package/dist/generated/themes/Wizard.css.js +1 -1
- package/dist/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/i18n/messagebundle.properties +82 -1
- package/dist/i18n/messagebundle_ar.properties +2 -0
- package/dist/i18n/messagebundle_bg.properties +8 -6
- package/dist/i18n/messagebundle_ca.properties +2 -0
- package/dist/i18n/messagebundle_cs.properties +2 -0
- package/dist/i18n/messagebundle_cy.properties +2 -0
- package/dist/i18n/messagebundle_da.properties +2 -0
- package/dist/i18n/messagebundle_de.properties +2 -0
- package/dist/i18n/messagebundle_el.properties +2 -0
- package/dist/i18n/messagebundle_en.properties +2 -0
- package/dist/i18n/messagebundle_en_GB.properties +2 -0
- package/dist/i18n/messagebundle_en_US_sappsd.properties +2 -0
- package/dist/i18n/messagebundle_en_US_saprigi.properties +2 -0
- package/dist/i18n/messagebundle_en_US_saptrc.properties +2 -0
- package/dist/i18n/messagebundle_es.properties +2 -0
- package/dist/i18n/messagebundle_es_MX.properties +2 -0
- package/dist/i18n/messagebundle_et.properties +2 -0
- package/dist/i18n/messagebundle_fi.properties +2 -0
- package/dist/i18n/messagebundle_fr.properties +2 -0
- package/dist/i18n/messagebundle_fr_CA.properties +2 -0
- package/dist/i18n/messagebundle_hi.properties +2 -0
- package/dist/i18n/messagebundle_hr.properties +2 -0
- package/dist/i18n/messagebundle_hu.properties +2 -0
- package/dist/i18n/messagebundle_id.properties +2 -0
- package/dist/i18n/messagebundle_it.properties +2 -0
- package/dist/i18n/messagebundle_iw.properties +2 -0
- package/dist/i18n/messagebundle_ja.properties +2 -0
- package/dist/i18n/messagebundle_kk.properties +2 -0
- package/dist/i18n/messagebundle_ko.properties +2 -0
- package/dist/i18n/messagebundle_lt.properties +2 -0
- package/dist/i18n/messagebundle_lv.properties +2 -0
- package/dist/i18n/messagebundle_ms.properties +2 -0
- package/dist/i18n/messagebundle_nl.properties +2 -0
- package/dist/i18n/messagebundle_no.properties +2 -0
- package/dist/i18n/messagebundle_pl.properties +2 -0
- package/dist/i18n/messagebundle_pt.properties +2 -0
- package/dist/i18n/messagebundle_pt_PT.properties +2 -0
- package/dist/i18n/messagebundle_ro.properties +2 -0
- package/dist/i18n/messagebundle_ru.properties +2 -0
- package/dist/i18n/messagebundle_sh.properties +2 -0
- package/dist/i18n/messagebundle_sk.properties +2 -0
- package/dist/i18n/messagebundle_sl.properties +2 -0
- package/dist/i18n/messagebundle_sv.properties +2 -0
- package/dist/i18n/messagebundle_th.properties +2 -0
- package/dist/i18n/messagebundle_tr.properties +2 -0
- package/dist/i18n/messagebundle_uk.properties +2 -0
- package/dist/i18n/messagebundle_vi.properties +2 -0
- package/dist/i18n/messagebundle_zh_CN.properties +2 -0
- package/dist/i18n/messagebundle_zh_TW.properties +2 -0
- package/dist/illustrations/AddColumn.js +28 -0
- package/dist/illustrations/AddPeople.js +28 -0
- package/dist/illustrations/BalloonSky.js +28 -0
- package/dist/illustrations/Connection.js +28 -0
- package/dist/illustrations/EmptyCalendar.js +28 -0
- package/dist/illustrations/EmptyList.js +28 -0
- package/dist/illustrations/EmptyPlanningCalendar.js +28 -0
- package/dist/illustrations/ErrorScreen.js +28 -0
- package/dist/illustrations/FilterTable.js +28 -0
- package/dist/illustrations/GroupTable.js +28 -0
- package/dist/illustrations/NewMail.js +28 -0
- package/dist/illustrations/NoFilterResults.js +28 -0
- package/dist/illustrations/NoMail_v1.js +28 -0
- package/dist/illustrations/NoSavedItems_v1.js +28 -0
- package/dist/illustrations/NoTasks_v1.js +28 -0
- package/dist/illustrations/PageNotFound.js +28 -0
- package/dist/illustrations/ReloadScreen.js +28 -0
- package/dist/illustrations/ResizeColumn.js +28 -0
- package/dist/illustrations/SearchEarth.js +28 -0
- package/dist/illustrations/SearchFolder.js +28 -0
- package/dist/illustrations/SimpleBalloon.js +28 -0
- package/dist/illustrations/SimpleBell.js +28 -0
- package/dist/illustrations/SimpleCalendar.js +28 -0
- package/dist/illustrations/SimpleCheckMark.js +28 -0
- package/dist/illustrations/SimpleConnection.js +28 -0
- package/dist/illustrations/SimpleEmptyDoc.js +28 -0
- package/dist/illustrations/SimpleEmptyList.js +28 -0
- package/dist/illustrations/SimpleError.js +28 -0
- package/dist/illustrations/SimpleMagnifier.js +28 -0
- package/dist/illustrations/SimpleMail.js +28 -0
- package/dist/illustrations/SimpleNoSavedItems.js +28 -0
- package/dist/illustrations/SimpleNotFoundMagnifier.js +28 -0
- package/dist/illustrations/SimpleReload.js +28 -0
- package/dist/illustrations/SimpleTask.js +28 -0
- package/dist/illustrations/SleepingBell.js +28 -0
- package/dist/illustrations/SortColumn.js +28 -0
- package/dist/illustrations/SuccessBalloon.js +28 -0
- package/dist/illustrations/SuccessCheckMark.js +28 -0
- package/dist/illustrations/SuccessHighFive.js +28 -0
- package/dist/illustrations/SuccessScreen.js +28 -0
- package/dist/illustrations/Tent.js +28 -0
- package/dist/illustrations/UnableToLoadImage.js +28 -0
- package/dist/illustrations/UploadCollection.js +28 -0
- package/dist/illustrations/sapIllus-Dialog-AddColumn.js +38 -0
- package/dist/illustrations/sapIllus-Dialog-AddPeople.js +32 -0
- package/dist/illustrations/sapIllus-Dialog-BalloonSky.js +34 -0
- package/dist/illustrations/sapIllus-Dialog-Connection.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-EmptyCalendar.js +74 -0
- package/dist/illustrations/sapIllus-Dialog-EmptyList.js +22 -0
- package/dist/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.js +79 -0
- package/dist/illustrations/sapIllus-Dialog-ErrorScreen.js +35 -0
- package/dist/illustrations/sapIllus-Dialog-FilterTable.js +42 -0
- package/dist/illustrations/sapIllus-Dialog-GroupTable.js +68 -0
- package/dist/illustrations/sapIllus-Dialog-NewMail.js +22 -0
- package/dist/illustrations/sapIllus-Dialog-NoFilterResults.js +25 -0
- package/dist/illustrations/sapIllus-Dialog-NoMail_v1.js +23 -0
- package/dist/illustrations/sapIllus-Dialog-NoSavedItems_v1.js +37 -0
- package/dist/illustrations/sapIllus-Dialog-NoTasks_v1.js +54 -0
- package/dist/illustrations/sapIllus-Dialog-PageNotFound.js +30 -0
- package/dist/illustrations/sapIllus-Dialog-ReloadScreen.js +35 -0
- package/dist/illustrations/sapIllus-Dialog-ResizeColumn.js +42 -0
- package/dist/illustrations/sapIllus-Dialog-SearchEarth.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-SearchFolder.js +28 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleBalloon.js +18 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleBell.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleCalendar.js +48 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleCheckMark.js +7 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleConnection.js +19 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleEmptyDoc.js +18 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleEmptyList.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleError.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleMagnifier.js +11 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleMail.js +14 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleNoSavedItems.js +18 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.js +22 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleReload.js +12 -0
- package/dist/illustrations/sapIllus-Dialog-SimpleTask.js +24 -0
- package/dist/illustrations/sapIllus-Dialog-SleepingBell.js +24 -0
- package/dist/illustrations/sapIllus-Dialog-SortColumn.js +40 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessBalloon.js +16 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessCheckMark.js +9 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessHighFive.js +46 -0
- package/dist/illustrations/sapIllus-Dialog-SuccessScreen.js +33 -0
- package/dist/illustrations/sapIllus-Dialog-Tent.js +27 -0
- package/dist/illustrations/sapIllus-Dialog-UnableToLoadImage.js +39 -0
- package/dist/illustrations/sapIllus-Dialog-UploadCollection.js +33 -0
- package/dist/illustrations/sapIllus-Scene-AddColumn.js +49 -0
- package/dist/illustrations/sapIllus-Scene-AddPeople.js +31 -0
- package/dist/illustrations/sapIllus-Scene-BalloonSky.js +43 -0
- package/dist/illustrations/sapIllus-Scene-Connection.js +32 -0
- package/dist/illustrations/sapIllus-Scene-EmptyCalendar.js +87 -0
- package/dist/illustrations/sapIllus-Scene-EmptyList.js +28 -0
- package/dist/illustrations/sapIllus-Scene-EmptyPlanningCalendar.js +92 -0
- package/dist/illustrations/sapIllus-Scene-ErrorScreen.js +79 -0
- package/dist/illustrations/sapIllus-Scene-FilterTable.js +57 -0
- package/dist/illustrations/sapIllus-Scene-GroupTable.js +77 -0
- package/dist/illustrations/sapIllus-Scene-NewMail.js +55 -0
- package/dist/illustrations/sapIllus-Scene-NoFilterResults.js +40 -0
- package/dist/illustrations/sapIllus-Scene-NoMail_v1.js +56 -0
- package/dist/illustrations/sapIllus-Scene-NoSavedItems_v1.js +40 -0
- package/dist/illustrations/sapIllus-Scene-NoTasks_v1.js +91 -0
- package/dist/illustrations/sapIllus-Scene-PageNotFound.js +34 -0
- package/dist/illustrations/sapIllus-Scene-ReloadScreen.js +81 -0
- package/dist/illustrations/sapIllus-Scene-ResizeColumn.js +53 -0
- package/dist/illustrations/sapIllus-Scene-SearchEarth.js +31 -0
- package/dist/illustrations/sapIllus-Scene-SearchFolder.js +37 -0
- package/dist/illustrations/sapIllus-Scene-SimpleBalloon.js +21 -0
- package/dist/illustrations/sapIllus-Scene-SimpleBell.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleCalendar.js +44 -0
- package/dist/illustrations/sapIllus-Scene-SimpleCheckMark.js +10 -0
- package/dist/illustrations/sapIllus-Scene-SimpleConnection.js +23 -0
- package/dist/illustrations/sapIllus-Scene-SimpleEmptyDoc.js +21 -0
- package/dist/illustrations/sapIllus-Scene-SimpleEmptyList.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleError.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleMagnifier.js +14 -0
- package/dist/illustrations/sapIllus-Scene-SimpleMail.js +17 -0
- package/dist/illustrations/sapIllus-Scene-SimpleNoSavedItems.js +28 -0
- package/dist/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.js +25 -0
- package/dist/illustrations/sapIllus-Scene-SimpleReload.js +15 -0
- package/dist/illustrations/sapIllus-Scene-SimpleTask.js +20 -0
- package/dist/illustrations/sapIllus-Scene-SleepingBell.js +44 -0
- package/dist/illustrations/sapIllus-Scene-SortColumn.js +51 -0
- package/dist/illustrations/sapIllus-Scene-SuccessBalloon.js +34 -0
- package/dist/illustrations/sapIllus-Scene-SuccessCheckMark.js +44 -0
- package/dist/illustrations/sapIllus-Scene-SuccessHighFive.js +28 -0
- package/dist/illustrations/sapIllus-Scene-SuccessScreen.js +79 -0
- package/dist/illustrations/sapIllus-Scene-Tent.js +55 -0
- package/dist/illustrations/sapIllus-Scene-UnableToLoadImage.js +36 -0
- package/dist/illustrations/sapIllus-Scene-UploadCollection.js +31 -0
- package/dist/illustrations/sapIllus-Spot-AddColumn.js +38 -0
- package/dist/illustrations/sapIllus-Spot-AddPeople.js +32 -0
- package/dist/illustrations/sapIllus-Spot-BalloonSky.js +30 -0
- package/dist/illustrations/sapIllus-Spot-Connection.js +23 -0
- package/dist/illustrations/sapIllus-Spot-EmptyCalendar.js +43 -0
- package/dist/illustrations/sapIllus-Spot-EmptyList.js +22 -0
- package/dist/illustrations/sapIllus-Spot-EmptyPlanningCalendar.js +79 -0
- package/dist/illustrations/sapIllus-Spot-ErrorScreen.js +33 -0
- package/dist/illustrations/sapIllus-Spot-FilterTable.js +47 -0
- package/dist/illustrations/sapIllus-Spot-GroupTable.js +68 -0
- package/dist/illustrations/sapIllus-Spot-NewMail.js +19 -0
- package/dist/illustrations/sapIllus-Spot-NoFilterResults.js +26 -0
- package/dist/illustrations/sapIllus-Spot-NoMail_v1.js +17 -0
- package/dist/illustrations/sapIllus-Spot-NoSavedItems.js +1 -1
- package/dist/illustrations/sapIllus-Spot-NoSavedItems_v1.js +34 -0
- package/dist/illustrations/sapIllus-Spot-NoTasks_v1.js +16 -0
- package/dist/illustrations/sapIllus-Spot-PageNotFound.js +32 -0
- package/dist/illustrations/sapIllus-Spot-ReloadScreen.js +33 -0
- package/dist/illustrations/sapIllus-Spot-ResizeColumn.js +42 -0
- package/dist/illustrations/sapIllus-Spot-SearchEarth.js +56 -0
- package/dist/illustrations/sapIllus-Spot-SearchFolder.js +26 -0
- package/dist/illustrations/sapIllus-Spot-SimpleBalloon.js +8 -0
- package/dist/illustrations/sapIllus-Spot-SimpleBell.js +10 -0
- package/dist/illustrations/sapIllus-Spot-SimpleCalendar.js +47 -0
- package/dist/illustrations/sapIllus-Spot-SimpleCheckMark.js +6 -0
- package/dist/illustrations/sapIllus-Spot-SimpleConnection.js +11 -0
- package/dist/illustrations/sapIllus-Spot-SimpleEmptyDoc.js +7 -0
- package/dist/illustrations/sapIllus-Spot-SimpleEmptyList.js +7 -0
- package/dist/illustrations/sapIllus-Spot-SimpleError.js +10 -0
- package/dist/illustrations/sapIllus-Spot-SimpleMagnifier.js +9 -0
- package/dist/illustrations/sapIllus-Spot-SimpleMail.js +13 -0
- package/dist/illustrations/sapIllus-Spot-SimpleNoSavedItems.js +24 -0
- package/dist/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.js +11 -0
- package/dist/illustrations/sapIllus-Spot-SimpleReload.js +8 -0
- package/dist/illustrations/sapIllus-Spot-SimpleTask.js +23 -0
- package/dist/illustrations/sapIllus-Spot-SleepingBell.js +23 -0
- package/dist/illustrations/sapIllus-Spot-SortColumn.js +40 -0
- package/dist/illustrations/sapIllus-Spot-SuccessBalloon.js +20 -0
- package/dist/illustrations/sapIllus-Spot-SuccessCheckMark.js +8 -0
- package/dist/illustrations/sapIllus-Spot-SuccessHighFive.js +32 -0
- package/dist/illustrations/sapIllus-Spot-SuccessScreen.js +33 -0
- package/dist/illustrations/sapIllus-Spot-Tent.js +25 -0
- package/dist/illustrations/sapIllus-Spot-UnableToLoadImage.js +37 -0
- package/dist/illustrations/sapIllus-Spot-UploadCollection.js +32 -0
- package/dist/types/IllustrationMessageType.js +267 -15
- package/dist/types/MediaGalleryItemLayout.js +44 -0
- package/dist/types/MediaGalleryLayout.js +48 -0
- package/dist/types/MediaGalleryMenuHorizontalAlign.js +41 -0
- package/dist/types/MediaGalleryMenuVerticalAlign.js +40 -0
- package/dist/types/SideContentFallDown.js +54 -0
- package/dist/types/SideContentPosition.js +42 -0
- package/dist/types/SideContentVisibility.js +61 -0
- package/package.json +8 -8
- package/src/Bar.hbs +1 -0
- package/src/Bar.js +14 -0
- package/src/DynamicSideContent.hbs +20 -0
- package/src/DynamicSideContent.js +567 -0
- package/src/FlexibleColumnLayout.hbs +8 -9
- package/src/FlexibleColumnLayout.js +58 -0
- package/src/IllustratedMessage.js +43 -1
- package/src/Interfaces.js +10 -0
- package/src/MediaGallery.hbs +47 -0
- package/src/MediaGallery.js +595 -0
- package/src/MediaGalleryItem.hbs +22 -0
- package/src/MediaGalleryItem.js +334 -0
- package/src/ShellBar.hbs +21 -16
- package/src/ShellBar.js +40 -18
- package/src/ShellBarItem.js +1 -1
- package/src/ShellBarPopover.hbs +2 -2
- package/src/SideNavigation.js +11 -1
- package/src/UploadCollectionItem.js +5 -0
- package/src/ViewSettingsDialog.hbs +62 -56
- package/src/ViewSettingsDialog.js +18 -2
- package/src/Wizard.hbs +2 -0
- package/src/Wizard.js +29 -9
- package/src/WizardTab.js +4 -18
- package/src/i18n/messagebundle.properties +82 -1
- package/src/i18n/messagebundle_ar.properties +2 -0
- package/src/i18n/messagebundle_bg.properties +8 -6
- package/src/i18n/messagebundle_ca.properties +2 -0
- package/src/i18n/messagebundle_cs.properties +2 -0
- package/src/i18n/messagebundle_cy.properties +2 -0
- package/src/i18n/messagebundle_da.properties +2 -0
- package/src/i18n/messagebundle_de.properties +2 -0
- package/src/i18n/messagebundle_el.properties +2 -0
- package/src/i18n/messagebundle_en.properties +2 -0
- package/src/i18n/messagebundle_en_GB.properties +2 -0
- package/src/i18n/messagebundle_en_US_sappsd.properties +2 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +2 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +2 -0
- package/src/i18n/messagebundle_es.properties +2 -0
- package/src/i18n/messagebundle_es_MX.properties +2 -0
- package/src/i18n/messagebundle_et.properties +2 -0
- package/src/i18n/messagebundle_fi.properties +2 -0
- package/src/i18n/messagebundle_fr.properties +2 -0
- package/src/i18n/messagebundle_fr_CA.properties +2 -0
- package/src/i18n/messagebundle_hi.properties +2 -0
- package/src/i18n/messagebundle_hr.properties +2 -0
- package/src/i18n/messagebundle_hu.properties +2 -0
- package/src/i18n/messagebundle_id.properties +2 -0
- package/src/i18n/messagebundle_it.properties +2 -0
- package/src/i18n/messagebundle_iw.properties +2 -0
- package/src/i18n/messagebundle_ja.properties +2 -0
- package/src/i18n/messagebundle_kk.properties +2 -0
- package/src/i18n/messagebundle_ko.properties +2 -0
- package/src/i18n/messagebundle_lt.properties +2 -0
- package/src/i18n/messagebundle_lv.properties +2 -0
- package/src/i18n/messagebundle_ms.properties +2 -0
- package/src/i18n/messagebundle_nl.properties +2 -0
- package/src/i18n/messagebundle_no.properties +2 -0
- package/src/i18n/messagebundle_pl.properties +2 -0
- package/src/i18n/messagebundle_pt.properties +2 -0
- package/src/i18n/messagebundle_pt_PT.properties +2 -0
- package/src/i18n/messagebundle_ro.properties +2 -0
- package/src/i18n/messagebundle_ru.properties +2 -0
- package/src/i18n/messagebundle_sh.properties +2 -0
- package/src/i18n/messagebundle_sk.properties +2 -0
- package/src/i18n/messagebundle_sl.properties +2 -0
- package/src/i18n/messagebundle_sv.properties +2 -0
- package/src/i18n/messagebundle_th.properties +2 -0
- package/src/i18n/messagebundle_tr.properties +2 -0
- package/src/i18n/messagebundle_uk.properties +2 -0
- package/src/i18n/messagebundle_vi.properties +2 -0
- package/src/i18n/messagebundle_zh_CN.properties +2 -0
- package/src/i18n/messagebundle_zh_TW.properties +2 -0
- package/src/illustrations/sapIllus-Dialog-AddColumn.svg +37 -0
- package/src/illustrations/sapIllus-Dialog-AddPeople.svg +31 -0
- package/src/illustrations/sapIllus-Dialog-BalloonSky.svg +33 -0
- package/src/illustrations/sapIllus-Dialog-Connection.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-EmptyCalendar.svg +73 -0
- package/src/illustrations/sapIllus-Dialog-EmptyList.svg +21 -0
- package/src/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.svg +78 -0
- package/src/illustrations/sapIllus-Dialog-ErrorScreen.svg +34 -0
- package/src/illustrations/sapIllus-Dialog-FilterTable.svg +41 -0
- package/src/illustrations/sapIllus-Dialog-GroupTable.svg +67 -0
- package/src/illustrations/sapIllus-Dialog-NewMail.svg +21 -0
- package/src/illustrations/sapIllus-Dialog-NoFilterResults.svg +24 -0
- package/src/illustrations/sapIllus-Dialog-NoMail_v1.svg +22 -0
- package/src/illustrations/sapIllus-Dialog-NoSavedItems_v1.svg +36 -0
- package/src/illustrations/sapIllus-Dialog-NoTasks_v1.svg +53 -0
- package/src/illustrations/sapIllus-Dialog-PageNotFound.svg +29 -0
- package/src/illustrations/sapIllus-Dialog-ReloadScreen.svg +34 -0
- package/src/illustrations/sapIllus-Dialog-ResizeColumn.svg +41 -0
- package/src/illustrations/sapIllus-Dialog-SearchEarth.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-SearchFolder.svg +27 -0
- package/src/illustrations/sapIllus-Dialog-SimpleBalloon.svg +17 -0
- package/src/illustrations/sapIllus-Dialog-SimpleBell.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleCalendar.svg +47 -0
- package/src/illustrations/sapIllus-Dialog-SimpleCheckMark.svg +6 -0
- package/src/illustrations/sapIllus-Dialog-SimpleConnection.svg +18 -0
- package/src/illustrations/sapIllus-Dialog-SimpleEmptyDoc.svg +17 -0
- package/src/illustrations/sapIllus-Dialog-SimpleEmptyList.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleError.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleMagnifier.svg +10 -0
- package/src/illustrations/sapIllus-Dialog-SimpleMail.svg +13 -0
- package/src/illustrations/sapIllus-Dialog-SimpleNoSavedItems.svg +17 -0
- package/src/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.svg +21 -0
- package/src/illustrations/sapIllus-Dialog-SimpleReload.svg +11 -0
- package/src/illustrations/sapIllus-Dialog-SimpleTask.svg +23 -0
- package/src/illustrations/sapIllus-Dialog-SleepingBell.svg +23 -0
- package/src/illustrations/sapIllus-Dialog-SortColumn.svg +39 -0
- package/src/illustrations/sapIllus-Dialog-SuccessBalloon.svg +16 -0
- package/src/illustrations/sapIllus-Dialog-SuccessCheckMark.svg +8 -0
- package/src/illustrations/sapIllus-Dialog-SuccessHighFive.svg +45 -0
- package/src/illustrations/sapIllus-Dialog-SuccessScreen.svg +32 -0
- package/src/illustrations/sapIllus-Dialog-Tent.svg +26 -0
- package/src/illustrations/sapIllus-Dialog-UnableToLoadImage.svg +38 -0
- package/src/illustrations/sapIllus-Dialog-UploadCollection.svg +32 -0
- package/src/illustrations/sapIllus-Patterns.svg +20 -0
- package/src/illustrations/sapIllus-Scene-AddColumn.svg +48 -0
- package/src/illustrations/sapIllus-Scene-AddPeople.svg +30 -0
- package/src/illustrations/sapIllus-Scene-BalloonSky.svg +42 -0
- package/src/illustrations/sapIllus-Scene-Connection.svg +31 -0
- package/src/illustrations/sapIllus-Scene-EmptyCalendar.svg +86 -0
- package/src/illustrations/sapIllus-Scene-EmptyList.svg +27 -0
- package/src/illustrations/sapIllus-Scene-EmptyPlanningCalendar.svg +91 -0
- package/src/illustrations/sapIllus-Scene-ErrorScreen.svg +78 -0
- package/src/illustrations/sapIllus-Scene-FilterTable.svg +56 -0
- package/src/illustrations/sapIllus-Scene-GroupTable.svg +76 -0
- package/src/illustrations/sapIllus-Scene-NewMail.svg +54 -0
- package/src/illustrations/sapIllus-Scene-NoFilterResults.svg +39 -0
- package/src/illustrations/sapIllus-Scene-NoMail_v1.svg +55 -0
- package/src/illustrations/sapIllus-Scene-NoSavedItems_v1.svg +39 -0
- package/src/illustrations/sapIllus-Scene-NoTasks_v1.svg +90 -0
- package/src/illustrations/sapIllus-Scene-PageNotFound.svg +33 -0
- package/src/illustrations/sapIllus-Scene-ReloadScreen.svg +80 -0
- package/src/illustrations/sapIllus-Scene-ResizeColumn.svg +52 -0
- package/src/illustrations/sapIllus-Scene-SearchEarth.svg +30 -0
- package/src/illustrations/sapIllus-Scene-SearchFolder.svg +36 -0
- package/src/illustrations/sapIllus-Scene-SimpleBalloon.svg +20 -0
- package/src/illustrations/sapIllus-Scene-SimpleBell.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleCalendar.svg +43 -0
- package/src/illustrations/sapIllus-Scene-SimpleCheckMark.svg +9 -0
- package/src/illustrations/sapIllus-Scene-SimpleConnection.svg +22 -0
- package/src/illustrations/sapIllus-Scene-SimpleEmptyDoc.svg +20 -0
- package/src/illustrations/sapIllus-Scene-SimpleEmptyList.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleError.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleMagnifier.svg +13 -0
- package/src/illustrations/sapIllus-Scene-SimpleMail.svg +16 -0
- package/src/illustrations/sapIllus-Scene-SimpleNoSavedItems.svg +27 -0
- package/src/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.svg +24 -0
- package/src/illustrations/sapIllus-Scene-SimpleReload.svg +14 -0
- package/src/illustrations/sapIllus-Scene-SimpleTask.svg +19 -0
- package/src/illustrations/sapIllus-Scene-SleepingBell.svg +43 -0
- package/src/illustrations/sapIllus-Scene-SortColumn.svg +50 -0
- package/src/illustrations/sapIllus-Scene-SuccessBalloon.svg +33 -0
- package/src/illustrations/sapIllus-Scene-SuccessCheckMark.svg +43 -0
- package/src/illustrations/sapIllus-Scene-SuccessHighFive.svg +27 -0
- package/src/illustrations/sapIllus-Scene-SuccessScreen.svg +78 -0
- package/src/illustrations/sapIllus-Scene-Tent.svg +54 -0
- package/src/illustrations/sapIllus-Scene-UnableToLoadImage.svg +35 -0
- package/src/illustrations/sapIllus-Scene-UploadCollection.svg +30 -0
- package/src/illustrations/sapIllus-Spot-AddColumn.svg +37 -0
- package/src/illustrations/sapIllus-Spot-AddPeople.svg +31 -0
- package/src/illustrations/sapIllus-Spot-BalloonSky.svg +29 -0
- package/src/illustrations/sapIllus-Spot-Connection.svg +22 -0
- package/src/illustrations/sapIllus-Spot-EmptyCalendar.svg +42 -0
- package/src/illustrations/sapIllus-Spot-EmptyList.svg +21 -0
- package/src/illustrations/sapIllus-Spot-EmptyPlanningCalendar.svg +78 -0
- package/src/illustrations/sapIllus-Spot-ErrorScreen.svg +32 -0
- package/src/illustrations/sapIllus-Spot-FilterTable.svg +46 -0
- package/src/illustrations/sapIllus-Spot-GroupTable.svg +67 -0
- package/src/illustrations/sapIllus-Spot-NewMail.svg +18 -0
- package/src/illustrations/sapIllus-Spot-NoFilterResults.svg +25 -0
- package/src/illustrations/sapIllus-Spot-NoMail_v1.svg +16 -0
- package/src/illustrations/sapIllus-Spot-NoSavedItems.svg +1 -1
- package/src/illustrations/sapIllus-Spot-NoSavedItems_v1.svg +33 -0
- package/src/illustrations/sapIllus-Spot-NoTasks_v1.svg +15 -0
- package/src/illustrations/sapIllus-Spot-PageNotFound.svg +31 -0
- package/src/illustrations/sapIllus-Spot-ReloadScreen.svg +32 -0
- package/src/illustrations/sapIllus-Spot-ResizeColumn.svg +41 -0
- package/src/illustrations/sapIllus-Spot-SearchEarth.svg +55 -0
- package/src/illustrations/sapIllus-Spot-SearchFolder.svg +25 -0
- package/src/illustrations/sapIllus-Spot-SimpleBalloon.svg +7 -0
- package/src/illustrations/sapIllus-Spot-SimpleBell.svg +9 -0
- package/src/illustrations/sapIllus-Spot-SimpleCalendar.svg +46 -0
- package/src/illustrations/sapIllus-Spot-SimpleCheckMark.svg +5 -0
- package/src/illustrations/sapIllus-Spot-SimpleConnection.svg +10 -0
- package/src/illustrations/sapIllus-Spot-SimpleEmptyDoc.svg +6 -0
- package/src/illustrations/sapIllus-Spot-SimpleEmptyList.svg +6 -0
- package/src/illustrations/sapIllus-Spot-SimpleError.svg +9 -0
- package/src/illustrations/sapIllus-Spot-SimpleMagnifier.svg +9 -0
- package/src/illustrations/sapIllus-Spot-SimpleMail.svg +12 -0
- package/src/illustrations/sapIllus-Spot-SimpleNoSavedItems.svg +23 -0
- package/src/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.svg +10 -0
- package/src/illustrations/sapIllus-Spot-SimpleReload.svg +7 -0
- package/src/illustrations/sapIllus-Spot-SimpleTask.svg +22 -0
- package/src/illustrations/sapIllus-Spot-SleepingBell.svg +22 -0
- package/src/illustrations/sapIllus-Spot-SortColumn.svg +39 -0
- package/src/illustrations/sapIllus-Spot-SuccessBalloon.svg +19 -0
- package/src/illustrations/sapIllus-Spot-SuccessCheckMark.svg +7 -0
- package/src/illustrations/sapIllus-Spot-SuccessHighFive.svg +31 -0
- package/src/illustrations/sapIllus-Spot-SuccessScreen.svg +32 -0
- package/src/illustrations/sapIllus-Spot-Tent.svg +24 -0
- package/src/illustrations/sapIllus-Spot-UnableToLoadImage.svg +36 -0
- package/src/illustrations/sapIllus-Spot-UploadCollection.svg +31 -0
- package/src/themes/Bar.css +17 -1
- package/src/themes/DynamicSideContent.css +66 -0
- package/src/themes/IllustratedMessage.css +4 -0
- package/src/themes/MediaGallery.css +158 -0
- package/src/themes/MediaGalleryItem.css +131 -0
- package/src/themes/NotificationListGroupItem.css +14 -0
- package/src/themes/NotificationListItem.css +4 -0
- package/src/themes/SideNavigation.css +1 -11
- package/src/themes/SideNavigationPopover.css +9 -0
- package/src/themes/UploadCollectionItem.css +0 -13
- package/src/themes/ViewSettingsDialog.css +1 -1
- package/src/themes/Wizard.css +2 -2
- package/src/themes/base/MediaGallery-parameters.css +5 -0
- package/src/themes/base/MediaGalleryItem-parameters.css +6 -0
- package/src/themes/sap_belize/parameters-bundle.css +2 -0
- package/src/themes/sap_belize_hcb/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_belize_hcb/parameters-bundle.css +2 -0
- package/src/themes/sap_belize_hcw/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_belize_hcw/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3_dark/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3_hcb/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +2 -0
- package/src/themes/sap_fiori_3_hcw/MediaGallery-parameters.css +5 -0
- package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +2 -0
- package/src/themes/sap_horizon/parameters-bundle.css +2 -0
- package/src/types/IllustrationMessageType.js +267 -15
- package/src/types/MediaGalleryItemLayout.js +44 -0
- package/src/types/MediaGalleryLayout.js +48 -0
- package/src/types/MediaGalleryMenuHorizontalAlign.js +41 -0
- package/src/types/MediaGalleryMenuVerticalAlign.js +40 -0
- package/src/types/SideContentFallDown.js +54 -0
- package/src/types/SideContentPosition.js +42 -0
- package/src/types/SideContentVisibility.js +61 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
|
2
|
+
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
|
3
|
+
import { isSpace, isEnter } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
4
|
+
import { isPhone } from "@ui5/webcomponents-base/dist/Device.js";
|
|
5
|
+
import Icon from "@ui5/webcomponents/dist/Icon.js";
|
|
6
|
+
import MediaGalleryItemLayout from "./types/MediaGalleryItemLayout.js";
|
|
7
|
+
// Template
|
|
8
|
+
import MediaGalleryItemTemplate from "./generated/templates/MediaGalleryItemTemplate.lit.js";
|
|
9
|
+
// Styles
|
|
10
|
+
import MediaGalleryItemCss from "./generated/themes/MediaGalleryItem.css.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
const metadata = {
|
|
16
|
+
tag: "ui5-media-gallery-item",
|
|
17
|
+
managedSlots: true,
|
|
18
|
+
properties: /** @lends sap.ui.webcomponents.fiori.MediaGalleryItem.prototype */ {
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Defines the selected state of the component.
|
|
22
|
+
*
|
|
23
|
+
* @type {boolean}
|
|
24
|
+
* @defaultvalue false
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
selected: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Defines whether the component is in disabled state.
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @defaultvalue false
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
disabled: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Determines the layout of the item container.
|
|
44
|
+
* <br><br>
|
|
45
|
+
* Available options are:
|
|
46
|
+
* <ul>
|
|
47
|
+
* <li><code>Square</code></li>
|
|
48
|
+
* <li><code>Wide</code></li>
|
|
49
|
+
* </ul>
|
|
50
|
+
*
|
|
51
|
+
* @type {MediaGalleryItemLayout}
|
|
52
|
+
* @defaultvalue "Square"
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
layout: {
|
|
56
|
+
type: MediaGalleryItemLayout,
|
|
57
|
+
defaultValue: MediaGalleryItemLayout.Square,
|
|
58
|
+
},
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @private
|
|
62
|
+
*/
|
|
63
|
+
_interactive: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @private
|
|
69
|
+
*/
|
|
70
|
+
_square: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @private
|
|
76
|
+
*/
|
|
77
|
+
_contentImageNotFound: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
},
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @private
|
|
83
|
+
*/
|
|
84
|
+
_thumbnailNotFound: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
_thumbnailDesign: {
|
|
92
|
+
type: Boolean,
|
|
93
|
+
},
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Indicates whether the element is focused.
|
|
97
|
+
*
|
|
98
|
+
* @private
|
|
99
|
+
*/
|
|
100
|
+
focused: {
|
|
101
|
+
type: Boolean,
|
|
102
|
+
},
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @private
|
|
106
|
+
*/
|
|
107
|
+
_tabIndex: {
|
|
108
|
+
type: String,
|
|
109
|
+
defaultValue: undefined,
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @private
|
|
114
|
+
*/
|
|
115
|
+
contentHeight: {
|
|
116
|
+
type: String,
|
|
117
|
+
noAttribute: true,
|
|
118
|
+
defaultValue: "",
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
slots: /** @lends sap.ui.webcomponents.fiori.MediaGalleryItem.prototype */ {
|
|
122
|
+
/**
|
|
123
|
+
* Defines the content of the component.
|
|
124
|
+
*
|
|
125
|
+
* @type {HTMLElement[]}
|
|
126
|
+
* @slot
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
"default": {
|
|
130
|
+
propertyName: "content",
|
|
131
|
+
type: HTMLElement,
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Defines the content of the thumbnail.
|
|
136
|
+
*
|
|
137
|
+
* @type {HTMLElement[]}
|
|
138
|
+
* @slot
|
|
139
|
+
* @public
|
|
140
|
+
*/
|
|
141
|
+
"thumbnail": {
|
|
142
|
+
propertyName: "thumbnail",
|
|
143
|
+
type: HTMLElement,
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @class
|
|
150
|
+
* <h3 class="comment-api-title">Overview</h3>
|
|
151
|
+
* The <code>ui5-media-gallery-item</code> web component represents the items displayed in the
|
|
152
|
+
* <code>ui5-media-gallery</code> web component.
|
|
153
|
+
* <br><br>
|
|
154
|
+
* <b>Note:</b> <code>ui5-media-gallery-item</code> is not supported when used outside of <code>ui5-media-gallery</code>.
|
|
155
|
+
* <br><br>
|
|
156
|
+
*
|
|
157
|
+
* <h3>Keyboard Handling</h3>
|
|
158
|
+
* The <code>ui5-media-gallery</code> provides advanced keyboard handling.
|
|
159
|
+
* When focused, the user can use the following keyboard
|
|
160
|
+
* shortcuts in order to perform a navigation:
|
|
161
|
+
* <br>
|
|
162
|
+
* <ul>
|
|
163
|
+
* <li>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>
|
|
164
|
+
* </ul>
|
|
165
|
+
*
|
|
166
|
+
* <h3>ES6 Module Import</h3>
|
|
167
|
+
* <code>import "@ui5/webcomponents-fiori/dist/MediaGalleryItem.js";</code>
|
|
168
|
+
*
|
|
169
|
+
* @constructor
|
|
170
|
+
* @author SAP SE
|
|
171
|
+
* @alias sap.ui.webcomponents.fiori.MediaGalleryItem
|
|
172
|
+
* @extends sap.ui.webcomponents.base.UI5Element
|
|
173
|
+
* @tagname ui5-media-gallery-item
|
|
174
|
+
* @public
|
|
175
|
+
* @implements sap.ui.webcomponents.fiori.IMediaGalleryItem
|
|
176
|
+
* @since 1.1.0
|
|
177
|
+
*/
|
|
178
|
+
class MediaGalleryItem extends UI5Element {
|
|
179
|
+
constructor() {
|
|
180
|
+
super();
|
|
181
|
+
|
|
182
|
+
this._thumbnailDesign = !isPhone();
|
|
183
|
+
this._interactive = !isPhone();
|
|
184
|
+
this._square = true;
|
|
185
|
+
this._monitoredContent = null;
|
|
186
|
+
this._monitoredThumbnail = null;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
static get metadata() {
|
|
190
|
+
return metadata;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
static get render() {
|
|
194
|
+
return litRender;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
static get styles() {
|
|
198
|
+
return MediaGalleryItemCss;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
static get template() {
|
|
202
|
+
return MediaGalleryItemTemplate;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
get _thumbnail() {
|
|
206
|
+
return this.thumbnail.length && this.thumbnail[0];
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
get _content() {
|
|
210
|
+
return this.content.length && this.content[0];
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
get _isThubmnailAvailable() {
|
|
214
|
+
return this._thumbnail && !this._thumbnailNotFound;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
get _isContentAvailable() {
|
|
218
|
+
return this._content && !this._contentImageNotFound;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
get _useThumbnail() {
|
|
222
|
+
return this._thumbnailDesign && this._isThubmnailAvailable;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
get _useContent() {
|
|
226
|
+
return !this._useThumbnail && this._isContentAvailable;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
get tabIndex() {
|
|
230
|
+
return this.disabled ? undefined : this._tabIndex;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
get _showBackgroundIcon() {
|
|
234
|
+
return this._thumbnailNotFound || this._contentImageNotFound;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
get styles() {
|
|
238
|
+
return {
|
|
239
|
+
wrapper: {
|
|
240
|
+
height: this.contentHeight,
|
|
241
|
+
},
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
get _role() {
|
|
246
|
+
return this._interactive ? "button" : undefined;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
onBeforeRendering() {
|
|
250
|
+
this._monitorLoadingError();
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
_monitorLoadingError() {
|
|
254
|
+
let callback,
|
|
255
|
+
success;
|
|
256
|
+
if (this._thumbnailDesign && this.thumbnail.length && (this._monitoredThumbnail !== this._thumbnail)) {
|
|
257
|
+
this._thumbnailNotFound = undefined; // reset flag
|
|
258
|
+
callback = this._updateThumbnailLoaded;
|
|
259
|
+
success = this._attachListeners(this._thumbnail, callback);
|
|
260
|
+
success && (this._monitoredThumbnail = this._thumbnail);
|
|
261
|
+
}
|
|
262
|
+
if (!this._useThumbnail && this.content.length && (this._monitoredContent !== this._content)) {
|
|
263
|
+
this._contentImageNotFound = undefined; // reset flag
|
|
264
|
+
callback = this._updateContentImageLoaded;
|
|
265
|
+
success = this._attachListeners(this._content, callback);
|
|
266
|
+
success && (this._monitoredContent = this._content);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
_attachListeners(element, callback) {
|
|
271
|
+
const isImg = element.tagName === "IMG",
|
|
272
|
+
img = isImg ? element : element.querySelector("img");
|
|
273
|
+
if (img) {
|
|
274
|
+
callback.call(this, img);
|
|
275
|
+
img.addEventListener("error", () => {
|
|
276
|
+
if (this.contains(img)) { // img still belongs to us
|
|
277
|
+
callback.call(this, img);
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
img.addEventListener("load", () => {
|
|
281
|
+
if (this.contains(img)) { // img still belongs to us
|
|
282
|
+
callback.call(this, img);
|
|
283
|
+
}
|
|
284
|
+
});
|
|
285
|
+
return true;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
_updateContentImageLoaded(image) {
|
|
290
|
+
this._contentImageNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
_updateThumbnailLoaded(image) {
|
|
294
|
+
this._thumbnailNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
_onkeydown(event) {
|
|
298
|
+
if (isSpace(event)) {
|
|
299
|
+
event.preventDefault();
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
if (isEnter(event)) {
|
|
303
|
+
this._fireItemClick();
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
_onkeyup(event) {
|
|
308
|
+
if (isSpace(event)) {
|
|
309
|
+
this._fireItemClick();
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
_onfocusout() {
|
|
314
|
+
this.focused = false;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
_onfocusin() {
|
|
318
|
+
this.focused = true;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
_fireItemClick() {
|
|
322
|
+
this.fireEvent("click", { item: this });
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
static get dependencies() {
|
|
326
|
+
return [
|
|
327
|
+
Icon,
|
|
328
|
+
];
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
MediaGalleryItem.define();
|
|
333
|
+
|
|
334
|
+
export default MediaGalleryItem;
|
package/src/ShellBar.hbs
CHANGED
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
@click="{{_header.press}}"
|
|
33
33
|
aria-haspopup="{{menuBtnHasPopup}}"
|
|
34
34
|
aria-expanded="{{menuPopoverExpanded}}"
|
|
35
|
+
data-ui5-stable="menu"
|
|
35
36
|
>
|
|
36
37
|
{{#if hasNonFocusableLogo}}
|
|
37
38
|
<span
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
|
|
46
47
|
{{#if primaryTitle}}
|
|
47
48
|
<h1 class="ui5-shellbar-menu-button-title">
|
|
48
|
-
<bdi
|
|
49
|
+
<bdi>{{primaryTitle}}</bdi>
|
|
49
50
|
</h1>
|
|
50
51
|
{{/if}}
|
|
51
52
|
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
{{/if}}
|
|
55
56
|
|
|
56
57
|
{{#if secondaryTitle}}
|
|
57
|
-
<h2 class="ui5-shellbar-secondary-title">{{secondaryTitle}}</h2>
|
|
58
|
+
<h2 class="ui5-shellbar-secondary-title" data-ui5-stable="secondary-title">{{secondaryTitle}}</h2>
|
|
58
59
|
{{/if}}
|
|
59
60
|
</div>
|
|
60
61
|
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
<ui5-button
|
|
90
91
|
@click={{_handleCancelButtonPress}}
|
|
91
92
|
class="ui5-shellbar-button"
|
|
93
|
+
data-ui5-stable="cancel-search"
|
|
92
94
|
>
|
|
93
95
|
Cancel
|
|
94
96
|
</ui5-button>
|
|
@@ -107,6 +109,7 @@
|
|
|
107
109
|
icon="sap-icon://search"
|
|
108
110
|
data-ui5-text="Search"
|
|
109
111
|
data-ui5-notifications-count="{{notificationsCount}}"
|
|
112
|
+
data-ui5-stable="toggle-search"
|
|
110
113
|
@click={{_handleSearchIconPress}}
|
|
111
114
|
title="{{_searchText}}"
|
|
112
115
|
._buttonAccInfo="{{accInfo.search}}"
|
|
@@ -155,20 +158,7 @@
|
|
|
155
158
|
></ui5-button>
|
|
156
159
|
|
|
157
160
|
{{#if hasProfile}}
|
|
158
|
-
|
|
159
|
-
profile-btn
|
|
160
|
-
id="{{this._id}}-item-3"
|
|
161
|
-
@click={{_handleProfilePress}}
|
|
162
|
-
style="{{styles.items.profile}}"
|
|
163
|
-
title="{{_profileText}}"
|
|
164
|
-
._buttonAccInfo="{{accInfo.profile}}"
|
|
165
|
-
class="ui5-shellbar-button ui5-shellbar-image-button"
|
|
166
|
-
data-ui5-stable="profile"
|
|
167
|
-
>
|
|
168
|
-
<slot
|
|
169
|
-
name="profile"
|
|
170
|
-
></slot>
|
|
171
|
-
</ui5-button>
|
|
161
|
+
{{> profileButton}}
|
|
172
162
|
{{/if}}
|
|
173
163
|
|
|
174
164
|
{{#if showProductSwitch}}
|
|
@@ -188,6 +178,21 @@
|
|
|
188
178
|
</div>
|
|
189
179
|
</div>
|
|
190
180
|
|
|
181
|
+
{{#*inline "profileButton"}}
|
|
182
|
+
<ui5-button
|
|
183
|
+
profile-btn
|
|
184
|
+
id="{{this._id}}-item-3"
|
|
185
|
+
@click={{_handleProfilePress}}
|
|
186
|
+
style="{{styles.items.profile}}"
|
|
187
|
+
title="{{_profileText}}"
|
|
188
|
+
._buttonAccInfo="{{accInfo.profile}}"
|
|
189
|
+
class="ui5-shellbar-button ui5-shellbar-image-button"
|
|
190
|
+
data-ui5-stable="profile"
|
|
191
|
+
>
|
|
192
|
+
<slot name="profile"></slot>
|
|
193
|
+
</ui5-button>
|
|
194
|
+
{{/inline}}
|
|
195
|
+
|
|
191
196
|
{{#*inline "coPilot"}}
|
|
192
197
|
<svg @click="{{_coPilotClick}}" focusable="false" width="44" role="presentation" aria-hidden="true" height="44" viewBox="-150 -150 300 300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ui5-shellbar-coPilot">
|
|
193
198
|
<defs>
|
package/src/ShellBar.js
CHANGED
|
@@ -5,6 +5,7 @@ import { getFeature } from "@ui5/webcomponents-base/dist/FeaturesRegistry.js";
|
|
|
5
5
|
import AnimationMode from "@ui5/webcomponents-base/dist/types/AnimationMode.js";
|
|
6
6
|
import { getAnimationMode } from "@ui5/webcomponents-base/dist/config/AnimationMode.js";
|
|
7
7
|
import { isSpace, isEnter } from "@ui5/webcomponents-base/dist/Keys.js";
|
|
8
|
+
import { renderFinished } from "@ui5/webcomponents-base/dist/Render.js";
|
|
8
9
|
import StandardListItem from "@ui5/webcomponents/dist/StandardListItem.js";
|
|
9
10
|
import List from "@ui5/webcomponents/dist/List.js";
|
|
10
11
|
import Popover from "@ui5/webcomponents/dist/Popover.js";
|
|
@@ -42,6 +43,7 @@ const HANDLE_RESIZE_DEBOUNCE_RATE = 200; // ms
|
|
|
42
43
|
const metadata = {
|
|
43
44
|
tag: "ui5-shellbar",
|
|
44
45
|
languageAware: true,
|
|
46
|
+
fastNavigation: true,
|
|
45
47
|
properties: /** @lends sap.ui.webcomponents.fiori.ShellBar.prototype */ {
|
|
46
48
|
|
|
47
49
|
/**
|
|
@@ -111,6 +113,22 @@ const metadata = {
|
|
|
111
113
|
type: Boolean,
|
|
112
114
|
},
|
|
113
115
|
|
|
116
|
+
/**
|
|
117
|
+
* An object of strings that defines several additional accessibility texts
|
|
118
|
+
* for even further customization.
|
|
119
|
+
*
|
|
120
|
+
* It supports the following fields:
|
|
121
|
+
* - <code>profileButtonTitle</code>: defines the tooltip for the profile button
|
|
122
|
+
* - <code>logoTitle</code>: defines the tooltip for the logo
|
|
123
|
+
*
|
|
124
|
+
* @type {object}
|
|
125
|
+
* @public
|
|
126
|
+
* @since 1.1.0
|
|
127
|
+
*/
|
|
128
|
+
accessibilityTexts: {
|
|
129
|
+
type: Object,
|
|
130
|
+
},
|
|
131
|
+
|
|
114
132
|
/**
|
|
115
133
|
* @private
|
|
116
134
|
*/
|
|
@@ -143,10 +161,6 @@ const metadata = {
|
|
|
143
161
|
type: Object,
|
|
144
162
|
},
|
|
145
163
|
|
|
146
|
-
_actionList: {
|
|
147
|
-
type: Object,
|
|
148
|
-
},
|
|
149
|
-
|
|
150
164
|
_header: {
|
|
151
165
|
type: Object,
|
|
152
166
|
},
|
|
@@ -371,6 +385,14 @@ const metadata = {
|
|
|
371
385
|
* <li>root - Used to style the outermost wrapper of the <code>ui5-shellbar</code></li>
|
|
372
386
|
* </ul>
|
|
373
387
|
*
|
|
388
|
+
* <h3>Keyboard Handling</h3>
|
|
389
|
+
*
|
|
390
|
+
* <h4>Fast Navigation</h4>
|
|
391
|
+
* This component provides a build in fast navigation group which can be used via <code>F6 / Shift + F6</code> or <code> Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up</code>.
|
|
392
|
+
* In order to use this functionality, you need to import the following module:
|
|
393
|
+
* <code>import "@ui5/webcomponents-base/dist/features/F6Navigation.js"</code>
|
|
394
|
+
* <br><br>
|
|
395
|
+
*
|
|
374
396
|
* <h3>ES6 Module Import</h3>
|
|
375
397
|
* <code>import "@ui5/webcomponents-fiori/dist/ShellBar";</code>
|
|
376
398
|
*
|
|
@@ -434,16 +456,6 @@ class ShellBar extends UI5Element {
|
|
|
434
456
|
// marks if preventDefault() is called in item's press handler
|
|
435
457
|
this._defaultItemPressPrevented = false;
|
|
436
458
|
|
|
437
|
-
this._actionList = {
|
|
438
|
-
itemPress: event => {
|
|
439
|
-
if (!this._defaultItemPressPrevented) {
|
|
440
|
-
this.overflowPopover.close();
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
this._defaultItemPressPrevented = false;
|
|
444
|
-
},
|
|
445
|
-
};
|
|
446
|
-
|
|
447
459
|
this.menuItemsObserver = new MutationObserver(() => {
|
|
448
460
|
this._updateClonedMenuItems();
|
|
449
461
|
});
|
|
@@ -479,7 +491,7 @@ class ShellBar extends UI5Element {
|
|
|
479
491
|
_menuItemPress(event) {
|
|
480
492
|
this.menuPopover.close();
|
|
481
493
|
this.fireEvent("menu-item-click", {
|
|
482
|
-
item: event.detail.
|
|
494
|
+
item: event.detail.selectedItems[0],
|
|
483
495
|
}, true);
|
|
484
496
|
}
|
|
485
497
|
|
|
@@ -721,6 +733,17 @@ class ShellBar extends UI5Element {
|
|
|
721
733
|
}, 100);
|
|
722
734
|
}
|
|
723
735
|
|
|
736
|
+
async _handleActionListClick(event) {
|
|
737
|
+
if (!this._defaultItemPressPrevented) {
|
|
738
|
+
this.closeOverflow();
|
|
739
|
+
// wait for DOM to be updated when ui5-popover is closed, otherwise if Enter key is hold
|
|
740
|
+
// there will be no visual indication that this has happened
|
|
741
|
+
await renderFinished();
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
this._defaultItemPressPrevented = false;
|
|
745
|
+
}
|
|
746
|
+
|
|
724
747
|
_handleCustomActionPress(event) {
|
|
725
748
|
const refItemId = event.target.getAttribute("data-ui5-external-action-item-id");
|
|
726
749
|
|
|
@@ -997,7 +1020,6 @@ class ShellBar extends UI5Element {
|
|
|
997
1020
|
"ui5-shellbar-menu-button--interactive": this.hasMenuItems,
|
|
998
1021
|
"ui5-shellbar-menu-button": true,
|
|
999
1022
|
},
|
|
1000
|
-
title: {},
|
|
1001
1023
|
items: {
|
|
1002
1024
|
notification: {
|
|
1003
1025
|
"ui5-shellbar-hidden-button": this.isIconHidden("bell"),
|
|
@@ -1106,7 +1128,7 @@ class ShellBar extends UI5Element {
|
|
|
1106
1128
|
}
|
|
1107
1129
|
|
|
1108
1130
|
get _logoText() {
|
|
1109
|
-
return ShellBar.i18nBundle.getText(SHELLBAR_LOGO);
|
|
1131
|
+
return this.accessibilityTexts.logoTitle || ShellBar.i18nBundle.getText(SHELLBAR_LOGO);
|
|
1110
1132
|
}
|
|
1111
1133
|
|
|
1112
1134
|
get _copilotText() {
|
|
@@ -1129,7 +1151,7 @@ class ShellBar extends UI5Element {
|
|
|
1129
1151
|
}
|
|
1130
1152
|
|
|
1131
1153
|
get _profileText() {
|
|
1132
|
-
return ShellBar.i18nBundle.getText(SHELLBAR_PROFILE);
|
|
1154
|
+
return this.accessibilityTexts.profileButtonTitle || ShellBar.i18nBundle.getText(SHELLBAR_PROFILE);
|
|
1133
1155
|
}
|
|
1134
1156
|
|
|
1135
1157
|
get _productsText() {
|
package/src/ShellBarItem.js
CHANGED
package/src/ShellBarPopover.hbs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@ui5-before-open={{_menuPopoverBeforeOpen}}
|
|
4
4
|
@ui5-after-close={{_menuPopoverAfterClose}}
|
|
5
5
|
>
|
|
6
|
-
<ui5-list separators="None" mode="SingleSelect" @ui5-
|
|
6
|
+
<ui5-list separators="None" mode="SingleSelect" @ui5-selection-change={{_menuItemPress}}>
|
|
7
7
|
{{#each _menuPopoverItems}}
|
|
8
8
|
{{ this }}
|
|
9
9
|
{{/each}}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@ui5-before-open={{_overflowPopoverBeforeOpen}}
|
|
18
18
|
@ui5-after-close={{_overflowPopoverAfterClose}}
|
|
19
19
|
>
|
|
20
|
-
<ui5-list separators="None" @ui5-item-
|
|
20
|
+
<ui5-list separators="None" @ui5-item-click="{{_handleActionListClick}}">
|
|
21
21
|
{{#each _hiddenIcons}}
|
|
22
22
|
<ui5-li
|
|
23
23
|
data-ui5-external-action-item-id="{{this.refItemid}}"
|
package/src/SideNavigation.js
CHANGED
|
@@ -10,6 +10,7 @@ import SideNavigationItemPopoverContentTemplate from "./generated/templates/Side
|
|
|
10
10
|
|
|
11
11
|
// Styles
|
|
12
12
|
import SideNavigationCss from "./generated/themes/SideNavigation.css.js";
|
|
13
|
+
import SideNavigationPopoverCss from "./generated/themes/SideNavigationPopover.css.js";
|
|
13
14
|
|
|
14
15
|
/**
|
|
15
16
|
* @public
|
|
@@ -17,6 +18,7 @@ import SideNavigationCss from "./generated/themes/SideNavigation.css.js";
|
|
|
17
18
|
const metadata = {
|
|
18
19
|
tag: "ui5-side-navigation",
|
|
19
20
|
managedSlots: true,
|
|
21
|
+
fastNavigation: true,
|
|
20
22
|
properties: /** @lends sap.ui.webcomponents.fiori.SideNavigation.prototype */ {
|
|
21
23
|
/**
|
|
22
24
|
* Defines whether the <code>ui5-side-navigation</code> is expanded or collapsed.
|
|
@@ -119,6 +121,14 @@ const metadata = {
|
|
|
119
121
|
* The items can consist of text only or an icon with text. The use or non-use of icons must be consistent for all items on one level.
|
|
120
122
|
* You must not combine entries with and without icons on the same level. We strongly recommend that you do not use icons on the second level.
|
|
121
123
|
*
|
|
124
|
+
* <h3>Keyboard Handling</h3>
|
|
125
|
+
*
|
|
126
|
+
* <h4>Fast Navigation</h4>
|
|
127
|
+
* This component provides a build in fast navigation group which can be used via <code>F6 / Shift + F6</code> or <code> Ctrl + Alt(Option) + Down / Ctrl + Alt(Option) + Up</code>.
|
|
128
|
+
* In order to use this functionality, you need to import the following module:
|
|
129
|
+
* <code>import "@ui5/webcomponents-base/dist/features/F6Navigation.js"</code>
|
|
130
|
+
* <br><br>
|
|
131
|
+
*
|
|
122
132
|
* <h3>ES6 Module Import</h3>
|
|
123
133
|
*
|
|
124
134
|
* <code>import "@ui5/webcomponents-fiori/dist/SideNavigation.js";</code>
|
|
@@ -142,7 +152,7 @@ class SideNavigation extends UI5Element {
|
|
|
142
152
|
}
|
|
143
153
|
|
|
144
154
|
static get staticAreaStyles() {
|
|
145
|
-
return [
|
|
155
|
+
return [SideNavigationPopoverCss];
|
|
146
156
|
}
|
|
147
157
|
|
|
148
158
|
static get render() {
|
|
@@ -280,6 +280,11 @@ class UploadCollectionItem extends ListItem {
|
|
|
280
280
|
]);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
+
onBeforeRendering() {
|
|
284
|
+
// In the base class the item can become "actionable",
|
|
285
|
+
// that's why we are overriding this method.
|
|
286
|
+
}
|
|
287
|
+
|
|
283
288
|
async _initInputField() {
|
|
284
289
|
await renderFinished();
|
|
285
290
|
|