@ui5/webcomponents-fiori 1.0.1 → 1.1.2
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 +68 -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 +596 -0
- package/dist/MediaGalleryItem.js +337 -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 +753 -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 +54 -0
- package/dist/i18n/messagebundle_en_US_saprigi.properties +54 -0
- package/dist/i18n/messagebundle_en_US_saptrc.properties +54 -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/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-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-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-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 +596 -0
- package/src/MediaGalleryItem.hbs +22 -0
- package/src/MediaGalleryItem.js +337 -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 +54 -0
- package/src/i18n/messagebundle_en_US_saprigi.properties +54 -0
- package/src/i18n/messagebundle_en_US_saptrc.properties +54 -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-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-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-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,337 @@
|
|
|
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 "@ui5/webcomponents-icons/dist/background.js";
|
|
7
|
+
import MediaGalleryItemLayout from "./types/MediaGalleryItemLayout.js";
|
|
8
|
+
// Template
|
|
9
|
+
import MediaGalleryItemTemplate from "./generated/templates/MediaGalleryItemTemplate.lit.js";
|
|
10
|
+
// Styles
|
|
11
|
+
import MediaGalleryItemCss from "./generated/themes/MediaGalleryItem.css.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
const metadata = {
|
|
17
|
+
tag: "ui5-media-gallery-item",
|
|
18
|
+
managedSlots: true,
|
|
19
|
+
properties: /** @lends sap.ui.webcomponents.fiori.MediaGalleryItem.prototype */ {
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Defines the selected state of the component.
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @defaultvalue false
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
selected: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Defines whether the component is in disabled state.
|
|
34
|
+
*
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @defaultvalue false
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
disabled: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Determines the layout of the item container.
|
|
45
|
+
* <br><br>
|
|
46
|
+
* Available options are:
|
|
47
|
+
* <ul>
|
|
48
|
+
* <li><code>Square</code></li>
|
|
49
|
+
* <li><code>Wide</code></li>
|
|
50
|
+
* </ul>
|
|
51
|
+
*
|
|
52
|
+
* @type {MediaGalleryItemLayout}
|
|
53
|
+
* @defaultvalue "Square"
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
56
|
+
layout: {
|
|
57
|
+
type: MediaGalleryItemLayout,
|
|
58
|
+
defaultValue: MediaGalleryItemLayout.Square,
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @private
|
|
63
|
+
*/
|
|
64
|
+
_interactive: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
},
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @private
|
|
70
|
+
*/
|
|
71
|
+
_square: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @private
|
|
77
|
+
*/
|
|
78
|
+
_contentImageNotFound: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
},
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @private
|
|
84
|
+
*/
|
|
85
|
+
_thumbnailNotFound: {
|
|
86
|
+
type: Boolean,
|
|
87
|
+
},
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @private
|
|
91
|
+
*/
|
|
92
|
+
_thumbnailDesign: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Indicates whether the element is focused.
|
|
98
|
+
*
|
|
99
|
+
* @private
|
|
100
|
+
*/
|
|
101
|
+
focused: {
|
|
102
|
+
type: Boolean,
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @private
|
|
107
|
+
*/
|
|
108
|
+
_tabIndex: {
|
|
109
|
+
type: String,
|
|
110
|
+
defaultValue: undefined,
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @private
|
|
115
|
+
*/
|
|
116
|
+
contentHeight: {
|
|
117
|
+
type: String,
|
|
118
|
+
noAttribute: true,
|
|
119
|
+
defaultValue: "",
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
slots: /** @lends sap.ui.webcomponents.fiori.MediaGalleryItem.prototype */ {
|
|
123
|
+
/**
|
|
124
|
+
* Defines the content of the component.
|
|
125
|
+
*
|
|
126
|
+
* @type {HTMLElement[]}
|
|
127
|
+
* @slot
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
"default": {
|
|
131
|
+
propertyName: "content",
|
|
132
|
+
type: HTMLElement,
|
|
133
|
+
},
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Defines the content of the thumbnail.
|
|
137
|
+
*
|
|
138
|
+
* @type {HTMLElement[]}
|
|
139
|
+
* @slot
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
"thumbnail": {
|
|
143
|
+
propertyName: "thumbnail",
|
|
144
|
+
type: HTMLElement,
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @class
|
|
151
|
+
* <h3 class="comment-api-title">Overview</h3>
|
|
152
|
+
* The <code>ui5-media-gallery-item</code> web component represents the items displayed in the
|
|
153
|
+
* <code>ui5-media-gallery</code> web component.
|
|
154
|
+
* <br><br>
|
|
155
|
+
* <b>Note:</b> <code>ui5-media-gallery-item</code> is not supported when used outside of <code>ui5-media-gallery</code>.
|
|
156
|
+
* <br><br>
|
|
157
|
+
*
|
|
158
|
+
* <h3>Keyboard Handling</h3>
|
|
159
|
+
* The <code>ui5-media-gallery</code> provides advanced keyboard handling.
|
|
160
|
+
* When focused, the user can use the following keyboard
|
|
161
|
+
* shortcuts in order to perform a navigation:
|
|
162
|
+
* <br>
|
|
163
|
+
* <ul>
|
|
164
|
+
* <li>[SPACE/ENTER/RETURN] - Trigger <code>ui5-click</code> event</li>
|
|
165
|
+
* </ul>
|
|
166
|
+
*
|
|
167
|
+
* <h3>ES6 Module Import</h3>
|
|
168
|
+
* <code>import "@ui5/webcomponents-fiori/dist/MediaGalleryItem.js";</code>
|
|
169
|
+
*
|
|
170
|
+
* @constructor
|
|
171
|
+
* @author SAP SE
|
|
172
|
+
* @alias sap.ui.webcomponents.fiori.MediaGalleryItem
|
|
173
|
+
* @extends sap.ui.webcomponents.base.UI5Element
|
|
174
|
+
* @tagname ui5-media-gallery-item
|
|
175
|
+
* @public
|
|
176
|
+
* @implements sap.ui.webcomponents.fiori.IMediaGalleryItem
|
|
177
|
+
* @since 1.1.0
|
|
178
|
+
*/
|
|
179
|
+
class MediaGalleryItem extends UI5Element {
|
|
180
|
+
constructor() {
|
|
181
|
+
super();
|
|
182
|
+
this._monitoredContent = null;
|
|
183
|
+
this._monitoredThumbnail = null;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
onEnterDOM() {
|
|
187
|
+
this._thumbnailDesign = !isPhone();
|
|
188
|
+
this._interactive = !isPhone();
|
|
189
|
+
this._square = true;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
static get metadata() {
|
|
193
|
+
return metadata;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
static get render() {
|
|
197
|
+
return litRender;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
static get styles() {
|
|
201
|
+
return MediaGalleryItemCss;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
static get template() {
|
|
205
|
+
return MediaGalleryItemTemplate;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
get _thumbnail() {
|
|
209
|
+
return this.thumbnail.length && this.thumbnail[0];
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
get _content() {
|
|
213
|
+
return this.content.length && this.content[0];
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
get _isThubmnailAvailable() {
|
|
217
|
+
return this._thumbnail && !this._thumbnailNotFound;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
get _isContentAvailable() {
|
|
221
|
+
return this._content && !this._contentImageNotFound;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
get _useThumbnail() {
|
|
225
|
+
return this._thumbnailDesign && this._isThubmnailAvailable;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
get _useContent() {
|
|
229
|
+
return !this._useThumbnail && this._isContentAvailable;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
get tabIndex() {
|
|
233
|
+
return this.disabled ? undefined : this._tabIndex;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
get _showBackgroundIcon() {
|
|
237
|
+
return this._thumbnailNotFound || this._contentImageNotFound;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
get styles() {
|
|
241
|
+
return {
|
|
242
|
+
wrapper: {
|
|
243
|
+
height: this.contentHeight,
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
get _role() {
|
|
249
|
+
return this._interactive ? "button" : undefined;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
onBeforeRendering() {
|
|
253
|
+
this._monitorLoadingError();
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
_monitorLoadingError() {
|
|
257
|
+
let callback,
|
|
258
|
+
success;
|
|
259
|
+
if (this._thumbnailDesign && this.thumbnail.length && (this._monitoredThumbnail !== this._thumbnail)) {
|
|
260
|
+
this._thumbnailNotFound = undefined; // reset flag
|
|
261
|
+
callback = this._updateThumbnailLoaded;
|
|
262
|
+
success = this._attachListeners(this._thumbnail, callback);
|
|
263
|
+
success && (this._monitoredThumbnail = this._thumbnail);
|
|
264
|
+
}
|
|
265
|
+
if (!this._useThumbnail && this.content.length && (this._monitoredContent !== this._content)) {
|
|
266
|
+
this._contentImageNotFound = undefined; // reset flag
|
|
267
|
+
callback = this._updateContentImageLoaded;
|
|
268
|
+
success = this._attachListeners(this._content, callback);
|
|
269
|
+
success && (this._monitoredContent = this._content);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
_attachListeners(element, callback) {
|
|
274
|
+
const isImg = element.tagName === "IMG",
|
|
275
|
+
img = isImg ? element : element.querySelector("img");
|
|
276
|
+
if (img) {
|
|
277
|
+
callback.call(this, img);
|
|
278
|
+
img.addEventListener("error", () => {
|
|
279
|
+
if (this.contains(img)) { // img still belongs to us
|
|
280
|
+
callback.call(this, img);
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
img.addEventListener("load", () => {
|
|
284
|
+
if (this.contains(img)) { // img still belongs to us
|
|
285
|
+
callback.call(this, img);
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
return true;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
_updateContentImageLoaded(image) {
|
|
293
|
+
this._contentImageNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
_updateThumbnailLoaded(image) {
|
|
297
|
+
this._thumbnailNotFound = image.naturalHeight === 0 && image.naturalWidth === 0;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
_onkeydown(event) {
|
|
301
|
+
if (isSpace(event)) {
|
|
302
|
+
event.preventDefault();
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (isEnter(event)) {
|
|
306
|
+
this._fireItemClick();
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
_onkeyup(event) {
|
|
311
|
+
if (isSpace(event)) {
|
|
312
|
+
this._fireItemClick();
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
_onfocusout() {
|
|
317
|
+
this.focused = false;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
_onfocusin() {
|
|
321
|
+
this.focused = true;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
_fireItemClick() {
|
|
325
|
+
this.fireEvent("click", { item: this });
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
static get dependencies() {
|
|
329
|
+
return [
|
|
330
|
+
Icon,
|
|
331
|
+
];
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
MediaGalleryItem.define();
|
|
336
|
+
|
|
337
|
+
export default MediaGalleryItem;
|
package/dist/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/dist/ShellBarItem.js
CHANGED
package/dist/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
|
|
|
@@ -195,7 +195,7 @@ const metadata = {
|
|
|
195
195
|
*
|
|
196
196
|
* <h3>ES6 Module Import</h3>
|
|
197
197
|
*
|
|
198
|
-
* <code>import "@ui5/webcomponents/dist/ViewSettingsDialog";</code>
|
|
198
|
+
* <code>import "@ui5/webcomponents-fiori/dist/ViewSettingsDialog";</code>
|
|
199
199
|
*
|
|
200
200
|
* @constructor
|
|
201
201
|
* @author SAP SE
|
|
@@ -219,6 +219,10 @@ class ViewSettingsDialog extends UI5Element {
|
|
|
219
219
|
if (this._currentSettings.filters && this._currentSettings.filters.length) {
|
|
220
220
|
this._setAdditionalTexts();
|
|
221
221
|
}
|
|
222
|
+
|
|
223
|
+
if (!this.shouldBuildSort && this.shouldBuildFilter) {
|
|
224
|
+
this._currentMode = ViewSettingsDialogMode.Filter;
|
|
225
|
+
}
|
|
222
226
|
}
|
|
223
227
|
|
|
224
228
|
_setAdditionalTexts() {
|
|
@@ -279,6 +283,18 @@ class ViewSettingsDialog extends UI5Element {
|
|
|
279
283
|
return "";
|
|
280
284
|
}
|
|
281
285
|
|
|
286
|
+
get shouldBuildSort() {
|
|
287
|
+
return !!this.sortItems.length;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
get shouldBuildFilter() {
|
|
291
|
+
return !!this.filterItems.length;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
get hasPagination() {
|
|
295
|
+
return this.shouldBuildSort && this.shouldBuildFilter;
|
|
296
|
+
}
|
|
297
|
+
|
|
282
298
|
get _filterByTitle() {
|
|
283
299
|
return `${ViewSettingsDialog.i18nBundle.getText(VSD_FILTER_BY)}: ${this._selectedFilter.text}`;
|
|
284
300
|
}
|
|
@@ -494,7 +510,7 @@ class ViewSettingsDialog extends UI5Element {
|
|
|
494
510
|
* Sets focus on recently used control within the dialog.
|
|
495
511
|
*/
|
|
496
512
|
_focusRecentlyUsedControl() {
|
|
497
|
-
if (!Object.keys(this._recentlyFocused).length) {
|
|
513
|
+
if (!this._recentlyFocused || !Object.keys(this._recentlyFocused).length) {
|
|
498
514
|
return;
|
|
499
515
|
}
|
|
500
516
|
const recentlyFocusedSelectedItems = this._recentlyFocused.getSelectedItems(),
|
package/dist/Wizard.js
CHANGED
|
@@ -56,6 +56,7 @@ const STEP_SWITCH_THRESHOLDS = {
|
|
|
56
56
|
const metadata = {
|
|
57
57
|
tag: "ui5-wizard",
|
|
58
58
|
managedSlots: true,
|
|
59
|
+
fastNavigation: true,
|
|
59
60
|
properties: /** @lends sap.ui.webcomponents.fiori.Wizard.prototype */ {
|
|
60
61
|
/**
|
|
61
62
|
* Defines the width of the <code>ui5-wizard</code>.
|
|
@@ -160,6 +161,24 @@ const metadata = {
|
|
|
160
161
|
* <br>
|
|
161
162
|
* <b>Note:</b> If multiple selected steps are defined, the last step will be selected.
|
|
162
163
|
*
|
|
164
|
+
* <h3>Keyboard Handling</h3>
|
|
165
|
+
* The user can navigate using the following keyboard shortcuts:
|
|
166
|
+
* <br>
|
|
167
|
+
*
|
|
168
|
+
* <h4>Wizard Progress Navigation</h4>
|
|
169
|
+
* <ul>
|
|
170
|
+
* <li>[LEFT], [DOWN] - Focus moves backward to the WizardProgressNavAnchors.</li>
|
|
171
|
+
* <li>[UP], [RIGHT] - Focus moves forward to the WizardProgressNavAnchor.</li>
|
|
172
|
+
* <li>[SPACE] or [ENTER], [RETURN] - Selects an active step</li>
|
|
173
|
+
* <li>[HOME] or [PAGE UP] - Focus goes to the first step</li>
|
|
174
|
+
* <li>[END] or [PAGE DOWN] - Focus goes to the last step</li>
|
|
175
|
+
* </ul>
|
|
176
|
+
*
|
|
177
|
+
* <h4>Fast Navigation</h4>
|
|
178
|
+
* 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>.
|
|
179
|
+
* In order to use this functionality, you need to import the following module:
|
|
180
|
+
* <code>import "@ui5/webcomponents-base/dist/features/F6Navigation.js"</code>
|
|
181
|
+
*
|
|
163
182
|
* <h4>Content</h4>
|
|
164
183
|
* The content occupies the main part of the page. It can hold any type of HTML elements.
|
|
165
184
|
* It's defined by using the <code>ui5-wizard-step</code> as slotted element within the <code>ui5-wizard</code>.
|
|
@@ -243,7 +262,7 @@ class Wizard extends UI5Element {
|
|
|
243
262
|
this.selectionRequestedByScroll = false;
|
|
244
263
|
|
|
245
264
|
this._itemNavigation = new ItemNavigation(this, {
|
|
246
|
-
navigationMode: NavigationMode.
|
|
265
|
+
navigationMode: NavigationMode.Auto,
|
|
247
266
|
getItemsCallback: () => this.enabledStepsInHeaderDOM,
|
|
248
267
|
});
|
|
249
268
|
|
|
@@ -301,10 +320,6 @@ class Wizard extends UI5Element {
|
|
|
301
320
|
return 25;
|
|
302
321
|
}
|
|
303
322
|
|
|
304
|
-
static get CONTENT_TOP_OFFSET() {
|
|
305
|
-
return 32;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
323
|
static get staticAreaTemplate() {
|
|
309
324
|
return WizardPopoverTemplate;
|
|
310
325
|
}
|
|
@@ -405,7 +420,7 @@ class Wizard extends UI5Element {
|
|
|
405
420
|
storeStepScrollOffsets() {
|
|
406
421
|
this.stepScrollOffsets = this.slottedSteps.map(step => {
|
|
407
422
|
const contentItem = this.getStepWrapperByRefId(step._id);
|
|
408
|
-
return contentItem.offsetTop + contentItem.offsetHeight
|
|
423
|
+
return contentItem.offsetTop + contentItem.offsetHeight;
|
|
409
424
|
});
|
|
410
425
|
}
|
|
411
426
|
|
|
@@ -693,9 +708,11 @@ class Wizard extends UI5Element {
|
|
|
693
708
|
|
|
694
709
|
get _steps() {
|
|
695
710
|
const lastEnabledStepIndex = this.getLastEnabledStepIndex();
|
|
711
|
+
const stepsInfo = this.getStepsInfo();
|
|
696
712
|
|
|
697
713
|
return this.steps.map((step, idx) => {
|
|
698
714
|
step.stretch = idx === lastEnabledStepIndex;
|
|
715
|
+
step.stepContentAriaLabel = `${this.navStepDefaultHeading} ${stepsInfo[idx].number} ${stepsInfo[idx].titleText}`;
|
|
699
716
|
return step;
|
|
700
717
|
});
|
|
701
718
|
}
|
|
@@ -745,7 +762,7 @@ class Wizard extends UI5Element {
|
|
|
745
762
|
}
|
|
746
763
|
|
|
747
764
|
get enabledStepsInHeaderDOM() {
|
|
748
|
-
return this.stepsInHeaderDOM
|
|
765
|
+
return this.stepsInHeaderDOM;
|
|
749
766
|
}
|
|
750
767
|
|
|
751
768
|
get phoneMode() {
|
|
@@ -973,8 +990,11 @@ class Wizard extends UI5Element {
|
|
|
973
990
|
*/
|
|
974
991
|
switchSelectionFromOldToNewStep(selectedStep, stepToSelect, stepToSelectIndex, changeWithClick) {
|
|
975
992
|
if (selectedStep && stepToSelect) {
|
|
976
|
-
|
|
977
|
-
stepToSelect.
|
|
993
|
+
// keep the selection if next step is disabled
|
|
994
|
+
if (!stepToSelect.disabled) {
|
|
995
|
+
selectedStep.selected = false;
|
|
996
|
+
stepToSelect.selected = true;
|
|
997
|
+
}
|
|
978
998
|
|
|
979
999
|
this.fireEvent("step-change", {
|
|
980
1000
|
step: stepToSelect,
|