@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
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', './types/PageBackgroundDesign', './generated/templates/PageTemplate.lit', './generated/themes/Page.css'], function (UI5Element, litRender, PageBackgroundDesign, PageTemplate_lit, Page_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/delegate/ResizeHandler', 'sap/ui/webc/common/thirdparty/base/MediaRange', './types/PageBackgroundDesign', './generated/templates/PageTemplate.lit', './generated/themes/Page.css'], function (UI5Element, litRender, ResizeHandler, MediaRange, PageBackgroundDesign, PageTemplate_lit, Page_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 UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
6
6
|
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
7
|
+
var ResizeHandler__default = /*#__PURE__*/_interopDefaultLegacy(ResizeHandler);
|
|
8
|
+
var MediaRange__default = /*#__PURE__*/_interopDefaultLegacy(MediaRange);
|
|
7
9
|
|
|
8
10
|
const metadata = {
|
|
9
11
|
tag: "ui5-page",
|
|
@@ -23,6 +25,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
23
25
|
hideFooter: {
|
|
24
26
|
type: Boolean,
|
|
25
27
|
},
|
|
28
|
+
mediaRange: {
|
|
29
|
+
type: String,
|
|
30
|
+
},
|
|
26
31
|
},
|
|
27
32
|
slots: {
|
|
28
33
|
header: {
|
|
@@ -52,6 +57,19 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
52
57
|
static get template() {
|
|
53
58
|
return PageTemplate_lit;
|
|
54
59
|
}
|
|
60
|
+
constructor() {
|
|
61
|
+
super();
|
|
62
|
+
this._updateMediaRange = this.updateMediaRange.bind(this);
|
|
63
|
+
}
|
|
64
|
+
onEnterDOM() {
|
|
65
|
+
ResizeHandler__default.register(this, this._updateMediaRange);
|
|
66
|
+
}
|
|
67
|
+
onExitDOM() {
|
|
68
|
+
ResizeHandler__default.deregister(this, this._updateMediaRange);
|
|
69
|
+
}
|
|
70
|
+
updateMediaRange() {
|
|
71
|
+
this.mediaRange = MediaRange__default.getCurrentRange(MediaRange__default.RANGESETS.RANGE_4STEPS, this.getDomRef().offsetWidth);
|
|
72
|
+
}
|
|
55
73
|
get _contentBottom() {
|
|
56
74
|
return !this.floatingFooter && !this.hideFooter ? "2.75rem" : "0";
|
|
57
75
|
}
|
|
@@ -68,6 +86,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
68
86
|
"bottom": this.footer.length && this._contentBottom,
|
|
69
87
|
"top": this._contentTop,
|
|
70
88
|
},
|
|
89
|
+
footer: {},
|
|
71
90
|
};
|
|
72
91
|
}
|
|
73
92
|
}
|
|
@@ -32,7 +32,6 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/com
|
|
|
32
32
|
rowSize: this._rowSize,
|
|
33
33
|
getItemsCallback: () => this.items,
|
|
34
34
|
});
|
|
35
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents");
|
|
36
35
|
}
|
|
37
36
|
static get metadata() {
|
|
38
37
|
return metadata;
|
|
@@ -53,10 +52,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/com
|
|
|
53
52
|
};
|
|
54
53
|
}
|
|
55
54
|
static async onDefine() {
|
|
56
|
-
await i18nBundle.
|
|
55
|
+
ProductSwitch.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
57
56
|
}
|
|
58
57
|
get _ariaLabelText() {
|
|
59
|
-
return
|
|
58
|
+
return ProductSwitch.i18nBundle.getText(i18nDefaults.PRODUCT_SWITCH_CONTAINER_LABEL);
|
|
60
59
|
}
|
|
61
60
|
onEnterDOM() {
|
|
62
61
|
this._handleResizeBound = this._handleResize.bind(this);
|
|
@@ -78,6 +77,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/com
|
|
|
78
77
|
this._setRowSize(4);
|
|
79
78
|
}
|
|
80
79
|
}
|
|
80
|
+
handleProductSwitchItemClick(event) {
|
|
81
|
+
this.items.forEach(item => { item.selected = false; });
|
|
82
|
+
event.target.selected = true;
|
|
83
|
+
}
|
|
81
84
|
_onfocusin(event) {
|
|
82
85
|
const target = event.target;
|
|
83
86
|
this._itemNavigation.setCurrentItem(target);
|
|
@@ -31,6 +31,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
31
31
|
focused: {
|
|
32
32
|
type: Boolean,
|
|
33
33
|
},
|
|
34
|
+
selected: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
},
|
|
34
37
|
_tabIndex: {
|
|
35
38
|
type: String,
|
|
36
39
|
defaultValue: "-1",
|
|
@@ -90,6 +93,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
90
93
|
this.active = false;
|
|
91
94
|
}
|
|
92
95
|
if (Keys.isSpace(event)) {
|
|
96
|
+
if (Keys.isSpaceShift(event)) {
|
|
97
|
+
event.stopPropagation();
|
|
98
|
+
}
|
|
93
99
|
this._fireItemClick();
|
|
94
100
|
}
|
|
95
101
|
}
|
|
@@ -11,6 +11,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
11
11
|
var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
12
12
|
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
13
13
|
|
|
14
|
+
const HANDLE_RESIZE_DEBOUNCE_RATE = 200;
|
|
14
15
|
const metadata = {
|
|
15
16
|
tag: "ui5-shellbar",
|
|
16
17
|
languageAware: true,
|
|
@@ -183,16 +184,24 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
183
184
|
this._updateClonedMenuItems();
|
|
184
185
|
if (this.hasMenuItems) {
|
|
185
186
|
const menuPopover = await this._getMenuPopover();
|
|
186
|
-
menuPopover.
|
|
187
|
+
menuPopover.showAt(this.shadowRoot.querySelector(".ui5-shellbar-menu-button"));
|
|
187
188
|
}
|
|
188
189
|
},
|
|
189
190
|
};
|
|
190
191
|
this._handleResize = async event => {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
this._debounce(async () => {
|
|
193
|
+
await this._getResponsivePopover();
|
|
194
|
+
this.overflowPopover.close();
|
|
195
|
+
this._overflowActions();
|
|
196
|
+
}, HANDLE_RESIZE_DEBOUNCE_RATE);
|
|
194
197
|
};
|
|
195
|
-
|
|
198
|
+
}
|
|
199
|
+
_debounce(fn, delay) {
|
|
200
|
+
clearTimeout(this._debounceInterval);
|
|
201
|
+
this._debounceInterval = setTimeout(() => {
|
|
202
|
+
this._debounceInterval = null;
|
|
203
|
+
fn();
|
|
204
|
+
}, delay);
|
|
196
205
|
}
|
|
197
206
|
_menuItemPress(event) {
|
|
198
207
|
this.menuPopover.close();
|
|
@@ -299,7 +308,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
299
308
|
return {
|
|
300
309
|
...info,
|
|
301
310
|
classes: `${info.classes} ${shouldStayOnScreen ? "" : "ui5-shellbar-hidden-button"} ui5-shellbar-button`,
|
|
302
|
-
|
|
311
|
+
styles: {
|
|
312
|
+
order: shouldStayOnScreen ? 1 : -1,
|
|
313
|
+
},
|
|
303
314
|
};
|
|
304
315
|
});
|
|
305
316
|
this._updateItemsInfo(newItems);
|
|
@@ -333,7 +344,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
333
344
|
for (let i = 0; i < itemsByPriority.length; i++) {
|
|
334
345
|
if (i < overflowCount) {
|
|
335
346
|
itemsByPriority[i].classes = `${itemsByPriority[i].classes} ui5-shellbar-hidden-button`;
|
|
336
|
-
itemsByPriority[i].
|
|
347
|
+
itemsByPriority[i].styles = {
|
|
348
|
+
order: -1,
|
|
349
|
+
};
|
|
337
350
|
}
|
|
338
351
|
}
|
|
339
352
|
return itemsByPriority;
|
|
@@ -348,7 +361,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
348
361
|
}
|
|
349
362
|
_toggleActionPopover() {
|
|
350
363
|
const overflowButton = this.shadowRoot.querySelector(".ui5-shellbar-overflow-button");
|
|
351
|
-
this.overflowPopover.
|
|
364
|
+
this.overflowPopover.showAt(overflowButton);
|
|
352
365
|
}
|
|
353
366
|
onEnterDOM() {
|
|
354
367
|
ResizeHandler__default.register(this, this._handleResize);
|
|
@@ -356,6 +369,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
356
369
|
onExitDOM() {
|
|
357
370
|
this.menuItemsObserver.disconnect();
|
|
358
371
|
ResizeHandler__default.deregister(this, this._handleResize);
|
|
372
|
+
clearTimeout(this._debounceInterval);
|
|
373
|
+
this._debounceInterval = null;
|
|
359
374
|
}
|
|
360
375
|
_handleSearchIconPress(event) {
|
|
361
376
|
this.showSearchField = !this.showSearchField;
|
|
@@ -414,7 +429,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
414
429
|
classes: `${this.searchField.length ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-search-button ui5-shellbar-button`,
|
|
415
430
|
priority: 4,
|
|
416
431
|
domOrder: this.searchField.length ? (++domOrder) : -1,
|
|
417
|
-
|
|
432
|
+
styles: {
|
|
433
|
+
order: this.searchField.length ? 1 : -10,
|
|
434
|
+
},
|
|
418
435
|
id: `${this._id}-item-${1}`,
|
|
419
436
|
press: this._handleSearchIconPress.bind(this),
|
|
420
437
|
show: !!this.searchField.length,
|
|
@@ -429,7 +446,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
429
446
|
classes: "ui5-shellbar-custom-item ui5-shellbar-button",
|
|
430
447
|
priority: 1,
|
|
431
448
|
domOrder: (++domOrder),
|
|
432
|
-
|
|
449
|
+
styles: {
|
|
450
|
+
order: 2,
|
|
451
|
+
},
|
|
433
452
|
show: true,
|
|
434
453
|
press: this._handleCustomActionPress.bind(this),
|
|
435
454
|
custom: true,
|
|
@@ -442,7 +461,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
442
461
|
text: "Notifications",
|
|
443
462
|
classes: `${this.showNotifications ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-bell-button ui5-shellbar-button`,
|
|
444
463
|
priority: 3,
|
|
445
|
-
|
|
464
|
+
styles: {
|
|
465
|
+
order: this.showNotifications ? 3 : -10,
|
|
466
|
+
},
|
|
446
467
|
id: `${this._id}-item-${2}`,
|
|
447
468
|
show: this.showNotifications,
|
|
448
469
|
domOrder: this.showNotifications ? (++domOrder) : -1,
|
|
@@ -454,7 +475,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
454
475
|
classes: `${showOverflowButton ? "" : "ui5-shellbar-hidden-button"} ui5-shellbar-overflow-button-shown ui5-shellbar-overflow-button ui5-shellbar-button`,
|
|
455
476
|
priority: 5,
|
|
456
477
|
order: 4,
|
|
457
|
-
|
|
478
|
+
styles: {
|
|
479
|
+
order: showOverflowButton ? 4 : -1,
|
|
480
|
+
},
|
|
458
481
|
domOrder: showOverflowButton ? (++domOrder) : -1,
|
|
459
482
|
id: `${this.id}-item-${5}`,
|
|
460
483
|
press: this._handleOverflowPress.bind(this),
|
|
@@ -464,7 +487,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
464
487
|
text: "Person",
|
|
465
488
|
classes: `${this.hasProfile ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-image-button ui5-shellbar-button`,
|
|
466
489
|
priority: 4,
|
|
467
|
-
|
|
490
|
+
styles: {
|
|
491
|
+
order: this.hasProfile ? 5 : -10,
|
|
492
|
+
},
|
|
468
493
|
profile: true,
|
|
469
494
|
id: `${this._id}-item-${3}`,
|
|
470
495
|
domOrder: this.hasProfile ? (++domOrder) : -1,
|
|
@@ -476,7 +501,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
476
501
|
text: "Product Switch",
|
|
477
502
|
classes: `${this.showProductSwitch ? "" : "ui5-shellbar-invisible-button"} ui5-shellbar-button ui5-shellbar-button-product-switch`,
|
|
478
503
|
priority: 2,
|
|
479
|
-
|
|
504
|
+
styles: {
|
|
505
|
+
order: this.showProductSwitch ? 6 : -10,
|
|
506
|
+
},
|
|
480
507
|
id: `${this._id}-item-${4}`,
|
|
481
508
|
show: this.showProductSwitch,
|
|
482
509
|
domOrder: this.showProductSwitch ? (++domOrder) : -1,
|
|
@@ -536,6 +563,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
536
563
|
"ui5-shellbar-menu-button--interactive": this.hasMenuItems,
|
|
537
564
|
"ui5-shellbar-menu-button": true,
|
|
538
565
|
},
|
|
566
|
+
title: {},
|
|
539
567
|
items: {
|
|
540
568
|
notification: {
|
|
541
569
|
"ui5-shellbar-hidden-button": this.isIconHidden("bell"),
|
|
@@ -622,19 +650,19 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
622
650
|
return this.hasMenuItems ? this._menuPopoverExpanded : undefined;
|
|
623
651
|
}
|
|
624
652
|
get _shellbarText() {
|
|
625
|
-
return
|
|
653
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_LABEL);
|
|
626
654
|
}
|
|
627
655
|
get _logoText() {
|
|
628
|
-
return
|
|
656
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_LOGO);
|
|
629
657
|
}
|
|
630
658
|
get _copilotText() {
|
|
631
|
-
return
|
|
659
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_COPILOT);
|
|
632
660
|
}
|
|
633
661
|
get _notificationsText() {
|
|
634
|
-
return
|
|
662
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_NOTIFICATIONS, this.notificationsCount);
|
|
635
663
|
}
|
|
636
664
|
get _cancelBtnText() {
|
|
637
|
-
return
|
|
665
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_CANCEL);
|
|
638
666
|
}
|
|
639
667
|
get _showFullWidthSearch() {
|
|
640
668
|
const size = this._handleBarBreakpoints();
|
|
@@ -642,16 +670,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
642
670
|
return ((size === "S") || searchBtnHidden);
|
|
643
671
|
}
|
|
644
672
|
get _profileText() {
|
|
645
|
-
return
|
|
673
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_PROFILE);
|
|
646
674
|
}
|
|
647
675
|
get _productsText() {
|
|
648
|
-
return
|
|
676
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_PRODUCTS);
|
|
649
677
|
}
|
|
650
678
|
get _searchText() {
|
|
651
|
-
return
|
|
679
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_SEARCH);
|
|
652
680
|
}
|
|
653
681
|
get _overflowText() {
|
|
654
|
-
return
|
|
682
|
+
return ShellBar.i18nBundle.getText(i18nDefaults.SHELLBAR_OVERFLOW);
|
|
655
683
|
}
|
|
656
684
|
get accInfo() {
|
|
657
685
|
return {
|
|
@@ -684,7 +712,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
684
712
|
];
|
|
685
713
|
}
|
|
686
714
|
static async onDefine() {
|
|
687
|
-
await i18nBundle.
|
|
715
|
+
ShellBar.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
688
716
|
}
|
|
689
717
|
}
|
|
690
718
|
ShellBar.define();
|
|
@@ -120,6 +120,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
120
120
|
handleListItemClick(event) {
|
|
121
121
|
const listItem = event.detail.item;
|
|
122
122
|
const item = listItem.associatedItem;
|
|
123
|
+
item.fireEvent("click");
|
|
123
124
|
if (item.selected) {
|
|
124
125
|
return;
|
|
125
126
|
}
|
|
@@ -131,7 +132,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
131
132
|
}
|
|
132
133
|
async openPicker(opener) {
|
|
133
134
|
const responsivePopover = await this.getPicker();
|
|
134
|
-
responsivePopover.
|
|
135
|
+
responsivePopover.showAt(opener);
|
|
135
136
|
}
|
|
136
137
|
async closePicker(opener) {
|
|
137
138
|
const responsivePopover = await this.getPicker();
|
|
@@ -23,6 +23,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element'], function (UI5El
|
|
|
23
23
|
wholeItemToggleable: {
|
|
24
24
|
type: Boolean,
|
|
25
25
|
},
|
|
26
|
+
title: {
|
|
27
|
+
type: String,
|
|
28
|
+
},
|
|
26
29
|
},
|
|
27
30
|
events: {
|
|
28
31
|
},
|
|
@@ -38,6 +41,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element'], function (UI5El
|
|
|
38
41
|
static get metadata() {
|
|
39
42
|
return metadata;
|
|
40
43
|
}
|
|
44
|
+
get _tooltip() {
|
|
45
|
+
return this.title || this.text;
|
|
46
|
+
}
|
|
41
47
|
}
|
|
42
48
|
SideNavigationItem.define();
|
|
43
49
|
|
|
@@ -16,6 +16,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element'], function (UI5El
|
|
|
16
16
|
icon: {
|
|
17
17
|
type: String,
|
|
18
18
|
},
|
|
19
|
+
title: {
|
|
20
|
+
type: String,
|
|
21
|
+
},
|
|
19
22
|
},
|
|
20
23
|
events: {
|
|
21
24
|
},
|
|
@@ -24,6 +27,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element'], function (UI5El
|
|
|
24
27
|
static get metadata() {
|
|
25
28
|
return metadata;
|
|
26
29
|
}
|
|
30
|
+
get _tooltip() {
|
|
31
|
+
return this.title || this.text;
|
|
32
|
+
}
|
|
27
33
|
}
|
|
28
34
|
SideNavigationSubItem.define();
|
|
29
35
|
|
|
@@ -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-sort-item",
|
|
9
|
+
properties: {
|
|
10
|
+
text: {
|
|
11
|
+
type: String,
|
|
12
|
+
},
|
|
13
|
+
selected: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
slots: {
|
|
18
|
+
},
|
|
19
|
+
events: {
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
class SortItem extends UI5Element__default {
|
|
23
|
+
static get metadata() {
|
|
24
|
+
return metadata;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
SortItem.define();
|
|
28
|
+
|
|
29
|
+
return SortItem;
|
|
30
|
+
|
|
31
|
+
});
|
|
@@ -1,15 +1,24 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', './generated/templates/TimelineTemplate.lit', './generated/i18n/i18n-defaults', './TimelineItem', './generated/themes/Timeline.css'], function (UI5Element, i18nBundle, litRender, ItemNavigation, TimelineTemplate_lit, i18nDefaults, TimelineItem, Timeline_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/i18nBundle', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/common/thirdparty/base/Keys', 'sap/ui/webc/common/thirdparty/base/delegate/ItemNavigation', 'sap/ui/webc/common/thirdparty/base/types/NavigationMode', './generated/templates/TimelineTemplate.lit', './generated/i18n/i18n-defaults', './TimelineItem', './generated/themes/Timeline.css', './types/TimelineLayout'], function (UI5Element, i18nBundle, litRender, Keys, ItemNavigation, NavigationMode, TimelineTemplate_lit, i18nDefaults, TimelineItem, Timeline_css, TimelineLayout) { '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 UI5Element__default = /*#__PURE__*/_interopDefaultLegacy(UI5Element);
|
|
6
6
|
var litRender__default = /*#__PURE__*/_interopDefaultLegacy(litRender);
|
|
7
7
|
var ItemNavigation__default = /*#__PURE__*/_interopDefaultLegacy(ItemNavigation);
|
|
8
|
+
var NavigationMode__default = /*#__PURE__*/_interopDefaultLegacy(NavigationMode);
|
|
8
9
|
|
|
10
|
+
const SHORT_LINE_WIDTH = "ShortLineWidth";
|
|
11
|
+
const LARGE_LINE_WIDTH = "LargeLineWidth";
|
|
9
12
|
const metadata = {
|
|
10
13
|
tag: "ui5-timeline",
|
|
11
14
|
languageAware: true,
|
|
12
15
|
managedSlots: true,
|
|
16
|
+
properties: {
|
|
17
|
+
layout: {
|
|
18
|
+
type: TimelineLayout,
|
|
19
|
+
defaultValue: TimelineLayout.Vertical,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
13
22
|
slots: {
|
|
14
23
|
"default": {
|
|
15
24
|
propertyName: "items",
|
|
@@ -36,21 +45,55 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
36
45
|
this._itemNavigation = new ItemNavigation__default(this, {
|
|
37
46
|
getItemsCallback: () => this.items,
|
|
38
47
|
});
|
|
39
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
40
48
|
}
|
|
41
49
|
static get dependencies() {
|
|
42
50
|
return [TimelineItem];
|
|
43
51
|
}
|
|
44
52
|
static async onDefine() {
|
|
45
|
-
await i18nBundle.
|
|
53
|
+
Timeline.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
46
54
|
}
|
|
47
55
|
get ariaLabel() {
|
|
48
|
-
return
|
|
56
|
+
return Timeline.i18nBundle.getText(i18nDefaults.TIMELINE_ARIA_LABEL);
|
|
49
57
|
}
|
|
50
58
|
_onfocusin(event) {
|
|
51
59
|
const target = event.target;
|
|
52
60
|
this._itemNavigation.setCurrentItem(target);
|
|
53
61
|
}
|
|
62
|
+
onBeforeRendering() {
|
|
63
|
+
this._itemNavigation.navigationMode = this.layout === TimelineLayout.Horizontal ? NavigationMode__default.Horizontal : NavigationMode__default.Vertical;
|
|
64
|
+
for (let i = 0; i < this.items.length; i++) {
|
|
65
|
+
this.items[i].layout = this.layout;
|
|
66
|
+
if (this.items[i + 1] && !!this.items[i + 1].icon) {
|
|
67
|
+
this.items[i]._lineWidth = SHORT_LINE_WIDTH;
|
|
68
|
+
} else if (this.items[i].icon && this.items[i + 1] && !this.items[i + 1].icon) {
|
|
69
|
+
this.items[i]._lineWidth = LARGE_LINE_WIDTH;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
_onkeydown(event) {
|
|
74
|
+
if (Keys.isTabNext(event)) {
|
|
75
|
+
if (!event.target.nameClickable || event.isMarked === "link") {
|
|
76
|
+
this._handleTabNextOrPrevious(event, Keys.isTabNext(event));
|
|
77
|
+
}
|
|
78
|
+
} else if (Keys.isTabPrevious(event)) {
|
|
79
|
+
this._handleTabNextOrPrevious(event);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
_handleTabNextOrPrevious(event, isNext) {
|
|
83
|
+
const nextTargetIndex = isNext ? this.items.indexOf(event.target) + 1 : this.items.indexOf(event.target) - 1;
|
|
84
|
+
const nextTarget = this.items[nextTargetIndex];
|
|
85
|
+
if (!nextTarget) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (nextTarget.nameClickable && !isNext) {
|
|
89
|
+
event.preventDefault();
|
|
90
|
+
nextTarget.shadowRoot.querySelector("[ui5-link]").focus();
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
event.preventDefault();
|
|
94
|
+
nextTarget.focus();
|
|
95
|
+
this._itemNavigation.setCurrentItem(nextTarget);
|
|
96
|
+
}
|
|
54
97
|
}
|
|
55
98
|
Timeline.define();
|
|
56
99
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/main/thirdparty/Icon', 'sap/ui/webc/main/thirdparty/Link', './generated/templates/TimelineItemTemplate.lit', './generated/themes/TimelineItem.css'], function (UI5Element, litRender, Icon, Link, TimelineItemTemplate_lit, TimelineItem_css) { 'use strict';
|
|
1
|
+
sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/common/thirdparty/base/renderer/LitRenderer', 'sap/ui/webc/main/thirdparty/Icon', 'sap/ui/webc/main/thirdparty/Link', './generated/templates/TimelineItemTemplate.lit', './types/TimelineLayout', './generated/themes/TimelineItem.css'], function (UI5Element, litRender, Icon, Link, TimelineItemTemplate_lit, TimelineLayout, TimelineItem_css) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e['default'] : e; }
|
|
4
4
|
|
|
@@ -7,6 +7,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
7
7
|
var Icon__default = /*#__PURE__*/_interopDefaultLegacy(Icon);
|
|
8
8
|
var Link__default = /*#__PURE__*/_interopDefaultLegacy(Link);
|
|
9
9
|
|
|
10
|
+
const SHORT_LINE_WIDTH = "ShortLineWidth";
|
|
11
|
+
const LARGE_LINE_WIDTH = "LargeLineWidth";
|
|
10
12
|
const metadata = {
|
|
11
13
|
tag: "ui5-timeline-item",
|
|
12
14
|
slots: {
|
|
@@ -18,10 +20,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
18
20
|
icon: {
|
|
19
21
|
type: String,
|
|
20
22
|
},
|
|
21
|
-
|
|
23
|
+
name: {
|
|
22
24
|
type: String,
|
|
23
25
|
},
|
|
24
|
-
|
|
26
|
+
nameClickable: {
|
|
25
27
|
type: Boolean,
|
|
26
28
|
},
|
|
27
29
|
titleText: {
|
|
@@ -35,9 +37,16 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
35
37
|
defaultValue: "-1",
|
|
36
38
|
noAttribute: true,
|
|
37
39
|
},
|
|
40
|
+
layout: {
|
|
41
|
+
type: TimelineLayout,
|
|
42
|
+
defaultvalue: TimelineLayout.Vertical,
|
|
43
|
+
},
|
|
44
|
+
_lineWidth: {
|
|
45
|
+
type: String,
|
|
46
|
+
},
|
|
38
47
|
},
|
|
39
48
|
events: {
|
|
40
|
-
"
|
|
49
|
+
"name-click": {},
|
|
41
50
|
},
|
|
42
51
|
};
|
|
43
52
|
class TimelineItem extends UI5Element__default {
|
|
@@ -56,8 +65,8 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
56
65
|
constructor() {
|
|
57
66
|
super();
|
|
58
67
|
}
|
|
59
|
-
|
|
60
|
-
this.fireEvent("
|
|
68
|
+
onNamePress() {
|
|
69
|
+
this.fireEvent("name-click", {});
|
|
61
70
|
}
|
|
62
71
|
static get dependencies() {
|
|
63
72
|
return [
|
|
@@ -65,6 +74,20 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
65
74
|
Link__default,
|
|
66
75
|
];
|
|
67
76
|
}
|
|
77
|
+
get classes() {
|
|
78
|
+
return {
|
|
79
|
+
indicator: {
|
|
80
|
+
"ui5-tli-indicator": true,
|
|
81
|
+
"ui5-tli-indicator-short-line": this._lineWidth === SHORT_LINE_WIDTH,
|
|
82
|
+
"ui5-tli-indicator-large-line": this._lineWidth === LARGE_LINE_WIDTH,
|
|
83
|
+
},
|
|
84
|
+
bubbleArrowPosition: {
|
|
85
|
+
"ui5-tli-bubble-arrow": true,
|
|
86
|
+
"ui5-tli-bubble-arrow--left": this.layout === TimelineLayout.Vertical,
|
|
87
|
+
"ui5-tli-bubble-arrow--top": this.layout === TimelineLayout.Horizontal,
|
|
88
|
+
},
|
|
89
|
+
};
|
|
90
|
+
}
|
|
68
91
|
}
|
|
69
92
|
TimelineItem.define();
|
|
70
93
|
|
|
@@ -31,6 +31,9 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
31
31
|
type: String,
|
|
32
32
|
defaultValue: UploadCollectionDnDMode.None,
|
|
33
33
|
},
|
|
34
|
+
accessibleName: {
|
|
35
|
+
type: String,
|
|
36
|
+
},
|
|
34
37
|
},
|
|
35
38
|
managedSlots: true,
|
|
36
39
|
slots: {
|
|
@@ -44,7 +47,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
44
47
|
},
|
|
45
48
|
events: {
|
|
46
49
|
drop: {},
|
|
47
|
-
"
|
|
50
|
+
"item-delete": {
|
|
48
51
|
detail: {
|
|
49
52
|
item: { type: HTMLElement },
|
|
50
53
|
},
|
|
@@ -78,11 +81,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
78
81
|
];
|
|
79
82
|
}
|
|
80
83
|
static async onDefine() {
|
|
81
|
-
await i18nBundle.
|
|
84
|
+
UploadCollection.i18nBundle = await i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
82
85
|
}
|
|
83
86
|
constructor() {
|
|
84
87
|
super();
|
|
85
|
-
this.i18nBundle = i18nBundle.getI18nBundle("@ui5/webcomponents-fiori");
|
|
86
88
|
this._bodyDnDHandler = event => {
|
|
87
89
|
if (this._dndOverlayMode !== UploadCollectionDnDMode.Drop) {
|
|
88
90
|
this._dndOverlayMode = event.mode;
|
|
@@ -132,7 +134,7 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
132
134
|
this._dndOverlayMode = UploadCollectionDnDMode.Drag;
|
|
133
135
|
}
|
|
134
136
|
_onItemDelete(event) {
|
|
135
|
-
this.fireEvent("
|
|
137
|
+
this.fireEvent("item-delete", { item: event.detail.item });
|
|
136
138
|
}
|
|
137
139
|
_onSelectionChange(event) {
|
|
138
140
|
this.fireEvent("selection-change", { selectedItems: event.detail.selectedItems });
|
|
@@ -148,6 +150,10 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
148
150
|
"uc-drag-overlay": this._dndOverlayMode === UploadCollectionDnDMode.Drag,
|
|
149
151
|
"uc-drop-overlay": this._dndOverlayMode === UploadCollectionDnDMode.Drop,
|
|
150
152
|
},
|
|
153
|
+
noFiles: {
|
|
154
|
+
"uc-no-files": true,
|
|
155
|
+
"uc-no-files-dnd-overlay": this._showDndOverlay,
|
|
156
|
+
},
|
|
151
157
|
};
|
|
152
158
|
}
|
|
153
159
|
get _root() {
|
|
@@ -160,22 +166,22 @@ sap.ui.define(['sap/ui/webc/common/thirdparty/base/UI5Element', 'sap/ui/webc/com
|
|
|
160
166
|
return this._dndOverlayMode !== UploadCollectionDnDMode.None;
|
|
161
167
|
}
|
|
162
168
|
get _showNoData() {
|
|
163
|
-
return this.items.length === 0
|
|
169
|
+
return this.items.length === 0;
|
|
164
170
|
}
|
|
165
171
|
get _noDataText() {
|
|
166
|
-
return this.noDataText ||
|
|
172
|
+
return this.noDataText || UploadCollection.i18nBundle.getText(i18nDefaults.UPLOADCOLLECTION_NO_DATA_TEXT);
|
|
167
173
|
}
|
|
168
174
|
get _noDataDescription() {
|
|
169
|
-
return this.noDataDescription ||
|
|
175
|
+
return this.noDataDescription || UploadCollection.i18nBundle.getText(i18nDefaults.UPLOADCOLLECTION_NO_DATA_DESCRIPTION);
|
|
170
176
|
}
|
|
171
177
|
get _roleDescription() {
|
|
172
|
-
return
|
|
178
|
+
return UploadCollection.i18nBundle.getText(i18nDefaults.UPLOADCOLLECTION_ARIA_ROLE_DESCRIPTION);
|
|
173
179
|
}
|
|
174
180
|
get _dndOverlayText() {
|
|
175
181
|
if (this._dndOverlayMode === UploadCollectionDnDMode.Drag) {
|
|
176
|
-
return
|
|
182
|
+
return UploadCollection.i18nBundle.getText(i18nDefaults.UPLOADCOLLECTION_DRAG_FILE_INDICATOR);
|
|
177
183
|
}
|
|
178
|
-
return
|
|
184
|
+
return UploadCollection.i18nBundle.getText(i18nDefaults.UPLOADCOLLECTION_DROP_FILE_INDICATOR);
|
|
179
185
|
}
|
|
180
186
|
}
|
|
181
187
|
UploadCollection.define();
|