@openui5/sap.ui.webc.fiori 1.115.0 → 1.116.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/custom-elements.json.js +1 -0
- 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 +5 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +0 -14
|
@@ -1,10 +1,16 @@
|
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/ui/webc/
|
|
1
|
+
sap.ui.define(["exports", "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/i18nBundle", "sap/ui/webc/common/thirdparty/base/types/Integer", "sap/ui/webc/common/thirdparty/base/types/ValueState", "sap/ui/webc/main/thirdparty/types/ListItemType", "sap/ui/webc/main/thirdparty/Button", "sap/ui/webc/main/thirdparty/Input", "sap/ui/webc/main/thirdparty/Label", "sap/ui/webc/main/thirdparty/Link", "sap/ui/webc/main/thirdparty/ProgressIndicator", "sap/ui/webc/main/thirdparty/ListItem", "sap/ui/webc/common/thirdparty/base/util/getFileExtension", "sap/ui/webc/common/thirdparty/base/Render", "sap/ui/webc/common/thirdparty/base/Keys", "./types/UploadState", "sap/ui/webc/common/thirdparty/icons/refresh", "sap/ui/webc/common/thirdparty/icons/stop", "sap/ui/webc/common/thirdparty/icons/edit", "./generated/i18n/i18n-defaults", "./generated/templates/UploadCollectionItemTemplate.lit", "./generated/themes/UploadCollectionItem.css"], function (_exports, _customElement, _event, _property, _slot, _i18nBundle, _Integer, _ValueState, _ListItemType, _Button, _Input, _Label, _Link, _ProgressIndicator, _ListItem, _getFileExtension, _Render, _Keys, _UploadState, _refresh, _stop, _edit, _i18nDefaults, _UploadCollectionItemTemplate, _UploadCollectionItem) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
_exports.default = void 0;
|
|
8
|
+
_customElement = _interopRequireDefault(_customElement);
|
|
9
|
+
_event = _interopRequireDefault(_event);
|
|
10
|
+
_property = _interopRequireDefault(_property);
|
|
11
|
+
_slot = _interopRequireDefault(_slot);
|
|
12
|
+
_Integer = _interopRequireDefault(_Integer);
|
|
13
|
+
_ValueState = _interopRequireDefault(_ValueState);
|
|
8
14
|
_ListItemType = _interopRequireDefault(_ListItemType);
|
|
9
15
|
_Button = _interopRequireDefault(_Button);
|
|
10
16
|
_Input = _interopRequireDefault(_Input);
|
|
@@ -12,201 +18,19 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
12
18
|
_Link = _interopRequireDefault(_Link);
|
|
13
19
|
_ProgressIndicator = _interopRequireDefault(_ProgressIndicator);
|
|
14
20
|
_ListItem = _interopRequireDefault(_ListItem);
|
|
15
|
-
_Integer = _interopRequireDefault(_Integer);
|
|
16
21
|
_getFileExtension = _interopRequireDefault(_getFileExtension);
|
|
17
22
|
_UploadState = _interopRequireDefault(_UploadState);
|
|
18
23
|
_UploadCollectionItemTemplate = _interopRequireDefault(_UploadCollectionItemTemplate);
|
|
19
24
|
_UploadCollectionItem = _interopRequireDefault(_UploadCollectionItem);
|
|
20
25
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
*/
|
|
28
|
-
const metadata = {
|
|
29
|
-
tag: "ui5-upload-collection-item",
|
|
30
|
-
languageAware: true,
|
|
31
|
-
properties: /** @lends sap.ui.webcomponents.fiori.UploadCollectionItem.prototype */{
|
|
32
|
-
/**
|
|
33
|
-
* Holds an instance of <code>File</code> associated with this item.
|
|
34
|
-
*
|
|
35
|
-
* @type {File}
|
|
36
|
-
* @defaultvalue null
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
file: {
|
|
40
|
-
type: Object,
|
|
41
|
-
defaultValue: null
|
|
42
|
-
},
|
|
43
|
-
/**
|
|
44
|
-
* The name of the file.
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @defaultvalue ""
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
fileName: {
|
|
51
|
-
type: String
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* If set to <code>true</code> the file name will be clickable and it will fire <code>file-name-click</code> event upon click.
|
|
55
|
-
*
|
|
56
|
-
* @type {boolean}
|
|
57
|
-
* @defaultvalue false
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
fileNameClickable: {
|
|
61
|
-
type: Boolean
|
|
62
|
-
},
|
|
63
|
-
/**
|
|
64
|
-
* Disables the delete button.
|
|
65
|
-
*
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @defaultvalue false
|
|
68
|
-
* @public
|
|
69
|
-
*/
|
|
70
|
-
disableDeleteButton: {
|
|
71
|
-
type: Boolean
|
|
72
|
-
},
|
|
73
|
-
/**
|
|
74
|
-
* By default, the Delete button will always be shown, regardless of the <code>ui5-upload-collection</code>'s property <code>mode</code>.
|
|
75
|
-
* Setting this property to <code>true</code> will hide the delete button.
|
|
76
|
-
*
|
|
77
|
-
* @type {boolean}
|
|
78
|
-
* @defaultvalue false
|
|
79
|
-
*/
|
|
80
|
-
hideDeleteButton: {
|
|
81
|
-
type: Boolean
|
|
82
|
-
},
|
|
83
|
-
/**
|
|
84
|
-
* Hides the retry button when <code>uploadState</code> property is <code>Error</code>.
|
|
85
|
-
*
|
|
86
|
-
* @type {boolean}
|
|
87
|
-
* @defaultvalue false
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
|
-
hideRetryButton: {
|
|
91
|
-
type: Boolean
|
|
92
|
-
},
|
|
93
|
-
/**
|
|
94
|
-
* Hides the terminate button when <code>uploadState</code> property is <code>Uploading</code>.
|
|
95
|
-
*
|
|
96
|
-
* @type {boolean}
|
|
97
|
-
* @defaultvalue false
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
hideTerminateButton: {
|
|
101
|
-
type: Boolean
|
|
102
|
-
},
|
|
103
|
-
/**
|
|
104
|
-
* The upload progress in percentage.
|
|
105
|
-
* <br><br>
|
|
106
|
-
* <b>Note:</b> Expected values are in the interval [0, 100].
|
|
107
|
-
*
|
|
108
|
-
* @type {Integer}
|
|
109
|
-
* @defaultvalue 0
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
progress: {
|
|
113
|
-
type: _Integer.default,
|
|
114
|
-
defaultValue: 0
|
|
115
|
-
},
|
|
116
|
-
/**
|
|
117
|
-
* If set to <code>Uploading</code> or <code>Error</code>, a progress indicator showing the <code>progress</code> is displayed.
|
|
118
|
-
* Also if set to <code>Error</code>, a refresh button is shown. When this icon is pressed <code>retry</code> event is fired.
|
|
119
|
-
* If set to <code>Uploading</code>, a terminate button is shown. When this icon is pressed <code>terminate</code> event is fired.
|
|
120
|
-
*
|
|
121
|
-
* @type {UploadState}
|
|
122
|
-
* @defaultvalue "Ready"
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
uploadState: {
|
|
126
|
-
type: _UploadState.default,
|
|
127
|
-
defaultValue: _UploadState.default.Ready
|
|
128
|
-
},
|
|
129
|
-
/**
|
|
130
|
-
* Indicates if editing.
|
|
131
|
-
*
|
|
132
|
-
* @type {boolean}
|
|
133
|
-
* @defaultvalue false
|
|
134
|
-
* @private
|
|
135
|
-
*/
|
|
136
|
-
_editing: {
|
|
137
|
-
type: Boolean
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
slots: /** @lends sap.ui.webcomponents.fiori.UploadCollectionItem.prototype */{
|
|
141
|
-
/**
|
|
142
|
-
* Hold the description of the <code>ui5-upload-collection-item</code>. Will be shown below the file name.
|
|
143
|
-
*
|
|
144
|
-
* @type {Node[]}
|
|
145
|
-
* @slot
|
|
146
|
-
* @public
|
|
147
|
-
*/
|
|
148
|
-
"default": {
|
|
149
|
-
type: Node
|
|
150
|
-
},
|
|
151
|
-
/**
|
|
152
|
-
* A thumbnail, which will be shown in the beginning of the <code>ui5-upload-collection-item</code>.
|
|
153
|
-
* <br><br>
|
|
154
|
-
* <b>Note:</b> Use <code>ui5-icon</code> or <code>img</code> for the intended design.
|
|
155
|
-
*
|
|
156
|
-
* @type {HTMLElement}
|
|
157
|
-
* @slot
|
|
158
|
-
* @public
|
|
159
|
-
*/
|
|
160
|
-
thumbnail: {
|
|
161
|
-
type: HTMLElement
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
events: /** @lends sap.ui.webcomponents.fiori.UploadCollectionItem.prototype */{
|
|
165
|
-
/**
|
|
166
|
-
* Fired when the file name is clicked.
|
|
167
|
-
* <br><br>
|
|
168
|
-
* <b>Note:</b> This event is only available when <code>fileNameClickable</code> property is <code>true</code>.
|
|
169
|
-
*
|
|
170
|
-
* @event sap.ui.webcomponents.fiori.UploadCollectionItem#file-name-click
|
|
171
|
-
* @public
|
|
172
|
-
*/
|
|
173
|
-
"file-name-click": {},
|
|
174
|
-
/**
|
|
175
|
-
* Fired when the <code>fileName</code> property gets changed.
|
|
176
|
-
* <br><br>
|
|
177
|
-
* <b>Note:</b> An edit button is displayed on each item,
|
|
178
|
-
* when the <code>ui5-upload-collection-item</code> <code>type</code> property is set to <code>Detail</code>.
|
|
179
|
-
*
|
|
180
|
-
* @event
|
|
181
|
-
* @public
|
|
182
|
-
*/
|
|
183
|
-
rename: {},
|
|
184
|
-
/**
|
|
185
|
-
* Fired when the terminate button is pressed.
|
|
186
|
-
* <br><br>
|
|
187
|
-
* <b>Note:</b> Terminate button is displayed when <code>uploadState</code> property is set to <code>Uploading</code>.
|
|
188
|
-
*
|
|
189
|
-
* @event
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
terminate: {},
|
|
193
|
-
/**
|
|
194
|
-
* Fired when the retry button is pressed.
|
|
195
|
-
* <br><br>
|
|
196
|
-
* <b>Note:</b> Retry button is displayed when <code>uploadState</code> property is set to <code>Error</code>.
|
|
197
|
-
* @event
|
|
198
|
-
* @public
|
|
199
|
-
*/
|
|
200
|
-
retry: {},
|
|
201
|
-
/**
|
|
202
|
-
* @since 1.0.0-rc.8
|
|
203
|
-
* @event
|
|
204
|
-
* @private
|
|
205
|
-
*/
|
|
206
|
-
"_focus-requested": {}
|
|
207
|
-
}
|
|
26
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
|
27
|
+
var c = arguments.length,
|
|
28
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
29
|
+
d;
|
|
30
|
+
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;
|
|
31
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
208
32
|
};
|
|
209
|
-
|
|
33
|
+
var UploadCollectionItem_1;
|
|
210
34
|
/**
|
|
211
35
|
* @class
|
|
212
36
|
*
|
|
@@ -219,36 +43,32 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
219
43
|
*
|
|
220
44
|
* @constructor
|
|
221
45
|
* @author SAP SE
|
|
222
|
-
* @alias sap.ui.
|
|
223
|
-
* @extends ListItem
|
|
46
|
+
* @alias sap.ui.webc.fiori.UploadCollectionItem
|
|
47
|
+
* @extends sap.ui.webc.main.ListItem
|
|
224
48
|
* @tagname ui5-upload-collection-item
|
|
225
49
|
* @public
|
|
226
|
-
* @implements sap.ui.
|
|
50
|
+
* @implements sap.ui.webc.fiori.IUploadCollectionItem
|
|
227
51
|
* @since 1.0.0-rc.7
|
|
228
52
|
*/
|
|
229
|
-
class UploadCollectionItem extends _ListItem.default {
|
|
230
|
-
static get metadata() {
|
|
231
|
-
return metadata;
|
|
232
|
-
}
|
|
233
|
-
static get styles() {
|
|
234
|
-
return [_ListItem.default.styles, _UploadCollectionItem.default];
|
|
235
|
-
}
|
|
236
|
-
static get template() {
|
|
237
|
-
return _UploadCollectionItemTemplate.default;
|
|
238
|
-
}
|
|
239
|
-
static get dependencies() {
|
|
240
|
-
return [..._ListItem.default.dependencies, _Button.default, _Input.default, _Link.default, _Label.default, _ProgressIndicator.default];
|
|
241
|
-
}
|
|
53
|
+
let UploadCollectionItem = UploadCollectionItem_1 = class UploadCollectionItem extends _ListItem.default {
|
|
242
54
|
static async onDefine() {
|
|
243
|
-
[
|
|
55
|
+
[UploadCollectionItem_1.i18nFioriBundle] = await Promise.all([(0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori"), super.onDefine()]);
|
|
244
56
|
}
|
|
245
57
|
onBeforeRendering() {
|
|
246
58
|
// In the base class the item can become "actionable",
|
|
247
59
|
// that's why we are overriding this method.
|
|
248
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* @override
|
|
63
|
+
*/
|
|
64
|
+
async onDetailClick() {
|
|
65
|
+
super.onDetailClick();
|
|
66
|
+
this._editing = true;
|
|
67
|
+
await this._initInputField();
|
|
68
|
+
}
|
|
249
69
|
async _initInputField() {
|
|
250
70
|
await (0, _Render.renderFinished)();
|
|
251
|
-
const inp = this.shadowRoot.
|
|
71
|
+
const inp = this.shadowRoot.querySelector("#ui5-uci-edit-input");
|
|
252
72
|
inp.value = this._fileNameWithoutExtension;
|
|
253
73
|
await (0, _Render.renderFinished)();
|
|
254
74
|
const inpFocusDomRef = inp.getFocusDomRef();
|
|
@@ -257,88 +77,75 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
257
77
|
inpFocusDomRef.setSelectionRange(0, this._fileNameWithoutExtension.length);
|
|
258
78
|
}
|
|
259
79
|
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
*/
|
|
264
|
-
async onDetailClick(event) {
|
|
265
|
-
super.onDetailClick(event);
|
|
266
|
-
this._editing = true;
|
|
267
|
-
await this._initInputField();
|
|
268
|
-
}
|
|
269
|
-
_onDetailKeyup(event) {
|
|
270
|
-
if ((0, _Keys.isSpace)(event)) {
|
|
271
|
-
this.onDetailClick(event);
|
|
80
|
+
_onDetailKeyup(e) {
|
|
81
|
+
if ((0, _Keys.isSpace)(e)) {
|
|
82
|
+
this.onDetailClick();
|
|
272
83
|
}
|
|
273
84
|
}
|
|
274
|
-
_onInputFocusin(
|
|
85
|
+
_onInputFocusin(e) {
|
|
275
86
|
// prevent focusing the whole upload collection item.
|
|
276
|
-
|
|
87
|
+
e.stopPropagation();
|
|
277
88
|
}
|
|
278
|
-
_onInputKeyDown(
|
|
279
|
-
if ((0, _Keys.isEscape)(
|
|
280
|
-
this._onRenameCancel(
|
|
281
|
-
} else if ((0, _Keys.isEnter)(
|
|
89
|
+
_onInputKeyDown(e) {
|
|
90
|
+
if ((0, _Keys.isEscape)(e)) {
|
|
91
|
+
this._onRenameCancel(e);
|
|
92
|
+
} else if ((0, _Keys.isEnter)(e)) {
|
|
282
93
|
this._onRename();
|
|
283
|
-
} else if ((0, _Keys.isSpace)(
|
|
284
|
-
|
|
94
|
+
} else if ((0, _Keys.isSpace)(e)) {
|
|
95
|
+
e.stopImmediatePropagation();
|
|
285
96
|
}
|
|
286
97
|
}
|
|
287
|
-
_onRename(
|
|
288
|
-
const inp = this.shadowRoot.
|
|
98
|
+
_onRename() {
|
|
99
|
+
const inp = this.shadowRoot.querySelector("#ui5-uci-edit-input");
|
|
289
100
|
this.fileName = inp.value + this._fileExtension;
|
|
290
101
|
this.fireEvent("rename");
|
|
291
102
|
this._editing = false;
|
|
292
103
|
this._focus();
|
|
293
104
|
}
|
|
294
|
-
_onRenameKeyup(
|
|
295
|
-
if ((0, _Keys.isSpace)(
|
|
296
|
-
this._onRename(
|
|
105
|
+
_onRenameKeyup(e) {
|
|
106
|
+
if ((0, _Keys.isSpace)(e)) {
|
|
107
|
+
this._onRename();
|
|
297
108
|
}
|
|
298
109
|
}
|
|
299
|
-
async _onRenameCancel(
|
|
110
|
+
async _onRenameCancel(e) {
|
|
300
111
|
this._editing = false;
|
|
301
|
-
if ((0, _Keys.isEscape)(
|
|
112
|
+
if ((0, _Keys.isEscape)(e)) {
|
|
302
113
|
await (0, _Render.renderFinished)();
|
|
303
|
-
this.shadowRoot.
|
|
114
|
+
this.shadowRoot.querySelector(`#${this._id}-editing-button`).focus();
|
|
304
115
|
} else {
|
|
305
116
|
this._focus();
|
|
306
117
|
}
|
|
307
118
|
}
|
|
308
|
-
_onRenameCancelKeyup(
|
|
309
|
-
if ((0, _Keys.isSpace)(
|
|
310
|
-
this._onRenameCancel(
|
|
119
|
+
_onRenameCancelKeyup(e) {
|
|
120
|
+
if ((0, _Keys.isSpace)(e)) {
|
|
121
|
+
this._onRenameCancel(e);
|
|
311
122
|
}
|
|
312
123
|
}
|
|
313
124
|
_focus() {
|
|
314
125
|
this.fireEvent("_focus-requested");
|
|
315
126
|
}
|
|
316
|
-
_onFileNameClick(
|
|
127
|
+
_onFileNameClick() {
|
|
317
128
|
this.fireEvent("file-name-click");
|
|
318
129
|
}
|
|
319
|
-
_onRetry(
|
|
130
|
+
_onRetry() {
|
|
320
131
|
this.fireEvent("retry");
|
|
321
132
|
}
|
|
322
|
-
_onRetryKeyup(
|
|
323
|
-
if ((0, _Keys.isSpace)(
|
|
324
|
-
this._onRetry(
|
|
133
|
+
_onRetryKeyup(e) {
|
|
134
|
+
if ((0, _Keys.isSpace)(e)) {
|
|
135
|
+
this._onRetry();
|
|
325
136
|
}
|
|
326
137
|
}
|
|
327
|
-
_onTerminate(
|
|
138
|
+
_onTerminate() {
|
|
328
139
|
this.fireEvent("terminate");
|
|
329
140
|
}
|
|
330
|
-
_onTerminateKeyup(
|
|
331
|
-
if ((0, _Keys.isSpace)(
|
|
332
|
-
this._onTerminate(
|
|
141
|
+
_onTerminateKeyup(e) {
|
|
142
|
+
if ((0, _Keys.isSpace)(e)) {
|
|
143
|
+
this._onTerminate();
|
|
333
144
|
}
|
|
334
145
|
}
|
|
335
146
|
getFocusDomRef() {
|
|
336
147
|
return this.getDomRef();
|
|
337
148
|
}
|
|
338
|
-
get list() {
|
|
339
|
-
return this.assignedSlot.parentElement;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
149
|
/**
|
|
343
150
|
* @override
|
|
344
151
|
*/
|
|
@@ -353,21 +160,18 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
353
160
|
}
|
|
354
161
|
};
|
|
355
162
|
}
|
|
356
|
-
|
|
357
163
|
/**
|
|
358
164
|
* @override
|
|
359
165
|
*/
|
|
360
166
|
get renderDeleteButton() {
|
|
361
167
|
return !this.hideDeleteButton;
|
|
362
168
|
}
|
|
363
|
-
|
|
364
169
|
/**
|
|
365
170
|
* @override
|
|
366
171
|
*/
|
|
367
172
|
get placeSelectionElementAfter() {
|
|
368
173
|
return true;
|
|
369
174
|
}
|
|
370
|
-
|
|
371
175
|
/**
|
|
372
176
|
* @override
|
|
373
177
|
*/
|
|
@@ -381,22 +185,22 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
381
185
|
return (0, _getFileExtension.default)(this.fileName);
|
|
382
186
|
}
|
|
383
187
|
get _renameBtnText() {
|
|
384
|
-
return
|
|
188
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_RENAMEBUTTON_TEXT);
|
|
385
189
|
}
|
|
386
190
|
get _cancelRenameBtnText() {
|
|
387
|
-
return
|
|
191
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_CANCELBUTTON_TEXT);
|
|
388
192
|
}
|
|
389
193
|
get _showProgressIndicator() {
|
|
390
194
|
return this.uploadState !== _UploadState.default.Complete;
|
|
391
195
|
}
|
|
392
196
|
get _progressText() {
|
|
393
197
|
if (this.uploadState === _UploadState.default.Uploading) {
|
|
394
|
-
return
|
|
198
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_UPLOADING_STATE);
|
|
395
199
|
}
|
|
396
200
|
if (this.uploadState === _UploadState.default.Error) {
|
|
397
|
-
return
|
|
201
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_ERROR_STATE);
|
|
398
202
|
}
|
|
399
|
-
return
|
|
203
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_READY_STATE);
|
|
400
204
|
}
|
|
401
205
|
get _showRetry() {
|
|
402
206
|
return !this.hideRetryButton && this.uploadState === _UploadState.default.Error;
|
|
@@ -405,24 +209,23 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
405
209
|
return !this.hideTerminateButton && this.uploadState === _UploadState.default.Uploading;
|
|
406
210
|
}
|
|
407
211
|
get _retryButtonTooltip() {
|
|
408
|
-
return
|
|
212
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_RETRY_BUTTON_TEXT);
|
|
409
213
|
}
|
|
410
214
|
get _terminateButtonTooltip() {
|
|
411
|
-
return
|
|
215
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_TERMINATE_BUTTON_TEXT);
|
|
412
216
|
}
|
|
413
217
|
get _editButtonTooltip() {
|
|
414
|
-
return
|
|
218
|
+
return UploadCollectionItem_1.i18nFioriBundle.getText(_i18nDefaults.UPLOADCOLLECTIONITEM_EDIT_BUTTON_TEXT);
|
|
415
219
|
}
|
|
416
220
|
get valueStateName() {
|
|
417
221
|
if (this.uploadState === _UploadState.default.Error) {
|
|
418
|
-
return
|
|
222
|
+
return _ValueState.default.Error;
|
|
419
223
|
}
|
|
420
224
|
if (this.uploadState === _UploadState.default.Ready || this.uploadState === _UploadState.default.Uploading) {
|
|
421
|
-
return
|
|
225
|
+
return _ValueState.default.Information;
|
|
422
226
|
}
|
|
423
|
-
return
|
|
227
|
+
return _ValueState.default.None;
|
|
424
228
|
}
|
|
425
|
-
|
|
426
229
|
/**
|
|
427
230
|
* override
|
|
428
231
|
*/
|
|
@@ -432,7 +235,89 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
432
235
|
get showEditButton() {
|
|
433
236
|
return this.type === _ListItemType.default.Detail;
|
|
434
237
|
}
|
|
435
|
-
}
|
|
238
|
+
};
|
|
239
|
+
__decorate([(0, _property.default)({
|
|
240
|
+
type: Object,
|
|
241
|
+
noAttribute: true,
|
|
242
|
+
defaultValue: null
|
|
243
|
+
})], UploadCollectionItem.prototype, "file", void 0);
|
|
244
|
+
__decorate([(0, _property.default)()], UploadCollectionItem.prototype, "fileName", void 0);
|
|
245
|
+
__decorate([(0, _property.default)({
|
|
246
|
+
type: Boolean
|
|
247
|
+
})], UploadCollectionItem.prototype, "fileNameClickable", void 0);
|
|
248
|
+
__decorate([(0, _property.default)({
|
|
249
|
+
type: Boolean,
|
|
250
|
+
noAttribute: false
|
|
251
|
+
})], UploadCollectionItem.prototype, "disableDeleteButton", void 0);
|
|
252
|
+
__decorate([(0, _property.default)({
|
|
253
|
+
type: Boolean
|
|
254
|
+
})], UploadCollectionItem.prototype, "hideDeleteButton", void 0);
|
|
255
|
+
__decorate([(0, _property.default)({
|
|
256
|
+
type: Boolean
|
|
257
|
+
})], UploadCollectionItem.prototype, "hideRetryButton", void 0);
|
|
258
|
+
__decorate([(0, _property.default)({
|
|
259
|
+
type: Boolean
|
|
260
|
+
})], UploadCollectionItem.prototype, "hideTerminateButton", void 0);
|
|
261
|
+
__decorate([(0, _property.default)({
|
|
262
|
+
validator: _Integer.default,
|
|
263
|
+
defaultValue: 0
|
|
264
|
+
})], UploadCollectionItem.prototype, "progress", void 0);
|
|
265
|
+
__decorate([(0, _property.default)({
|
|
266
|
+
type: _UploadState.default,
|
|
267
|
+
defaultValue: _UploadState.default.Ready
|
|
268
|
+
})], UploadCollectionItem.prototype, "uploadState", void 0);
|
|
269
|
+
__decorate([(0, _property.default)({
|
|
270
|
+
type: Boolean
|
|
271
|
+
})], UploadCollectionItem.prototype, "_editing", void 0);
|
|
272
|
+
__decorate([(0, _slot.default)({
|
|
273
|
+
type: HTMLElement
|
|
274
|
+
})], UploadCollectionItem.prototype, "thumbnail", void 0);
|
|
275
|
+
UploadCollectionItem = UploadCollectionItem_1 = __decorate([(0, _customElement.default)({
|
|
276
|
+
tag: "ui5-upload-collection-item",
|
|
277
|
+
languageAware: true,
|
|
278
|
+
styles: [_ListItem.default.styles, _UploadCollectionItem.default],
|
|
279
|
+
template: _UploadCollectionItemTemplate.default,
|
|
280
|
+
dependencies: [..._ListItem.default.dependencies, _Button.default, _Input.default, _Link.default, _Label.default, _ProgressIndicator.default]
|
|
281
|
+
})
|
|
282
|
+
/**
|
|
283
|
+
* Fired when the file name is clicked.
|
|
284
|
+
* <br><br>
|
|
285
|
+
* <b>Note:</b> This event is only available when <code>fileNameClickable</code> property is <code>true</code>.
|
|
286
|
+
*
|
|
287
|
+
* @event sap.ui.webc.fiori.UploadCollectionItem#file-name-click
|
|
288
|
+
* @public
|
|
289
|
+
*/, (0, _event.default)("file-name-click")
|
|
290
|
+
/**
|
|
291
|
+
* Fired when the <code>fileName</code> property gets changed.
|
|
292
|
+
* <br><br>
|
|
293
|
+
* <b>Note:</b> An edit button is displayed on each item,
|
|
294
|
+
* when the <code>ui5-upload-collection-item</code> <code>type</code> property is set to <code>Detail</code>.
|
|
295
|
+
*
|
|
296
|
+
* @event sap.ui.webc.fiori.UploadCollectionItem#rename
|
|
297
|
+
* @public
|
|
298
|
+
*/, (0, _event.default)("rename")
|
|
299
|
+
/**
|
|
300
|
+
* Fired when the terminate button is pressed.
|
|
301
|
+
* <br><br>
|
|
302
|
+
* <b>Note:</b> Terminate button is displayed when <code>uploadState</code> property is set to <code>Uploading</code>.
|
|
303
|
+
*
|
|
304
|
+
* @event sap.ui.webc.fiori.UploadCollectionItem#terminate
|
|
305
|
+
* @public
|
|
306
|
+
*/, (0, _event.default)("terminate")
|
|
307
|
+
/**
|
|
308
|
+
* Fired when the retry button is pressed.
|
|
309
|
+
* <br><br>
|
|
310
|
+
* <b>Note:</b> Retry button is displayed when <code>uploadState</code> property is set to <code>Error</code>.
|
|
311
|
+
*
|
|
312
|
+
* @event sap.ui.webc.fiori.UploadCollectionItem#retry
|
|
313
|
+
* @public
|
|
314
|
+
*/, (0, _event.default)("retry")
|
|
315
|
+
/**
|
|
316
|
+
* @since 1.0.0-rc.8
|
|
317
|
+
*
|
|
318
|
+
* @event
|
|
319
|
+
* @private
|
|
320
|
+
*/, (0, _event.default)("_focus-requested")], UploadCollectionItem);
|
|
436
321
|
UploadCollectionItem.define();
|
|
437
322
|
var _default = UploadCollectionItem;
|
|
438
323
|
_exports.default = _default;
|