@openui5/sap.ui.webc.fiori 1.111.0 → 1.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/sap/ui/webc/fiori/.library +1 -1
- package/src/sap/ui/webc/fiori/Bar.js +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
|
@@ -20,10 +20,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
20
20
|
_ViewSettingsDialogMode = _interopRequireDefault(_ViewSettingsDialogMode);
|
|
21
21
|
_ViewSettingsDialogTemplate = _interopRequireDefault(_ViewSettingsDialogTemplate);
|
|
22
22
|
_ViewSettingsDialog = _interopRequireDefault(_ViewSettingsDialog);
|
|
23
|
-
|
|
24
23
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
-
|
|
26
24
|
// Template
|
|
25
|
+
|
|
27
26
|
// Styles
|
|
28
27
|
|
|
29
28
|
/**
|
|
@@ -32,9 +31,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
32
31
|
const metadata = {
|
|
33
32
|
tag: "ui5-view-settings-dialog",
|
|
34
33
|
managedSlots: true,
|
|
35
|
-
properties:
|
|
36
|
-
/** @lends sap.ui.webcomponents.fiori.ViewSettingsDialog.prototype */
|
|
37
|
-
{
|
|
34
|
+
properties: /** @lends sap.ui.webcomponents.fiori.ViewSettingsDialog.prototype */{
|
|
38
35
|
/**
|
|
39
36
|
* Defines the initial sort order.
|
|
40
37
|
*
|
|
@@ -45,7 +42,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
45
42
|
sortDescending: {
|
|
46
43
|
type: Boolean
|
|
47
44
|
},
|
|
48
|
-
|
|
49
45
|
/**
|
|
50
46
|
* Keeps recently focused list in order to focus it on next dialog open.
|
|
51
47
|
*
|
|
@@ -55,7 +51,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
55
51
|
_recentlyFocused: {
|
|
56
52
|
type: Object
|
|
57
53
|
},
|
|
58
|
-
|
|
59
54
|
/**
|
|
60
55
|
* Stores settings of the dialog before the initial open.
|
|
61
56
|
*
|
|
@@ -65,7 +60,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
65
60
|
_initialSettings: {
|
|
66
61
|
type: Object
|
|
67
62
|
},
|
|
68
|
-
|
|
69
63
|
/**
|
|
70
64
|
* Stores settings of the dialog after confirmation.
|
|
71
65
|
*
|
|
@@ -75,7 +69,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
75
69
|
_confirmedSettings: {
|
|
76
70
|
type: Object
|
|
77
71
|
},
|
|
78
|
-
|
|
79
72
|
/**
|
|
80
73
|
* Stores current settings of the dialog.
|
|
81
74
|
*
|
|
@@ -85,7 +78,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
85
78
|
_currentSettings: {
|
|
86
79
|
type: Object
|
|
87
80
|
},
|
|
88
|
-
|
|
89
81
|
/**
|
|
90
82
|
* Defnies the current mode of the component.
|
|
91
83
|
*
|
|
@@ -96,7 +88,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
96
88
|
type: _ViewSettingsDialogMode.default,
|
|
97
89
|
defaultValue: _ViewSettingsDialogMode.default.Sort
|
|
98
90
|
},
|
|
99
|
-
|
|
100
91
|
/**
|
|
101
92
|
* When in Filter By mode, defines whether we need to show the list of keys, or the list with values.
|
|
102
93
|
*
|
|
@@ -108,9 +99,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
108
99
|
noAttribute: true
|
|
109
100
|
}
|
|
110
101
|
},
|
|
111
|
-
slots:
|
|
112
|
-
/** @lends sap.ui.webcomponents.fiori.ViewSettingsDialog.prototype */
|
|
113
|
-
{
|
|
102
|
+
slots: /** @lends sap.ui.webcomponents.fiori.ViewSettingsDialog.prototype */{
|
|
114
103
|
/**
|
|
115
104
|
* Defines the list of items against which the user could sort data.
|
|
116
105
|
* <b>Note:</b> If you want to use this slot, you need to import used item: <code>import "@ui5/webcomponents-fiori/dist/SortItem";</code>
|
|
@@ -122,7 +111,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
122
111
|
sortItems: {
|
|
123
112
|
type: HTMLElement
|
|
124
113
|
},
|
|
125
|
-
|
|
126
114
|
/**
|
|
127
115
|
* Defines the <code>filterItems</code> list.
|
|
128
116
|
* <b>Note:</b> If you want to use this slot, you need to import used item: <code>import "@ui5/webcomponents-fiori/dist/FilterItem";</code>
|
|
@@ -135,9 +123,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
135
123
|
type: HTMLElement
|
|
136
124
|
}
|
|
137
125
|
},
|
|
138
|
-
events:
|
|
139
|
-
/** @lends sap.ui.webcomponents.fiori.ViewSettingsDialog.prototype */
|
|
140
|
-
{
|
|
126
|
+
events: /** @lends sap.ui.webcomponents.fiori.ViewSettingsDialog.prototype */{
|
|
141
127
|
/**
|
|
142
128
|
* Fired when confirmation button is activated.
|
|
143
129
|
*
|
|
@@ -168,7 +154,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
168
154
|
}
|
|
169
155
|
}
|
|
170
156
|
},
|
|
171
|
-
|
|
172
157
|
/**
|
|
173
158
|
* Fired when cancel button is activated.
|
|
174
159
|
*
|
|
@@ -199,7 +184,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
199
184
|
}
|
|
200
185
|
}
|
|
201
186
|
},
|
|
202
|
-
|
|
203
187
|
/**
|
|
204
188
|
* Fired before the component is opened. <b>This event does not bubble.</b>
|
|
205
189
|
*
|
|
@@ -209,6 +193,7 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
209
193
|
"before-open": {}
|
|
210
194
|
}
|
|
211
195
|
};
|
|
196
|
+
|
|
212
197
|
/**
|
|
213
198
|
* @class
|
|
214
199
|
* <h3 class="comment-api-title">Overview</h3>
|
|
@@ -241,7 +226,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
241
226
|
* @since 1.0.0-rc.16
|
|
242
227
|
* @public
|
|
243
228
|
*/
|
|
244
|
-
|
|
245
229
|
class ViewSettingsDialog extends _UI5Element.default {
|
|
246
230
|
constructor() {
|
|
247
231
|
super();
|
|
@@ -251,138 +235,107 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
251
235
|
filters: []
|
|
252
236
|
};
|
|
253
237
|
}
|
|
254
|
-
|
|
255
238
|
onBeforeRendering() {
|
|
256
239
|
if (this._currentSettings.filters && this._currentSettings.filters.length) {
|
|
257
240
|
this._setAdditionalTexts();
|
|
258
241
|
}
|
|
259
|
-
|
|
260
242
|
if (!this.shouldBuildSort && this.shouldBuildFilter) {
|
|
261
243
|
this._currentMode = _ViewSettingsDialogMode.default.Filter;
|
|
262
244
|
}
|
|
263
245
|
}
|
|
264
|
-
|
|
265
246
|
_setAdditionalTexts() {
|
|
266
247
|
// Add the additional text to the filter options
|
|
267
248
|
this.filterItems.forEach((filter, index) => {
|
|
268
249
|
let selectedCount = 0;
|
|
269
|
-
|
|
270
250
|
for (let i = 0; i < filter.values.length; i++) {
|
|
271
251
|
if (this._currentSettings.filters[index].filterOptions[i].selected) {
|
|
272
252
|
selectedCount++;
|
|
273
253
|
}
|
|
274
254
|
}
|
|
275
|
-
|
|
276
255
|
filter.additionalText = !selectedCount ? "" : selectedCount;
|
|
277
256
|
});
|
|
278
257
|
}
|
|
279
|
-
|
|
280
258
|
static get render() {
|
|
281
259
|
return _LitRenderer.default;
|
|
282
260
|
}
|
|
283
|
-
|
|
284
261
|
static get metadata() {
|
|
285
262
|
return metadata;
|
|
286
263
|
}
|
|
287
|
-
|
|
288
264
|
static get dependencies() {
|
|
289
265
|
return [_Bar.default, _Button.default, _Title.default, _Dialog.default, _Label.default, _List.default, _StandardListItem.default, _GroupHeaderListItem.default, _SegmentedButton.default, _SegmentedButtonItem.default];
|
|
290
266
|
}
|
|
291
|
-
|
|
292
267
|
static get template() {
|
|
293
268
|
return _ViewSettingsDialogTemplate.default;
|
|
294
269
|
}
|
|
295
|
-
|
|
296
270
|
static get styles() {
|
|
297
271
|
return _ViewSettingsDialog.default;
|
|
298
272
|
}
|
|
299
|
-
|
|
300
273
|
static async onDefine() {
|
|
301
274
|
ViewSettingsDialog.i18nBundle = await (0, _i18nBundle.getI18nBundle)("@ui5/webcomponents-fiori");
|
|
302
275
|
}
|
|
303
|
-
|
|
304
276
|
get _selectedFilter() {
|
|
305
277
|
for (let i = 0; i < this._currentSettings.filters.length; i++) {
|
|
306
278
|
if (this._currentSettings.filters[i].selected) {
|
|
307
279
|
return this._currentSettings.filters[i];
|
|
308
280
|
}
|
|
309
281
|
}
|
|
310
|
-
|
|
311
282
|
return "";
|
|
312
283
|
}
|
|
313
|
-
|
|
314
284
|
get shouldBuildSort() {
|
|
315
285
|
return !!this.sortItems.length;
|
|
316
286
|
}
|
|
317
|
-
|
|
318
287
|
get shouldBuildFilter() {
|
|
319
288
|
return !!this.filterItems.length;
|
|
320
289
|
}
|
|
321
|
-
|
|
322
290
|
get hasPagination() {
|
|
323
291
|
return this.shouldBuildSort && this.shouldBuildFilter;
|
|
324
292
|
}
|
|
325
|
-
|
|
326
293
|
get _filterByTitle() {
|
|
327
294
|
return `${ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_FILTER_BY)}: ${this._selectedFilter.text}`;
|
|
328
295
|
}
|
|
329
|
-
|
|
330
296
|
get _dialogTitle() {
|
|
331
297
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_DIALOG_TITLE_SORT);
|
|
332
298
|
}
|
|
333
|
-
|
|
334
299
|
get _okButtonLabel() {
|
|
335
300
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_SUBMIT_BUTTON);
|
|
336
301
|
}
|
|
337
|
-
|
|
338
302
|
get _cancelButtonLabel() {
|
|
339
303
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_CANCEL_BUTTON);
|
|
340
304
|
}
|
|
341
|
-
|
|
342
305
|
get _resetButtonLabel() {
|
|
343
306
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_RESET_BUTTON);
|
|
344
307
|
}
|
|
345
|
-
|
|
346
308
|
get _ascendingLabel() {
|
|
347
309
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_ORDER_ASCENDING);
|
|
348
310
|
}
|
|
349
|
-
|
|
350
311
|
get _descendingLabel() {
|
|
351
312
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_ORDER_DESCENDING);
|
|
352
313
|
}
|
|
353
|
-
|
|
354
314
|
get _sortOrderLabel() {
|
|
355
315
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_SORT_ORDER);
|
|
356
316
|
}
|
|
357
|
-
|
|
358
317
|
get _filterByLabel() {
|
|
359
318
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_FILTER_BY);
|
|
360
319
|
}
|
|
361
|
-
|
|
362
320
|
get _sortByLabel() {
|
|
363
321
|
return ViewSettingsDialog.i18nBundle.getText(_i18nDefaults.VSD_SORT_BY);
|
|
364
322
|
}
|
|
365
|
-
|
|
366
323
|
get _isPhone() {
|
|
367
324
|
return (0, _Device.isPhone)();
|
|
368
325
|
}
|
|
369
|
-
|
|
370
326
|
get _sortAscending() {
|
|
371
327
|
return !this.sortDescending;
|
|
372
328
|
}
|
|
373
|
-
|
|
374
329
|
get _title() {
|
|
375
330
|
return this.showBackButton ? this._filterByTitle : this._dialogTitle;
|
|
376
331
|
}
|
|
332
|
+
|
|
377
333
|
/**
|
|
378
334
|
* Determines disabled state of the <code>Reset</code> button.
|
|
379
335
|
*/
|
|
380
|
-
|
|
381
|
-
|
|
382
336
|
get _disableResetButton() {
|
|
383
337
|
return this._dialog && this._sortSetttingsAreInitial && this._filteresAreInitial;
|
|
384
338
|
}
|
|
385
|
-
|
|
386
339
|
get _sortSetttingsAreInitial() {
|
|
387
340
|
let settingsAreInitial = true;
|
|
388
341
|
["sortBy", "sortOrder"].forEach(sortList => {
|
|
@@ -394,10 +347,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
394
347
|
});
|
|
395
348
|
return settingsAreInitial;
|
|
396
349
|
}
|
|
397
|
-
|
|
398
350
|
get _filteresAreInitial() {
|
|
399
351
|
let filtersAreInitial = true;
|
|
400
|
-
|
|
401
352
|
this._currentSettings.filters.forEach((filter, index) => {
|
|
402
353
|
for (let i = 0; i < filter.filterOptions.length; i++) {
|
|
403
354
|
if (filter.filterOptions[i].selected !== this._initialSettings.filters[index].filterOptions[i].selected) {
|
|
@@ -405,14 +356,12 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
405
356
|
}
|
|
406
357
|
}
|
|
407
358
|
});
|
|
408
|
-
|
|
409
359
|
return filtersAreInitial;
|
|
410
360
|
}
|
|
361
|
+
|
|
411
362
|
/**
|
|
412
363
|
* Returns the current settings (current state of all lists).
|
|
413
364
|
*/
|
|
414
|
-
|
|
415
|
-
|
|
416
365
|
get _settings() {
|
|
417
366
|
return {
|
|
418
367
|
sortOrder: JSON.parse(JSON.stringify(this.initSortOrderItems)),
|
|
@@ -431,7 +380,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
431
380
|
})
|
|
432
381
|
};
|
|
433
382
|
}
|
|
434
|
-
|
|
435
383
|
get initSortByItems() {
|
|
436
384
|
return this.sortItems.map((item, index) => {
|
|
437
385
|
return {
|
|
@@ -441,7 +389,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
441
389
|
};
|
|
442
390
|
});
|
|
443
391
|
}
|
|
444
|
-
|
|
445
392
|
get initSortOrderItems() {
|
|
446
393
|
return [{
|
|
447
394
|
text: this._ascendingLabel,
|
|
@@ -451,45 +398,38 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
451
398
|
selected: this.sortDescending
|
|
452
399
|
}];
|
|
453
400
|
}
|
|
454
|
-
|
|
455
401
|
get expandContent() {
|
|
456
402
|
return this._filterStepTwo || !this.hasPagination;
|
|
457
403
|
}
|
|
458
|
-
|
|
459
404
|
get isModeSort() {
|
|
460
405
|
return this._currentMode === _ViewSettingsDialogMode.default.Sort;
|
|
461
406
|
}
|
|
462
|
-
|
|
463
407
|
get isModeFilter() {
|
|
464
408
|
return this._currentMode === _ViewSettingsDialogMode.default.Filter;
|
|
465
409
|
}
|
|
466
|
-
|
|
467
410
|
get showBackButton() {
|
|
468
411
|
return this.isModeFilter && this._filterStepTwo;
|
|
469
412
|
}
|
|
470
|
-
|
|
471
413
|
get _sortOrderListDomRef() {
|
|
472
414
|
return this.shadowRoot.querySelector("[ui5-list][sort-order]");
|
|
473
415
|
}
|
|
474
|
-
|
|
475
416
|
get _sortByList() {
|
|
476
417
|
return this.shadowRoot.querySelector("[ui5-list][sort-by]");
|
|
477
418
|
}
|
|
478
|
-
|
|
479
419
|
get _dialogDomRef() {
|
|
480
420
|
return this.shadowRoot.querySelector("[ui5-dialog]");
|
|
481
421
|
}
|
|
422
|
+
|
|
482
423
|
/**
|
|
483
424
|
* Shows the dialog.
|
|
484
425
|
* @public
|
|
485
426
|
*/
|
|
486
|
-
|
|
487
|
-
|
|
488
427
|
show() {
|
|
489
428
|
if (!this._dialog) {
|
|
490
429
|
this._sortOrder = this._sortOrderListDomRef;
|
|
491
|
-
this._sortBy = this._sortByList;
|
|
430
|
+
this._sortBy = this._sortByList;
|
|
492
431
|
|
|
432
|
+
// Sorting
|
|
493
433
|
this._initialSettings = this._settings;
|
|
494
434
|
this._currentSettings = this._settings;
|
|
495
435
|
this._confirmedSettings = this._settings;
|
|
@@ -497,18 +437,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
497
437
|
} else {
|
|
498
438
|
this._restoreSettings(this._confirmedSettings);
|
|
499
439
|
}
|
|
500
|
-
|
|
501
440
|
this.fireEvent("before-open", {}, true, false);
|
|
502
|
-
|
|
503
441
|
this._dialog.show(true);
|
|
504
|
-
|
|
505
442
|
this._dialog.querySelector("[ui5-list]").focusFirstItem();
|
|
506
443
|
}
|
|
507
|
-
|
|
508
444
|
_handleModeChange(event) {
|
|
509
445
|
this._currentMode = _ViewSettingsDialogMode.default[event.detail.selectedItem.getAttribute("mode")];
|
|
510
446
|
}
|
|
511
|
-
|
|
512
447
|
_handleFilterValueItemClick(event) {
|
|
513
448
|
// Update the component state
|
|
514
449
|
this._currentSettings.filters = this._currentSettings.filters.map(filter => {
|
|
@@ -519,16 +454,13 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
519
454
|
}
|
|
520
455
|
});
|
|
521
456
|
}
|
|
522
|
-
|
|
523
457
|
return filter;
|
|
524
458
|
});
|
|
525
459
|
this._currentSettings = JSON.parse(JSON.stringify(this._currentSettings));
|
|
526
460
|
}
|
|
527
|
-
|
|
528
461
|
_navigateToFilters(event) {
|
|
529
462
|
this._filterStepTwo = false;
|
|
530
463
|
}
|
|
531
|
-
|
|
532
464
|
_changeCurrentFilter(event) {
|
|
533
465
|
this._filterStepTwo = true;
|
|
534
466
|
this._currentSettings.filters = this._currentSettings.filters.map(filter => {
|
|
@@ -536,65 +468,56 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
536
468
|
return filter;
|
|
537
469
|
});
|
|
538
470
|
}
|
|
471
|
+
|
|
539
472
|
/**
|
|
540
473
|
* Closes the dialog.
|
|
541
474
|
*/
|
|
542
|
-
|
|
543
|
-
|
|
544
475
|
close() {
|
|
545
476
|
this._dialog && this._dialog.close();
|
|
546
477
|
}
|
|
478
|
+
|
|
547
479
|
/**
|
|
548
480
|
* Sets focus on recently used control within the dialog.
|
|
549
481
|
*/
|
|
550
|
-
|
|
551
|
-
|
|
552
482
|
_focusRecentlyUsedControl() {
|
|
553
483
|
if (!this._recentlyFocused || !Object.keys(this._recentlyFocused).length) {
|
|
554
484
|
return;
|
|
555
485
|
}
|
|
556
|
-
|
|
557
486
|
const recentlyFocusedSelectedItems = this._recentlyFocused.getSelectedItems(),
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
487
|
+
recentlyFocusedItems = this._recentlyFocused.items,
|
|
488
|
+
slottedNodesExist = recentlyFocusedItems[1] && recentlyFocusedItems[1].assignedNodes && recentlyFocusedItems[1].assignedNodes().length;
|
|
561
489
|
if (recentlyFocusedSelectedItems.length) {
|
|
562
490
|
recentlyFocusedSelectedItems[0].focus();
|
|
563
491
|
} else if (slottedNodesExist) {
|
|
564
492
|
this._recentlyFocused.focusItem(recentlyFocusedItems[1].assignedNodes()[0]);
|
|
565
493
|
}
|
|
566
494
|
}
|
|
495
|
+
|
|
567
496
|
/**
|
|
568
497
|
* Stores current settings as confirmed and fires <code>confirm</code> event.
|
|
569
498
|
*/
|
|
570
|
-
|
|
571
|
-
|
|
572
499
|
_confirmSettings() {
|
|
573
500
|
this.close();
|
|
574
501
|
this._confirmedSettings = this._currentSettings;
|
|
575
502
|
this.fireEvent("confirm", this.eventsParams);
|
|
576
503
|
}
|
|
504
|
+
|
|
577
505
|
/**
|
|
578
506
|
* Sets current settings to recently confirmed ones and fires <code>cancel</code> event.
|
|
579
507
|
*/
|
|
580
|
-
|
|
581
|
-
|
|
582
508
|
_cancelSettings() {
|
|
583
509
|
this._restoreSettings(this._confirmedSettings);
|
|
584
|
-
|
|
585
510
|
this.fireEvent("cancel", this.eventsParams);
|
|
586
511
|
this.close();
|
|
587
512
|
}
|
|
588
|
-
|
|
589
513
|
get eventsParams() {
|
|
590
514
|
const _currentSortOrderSelected = this._currentSettings.sortOrder.filter(item => item.selected)[0],
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
515
|
+
_currentSortBySelected = this._currentSettings.sortBy.filter(item => item.selected)[0],
|
|
516
|
+
sortOrder = _currentSortOrderSelected && _currentSortOrderSelected.text,
|
|
517
|
+
sortDescending = !this._currentSettings.sortOrder[0].selected,
|
|
518
|
+
sortBy = _currentSortBySelected && _currentSortBySelected.text,
|
|
519
|
+
sortByElementIndex = _currentSortBySelected && _currentSortBySelected.index,
|
|
520
|
+
sortByItem = this.sortItems[sortByElementIndex];
|
|
598
521
|
return {
|
|
599
522
|
sortOrder,
|
|
600
523
|
sortDescending,
|
|
@@ -603,10 +526,8 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
603
526
|
filters: this.selectedFilters
|
|
604
527
|
};
|
|
605
528
|
}
|
|
606
|
-
|
|
607
529
|
get selectedFilters() {
|
|
608
530
|
const result = [];
|
|
609
|
-
|
|
610
531
|
this._currentSettings.filters.forEach(filter => {
|
|
611
532
|
const selectedOptions = [];
|
|
612
533
|
filter.filterOptions.forEach(option => {
|
|
@@ -614,82 +535,74 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
614
535
|
selectedOptions.push(option.text);
|
|
615
536
|
}
|
|
616
537
|
});
|
|
617
|
-
|
|
618
538
|
if (selectedOptions.length) {
|
|
619
539
|
result.push({});
|
|
620
540
|
result[result.length - 1][filter.text] = selectedOptions;
|
|
621
541
|
}
|
|
622
542
|
});
|
|
623
|
-
|
|
624
543
|
return result;
|
|
625
544
|
}
|
|
545
|
+
|
|
626
546
|
/**
|
|
627
547
|
* If the dialog is closed by [ESC] key, do the same as if the <code>Cancel</code> button is pressed.
|
|
628
548
|
*
|
|
629
549
|
* @param {event} evt
|
|
630
550
|
*/
|
|
631
|
-
|
|
632
|
-
|
|
633
551
|
_restoreConfirmedOnEscape(evt) {
|
|
634
552
|
if (evt.detail.escPressed) {
|
|
635
553
|
this._cancelSettings();
|
|
636
|
-
|
|
637
554
|
this._currentMode = "Sort";
|
|
638
555
|
this._filterStepTwo = false;
|
|
639
556
|
}
|
|
640
557
|
}
|
|
558
|
+
|
|
641
559
|
/**
|
|
642
560
|
* Resets the control settings to their initial state.
|
|
643
561
|
*/
|
|
644
|
-
|
|
645
|
-
|
|
646
562
|
_resetSettings() {
|
|
647
563
|
this._restoreSettings(this._initialSettings);
|
|
648
|
-
|
|
649
564
|
this._filterStepTwo = false;
|
|
650
565
|
this._recentlyFocused = this._sortOrder;
|
|
651
|
-
|
|
652
566
|
this._focusRecentlyUsedControl();
|
|
653
567
|
}
|
|
568
|
+
|
|
654
569
|
/**
|
|
655
570
|
* Sets current settings to ones passed as <code>settings</code> argument.
|
|
656
571
|
*
|
|
657
572
|
* @param {Object} settings
|
|
658
573
|
*/
|
|
659
|
-
|
|
660
|
-
|
|
661
574
|
_restoreSettings(settings) {
|
|
662
575
|
this._currentSettings = JSON.parse(JSON.stringify(settings));
|
|
663
576
|
}
|
|
577
|
+
|
|
664
578
|
/**
|
|
665
579
|
* Stores <code>Sort Order</code> list as recently used control and its selected item in current state.
|
|
666
580
|
*/
|
|
667
|
-
|
|
668
|
-
|
|
669
581
|
_onSortOrderChange(event) {
|
|
670
582
|
this._recentlyFocused = this._sortOrder;
|
|
671
583
|
this._currentSettings.sortOrder = this.initSortOrderItems.map(item => {
|
|
672
584
|
item.selected = item.text === event.detail.item.innerText;
|
|
673
585
|
return item;
|
|
674
|
-
});
|
|
586
|
+
});
|
|
675
587
|
|
|
588
|
+
// Invalidate
|
|
676
589
|
this._currentSettings = JSON.parse(JSON.stringify(this._currentSettings));
|
|
677
590
|
}
|
|
591
|
+
|
|
678
592
|
/**
|
|
679
593
|
* Stores <code>Sort By</code> list as recently used control and its selected item in current state.
|
|
680
594
|
*/
|
|
681
|
-
|
|
682
|
-
|
|
683
595
|
_onSortByChange(event) {
|
|
684
596
|
const selectedItemIndex = Number(event.detail.item.getAttribute("data-ui5-external-action-item-index"));
|
|
685
597
|
this._recentlyFocused = this._sortBy;
|
|
686
598
|
this._currentSettings.sortBy = this.initSortByItems.map((item, index) => {
|
|
687
599
|
item.selected = index === selectedItemIndex;
|
|
688
600
|
return item;
|
|
689
|
-
});
|
|
690
|
-
|
|
601
|
+
});
|
|
602
|
+
// Invalidate
|
|
691
603
|
this._currentSettings = JSON.parse(JSON.stringify(this._currentSettings));
|
|
692
604
|
}
|
|
605
|
+
|
|
693
606
|
/**
|
|
694
607
|
* Sets a JavaScript object, as settings to the <code>ui5-view-settings-dialog</code>.
|
|
695
608
|
* This method can be used after the dialog is initially open, as the dialog need to set its initial settings.
|
|
@@ -701,12 +614,9 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
701
614
|
* @param {string} settings A value to be set as predefined settings.
|
|
702
615
|
* @public
|
|
703
616
|
*/
|
|
704
|
-
|
|
705
|
-
|
|
706
617
|
setConfirmedSettings(settings) {
|
|
707
618
|
if (settings && this._dialog && !this._dialog.isOpen()) {
|
|
708
619
|
const tempSettings = JSON.parse(JSON.stringify(this._confirmedSettings));
|
|
709
|
-
|
|
710
620
|
if (settings.sortOrder) {
|
|
711
621
|
for (let i = 0; i < tempSettings.sortOrder.length; i++) {
|
|
712
622
|
if (tempSettings.sortOrder[i].text === settings.sortOrder) {
|
|
@@ -716,7 +626,6 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
716
626
|
}
|
|
717
627
|
}
|
|
718
628
|
}
|
|
719
|
-
|
|
720
629
|
if (settings.sortBy) {
|
|
721
630
|
for (let i = 0; i < tempSettings.sortBy.length; i++) {
|
|
722
631
|
if (tempSettings.sortBy[i].text === settings.sortBy) {
|
|
@@ -726,14 +635,11 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
726
635
|
}
|
|
727
636
|
}
|
|
728
637
|
}
|
|
729
|
-
|
|
730
638
|
if (settings.filters) {
|
|
731
639
|
const inputFilters = {};
|
|
732
|
-
|
|
733
640
|
for (let i = 0; i < settings.filters.length; i++) {
|
|
734
641
|
inputFilters[Object.keys(settings.filters[i])[0]] = settings.filters[i][Object.keys(settings.filters[i])[0]];
|
|
735
642
|
}
|
|
736
|
-
|
|
737
643
|
for (let i = 0; i < tempSettings.filters.length; i++) {
|
|
738
644
|
for (let j = 0; j < tempSettings.filters[i].filterOptions.length; j++) {
|
|
739
645
|
if (inputFilters[tempSettings.filters[i].text] && inputFilters[tempSettings.filters[i].text].indexOf(tempSettings.filters[i].filterOptions[j].text) > -1) {
|
|
@@ -744,13 +650,10 @@ sap.ui.define(["exports", "sap/ui/webc/common/thirdparty/base/i18nBundle", "sap/
|
|
|
744
650
|
}
|
|
745
651
|
}
|
|
746
652
|
}
|
|
747
|
-
|
|
748
653
|
this._confirmedSettings = JSON.parse(JSON.stringify(tempSettings));
|
|
749
654
|
}
|
|
750
655
|
}
|
|
751
|
-
|
|
752
656
|
}
|
|
753
|
-
|
|
754
657
|
ViewSettingsDialog.define();
|
|
755
658
|
var _default = ViewSettingsDialog;
|
|
756
659
|
_exports.default = _default;
|