@openui5/sap.ui.webc.fiori 1.111.2 → 1.112.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -1
- package/src/sap/ui/webc/fiori/FilterItemOption.js +1 -1
- package/src/sap/ui/webc/fiori/FlexibleColumnLayout.js +1 -1
- package/src/sap/ui/webc/fiori/IllustratedMessage.js +1 -1
- package/src/sap/ui/webc/fiori/MediaGallery.js +1 -1
- package/src/sap/ui/webc/fiori/MediaGalleryItem.js +1 -1
- package/src/sap/ui/webc/fiori/NotificationAction.js +1 -1
- package/src/sap/ui/webc/fiori/NotificationListGroupItem.js +1 -1
- package/src/sap/ui/webc/fiori/NotificationListItem.js +1 -1
- package/src/sap/ui/webc/fiori/Page.js +1 -1
- package/src/sap/ui/webc/fiori/ProductSwitch.js +1 -1
- package/src/sap/ui/webc/fiori/ProductSwitchItem.js +1 -1
- package/src/sap/ui/webc/fiori/ShellBar.js +1 -1
- package/src/sap/ui/webc/fiori/ShellBarItem.js +1 -1
- package/src/sap/ui/webc/fiori/SideNavigation.js +1 -1
- package/src/sap/ui/webc/fiori/SideNavigationItem.js +1 -1
- package/src/sap/ui/webc/fiori/SideNavigationSubItem.js +1 -1
- package/src/sap/ui/webc/fiori/SortItem.js +1 -1
- package/src/sap/ui/webc/fiori/Timeline.js +1 -1
- package/src/sap/ui/webc/fiori/TimelineItem.js +1 -1
- package/src/sap/ui/webc/fiori/UploadCollection.js +1 -1
- package/src/sap/ui/webc/fiori/UploadCollectionItem.js +24 -24
- package/src/sap/ui/webc/fiori/ViewSettingsDialog.js +1 -1
- package/src/sap/ui/webc/fiori/Wizard.js +1 -1
- package/src/sap/ui/webc/fiori/WizardStep.js +1 -1
- package/src/sap/ui/webc/fiori/designtime/library.designtime.js +12 -0
- package/src/sap/ui/webc/fiori/illustrations/AddColumn.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/AddPeople.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/BalloonSky.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/BeforeSearch.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/Connection.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/EmptyCalendar.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/EmptyList.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/EmptyPlanningCalendar.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/ErrorScreen.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/FilterTable.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/GroupTable.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoActivities.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoData.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoEntries.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoFilterResults.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoMail.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoMail_v1.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoNotifications.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoSavedItems.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoSavedItems_v1.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoSearchResults.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoTasks.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/NoTasks_v1.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/PageNotFound.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/ReloadScreen.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/ResizeColumn.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SearchEarth.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SearchFolder.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleBalloon.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleBell.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleCalendar.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleCheckMark.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleConnection.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleEmptyDoc.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleEmptyList.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleError.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleMagnifier.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleMail.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleNoSavedItems.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleNotFoundMagnifier.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleReload.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SimpleTask.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SleepingBell.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SortColumn.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SuccessBalloon.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SuccessCheckMark.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SuccessHighFive.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/SuccessScreen.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/Tent.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/UnableToLoad.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/UnableToLoadImage.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/UnableToUpload.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/UploadCollection.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartArea.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartArea2.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartBPMNFlow.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartBar.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartBullet.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartDoughnut.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartFlow.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartGantt.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartOrg.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ChartPie.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/CodePlaceholder.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Company.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Components.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/ExternalLink.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/FaceID.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Fingerprint.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Lock.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Mission.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/NoApplications.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/NoFlows.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/NoUsers.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Radar.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Secrets.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Services.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/SessionExpired.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/SessionExpiring.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Success.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/SuccessfulAuth.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Systems.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Teams.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Tools.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/UnableToLoad.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/Unlock.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/UnsuccessfulAuth.js +6 -0
- package/src/sap/ui/webc/fiori/illustrations/tnt/User2.js +6 -0
- package/src/sap/ui/webc/fiori/library.config.js +6 -0
- package/src/sap/ui/webc/fiori/library.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/Bar.js +5 -27
- package/src/sap/ui/webc/fiori/thirdparty/BarcodeScannerDialog.js +11 -49
- package/src/sap/ui/webc/fiori/thirdparty/DynamicSideContent.js +36 -93
- package/src/sap/ui/webc/fiori/thirdparty/FilterItem.js +5 -15
- package/src/sap/ui/webc/fiori/thirdparty/FilterItemOption.js +6 -15
- package/src/sap/ui/webc/fiori/thirdparty/FlexibleColumnLayout.js +31 -122
- package/src/sap/ui/webc/fiori/thirdparty/IllustratedMessage.js +9 -53
- package/src/sap/ui/webc/fiori/thirdparty/Interfaces.js +13 -14
- package/src/sap/ui/webc/fiori/thirdparty/MediaGallery.js +17 -113
- package/src/sap/ui/webc/fiori/thirdparty/MediaGalleryItem.js +5 -55
- package/src/sap/ui/webc/fiori/thirdparty/NotificationAction.js +4 -17
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListGroupItem.js +8 -41
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListItem.js +14 -74
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListItemBase.js +7 -45
- package/src/sap/ui/webc/fiori/thirdparty/Page.js +5 -31
- package/src/sap/ui/webc/fiori/thirdparty/ProductSwitch.js +3 -34
- package/src/sap/ui/webc/fiori/thirdparty/ProductSwitchItem.js +4 -39
- package/src/sap/ui/webc/fiori/thirdparty/ShellBar.js +24 -168
- package/src/sap/ui/webc/fiori/thirdparty/ShellBarItem.js +3 -15
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigation.js +4 -45
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigationItem.js +4 -20
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigationSubItem.js +3 -15
- package/src/sap/ui/webc/fiori/thirdparty/SortItem.js +6 -15
- package/src/sap/ui/webc/fiori/thirdparty/Timeline.js +5 -31
- package/src/sap/ui/webc/fiori/thirdparty/TimelineItem.js +6 -28
- package/src/sap/ui/webc/fiori/thirdparty/UploadCollection.js +5 -55
- package/src/sap/ui/webc/fiori/thirdparty/UploadCollectionItem.js +15 -83
- package/src/sap/ui/webc/fiori/thirdparty/ViewSettingsDialog.js +32 -129
- package/src/sap/ui/webc/fiori/thirdparty/Wizard.js +77 -180
- package/src/sap/ui/webc/fiori/thirdparty/WizardStep.js +4 -19
- package/src/sap/ui/webc/fiori/thirdparty/WizardTab.js +4 -34
- package/src/sap/ui/webc/fiori/thirdparty/fcl-utils/FCLLayout.js +0 -6
- package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/Themes.js +0 -16
- package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/i18n.js +0 -52
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarTemplate.lit.js +1 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarcodeScannerDialogTemplate.lit.js +1 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/DynamicSideContentTemplate.lit.js +1 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FlexibleColumnLayoutTemplate.lit.js +1 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/IllustratedMessageTemplate.lit.js +1 -8
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryItemTemplate.lit.js +1 -5
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/MediaGalleryTemplate.lit.js +1 -8
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListGroupItemTemplate.lit.js +1 -10
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListItemTemplate.lit.js +1 -11
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationOverflowActionsPopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/PageTemplate.lit.js +1 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchItemTemplate.lit.js +1 -10
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchTemplate.lit.js +1 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarPopoverTemplate.lit.js +1 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarTemplate.lit.js +1 -25
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +1 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationTemplate.lit.js +1 -11
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineItemTemplate.lit.js +1 -8
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineTemplate.lit.js +1 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionItemTemplate.lit.js +1 -16
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionTemplate.lit.js +1 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ViewSettingsDialogTemplate.lit.js +1 -17
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardPopoverTemplate.lit.js +1 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTabTemplate.lit.js +1 -6
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTemplate.lit.js +1 -4
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Bar.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/BarcodeScannerDialog.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/DynamicSideContent.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/FlexibleColumnLayout.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/IllustratedMessage.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/InvisibleTextStyles.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGallery.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/MediaGalleryItem.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListGroupItem.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItem.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItemBase.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationOverflowActionsPopover.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationPrioIcon.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Page.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitch.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitchItem.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBar.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBarPopover.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigation.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigationPopover.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Timeline.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/TimelineItem.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollection.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollectionItem.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ViewSettingsDialog.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Wizard.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardPopover.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardTab.css.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddColumn.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/AddPeople.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/BalloonSky.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/BeforeSearch.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/Connection.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyCalendar.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyList.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/EmptyPlanningCalendar.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/ErrorScreen.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/FilterTable.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/GroupTable.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoActivities.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoData.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoEntries.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoFilterResults.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail_v1.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoNotifications.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems_v1.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSearchResults.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks_v1.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/PageNotFound.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/ReloadScreen.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/ResizeColumn.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchEarth.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SearchFolder.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBalloon.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleBell.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCalendar.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleCheckMark.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleConnection.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyDoc.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleEmptyList.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleError.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMagnifier.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleMail.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNoSavedItems.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleNotFoundMagnifier.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleReload.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SimpleTask.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SleepingBell.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SortColumn.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessBalloon.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessCheckMark.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessHighFive.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/SuccessScreen.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/Tent.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoad.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoadImage.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToUpload.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UploadCollection.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartArea.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartArea2.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBPMNFlow.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBar.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartBullet.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartDoughnut.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartFlow.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartGantt.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartOrg.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ChartPie.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/CodePlaceholder.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Company.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Components.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ExternalLink.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/FaceID.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Fingerprint.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Lock.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Mission.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoApplications.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoFlows.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoUsers.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Radar.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Secrets.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Services.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpired.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpiring.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Success.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SuccessfulAuth.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Systems.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Teams.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Tools.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/UnableToLoad.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Unlock.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/UnsuccessfulAuth.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/User2.js +0 -2
- package/src/sap/ui/webc/fiori/thirdparty/types/BarDesign.js +1 -8
- package/src/sap/ui/webc/fiori/thirdparty/types/FCLLayout.js +1 -13
- package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageSize.js +1 -9
- package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageType.js +1 -92
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryItemLayout.js +1 -6
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryLayout.js +1 -7
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuHorizontalAlign.js +1 -6
- package/src/sap/ui/webc/fiori/thirdparty/types/MediaGalleryMenuVerticalAlign.js +1 -6
- package/src/sap/ui/webc/fiori/thirdparty/types/PageBackgroundDesign.js +1 -7
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentFallDown.js +1 -8
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentPosition.js +1 -6
- package/src/sap/ui/webc/fiori/thirdparty/types/SideContentVisibility.js +1 -9
- package/src/sap/ui/webc/fiori/thirdparty/types/TimelineLayout.js +1 -6
- package/src/sap/ui/webc/fiori/thirdparty/types/UploadCollectionDnDMode.js +1 -7
- package/src/sap/ui/webc/fiori/thirdparty/types/UploadState.js +1 -8
- package/src/sap/ui/webc/fiori/thirdparty/types/ViewSettingsDialogMode.js +1 -6
- package/src/sap/ui/webc/fiori/thirdparty/upload-utils/UploadCollectionBodyDnD.js +1 -16
- package/ui5.yaml +1 -1
|
@@ -16,11 +16,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
16
16
|
_NotificationListItemBase = _interopRequireDefault(_NotificationListItemBase);
|
|
17
17
|
_NotificationListItemTemplate = _interopRequireDefault(_NotificationListItemTemplate);
|
|
18
18
|
_NotificationListItem = _interopRequireDefault(_NotificationListItem);
|
|
19
|
-
|
|
20
19
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
-
|
|
22
20
|
// Texts
|
|
21
|
+
|
|
23
22
|
// Templates
|
|
23
|
+
|
|
24
24
|
// Styles
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -30,9 +30,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
30
30
|
tag: "ui5-li-notification",
|
|
31
31
|
languageAware: true,
|
|
32
32
|
managedSlots: true,
|
|
33
|
-
properties:
|
|
34
|
-
/** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */
|
|
35
|
-
{
|
|
33
|
+
properties: /** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */{
|
|
36
34
|
/**
|
|
37
35
|
* Defines if the <code>titleText</code> and <code>description</code> should wrap,
|
|
38
36
|
* they truncate by default.
|
|
@@ -49,7 +47,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
49
47
|
type: _WrappingType.default,
|
|
50
48
|
defaultValue: _WrappingType.default.None
|
|
51
49
|
},
|
|
52
|
-
|
|
53
50
|
/**
|
|
54
51
|
* Defines the state of the <code>titleText</code> and <code>description</code>,
|
|
55
52
|
* if less or more information is displayed.
|
|
@@ -58,7 +55,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
58
55
|
_showMorePressed: {
|
|
59
56
|
type: Boolean
|
|
60
57
|
},
|
|
61
|
-
|
|
62
58
|
/**
|
|
63
59
|
* Defines the visibility of the <code>showMore</code> button.
|
|
64
60
|
* @private
|
|
@@ -67,9 +63,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
67
63
|
type: Boolean
|
|
68
64
|
}
|
|
69
65
|
},
|
|
70
|
-
slots:
|
|
71
|
-
/** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */
|
|
72
|
-
{
|
|
66
|
+
slots: /** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */{
|
|
73
67
|
/**
|
|
74
68
|
* Defines the avatar, displayed in the <code>ui5-li-notification</code>.
|
|
75
69
|
*
|
|
@@ -87,7 +81,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
87
81
|
avatar: {
|
|
88
82
|
type: HTMLElement
|
|
89
83
|
},
|
|
90
|
-
|
|
91
84
|
/**
|
|
92
85
|
* Defines the elements, displayed in the footer of the of the component.
|
|
93
86
|
* @type {HTMLElement[]}
|
|
@@ -98,7 +91,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
98
91
|
type: HTMLElement,
|
|
99
92
|
individualSlots: true
|
|
100
93
|
},
|
|
101
|
-
|
|
102
94
|
/**
|
|
103
95
|
* Defines the content of the <code>ui5-li-notification</code>,
|
|
104
96
|
* usually a description of the notification.
|
|
@@ -115,12 +107,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
115
107
|
type: Node
|
|
116
108
|
}
|
|
117
109
|
},
|
|
118
|
-
events:
|
|
119
|
-
/** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */
|
|
120
|
-
{
|
|
110
|
+
events: /** @lends sap.ui.webcomponents.fiori.NotificationListItem.prototype */{
|
|
121
111
|
_press: {}
|
|
122
112
|
}
|
|
123
113
|
};
|
|
114
|
+
|
|
124
115
|
/**
|
|
125
116
|
* @class
|
|
126
117
|
*
|
|
@@ -167,110 +158,87 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
167
158
|
* @implements sap.ui.webcomponents.fiori.INotificationListItem, sap.ui.webcomponents.main.IListItem
|
|
168
159
|
* @public
|
|
169
160
|
*/
|
|
170
|
-
|
|
171
161
|
class NotificationListItem extends _NotificationListItemBase.default {
|
|
172
162
|
constructor() {
|
|
173
|
-
super();
|
|
163
|
+
super();
|
|
174
164
|
|
|
175
|
-
|
|
165
|
+
// the titleText overflow height
|
|
166
|
+
this._titleTextOverflowHeight = 0;
|
|
176
167
|
|
|
177
|
-
|
|
168
|
+
// the description overflow height
|
|
169
|
+
this._descOverflowHeight = 0;
|
|
178
170
|
|
|
171
|
+
// the resize handler
|
|
179
172
|
this.onResizeBind = this.onResize.bind(this);
|
|
180
173
|
}
|
|
181
|
-
|
|
182
174
|
static get metadata() {
|
|
183
175
|
return metadata;
|
|
184
176
|
}
|
|
185
|
-
|
|
186
177
|
static get styles() {
|
|
187
178
|
return _NotificationListItem.default;
|
|
188
179
|
}
|
|
189
|
-
|
|
190
180
|
static get template() {
|
|
191
181
|
return _NotificationListItemTemplate.default;
|
|
192
182
|
}
|
|
193
|
-
|
|
194
183
|
static get dependencies() {
|
|
195
184
|
return [_Button.default, _Icon.default, _BusyIndicator.default, _Link.default, _Popover.default];
|
|
196
185
|
}
|
|
197
|
-
|
|
198
186
|
onEnterDOM() {
|
|
199
187
|
_ResizeHandler.default.register(this, this.onResizeBind);
|
|
200
188
|
}
|
|
201
|
-
|
|
202
189
|
onExitDOM() {
|
|
203
190
|
_ResizeHandler.default.deregister(this, this.onResizeBind);
|
|
204
191
|
}
|
|
205
|
-
|
|
206
192
|
get hasDesc() {
|
|
207
193
|
return !!this.description.length;
|
|
208
194
|
}
|
|
209
|
-
|
|
210
195
|
get hasFootNotes() {
|
|
211
196
|
return !!this.footnotes.length;
|
|
212
197
|
}
|
|
213
|
-
|
|
214
198
|
get showMoreText() {
|
|
215
199
|
if (this._showMorePressed) {
|
|
216
200
|
return NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_LESS);
|
|
217
201
|
}
|
|
218
|
-
|
|
219
202
|
return NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_MORE);
|
|
220
203
|
}
|
|
221
|
-
|
|
222
204
|
get overflowBtnAccessibleName() {
|
|
223
205
|
return NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);
|
|
224
206
|
}
|
|
225
|
-
|
|
226
207
|
get closeBtnAccessibleName() {
|
|
227
208
|
return NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
|
|
228
209
|
}
|
|
229
|
-
|
|
230
210
|
get hideShowMore() {
|
|
231
211
|
if (this.wrappingType === _WrappingType.default.None && this._showMore) {
|
|
232
212
|
return undefined;
|
|
233
213
|
}
|
|
234
|
-
|
|
235
214
|
return true;
|
|
236
215
|
}
|
|
237
|
-
|
|
238
216
|
get descriptionDOM() {
|
|
239
217
|
return this.shadowRoot.querySelector(".ui5-nli-description");
|
|
240
218
|
}
|
|
241
|
-
|
|
242
219
|
get titleTextDOM() {
|
|
243
220
|
return this.shadowRoot.querySelector(".ui5-nli-title-text");
|
|
244
221
|
}
|
|
245
|
-
|
|
246
222
|
get titleTextHeight() {
|
|
247
223
|
return this.titleTextDOM.offsetHeight;
|
|
248
224
|
}
|
|
249
|
-
|
|
250
225
|
get descriptionHeight() {
|
|
251
226
|
return this.descriptionDOM.offsetHeight;
|
|
252
227
|
}
|
|
253
|
-
|
|
254
228
|
get titleTextOverflows() {
|
|
255
229
|
const titleText = this.titleTextDOM;
|
|
256
|
-
|
|
257
230
|
if (!titleText) {
|
|
258
231
|
return false;
|
|
259
232
|
}
|
|
260
|
-
|
|
261
233
|
return titleText.offsetHeight < titleText.scrollHeight;
|
|
262
234
|
}
|
|
263
|
-
|
|
264
235
|
get descriptionOverflows() {
|
|
265
236
|
const description = this.descriptionDOM;
|
|
266
|
-
|
|
267
237
|
if (!description) {
|
|
268
238
|
return false;
|
|
269
239
|
}
|
|
270
|
-
|
|
271
240
|
return description.offsetHeight < description.scrollHeight;
|
|
272
241
|
}
|
|
273
|
-
|
|
274
242
|
get footerItems() {
|
|
275
243
|
return this.footnotes.map((el, idx, arr) => {
|
|
276
244
|
return {
|
|
@@ -279,128 +247,100 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
279
247
|
};
|
|
280
248
|
});
|
|
281
249
|
}
|
|
282
|
-
|
|
283
250
|
get ariaLabelledBy() {
|
|
284
251
|
const id = this._id;
|
|
285
252
|
const ids = [];
|
|
286
|
-
|
|
287
253
|
if (this.hasTitleText) {
|
|
288
254
|
ids.push(`${id}-title-text`);
|
|
289
255
|
}
|
|
290
|
-
|
|
291
256
|
if (this.hasDesc) {
|
|
292
257
|
ids.push(`${id}-description`);
|
|
293
258
|
}
|
|
294
|
-
|
|
295
259
|
if (this.hasFootNotes) {
|
|
296
260
|
ids.push(`${id}-footer`);
|
|
297
261
|
}
|
|
298
|
-
|
|
299
262
|
ids.push(`${id}-invisibleText`);
|
|
300
263
|
return ids.join(" ");
|
|
301
264
|
}
|
|
302
|
-
|
|
303
265
|
get priorityText() {
|
|
304
266
|
if (this.priority === _Priority.default.High) {
|
|
305
267
|
return NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);
|
|
306
268
|
}
|
|
307
|
-
|
|
308
269
|
if (this.priority === _Priority.default.Medium) {
|
|
309
270
|
return NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);
|
|
310
271
|
}
|
|
311
|
-
|
|
312
272
|
if (this.priority === _Priority.default.Low) {
|
|
313
273
|
return NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);
|
|
314
274
|
}
|
|
315
|
-
|
|
316
275
|
return "";
|
|
317
276
|
}
|
|
318
|
-
|
|
319
277
|
get accInvisibleText() {
|
|
320
278
|
const notificationText = NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_TXT);
|
|
321
279
|
const readText = this.read ? NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem.i18nFioriBundle.getText(_i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
|
|
322
280
|
const priorityText = this.priorityText;
|
|
323
281
|
return `${notificationText} ${readText} ${priorityText}`;
|
|
324
282
|
}
|
|
283
|
+
|
|
325
284
|
/**
|
|
326
285
|
* Event handlers
|
|
327
286
|
*/
|
|
328
|
-
|
|
329
|
-
|
|
330
287
|
_onclick(event) {
|
|
331
288
|
this.fireItemPress(event);
|
|
332
289
|
}
|
|
333
|
-
|
|
334
290
|
_onShowMoreClick(event) {
|
|
335
291
|
event.preventDefault();
|
|
336
292
|
this._showMorePressed = !this._showMorePressed;
|
|
337
293
|
}
|
|
338
|
-
|
|
339
294
|
_onkeydown(event) {
|
|
340
295
|
super._onkeydown(event);
|
|
341
|
-
|
|
342
296
|
if ((0, _Keys.isEnter)(event)) {
|
|
343
297
|
this.fireItemPress(event);
|
|
344
298
|
}
|
|
345
299
|
}
|
|
346
|
-
|
|
347
300
|
_onkeyup(event) {
|
|
348
301
|
super._onkeyup(event);
|
|
349
|
-
|
|
350
302
|
const space = (0, _Keys.isSpace)(event);
|
|
351
|
-
|
|
352
303
|
if (space && event.isMarked === "link") {
|
|
353
304
|
this._onShowMoreClick(event);
|
|
354
|
-
|
|
355
305
|
return;
|
|
356
306
|
}
|
|
357
|
-
|
|
358
307
|
if (space) {
|
|
359
308
|
this.fireItemPress(event);
|
|
360
309
|
}
|
|
361
310
|
}
|
|
311
|
+
|
|
362
312
|
/**
|
|
363
313
|
* Private
|
|
364
314
|
*/
|
|
365
|
-
|
|
366
|
-
|
|
367
315
|
fireItemPress(event) {
|
|
368
316
|
if (event.isMarked === "button" || event.isMarked === "link") {
|
|
369
317
|
return;
|
|
370
318
|
}
|
|
371
|
-
|
|
372
319
|
this.fireEvent("_press", {
|
|
373
320
|
item: this
|
|
374
321
|
});
|
|
375
322
|
}
|
|
376
|
-
|
|
377
323
|
onResize() {
|
|
378
324
|
if (this.wrappingType === _WrappingType.default.Normal) {
|
|
379
325
|
this._showMore = false;
|
|
380
326
|
return;
|
|
381
327
|
}
|
|
382
|
-
|
|
383
328
|
const titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;
|
|
384
329
|
const descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;
|
|
385
330
|
const overflows = titleTextWouldOverflow || descWouldOverflow;
|
|
386
|
-
|
|
387
331
|
if (this._showMorePressed && overflows) {
|
|
388
332
|
this._showMore = true;
|
|
389
333
|
return;
|
|
390
334
|
}
|
|
391
|
-
|
|
392
335
|
if (this.titleTextOverflows || this.descriptionOverflows) {
|
|
393
336
|
this._titleTextOverflowHeight = this.titleTextHeight;
|
|
394
337
|
this._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;
|
|
395
338
|
this._showMore = true;
|
|
396
339
|
return;
|
|
397
340
|
}
|
|
398
|
-
|
|
399
341
|
this._showMore = false;
|
|
400
342
|
}
|
|
401
|
-
|
|
402
343
|
}
|
|
403
|
-
|
|
404
344
|
NotificationListItem.define();
|
|
405
345
|
var _default = NotificationListItem;
|
|
406
346
|
_exports.default = _default;
|
|
@@ -10,11 +10,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
10
10
|
_Priority = _interopRequireDefault(_Priority);
|
|
11
11
|
_NotificationOverflowActionsPopoverTemplate = _interopRequireDefault(_NotificationOverflowActionsPopoverTemplate);
|
|
12
12
|
_NotificationOverflowActionsPopover = _interopRequireDefault(_NotificationOverflowActionsPopover);
|
|
13
|
-
|
|
14
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
14
|
// Icons
|
|
15
|
+
|
|
17
16
|
// Templates
|
|
17
|
+
|
|
18
18
|
// Styles
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -22,9 +22,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
22
22
|
*/
|
|
23
23
|
const metadata = {
|
|
24
24
|
managedSlots: true,
|
|
25
|
-
properties:
|
|
26
|
-
/** @lends sap.ui.webcomponents.fiori.NotificationListItemBase.prototype */
|
|
27
|
-
{
|
|
25
|
+
properties: /** @lends sap.ui.webcomponents.fiori.NotificationListItemBase.prototype */{
|
|
28
26
|
/**
|
|
29
27
|
* Defines the <code>titleText</code> of the item.
|
|
30
28
|
* @type {string}
|
|
@@ -34,7 +32,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
34
32
|
titleText: {
|
|
35
33
|
type: String
|
|
36
34
|
},
|
|
37
|
-
|
|
38
35
|
/**
|
|
39
36
|
* Defines the <code>priority</code> of the item.
|
|
40
37
|
* Available options are:
|
|
@@ -52,7 +49,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
52
49
|
type: _Priority.default,
|
|
53
50
|
defaultValue: _Priority.default.None
|
|
54
51
|
},
|
|
55
|
-
|
|
56
52
|
/**
|
|
57
53
|
* Defines if the <code>close</code> button would be displayed.
|
|
58
54
|
* @type {boolean}
|
|
@@ -62,7 +58,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
62
58
|
showClose: {
|
|
63
59
|
type: Boolean
|
|
64
60
|
},
|
|
65
|
-
|
|
66
61
|
/**
|
|
67
62
|
* Defines if the <code>notification</code> is new or has been already read.
|
|
68
63
|
* <br><br>
|
|
@@ -75,7 +70,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
75
70
|
read: {
|
|
76
71
|
type: Boolean
|
|
77
72
|
},
|
|
78
|
-
|
|
79
73
|
/**
|
|
80
74
|
* Defines if a busy indicator would be displayed over the item.
|
|
81
75
|
* @type {boolean}
|
|
@@ -86,7 +80,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
86
80
|
busy: {
|
|
87
81
|
type: Boolean
|
|
88
82
|
},
|
|
89
|
-
|
|
90
83
|
/**
|
|
91
84
|
* Defines the delay in milliseconds, after which the busy indicator will show up for this component.
|
|
92
85
|
*
|
|
@@ -99,9 +92,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
99
92
|
defaultValue: 1000
|
|
100
93
|
}
|
|
101
94
|
},
|
|
102
|
-
slots:
|
|
103
|
-
/** @lends sap.ui.webcomponents.fiori.NotificationListItemBase.prototype */
|
|
104
|
-
{
|
|
95
|
+
slots: /** @lends sap.ui.webcomponents.fiori.NotificationListItemBase.prototype */{
|
|
105
96
|
/**
|
|
106
97
|
* Defines the actions, displayed in the top-right area.
|
|
107
98
|
* <br><br>
|
|
@@ -115,9 +106,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
115
106
|
type: HTMLElement
|
|
116
107
|
}
|
|
117
108
|
},
|
|
118
|
-
events:
|
|
119
|
-
/** @lends sap.ui.webcomponents.fiori.NotificationListItemBase.prototype */
|
|
120
|
-
{
|
|
109
|
+
events: /** @lends sap.ui.webcomponents.fiori.NotificationListItemBase.prototype */{
|
|
121
110
|
/**
|
|
122
111
|
* Fired when the <code>Close</code> button is pressed.
|
|
123
112
|
*
|
|
@@ -127,6 +116,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
127
116
|
close: {}
|
|
128
117
|
}
|
|
129
118
|
};
|
|
119
|
+
|
|
130
120
|
/**
|
|
131
121
|
* @class
|
|
132
122
|
*
|
|
@@ -142,20 +132,16 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
142
132
|
* @appenddocs NotificationAction
|
|
143
133
|
* @public
|
|
144
134
|
*/
|
|
145
|
-
|
|
146
135
|
class NotificationListItemBase extends _ListItemBase.default {
|
|
147
136
|
static get metadata() {
|
|
148
137
|
return metadata;
|
|
149
138
|
}
|
|
150
|
-
|
|
151
139
|
static get staticAreaTemplate() {
|
|
152
140
|
return _NotificationOverflowActionsPopoverTemplate.default;
|
|
153
141
|
}
|
|
154
|
-
|
|
155
142
|
static get staticAreaStyles() {
|
|
156
143
|
return _NotificationOverflowActionsPopover.default;
|
|
157
144
|
}
|
|
158
|
-
|
|
159
145
|
static priorityIconsMappings() {
|
|
160
146
|
return {
|
|
161
147
|
"High": "message-error",
|
|
@@ -163,43 +149,33 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
163
149
|
"Low": "message-success"
|
|
164
150
|
};
|
|
165
151
|
}
|
|
166
|
-
|
|
167
152
|
get hasTitleText() {
|
|
168
153
|
return !!this.titleText.length;
|
|
169
154
|
}
|
|
170
|
-
|
|
171
155
|
get hasPriority() {
|
|
172
156
|
return this.priority !== _Priority.default.None;
|
|
173
157
|
}
|
|
174
|
-
|
|
175
158
|
get priorityIcon() {
|
|
176
159
|
return NotificationListItemBase.priorityIconsMappings()[this.priority];
|
|
177
160
|
}
|
|
178
|
-
|
|
179
161
|
get overflowButtonDOM() {
|
|
180
162
|
return this.shadowRoot.querySelector(".ui5-nli-overflow-btn");
|
|
181
163
|
}
|
|
182
|
-
|
|
183
164
|
get showOverflow() {
|
|
184
165
|
return !!this.overflowActions.length;
|
|
185
166
|
}
|
|
186
|
-
|
|
187
167
|
get overflowActions() {
|
|
188
168
|
if (this.actions.length <= 1) {
|
|
189
169
|
return [];
|
|
190
170
|
}
|
|
191
|
-
|
|
192
171
|
return this.actionsInfo;
|
|
193
172
|
}
|
|
194
|
-
|
|
195
173
|
get standardActions() {
|
|
196
174
|
if (this.actions.length > 1) {
|
|
197
175
|
return [];
|
|
198
176
|
}
|
|
199
|
-
|
|
200
177
|
return this.actionsInfo;
|
|
201
178
|
}
|
|
202
|
-
|
|
203
179
|
get actionsInfo() {
|
|
204
180
|
return this.actions.map(action => {
|
|
205
181
|
return {
|
|
@@ -212,24 +188,20 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
212
188
|
};
|
|
213
189
|
});
|
|
214
190
|
}
|
|
191
|
+
|
|
215
192
|
/**
|
|
216
193
|
* Event handlers
|
|
217
194
|
*/
|
|
218
|
-
|
|
219
|
-
|
|
220
195
|
_onBtnCloseClick() {
|
|
221
196
|
this.fireEvent("close", {
|
|
222
197
|
item: this
|
|
223
198
|
});
|
|
224
199
|
}
|
|
225
|
-
|
|
226
200
|
_onBtnOverflowClick() {
|
|
227
201
|
this.openOverflow();
|
|
228
202
|
}
|
|
229
|
-
|
|
230
203
|
_onCustomActionClick(event) {
|
|
231
204
|
const refItemId = event.target.getAttribute("data-ui5-external-action-item-id");
|
|
232
|
-
|
|
233
205
|
if (refItemId) {
|
|
234
206
|
this.getActionByID(refItemId).fireEvent("click", {
|
|
235
207
|
targetRef: event.target
|
|
@@ -237,44 +209,34 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/Keys", "sap/ui/web
|
|
|
237
209
|
this.closeOverflow();
|
|
238
210
|
}
|
|
239
211
|
}
|
|
240
|
-
|
|
241
212
|
_onkeydown(event) {
|
|
242
213
|
super._onkeydown(event);
|
|
243
|
-
|
|
244
214
|
if (event.isMarked === "button") {
|
|
245
215
|
return;
|
|
246
216
|
}
|
|
247
|
-
|
|
248
217
|
if ((0, _Keys.isSpace)(event)) {
|
|
249
218
|
event.preventDefault();
|
|
250
219
|
}
|
|
251
220
|
}
|
|
252
|
-
|
|
253
221
|
getActionByID(id) {
|
|
254
222
|
return this.actions.find(action => action._id === id);
|
|
255
223
|
}
|
|
256
|
-
|
|
257
224
|
async openOverflow() {
|
|
258
225
|
const overflowPopover = await this.getOverflowPopover();
|
|
259
226
|
overflowPopover.showAt(this.overflowButtonDOM);
|
|
260
227
|
}
|
|
261
|
-
|
|
262
228
|
async closeOverflow() {
|
|
263
229
|
const overflowPopover = await this.getOverflowPopover();
|
|
264
230
|
overflowPopover.close();
|
|
265
231
|
}
|
|
266
|
-
|
|
267
232
|
async getOverflowPopover() {
|
|
268
233
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
269
234
|
return staticAreaItem.querySelector(".ui5-notification-overflow-popover");
|
|
270
235
|
}
|
|
271
|
-
|
|
272
236
|
static async onDefine() {
|
|
273
237
|
NotificationListItemBase.i18nFioriBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori");
|
|
274
238
|
}
|
|
275
|
-
|
|
276
239
|
}
|
|
277
|
-
|
|
278
240
|
var _default = NotificationListItemBase;
|
|
279
241
|
_exports.default = _default;
|
|
280
242
|
});
|
|
@@ -12,10 +12,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
12
12
|
_PageBackgroundDesign = _interopRequireDefault(_PageBackgroundDesign);
|
|
13
13
|
_PageTemplate = _interopRequireDefault(_PageTemplate);
|
|
14
14
|
_Page = _interopRequireDefault(_Page);
|
|
15
|
-
|
|
16
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
|
-
|
|
18
16
|
// Template
|
|
17
|
+
|
|
19
18
|
// Styles
|
|
20
19
|
|
|
21
20
|
/**
|
|
@@ -25,9 +24,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
25
24
|
tag: "ui5-page",
|
|
26
25
|
managedSlots: true,
|
|
27
26
|
languageAware: true,
|
|
28
|
-
properties:
|
|
29
|
-
/** @lends sap.ui.webcomponents.fiori.Page.prototype */
|
|
30
|
-
{
|
|
27
|
+
properties: /** @lends sap.ui.webcomponents.fiori.Page.prototype */{
|
|
31
28
|
/**
|
|
32
29
|
* Defines the background color of the <code>ui5-page</code>.
|
|
33
30
|
* <br><br>
|
|
@@ -47,7 +44,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
47
44
|
type: String,
|
|
48
45
|
defaultValue: _PageBackgroundDesign.default.Solid
|
|
49
46
|
},
|
|
50
|
-
|
|
51
47
|
/**
|
|
52
48
|
* Disables vertical scrolling of page content.
|
|
53
49
|
* If set to true, there will be no vertical scrolling at all.
|
|
@@ -59,7 +55,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
59
55
|
disableScrolling: {
|
|
60
56
|
type: Boolean
|
|
61
57
|
},
|
|
62
|
-
|
|
63
58
|
/**
|
|
64
59
|
* Defines if the footer should float over the content.
|
|
65
60
|
* <br><br>
|
|
@@ -71,7 +66,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
71
66
|
floatingFooter: {
|
|
72
67
|
type: Boolean
|
|
73
68
|
},
|
|
74
|
-
|
|
75
69
|
/**
|
|
76
70
|
* Defines the footer visibility.
|
|
77
71
|
*
|
|
@@ -82,7 +76,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
82
76
|
hideFooter: {
|
|
83
77
|
type: Boolean
|
|
84
78
|
},
|
|
85
|
-
|
|
86
79
|
/**
|
|
87
80
|
* Defines the current media query size.
|
|
88
81
|
*
|
|
@@ -94,9 +87,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
94
87
|
type: String
|
|
95
88
|
}
|
|
96
89
|
},
|
|
97
|
-
slots:
|
|
98
|
-
/** @lends sap.ui.webcomponents.fiori.Page.prototype */
|
|
99
|
-
{
|
|
90
|
+
slots: /** @lends sap.ui.webcomponents.fiori.Page.prototype */{
|
|
100
91
|
/**
|
|
101
92
|
* Defines the header HTML Element.
|
|
102
93
|
*
|
|
@@ -107,7 +98,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
107
98
|
header: {
|
|
108
99
|
type: HTMLElement
|
|
109
100
|
},
|
|
110
|
-
|
|
111
101
|
/**
|
|
112
102
|
* Defines the content HTML Element.
|
|
113
103
|
*
|
|
@@ -119,7 +109,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
119
109
|
propertyName: "content",
|
|
120
110
|
type: HTMLElement
|
|
121
111
|
},
|
|
122
|
-
|
|
123
112
|
/**
|
|
124
113
|
* Defines the footer HTML Element.
|
|
125
114
|
*
|
|
@@ -131,10 +120,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
131
120
|
type: HTMLElement
|
|
132
121
|
}
|
|
133
122
|
},
|
|
134
|
-
events:
|
|
135
|
-
/** @lends sap.ui.webcomponents.fiori.Page.prototype */
|
|
136
|
-
{}
|
|
123
|
+
events: /** @lends sap.ui.webcomponents.fiori.Page.prototype */{}
|
|
137
124
|
};
|
|
125
|
+
|
|
138
126
|
/**
|
|
139
127
|
* @class
|
|
140
128
|
*
|
|
@@ -168,53 +156,41 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
168
156
|
* @since 1.0.0-rc.12
|
|
169
157
|
* @public
|
|
170
158
|
*/
|
|
171
|
-
|
|
172
159
|
class Page extends _UI5Element.default {
|
|
173
160
|
static get metadata() {
|
|
174
161
|
return metadata;
|
|
175
162
|
}
|
|
176
|
-
|
|
177
163
|
static get render() {
|
|
178
164
|
return _LitRenderer.default;
|
|
179
165
|
}
|
|
180
|
-
|
|
181
166
|
static get styles() {
|
|
182
167
|
return _Page.default;
|
|
183
168
|
}
|
|
184
|
-
|
|
185
169
|
static get template() {
|
|
186
170
|
return _PageTemplate.default;
|
|
187
171
|
}
|
|
188
|
-
|
|
189
172
|
constructor() {
|
|
190
173
|
super();
|
|
191
174
|
this._updateMediaRange = this.updateMediaRange.bind(this);
|
|
192
175
|
}
|
|
193
|
-
|
|
194
176
|
onEnterDOM() {
|
|
195
177
|
_ResizeHandler.default.register(this, this._updateMediaRange);
|
|
196
178
|
}
|
|
197
|
-
|
|
198
179
|
onExitDOM() {
|
|
199
180
|
_ResizeHandler.default.deregister(this, this._updateMediaRange);
|
|
200
181
|
}
|
|
201
|
-
|
|
202
182
|
updateMediaRange() {
|
|
203
183
|
this.mediaRange = _MediaRange.default.getCurrentRange(_MediaRange.default.RANGESETS.RANGE_4STEPS, this.getDomRef().offsetWidth);
|
|
204
184
|
}
|
|
205
|
-
|
|
206
185
|
get _contentBottom() {
|
|
207
186
|
return !this.floatingFooter && !this.hideFooter ? "2.75rem" : "0";
|
|
208
187
|
}
|
|
209
|
-
|
|
210
188
|
get _contentPaddingBottom() {
|
|
211
189
|
return this.floatingFooter && !this.hideFooter ? "3.5rem" : "0";
|
|
212
190
|
}
|
|
213
|
-
|
|
214
191
|
get _contentTop() {
|
|
215
192
|
return this.header.length ? "2.75rem" : "0rem";
|
|
216
193
|
}
|
|
217
|
-
|
|
218
194
|
get styles() {
|
|
219
195
|
return {
|
|
220
196
|
content: {
|
|
@@ -225,9 +201,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/UI5Element", "sap/
|
|
|
225
201
|
footer: {}
|
|
226
202
|
};
|
|
227
203
|
}
|
|
228
|
-
|
|
229
204
|
}
|
|
230
|
-
|
|
231
205
|
Page.define();
|
|
232
206
|
var _default = Page;
|
|
233
207
|
_exports.default = _default;
|