@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,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/webc/main/thirdparty/List", "sap/ui/webc/main/thirdparty/Button", "sap/ui/webc/main/thirdparty/BusyIndicator", "sap/ui/webc/main/thirdparty/Icon", "sap/ui/webc/main/thirdparty/Popover", "./NotificationListItemBase", "./generated/i18n/i18n-defaults", "./generated/templates/NotificationListGroupItemTemplate.lit", "./generated/themes/NotificationListGroupItem.css"], function (_exports, _Priority, _List, _Button, _BusyIndicator, _Icon, _Popover, _NotificationListItemBase, _i18nDefaults, _NotificationListGroupItemTemplate, _NotificationListGroupItem) {
|
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/main/thirdparty/List", "sap/ui/webc/main/thirdparty/Button", "sap/ui/webc/main/thirdparty/BusyIndicator", "sap/ui/webc/main/thirdparty/Icon", "sap/ui/webc/main/thirdparty/Popover", "./NotificationListItemBase", "sap/ui/webc/common/thirdparty/icons/navigation-right-arrow", "sap/ui/webc/common/thirdparty/icons/overflow", "sap/ui/webc/common/thirdparty/icons/decline", "./generated/i18n/i18n-defaults", "./generated/templates/NotificationListGroupItemTemplate.lit", "./generated/themes/NotificationListGroupItem.css"], function (_exports, _Priority, _customElement, _property, _slot, _event, _List, _Button, _BusyIndicator, _Icon, _Popover, _NotificationListItemBase, _navigationRightArrow, _overflow, _decline, _i18nDefaults, _NotificationListGroupItemTemplate, _NotificationListGroupItem) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(_exports, "__esModule", {
|
|
@@ -6,6 +6,10 @@ sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/
|
|
|
6
6
|
});
|
|
7
7
|
_exports.default = void 0;
|
|
8
8
|
_Priority = _interopRequireDefault(_Priority);
|
|
9
|
+
_customElement = _interopRequireDefault(_customElement);
|
|
10
|
+
_property = _interopRequireDefault(_property);
|
|
11
|
+
_slot = _interopRequireDefault(_slot);
|
|
12
|
+
_event = _interopRequireDefault(_event);
|
|
9
13
|
_List = _interopRequireDefault(_List);
|
|
10
14
|
_Button = _interopRequireDefault(_Button);
|
|
11
15
|
_BusyIndicator = _interopRequireDefault(_BusyIndicator);
|
|
@@ -15,64 +19,14 @@ sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/
|
|
|
15
19
|
_NotificationListGroupItemTemplate = _interopRequireDefault(_NotificationListGroupItemTemplate);
|
|
16
20
|
_NotificationListGroupItem = _interopRequireDefault(_NotificationListGroupItem);
|
|
17
21
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
const metadata = {
|
|
28
|
-
tag: "ui5-li-notification-group",
|
|
29
|
-
languageAware: true,
|
|
30
|
-
managedSlots: true,
|
|
31
|
-
properties: /** @lends sap.ui.webcomponents.fiori.NotificationListGroupItem.prototype */{
|
|
32
|
-
/**
|
|
33
|
-
* Defines if the group is collapsed or expanded.
|
|
34
|
-
* @type {boolean}
|
|
35
|
-
* @defaultvalue false
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
38
|
-
collapsed: {
|
|
39
|
-
type: Boolean
|
|
40
|
-
},
|
|
41
|
-
/**
|
|
42
|
-
* Defines if the items <code>counter</code> would be displayed.
|
|
43
|
-
* @type {boolean}
|
|
44
|
-
* @defaultvalue false
|
|
45
|
-
* @public
|
|
46
|
-
*/
|
|
47
|
-
showCounter: {
|
|
48
|
-
type: Boolean
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
slots: /** @lends sap.ui.webcomponents.fiori.NotificationListGroupItem.prototype */{
|
|
52
|
-
/**
|
|
53
|
-
* Defines the items of the <code>ui5-li-notification-group</code>,
|
|
54
|
-
* usually <code>ui5-li-notification</code> items.
|
|
55
|
-
*
|
|
56
|
-
* @type {sap.ui.webcomponents.fiori.INotificationListItem[]}
|
|
57
|
-
* @slot items
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
"default": {
|
|
61
|
-
propertyName: "items",
|
|
62
|
-
type: HTMLElement
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
events: /** @lends sap.ui.webcomponents.fiori.NotificationListGroupItem.prototype */{
|
|
66
|
-
/**
|
|
67
|
-
* Fired when the <code>ui5-li-notification-group</code> is expanded/collapsed by user interaction.
|
|
68
|
-
*
|
|
69
|
-
* @event
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
toggle: {}
|
|
73
|
-
}
|
|
22
|
+
var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {
|
|
23
|
+
var c = arguments.length,
|
|
24
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
25
|
+
d;
|
|
26
|
+
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;
|
|
27
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
74
28
|
};
|
|
75
|
-
|
|
29
|
+
var NotificationListGroupItem_1;
|
|
76
30
|
/**
|
|
77
31
|
* @class
|
|
78
32
|
*
|
|
@@ -109,30 +63,20 @@ sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/
|
|
|
109
63
|
* <code>import "@ui5/webcomponents/dist/NotificationAction.js";</code> (optional)
|
|
110
64
|
* @constructor
|
|
111
65
|
* @author SAP SE
|
|
112
|
-
* @alias sap.ui.
|
|
113
|
-
* @extends NotificationListItemBase
|
|
66
|
+
* @alias sap.ui.webc.fiori.NotificationListGroupItem
|
|
67
|
+
* @extends sap.ui.webc.fiori.NotificationListItemBase
|
|
114
68
|
* @tagname ui5-li-notification-group
|
|
115
69
|
* @since 1.0.0-rc.8
|
|
116
|
-
* @appenddocs NotificationAction
|
|
117
|
-
* @implements sap.ui.
|
|
70
|
+
* @appenddocs sap.ui.webc.fiori.NotificationAction
|
|
71
|
+
* @implements sap.ui.webc.main.IListItem
|
|
118
72
|
* @public
|
|
119
73
|
*/
|
|
120
|
-
class NotificationListGroupItem extends _NotificationListItemBase.default {
|
|
121
|
-
static get metadata() {
|
|
122
|
-
return metadata;
|
|
123
|
-
}
|
|
124
|
-
static get styles() {
|
|
125
|
-
return _NotificationListGroupItem.default;
|
|
126
|
-
}
|
|
127
|
-
static get template() {
|
|
128
|
-
return _NotificationListGroupItemTemplate.default;
|
|
129
|
-
}
|
|
74
|
+
let NotificationListGroupItem = NotificationListGroupItem_1 = class NotificationListGroupItem extends _NotificationListItemBase.default {
|
|
130
75
|
onBeforeRendering() {
|
|
131
76
|
if (this.busy) {
|
|
132
77
|
this.clearChildBusyIndicator();
|
|
133
78
|
}
|
|
134
79
|
}
|
|
135
|
-
|
|
136
80
|
/**
|
|
137
81
|
* Clears child items busy state to show a single busy over the entire group,
|
|
138
82
|
* instead of multiple BusyIndicator instances
|
|
@@ -142,33 +86,30 @@ sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/
|
|
|
142
86
|
item.busy = false;
|
|
143
87
|
});
|
|
144
88
|
}
|
|
145
|
-
static get dependencies() {
|
|
146
|
-
return [_List.default, _Button.default, _Icon.default, _BusyIndicator.default, _Popover.default];
|
|
147
|
-
}
|
|
148
89
|
get itemsCount() {
|
|
149
90
|
return this.items.length;
|
|
150
91
|
}
|
|
151
92
|
get overflowBtnAccessibleName() {
|
|
152
|
-
return
|
|
93
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);
|
|
153
94
|
}
|
|
154
95
|
get closeBtnAccessibleName() {
|
|
155
|
-
return
|
|
96
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_CLOSE_BTN_TITLE);
|
|
156
97
|
}
|
|
157
98
|
get toggleBtnAccessibleName() {
|
|
158
99
|
if (this.collapsed) {
|
|
159
|
-
return
|
|
100
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_EXPAND_TITLE);
|
|
160
101
|
}
|
|
161
|
-
return
|
|
102
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_COLLAPSE_TITLE);
|
|
162
103
|
}
|
|
163
104
|
get priorityText() {
|
|
164
105
|
if (this.priority === _Priority.default.High) {
|
|
165
|
-
return
|
|
106
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);
|
|
166
107
|
}
|
|
167
108
|
if (this.priority === _Priority.default.Medium) {
|
|
168
|
-
return
|
|
109
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);
|
|
169
110
|
}
|
|
170
111
|
if (this.priority === _Priority.default.Low) {
|
|
171
|
-
return
|
|
112
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);
|
|
172
113
|
}
|
|
173
114
|
return "";
|
|
174
115
|
}
|
|
@@ -177,15 +118,15 @@ sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/
|
|
|
177
118
|
}
|
|
178
119
|
get readText() {
|
|
179
120
|
if (this.read) {
|
|
180
|
-
return
|
|
121
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_READ);
|
|
181
122
|
}
|
|
182
|
-
return
|
|
123
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
|
|
183
124
|
}
|
|
184
125
|
get groupText() {
|
|
185
|
-
return
|
|
126
|
+
return NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TXT);
|
|
186
127
|
}
|
|
187
128
|
get counterText() {
|
|
188
|
-
const text =
|
|
129
|
+
const text = NotificationListGroupItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_COUNTER_TXT);
|
|
189
130
|
return this.showCounter ? `${text} ${this.itemsCount}` : "";
|
|
190
131
|
}
|
|
191
132
|
get ariaLabelledBy() {
|
|
@@ -197,10 +138,9 @@ sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/
|
|
|
197
138
|
ids.push(`${id}-invisibleText`);
|
|
198
139
|
return ids.join(" ");
|
|
199
140
|
}
|
|
200
|
-
get
|
|
141
|
+
get _ariaExpanded() {
|
|
201
142
|
return !this.collapsed;
|
|
202
143
|
}
|
|
203
|
-
|
|
204
144
|
/**
|
|
205
145
|
* Event handlers
|
|
206
146
|
*
|
|
@@ -211,7 +151,30 @@ sap.ui.define(["exports", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/
|
|
|
211
151
|
item: this
|
|
212
152
|
});
|
|
213
153
|
}
|
|
214
|
-
}
|
|
154
|
+
};
|
|
155
|
+
__decorate([(0, _property.default)({
|
|
156
|
+
type: Boolean
|
|
157
|
+
})], NotificationListGroupItem.prototype, "collapsed", void 0);
|
|
158
|
+
__decorate([(0, _property.default)({
|
|
159
|
+
type: Boolean
|
|
160
|
+
})], NotificationListGroupItem.prototype, "showCounter", void 0);
|
|
161
|
+
__decorate([(0, _slot.default)({
|
|
162
|
+
type: HTMLElement,
|
|
163
|
+
"default": true
|
|
164
|
+
})], NotificationListGroupItem.prototype, "items", void 0);
|
|
165
|
+
NotificationListGroupItem = NotificationListGroupItem_1 = __decorate([(0, _customElement.default)({
|
|
166
|
+
tag: "ui5-li-notification-group",
|
|
167
|
+
languageAware: true,
|
|
168
|
+
styles: _NotificationListGroupItem.default,
|
|
169
|
+
template: _NotificationListGroupItemTemplate.default,
|
|
170
|
+
dependencies: [_List.default, _Button.default, _Icon.default, _BusyIndicator.default, _Popover.default]
|
|
171
|
+
})
|
|
172
|
+
/**
|
|
173
|
+
* Fired when the <code>ui5-li-notification-group</code> is expanded/collapsed by user interaction.
|
|
174
|
+
*
|
|
175
|
+
* @public
|
|
176
|
+
* @event sap.ui.webc.fiori.NotificationListGroupItem#toggle
|
|
177
|
+
*/, (0, _event.default)("toggle")], NotificationListGroupItem);
|
|
215
178
|
NotificationListGroupItem.define();
|
|
216
179
|
var _default = NotificationListGroupItem;
|
|
217
180
|
_exports.default = _default;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/webc/main/thirdparty/Button", "sap/ui/webc/main/thirdparty/BusyIndicator", "sap/ui/webc/main/thirdparty/Link", "sap/ui/webc/main/thirdparty/Icon", "sap/ui/webc/main/thirdparty/Popover", "sap/ui/webc/main/thirdparty/types/WrappingType", "./NotificationListItemBase", "./generated/i18n/i18n-defaults", "./generated/templates/NotificationListItemTemplate.lit", "./generated/themes/NotificationListItem.css"], function (_exports, _Keys, _ResizeHandler, _Priority, _Button, _BusyIndicator, _Link, _Icon, _Popover, _WrappingType, _NotificationListItemBase, _i18nDefaults, _NotificationListItemTemplate, _NotificationListItem) {
|
|
1
|
+
sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/webc/common/thirdparty/base/decorators/customElement", "sap/ui/webc/common/thirdparty/base/decorators/property", "sap/ui/webc/common/thirdparty/base/decorators/slot", "sap/ui/webc/common/thirdparty/base/decorators/event", "sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler", "sap/ui/webc/common/thirdparty/base/MarkedEvents", "sap/ui/webc/main/thirdparty/types/Priority", "sap/ui/webc/main/thirdparty/Button", "sap/ui/webc/main/thirdparty/BusyIndicator", "sap/ui/webc/main/thirdparty/Link", "sap/ui/webc/main/thirdparty/Icon", "sap/ui/webc/main/thirdparty/Popover", "sap/ui/webc/main/thirdparty/types/WrappingType", "./NotificationListItemBase", "sap/ui/webc/common/thirdparty/icons/overflow", "sap/ui/webc/common/thirdparty/icons/decline", "./generated/i18n/i18n-defaults", "./generated/templates/NotificationListItemTemplate.lit", "./generated/themes/NotificationListItem.css"], function (_exports, _Keys, _customElement, _property, _slot, _event, _ResizeHandler, _MarkedEvents, _Priority, _Button, _BusyIndicator, _Link, _Icon, _Popover, _WrappingType, _NotificationListItemBase, _overflow, _decline, _i18nDefaults, _NotificationListItemTemplate, _NotificationListItem) {
|
|
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
|
+
_property = _interopRequireDefault(_property);
|
|
10
|
+
_slot = _interopRequireDefault(_slot);
|
|
11
|
+
_event = _interopRequireDefault(_event);
|
|
8
12
|
_ResizeHandler = _interopRequireDefault(_ResizeHandler);
|
|
9
13
|
_Priority = _interopRequireDefault(_Priority);
|
|
10
14
|
_Button = _interopRequireDefault(_Button);
|
|
@@ -17,101 +21,14 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
17
21
|
_NotificationListItemTemplate = _interopRequireDefault(_NotificationListItemTemplate);
|
|
18
22
|
_NotificationListItem = _interopRequireDefault(_NotificationListItem);
|
|
19
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
const metadata = {
|
|
30
|
-
tag: "ui5-li-notification",
|
|
31
|
-
languageAware: true,
|
|
32
|
-
managedSlots: true,
|
|
33
|
-
properties: /** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */{
|
|
34
|
-
/**
|
|
35
|
-
* Defines if the <code>titleText</code> and <code>description</code> should wrap,
|
|
36
|
-
* they truncate by default.
|
|
37
|
-
*
|
|
38
|
-
* <br><br>
|
|
39
|
-
* <b>Note:</b> by default the <code>titleText</code> and <code>decription</code>,
|
|
40
|
-
* and a <code>ShowMore/Less</code> button would be displayed.
|
|
41
|
-
* @type {WrappingType}
|
|
42
|
-
* @defaultvalue "None"
|
|
43
|
-
* @public
|
|
44
|
-
* @since 1.0.0-rc.15
|
|
45
|
-
*/
|
|
46
|
-
wrappingType: {
|
|
47
|
-
type: _WrappingType.default,
|
|
48
|
-
defaultValue: _WrappingType.default.None
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* Defines the state of the <code>titleText</code> and <code>description</code>,
|
|
52
|
-
* if less or more information is displayed.
|
|
53
|
-
* @private
|
|
54
|
-
*/
|
|
55
|
-
_showMorePressed: {
|
|
56
|
-
type: Boolean
|
|
57
|
-
},
|
|
58
|
-
/**
|
|
59
|
-
* Defines the visibility of the <code>showMore</code> button.
|
|
60
|
-
* @private
|
|
61
|
-
*/
|
|
62
|
-
_showMore: {
|
|
63
|
-
type: Boolean
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
slots: /** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */{
|
|
67
|
-
/**
|
|
68
|
-
* Defines the avatar, displayed in the <code>ui5-li-notification</code>.
|
|
69
|
-
*
|
|
70
|
-
* <br><br>
|
|
71
|
-
* <b>Note:</b> Consider using the <code>ui5-avatar</code> to display icons, initials or images.
|
|
72
|
-
* <br>
|
|
73
|
-
* <b>Note:</b>In order to be complaint with the UX guidlines and for best experience,
|
|
74
|
-
* we recommend using avatars with 2rem X 2rem in size (32px X 32px). In case you are using the <code>ui5-avatar</code>
|
|
75
|
-
* you can set its <code>size</code> property to <code>XS</code> to get the required size - <code><ui5-avatar size="XS"></ui5-avatar></code>.
|
|
76
|
-
*
|
|
77
|
-
* @type {sap.ui.webcomponents.main.IAvatar}
|
|
78
|
-
* @slot
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
avatar: {
|
|
82
|
-
type: HTMLElement
|
|
83
|
-
},
|
|
84
|
-
/**
|
|
85
|
-
* Defines the elements, displayed in the footer of the of the component.
|
|
86
|
-
* @type {HTMLElement[]}
|
|
87
|
-
* @slot
|
|
88
|
-
* @public
|
|
89
|
-
*/
|
|
90
|
-
footnotes: {
|
|
91
|
-
type: HTMLElement,
|
|
92
|
-
individualSlots: true
|
|
93
|
-
},
|
|
94
|
-
/**
|
|
95
|
-
* Defines the content of the <code>ui5-li-notification</code>,
|
|
96
|
-
* usually a description of the notification.
|
|
97
|
-
*
|
|
98
|
-
* <br><br>
|
|
99
|
-
* <b>Note:</b> Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
100
|
-
*
|
|
101
|
-
* @type {Node[]}
|
|
102
|
-
* @slot description
|
|
103
|
-
* @public
|
|
104
|
-
*/
|
|
105
|
-
"default": {
|
|
106
|
-
propertyName: "description",
|
|
107
|
-
type: Node
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
events: /** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */{
|
|
111
|
-
_press: {}
|
|
112
|
-
}
|
|
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;
|
|
113
30
|
};
|
|
114
|
-
|
|
31
|
+
var NotificationListItem_1;
|
|
115
32
|
/**
|
|
116
33
|
* @class
|
|
117
34
|
*
|
|
@@ -150,44 +67,29 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
150
67
|
* <code>import "@ui5/webcomponents/dist/NotificationAction.js";</code> (optional)
|
|
151
68
|
* @constructor
|
|
152
69
|
* @author SAP SE
|
|
153
|
-
* @alias sap.ui.
|
|
154
|
-
* @extends NotificationListItemBase
|
|
70
|
+
* @alias sap.ui.webc.fiori.NotificationListItem
|
|
71
|
+
* @extends sap.ui.webc.fiori.NotificationListItemBase
|
|
155
72
|
* @tagname ui5-li-notification
|
|
156
|
-
* @appenddocs NotificationAction
|
|
73
|
+
* @appenddocs sap.ui.webc.fiori.NotificationAction
|
|
157
74
|
* @since 1.0.0-rc.8
|
|
158
|
-
* @implements sap.ui.
|
|
75
|
+
* @implements sap.ui.webc.fiori.INotificationListItem, sap.ui.webc.main.IListItem
|
|
159
76
|
* @public
|
|
160
77
|
*/
|
|
161
|
-
class NotificationListItem extends _NotificationListItemBase.default {
|
|
78
|
+
let NotificationListItem = NotificationListItem_1 = class NotificationListItem extends _NotificationListItemBase.default {
|
|
162
79
|
constructor() {
|
|
163
80
|
super();
|
|
164
|
-
|
|
165
81
|
// the titleText overflow height
|
|
166
82
|
this._titleTextOverflowHeight = 0;
|
|
167
|
-
|
|
168
83
|
// the description overflow height
|
|
169
84
|
this._descOverflowHeight = 0;
|
|
170
|
-
|
|
171
85
|
// the resize handler
|
|
172
|
-
this.
|
|
173
|
-
}
|
|
174
|
-
static get metadata() {
|
|
175
|
-
return metadata;
|
|
176
|
-
}
|
|
177
|
-
static get styles() {
|
|
178
|
-
return _NotificationListItem.default;
|
|
179
|
-
}
|
|
180
|
-
static get template() {
|
|
181
|
-
return _NotificationListItemTemplate.default;
|
|
182
|
-
}
|
|
183
|
-
static get dependencies() {
|
|
184
|
-
return [_Button.default, _Icon.default, _BusyIndicator.default, _Link.default, _Popover.default];
|
|
86
|
+
this._onResizeBound = this.onResize.bind(this);
|
|
185
87
|
}
|
|
186
88
|
onEnterDOM() {
|
|
187
|
-
_ResizeHandler.default.register(this, this.
|
|
89
|
+
_ResizeHandler.default.register(this, this._onResizeBound);
|
|
188
90
|
}
|
|
189
91
|
onExitDOM() {
|
|
190
|
-
_ResizeHandler.default.deregister(this, this.
|
|
92
|
+
_ResizeHandler.default.deregister(this, this._onResizeBound);
|
|
191
93
|
}
|
|
192
94
|
get hasDesc() {
|
|
193
95
|
return !!this.description.length;
|
|
@@ -197,15 +99,15 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
197
99
|
}
|
|
198
100
|
get showMoreText() {
|
|
199
101
|
if (this._showMorePressed) {
|
|
200
|
-
return
|
|
102
|
+
return NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_LESS);
|
|
201
103
|
}
|
|
202
|
-
return
|
|
104
|
+
return NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_MORE);
|
|
203
105
|
}
|
|
204
106
|
get overflowBtnAccessibleName() {
|
|
205
|
-
return
|
|
107
|
+
return NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);
|
|
206
108
|
}
|
|
207
109
|
get closeBtnAccessibleName() {
|
|
208
|
-
return
|
|
110
|
+
return NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
|
|
209
111
|
}
|
|
210
112
|
get hideShowMore() {
|
|
211
113
|
if (this.wrappingType === _WrappingType.default.None && this._showMore) {
|
|
@@ -264,56 +166,54 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
264
166
|
}
|
|
265
167
|
get priorityText() {
|
|
266
168
|
if (this.priority === _Priority.default.High) {
|
|
267
|
-
return
|
|
169
|
+
return NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);
|
|
268
170
|
}
|
|
269
171
|
if (this.priority === _Priority.default.Medium) {
|
|
270
|
-
return
|
|
172
|
+
return NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);
|
|
271
173
|
}
|
|
272
174
|
if (this.priority === _Priority.default.Low) {
|
|
273
|
-
return
|
|
175
|
+
return NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);
|
|
274
176
|
}
|
|
275
177
|
return "";
|
|
276
178
|
}
|
|
277
179
|
get accInvisibleText() {
|
|
278
|
-
const notificationText =
|
|
279
|
-
const readText = this.read ?
|
|
180
|
+
const notificationText = NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_TXT);
|
|
181
|
+
const readText = this.read ? NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem_1.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
|
|
280
182
|
const priorityText = this.priorityText;
|
|
281
183
|
return `${notificationText} ${readText} ${priorityText}`;
|
|
282
184
|
}
|
|
283
|
-
|
|
284
185
|
/**
|
|
285
186
|
* Event handlers
|
|
286
187
|
*/
|
|
287
|
-
_onclick(
|
|
288
|
-
this.fireItemPress(
|
|
188
|
+
_onclick(e) {
|
|
189
|
+
this.fireItemPress(e);
|
|
289
190
|
}
|
|
290
|
-
_onShowMoreClick(
|
|
291
|
-
|
|
191
|
+
_onShowMoreClick(e) {
|
|
192
|
+
e.preventDefault();
|
|
292
193
|
this._showMorePressed = !this._showMorePressed;
|
|
293
194
|
}
|
|
294
|
-
_onkeydown(
|
|
295
|
-
super._onkeydown(
|
|
296
|
-
if ((0, _Keys.isEnter)(
|
|
297
|
-
this.fireItemPress(
|
|
195
|
+
_onkeydown(e) {
|
|
196
|
+
super._onkeydown(e);
|
|
197
|
+
if ((0, _Keys.isEnter)(e)) {
|
|
198
|
+
this.fireItemPress(e);
|
|
298
199
|
}
|
|
299
200
|
}
|
|
300
|
-
_onkeyup(
|
|
301
|
-
super._onkeyup(
|
|
302
|
-
const space = (0, _Keys.isSpace)(
|
|
303
|
-
if (space &&
|
|
304
|
-
this._onShowMoreClick(
|
|
201
|
+
_onkeyup(e) {
|
|
202
|
+
super._onkeyup(e);
|
|
203
|
+
const space = (0, _Keys.isSpace)(e);
|
|
204
|
+
if (space && (0, _MarkedEvents.getEventMark)(e) === "link") {
|
|
205
|
+
this._onShowMoreClick(e);
|
|
305
206
|
return;
|
|
306
207
|
}
|
|
307
208
|
if (space) {
|
|
308
|
-
this.fireItemPress(
|
|
209
|
+
this.fireItemPress(e);
|
|
309
210
|
}
|
|
310
211
|
}
|
|
311
|
-
|
|
312
212
|
/**
|
|
313
213
|
* Private
|
|
314
214
|
*/
|
|
315
|
-
fireItemPress(
|
|
316
|
-
if (
|
|
215
|
+
fireItemPress(e) {
|
|
216
|
+
if ((0, _MarkedEvents.getEventMark)(e) === "button" || (0, _MarkedEvents.getEventMark)(e) === "link") {
|
|
317
217
|
return;
|
|
318
218
|
}
|
|
319
219
|
this.fireEvent("_press", {
|
|
@@ -340,7 +240,33 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
340
240
|
}
|
|
341
241
|
this._showMore = false;
|
|
342
242
|
}
|
|
343
|
-
}
|
|
243
|
+
};
|
|
244
|
+
__decorate([(0, _property.default)({
|
|
245
|
+
type: _WrappingType.default,
|
|
246
|
+
defaultValue: _WrappingType.default.None
|
|
247
|
+
})], NotificationListItem.prototype, "wrappingType", void 0);
|
|
248
|
+
__decorate([(0, _property.default)({
|
|
249
|
+
type: Boolean
|
|
250
|
+
})], NotificationListItem.prototype, "_showMorePressed", void 0);
|
|
251
|
+
__decorate([(0, _property.default)({
|
|
252
|
+
type: Boolean
|
|
253
|
+
})], NotificationListItem.prototype, "_showMore", void 0);
|
|
254
|
+
__decorate([(0, _slot.default)()], NotificationListItem.prototype, "avatar", void 0);
|
|
255
|
+
__decorate([(0, _slot.default)({
|
|
256
|
+
type: HTMLElement,
|
|
257
|
+
individualSlots: true
|
|
258
|
+
})], NotificationListItem.prototype, "footnotes", void 0);
|
|
259
|
+
__decorate([(0, _slot.default)({
|
|
260
|
+
type: Node,
|
|
261
|
+
"default": true
|
|
262
|
+
})], NotificationListItem.prototype, "description", void 0);
|
|
263
|
+
NotificationListItem = NotificationListItem_1 = __decorate([(0, _customElement.default)({
|
|
264
|
+
tag: "ui5-li-notification",
|
|
265
|
+
languageAware: true,
|
|
266
|
+
styles: _NotificationListItem.default,
|
|
267
|
+
template: _NotificationListItemTemplate.default,
|
|
268
|
+
dependencies: [_Button.default, _Icon.default, _BusyIndicator.default, _Link.default, _Popover.default]
|
|
269
|
+
}), (0, _event.default)("_press")], NotificationListItem);
|
|
344
270
|
NotificationListItem.define();
|
|
345
271
|
var _default = NotificationListItem;
|
|
346
272
|
_exports.default = _default;
|