@openui5/sap.f 1.141.2 → 1.142.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/README.md +2 -2
- package/REUSE.toml +38 -0
- package/THIRDPARTY.txt +34 -1
- package/package.json +19 -4
- package/src/sap/f/.library +34 -3
- package/src/sap/f/Avatar.js +1 -1
- package/src/sap/f/AvatarGroup.js +1 -1
- package/src/sap/f/AvatarGroupItem.js +1 -1
- package/src/sap/f/CalendarAppointmentInCard.js +1 -1
- package/src/sap/f/CalendarInCard.js +1 -1
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +1 -1
- package/src/sap/f/DynamicPage.js +3 -4
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutRenderer.js +2 -0
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +1 -1
- package/src/sap/f/GridContainerItemLayoutData.js +1 -1
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +1 -1
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/IllustratedMessage.js +1 -1
- package/src/sap/f/Illustration.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
- package/src/sap/f/ProductSwitch.js +1 -1
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/SearchManager.js +1 -1
- package/src/sap/f/ShellBar.js +1 -1
- package/src/sap/f/SidePanel.js +1 -1
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +1 -1
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +1 -1
- package/src/sap/f/cards/NumericIndicators.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +1 -1
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
- package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +238 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +339 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +125 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +140 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +64 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +207 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +280 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +347 -0
- package/src/sap/f/gen/ui5/webcomponents.js +2825 -0
- package/src/sap/f/gen/ui5/webcomponents_base.js +578 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +211 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +204 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +164 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +243 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +87 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +248 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +125 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +60 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +88 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +76 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +81 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +655 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +122 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +139 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +232 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +74 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +279 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +129 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +83 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori.js +1654 -0
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/semantic/AddAction.js +1 -1
- package/src/sap/f/semantic/CloseAction.js +1 -1
- package/src/sap/f/semantic/CopyAction.js +1 -1
- package/src/sap/f/semantic/DeleteAction.js +1 -1
- package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/f/semantic/EditAction.js +1 -1
- package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
- package/src/sap/f/semantic/FavoriteAction.js +1 -1
- package/src/sap/f/semantic/FlagAction.js +1 -1
- package/src/sap/f/semantic/FooterMainAction.js +1 -1
- package/src/sap/f/semantic/FullScreenAction.js +1 -1
- package/src/sap/f/semantic/MainAction.js +1 -1
- package/src/sap/f/semantic/MessagesIndicator.js +1 -1
- package/src/sap/f/semantic/NegativeAction.js +1 -1
- package/src/sap/f/semantic/PositiveAction.js +1 -1
- package/src/sap/f/semantic/PrintAction.js +1 -1
- package/src/sap/f/semantic/SemanticButton.js +1 -1
- package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/f/semantic/SendEmailAction.js +1 -1
- package/src/sap/f/semantic/SendMessageAction.js +1 -1
- package/src/sap/f/semantic/ShareInJamAction.js +1 -1
- package/src/sap/f/semantic/TitleMainAction.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
- package/src/sap/f/shellBar/CoPilot.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Search.js +1 -1
- package/src/sap/f/themes/base/Card.less +8 -2
- package/src/sap/f/themes/base/CardHeaders.less +25 -3
- package/src/sap/f/themes/base/DynamicPage.less +6 -1
- package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +13 -0
- package/src/sap/f/thirdparty/Avatar.js +453 -0
- package/src/sap/f/thirdparty/BusyIndicator.js +233 -0
- package/src/sap/f/thirdparty/Button.js +7 -0
- package/src/sap/f/thirdparty/Button2.js +656 -0
- package/src/sap/f/thirdparty/FocusableElements.js +10 -0
- package/src/sap/f/thirdparty/Icon.js +313 -0
- package/src/sap/f/thirdparty/Icons.js +234 -0
- package/src/sap/f/thirdparty/IllustratedMessage.js +1297 -0
- package/src/sap/f/thirdparty/Label.js +115 -0
- package/src/sap/f/thirdparty/Link.js +316 -0
- package/src/sap/f/thirdparty/List.js +1253 -0
- package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +14 -0
- package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +10 -0
- package/src/sap/f/thirdparty/ListItemBase.js +251 -0
- package/src/sap/f/thirdparty/ListItemCustom.js +1689 -0
- package/src/sap/f/thirdparty/ListItemGroup.js +637 -0
- package/src/sap/f/thirdparty/Menu.js +389 -0
- package/src/sap/f/thirdparty/MenuItem.js +10 -0
- package/src/sap/f/thirdparty/MenuItem2.js +762 -0
- package/src/sap/f/thirdparty/NotificationList.js +291 -0
- package/src/sap/f/thirdparty/NotificationListGroupItem.js +310 -0
- package/src/sap/f/thirdparty/NotificationListItem.js +534 -0
- package/src/sap/f/thirdparty/NotificationListItemBase.js +98 -0
- package/src/sap/f/thirdparty/ResponsivePopover.js +2312 -0
- package/src/sap/f/thirdparty/SearchItem.css.js +10 -0
- package/src/sap/f/thirdparty/SearchItem.js +152 -0
- package/src/sap/f/thirdparty/SearchItemGroup.js +44 -0
- package/src/sap/f/thirdparty/SearchItemShowMore.js +86 -0
- package/src/sap/f/thirdparty/SearchMessageArea.js +49 -0
- package/src/sap/f/thirdparty/SearchScope.js +39 -0
- package/src/sap/f/thirdparty/ShellBar.js +1809 -0
- package/src/sap/f/thirdparty/ShellBarBranding.js +119 -0
- package/src/sap/f/thirdparty/ShellBarItem.js +89 -0
- package/src/sap/f/thirdparty/ShellBarSearch.js +7 -0
- package/src/sap/f/thirdparty/ShellBarSearch2.js +3453 -0
- package/src/sap/f/thirdparty/ShellBarSpacer.js +40 -0
- package/src/sap/f/thirdparty/Tag.js +302 -0
- package/src/sap/f/thirdparty/Text.js +127 -0
- package/src/sap/f/thirdparty/Title.js +167 -0
- package/src/sap/f/thirdparty/UserMenu.js +950 -0
- package/src/sap/f/thirdparty/UserMenuAccount.js +114 -0
- package/src/sap/f/thirdparty/UserMenuItem.js +61 -0
- package/src/sap/f/thirdparty/ValueState.js +7 -0
- package/src/sap/f/thirdparty/WrappingType.js +24 -0
- package/src/sap/f/thirdparty/_dynamics/InputComposition.js +35 -0
- package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +397 -0
- package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +193 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +585 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +585 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +1194 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +1194 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2509 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2509 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +7 -0
- package/src/sap/f/thirdparty/encodeXML.js +87 -0
- package/src/sap/f/thirdparty/event-strict.js +7 -0
- package/src/sap/f/thirdparty/generateHighlightedMarkup.js +9 -0
- package/src/sap/f/thirdparty/i18n-defaults.js +119 -0
- package/src/sap/f/thirdparty/i18n-defaults2.js +159 -0
- package/src/sap/f/thirdparty/information.js +100 -0
- package/src/sap/f/thirdparty/information2.js +13 -0
- package/src/sap/f/thirdparty/overflow.js +25 -0
- package/src/sap/f/thirdparty/parameters-bundle.css.js +11 -0
- package/src/sap/f/thirdparty/parameters-bundle.css2.js +44 -0
- package/src/sap/f/thirdparty/parameters-bundle.css3.js +8 -0
- package/src/sap/f/thirdparty/query.js +7 -0
- package/src/sap/f/thirdparty/slim-arrow-down.js +44 -0
- package/src/sap/f/thirdparty/sys-enter-2.js +7 -0
- package/src/sap/f/thirdparty/toLowercaseEnumValue.js +7 -0
- package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +26 -0
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +26 -0
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +26 -0
- package/src/sap/f/thirdparty/webcomponents-base.js +4301 -0
- package/src/sap/f/thirdparty/webcomponents-base2.js +7 -0
- package/src/sap/f/thirdparty/webcomponents-fiori.js +146 -0
- package/src/sap/f/thirdparty/webcomponents.js +170 -0
- package/src/sap/f/thirdparty/willShowContent.js +7 -0
- package/ui5-build.yaml +54 -0
- package/ui5.yaml +46 -0
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents-base', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/webcomponents-fiori', 'sap/f/thirdparty/query', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/ValueState', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/NotificationListItemBase', 'sap/f/thirdparty/sys-enter-2', 'sap/f/thirdparty/information2', 'sap/f/thirdparty/i18n-defaults', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/Link', 'sap/f/thirdparty/Tag', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/information', 'sap/f/thirdparty/overflow', 'sap/f/thirdparty/parameters-bundle.css3', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/Label'], (function (webcomponentsBase, webcomponents, webcomponentsFiori, query, eventStrict, WrappingType, ValueState, willShowContent, parametersBundle_css, NotificationListItemBase, sysEnter2, information$1, i18nDefaults, Button, BusyIndicator, Icon, Link, Tag, Icons, information, overflow, parametersBundle_css$1, parametersBundle_css$2, ListItemBase, FocusableElements, AccessibilityTextsHelper, toLowercaseEnumValue, i18nDefaults$1, Label) { 'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Different types of NotificationListItemImportance.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
var NotificationListItemImportance;
|
|
9
|
+
(function (NotificationListItemImportance) {
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
NotificationListItemImportance["Standard"] = "Standard";
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
NotificationListItemImportance["Important"] = "Important";
|
|
18
|
+
})(NotificationListItemImportance || (NotificationListItemImportance = {}));
|
|
19
|
+
var NotificationListItemImportance$1 = NotificationListItemImportance;
|
|
20
|
+
|
|
21
|
+
const name$1 = "high-priority";
|
|
22
|
+
const pathData$1 = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 96q-15 0-25.5 11t-9.5 26l11 164q0 10 7 16.5t17 6.5 17-6.5 7-16.5l11-164q1-15-9.5-26T256 96zm0 329q15 0 25.5-11t10.5-26-11-25.5-26-10.5-25 10.5-10 25.5 10 26 26 11z";
|
|
23
|
+
const ltr$1 = false;
|
|
24
|
+
const collection$1 = "SAP-icons-v4";
|
|
25
|
+
const packageName$1 = "@ui5/webcomponents-icons";
|
|
26
|
+
|
|
27
|
+
Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
|
|
28
|
+
|
|
29
|
+
const name = "high-priority";
|
|
30
|
+
const pathData = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm-32 288q0 14 9 23t23 9 23-9 9-23V128q0-14-9-23t-23-9-23 9-9 23v160zm32 128q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";
|
|
31
|
+
const ltr = false;
|
|
32
|
+
const collection = "SAP-icons-v5";
|
|
33
|
+
const packageName = "@ui5/webcomponents-icons";
|
|
34
|
+
|
|
35
|
+
Icons.y(name, { pathData, ltr, collection, packageName });
|
|
36
|
+
|
|
37
|
+
var iconHighPriority = "high-priority";
|
|
38
|
+
|
|
39
|
+
function NotificationListItemTemplate() {
|
|
40
|
+
return (parametersBundle_css.jsxs("li", { class: this.itemClasses, onFocusIn: this._onfocusin, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, onClick: this._onclick, tabindex: this.forcedTabIndex ? parseInt(this.forcedTabIndex) : undefined, "aria-labelledby": this.ariaLabelledBy, "aria-level": this._ariaLevel, children: [this.loading && (parametersBundle_css.jsx("span", { id: `${this._id}-loading`, class: "ui5-hidden-text", children: this.loadingText })), parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-busyIndicator`, delay: this.loadingDelay, active: this.loading, inert: this.loading, class: "ui5-nli-loading", children: parametersBundle_css.jsxs("div", { class: "ui5-nli-content-wrapper", children: [parametersBundle_css.jsxs("div", { class: {
|
|
41
|
+
"ui5-nli-content": true,
|
|
42
|
+
"ui5-nli-content-with-importance": this.hasImportance,
|
|
43
|
+
}, children: [this.hasImportance && (parametersBundle_css.jsxs(Tag.Tag, { id: `${this._id}-importance`, class: "ui5-nli-importance", design: "Set2", colorScheme: "2", wrappingType: "None", children: [parametersBundle_css.jsx(Icon.Icon, { name: iconHighPriority, slot: "icon" }), this.importanceText] })), parametersBundle_css.jsxs("div", { class: "ui5-nli-title-text-wrapper", children: [this.hasState && (parametersBundle_css.jsx(Icon.Icon, { class: "ui5-state-icon", name: this.statusIconName, showTooltip: true, accessibleName: this.stateText, design: this.statusIconDesign })), parametersBundle_css.jsxs("div", { id: `${this._id}-title-text`, class: "ui5-nli-title-text", part: "title-text", children: [parametersBundle_css.jsx("span", { class: "ui5-hidden-text", children: this.stateText }), this.titleText] })] }), parametersBundle_css.jsx("span", { id: `${this._id}-read`, class: "ui5-hidden-text", children: this.readText }), this.hasDesc && (parametersBundle_css.jsx("div", { id: `${this._id}-description`, class: "ui5-nli-description", children: parametersBundle_css.jsx("slot", {}) })), parametersBundle_css.jsxs("div", { class: "ui5-nli-footer", children: [parametersBundle_css.jsx("div", { id: `${this._id}-footnotes`, class: "ui5-nli-footnotes", children: this.footerItems.map(item => {
|
|
44
|
+
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("slot", { name: item.slotName }), item.showDivider && parametersBundle_css.jsx("div", { class: "ui5-nli-footer-divider", "aria-hidden": "true", children: "\u00B7" })] }));
|
|
45
|
+
}) }), parametersBundle_css.jsx(Link.Link, { class: "ui5-nli-footer-showMore", hidden: this.hideShowMore, onClick: this._onShowMoreClick, wrappingType: "None", href: "#" // --without href ENTER does not trigger click
|
|
46
|
+
, accessibleName: this.moreLinkAccessibleName, accessibleRole: "Button", accessibilityAttributes: this.moreLinkAccessibilityAttributes, children: this.showMoreText })] })] }), parametersBundle_css.jsxs("div", { class: "ui5-nli-actions", children: [this.showMenu && (parametersBundle_css.jsx(Button.Button, { icon: overflow.overflow, design: "Transparent", onClick: this._onBtnMenuClick, class: "ui5-nli-menu-btn", tooltip: this.menuBtnAccessibleName, accessibilityAttributes: this.menuButtonAccessibilityAttributes })), this.showClose && (parametersBundle_css.jsx(Button.Button, { icon: information.decline, class: "ui5-nli-close-btn", design: "Transparent", onClick: this._onBtnCloseClick, tooltip: this.closeBtnAccessibleName, accessibleName: this.closeBtnAccessibleName }))] }), parametersBundle_css.jsx("div", { class: "ui5-nli-avatar", "aria-hidden": "true", children: parametersBundle_css.jsx("slot", { name: "avatar" }) }), parametersBundle_css.jsx("slot", { name: "menu" })] }) })] }));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
50
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "f" + "i" + "o" + "r" + "i", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
51
|
+
var NotificationListItemCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:block;max-width:100%;min-height:var(--_ui5-v2-15-0_list_item_base_height);background:var(--ui5-v2-15-0-listitem-background-color);cursor:pointer}.ui5-nli-focusable:focus{outline:none}:host([desktop]) .ui5-nli-focusable:focus:not(.ui5-nli-group-root):after,.ui5-nli-focusable:focus-visible:not(.ui5-nli-group-root):after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:0;pointer-events:none}.ui5-state-icon{min-width:1rem;min-height:1rem;padding-inline-end:var(--_ui5-v2-15-0-notification_item-state-icon-padding)}:host(:not([wrapping-type="Normal"])) .ui5-nli-title-text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host(:not([wrapping-type="Normal"])) .ui5-nli-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}:host([_show-more-pressed]) .ui5-nli-title-text{-webkit-line-clamp:unset}:host([_show-more-pressed]) .ui5-nli-description{-webkit-line-clamp:unset}:host([read]) .ui5-nli-title-text{font-weight:400}:host(:first-of-type){border-top-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:last-of-type){border-bottom-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:first-of-type) .ui5-nli-focusable:after{border-top-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-top-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host(:last-of-type) .ui5-nli-focusable:after{border-bottom-left-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border-bottom-right-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host([has-border]){border-bottom:var(--_ui5-v2-15-0-notification_item-border-bottom)}:host([ui5-li-notification]){margin:var(--_ui5-v2-15-0-notification_item-margin);border-left:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-right:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-top:var(--_ui5-v2-15-0-notification_item-border-top-left-right);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);list-style:none}.ui5-nli-root{position:relative;width:100%;box-sizing:border-box;cursor:pointer;border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border:1px solid transparent}.ui5-nli-root:hover{background-color:var(--_ui5-v2-15-0-notification_item-background-color-hover);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}:host([desktop]) .ui5-nli-root:focus:active,.ui5-nli-root:focus-visible:active{background-color:var(--_ui5-v2-15-0-notification_item-background-color-active);border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);border:var(--_ui5-v2-15-0-notification_item-border-active)}.ui5-nli-content-wrapper{width:100%;display:flex;flex-direction:row-reverse;padding-inline:var(--_ui5-v2-15-0-notification_item-root-padding-inline);padding-block:1rem;position:relative;box-sizing:border-box}.ui5-nli-content{display:flex;flex-direction:column;flex:1;min-width:0;width:100%;padding-inline:var(--_ui5-v2-15-0-notification_item-content-padding);font-family:var(--sapFontFamily);box-sizing:border-box}.ui5-nli-content.ui5-nli-content-with-importance{margin-bottom:2rem}.ui5-nli-actions{position:absolute;top:.5rem;right:.5rem}:dir(rtl) .ui5-nli-actions{left:.5rem;right:auto}.ui5-nli-title-text-wrapper{display:flex;flex-direction:row}.ui5-nli-title-text{display:flex;margin-bottom:var(--_ui5-v2-15-0-notification_item-title-margin-bottom);box-sizing:border-box;color:var(--sapGroup_TitleTextColor);font-weight:700;font-size:var(--sapFontHeader6Size)}.ui5-nli-two-buttons .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-15-0-notification_item-title-padding-end-two-buttons)}.ui5-nli-one-button .ui5-nli-title-text{padding-inline-end:var(--_ui5-v2-15-0-notification_item-title-padding-end-one-button)}.ui5-nli-description{display:flex;margin-top:var(--_ui5-v2-15-0-notification_item-description-margin-top);color:var(--sapTextColor);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-nli-footer{display:flex;color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);margin-top:var(--_ui5-v2-15-0-notification_item-footer-margin-top);box-sizing:border-box;align-items:center}.ui5-nli-footer-divider{position:relative;align-items:center;margin-inline:.5rem}.ui5-nli-footnotes{display:flex;min-width:0}.ui5-nli-footer-showMore{margin-inline-start:1rem}.ui5-nli-importance{width:fit-content;position:absolute;bottom:1rem}::slotted([slot^="footnotes"]){color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ui5-nli-menu-btn{margin-inline-end:.125rem}:host([desktop]) .ui5-nli-focusable:not(.ui5-nli-group-root):focus:after,.ui5-nli-focusable:not(.ui5-nli-group-root):focus-visible:after{border-radius:var(--_ui5-v2-15-0-notification_item-border-radius);top:var(--_ui5-v2-15-0-notification_item-focus-offset);right:var(--_ui5-v2-15-0-notification_item-focus-offset);bottom:var(--_ui5-v2-15-0-notification_item-focus-offset);left:var(--_ui5-v2-15-0-notification_item-focus-offset)}[ui5-busy-indicator]{width:100%;border-radius:var(--_ui5-v2-15-0-notification_item-border-radius)}
|
|
52
|
+
`;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Different Icon semantic designs.
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
var IconDesign;
|
|
59
|
+
(function (IconDesign) {
|
|
60
|
+
/**
|
|
61
|
+
* Contrast design
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
IconDesign["Contrast"] = "Contrast";
|
|
65
|
+
/**
|
|
66
|
+
* Critical design
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
IconDesign["Critical"] = "Critical";
|
|
70
|
+
/**
|
|
71
|
+
* Default design (brand design)
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
IconDesign["Default"] = "Default";
|
|
75
|
+
/**
|
|
76
|
+
* info type
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
IconDesign["Information"] = "Information";
|
|
80
|
+
/**
|
|
81
|
+
* Negative design
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
IconDesign["Negative"] = "Negative";
|
|
85
|
+
/**
|
|
86
|
+
* Neutral design
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
IconDesign["Neutral"] = "Neutral";
|
|
90
|
+
/**
|
|
91
|
+
* Design that indicates an icon which isn't interactive
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
IconDesign["NonInteractive"] = "NonInteractive";
|
|
95
|
+
/**
|
|
96
|
+
* Positive design
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
IconDesign["Positive"] = "Positive";
|
|
100
|
+
})(IconDesign || (IconDesign = {}));
|
|
101
|
+
var IconDesign$1 = IconDesign;
|
|
102
|
+
|
|
103
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
104
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
105
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
106
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
107
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
108
|
+
};
|
|
109
|
+
var NotificationListItem_1;
|
|
110
|
+
/**
|
|
111
|
+
* Defines the icons name corresponding to the notification's status indicator.
|
|
112
|
+
*/
|
|
113
|
+
const ICON_PER_STATUS_NAME = {
|
|
114
|
+
[ValueState.o.Negative]: information$1.error,
|
|
115
|
+
[ValueState.o.Critical]: information$1.alert,
|
|
116
|
+
[ValueState.o.Positive]: sysEnter2.selectedAccount,
|
|
117
|
+
[ValueState.o.Information]: information$1.information,
|
|
118
|
+
[ValueState.o.None]: "",
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Defines the icons design (color) corresponding to the notification's status indicator.
|
|
122
|
+
*/
|
|
123
|
+
const ICON_PER_STATUS_DESIGN = {
|
|
124
|
+
[ValueState.o.Negative]: IconDesign$1.Negative,
|
|
125
|
+
[ValueState.o.Critical]: IconDesign$1.Critical,
|
|
126
|
+
[ValueState.o.Positive]: IconDesign$1.Positive,
|
|
127
|
+
[ValueState.o.Information]: IconDesign$1.Information,
|
|
128
|
+
[ValueState.o.None]: undefined,
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* @class
|
|
132
|
+
*
|
|
133
|
+
* ### Overview
|
|
134
|
+
* The `ui5-li-notification` is a type of list item, meant to display notifications.
|
|
135
|
+
*
|
|
136
|
+
* The component has a rich set of various properties that allows the user to set `avatar`, `menu`, `titleText`, descriptive `content`
|
|
137
|
+
* and `footnotes` to fully describe a notification.
|
|
138
|
+
*
|
|
139
|
+
* The user can:
|
|
140
|
+
*
|
|
141
|
+
* - display a `Close` button
|
|
142
|
+
* - can control whether the `titleText` and `description` should wrap or truncate
|
|
143
|
+
* and display a `ShowMore` button to switch between less and more information
|
|
144
|
+
* - add actions by using the `ui5-menu` component
|
|
145
|
+
*
|
|
146
|
+
* **Note:** Adding custom actions by using the `ui5-notification-action` component is deprecated as of version 2.0!
|
|
147
|
+
*
|
|
148
|
+
* ### Usage
|
|
149
|
+
* The component should be used inside a `ui5-notification-list`.
|
|
150
|
+
*
|
|
151
|
+
* ### Keyboard Handling
|
|
152
|
+
*
|
|
153
|
+
* #### Basic Navigation
|
|
154
|
+
* The user can use the following keyboard shortcuts to perform actions (such as select, delete):
|
|
155
|
+
*
|
|
156
|
+
* - [Enter] - select an item (trigger "item-click" event)
|
|
157
|
+
* - [Delete] - close an item (trigger "item-close" event)
|
|
158
|
+
*
|
|
159
|
+
* #### Fast Navigation
|
|
160
|
+
* This component provides a fast navigation using the following keyboard shortcuts:
|
|
161
|
+
*
|
|
162
|
+
* - [Shift] + [Enter] - 'More'/'Less' link will be triggered
|
|
163
|
+
* - [Shift] + [F10] - 'Menu' (Actions) button will be triggered (clicked)
|
|
164
|
+
*
|
|
165
|
+
* ### ES6 Module Import
|
|
166
|
+
*
|
|
167
|
+
* `import "@ui5/webcomponents-fiori/dist/NotificationListItem.js";`
|
|
168
|
+
*
|
|
169
|
+
* @constructor
|
|
170
|
+
* @extends NotificationListItemBase
|
|
171
|
+
* @since 1.0.0-rc.8
|
|
172
|
+
* @public
|
|
173
|
+
* @csspart title-text - Used to style the titleText of the notification list item
|
|
174
|
+
*/
|
|
175
|
+
let NotificationListItem = NotificationListItem_1 = class NotificationListItem extends NotificationListItemBase.NotificationListItemBase {
|
|
176
|
+
constructor() {
|
|
177
|
+
super();
|
|
178
|
+
/**
|
|
179
|
+
* Defines if the `titleText` and `description` should wrap,
|
|
180
|
+
* they truncate by default.
|
|
181
|
+
*
|
|
182
|
+
* **Note:** by default the `titleText` and `description`,
|
|
183
|
+
* and a `ShowMore/Less` button would be displayed.
|
|
184
|
+
* @default "None"
|
|
185
|
+
* @public
|
|
186
|
+
* @since 1.0.0-rc.15
|
|
187
|
+
*/
|
|
188
|
+
this.wrappingType = "None";
|
|
189
|
+
/**
|
|
190
|
+
* Defines the status indicator of the item.
|
|
191
|
+
* @default "None"
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
194
|
+
this.state = "None";
|
|
195
|
+
/**
|
|
196
|
+
* Defines if the `Close` button would be displayed.
|
|
197
|
+
* @default false
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
this.showClose = false;
|
|
201
|
+
/**
|
|
202
|
+
* Defines the `Important` label of the item.
|
|
203
|
+
* @default "Standard"
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
this.importance = "Standard";
|
|
207
|
+
/**
|
|
208
|
+
* Defines the state of the `titleText` and `description`,
|
|
209
|
+
* if less or more information is displayed.
|
|
210
|
+
* @private
|
|
211
|
+
*/
|
|
212
|
+
this._showMorePressed = false;
|
|
213
|
+
/**
|
|
214
|
+
* Defines the visibility of the `showMore` button.
|
|
215
|
+
* @private
|
|
216
|
+
*/
|
|
217
|
+
this._showMore = false;
|
|
218
|
+
// the titleText overflow height
|
|
219
|
+
this._titleTextOverflowHeight = 0;
|
|
220
|
+
// the description overflow height
|
|
221
|
+
this._descOverflowHeight = 0;
|
|
222
|
+
// the resize handler
|
|
223
|
+
this._onResizeBound = this.onResize.bind(this);
|
|
224
|
+
}
|
|
225
|
+
onEnterDOM() {
|
|
226
|
+
super.onEnterDOM();
|
|
227
|
+
webcomponentsBase.f.register(this, this._onResizeBound);
|
|
228
|
+
}
|
|
229
|
+
onExitDOM() {
|
|
230
|
+
webcomponentsBase.f.deregister(this, this._onResizeBound);
|
|
231
|
+
}
|
|
232
|
+
get hasState() {
|
|
233
|
+
return this.state !== ValueState.o.None;
|
|
234
|
+
}
|
|
235
|
+
get hasDesc() {
|
|
236
|
+
return willShowContent.t(this.description);
|
|
237
|
+
}
|
|
238
|
+
get hasImportance() {
|
|
239
|
+
return this.importance !== NotificationListItemImportance$1.Standard;
|
|
240
|
+
}
|
|
241
|
+
get hasFootNotes() {
|
|
242
|
+
return !!this.footnotes.length;
|
|
243
|
+
}
|
|
244
|
+
get showMoreText() {
|
|
245
|
+
if (this._showMorePressed) {
|
|
246
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_LESS);
|
|
247
|
+
}
|
|
248
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_SHOW_MORE);
|
|
249
|
+
}
|
|
250
|
+
get menuBtnAccessibleName() {
|
|
251
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MENU_BTN_TITLE);
|
|
252
|
+
}
|
|
253
|
+
get moreLinkAccessibleName() {
|
|
254
|
+
return this._showMorePressed ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_TRUNCATE) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_MORE_LINK_LABEL_FULL);
|
|
255
|
+
}
|
|
256
|
+
get closeBtnAccessibleName() {
|
|
257
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CLOSE_BTN_TITLE);
|
|
258
|
+
}
|
|
259
|
+
get hideShowMore() {
|
|
260
|
+
if (this.wrappingType === WrappingType.WrappingType.None && this._showMore) {
|
|
261
|
+
return undefined;
|
|
262
|
+
}
|
|
263
|
+
return true;
|
|
264
|
+
}
|
|
265
|
+
get titleTextHeight() {
|
|
266
|
+
return this.titleTextDOM.offsetHeight;
|
|
267
|
+
}
|
|
268
|
+
get descriptionHeight() {
|
|
269
|
+
return this.descriptionDOM.offsetHeight;
|
|
270
|
+
}
|
|
271
|
+
get titleTextOverflows() {
|
|
272
|
+
const titleText = this.titleTextDOM;
|
|
273
|
+
if (!titleText) {
|
|
274
|
+
return false;
|
|
275
|
+
}
|
|
276
|
+
return titleText.offsetHeight < titleText.scrollHeight;
|
|
277
|
+
}
|
|
278
|
+
get descriptionOverflows() {
|
|
279
|
+
const description = this.descriptionDOM;
|
|
280
|
+
if (!description) {
|
|
281
|
+
return false;
|
|
282
|
+
}
|
|
283
|
+
return description.offsetHeight < description.scrollHeight;
|
|
284
|
+
}
|
|
285
|
+
get footerItems() {
|
|
286
|
+
return this.footnotes.map((el, idx, arr) => {
|
|
287
|
+
return {
|
|
288
|
+
slotName: el._individualSlot,
|
|
289
|
+
showDivider: idx !== arr.length - 1,
|
|
290
|
+
};
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
get ariaLabelledBy() {
|
|
294
|
+
const id = this._id;
|
|
295
|
+
if (this.loading) {
|
|
296
|
+
return `${id}-loading`;
|
|
297
|
+
}
|
|
298
|
+
const ids = [];
|
|
299
|
+
if (this.hasImportance) {
|
|
300
|
+
ids.push(`${id}-importance`);
|
|
301
|
+
}
|
|
302
|
+
if (this.hasTitleText) {
|
|
303
|
+
ids.push(`${id}-title-text`);
|
|
304
|
+
}
|
|
305
|
+
ids.push(`${id}-read`);
|
|
306
|
+
if (this.hasDesc) {
|
|
307
|
+
ids.push(`${id}-description`);
|
|
308
|
+
}
|
|
309
|
+
if (this.hasFootNotes) {
|
|
310
|
+
ids.push(`${id}-footnotes`);
|
|
311
|
+
}
|
|
312
|
+
return ids.join(" ");
|
|
313
|
+
}
|
|
314
|
+
get itemClasses() {
|
|
315
|
+
const classes = ["ui5-nli-root", "ui5-nli-focusable"];
|
|
316
|
+
if (this.getMenu() && this.showClose) {
|
|
317
|
+
classes.push("ui5-nli-two-buttons");
|
|
318
|
+
}
|
|
319
|
+
else if (this.getMenu() || this.showClose) {
|
|
320
|
+
classes.push("ui5-nli-one-button");
|
|
321
|
+
}
|
|
322
|
+
return classes.join(" ");
|
|
323
|
+
}
|
|
324
|
+
get statusIconName() {
|
|
325
|
+
return ICON_PER_STATUS_NAME[this.state];
|
|
326
|
+
}
|
|
327
|
+
get statusIconDesign() {
|
|
328
|
+
return ICON_PER_STATUS_DESIGN[this.state];
|
|
329
|
+
}
|
|
330
|
+
get importanceText() {
|
|
331
|
+
let text;
|
|
332
|
+
if (this.hasImportance) {
|
|
333
|
+
text = NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_IMPORTANT_TXT);
|
|
334
|
+
}
|
|
335
|
+
else {
|
|
336
|
+
text = "";
|
|
337
|
+
}
|
|
338
|
+
return text;
|
|
339
|
+
}
|
|
340
|
+
get stateText() {
|
|
341
|
+
if (this.state === ValueState.o.Positive) {
|
|
342
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_POSITIVE_STATUS_TXT);
|
|
343
|
+
}
|
|
344
|
+
if (this.state === ValueState.o.Critical) {
|
|
345
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_CRITICAL_STATUS_TXT);
|
|
346
|
+
}
|
|
347
|
+
if (this.state === ValueState.o.Negative) {
|
|
348
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_NEGATIVE_STATUS_TXT);
|
|
349
|
+
}
|
|
350
|
+
if (this.state === ValueState.o.Information) {
|
|
351
|
+
return NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_INFORMATION_STATUS_TXT);
|
|
352
|
+
}
|
|
353
|
+
return "";
|
|
354
|
+
}
|
|
355
|
+
get readText() {
|
|
356
|
+
return this.read ? NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_READ) : NotificationListItem_1.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_UNREAD);
|
|
357
|
+
}
|
|
358
|
+
get menuButtonAccessibilityAttributes() {
|
|
359
|
+
return {
|
|
360
|
+
hasPopup: "menu",
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
get moreLinkAccessibilityAttributes() {
|
|
364
|
+
return {
|
|
365
|
+
expanded: this._showMorePressed,
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
get showMenu() {
|
|
369
|
+
return !!this.getMenu();
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Event handlers
|
|
373
|
+
*/
|
|
374
|
+
_onclick() {
|
|
375
|
+
this.fireItemPress();
|
|
376
|
+
}
|
|
377
|
+
_onShowMoreClick(e) {
|
|
378
|
+
e.preventDefault();
|
|
379
|
+
this._toggleShowMorePressed();
|
|
380
|
+
}
|
|
381
|
+
async _onkeydown(e) {
|
|
382
|
+
await super._onkeydown(e);
|
|
383
|
+
if (webcomponentsBase.Eo(e)) {
|
|
384
|
+
e.preventDefault();
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
_onkeyup(e) {
|
|
388
|
+
super._onkeyup(e);
|
|
389
|
+
const space = webcomponentsBase.A(e);
|
|
390
|
+
if (space && this.getFocusDomRef().matches(":has(:focus-within)")) {
|
|
391
|
+
e.preventDefault();
|
|
392
|
+
this._toggleShowMorePressed();
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
if (webcomponentsBase.X(e)) {
|
|
396
|
+
this.fireDecoratorEvent("close", { item: this });
|
|
397
|
+
this.fireDecoratorEvent("_close", { item: this });
|
|
398
|
+
}
|
|
399
|
+
if (webcomponentsBase.Eo(e)) {
|
|
400
|
+
this._onBtnMenuClick();
|
|
401
|
+
}
|
|
402
|
+
if (webcomponentsBase.i(e)) {
|
|
403
|
+
this._toggleShowMorePressed();
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
_onBtnCloseClick() {
|
|
407
|
+
this.fireDecoratorEvent("close", { item: this });
|
|
408
|
+
this.fireDecoratorEvent("_close", { item: this });
|
|
409
|
+
}
|
|
410
|
+
_onBtnMenuClick() {
|
|
411
|
+
if (this.getMenu()) {
|
|
412
|
+
this.openMenu();
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
_toggleShowMorePressed() {
|
|
416
|
+
this._showMorePressed = !this._showMorePressed;
|
|
417
|
+
}
|
|
418
|
+
openMenu() {
|
|
419
|
+
const menu = this.getMenu();
|
|
420
|
+
menu.opener = this.menuButtonDOM;
|
|
421
|
+
menu.open = true;
|
|
422
|
+
}
|
|
423
|
+
getMenu() {
|
|
424
|
+
const menu = this.querySelector("[ui5-menu]");
|
|
425
|
+
return menu;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Private
|
|
429
|
+
*/
|
|
430
|
+
fireItemPress() {
|
|
431
|
+
if (this.getFocusDomRef().matches(":has(:focus-within)")) {
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
// NotificationListItem will never be assigned to a variable of type ListItemBase
|
|
435
|
+
// typescipt complains here, if that is the case, the parameter to the _press event handler could be a ListItemBase item,
|
|
436
|
+
// but this is never the case, all components are used by their class and never assigned to a variable with a type of ListItemBase
|
|
437
|
+
this.fireDecoratorEvent("_press", { item: this });
|
|
438
|
+
}
|
|
439
|
+
onResize() {
|
|
440
|
+
if (this.wrappingType === WrappingType.WrappingType.Normal) {
|
|
441
|
+
this._showMore = false;
|
|
442
|
+
return;
|
|
443
|
+
}
|
|
444
|
+
const titleTextWouldOverflow = this.titleTextHeight > this._titleTextOverflowHeight;
|
|
445
|
+
const descWouldOverflow = this.hasDesc && this.descriptionHeight > this._descOverflowHeight;
|
|
446
|
+
const overflows = titleTextWouldOverflow || descWouldOverflow;
|
|
447
|
+
if (this._showMorePressed && overflows) {
|
|
448
|
+
this._showMore = true;
|
|
449
|
+
return;
|
|
450
|
+
}
|
|
451
|
+
if (this.titleTextOverflows || this.descriptionOverflows) {
|
|
452
|
+
this._titleTextOverflowHeight = this.titleTextHeight;
|
|
453
|
+
this._descOverflowHeight = this.hasDesc ? this.descriptionHeight : 0;
|
|
454
|
+
this._showMore = true;
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
this._showMore = false;
|
|
458
|
+
}
|
|
459
|
+
};
|
|
460
|
+
__decorate([
|
|
461
|
+
webcomponentsBase.s()
|
|
462
|
+
], NotificationListItem.prototype, "wrappingType", void 0);
|
|
463
|
+
__decorate([
|
|
464
|
+
webcomponentsBase.s()
|
|
465
|
+
], NotificationListItem.prototype, "state", void 0);
|
|
466
|
+
__decorate([
|
|
467
|
+
webcomponentsBase.s({ type: Boolean })
|
|
468
|
+
], NotificationListItem.prototype, "showClose", void 0);
|
|
469
|
+
__decorate([
|
|
470
|
+
webcomponentsBase.s()
|
|
471
|
+
], NotificationListItem.prototype, "importance", void 0);
|
|
472
|
+
__decorate([
|
|
473
|
+
webcomponentsBase.s({ type: Boolean })
|
|
474
|
+
], NotificationListItem.prototype, "_showMorePressed", void 0);
|
|
475
|
+
__decorate([
|
|
476
|
+
webcomponentsBase.s({ type: Boolean })
|
|
477
|
+
], NotificationListItem.prototype, "_showMore", void 0);
|
|
478
|
+
__decorate([
|
|
479
|
+
webcomponentsBase.d()
|
|
480
|
+
], NotificationListItem.prototype, "avatar", void 0);
|
|
481
|
+
__decorate([
|
|
482
|
+
webcomponentsBase.d()
|
|
483
|
+
], NotificationListItem.prototype, "menu", void 0);
|
|
484
|
+
__decorate([
|
|
485
|
+
webcomponentsBase.d({ type: HTMLElement, individualSlots: true })
|
|
486
|
+
], NotificationListItem.prototype, "footnotes", void 0);
|
|
487
|
+
__decorate([
|
|
488
|
+
webcomponentsBase.d({ type: Node, "default": true })
|
|
489
|
+
], NotificationListItem.prototype, "description", void 0);
|
|
490
|
+
__decorate([
|
|
491
|
+
query.o(".ui5-nli-title-text")
|
|
492
|
+
], NotificationListItem.prototype, "titleTextDOM", void 0);
|
|
493
|
+
__decorate([
|
|
494
|
+
query.o(".ui5-nli-menu-btn")
|
|
495
|
+
], NotificationListItem.prototype, "menuButtonDOM", void 0);
|
|
496
|
+
__decorate([
|
|
497
|
+
query.o(".ui5-nli-description")
|
|
498
|
+
], NotificationListItem.prototype, "descriptionDOM", void 0);
|
|
499
|
+
NotificationListItem = NotificationListItem_1 = __decorate([
|
|
500
|
+
webcomponentsBase.m({
|
|
501
|
+
tag: "ui5-li-notification",
|
|
502
|
+
languageAware: true,
|
|
503
|
+
styles: [
|
|
504
|
+
NotificationListItemCss,
|
|
505
|
+
],
|
|
506
|
+
renderer: parametersBundle_css.y,
|
|
507
|
+
template: NotificationListItemTemplate,
|
|
508
|
+
}),
|
|
509
|
+
eventStrict.l("_press", {
|
|
510
|
+
bubbles: true,
|
|
511
|
+
})
|
|
512
|
+
/**
|
|
513
|
+
* Fired when the `Close` button is pressed.
|
|
514
|
+
* @param {HTMLElement} item the closed item.
|
|
515
|
+
* @public
|
|
516
|
+
*/
|
|
517
|
+
,
|
|
518
|
+
eventStrict.l("close")
|
|
519
|
+
/**
|
|
520
|
+
* Fired when the `Close` button is pressed.
|
|
521
|
+
* @param {HTMLElement} item the closed item.
|
|
522
|
+
* @private
|
|
523
|
+
*/
|
|
524
|
+
,
|
|
525
|
+
eventStrict.l("_close", {
|
|
526
|
+
bubbles: true,
|
|
527
|
+
})
|
|
528
|
+
], NotificationListItem);
|
|
529
|
+
NotificationListItem.define();
|
|
530
|
+
var NotificationListItem$1 = NotificationListItem;
|
|
531
|
+
|
|
532
|
+
return NotificationListItem$1;
|
|
533
|
+
|
|
534
|
+
}));
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/i18n-defaults'], (function (exports, webcomponentsBase, parametersBundle_css, ListItemBase, FocusableElements, i18nDefaults) { 'use strict';
|
|
2
|
+
|
|
3
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @class
|
|
11
|
+
*
|
|
12
|
+
* The base class of the `NotificationListItem` and `NotificationListGroupItem`.
|
|
13
|
+
* @constructor
|
|
14
|
+
* @extends ListItemBase
|
|
15
|
+
* @since 1.0.0-rc.8
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
class NotificationListItemBase extends ListItemBase.ListItemBase {
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
/**
|
|
22
|
+
* Defines if the `notification` is new or has been already read.
|
|
23
|
+
*
|
|
24
|
+
* **Note:** if set to `false` the `titleText` has bold font,
|
|
25
|
+
* if set to true - it has a normal font.
|
|
26
|
+
* @default false
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
this.read = false;
|
|
30
|
+
/**
|
|
31
|
+
* Defines if a busy indicator would be displayed over the item.
|
|
32
|
+
* @default false
|
|
33
|
+
* @public
|
|
34
|
+
* @since 1.0.0-rc.8
|
|
35
|
+
*/
|
|
36
|
+
this.loading = false;
|
|
37
|
+
/**
|
|
38
|
+
* Defines the delay in milliseconds, after which the busy indicator will show up for this component.
|
|
39
|
+
* @default 1000
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
this.loadingDelay = 1000;
|
|
43
|
+
}
|
|
44
|
+
get hasTitleText() {
|
|
45
|
+
return !!this.titleText?.length;
|
|
46
|
+
}
|
|
47
|
+
get loadingText() {
|
|
48
|
+
return NotificationListItemBase.i18nFioriBundle.getText(i18nDefaults.NOTIFICATION_LIST_ITEM_LOADING);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Event handlers
|
|
52
|
+
*/
|
|
53
|
+
async _onkeydown(e) {
|
|
54
|
+
super._onkeydown(e);
|
|
55
|
+
if (webcomponentsBase.A(e) && this.getFocusDomRef().matches(":has(:focus-within)")) {
|
|
56
|
+
e.preventDefault();
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (webcomponentsBase.ro(e)) {
|
|
60
|
+
e.stopImmediatePropagation();
|
|
61
|
+
const activeElement = webcomponentsBase.t();
|
|
62
|
+
const focusDomRef = this.getHeaderDomRef();
|
|
63
|
+
if (activeElement === focusDomRef) {
|
|
64
|
+
const firstFocusable = await FocusableElements.b(focusDomRef);
|
|
65
|
+
firstFocusable?.focus();
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
focusDomRef.focus();
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
getHeaderDomRef() {
|
|
73
|
+
return this.getFocusDomRef();
|
|
74
|
+
}
|
|
75
|
+
shouldForwardTabAfter() {
|
|
76
|
+
const aContent = ListItemBase.b(this.getHeaderDomRef());
|
|
77
|
+
return aContent.length === 0 || (aContent[aContent.length - 1] === webcomponentsBase.t());
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
__decorate([
|
|
81
|
+
webcomponentsBase.s()
|
|
82
|
+
], NotificationListItemBase.prototype, "titleText", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
webcomponentsBase.s({ type: Boolean })
|
|
85
|
+
], NotificationListItemBase.prototype, "read", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
webcomponentsBase.s({ type: Boolean })
|
|
88
|
+
], NotificationListItemBase.prototype, "loading", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
webcomponentsBase.s({ type: Number })
|
|
91
|
+
], NotificationListItemBase.prototype, "loadingDelay", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
parametersBundle_css.i("sap/f/gen/ui5/webcomponents_fiori")
|
|
94
|
+
], NotificationListItemBase, "i18nFioriBundle", void 0);
|
|
95
|
+
|
|
96
|
+
exports.NotificationListItemBase = NotificationListItemBase;
|
|
97
|
+
|
|
98
|
+
}));
|