@openui5/sap.ui.webc.fiori 1.115.1 → 1.117.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/.reuse/dep5 +0 -5
- package/THIRDPARTY.txt +1 -7
- package/package.json +4 -4
- package/src/sap/ui/webc/fiori/.library +1 -1
- package/src/sap/ui/webc/fiori/Bar.js +1 -1
- package/src/sap/ui/webc/fiori/BarcodeScannerDialog.js +1 -1
- package/src/sap/ui/webc/fiori/DynamicSideContent.js +1 -1
- package/src/sap/ui/webc/fiori/FilterItem.js +9 -1
- package/src/sap/ui/webc/fiori/FilterItemOption.js +2 -2
- package/src/sap/ui/webc/fiori/FlexibleColumnLayout.js +3 -3
- package/src/sap/ui/webc/fiori/IllustratedMessage.js +27 -1
- package/src/sap/ui/webc/fiori/MediaGallery.js +2 -2
- package/src/sap/ui/webc/fiori/MediaGalleryItem.js +1 -1
- package/src/sap/ui/webc/fiori/NotificationAction.js +17 -1
- package/src/sap/ui/webc/fiori/NotificationListGroupItem.js +9 -2
- package/src/sap/ui/webc/fiori/NotificationListItem.js +10 -3
- package/src/sap/ui/webc/fiori/Page.js +2 -2
- package/src/sap/ui/webc/fiori/ProductSwitch.js +1 -1
- package/src/sap/ui/webc/fiori/ProductSwitchItem.js +2 -3
- package/src/sap/ui/webc/fiori/ShellBar.js +49 -1
- package/src/sap/ui/webc/fiori/ShellBarItem.js +1 -1
- package/src/sap/ui/webc/fiori/SideNavigation.js +2 -2
- package/src/sap/ui/webc/fiori/SideNavigationItem.js +11 -2
- package/src/sap/ui/webc/fiori/SideNavigationSubItem.js +10 -1
- package/src/sap/ui/webc/fiori/SortItem.js +1 -1
- package/src/sap/ui/webc/fiori/Timeline.js +2 -2
- package/src/sap/ui/webc/fiori/TimelineItem.js +1 -1
- package/src/sap/ui/webc/fiori/UploadCollection.js +2 -2
- package/src/sap/ui/webc/fiori/UploadCollectionItem.js +1 -1
- package/src/sap/ui/webc/fiori/ViewSettingsDialog.js +5 -5
- package/src/sap/ui/webc/fiori/Wizard.js +23 -4
- package/src/sap/ui/webc/fiori/WizardStep.js +1 -1
- package/src/sap/ui/webc/fiori/illustrations/AddDimensions.js +9 -0
- package/src/sap/ui/webc/fiori/illustrations/AllIllustrations.js +9 -0
- package/src/sap/ui/webc/fiori/illustrations/NoColumnsSet.js +9 -0
- package/src/sap/ui/webc/fiori/illustrations/NoDimensionsSet.js +9 -0
- package/src/sap/ui/webc/fiori/illustrations/Survey.js +9 -0
- package/src/sap/ui/webc/fiori/illustrations/UploadToCloud.js +9 -0
- package/src/sap/ui/webc/fiori/library.js +97 -17
- package/src/sap/ui/webc/fiori/thirdparty/Bar.js +47 -97
- package/src/sap/ui/webc/fiori/thirdparty/BarcodeScannerDialog.js +86 -105
- package/src/sap/ui/webc/fiori/thirdparty/DynamicSideContent.js +93 -225
- package/src/sap/ui/webc/fiori/thirdparty/FilterItem.js +19 -52
- package/src/sap/ui/webc/fiori/thirdparty/FilterItemOption.js +19 -43
- package/src/sap/ui/webc/fiori/thirdparty/FlexibleColumnLayout.js +196 -333
- package/src/sap/ui/webc/fiori/thirdparty/IllustratedMessage.js +126 -267
- package/src/sap/ui/webc/fiori/thirdparty/Interfaces.js +28 -41
- package/src/sap/ui/webc/fiori/thirdparty/MediaGallery.js +105 -236
- package/src/sap/ui/webc/fiori/thirdparty/MediaGalleryItem.js +76 -164
- package/src/sap/ui/webc/fiori/thirdparty/NotificationAction.js +51 -77
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListGroupItem.js +53 -90
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListItem.js +72 -146
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListItemBase.js +67 -139
- package/src/sap/ui/webc/fiori/thirdparty/Page.js +42 -126
- package/src/sap/ui/webc/fiori/thirdparty/ProductSwitch.js +45 -65
- package/src/sap/ui/webc/fiori/thirdparty/ProductSwitchItem.js +61 -146
- package/src/sap/ui/webc/fiori/thirdparty/ShellBar.js +288 -418
- package/src/sap/ui/webc/fiori/thirdparty/ShellBarItem.js +41 -67
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigation.js +127 -141
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigationItem.js +52 -100
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigationSubItem.js +30 -62
- package/src/sap/ui/webc/fiori/thirdparty/SortItem.js +19 -42
- package/src/sap/ui/webc/fiori/thirdparty/Timeline.js +53 -96
- package/src/sap/ui/webc/fiori/thirdparty/TimelineItem.js +63 -135
- package/src/sap/ui/webc/fiori/thirdparty/UploadCollection.js +111 -207
- package/src/sap/ui/webc/fiori/thirdparty/UploadCollectionItem.js +153 -268
- package/src/sap/ui/webc/fiori/thirdparty/ViewSettingsDialog.js +154 -244
- package/src/sap/ui/webc/fiori/thirdparty/Wizard.js +165 -236
- package/src/sap/ui/webc/fiori/thirdparty/WizardStep.js +27 -117
- package/src/sap/ui/webc/fiori/thirdparty/WizardTab.js +53 -137
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Bar.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/BarcodeScannerDialog.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/DynamicSideContent.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/FlexibleColumnLayout.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/IllustratedMessage.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/InvisibleTextStyles.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/MediaGallery.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/MediaGalleryItem.css +1 -1
- 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/NotificationListItemBase.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationOverflowActionsPopover.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationPrioIcon.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Page.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ProductSwitch.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ProductSwitchItem.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ShellBar.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ShellBarPopover.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 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Timeline.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/TimelineItem.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/UploadCollection.css +1 -1
- 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/WizardPopover.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/WizardTab.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/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_exp/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/fcl-utils/FCLLayout.js +25 -55
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ar.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_bg.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ca.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_cs.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_cy.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_da.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_de.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_el.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_GB.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_sappsd.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_saprigi.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_en_US_saptrc.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_es.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_es_MX.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_et.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fi.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fr.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_fr_CA.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hi.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hr.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_hu.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_it.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_iw.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ja.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_kk.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ko.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_lt.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_lv.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ms.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_nl.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_no.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pl.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pt.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_pt_PT.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ro.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_ru.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sh.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sk.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sl.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_sv.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_th.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_tr.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_uk.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_vi.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_zh_CN.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/i18n/messagebundle_zh_TW.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_belize_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_exp/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/i18n/i18n-defaults.js +104 -29
- package/src/sap/ui/webc/fiori/thirdparty/generated/js-imports/Illustrations.js +202 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarTemplate.lit.js +3 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarcodeScannerDialogTemplate.lit.js +3 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/DynamicSideContentTemplate.lit.js +9 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FlexibleColumnLayoutTemplate.lit.js +3 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/IllustratedMessageTemplate.lit.js +28 -7
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryItemTemplate.lit.js +12 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryTemplate.lit.js +21 -7
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListGroupItemTemplate.lit.js +27 -9
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListItemTemplate.lit.js +30 -10
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/PageTemplate.lit.js +3 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchItemTemplate.lit.js +27 -9
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchTemplate.lit.js +3 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarPopoverTemplate.lit.js +9 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarTemplate.lit.js +73 -24
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationPopoverTemplate.lit.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationTemplate.lit.js +30 -10
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineItemTemplate.lit.js +21 -7
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineTemplate.lit.js +6 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionItemTemplate.lit.js +51 -15
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionTemplate.lit.js +9 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ViewSettingsDialogTemplate.lit.js +48 -16
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardPopoverTemplate.lit.js +6 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTabTemplate.lit.js +15 -5
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTemplate.lit.js +9 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Bar.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/BarcodeScannerDialog.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/DynamicSideContent.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/FlexibleColumnLayout.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/IllustratedMessage.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/InvisibleTextStyles.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGallery.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGalleryItem.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListGroupItem.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItem.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItemBase.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationOverflowActionsPopover.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationPrioIcon.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Page.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitch.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitchItem.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBar.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBarPopover.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigation.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigationPopover.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Timeline.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/TimelineItem.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollection.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollectionItem.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ViewSettingsDialog.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Wizard.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardPopover.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardTab.css.js +5 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_dark/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_exp/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +3 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddDimensions.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/AllIllustrations.js +3 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoColumnsSet.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoDimensionsSet.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/Survey.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UploadToCloud.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-AddDimensions.js +48 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoColumnsSet.js +45 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoDimensionsSet.js +49 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-Survey.js +32 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UploadToCloud.js +40 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-AddDimensions.js +44 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoColumnsSet.js +46 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoDimensionsSet.js +48 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-Survey.js +31 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UploadToCloud.js +34 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-AddDimensions.js +48 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoColumnsSet.js +46 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoDimensionsSet.js +52 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-Survey.js +42 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UploadToCloud.js +40 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/BarDesign.js +14 -26
- package/src/sap/ui/webc/fiori/thirdparty/types/FCLLayout.js +42 -56
- package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageSize.js +19 -27
- package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageType.js +128 -110
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryItemLayout.js +12 -24
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryLayout.js +13 -25
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuHorizontalAlign.js +12 -24
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuVerticalAlign.js +12 -24
- package/src/sap/ui/webc/fiori/thirdparty/types/PageBackgroundDesign.js +13 -27
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentFallDown.js +14 -26
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentPosition.js +12 -24
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentVisibility.js +15 -27
- package/src/sap/ui/webc/fiori/thirdparty/types/TimelineLayout.js +12 -25
- package/src/sap/ui/webc/fiori/thirdparty/types/UploadCollectionDnDMode.js +11 -25
- package/src/sap/ui/webc/fiori/thirdparty/types/UploadState.js +13 -27
- package/src/sap/ui/webc/fiori/thirdparty/types/ViewSettingsDialogMode.js +12 -25
- package/src/sap/ui/webc/fiori/thirdparty/types/WizardContentLayout.js +34 -0
- package/src/sap/ui/webc/fiori/thirdparty/upload-utils/UploadCollectionBodyDnD.js +2 -2
- package/ui5.yaml +10 -6
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/main/thirdparty/Icon", "sap/ui/webc/main/thirdparty/Label", "sap/ui/webc/main/thirdparty/List", "sap/ui/webc/main/thirdparty/types/ListMode", "sap/ui/webc/main/thirdparty/Title", "sap/ui/webc/common/thirdparty/icons/upload-to-cloud", "sap/ui/webc/common/thirdparty/icons/document", "./generated/i18n/i18n-defaults", "./upload-utils/UploadCollectionBodyDnD", "./types/UploadCollectionDnDMode", "./generated/templates/UploadCollectionTemplate.lit", "./generated/themes/UploadCollection.css"], function (_exports, _UI5Element, _LitRenderer, _i18nBundle, _Icon, _Label, _List, _ListMode, _Title, _uploadToCloud, _document, _i18nDefaults, _UploadCollectionBodyDnD, _UploadCollectionDnDMode, _UploadCollectionTemplate, _UploadCollection) {
|
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/renderer/LitRenderer", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/main/thirdparty/Icon", "sap/ui/webc/main/thirdparty/Label", "sap/ui/webc/main/thirdparty/List", "sap/ui/webc/main/thirdparty/types/ListMode", "sap/ui/webc/main/thirdparty/Title", "./IllustratedMessage", "./illustrations/Tent", "sap/ui/webc/common/thirdparty/icons/upload-to-cloud", "sap/ui/webc/common/thirdparty/icons/document", "./generated/i18n/i18n-defaults", "./upload-utils/UploadCollectionBodyDnD", "./types/UploadCollectionDnDMode", "./generated/templates/UploadCollectionTemplate.lit", "./generated/themes/UploadCollection.css"], function (_exports, _UI5Element, _customElement, _event, _property, _slot, _LitRenderer, _i18nBundle, _Icon, _Label, _List, _ListMode, _Title, _IllustratedMessage, _Tent, _uploadToCloud, _document, _i18nDefaults, _UploadCollectionBodyDnD, _UploadCollectionDnDMode, _UploadCollectionTemplate, _UploadCollection) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
|
@@ -6,180 +6,29 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
6
6
|
});
|
|
7
7
|
_exports.default = void 0;
|
|
8
8
|
_UI5Element = _interopRequireDefault(_UI5Element);
|
|
9
|
+
_customElement = _interopRequireDefault(_customElement);
|
|
10
|
+
_event = _interopRequireDefault(_event);
|
|
11
|
+
_property = _interopRequireDefault(_property);
|
|
12
|
+
_slot = _interopRequireDefault(_slot);
|
|
9
13
|
_LitRenderer = _interopRequireDefault(_LitRenderer);
|
|
10
14
|
_Icon = _interopRequireDefault(_Icon);
|
|
11
15
|
_Label = _interopRequireDefault(_Label);
|
|
12
16
|
_List = _interopRequireDefault(_List);
|
|
13
17
|
_ListMode = _interopRequireDefault(_ListMode);
|
|
14
18
|
_Title = _interopRequireDefault(_Title);
|
|
19
|
+
_IllustratedMessage = _interopRequireDefault(_IllustratedMessage);
|
|
15
20
|
_UploadCollectionDnDMode = _interopRequireDefault(_UploadCollectionDnDMode);
|
|
16
21
|
_UploadCollectionTemplate = _interopRequireDefault(_UploadCollectionTemplate);
|
|
17
22
|
_UploadCollection = _interopRequireDefault(_UploadCollection);
|
|
18
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*/
|
|
26
|
-
const metadata = {
|
|
27
|
-
tag: "ui5-upload-collection",
|
|
28
|
-
languageAware: true,
|
|
29
|
-
properties: /** @lends sap.ui.webcomponents.fiori.UploadCollection.prototype */{
|
|
30
|
-
/**
|
|
31
|
-
* Defines the mode of the <code>ui5-upload-collection</code>.
|
|
32
|
-
*
|
|
33
|
-
* <br><br>
|
|
34
|
-
* <b>Note:</b>
|
|
35
|
-
* <ul>
|
|
36
|
-
* <li><code>None</code></li>
|
|
37
|
-
* <li><code>SingleSelect</code></li>
|
|
38
|
-
* <li><code>MultiSelect</code></li>
|
|
39
|
-
* <li><code>Delete</code></li>
|
|
40
|
-
* </ul>
|
|
41
|
-
*
|
|
42
|
-
* @type {ListMode}
|
|
43
|
-
* @defaultvalue "None"
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
mode: {
|
|
47
|
-
type: _ListMode.default,
|
|
48
|
-
defaultValue: _ListMode.default.None
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* Allows you to set your own text for the 'No data' description.
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @defaultvalue ""
|
|
55
|
-
* @public
|
|
56
|
-
*/
|
|
57
|
-
noDataDescription: {
|
|
58
|
-
type: String
|
|
59
|
-
},
|
|
60
|
-
/**
|
|
61
|
-
* Allows you to set your own text for the 'No data' text.
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @defaultvalue ""
|
|
65
|
-
* @public
|
|
66
|
-
*/
|
|
67
|
-
noDataText: {
|
|
68
|
-
type: String
|
|
69
|
-
},
|
|
70
|
-
/**
|
|
71
|
-
* By default there will be drag and drop overlay shown over the <code>ui5-upload-collection</code> when files
|
|
72
|
-
* are dragged. If you don't intend to use drag and drop, set this property.
|
|
73
|
-
* <br><br>
|
|
74
|
-
* <b>Note:</b> It is up to the application developer to add handler for <code>drop</code> event and handle it.
|
|
75
|
-
* <code>ui5-upload-collection</code> only displays an overlay.
|
|
76
|
-
*
|
|
77
|
-
* @type {boolean}
|
|
78
|
-
* @defaultvalue false
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
hideDragOverlay: {
|
|
82
|
-
type: Boolean
|
|
83
|
-
},
|
|
84
|
-
/**
|
|
85
|
-
* Indicates what overlay to show when files are being dragged.
|
|
86
|
-
*
|
|
87
|
-
* @type {UploadCollectionDnDOverlayMode}
|
|
88
|
-
* @defaultvalue "None"
|
|
89
|
-
* @private
|
|
90
|
-
*/
|
|
91
|
-
_dndOverlayMode: {
|
|
92
|
-
type: String,
|
|
93
|
-
defaultValue: _UploadCollectionDnDMode.default.None
|
|
94
|
-
},
|
|
95
|
-
/**
|
|
96
|
-
* Defines the accessible aria name of the component.
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @defaultvalue ""
|
|
100
|
-
* @public
|
|
101
|
-
* @since 1.0.0-rc.16
|
|
102
|
-
*/
|
|
103
|
-
accessibleName: {
|
|
104
|
-
type: String
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
managedSlots: true,
|
|
108
|
-
slots: /** @lends sap.ui.webcomponents.fiori.UploadCollection.prototype */{
|
|
109
|
-
/**
|
|
110
|
-
* Defines the items of the <code>ui5-upload-collection</code>.
|
|
111
|
-
* <br><b>Note:</b> Use <code>ui5-upload-collection-item</code> for the intended design.
|
|
112
|
-
*
|
|
113
|
-
* @type {sap.ui.webcomponents.fiori.IUploadCollectionItem[]}
|
|
114
|
-
* @slot items
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
117
|
-
"default": {
|
|
118
|
-
propertyName: "items",
|
|
119
|
-
type: HTMLElement
|
|
120
|
-
},
|
|
121
|
-
/**
|
|
122
|
-
* Defines the <code>ui5-upload-collection</code> header.
|
|
123
|
-
* <br><br>
|
|
124
|
-
* <b>Note:</b> If <code>header</code> slot is provided,
|
|
125
|
-
* the labelling of the <code>UploadCollection</code> is a responsibility of the application developer.
|
|
126
|
-
* <code>accessibleName</code> should be used.
|
|
127
|
-
*
|
|
128
|
-
* @type {HTMLElement[]}
|
|
129
|
-
* @slot
|
|
130
|
-
* @public
|
|
131
|
-
*/
|
|
132
|
-
header: {
|
|
133
|
-
type: HTMLElement
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
events: /** @lends sap.ui.webcomponents.fiori.UploadCollection.prototype */{
|
|
137
|
-
/**
|
|
138
|
-
* Fired when an element is dropped inside the drag and drop overlay.
|
|
139
|
-
* <br><br>
|
|
140
|
-
* <b>Note:</b> The <code>drop</code> event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the <code>ui5-upload-collection</code>.
|
|
141
|
-
*
|
|
142
|
-
* @event sap.ui.webcomponents.fiori.UploadCollection#drop
|
|
143
|
-
* @readonly
|
|
144
|
-
* @param {DataTransfer} dataTransfer The <code>drop</code> event operation data.
|
|
145
|
-
* @public
|
|
146
|
-
* @native
|
|
147
|
-
*/
|
|
148
|
-
drop: {},
|
|
149
|
-
/**
|
|
150
|
-
* Fired when the Delete button of any item is pressed.
|
|
151
|
-
* <br><br>
|
|
152
|
-
* <b>Note:</b> A Delete button is displayed on each item,
|
|
153
|
-
* when the <code>ui5-upload-collection</code> <code>mode</code> property is set to <code>Delete</code>.
|
|
154
|
-
* @event sap.ui.webcomponents.fiori.UploadCollection#item-delete
|
|
155
|
-
* @param {HTMLElement} item The <code>ui5-upload-collection-item</code> which was renamed.
|
|
156
|
-
* @public
|
|
157
|
-
*/
|
|
158
|
-
"item-delete": {
|
|
159
|
-
detail: {
|
|
160
|
-
item: {
|
|
161
|
-
type: HTMLElement
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
/**
|
|
166
|
-
* Fired when selection is changed by user interaction
|
|
167
|
-
* in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
|
|
168
|
-
*
|
|
169
|
-
* @event sap.ui.webcomponents.fiori.UploadCollection#selection-change
|
|
170
|
-
* @param {Array} selectedItems An array of the selected items.
|
|
171
|
-
* @public
|
|
172
|
-
*/
|
|
173
|
-
"selection-change": {
|
|
174
|
-
detail: {
|
|
175
|
-
selectedItems: {
|
|
176
|
-
type: Array
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}
|
|
24
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
|
25
|
+
var c = arguments.length,
|
|
26
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
27
|
+
d;
|
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
29
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
181
30
|
};
|
|
182
|
-
|
|
31
|
+
var UploadCollection_1;
|
|
183
32
|
/**
|
|
184
33
|
* @class
|
|
185
34
|
*
|
|
@@ -194,39 +43,25 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
194
43
|
*
|
|
195
44
|
* @constructor
|
|
196
45
|
* @author SAP SE
|
|
197
|
-
* @alias sap.ui.
|
|
198
|
-
* @extends UI5Element
|
|
46
|
+
* @alias sap.ui.webc.fiori.UploadCollection
|
|
47
|
+
* @extends sap.ui.webc.base.UI5Element
|
|
199
48
|
* @tagname ui5-upload-collection
|
|
200
|
-
* @appenddocs UploadCollectionItem
|
|
49
|
+
* @appenddocs sap.ui.webc.fiori.UploadCollectionItem
|
|
201
50
|
* @public
|
|
202
51
|
* @since 1.0.0-rc.7
|
|
203
52
|
*/
|
|
204
|
-
class UploadCollection extends _UI5Element.default {
|
|
205
|
-
static get metadata() {
|
|
206
|
-
return metadata;
|
|
207
|
-
}
|
|
208
|
-
static get render() {
|
|
209
|
-
return _LitRenderer.default;
|
|
210
|
-
}
|
|
211
|
-
static get styles() {
|
|
212
|
-
return _UploadCollection.default;
|
|
213
|
-
}
|
|
214
|
-
static get template() {
|
|
215
|
-
return _UploadCollectionTemplate.default;
|
|
216
|
-
}
|
|
217
|
-
static get dependencies() {
|
|
218
|
-
return [_Icon.default, _Label.default, _List.default, _Title.default];
|
|
219
|
-
}
|
|
53
|
+
let UploadCollection = UploadCollection_1 = class UploadCollection extends _UI5Element.default {
|
|
220
54
|
static async onDefine() {
|
|
221
|
-
|
|
55
|
+
UploadCollection_1.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori");
|
|
222
56
|
}
|
|
223
57
|
constructor() {
|
|
224
58
|
super();
|
|
225
|
-
this._bodyDnDHandler =
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
59
|
+
this._bodyDnDHandler = this.bodyDnDHandler.bind(this);
|
|
60
|
+
}
|
|
61
|
+
bodyDnDHandler(e) {
|
|
62
|
+
if (this._dndOverlayMode !== _UploadCollectionDnDMode.default.Drop) {
|
|
63
|
+
this._dndOverlayMode = e.mode;
|
|
64
|
+
}
|
|
230
65
|
}
|
|
231
66
|
onEnterDOM() {
|
|
232
67
|
if (this.hideDragOverlay) {
|
|
@@ -240,29 +75,29 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
240
75
|
}
|
|
241
76
|
(0, _UploadCollectionBodyDnD.detachBodyDnDHandler)(this._bodyDnDHandler);
|
|
242
77
|
}
|
|
243
|
-
_ondragenter(
|
|
78
|
+
_ondragenter(e) {
|
|
244
79
|
if (this.hideDragOverlay) {
|
|
245
80
|
return;
|
|
246
81
|
}
|
|
247
|
-
if (!(0, _UploadCollectionBodyDnD.draggingFiles)(
|
|
82
|
+
if (!(0, _UploadCollectionBodyDnD.draggingFiles)(e)) {
|
|
248
83
|
return;
|
|
249
84
|
}
|
|
250
85
|
this._dndOverlayMode = _UploadCollectionDnDMode.default.Drop;
|
|
251
86
|
}
|
|
252
|
-
_ondrop(
|
|
87
|
+
_ondrop(e) {
|
|
253
88
|
if (this.hideDragOverlay) {
|
|
254
89
|
return;
|
|
255
90
|
}
|
|
256
|
-
if (
|
|
257
|
-
|
|
91
|
+
if (e.target !== this.shadowRoot.querySelector(".uc-dnd-overlay")) {
|
|
92
|
+
e.stopPropagation();
|
|
258
93
|
}
|
|
259
94
|
this._dndOverlayMode = _UploadCollectionDnDMode.default.None;
|
|
260
95
|
}
|
|
261
|
-
_ondragover(
|
|
96
|
+
_ondragover(e) {
|
|
262
97
|
if (this.hideDragOverlay) {
|
|
263
98
|
return;
|
|
264
99
|
}
|
|
265
|
-
|
|
100
|
+
e.preventDefault();
|
|
266
101
|
}
|
|
267
102
|
_ondragleave() {
|
|
268
103
|
if (this.hideDragOverlay) {
|
|
@@ -270,14 +105,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
270
105
|
}
|
|
271
106
|
this._dndOverlayMode = _UploadCollectionDnDMode.default.Drag;
|
|
272
107
|
}
|
|
273
|
-
_onItemDelete(
|
|
108
|
+
_onItemDelete(e) {
|
|
274
109
|
this.fireEvent("item-delete", {
|
|
275
|
-
item:
|
|
110
|
+
item: e.detail.item
|
|
276
111
|
});
|
|
277
112
|
}
|
|
278
|
-
_onSelectionChange(
|
|
113
|
+
_onSelectionChange(e) {
|
|
279
114
|
this.fireEvent("selection-change", {
|
|
280
|
-
selectedItems:
|
|
115
|
+
selectedItems: e.detail.selectedItems
|
|
281
116
|
});
|
|
282
117
|
}
|
|
283
118
|
get classes() {
|
|
@@ -301,7 +136,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
301
136
|
return this.shadowRoot.querySelector(".ui5-uc-root");
|
|
302
137
|
}
|
|
303
138
|
get _dndOverlay() {
|
|
304
|
-
return this._root
|
|
139
|
+
return this._root?.querySelector(".uc-dnd-overlay");
|
|
305
140
|
}
|
|
306
141
|
get _showDndOverlay() {
|
|
307
142
|
return this._dndOverlayMode !== _UploadCollectionDnDMode.default.None;
|
|
@@ -310,21 +145,90 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
310
145
|
return this.items.length === 0;
|
|
311
146
|
}
|
|
312
147
|
get _noDataText() {
|
|
313
|
-
return this.noDataText ||
|
|
148
|
+
return this.noDataText || UploadCollection_1.i18nBundle.getText(_i18nDefaults.UPLOADCOLLECTION_NO_DATA_TEXT);
|
|
314
149
|
}
|
|
315
150
|
get _noDataDescription() {
|
|
316
|
-
return this.noDataDescription ||
|
|
151
|
+
return this.noDataDescription || UploadCollection_1.i18nBundle.getText(_i18nDefaults.UPLOADCOLLECTION_NO_DATA_DESCRIPTION);
|
|
317
152
|
}
|
|
318
153
|
get _roleDescription() {
|
|
319
|
-
return
|
|
154
|
+
return UploadCollection_1.i18nBundle.getText(_i18nDefaults.UPLOADCOLLECTION_ARIA_ROLE_DESCRIPTION);
|
|
320
155
|
}
|
|
321
156
|
get _dndOverlayText() {
|
|
322
157
|
if (this._dndOverlayMode === _UploadCollectionDnDMode.default.Drag) {
|
|
323
|
-
return
|
|
158
|
+
return UploadCollection_1.i18nBundle.getText(_i18nDefaults.UPLOADCOLLECTION_DRAG_FILE_INDICATOR);
|
|
159
|
+
}
|
|
160
|
+
return UploadCollection_1.i18nBundle.getText(_i18nDefaults.UPLOADCOLLECTION_DROP_FILE_INDICATOR);
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
__decorate([(0, _property.default)({
|
|
164
|
+
type: _ListMode.default,
|
|
165
|
+
defaultValue: _ListMode.default.None
|
|
166
|
+
})], UploadCollection.prototype, "mode", void 0);
|
|
167
|
+
__decorate([(0, _property.default)()], UploadCollection.prototype, "noDataDescription", void 0);
|
|
168
|
+
__decorate([(0, _property.default)()], UploadCollection.prototype, "noDataText", void 0);
|
|
169
|
+
__decorate([(0, _property.default)({
|
|
170
|
+
type: Boolean
|
|
171
|
+
})], UploadCollection.prototype, "hideDragOverlay", void 0);
|
|
172
|
+
__decorate([(0, _property.default)()], UploadCollection.prototype, "accessibleName", void 0);
|
|
173
|
+
__decorate([(0, _property.default)({
|
|
174
|
+
type: _UploadCollectionDnDMode.default,
|
|
175
|
+
defaultValue: _UploadCollectionDnDMode.default.None
|
|
176
|
+
})], UploadCollection.prototype, "_dndOverlayMode", void 0);
|
|
177
|
+
__decorate([(0, _slot.default)({
|
|
178
|
+
type: HTMLElement,
|
|
179
|
+
"default": true
|
|
180
|
+
})], UploadCollection.prototype, "items", void 0);
|
|
181
|
+
__decorate([(0, _slot.default)({
|
|
182
|
+
type: HTMLElement
|
|
183
|
+
})], UploadCollection.prototype, "header", void 0);
|
|
184
|
+
UploadCollection = UploadCollection_1 = __decorate([(0, _customElement.default)({
|
|
185
|
+
tag: "ui5-upload-collection",
|
|
186
|
+
languageAware: true,
|
|
187
|
+
renderer: _LitRenderer.default,
|
|
188
|
+
styles: _UploadCollection.default,
|
|
189
|
+
template: _UploadCollectionTemplate.default,
|
|
190
|
+
dependencies: [_Icon.default, _Label.default, _List.default, _Title.default, _IllustratedMessage.default]
|
|
191
|
+
})
|
|
192
|
+
/**
|
|
193
|
+
* Fired when an element is dropped inside the drag and drop overlay.
|
|
194
|
+
* <br><br>
|
|
195
|
+
* <b>Note:</b> The <code>drop</code> event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the <code>ui5-upload-collection</code>.
|
|
196
|
+
*
|
|
197
|
+
* @event sap.ui.webc.fiori.UploadCollection#drop
|
|
198
|
+
* @readonly
|
|
199
|
+
* @param {DataTransfer} dataTransfer The <code>drop</code> event operation data.
|
|
200
|
+
* @public
|
|
201
|
+
* @native
|
|
202
|
+
*/, (0, _event.default)("drop")
|
|
203
|
+
/**
|
|
204
|
+
* Fired when the Delete button of any item is pressed.
|
|
205
|
+
* <br><br>
|
|
206
|
+
* <b>Note:</b> A Delete button is displayed on each item,
|
|
207
|
+
* when the <code>ui5-upload-collection</code> <code>mode</code> property is set to <code>Delete</code>.
|
|
208
|
+
* @event sap.ui.webc.fiori.UploadCollection#item-delete
|
|
209
|
+
* @param {HTMLElement} item The <code>ui5-upload-collection-item</code> which was renamed.
|
|
210
|
+
* @public
|
|
211
|
+
*/, (0, _event.default)("item-delete", {
|
|
212
|
+
detail: {
|
|
213
|
+
item: {
|
|
214
|
+
type: HTMLElement
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
})
|
|
218
|
+
/**
|
|
219
|
+
* Fired when selection is changed by user interaction
|
|
220
|
+
* in <code>SingleSelect</code> and <code>MultiSelect</code> modes.
|
|
221
|
+
*
|
|
222
|
+
* @event sap.ui.webc.fiori.UploadCollection#selection-change
|
|
223
|
+
* @param {Array} selectedItems An array of the selected items.
|
|
224
|
+
* @public
|
|
225
|
+
*/, (0, _event.default)("selection-change", {
|
|
226
|
+
detail: {
|
|
227
|
+
selectedItems: {
|
|
228
|
+
type: Array
|
|
324
229
|
}
|
|
325
|
-
return UploadCollection.i18nBundle.getText(_i18nDefaults.UPLOADCOLLECTION_DROP_FILE_INDICATOR);
|
|
326
230
|
}
|
|
327
|
-
}
|
|
231
|
+
})], UploadCollection);
|
|
328
232
|
UploadCollection.define();
|
|
329
233
|
var _default = UploadCollection;
|
|
330
234
|
_exports.default = _default;
|