@openui5/sap.ui.webc.fiori 1.98.0 → 1.99.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/package.json +4 -4
- package/src/sap/ui/webc/fiori/.library +1 -1
- package/src/sap/ui/webc/fiori/Bar.js +10 -1
- package/src/sap/ui/webc/fiori/BarcodeScannerDialog.js +4 -1
- package/src/sap/ui/webc/fiori/DynamicSideContent.js +243 -0
- package/src/sap/ui/webc/fiori/FilterItem.js +4 -1
- package/src/sap/ui/webc/fiori/FilterItemOption.js +4 -1
- package/src/sap/ui/webc/fiori/FlexibleColumnLayout.js +16 -9
- package/src/sap/ui/webc/fiori/IllustratedMessage.js +4 -1
- package/src/sap/ui/webc/fiori/MediaGallery.js +180 -0
- package/src/sap/ui/webc/fiori/MediaGalleryItem.js +115 -0
- package/src/sap/ui/webc/fiori/NotificationAction.js +4 -1
- package/src/sap/ui/webc/fiori/NotificationListGroupItem.js +4 -1
- package/src/sap/ui/webc/fiori/NotificationListItem.js +4 -1
- package/src/sap/ui/webc/fiori/Page.js +8 -5
- package/src/sap/ui/webc/fiori/ProductSwitch.js +4 -1
- package/src/sap/ui/webc/fiori/ProductSwitchItem.js +4 -1
- package/src/sap/ui/webc/fiori/ShellBar.js +18 -3
- package/src/sap/ui/webc/fiori/ShellBarItem.js +4 -1
- package/src/sap/ui/webc/fiori/SideNavigation.js +6 -1
- package/src/sap/ui/webc/fiori/SideNavigationItem.js +4 -1
- package/src/sap/ui/webc/fiori/SideNavigationSubItem.js +4 -1
- package/src/sap/ui/webc/fiori/SortItem.js +4 -1
- package/src/sap/ui/webc/fiori/Timeline.js +4 -1
- package/src/sap/ui/webc/fiori/TimelineItem.js +4 -1
- package/src/sap/ui/webc/fiori/UploadCollection.js +4 -1
- package/src/sap/ui/webc/fiori/UploadCollectionItem.js +4 -1
- package/src/sap/ui/webc/fiori/ViewSettingsDialog.js +4 -1
- package/src/sap/ui/webc/fiori/Wizard.js +17 -1
- package/src/sap/ui/webc/fiori/WizardStep.js +4 -1
- package/src/sap/ui/webc/fiori/designtime/messagebundle_ar.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_bg.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_ca.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_cs.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_cy.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_da.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_de.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_el.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_en.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_en_GB.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_en_US_sappsd.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_en_US_saprigi.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_en_US_saptrc.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_es.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_es_MX.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_et.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_fi.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_fr.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_fr_CA.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_hi.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_hr.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_hu.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_id.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_it.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_iw.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_ja.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_kk.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_ko.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_lt.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_lv.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_ms.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_nl.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_no.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_pl.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_pt.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_pt_PT.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_ro.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_ru.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_sh.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_sk.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_sl.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_sv.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_th.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_tr.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_uk.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_vi.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_zh_CN.properties +4 -0
- package/src/sap/ui/webc/fiori/designtime/messagebundle_zh_TW.properties +4 -0
- package/src/sap/ui/webc/fiori/library.config.js +3 -0
- package/src/sap/ui/webc/fiori/library.js +513 -15
- package/src/sap/ui/webc/fiori/thirdparty/Bar.js +4 -0
- package/src/sap/ui/webc/fiori/thirdparty/DynamicSideContent.js +293 -0
- package/src/sap/ui/webc/fiori/thirdparty/FlexibleColumnLayout.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/IllustratedMessage.js +2 -1
- package/src/sap/ui/webc/fiori/thirdparty/Interfaces.js +4 -0
- package/src/sap/ui/webc/fiori/thirdparty/MediaGallery.js +339 -0
- package/src/sap/ui/webc/fiori/thirdparty/MediaGalleryItem.js +194 -0
- package/src/sap/ui/webc/fiori/thirdparty/ShellBar.js +24 -20
- package/src/sap/ui/webc/fiori/thirdparty/ShellBarItem.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigation.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/UploadCollectionItem.js +2 -0
- package/src/sap/ui/webc/fiori/thirdparty/ViewSettingsDialog.js +13 -1
- package/src/sap/ui/webc/fiori/thirdparty/Wizard.js +10 -8
- package/src/sap/ui/webc/fiori/thirdparty/WizardTab.js +3 -14
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Bar.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/DynamicSideContent.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/IllustratedMessage.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/MediaGallery.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/MediaGalleryItem.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListGroupItem.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListItem.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/SideNavigation.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/SideNavigationPopover.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/UploadCollectionItem.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ViewSettingsDialog.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Wizard.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/i18n/i18n-defaults.js +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/Themes.js +8 -8
- package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/i18n.js +47 -47
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarTemplate.lit.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/DynamicSideContentTemplate.lit.js +7 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FilterItemTemplate.lit.js +2 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FlexibleColumnLayoutTemplate.lit.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryItemTemplate.lit.js +10 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryTemplate.lit.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarPopoverTemplate.lit.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarTemplate.lit.js +9 -9
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionItemTemplate.lit.js +2 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ViewSettingsDialogTemplate.lit.js +14 -11
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTemplate.lit.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Bar.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/DynamicSideContent.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/IllustratedMessage.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGallery.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGalleryItem.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListGroupItem.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItem.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigation.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigationPopover.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollectionItem.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ViewSettingsDialog.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Wizard.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddColumn.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddPeople.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/BalloonSky.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/Connection.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyCalendar.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyList.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyPlanningCalendar.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/ErrorScreen.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/FilterTable.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/GroupTable.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoFilterResults.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail_v1.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems_v1.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks_v1.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/PageNotFound.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/ReloadScreen.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/ResizeColumn.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchEarth.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchFolder.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBalloon.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBell.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCalendar.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCheckMark.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleConnection.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyDoc.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyList.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleError.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMagnifier.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMail.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNoSavedItems.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNotFoundMagnifier.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleReload.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleTask.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SleepingBell.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SortColumn.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessBalloon.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessCheckMark.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessHighFive.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessScreen.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/Tent.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoadImage.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UploadCollection.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-AddColumn.js +44 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-AddPeople.js +38 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-BalloonSky.js +40 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-Connection.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-EmptyCalendar.js +80 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-EmptyList.js +28 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-EmptyPlanningCalendar.js +85 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-ErrorScreen.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-FilterTable.js +48 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-GroupTable.js +74 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoFilterResults.js +31 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoMail_v1.js +29 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoSavedItems_v1.js +43 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoTasks_v1.js +60 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-PageNotFound.js +36 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-ReloadScreen.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-ResizeColumn.js +48 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SearchEarth.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SearchFolder.js +34 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleBalloon.js +24 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleBell.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleCalendar.js +54 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleCheckMark.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleConnection.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleEmptyDoc.js +24 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleEmptyList.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleError.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleMagnifier.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleMail.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleNoSavedItems.js +24 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleNotFoundMagnifier.js +28 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleReload.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SimpleTask.js +30 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SleepingBell.js +30 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SortColumn.js +46 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessBalloon.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessCheckMark.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessHighFive.js +52 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-SuccessScreen.js +39 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-Tent.js +33 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UnableToLoadImage.js +45 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UploadCollection.js +39 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-AddColumn.js +55 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-AddPeople.js +37 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-BalloonSky.js +49 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-Connection.js +38 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-EmptyCalendar.js +93 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-EmptyList.js +34 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-EmptyPlanningCalendar.js +98 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-ErrorScreen.js +85 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-FilterTable.js +63 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-GroupTable.js +83 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoFilterResults.js +46 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoMail_v1.js +62 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoSavedItems_v1.js +46 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoTasks_v1.js +97 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-PageNotFound.js +40 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-ReloadScreen.js +87 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-ResizeColumn.js +59 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SearchEarth.js +37 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SearchFolder.js +43 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleBalloon.js +27 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleBell.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleCalendar.js +50 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleCheckMark.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleConnection.js +29 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleEmptyDoc.js +27 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleEmptyList.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleError.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleMagnifier.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleMail.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleNoSavedItems.js +34 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleNotFoundMagnifier.js +31 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleReload.js +21 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SimpleTask.js +26 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SleepingBell.js +50 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SortColumn.js +57 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessBalloon.js +40 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessCheckMark.js +50 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessHighFive.js +34 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-SuccessScreen.js +85 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-Tent.js +61 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UnableToLoadImage.js +42 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UploadCollection.js +37 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-AddColumn.js +44 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-AddPeople.js +38 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-BalloonSky.js +36 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-Connection.js +29 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-EmptyCalendar.js +49 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-EmptyList.js +28 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-EmptyPlanningCalendar.js +85 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-ErrorScreen.js +39 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-FilterTable.js +53 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-GroupTable.js +74 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoFilterResults.js +32 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoMail_v1.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoSavedItems.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoSavedItems_v1.js +40 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoTasks_v1.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-PageNotFound.js +38 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-ReloadScreen.js +39 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-ResizeColumn.js +48 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SearchEarth.js +62 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SearchFolder.js +32 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleBalloon.js +14 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleBell.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleCalendar.js +53 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleCheckMark.js +12 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleConnection.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleEmptyDoc.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleEmptyList.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleError.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleMagnifier.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleMail.js +19 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleNoSavedItems.js +30 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleNotFoundMagnifier.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleReload.js +14 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SimpleTask.js +29 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SleepingBell.js +29 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SortColumn.js +46 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessBalloon.js +26 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessCheckMark.js +14 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessHighFive.js +38 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-SuccessScreen.js +39 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-Tent.js +31 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UnableToLoadImage.js +43 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UploadCollection.js +38 -0
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ar-f55bd0d9.js → messagebundle_ar-fca51e46.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_bg-eb73ad77.js → messagebundle_bg-50ccff83.js} +34 -7
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ca-18554b48.js → messagebundle_ca-85a06d90.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_cs-7c21900b.js → messagebundle_cs-302853ec.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_cy-04ebca8d.js → messagebundle_cy-651caccd.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_da-49bb0a1c.js → messagebundle_da-e9aa1ef6.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_de-ba618d63.js → messagebundle_de-bb6da518.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_el-7db9c5fd.js → messagebundle_el-615804b9.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en-d099f44a.js → messagebundle_en-ef2f3248.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_GB-4887b667.js → messagebundle_en_GB-01c04ea3.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_US_sappsd-65b99ab9.js → messagebundle_en_US_sappsd-e1269679.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_US_saprigi-617e6535.js → messagebundle_en_US_saprigi-489ddf5e.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_US_saptrc-6d0883b2.js → messagebundle_en_US_saptrc-10d21b5e.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_es-f7558331.js → messagebundle_es-5f0fedbb.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_es_MX-82bc00a1.js → messagebundle_es_MX-aed7f486.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_et-24b4540a.js → messagebundle_et-b3183b9f.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_fi-8dc53cb0.js → messagebundle_fi-d16defd1.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_fr-7e340939.js → messagebundle_fr-aacafdfd.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_fr_CA-d3853c9b.js → messagebundle_fr_CA-85df0db7.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_hi-78b175f0.js → messagebundle_hi-2778913a.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_hr-3ed6353c.js → messagebundle_hr-5b970689.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_hu-9af2b64b.js → messagebundle_hu-8420c634.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_it-7968f555.js → messagebundle_it-480eab3a.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_iw-30a93e6c.js → messagebundle_iw-3985bb6c.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ja-2b23c18f.js → messagebundle_ja-0ecd14b1.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_kk-847a0b84.js → messagebundle_kk-7cca1aa0.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ko-eaabc5f5.js → messagebundle_ko-dbbb031f.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_lt-ac869899.js → messagebundle_lt-89161349.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_lv-ff63b614.js → messagebundle_lv-0fa2a05f.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ms-e844b95d.js → messagebundle_ms-f62f8e47.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_nl-b644fdd4.js → messagebundle_nl-51ecab32.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_no-aedb265f.js → messagebundle_no-367e49f2.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_pl-3f303622.js → messagebundle_pl-2dbad320.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_pt-541e1fa1.js → messagebundle_pt-9607a28c.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_pt_PT-196ce616.js → messagebundle_pt_PT-9a80b85e.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ro-cbff6cf1.js → messagebundle_ro-81f50071.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ru-ff1b077c.js → messagebundle_ru-76dc702f.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sh-88cafb2d.js → messagebundle_sh-ad66acf1.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sk-877257e4.js → messagebundle_sk-d8363bca.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sl-0504465e.js → messagebundle_sl-dd40d99c.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sv-30172f15.js → messagebundle_sv-1eda9721.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_th-1e8f0c20.js → messagebundle_th-8f15355d.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_tr-1739cd9a.js → messagebundle_tr-39a41440.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_uk-b933c172.js → messagebundle_uk-2b9e0cc7.js} +29 -2
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_vi-329c5bac.js → messagebundle_vi-59c065b0.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_zh_CN-4936266e.js → messagebundle_zh_CN-ee556fa6.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_zh_TW-87ecd6ac.js → messagebundle_zh_TW-acc4d3ac.js} +28 -1
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-1856eb8c.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-2472f273.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-33b95f90.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-5623e76d.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-935ea29c.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-9857a7d4.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-cab4acfd.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-d1e906b4.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageType.js +43 -1
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryItemLayout.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryLayout.js +21 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuHorizontalAlign.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuVerticalAlign.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentFallDown.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentPosition.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentVisibility.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-061b89a5.js +0 -13
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-8bbc66c7.js +0 -13
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-8cd66b58.js +0 -13
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-b1dbb139.js +0 -13
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-b3677e4f.js +0 -13
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-c7962590.js +0 -13
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-c905672f.js +0 -13
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-d5f4bea2.js +0 -13
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', './types/SideContentPosition', './types/SideContentVisibility', './types/SideContentFallDown', './generated/templates/DynamicSideContentTemplate.lit', './generated/themes/DynamicSideContent.css', './generated/i18n/i18n-defaults'], function (UI5Element, i18nBundle, litRender, ResizeHandler, SideContentPosition, SideContentVisibility, SideContentFallDown, DynamicSideContentTemplate_lit, DynamicSideContent_css, i18nDefaults) { 'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
|
+
|
|
5
|
+
var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
6
|
+
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
7
|
+
var ResizeHandler__default = /*#__PURE__*/_interopDefaultLegacy(ResizeHandler);
|
|
8
|
+
|
|
9
|
+
const S_M_BREAKPOINT = 720,
|
|
10
|
+
M_L_BREAKPOINT = 1024,
|
|
11
|
+
L_XL_BREAKPOINT = 1440,
|
|
12
|
+
MINIMUM_WIDTH_BREAKPOINT = 960;
|
|
13
|
+
const metadata = {
|
|
14
|
+
tag: "ui5-dynamic-side-content",
|
|
15
|
+
managedSlots: true,
|
|
16
|
+
properties: {
|
|
17
|
+
hideMainContent: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
},
|
|
20
|
+
hideSideContent: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
},
|
|
23
|
+
sideContentPosition: {
|
|
24
|
+
type: SideContentPosition,
|
|
25
|
+
defaultValue: SideContentPosition.End,
|
|
26
|
+
},
|
|
27
|
+
sideContentVisibility: {
|
|
28
|
+
type: SideContentVisibility,
|
|
29
|
+
defaultValue: SideContentVisibility.ShowAboveS,
|
|
30
|
+
},
|
|
31
|
+
sideContentFallDown: {
|
|
32
|
+
type: SideContentFallDown,
|
|
33
|
+
defaultValue: SideContentFallDown.OnMinimumWidth,
|
|
34
|
+
},
|
|
35
|
+
equalSplit: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
},
|
|
38
|
+
_mcSpan: {
|
|
39
|
+
type: String,
|
|
40
|
+
defaultValue: "0",
|
|
41
|
+
noAttribute: true,
|
|
42
|
+
},
|
|
43
|
+
_scSpan: {
|
|
44
|
+
type: String,
|
|
45
|
+
defaultValue: "0",
|
|
46
|
+
noAttribute: true,
|
|
47
|
+
},
|
|
48
|
+
_toggled: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
noAttribute: true,
|
|
51
|
+
},
|
|
52
|
+
_currentBreakpoint: {
|
|
53
|
+
type: String,
|
|
54
|
+
noAttribute: true,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
slots: {
|
|
58
|
+
"default": {
|
|
59
|
+
type: HTMLElement,
|
|
60
|
+
},
|
|
61
|
+
"sideContent": {
|
|
62
|
+
type: HTMLElement,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
events: {
|
|
66
|
+
"layout-change": {
|
|
67
|
+
details: {
|
|
68
|
+
currentBreakpoint: {
|
|
69
|
+
type: String,
|
|
70
|
+
},
|
|
71
|
+
previousBreakpoint: {
|
|
72
|
+
type: String,
|
|
73
|
+
},
|
|
74
|
+
mainContentVisible: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
},
|
|
77
|
+
sideContentVisible: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
class DynamicSideContent extends UI5Element__default {
|
|
85
|
+
constructor() {
|
|
86
|
+
super();
|
|
87
|
+
this._handleResizeBound = this.handleResize.bind(this);
|
|
88
|
+
}
|
|
89
|
+
static get metadata() {
|
|
90
|
+
return metadata;
|
|
91
|
+
}
|
|
92
|
+
static get styles() {
|
|
93
|
+
return DynamicSideContent_css;
|
|
94
|
+
}
|
|
95
|
+
static get render() {
|
|
96
|
+
return litRender__default;
|
|
97
|
+
}
|
|
98
|
+
static get template() {
|
|
99
|
+
return DynamicSideContentTemplate_lit;
|
|
100
|
+
}
|
|
101
|
+
static async onDefine() {
|
|
102
|
+
DynamicSideContent.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
103
|
+
}
|
|
104
|
+
onAfterRendering() {
|
|
105
|
+
this._resizeContents();
|
|
106
|
+
}
|
|
107
|
+
onEnterDOM() {
|
|
108
|
+
ResizeHandler__default.register(this, this._handleResizeBound);
|
|
109
|
+
}
|
|
110
|
+
onExitDOM() {
|
|
111
|
+
ResizeHandler__default.deregister(this, this._handleResizeBound);
|
|
112
|
+
}
|
|
113
|
+
toggleContents() {
|
|
114
|
+
if (this.breakpoint === this.sizeS && this.sideContentVisibility !== SideContentVisibility.AlwaysShow) {
|
|
115
|
+
this._toggled = !this._toggled;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
get classes() {
|
|
119
|
+
const gridPrefix = "ui5-dsc-span",
|
|
120
|
+
mcSpan = this._toggled ? this._scSpan : this._mcSpan,
|
|
121
|
+
scSpan = this._toggled ? this._mcSpan : this._scSpan,
|
|
122
|
+
classes = {
|
|
123
|
+
main: {
|
|
124
|
+
"ui5-dsc-main": true,
|
|
125
|
+
},
|
|
126
|
+
side: {
|
|
127
|
+
"ui5-dsc-side": true,
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
classes.main[`${gridPrefix}-${mcSpan}`] = true;
|
|
131
|
+
classes.side[`${gridPrefix}-${scSpan}`] = true;
|
|
132
|
+
return classes;
|
|
133
|
+
}
|
|
134
|
+
get styles() {
|
|
135
|
+
const isToggled = this.breakpoint === this.sizeS && this._toggled,
|
|
136
|
+
mcSpan = isToggled ? this._scSpan : this._mcSpan,
|
|
137
|
+
scSpan = isToggled ? this._mcSpan : this._scSpan,
|
|
138
|
+
contentHeight = this.breakpoint === this.sizeS && this.sideContentVisibility !== SideContentVisibility.AlwaysShow ? "100%" : "auto";
|
|
139
|
+
return {
|
|
140
|
+
root: {
|
|
141
|
+
"flex-wrap": this._mcSpan === "12" ? "wrap" : "nowrap",
|
|
142
|
+
},
|
|
143
|
+
main: {
|
|
144
|
+
"height": mcSpan === this.span12 ? contentHeight : "100%",
|
|
145
|
+
"order": this.sideContentPosition === SideContentPosition.Start ? 2 : 1,
|
|
146
|
+
},
|
|
147
|
+
side: {
|
|
148
|
+
"height": scSpan === this.span12 ? contentHeight : "100%",
|
|
149
|
+
"order": this.sideContentPosition === SideContentPosition.Start ? 1 : 2,
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
get accInfo() {
|
|
154
|
+
return {
|
|
155
|
+
"label": DynamicSideContent.i18nBundle.getText(i18nDefaults.DSC_SIDE_ARIA_LABEL),
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
get sizeS() {
|
|
159
|
+
return "S";
|
|
160
|
+
}
|
|
161
|
+
get sizeM() {
|
|
162
|
+
return "M";
|
|
163
|
+
}
|
|
164
|
+
get sizeL() {
|
|
165
|
+
return "L";
|
|
166
|
+
}
|
|
167
|
+
get sizeXL() {
|
|
168
|
+
return "XL";
|
|
169
|
+
}
|
|
170
|
+
get span0() {
|
|
171
|
+
return "0";
|
|
172
|
+
}
|
|
173
|
+
get span3() {
|
|
174
|
+
return "3";
|
|
175
|
+
}
|
|
176
|
+
get span4() {
|
|
177
|
+
return "4";
|
|
178
|
+
}
|
|
179
|
+
get span6() {
|
|
180
|
+
return "6";
|
|
181
|
+
}
|
|
182
|
+
get span8() {
|
|
183
|
+
return "8";
|
|
184
|
+
}
|
|
185
|
+
get span9() {
|
|
186
|
+
return "9";
|
|
187
|
+
}
|
|
188
|
+
get span12() {
|
|
189
|
+
return "12";
|
|
190
|
+
}
|
|
191
|
+
get spanFixed() {
|
|
192
|
+
return "fixed";
|
|
193
|
+
}
|
|
194
|
+
get containerWidth() {
|
|
195
|
+
return this.parentElement.clientWidth;
|
|
196
|
+
}
|
|
197
|
+
get breakpoint() {
|
|
198
|
+
let size;
|
|
199
|
+
if (this.containerWidth <= S_M_BREAKPOINT) {
|
|
200
|
+
size = this.sizeS;
|
|
201
|
+
} else if (this.containerWidth > S_M_BREAKPOINT && this.containerWidth <= M_L_BREAKPOINT) {
|
|
202
|
+
size = this.sizeM;
|
|
203
|
+
} else if (this.containerWidth > M_L_BREAKPOINT && this.containerWidth <= L_XL_BREAKPOINT) {
|
|
204
|
+
size = this.sizeL;
|
|
205
|
+
} else {
|
|
206
|
+
size = this.sizeXL;
|
|
207
|
+
}
|
|
208
|
+
return size;
|
|
209
|
+
}
|
|
210
|
+
handleResize() {
|
|
211
|
+
this._resizeContents();
|
|
212
|
+
}
|
|
213
|
+
_resizeContents() {
|
|
214
|
+
let mainSize,
|
|
215
|
+
sideSize,
|
|
216
|
+
sideVisible;
|
|
217
|
+
switch (this.breakpoint) {
|
|
218
|
+
case this.sizeS:
|
|
219
|
+
mainSize = this.span12;
|
|
220
|
+
sideSize = this.span12;
|
|
221
|
+
break;
|
|
222
|
+
case this.sizeM:
|
|
223
|
+
if (this.sideContentFallDown === SideContentFallDown.BelowXL
|
|
224
|
+
|| this.sideContentFallDown === SideContentFallDown.BelowL
|
|
225
|
+
|| (this.containerWidth <= MINIMUM_WIDTH_BREAKPOINT && this.sideContentFallDown === SideContentFallDown.OnMinimumWidth)) {
|
|
226
|
+
mainSize = this.span12;
|
|
227
|
+
sideSize = this.span12;
|
|
228
|
+
} else {
|
|
229
|
+
mainSize = this.equalSplit ? this.span6 : this.spanFixed;
|
|
230
|
+
sideSize = this.equalSplit ? this.span6 : this.spanFixed;
|
|
231
|
+
}
|
|
232
|
+
sideVisible = this.sideContentVisibility === SideContentVisibility.ShowAboveS
|
|
233
|
+
|| this.sideContentVisibility === SideContentVisibility.AlwaysShow;
|
|
234
|
+
break;
|
|
235
|
+
case this.sizeL:
|
|
236
|
+
if (this.sideContentFallDown === SideContentFallDown.BelowXL) {
|
|
237
|
+
mainSize = this.span12;
|
|
238
|
+
sideSize = this.span12;
|
|
239
|
+
} else {
|
|
240
|
+
mainSize = this.equalSplit ? this.span6 : this.span8;
|
|
241
|
+
sideSize = this.equalSplit ? this.span6 : this.span4;
|
|
242
|
+
}
|
|
243
|
+
sideVisible = this.sideContentVisibility === SideContentVisibility.ShowAboveS
|
|
244
|
+
|| this.sideContentVisibility === SideContentVisibility.ShowAboveM
|
|
245
|
+
|| this.sideContentVisibility === SideContentVisibility.AlwaysShow;
|
|
246
|
+
break;
|
|
247
|
+
case this.sizeXL:
|
|
248
|
+
mainSize = this.equalSplit ? this.span6 : this.span9;
|
|
249
|
+
sideSize = this.equalSplit ? this.span6 : this.span3;
|
|
250
|
+
sideVisible = this.sideContentVisibility !== SideContentVisibility.NeverShow;
|
|
251
|
+
}
|
|
252
|
+
if (this.sideContentVisibility === SideContentVisibility.AlwaysShow) {
|
|
253
|
+
sideVisible = true;
|
|
254
|
+
}
|
|
255
|
+
if (this.hideSideContent) {
|
|
256
|
+
mainSize = this.hideMainContent ? this.span0 : this.span12;
|
|
257
|
+
sideSize = this.span0;
|
|
258
|
+
sideVisible = false;
|
|
259
|
+
}
|
|
260
|
+
if (this.hideMainContent) {
|
|
261
|
+
mainSize = this.span0;
|
|
262
|
+
sideSize = this.hideSideContent ? this.span0 : this.span12;
|
|
263
|
+
sideVisible = true;
|
|
264
|
+
}
|
|
265
|
+
if (!sideVisible) {
|
|
266
|
+
mainSize = this.span12;
|
|
267
|
+
sideSize = this.span0;
|
|
268
|
+
}
|
|
269
|
+
if (this._currentBreakpoint !== this.breakpoint) {
|
|
270
|
+
const eventParams = {
|
|
271
|
+
currentBreakpoint: this.breakpoint,
|
|
272
|
+
previousBreakpoint: this._currentBreakpoint,
|
|
273
|
+
mainContentVisible: mainSize !== this.span0,
|
|
274
|
+
sideContentVisible: sideSize !== this.span0,
|
|
275
|
+
};
|
|
276
|
+
this.fireEvent("layout-change", eventParams);
|
|
277
|
+
this._currentBreakpoint = this.breakpoint;
|
|
278
|
+
}
|
|
279
|
+
this._setSpanSizes(mainSize, sideSize);
|
|
280
|
+
}
|
|
281
|
+
_setSpanSizes(mainSize, sideSize) {
|
|
282
|
+
this._mcSpan = mainSize;
|
|
283
|
+
this._scSpan = sideSize;
|
|
284
|
+
if (this.breakpoint !== this.sizeS) {
|
|
285
|
+
this._toggled = false;
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
DynamicSideContent.define();
|
|
290
|
+
|
|
291
|
+
return DynamicSideContent;
|
|
292
|
+
|
|
293
|
+
});
|
|
@@ -12,6 +12,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
12
12
|
|
|
13
13
|
const metadata = {
|
|
14
14
|
tag: "ui5-flexible-column-layout",
|
|
15
|
+
fastNavigation: true,
|
|
15
16
|
properties: {
|
|
16
17
|
layout: {
|
|
17
18
|
type: FCLLayout,
|
|
@@ -23,6 +24,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
23
24
|
accessibilityTexts: {
|
|
24
25
|
type: Object,
|
|
25
26
|
},
|
|
27
|
+
accessibilityRoles: {
|
|
28
|
+
type: Object,
|
|
29
|
+
},
|
|
26
30
|
_width: {
|
|
27
31
|
type: Float__default,
|
|
28
32
|
defaultValue: 0,
|
|
@@ -354,6 +358,27 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
354
358
|
get accEndColumnText() {
|
|
355
359
|
return this.accessibilityTexts.endColumnAccessibleName || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_END_COLUMN_TXT);
|
|
356
360
|
}
|
|
361
|
+
get accStartArrowContainerText() {
|
|
362
|
+
return this.accessibilityTexts.startArrowContainerAccessibleName || undefined;
|
|
363
|
+
}
|
|
364
|
+
get accEndArrowContainerText() {
|
|
365
|
+
return this.accessibilityTexts.endArrowContainerAccessibleName || undefined;
|
|
366
|
+
}
|
|
367
|
+
get accStartColumnRole() {
|
|
368
|
+
return this.accessibilityRoles.startColumnRole || "region";
|
|
369
|
+
}
|
|
370
|
+
get accMiddleColumnRole() {
|
|
371
|
+
return this.accessibilityRoles.midColumnRole || "region";
|
|
372
|
+
}
|
|
373
|
+
get accEndColumnRole() {
|
|
374
|
+
return this.accessibilityRoles.endColumnRole || "region";
|
|
375
|
+
}
|
|
376
|
+
get accStartArrowContainerRole() {
|
|
377
|
+
return this.accessibilityRoles.startArrowContainerRole || undefined;
|
|
378
|
+
}
|
|
379
|
+
get accEndArrowContainerRole() {
|
|
380
|
+
return this.accessibilityRoles.endArrowContainerRole || undefined;
|
|
381
|
+
}
|
|
357
382
|
get _effectiveLayoutsByMedia() {
|
|
358
383
|
return this._layoutsConfiguration || FCLLayout$1.getLayoutsByMedia();
|
|
359
384
|
}
|
|
@@ -83,7 +83,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
83
83
|
const illustrationData = Illustrations.getIllustrationDataSync(this.name);
|
|
84
84
|
if (illustrationData === ILLUSTRATION_NOT_FOUND) {
|
|
85
85
|
this.invalid = true;
|
|
86
|
-
|
|
86
|
+
const illustrationPath = this.name.includes("Tnt") ? `tnt/${this.name.replace("Tnt", "")}` : this.name;
|
|
87
|
+
return console.warn(`Required illustration is not registered. You can either import the illustration as a module in order to use it e.g. "@ui5/webcomponents-fiori/dist/illustrations/${illustrationPath}.js".`);
|
|
87
88
|
}
|
|
88
89
|
this.invalid = false;
|
|
89
90
|
this.spotSvg = illustrationData.spotSvg;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
sap.ui.define(['exports'], function (exports) { 'use strict';
|
|
2
2
|
|
|
3
|
+
const IBar = "sap.ui.webcomponents.fiori.IBar";
|
|
3
4
|
const IFilterItem = "sap.ui.webcomponents.fiori.IFilterItem";
|
|
4
5
|
const IFilterItemOption = "sap.ui.webcomponents.fiori.IFilterItemOption";
|
|
6
|
+
const IMediaGalleryItem = "sap.ui.webcomponents.fiori.IMediaGalleryItem";
|
|
5
7
|
const INotificationAction = "sap.ui.webcomponents.fiori.INotificationAction";
|
|
6
8
|
const INotificationListItem = "sap.ui.webcomponents.fiori.INotificationListItem";
|
|
7
9
|
const IProductSwitchItem = "sap.ui.webcomponents.fiori.IProductSwitchItem";
|
|
@@ -13,8 +15,10 @@ sap.ui.define(['exports'], function (exports) { 'use strict';
|
|
|
13
15
|
const IUploadCollectionItem = "sap.ui.webcomponents.fiori.IUploadCollectionItem";
|
|
14
16
|
const IWizardStep = "sap.ui.webcomponents.fiori.IWizardStep";
|
|
15
17
|
|
|
18
|
+
exports.IBar = IBar;
|
|
16
19
|
exports.IFilterItem = IFilterItem;
|
|
17
20
|
exports.IFilterItemOption = IFilterItemOption;
|
|
21
|
+
exports.IMediaGalleryItem = IMediaGalleryItem;
|
|
18
22
|
exports.INotificationAction = INotificationAction;
|
|
19
23
|
exports.INotificationListItem = INotificationListItem;
|
|
20
24
|
exports.IProductSwitchItem = IProductSwitchItem;
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/common/thirdparty/base/MediaRange', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/common/thirdparty/base/types/NavigationMode', 'sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/main/thirdparty/Button', 'sap/ui/webc/main/thirdparty/Carousel', './MediaGalleryItem', './types/MediaGalleryItemLayout', './types/MediaGalleryLayout', './types/MediaGalleryMenuHorizontalAlign', './types/MediaGalleryMenuVerticalAlign', './generated/templates/MediaGalleryTemplate.lit', './generated/themes/MediaGallery.css'], function (ItemNavigation, ResizeHandler, Device, MediaRange, litRender, Integer, NavigationMode, UI5Element, Button, Carousel, MediaGalleryItem, MediaGalleryItemLayout, MediaGalleryLayout, MediaGalleryMenuHorizontalAlign, MediaGalleryMenuVerticalAlign, MediaGalleryTemplate_lit, MediaGallery_css) { 'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
|
+
|
|
5
|
+
var ItemNavigation__default = /*#__PURE__*/_interopDefaultLegacy(ItemNavigation);
|
|
6
|
+
var ResizeHandler__default = /*#__PURE__*/_interopDefaultLegacy(ResizeHandler);
|
|
7
|
+
var MediaRange__default = /*#__PURE__*/_interopDefaultLegacy(MediaRange);
|
|
8
|
+
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
9
|
+
var Integer__default = /*#__PURE__*/_interopDefaultLegacy(Integer);
|
|
10
|
+
var NavigationMode__default = /*#__PURE__*/_interopDefaultLegacy(NavigationMode);
|
|
11
|
+
var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
12
|
+
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
13
|
+
var Carousel__default = /*#__PURE__*/_interopDefaultLegacy(Carousel);
|
|
14
|
+
|
|
15
|
+
const COLUMNS_COUNT = {
|
|
16
|
+
"S": 1,
|
|
17
|
+
"M": 2,
|
|
18
|
+
"L": 3,
|
|
19
|
+
"XL": 4,
|
|
20
|
+
};
|
|
21
|
+
const metadata = {
|
|
22
|
+
tag: "ui5-media-gallery",
|
|
23
|
+
managedSlots: true,
|
|
24
|
+
slots: {
|
|
25
|
+
"default": {
|
|
26
|
+
propertyName: "items",
|
|
27
|
+
type: HTMLElement,
|
|
28
|
+
individualSlots: true,
|
|
29
|
+
invalidateOnChildChange: true,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
properties: {
|
|
33
|
+
showAllThumbnails: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
},
|
|
36
|
+
interactiveDisplayArea: {
|
|
37
|
+
type: Boolean,
|
|
38
|
+
},
|
|
39
|
+
layout: {
|
|
40
|
+
type: MediaGalleryLayout,
|
|
41
|
+
defaultValue: "Auto",
|
|
42
|
+
},
|
|
43
|
+
menuHorizontalAlign: {
|
|
44
|
+
type: MediaGalleryMenuHorizontalAlign,
|
|
45
|
+
defaultValue: MediaGalleryMenuHorizontalAlign.Left,
|
|
46
|
+
},
|
|
47
|
+
menuVerticalAlign: {
|
|
48
|
+
type: MediaGalleryMenuVerticalAlign,
|
|
49
|
+
defaultValue: MediaGalleryMenuVerticalAlign.Bottom,
|
|
50
|
+
},
|
|
51
|
+
effectiveLayout: {
|
|
52
|
+
type: MediaGalleryLayout,
|
|
53
|
+
defaultValue: "Vertical",
|
|
54
|
+
},
|
|
55
|
+
mediaRange: {
|
|
56
|
+
type: String,
|
|
57
|
+
},
|
|
58
|
+
_overflowSize: {
|
|
59
|
+
type: Integer__default,
|
|
60
|
+
noAttribute: true,
|
|
61
|
+
defaultValue: 0,
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
events: {
|
|
65
|
+
"selection-change": {
|
|
66
|
+
detail: {
|
|
67
|
+
item: { type: HTMLElement },
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
"overflow-click": {},
|
|
71
|
+
"display-area-click": {},
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
class MediaGallery extends UI5Element__default {
|
|
75
|
+
constructor() {
|
|
76
|
+
super();
|
|
77
|
+
this._onResize = this._updateLayout.bind(this);
|
|
78
|
+
this._selectedItem = null;
|
|
79
|
+
this._initItemNavigation();
|
|
80
|
+
}
|
|
81
|
+
onEnterDOM() {
|
|
82
|
+
!Device.isPhone() && ResizeHandler__default.register(this, this._onResize);
|
|
83
|
+
}
|
|
84
|
+
onExitDOM() {
|
|
85
|
+
!Device.isPhone() && ResizeHandler__default.deregister(this, this._onResize);
|
|
86
|
+
}
|
|
87
|
+
onAfterRendering() {
|
|
88
|
+
this._updateLayout();
|
|
89
|
+
this._updateSelection();
|
|
90
|
+
}
|
|
91
|
+
_initItemNavigation() {
|
|
92
|
+
if (!this._itemNavigation) {
|
|
93
|
+
this._itemNavigation = new ItemNavigation__default(this, {
|
|
94
|
+
navigationMode: NavigationMode__default.Auto,
|
|
95
|
+
getItemsCallback: () => this._getFocusableItems(),
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
_updateSelection() {
|
|
100
|
+
let itemToSelect = this.items.find(item => item.selected);
|
|
101
|
+
if (!itemToSelect || !this._isSelectableItem(itemToSelect)) {
|
|
102
|
+
itemToSelect = this._findSelectableItem();
|
|
103
|
+
}
|
|
104
|
+
if (itemToSelect && itemToSelect !== this._selectedItem) {
|
|
105
|
+
this._selectItem(itemToSelect);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
_isSelectableItem(item) {
|
|
109
|
+
return !item.disabled && !item.hidden;
|
|
110
|
+
}
|
|
111
|
+
_findSelectableItem() {
|
|
112
|
+
return this.items.find(this._isSelectableItem);
|
|
113
|
+
}
|
|
114
|
+
_updateMediaRange(width) {
|
|
115
|
+
this.mediaRange = MediaRange__default.getCurrentRange(MediaRange__default.RANGESETS.RANGE_4STEPS, width);
|
|
116
|
+
}
|
|
117
|
+
_updateLayout() {
|
|
118
|
+
const rootNode = this.getDomRef(),
|
|
119
|
+
height = rootNode.offsetHeight,
|
|
120
|
+
width = rootNode.offsetWidth;
|
|
121
|
+
if (!width || !height || Device.isPhone()) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
this._updateMediaRange(width);
|
|
125
|
+
this.effectiveLayout = this._infereffectiveLayout();
|
|
126
|
+
this._overflowSize = this._calculateOverflowSize(width, height);
|
|
127
|
+
this._toggleDisplaySquareSize(this._shouldHaveSquareDisplay);
|
|
128
|
+
this._toggleMainItem9x16size(this._shouldHaveWideDisplay);
|
|
129
|
+
}
|
|
130
|
+
_calculateOverflowSize(width, height) {
|
|
131
|
+
const marginSize = MediaGallery.THUMBNAIL_MARGIN;
|
|
132
|
+
let columnHeight,
|
|
133
|
+
columnsCount;
|
|
134
|
+
if (this.showAllThumbnails) {
|
|
135
|
+
return 0;
|
|
136
|
+
}
|
|
137
|
+
if (this.effectiveLayout === MediaGalleryLayout.Horizontal) {
|
|
138
|
+
columnHeight = height - marginSize;
|
|
139
|
+
columnsCount = this.showAllThumbnails ? COLUMNS_COUNT[this.mediaRange] : 1;
|
|
140
|
+
} else {
|
|
141
|
+
columnHeight = width - (marginSize * 2);
|
|
142
|
+
columnsCount = 1;
|
|
143
|
+
}
|
|
144
|
+
return this._getOverflowSize(columnHeight, columnsCount);
|
|
145
|
+
}
|
|
146
|
+
_toggleDisplaySquareSize(enable) {
|
|
147
|
+
this._display.style.width = "";
|
|
148
|
+
if (enable) {
|
|
149
|
+
const marginSize = MediaGallery.THUMBNAIL_MARGIN,
|
|
150
|
+
width = this._display.offsetWidth;
|
|
151
|
+
let availableHeight = this.getDomRef().offsetHeight - (2 * marginSize);
|
|
152
|
+
if (this.effectiveLayout === MediaGalleryLayout.Vertical) {
|
|
153
|
+
availableHeight -= (MediaGallery.THUMBNAIL_HEIGHT + marginSize);
|
|
154
|
+
}
|
|
155
|
+
if (width > availableHeight) {
|
|
156
|
+
this._display.style.width = `${availableHeight}px`;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
_toggleMainItem9x16size(enable) {
|
|
161
|
+
if (!this._mainItem) {
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
const width = this._mainItem.offsetWidth,
|
|
165
|
+
contentHeight = enable ? `${(width / 16) * 9}px` : "";
|
|
166
|
+
this._mainItem.contentHeight = contentHeight;
|
|
167
|
+
}
|
|
168
|
+
_infereffectiveLayout() {
|
|
169
|
+
if (this.layout === MediaGalleryLayout.Auto) {
|
|
170
|
+
return (this._isPhoneSize) ? MediaGalleryLayout.Vertical
|
|
171
|
+
: MediaGalleryLayout.Horizontal;
|
|
172
|
+
}
|
|
173
|
+
return this.layout;
|
|
174
|
+
}
|
|
175
|
+
_getMaxAllowedThumbnailsInColumn(columnHeight) {
|
|
176
|
+
let maxAllowedItems = Math.floor(columnHeight / MediaGallery.THUMBNAIL_HEIGHT);
|
|
177
|
+
if (!this.showAllThumbnails) {
|
|
178
|
+
maxAllowedItems = Math.min(maxAllowedItems, 5);
|
|
179
|
+
}
|
|
180
|
+
return maxAllowedItems;
|
|
181
|
+
}
|
|
182
|
+
_getOverflowSize(columnHeight, columnsCount) {
|
|
183
|
+
const maxAlowedThumbnailsInColumn = this._getMaxAllowedThumbnailsInColumn(columnHeight),
|
|
184
|
+
overflowSize = Math.max(0, this.items.length - maxAlowedThumbnailsInColumn * columnsCount);
|
|
185
|
+
return (overflowSize > 0) ? overflowSize + 1 : 0;
|
|
186
|
+
}
|
|
187
|
+
_getFocusableItems() {
|
|
188
|
+
if (!this._showThumbnails) {
|
|
189
|
+
return [];
|
|
190
|
+
}
|
|
191
|
+
const items = this._visibleItems.filter(item => !item.disabled);
|
|
192
|
+
if (this._overflowBtn) {
|
|
193
|
+
items.push(this._overflowBtn);
|
|
194
|
+
}
|
|
195
|
+
return items;
|
|
196
|
+
}
|
|
197
|
+
_selectItem(item, userInteraction) {
|
|
198
|
+
if (item === this._selectedItem) {
|
|
199
|
+
return;
|
|
200
|
+
}
|
|
201
|
+
this._selectedItem = item;
|
|
202
|
+
this._updateSelectedFlag(item);
|
|
203
|
+
this._itemNavigation.setCurrentItem(item);
|
|
204
|
+
if (userInteraction) {
|
|
205
|
+
this.fireEvent("selection-change", { item });
|
|
206
|
+
}
|
|
207
|
+
if (Device.isPhone()) {
|
|
208
|
+
this._selectItemOnPhone(item);
|
|
209
|
+
} else {
|
|
210
|
+
this._displayContent(item);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
_updateSelectedFlag(itemToSelect) {
|
|
214
|
+
this.items.forEach(next => { next.selected = false; });
|
|
215
|
+
itemToSelect.selected = true;
|
|
216
|
+
}
|
|
217
|
+
_selectItemOnPhone(item) {
|
|
218
|
+
const selectableItemIndex = this._selectableItems.indexOf(item),
|
|
219
|
+
carousel = this._carousel;
|
|
220
|
+
carousel && carousel.navigateTo(selectableItemIndex);
|
|
221
|
+
}
|
|
222
|
+
_displayContent(item) {
|
|
223
|
+
let clone;
|
|
224
|
+
const mainItem = this._mainItem,
|
|
225
|
+
oldContent = mainItem._content,
|
|
226
|
+
newContent = item._content;
|
|
227
|
+
mainItem._thumbnailDesign = false;
|
|
228
|
+
oldContent && oldContent.remove();
|
|
229
|
+
if (newContent) {
|
|
230
|
+
clone = newContent.cloneNode(true);
|
|
231
|
+
mainItem.layout = item.layout;
|
|
232
|
+
mainItem.appendChild(clone);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
_onThumbnailClick(event) {
|
|
236
|
+
const item = event.target.closest("ui5-media-gallery-item");
|
|
237
|
+
if (item.disabled) {
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
if (item !== this._selectedItem) {
|
|
241
|
+
this._selectItem(item, true );
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
_onOverflowBtnClick() {
|
|
245
|
+
this.fireEvent("overflow-click");
|
|
246
|
+
}
|
|
247
|
+
_onDisplayAreaClick(event) {
|
|
248
|
+
if (!this.interactiveDisplayArea) {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
this.fireEvent("display-area-click");
|
|
252
|
+
}
|
|
253
|
+
_onCarouselNavigate(event) {
|
|
254
|
+
const selectedIndex = event.detail.selectedIndex,
|
|
255
|
+
item = this._selectableItems[selectedIndex];
|
|
256
|
+
this.fireEvent("selection-change", { item });
|
|
257
|
+
}
|
|
258
|
+
get _mainItemTabIndex() {
|
|
259
|
+
return this.interactiveDisplayArea ? 0 : undefined;
|
|
260
|
+
}
|
|
261
|
+
get _selectableItems() {
|
|
262
|
+
return this.items.filter(this._isSelectableItem);
|
|
263
|
+
}
|
|
264
|
+
get _carousel() {
|
|
265
|
+
return this.shadowRoot.querySelector("[ui5-carousel]");
|
|
266
|
+
}
|
|
267
|
+
get _display() {
|
|
268
|
+
return this.shadowRoot.querySelector(".ui5-media-gallery-display");
|
|
269
|
+
}
|
|
270
|
+
get _mainItem() {
|
|
271
|
+
return this.shadowRoot.querySelector(".ui5-media-gallery-display [ui5-media-gallery-item]");
|
|
272
|
+
}
|
|
273
|
+
get _overflowBtn() {
|
|
274
|
+
return this.shadowRoot.querySelector(".ui5-media-gallery-overflow [ui5-button]");
|
|
275
|
+
}
|
|
276
|
+
get _visibleItems() {
|
|
277
|
+
const visibleItemsCount = this.items.length - this._overflowSize;
|
|
278
|
+
return this.items.slice(0, visibleItemsCount);
|
|
279
|
+
}
|
|
280
|
+
get _isPhonePlatform() {
|
|
281
|
+
return Device.isPhone();
|
|
282
|
+
}
|
|
283
|
+
get _showThumbnails() {
|
|
284
|
+
return !Device.isPhone();
|
|
285
|
+
}
|
|
286
|
+
get _showOverflowBtn() {
|
|
287
|
+
return this._overflowSize > 0;
|
|
288
|
+
}
|
|
289
|
+
get _isPhoneSize() {
|
|
290
|
+
return this.mediaRange === "S";
|
|
291
|
+
}
|
|
292
|
+
get _mainItemHasWideLayout() {
|
|
293
|
+
return this._mainItem && (this._mainItem.layout === MediaGalleryItemLayout.Wide);
|
|
294
|
+
}
|
|
295
|
+
get _shouldHaveWideDisplay() {
|
|
296
|
+
return this._mainItemHasWideLayout
|
|
297
|
+
&& this.showAllThumbnails
|
|
298
|
+
&& (this.effectiveLayout === MediaGalleryLayout.Horizontal);
|
|
299
|
+
}
|
|
300
|
+
get _shouldHaveSquareDisplay() {
|
|
301
|
+
return !this._shouldHaveWideDisplay;
|
|
302
|
+
}
|
|
303
|
+
static get metadata() {
|
|
304
|
+
return metadata;
|
|
305
|
+
}
|
|
306
|
+
static get render() {
|
|
307
|
+
return litRender__default;
|
|
308
|
+
}
|
|
309
|
+
static get template() {
|
|
310
|
+
return MediaGalleryTemplate_lit;
|
|
311
|
+
}
|
|
312
|
+
static get staticAreaTemplate() {
|
|
313
|
+
return MediaGalleryTemplate_lit;
|
|
314
|
+
}
|
|
315
|
+
static get styles() {
|
|
316
|
+
return [MediaGallery_css];
|
|
317
|
+
}
|
|
318
|
+
static get staticAreaStyles() {
|
|
319
|
+
return null;
|
|
320
|
+
}
|
|
321
|
+
static get dependencies() {
|
|
322
|
+
return [
|
|
323
|
+
MediaGalleryItem,
|
|
324
|
+
Button__default,
|
|
325
|
+
Carousel__default,
|
|
326
|
+
];
|
|
327
|
+
}
|
|
328
|
+
static get THUMBNAIL_HEIGHT() {
|
|
329
|
+
return 80;
|
|
330
|
+
}
|
|
331
|
+
static get THUMBNAIL_MARGIN() {
|
|
332
|
+
return 16;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
MediaGallery.define();
|
|
336
|
+
|
|
337
|
+
return MediaGallery;
|
|
338
|
+
|
|
339
|
+
});
|