@openui5/sap.ui.webc.fiori 1.94.0 → 1.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +12 -12
- package/THIRDPARTY.txt +21 -17
- package/package.json +4 -4
- package/src/sap/ui/webc/fiori/.library +1 -1
- package/src/sap/ui/webc/fiori/Bar.js +18 -10
- package/src/sap/ui/webc/fiori/BarcodeScannerDialog.js +104 -0
- package/src/sap/ui/webc/fiori/FilterItem.js +71 -0
- package/src/sap/ui/webc/fiori/FilterItemOption.js +68 -0
- package/src/sap/ui/webc/fiori/FlexibleColumnLayout.js +2 -2
- package/src/sap/ui/webc/fiori/IllustratedMessage.js +114 -0
- package/src/sap/ui/webc/fiori/NotificationAction.js +1 -1
- package/src/sap/ui/webc/fiori/NotificationListGroupItem.js +26 -14
- package/src/sap/ui/webc/fiori/NotificationListItem.js +31 -20
- 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 +4 -2
- 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 +68 -0
- package/src/sap/ui/webc/fiori/Timeline.js +19 -1
- package/src/sap/ui/webc/fiori/TimelineItem.js +9 -7
- package/src/sap/ui/webc/fiori/UploadCollection.js +13 -3
- package/src/sap/ui/webc/fiori/UploadCollectionItem.js +24 -16
- package/src/sap/ui/webc/fiori/ViewSettingsDialog.js +132 -0
- package/src/sap/ui/webc/fiori/Wizard.js +17 -9
- package/src/sap/ui/webc/fiori/WizardStep.js +25 -11
- package/src/sap/ui/webc/fiori/library.js +264 -5
- package/src/sap/ui/webc/fiori/thirdparty/Bar.js +32 -2
- package/src/sap/ui/webc/fiori/thirdparty/BarcodeScannerDialog.js +18996 -0
- package/src/sap/ui/webc/fiori/thirdparty/FilterItem.js +45 -0
- package/src/sap/ui/webc/fiori/thirdparty/FilterItemOption.js +31 -0
- package/src/sap/ui/webc/fiori/thirdparty/FlexibleColumnLayout.js +16 -12
- package/src/sap/ui/webc/fiori/thirdparty/IllustratedMessage.js +147 -0
- package/src/sap/ui/webc/fiori/thirdparty/Interfaces.js +6 -0
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListGroupItem.js +14 -17
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListItem.js +33 -34
- package/src/sap/ui/webc/fiori/thirdparty/NotificationListItemBase.js +13 -9
- package/src/sap/ui/webc/fiori/thirdparty/Page.js +20 -1
- package/src/sap/ui/webc/fiori/thirdparty/ProductSwitch.js +6 -3
- package/src/sap/ui/webc/fiori/thirdparty/ProductSwitchItem.js +6 -0
- package/src/sap/ui/webc/fiori/thirdparty/ShellBar.js +52 -24
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigation.js +2 -1
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigationItem.js +6 -0
- package/src/sap/ui/webc/fiori/thirdparty/SideNavigationSubItem.js +6 -0
- package/src/sap/ui/webc/fiori/thirdparty/SortItem.js +31 -0
- package/src/sap/ui/webc/fiori/thirdparty/Timeline.js +47 -4
- package/src/sap/ui/webc/fiori/thirdparty/TimelineItem.js +29 -6
- package/src/sap/ui/webc/fiori/thirdparty/UploadCollection.js +16 -10
- package/src/sap/ui/webc/fiori/thirdparty/UploadCollectionItem.js +77 -79
- package/src/sap/ui/webc/fiori/thirdparty/ViewSettingsDialog.js +376 -0
- package/src/sap/ui/webc/fiori/thirdparty/Wizard.js +29 -16
- package/src/sap/ui/webc/fiori/thirdparty/WizardStep.js +2 -2
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Bar.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/BarcodeScannerDialog.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/FilterItem.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/FlexibleColumnLayout.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/IllustratedMessage.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/InvisibleTextStyles.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotifactionOverflowActionsPopover.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListGroupItem.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListItem.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationListItemBase.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/NotificationPrioIcon.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Page.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ProductSwitch.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ProductSwitchItem.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ShellBar.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/SideNavigation.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Timeline.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/TimelineItem.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/UploadCollection.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/UploadCollectionItem.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/ViewSettingsDialog.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/Wizard.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/WizardPopover.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/WizardTab.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcb/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_belize_hcw/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/css/themes/sap_horizon/parameters-bundle.css +1 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/i18n/i18n-defaults.js +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/Themes.js +9 -8
- package/src/sap/ui/webc/fiori/thirdparty/generated/json-imports/i18n.js +47 -47
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarTemplate.lit.js +3 -12
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/BarcodeScannerDialogTemplate.lit.js +7 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FilterItemTemplate.lit.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/FlexibleColumnLayoutTemplate.lit.js +3 -12
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/IllustratedMessageTemplate.lit.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotifactionOverflowActionsPopoverTemplate.lit.js +4 -13
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListGroupItemTemplate.lit.js +13 -22
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/NotificationListItemTemplate.lit.js +12 -21
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/PageTemplate.lit.js +3 -8
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchItemTemplate.lit.js +13 -22
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ProductSwitchTemplate.lit.js +3 -12
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarItemTemplate.lit.js +3 -12
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarPopoverTemplate.lit.js +5 -14
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ShellBarTemplate.lit.js +21 -29
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationItemPopoverContentTemplate.lit.js +4 -13
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/SideNavigationTemplate.lit.js +12 -21
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineItemTemplate.lit.js +9 -17
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/TimelineTemplate.lit.js +4 -13
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionItemTemplate.lit.js +22 -31
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/UploadCollectionTemplate.lit.js +5 -15
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/ViewSettingsDialogTemplate.lit.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardPopoverTemplate.lit.js +4 -13
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTabTemplate.lit.js +7 -16
- package/src/sap/ui/webc/fiori/thirdparty/generated/templates/WizardTemplate.lit.js +5 -14
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Bar.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/BarcodeScannerDialog.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/FilterItem.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/FlexibleColumnLayout.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/IllustratedMessage.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/InvisibleTextStyles.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotifactionOverflowActionsPopover.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListGroupItem.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItem.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationListItemBase.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/NotificationPrioIcon.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Page.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitch.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ProductSwitchItem.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ShellBar.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/SideNavigation.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Timeline.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/TimelineItem.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollection.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/UploadCollectionItem.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/ViewSettingsDialog.css.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/Wizard.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardPopover.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/WizardTab.css.js +3 -3
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_belize_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/generated/themes/sap_horizon/parameters-bundle.css.js +7 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/BeforeSearch.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoActivities.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoData.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoEntries.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoMail.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoNotifications.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSavedItems.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoSearchResults.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/NoTasks.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToLoad.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/UnableToUpload.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-BeforeSearch.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoActivities.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoData.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoEntries.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoMail.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoNotifications.js +21 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoSavedItems.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoSearchResults.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-NoTasks.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UnableToLoad.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Dialog-UnableToUpload.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-BeforeSearch.js +38 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoActivities.js +35 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoData.js +30 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoEntries.js +39 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoMail.js +30 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoNotifications.js +43 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoSavedItems.js +42 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoSearchResults.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-NoTasks.js +29 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UnableToLoad.js +30 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Scene-UnableToUpload.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-BeforeSearch.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoActivities.js +29 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoData.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoEntries.js +28 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoMail.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoNotifications.js +21 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoSavedItems.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoSearchResults.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-NoTasks.js +26 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UnableToLoad.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/sapIllus-Spot-UnableToUpload.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/CodePlaceholder.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Company.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/ExternalLink.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/FaceID.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Fingerprint.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Lock.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Mission.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoApplications.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoFlows.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/NoUsers.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Radar.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Services.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpired.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SessionExpiring.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Success.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/SuccessfulAuth.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/Unlock.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/UnsuccessfulAuth.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-CodePlaceholder.js +12 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Company.js +19 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-ExternalLink.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-FaceID.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Fingerprint.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Lock.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Mission.js +24 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-NoApplications.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-NoFlows.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-NoUsers.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Radar.js +21 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Services.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-SessionExpired.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-SessionExpiring.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Success.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-SuccessfulAuth.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-Unlock.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Dialog-UnsuccessfulAuth.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-CodePlaceholder.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Company.js +36 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-ExternalLink.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-FaceID.js +27 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Fingerprint.js +41 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Lock.js +28 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Mission.js +25 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-NoApplications.js +24 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-NoFlows.js +26 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-NoUsers.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Radar.js +26 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Services.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-SessionExpired.js +24 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-SessionExpiring.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Success.js +24 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-SuccessfulAuth.js +26 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-Unlock.js +21 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Scene-UnsuccessfulAuth.js +28 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-CodePlaceholder.js +12 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Company.js +19 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-ExternalLink.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-FaceID.js +22 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Fingerprint.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Lock.js +19 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Mission.js +23 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-NoApplications.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-NoFlows.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-NoUsers.js +18 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Radar.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Services.js +21 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-SessionExpired.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-SessionExpiring.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Success.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-SuccessfulAuth.js +15 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-Unlock.js +17 -0
- package/src/sap/ui/webc/fiori/thirdparty/illustrations/tnt/tnt-Spot-UnsuccessfulAuth.js +16 -0
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ar-59619ddd.js → messagebundle_ar-f55bd0d9.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_bg-b36e00fa.js → messagebundle_bg-eb73ad77.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ca-a103fc34.js → messagebundle_ca-18554b48.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_cs-d56df98c.js → messagebundle_cs-7c21900b.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_cy-e28cac51.js → messagebundle_cy-04ebca8d.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_da-7f08bcaa.js → messagebundle_da-49bb0a1c.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_de-a43e24f9.js → messagebundle_de-ba618d63.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_el-8b1bd7a2.js → messagebundle_el-7db9c5fd.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en-502be1f9.js → messagebundle_en-d099f44a.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_GB-d28c7c2d.js → messagebundle_en_GB-4887b667.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_US_sappsd-f0f7ff12.js → messagebundle_en_US_sappsd-65b99ab9.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_US_saprigi-f136d08a.js → messagebundle_en_US_saprigi-617e6535.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_en_US_saptrc-ea579165.js → messagebundle_en_US_saptrc-6d0883b2.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_es-cf460452.js → messagebundle_es-f7558331.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_es_MX-b588b49c.js → messagebundle_es_MX-82bc00a1.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_et-33a3c1a9.js → messagebundle_et-24b4540a.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_fi-05999936.js → messagebundle_fi-8dc53cb0.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_fr-6b78c685.js → messagebundle_fr-7e340939.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_fr_CA-5cd1bb21.js → messagebundle_fr_CA-d3853c9b.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/messagebundle_hi-78b175f0.js +97 -0
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_hr-1d544b5e.js → messagebundle_hr-3ed6353c.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_hu-d9824d87.js → messagebundle_hu-9af2b64b.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_it-590c03c0.js → messagebundle_it-7968f555.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_iw-2a4cd300.js → messagebundle_iw-30a93e6c.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ja-a2be15f9.js → messagebundle_ja-2b23c18f.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_kk-d1344aab.js → messagebundle_kk-847a0b84.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ko-0da72c2c.js → messagebundle_ko-eaabc5f5.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_lt-fe9461f4.js → messagebundle_lt-ac869899.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_lv-217ab319.js → messagebundle_lv-ff63b614.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ms-a35de2b8.js → messagebundle_ms-e844b95d.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_nl-9be8eb5b.js → messagebundle_nl-b644fdd4.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_no-73f4a816.js → messagebundle_no-aedb265f.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_pl-c579e301.js → messagebundle_pl-3f303622.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_pt-407551a4.js → messagebundle_pt-541e1fa1.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_pt_PT-7d09f65f.js → messagebundle_pt_PT-196ce616.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ro-c9bda608.js → messagebundle_ro-cbff6cf1.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_ru-f4dac468.js → messagebundle_ru-ff1b077c.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sh-c66bf858.js → messagebundle_sh-88cafb2d.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sk-8df875ec.js → messagebundle_sk-877257e4.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sl-b18551b8.js → messagebundle_sl-0504465e.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_sv-7db1ca43.js → messagebundle_sv-30172f15.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/messagebundle_th-1e8f0c20.js +97 -0
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_tr-b6eee8da.js → messagebundle_tr-1739cd9a.js} +38 -2
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_uk-6fcd6591.js → messagebundle_uk-b933c172.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_vi-db4b5291.js → messagebundle_vi-329c5bac.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_zh_CN-6b87b448.js → messagebundle_zh_CN-4936266e.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/{messagebundle_zh_TW-8b6411cf.js → messagebundle_zh_TW-87ecd6ac.js} +37 -1
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-1b65841f.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-7ad9af9f.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-7cb04d8d.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-9b078ef8.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-aed8d630.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-becae35f.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-e0121de4.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-e4fed822.js +13 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/IllustrationMessageType.js +47 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/TimelineLayout.js +20 -0
- package/src/sap/ui/webc/fiori/thirdparty/types/ViewSettingsDialogMode.js +20 -0
- package/ui5.yaml +1 -1
- package/src/sap/ui/webc/fiori/thirdparty/messagebundle_hi-71f54fc7.js +0 -61
- package/src/sap/ui/webc/fiori/thirdparty/messagebundle_th-9445e465.js +0 -61
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-062fdbb6.js +0 -9
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-17f8bf4e.js +0 -9
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-196ef17d.js +0 -9
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-8a5a5c79.js +0 -9
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-90786b8e.js +0 -9
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-d48b31a7.js +0 -9
- package/src/sap/ui/webc/fiori/thirdparty/parameters-bundle.css-dc5c99d6.js +0 -9
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/main/thirdparty/ListItem', './generated/templates/FilterItemTemplate.lit', './generated/themes/FilterItem.css'], function (litRender, ListItem, FilterItemTemplate_lit, FilterItem_css) { 'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
|
+
|
|
5
|
+
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
6
|
+
var ListItem__default = /*#__PURE__*/_interopDefaultLegacy(ListItem);
|
|
7
|
+
|
|
8
|
+
const metadata = {
|
|
9
|
+
tag: "ui5-filter-item",
|
|
10
|
+
managedSlots: true,
|
|
11
|
+
properties: {
|
|
12
|
+
text: {
|
|
13
|
+
type: String,
|
|
14
|
+
},
|
|
15
|
+
additionalText: {
|
|
16
|
+
type: String,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
slots: {
|
|
20
|
+
values: {
|
|
21
|
+
type: HTMLElement,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
events: {
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
class FilterItem extends ListItem__default {
|
|
28
|
+
static get metadata() {
|
|
29
|
+
return metadata;
|
|
30
|
+
}
|
|
31
|
+
static get render() {
|
|
32
|
+
return litRender__default;
|
|
33
|
+
}
|
|
34
|
+
static get styles() {
|
|
35
|
+
return [ListItem__default.styles, FilterItem_css];
|
|
36
|
+
}
|
|
37
|
+
static get template() {
|
|
38
|
+
return FilterItemTemplate_lit;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
FilterItem.define();
|
|
42
|
+
|
|
43
|
+
return FilterItem;
|
|
44
|
+
|
|
45
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element'], function (UI5Element) { 'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
|
+
|
|
5
|
+
var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
6
|
+
|
|
7
|
+
const metadata = {
|
|
8
|
+
tag: "ui5-filter-item-option",
|
|
9
|
+
properties: {
|
|
10
|
+
text: {
|
|
11
|
+
type: String,
|
|
12
|
+
},
|
|
13
|
+
selected: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
slots: {
|
|
18
|
+
},
|
|
19
|
+
events: {
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
class FilterItemOption extends UI5Element__default {
|
|
23
|
+
static get metadata() {
|
|
24
|
+
return metadata;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
FilterItemOption.define();
|
|
28
|
+
|
|
29
|
+
return FilterItemOption;
|
|
30
|
+
|
|
31
|
+
});
|
|
@@ -71,7 +71,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
71
71
|
this._prevLayout = null;
|
|
72
72
|
this.initialRendering = true;
|
|
73
73
|
this._handleResize = this.handleResize.bind(this);
|
|
74
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
75
74
|
}
|
|
76
75
|
static get metadata() {
|
|
77
76
|
return metadata;
|
|
@@ -89,7 +88,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
89
88
|
return [Button__default];
|
|
90
89
|
}
|
|
91
90
|
static async onDefine() {
|
|
92
|
-
await i18nBundle.
|
|
91
|
+
FlexibleColumnLayout.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
93
92
|
}
|
|
94
93
|
static get BREAKPOINTS() {
|
|
95
94
|
return {
|
|
@@ -112,6 +111,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
112
111
|
}
|
|
113
112
|
onExitDOM() {
|
|
114
113
|
ResizeHandler__default.deregister(this, this._handleResize);
|
|
114
|
+
["start", "mid", "end"].forEach(column => {
|
|
115
|
+
this[`${column}ColumnDOM`].removeEventListener("transitionend", this.columnResizeHandler);
|
|
116
|
+
});
|
|
115
117
|
}
|
|
116
118
|
onAfterRendering() {
|
|
117
119
|
if (this.initialRendering) {
|
|
@@ -177,16 +179,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
177
179
|
}
|
|
178
180
|
if (currentlyHidden) {
|
|
179
181
|
columnDOM.style.width = columnWidth;
|
|
180
|
-
|
|
181
|
-
columnDOM.classList.add("ui5-fcl-column--hidden");
|
|
182
|
-
}, FlexibleColumnLayout.ANIMATION_DURATION);
|
|
182
|
+
columnDOM.addEventListener("transitionend", this.columnResizeHandler);
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
185
|
if (previouslyHidden) {
|
|
186
|
+
columnDOM.removeEventListener("transitionend", this.columnResizeHandler);
|
|
186
187
|
columnDOM.classList.remove("ui5-fcl-column--hidden");
|
|
187
188
|
columnDOM.style.width = columnWidth;
|
|
188
189
|
}
|
|
189
190
|
}
|
|
191
|
+
columnResizeHandler(event) {
|
|
192
|
+
event.target.classList.add("ui5-fcl-column--hidden");
|
|
193
|
+
}
|
|
190
194
|
nextLayout(layout, arrowsInfo = {}) {
|
|
191
195
|
if (arrowsInfo.start) {
|
|
192
196
|
return FCLLayout$1.getNextLayoutByStartArrow()[layout];
|
|
@@ -342,13 +346,13 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
342
346
|
return this.shadowRoot.querySelector(".ui5-fcl-column--end");
|
|
343
347
|
}
|
|
344
348
|
get accStartColumnText() {
|
|
345
|
-
return this.accessibilityTexts.startColumnAccessibleName ||
|
|
349
|
+
return this.accessibilityTexts.startColumnAccessibleName || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_START_COLUMN_TXT);
|
|
346
350
|
}
|
|
347
351
|
get accMiddleColumnText() {
|
|
348
|
-
return this.accessibilityTexts.midColumnAccessibleName ||
|
|
352
|
+
return this.accessibilityTexts.midColumnAccessibleName || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_MIDDLE_COLUMN_TXT);
|
|
349
353
|
}
|
|
350
354
|
get accEndColumnText() {
|
|
351
|
-
return this.accessibilityTexts.endColumnAccessibleName ||
|
|
355
|
+
return this.accessibilityTexts.endColumnAccessibleName || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_END_COLUMN_TXT);
|
|
352
356
|
}
|
|
353
357
|
get _effectiveLayoutsByMedia() {
|
|
354
358
|
return this._layoutsConfiguration || FCLLayout$1.getLayoutsByMedia();
|
|
@@ -356,16 +360,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
356
360
|
get accStartArrowText() {
|
|
357
361
|
const customTexts = this.accessibilityTexts;
|
|
358
362
|
if (this.startArrowDirection === "mirror") {
|
|
359
|
-
return customTexts.startArrowLeftText ||
|
|
363
|
+
return customTexts.startArrowLeftText || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_START_COLUMN_COLLAPSE_BUTTON_TOOLTIP);
|
|
360
364
|
}
|
|
361
|
-
return customTexts.startArrowRightText ||
|
|
365
|
+
return customTexts.startArrowRightText || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_START_COLUMN_EXPAND_BUTTON_TOOLTIP);
|
|
362
366
|
}
|
|
363
367
|
get accEndArrowText() {
|
|
364
368
|
const customTexts = this.accessibilityTexts;
|
|
365
369
|
if (this.endArrowDirection === "mirror") {
|
|
366
|
-
return customTexts.endArrowRightText ||
|
|
370
|
+
return customTexts.endArrowRightText || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_END_COLUMN_COLLAPSE_BUTTON_TOOLTIP);
|
|
367
371
|
}
|
|
368
|
-
return customTexts.endArrowLeftText ||
|
|
372
|
+
return customTexts.endArrowLeftText || FlexibleColumnLayout.i18nBundle.getText(i18nDefaults.FCL_END_COLUMN_EXPAND_BUTTON_TOOLTIP);
|
|
369
373
|
}
|
|
370
374
|
}
|
|
371
375
|
FlexibleColumnLayout.define();
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap/ui/webc/common/thirdparty/base/asset-registries/Illustrations', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/main/thirdparty/Title', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', './generated/templates/IllustratedMessageTemplate.lit', './types/IllustrationMessageType', './illustrations/BeforeSearch', './generated/themes/IllustratedMessage.css'], function (UI5Element, ResizeHandler, Illustrations, i18nBundle, Title, litRender, IllustratedMessageTemplate_lit, IllustrationMessageType, BeforeSearch, IllustratedMessage_css) { 'use strict';
|
|
2
|
+
|
|
3
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
|
+
|
|
5
|
+
var UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
6
|
+
var ResizeHandler__default = /*#__PURE__*/_interopDefaultLegacy(ResizeHandler);
|
|
7
|
+
var Title__default = /*#__PURE__*/_interopDefaultLegacy(Title);
|
|
8
|
+
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
9
|
+
|
|
10
|
+
const ILLUSTRATION_NOT_FOUND = "ILLUSTRATION_NOT_FOUND";
|
|
11
|
+
const metadata = {
|
|
12
|
+
tag: "ui5-illustrated-message",
|
|
13
|
+
managedSlots: true,
|
|
14
|
+
properties: {
|
|
15
|
+
titleText: {
|
|
16
|
+
type: String,
|
|
17
|
+
},
|
|
18
|
+
subtitleText: {
|
|
19
|
+
type: String,
|
|
20
|
+
},
|
|
21
|
+
media: {
|
|
22
|
+
type: String,
|
|
23
|
+
},
|
|
24
|
+
invalid: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
},
|
|
27
|
+
name: {
|
|
28
|
+
type: IllustrationMessageType,
|
|
29
|
+
defaultValue: IllustrationMessageType.BeforeSearch,
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
slots: {
|
|
33
|
+
"default": {
|
|
34
|
+
propertyName: "actions",
|
|
35
|
+
type: HTMLElement,
|
|
36
|
+
},
|
|
37
|
+
subtitle: {
|
|
38
|
+
type: HTMLElement,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
events: {
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
class IllustratedMessage extends UI5Element__default {
|
|
45
|
+
constructor() {
|
|
46
|
+
super();
|
|
47
|
+
this._handleResize = this.handleResize.bind(this);
|
|
48
|
+
}
|
|
49
|
+
static get metadata() {
|
|
50
|
+
return metadata;
|
|
51
|
+
}
|
|
52
|
+
static get render() {
|
|
53
|
+
return litRender__default;
|
|
54
|
+
}
|
|
55
|
+
static get styles() {
|
|
56
|
+
return IllustratedMessage_css;
|
|
57
|
+
}
|
|
58
|
+
static get template() {
|
|
59
|
+
return IllustratedMessageTemplate_lit;
|
|
60
|
+
}
|
|
61
|
+
static async onDefine() {
|
|
62
|
+
IllustratedMessage.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
63
|
+
}
|
|
64
|
+
static get BREAKPOINTS() {
|
|
65
|
+
return {
|
|
66
|
+
DIALOG: 679,
|
|
67
|
+
SPOT: 319,
|
|
68
|
+
BASE: 259,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
static get MEDIA() {
|
|
72
|
+
return {
|
|
73
|
+
BASE: "base",
|
|
74
|
+
SPOT: "spot",
|
|
75
|
+
DIALOG: "dialog",
|
|
76
|
+
SCENE: "scene",
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
static get dependencies() {
|
|
80
|
+
return [Title__default];
|
|
81
|
+
}
|
|
82
|
+
onBeforeRendering() {
|
|
83
|
+
const illustrationData = Illustrations.getIllustrationDataSync(this.name);
|
|
84
|
+
if (illustrationData === ILLUSTRATION_NOT_FOUND) {
|
|
85
|
+
this.invalid = true;
|
|
86
|
+
return console.warn(`Required illustration is not registered. You can either import the illustration as a module in order to use it e.g. "@ui5/webcomponents-fiori/dist/illustrations/${this.name}.js".`);
|
|
87
|
+
}
|
|
88
|
+
this.invalid = false;
|
|
89
|
+
this.spotSvg = illustrationData.spotSvg;
|
|
90
|
+
this.dialogSvg = illustrationData.dialogSvg;
|
|
91
|
+
this.sceneSvg = illustrationData.sceneSvg;
|
|
92
|
+
this.illustrationTitle = IllustratedMessage.i18nBundle.getText(illustrationData.title);
|
|
93
|
+
this.illustrationSubtitle = IllustratedMessage.i18nBundle.getText(illustrationData.subtitle);
|
|
94
|
+
}
|
|
95
|
+
onEnterDOM() {
|
|
96
|
+
ResizeHandler__default.register(this, this._handleResize);
|
|
97
|
+
}
|
|
98
|
+
onExitDOM() {
|
|
99
|
+
ResizeHandler__default.deregister(this, this._handleResize);
|
|
100
|
+
}
|
|
101
|
+
handleResize() {
|
|
102
|
+
if (this.offsetWidth <= IllustratedMessage.BREAKPOINTS.BASE) {
|
|
103
|
+
this.media = IllustratedMessage.MEDIA.BASE;
|
|
104
|
+
} else if (this.offsetWidth <= IllustratedMessage.BREAKPOINTS.SPOT) {
|
|
105
|
+
this.media = IllustratedMessage.MEDIA.SPOT;
|
|
106
|
+
} else if (this.offsetWidth <= IllustratedMessage.BREAKPOINTS.DIALOG) {
|
|
107
|
+
this.media = IllustratedMessage.MEDIA.DIALOG;
|
|
108
|
+
} else {
|
|
109
|
+
this.media = IllustratedMessage.MEDIA.SCENE;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
get effectiveIllustration() {
|
|
113
|
+
switch (this.media) {
|
|
114
|
+
case IllustratedMessage.MEDIA.SPOT:
|
|
115
|
+
return this.spotSvg;
|
|
116
|
+
case IllustratedMessage.MEDIA.DIALOG:
|
|
117
|
+
return this.dialogSvg;
|
|
118
|
+
case IllustratedMessage.MEDIA.SCENE:
|
|
119
|
+
return this.sceneSvg;
|
|
120
|
+
default:
|
|
121
|
+
return "";
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
get hasFormattedSubtitle() {
|
|
125
|
+
return !!this.subtitle.length;
|
|
126
|
+
}
|
|
127
|
+
get effectiveTitleText() {
|
|
128
|
+
return this.titleText ? this.titleText : this.illustrationTitle;
|
|
129
|
+
}
|
|
130
|
+
get effectiveSubitleText() {
|
|
131
|
+
return this.subtitleText ? this.subtitleText : this.illustrationSubtitle;
|
|
132
|
+
}
|
|
133
|
+
get hasTitle() {
|
|
134
|
+
return this.titleText || this.illustrationTitle;
|
|
135
|
+
}
|
|
136
|
+
get hasSubtitle() {
|
|
137
|
+
return this.subtitleText || this.illustrationSubtitle;
|
|
138
|
+
}
|
|
139
|
+
get hasActions() {
|
|
140
|
+
return !!this.actions.length && this.media !== IllustratedMessage.MEDIA.BASE;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
IllustratedMessage.define();
|
|
144
|
+
|
|
145
|
+
return IllustratedMessage;
|
|
146
|
+
|
|
147
|
+
});
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
sap.ui.define(['exports'], function (exports) { 'use strict';
|
|
2
2
|
|
|
3
|
+
const IFilterItem = "sap.ui.webcomponents.fiori.IFilterItem";
|
|
4
|
+
const IFilterItemOption = "sap.ui.webcomponents.fiori.IFilterItemOption";
|
|
3
5
|
const INotificationAction = "sap.ui.webcomponents.fiori.INotificationAction";
|
|
4
6
|
const INotificationListItem = "sap.ui.webcomponents.fiori.INotificationListItem";
|
|
5
7
|
const IProductSwitchItem = "sap.ui.webcomponents.fiori.IProductSwitchItem";
|
|
6
8
|
const IShellBarItem = "sap.ui.webcomponents.fiori.IShellBarItem";
|
|
7
9
|
const ISideNavigationItem = "sap.ui.webcomponents.fiori.ISideNavigationItem";
|
|
8
10
|
const ISideNavigationSubItem = "sap.ui.webcomponents.fiori.ISideNavigationSubItem";
|
|
11
|
+
const ISortItem = "sap.ui.webcomponents.fiori.ISortItem";
|
|
9
12
|
const ITimelineItem = "sap.ui.webcomponents.fiori.ITimelineItem";
|
|
10
13
|
const IUploadCollectionItem = "sap.ui.webcomponents.fiori.IUploadCollectionItem";
|
|
11
14
|
const IWizardStep = "sap.ui.webcomponents.fiori.IWizardStep";
|
|
12
15
|
|
|
16
|
+
exports.IFilterItem = IFilterItem;
|
|
17
|
+
exports.IFilterItemOption = IFilterItemOption;
|
|
13
18
|
exports.INotificationAction = INotificationAction;
|
|
14
19
|
exports.INotificationListItem = INotificationListItem;
|
|
15
20
|
exports.IProductSwitchItem = IProductSwitchItem;
|
|
16
21
|
exports.IShellBarItem = IShellBarItem;
|
|
17
22
|
exports.ISideNavigationItem = ISideNavigationItem;
|
|
18
23
|
exports.ISideNavigationSubItem = ISideNavigationSubItem;
|
|
24
|
+
exports.ISortItem = ISortItem;
|
|
19
25
|
exports.ITimelineItem = ITimelineItem;
|
|
20
26
|
exports.IUploadCollectionItem = IUploadCollectionItem;
|
|
21
27
|
exports.IWizardStep = IWizardStep;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/
|
|
1
|
+
sap.ui.define(['sap/ui/webc/main/thirdparty/types/Priority', 'sap/ui/webc/main/thirdparty/List', 'sap/ui/webc/main/thirdparty/Button', 'sap/ui/webc/main/thirdparty/BusyIndicator', 'sap/ui/webc/main/thirdparty/Icon', 'sap/ui/webc/main/thirdparty/Popover', './NotificationListItemBase', './generated/i18n/i18n-defaults', './generated/templates/NotificationListGroupItemTemplate.lit', './generated/themes/NotificationListGroupItem.css'], function (Priority, List, Button, BusyIndicator, Icon, Popover, NotificationListItemBase, i18nDefaults, NotificationListGroupItemTemplate_lit, NotificationListGroupItem_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -60,33 +60,30 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/mai
|
|
|
60
60
|
Popover__default,
|
|
61
61
|
];
|
|
62
62
|
}
|
|
63
|
-
static async onDefine() {
|
|
64
|
-
await i18nBundle.fetchI18nBundle("@ui5/webcomponents-fiori");
|
|
65
|
-
}
|
|
66
63
|
get itemsCount() {
|
|
67
64
|
return this.items.length;
|
|
68
65
|
}
|
|
69
66
|
get overflowBtnAccessibleName() {
|
|
70
|
-
return
|
|
67
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);
|
|
71
68
|
}
|
|
72
69
|
get closeBtnAccessibleName() {
|
|
73
|
-
return
|
|
70
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_CLOSE_BTN_TITLE);
|
|
74
71
|
}
|
|
75
72
|
get toggleBtnAccessibleName() {
|
|
76
73
|
if (this.collapsed) {
|
|
77
|
-
return
|
|
74
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_EXPAND_TITLE);
|
|
78
75
|
}
|
|
79
|
-
return
|
|
76
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TOGGLE_BTN_COLLAPSE_TITLE);
|
|
80
77
|
}
|
|
81
78
|
get priorityText() {
|
|
82
79
|
if (this.priority === Priority__default.High) {
|
|
83
|
-
return
|
|
80
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);
|
|
84
81
|
}
|
|
85
82
|
if (this.priority === Priority__default.Medium) {
|
|
86
|
-
return
|
|
83
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);
|
|
87
84
|
}
|
|
88
85
|
if (this.priority === Priority__default.Low) {
|
|
89
|
-
return
|
|
86
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);
|
|
90
87
|
}
|
|
91
88
|
return "";
|
|
92
89
|
}
|
|
@@ -95,22 +92,22 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/mai
|
|
|
95
92
|
}
|
|
96
93
|
get readText() {
|
|
97
94
|
if (this.read) {
|
|
98
|
-
return
|
|
95
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_READ);
|
|
99
96
|
}
|
|
100
|
-
return
|
|
97
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
|
|
101
98
|
}
|
|
102
99
|
get groupText() {
|
|
103
|
-
return
|
|
100
|
+
return NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_TXT);
|
|
104
101
|
}
|
|
105
102
|
get counterText() {
|
|
106
|
-
const text =
|
|
103
|
+
const text = NotificationListGroupItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_GROUP_ITEM_COUNTER_TXT);
|
|
107
104
|
return this.showCounter ? `${text} ${this.itemsCount}` : "";
|
|
108
105
|
}
|
|
109
106
|
get ariaLabelledBy() {
|
|
110
107
|
const id = this._id;
|
|
111
108
|
const ids = [];
|
|
112
|
-
if (this.
|
|
113
|
-
ids.push(`${id}-
|
|
109
|
+
if (this.hasTitleText) {
|
|
110
|
+
ids.push(`${id}-title-text`);
|
|
114
111
|
}
|
|
115
112
|
ids.push(`${id}-invisibleText`);
|
|
116
113
|
return ids.join(" ");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap/ui/webc/common/thirdparty/base/Device', 'sap/ui/webc/main/thirdparty/types/Priority', 'sap/ui/webc/main/thirdparty/Button', 'sap/ui/webc/main/thirdparty/BusyIndicator', 'sap/ui/webc/main/thirdparty/Link', 'sap/ui/webc/main/thirdparty/Icon', 'sap/ui/webc/main/thirdparty/Popover', 'sap/ui/webc/main/thirdparty/types/WrappingType', './NotificationListItemBase', './generated/i18n/i18n-defaults', './generated/templates/NotificationListItemTemplate.lit', './generated/themes/NotificationListItem.css'], function (Keys, ResizeHandler, Device, Priority, Button, BusyIndicator, Link, Icon, Popover, WrappingType, NotificationListItemBase, i18nDefaults, NotificationListItemTemplate_lit, NotificationListItem_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -9,6 +9,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
9
9
|
var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
|
|
10
10
|
var Icon__default = /*#__PURE__*/_interopDefaultLegacy(Icon);
|
|
11
11
|
var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
12
|
+
var WrappingType__default = /*#__PURE__*/_interopDefaultLegacy(WrappingType);
|
|
12
13
|
|
|
13
14
|
const MAX_WRAP_HEIGHT = 32;
|
|
14
15
|
const metadata = {
|
|
@@ -16,8 +17,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
16
17
|
languageAware: true,
|
|
17
18
|
managedSlots: true,
|
|
18
19
|
properties: {
|
|
19
|
-
|
|
20
|
-
type:
|
|
20
|
+
wrappingType: {
|
|
21
|
+
type: WrappingType__default,
|
|
22
|
+
defaultValue: WrappingType__default.None,
|
|
21
23
|
},
|
|
22
24
|
_showMorePressed: {
|
|
23
25
|
type: Boolean,
|
|
@@ -47,7 +49,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
47
49
|
class NotificationListItem extends NotificationListItemBase {
|
|
48
50
|
constructor() {
|
|
49
51
|
super();
|
|
50
|
-
this.
|
|
52
|
+
this._titleTextOverflowHeight = 0;
|
|
51
53
|
this._descOverflowHeight = 0;
|
|
52
54
|
this.onResizeBind = this.onResize.bind(this);
|
|
53
55
|
}
|
|
@@ -69,9 +71,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
69
71
|
Popover__default,
|
|
70
72
|
];
|
|
71
73
|
}
|
|
72
|
-
static async onDefine() {
|
|
73
|
-
await i18nBundle.fetchI18nBundle("@ui5/webcomponents-fiori");
|
|
74
|
-
}
|
|
75
74
|
onEnterDOM() {
|
|
76
75
|
ResizeHandler__default.register(this, this.onResizeBind);
|
|
77
76
|
}
|
|
@@ -86,18 +85,18 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
86
85
|
}
|
|
87
86
|
get showMoreText() {
|
|
88
87
|
if (this._showMorePressed) {
|
|
89
|
-
return
|
|
88
|
+
return NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_LESS);
|
|
90
89
|
}
|
|
91
|
-
return
|
|
90
|
+
return NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_MORE);
|
|
92
91
|
}
|
|
93
92
|
get overflowBtnAccessibleName() {
|
|
94
|
-
return
|
|
93
|
+
return NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_OVERLOW_BTN_TITLE);
|
|
95
94
|
}
|
|
96
95
|
get closeBtnAccessibleName() {
|
|
97
|
-
return
|
|
96
|
+
return NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
|
|
98
97
|
}
|
|
99
98
|
get hideShowMore() {
|
|
100
|
-
if (
|
|
99
|
+
if (this.wrappingType === WrappingType__default.None && this._showMore) {
|
|
101
100
|
return undefined;
|
|
102
101
|
}
|
|
103
102
|
return true;
|
|
@@ -105,24 +104,24 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
105
104
|
get descriptionDOM() {
|
|
106
105
|
return this.shadowRoot.querySelector(".ui5-nli-description");
|
|
107
106
|
}
|
|
108
|
-
get
|
|
109
|
-
return this.shadowRoot.querySelector(".ui5-nli-
|
|
107
|
+
get titleTextDOM() {
|
|
108
|
+
return this.shadowRoot.querySelector(".ui5-nli-title-text");
|
|
110
109
|
}
|
|
111
|
-
get
|
|
112
|
-
return this.
|
|
110
|
+
get titleTextHeight() {
|
|
111
|
+
return this.titleTextDOM.offsetHeight;
|
|
113
112
|
}
|
|
114
113
|
get descriptionHeight() {
|
|
115
114
|
return this.descriptionDOM.offsetHeight;
|
|
116
115
|
}
|
|
117
|
-
get
|
|
118
|
-
const
|
|
119
|
-
if (!
|
|
116
|
+
get titleTextOverflows() {
|
|
117
|
+
const titleText = this.titleTextDOM;
|
|
118
|
+
if (!titleText) {
|
|
120
119
|
return false;
|
|
121
120
|
}
|
|
122
121
|
if (Device.isIE()) {
|
|
123
|
-
return
|
|
122
|
+
return titleText.scrollHeight > MAX_WRAP_HEIGHT;
|
|
124
123
|
}
|
|
125
|
-
return
|
|
124
|
+
return titleText.offsetHeight < titleText.scrollHeight;
|
|
126
125
|
}
|
|
127
126
|
get descriptionOverflows() {
|
|
128
127
|
const description = this.descriptionDOM;
|
|
@@ -145,8 +144,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
145
144
|
get ariaLabelledBy() {
|
|
146
145
|
const id = this._id;
|
|
147
146
|
const ids = [];
|
|
148
|
-
if (this.
|
|
149
|
-
ids.push(`${id}-
|
|
147
|
+
if (this.hasTitleText) {
|
|
148
|
+
ids.push(`${id}-title-text`);
|
|
150
149
|
}
|
|
151
150
|
if (this.hasDesc) {
|
|
152
151
|
ids.push(`${id}-description`);
|
|
@@ -159,21 +158,21 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
159
158
|
}
|
|
160
159
|
get priorityText() {
|
|
161
160
|
if (this.priority === Priority__default.High) {
|
|
162
|
-
return
|
|
161
|
+
return NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_HIGH_PRIORITY_TXT);
|
|
163
162
|
}
|
|
164
163
|
if (this.priority === Priority__default.Medium) {
|
|
165
|
-
return
|
|
164
|
+
return NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MEDIUM_PRIORITY_TXT);
|
|
166
165
|
}
|
|
167
166
|
if (this.priority === Priority__default.Low) {
|
|
168
|
-
return
|
|
167
|
+
return NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_LOW_PRIORITY_TXT);
|
|
169
168
|
}
|
|
170
169
|
return "";
|
|
171
170
|
}
|
|
172
171
|
get accInvisibleText() {
|
|
173
|
-
const
|
|
174
|
-
const
|
|
172
|
+
const notificationText = NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_TXT);
|
|
173
|
+
const readText = this.read ? NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
|
|
175
174
|
const priorityText = this.priorityText;
|
|
176
|
-
return `${
|
|
175
|
+
return `${notificationText} ${readText} ${priorityText}`;
|
|
177
176
|
}
|
|
178
177
|
get classes() {
|
|
179
178
|
return {
|
|
@@ -213,19 +212,19 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
213
212
|
this.fireEvent("_press", { item: this });
|
|
214
213
|
}
|
|
215
214
|
onResize() {
|
|
216
|
-
if (this.
|
|
215
|
+
if (this.wrappingType === WrappingType__default.Normal) {
|
|
217
216
|
this._showMore = false;
|
|
218
217
|
return;
|
|
219
218
|
}
|
|
220
|
-
const
|
|
219
|
+
const titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;
|
|
221
220
|
const descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;
|
|
222
|
-
const overflows =
|
|
221
|
+
const overflows = titleTextWouldOverflow || descWouldOverflow;
|
|
223
222
|
if (this._showMorePressed && overflows) {
|
|
224
223
|
this._showMore = true;
|
|
225
224
|
return;
|
|
226
225
|
}
|
|
227
|
-
if (this.
|
|
228
|
-
this.
|
|
226
|
+
if (this.titleTextOverflows || this.descriptionOverflows) {
|
|
227
|
+
this._titleTextOverflowHeight = this.titleTextHeight;
|
|
229
228
|
this._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;
|
|
230
229
|
this._showMore = true;
|
|
231
230
|
return;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/main/thirdparty/ListItemBase', 'sap/ui/webc/main/thirdparty/types/Priority', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/icons/message-success', 'sap/ui/webc/common/thirdparty/icons/message-error', 'sap/ui/webc/common/thirdparty/icons/message-warning', 'sap/ui/webc/common/thirdparty/icons/overflow', './generated/templates/NotifactionOverflowActionsPopoverTemplate.lit', './generated/themes/NotifactionOverflowActionsPopover.css'], function (Keys, i18nBundle, ListItemBase, Priority, decline, messageSuccess, messageError, messageWarning, overflow, NotifactionOverflowActionsPopoverTemplate_lit, NotifactionOverflowActionsPopover_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/main/thirdparty/ListItemBase', 'sap/ui/webc/common/thirdparty/base/types/Integer', 'sap/ui/webc/main/thirdparty/types/Priority', 'sap/ui/webc/common/thirdparty/icons/decline', 'sap/ui/webc/common/thirdparty/icons/message-success', 'sap/ui/webc/common/thirdparty/icons/message-error', 'sap/ui/webc/common/thirdparty/icons/message-warning', 'sap/ui/webc/common/thirdparty/icons/overflow', './generated/templates/NotifactionOverflowActionsPopoverTemplate.lit', './generated/themes/NotifactionOverflowActionsPopover.css'], function (Keys, i18nBundle, ListItemBase, Integer, Priority, decline, messageSuccess, messageError, messageWarning, overflow, NotifactionOverflowActionsPopoverTemplate_lit, NotifactionOverflowActionsPopover_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
5
5
|
var ListItemBase__default = /*#__PURE__*/_interopDefaultLegacy(ListItemBase);
|
|
6
|
+
var Integer__default = /*#__PURE__*/_interopDefaultLegacy(Integer);
|
|
6
7
|
var Priority__default = /*#__PURE__*/_interopDefaultLegacy(Priority);
|
|
7
8
|
|
|
8
9
|
const metadata = {
|
|
9
10
|
managedSlots: true,
|
|
10
11
|
properties: {
|
|
11
|
-
|
|
12
|
+
titleText: {
|
|
12
13
|
type: String,
|
|
13
14
|
},
|
|
14
15
|
priority: {
|
|
@@ -24,6 +25,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
24
25
|
busy: {
|
|
25
26
|
type: Boolean,
|
|
26
27
|
},
|
|
28
|
+
busyDelay: {
|
|
29
|
+
type: Integer__default,
|
|
30
|
+
defaultValue: 1000,
|
|
31
|
+
},
|
|
27
32
|
},
|
|
28
33
|
slots: {
|
|
29
34
|
actions: {
|
|
@@ -35,10 +40,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
35
40
|
},
|
|
36
41
|
};
|
|
37
42
|
class NotificationListItemBase extends ListItemBase__default {
|
|
38
|
-
constructor() {
|
|
39
|
-
super();
|
|
40
|
-
this.i18nFioriBundle = i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
41
|
-
}
|
|
42
43
|
static get metadata() {
|
|
43
44
|
return metadata;
|
|
44
45
|
}
|
|
@@ -55,8 +56,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
55
56
|
"Low": "message-success",
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
|
-
get
|
|
59
|
-
return !!this.
|
|
59
|
+
get hasTitleText() {
|
|
60
|
+
return !!this.titleText.length;
|
|
60
61
|
}
|
|
61
62
|
get hasPriority() {
|
|
62
63
|
return this.priority !== Priority__default.None;
|
|
@@ -123,7 +124,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
123
124
|
}
|
|
124
125
|
async openOverflow() {
|
|
125
126
|
const overflowPopover = await this.getOverflowPopover();
|
|
126
|
-
overflowPopover.
|
|
127
|
+
overflowPopover.showAt(this.overflowButtonDOM);
|
|
127
128
|
}
|
|
128
129
|
async closeOverflow() {
|
|
129
130
|
const overflowPopover = await this.getOverflowPopover();
|
|
@@ -133,6 +134,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/th
|
|
|
133
134
|
const staticAreaItem = await this.getStaticAreaItemDomRef();
|
|
134
135
|
return staticAreaItem.querySelector(".ui5-notification-overflow-popover");
|
|
135
136
|
}
|
|
137
|
+
static async onDefine() {
|
|
138
|
+
NotificationListItemBase.i18nFioriBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
139
|
+
}
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
return NotificationListItemBase;
|