@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,389 @@
|
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents-base', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/ListItemCustom', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/ResponsivePopover', 'sap/f/thirdparty/MenuItem2', 'sap/f/thirdparty/List', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/information', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/ListItemAdditionalText.css', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/ValueState', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/Label', 'sap/f/thirdparty/Title', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/ListItemGroup', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/willShowContent'], (function (webcomponentsBase, webcomponents, eventStrict, Icons, parametersBundle_css$1, ListItemCustom, parametersBundle_css, ResponsivePopover, MenuItem, List, BusyIndicator, Button, information, i18nDefaults, FocusableElements, ListItemBase, ListItemAdditionalText_css, Icon, ValueState, AccessibilityTextsHelper, Label, Title, toLowercaseEnumValue, ListItemGroup, WrappingType, willShowContent) { 'use strict';
|
|
2
|
+
|
|
3
|
+
function MenuTemplate() {
|
|
4
|
+
return (parametersBundle_css.jsxs(ResponsivePopover.ResponsivePopover, { id: `${this._id}-menu-rp`, class: "ui5-menu-rp", placement: "Bottom", verticalAlign: "Bottom", horizontalAlign: this.horizontalAlign, opener: this.opener, open: this.open, preventInitialFocus: true, hideArrow: true, allowTargetOverlap: true, accessibleName: this.acessibleNameText, onBeforeOpen: this._beforePopoverOpen, onOpen: this._afterPopoverOpen, onBeforeClose: this._beforePopoverClose, onClose: this._afterPopoverClose, children: [this.isPhone &&
|
|
5
|
+
parametersBundle_css.jsxs("div", { slot: "header", class: "ui5-menu-dialog-header", children: [parametersBundle_css.jsx("div", { class: "ui5-menu-dialog-title", children: parametersBundle_css.jsx("h1", { children: this.headerText }) }), parametersBundle_css.jsx(Button.Button, { icon: information.decline, design: "Transparent", "aria-label": this.labelClose, onClick: this._close })] }), parametersBundle_css.jsx("div", { id: `${this._id}-menu-main`, children: this.items.length ?
|
|
6
|
+
(parametersBundle_css.jsx(List.List, { id: `${this._id}- menu-list`, selectionMode: "None", loading: this.loading, loadingDelay: this.loadingDelay, separators: "None", accessibleRole: "Menu", onItemClick: this._itemClick, onMouseOver: this._itemMouseOver, onKeyDown: this._itemKeyDown, "onui5-close-menu": this._close, "onui5-exit-end-content": this._navigateOutOfEndContent, children: parametersBundle_css.jsx("slot", {}) }))
|
|
7
|
+
: this.loading && (parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-menu-busy-indicator`, delay: this.loadingDelay, class: "ui5-menu-busy-indicator", active: true })) })] }));
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
11
|
+
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
12
|
+
var menuCss = `:host{line-height:initial}::slotted([ui5-menu-item]){line-height:inherit}.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v2-15-0_menu_popover_border_radius)}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v2-15-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem;font-family:var(--sapFontHeaderFamily)}.ui5-menu-dialog-title>h1{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--sapFontHeader5Size)}.ui5-menu-back-button{margin-right:1rem}
|
|
13
|
+
`;
|
|
14
|
+
|
|
15
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18
|
+
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;
|
|
19
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20
|
+
};
|
|
21
|
+
var Menu_1;
|
|
22
|
+
const MENU_OPEN_DELAY = 300;
|
|
23
|
+
/**
|
|
24
|
+
* @class
|
|
25
|
+
*
|
|
26
|
+
* ### Overview
|
|
27
|
+
*
|
|
28
|
+
* `ui5-menu` component represents a hierarchical menu structure.
|
|
29
|
+
*
|
|
30
|
+
* ### Structure
|
|
31
|
+
*
|
|
32
|
+
* The `ui5-menu` can hold two types of entities:
|
|
33
|
+
*
|
|
34
|
+
* - `ui5-menu-item` components
|
|
35
|
+
* - `ui5-menu-separator` - used to separate menu items with a line
|
|
36
|
+
*
|
|
37
|
+
* An arbitrary hierarchy structure can be represented by recursively nesting menu items.
|
|
38
|
+
*
|
|
39
|
+
* ### Keyboard Handling
|
|
40
|
+
*
|
|
41
|
+
* The `ui5-menu` provides advanced keyboard handling.
|
|
42
|
+
* The user can use the following keyboard shortcuts in order to navigate trough the tree:
|
|
43
|
+
*
|
|
44
|
+
* - `Arrow Up` / `Arrow Down` - Navigates up and down the menu items that are currently visible.
|
|
45
|
+
* - `Arrow Right`, `Space` or `Enter` - Opens a sub-menu if there are menu items nested
|
|
46
|
+
* in the currently clicked menu item.
|
|
47
|
+
* - `Arrow Left` or `Escape` - Closes the currently opened sub-menu.
|
|
48
|
+
*
|
|
49
|
+
* when there is `endContent` :
|
|
50
|
+
* - `Arrow Left` or `ArrowRight` - Navigate between the menu item actions and the menu item itself
|
|
51
|
+
* - `Arrow Up` / `Arrow Down` - Navigates up and down the currently visible menu items
|
|
52
|
+
*
|
|
53
|
+
* **Note:** If the text direction is set to Right-to-left (RTL), `Arrow Right` and `Arrow Left` functionality is swapped.
|
|
54
|
+
*
|
|
55
|
+
* Application developers are responsible for ensuring that interactive elements placed in the `endContent` slot
|
|
56
|
+
* have the correct accessibility behaviour, including their enabled or disabled states.
|
|
57
|
+
* The menu does not manage these aspects when the menu item state changes.
|
|
58
|
+
*
|
|
59
|
+
* ### ES6 Module Import
|
|
60
|
+
*
|
|
61
|
+
* `import "@ui5/webcomponents/dist/Menu.js";`
|
|
62
|
+
* @constructor
|
|
63
|
+
* @extends UI5Element
|
|
64
|
+
* @since 1.3.0
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
let Menu = Menu_1 = class Menu extends webcomponentsBase.b {
|
|
68
|
+
constructor() {
|
|
69
|
+
super(...arguments);
|
|
70
|
+
/**
|
|
71
|
+
* Indicates if the menu is open.
|
|
72
|
+
* @public
|
|
73
|
+
* @default false
|
|
74
|
+
* @since 1.10.0
|
|
75
|
+
*/
|
|
76
|
+
this.open = false;
|
|
77
|
+
/**
|
|
78
|
+
* Determines the horizontal alignment of the menu relative to its opener control.
|
|
79
|
+
* @default "Start"
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
this.horizontalAlign = "Start";
|
|
83
|
+
/**
|
|
84
|
+
* Defines if a loading indicator would be displayed inside the corresponding ui5-menu popover.
|
|
85
|
+
* @default false
|
|
86
|
+
* @public
|
|
87
|
+
* @since 1.13.0
|
|
88
|
+
*/
|
|
89
|
+
this.loading = false;
|
|
90
|
+
/**
|
|
91
|
+
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding ui5-menu popover.
|
|
92
|
+
* @default 1000
|
|
93
|
+
* @public
|
|
94
|
+
* @since 1.13.0
|
|
95
|
+
*/
|
|
96
|
+
this.loadingDelay = 1000;
|
|
97
|
+
}
|
|
98
|
+
get isRtl() {
|
|
99
|
+
return this.effectiveDir === "rtl";
|
|
100
|
+
}
|
|
101
|
+
get labelClose() {
|
|
102
|
+
return Menu_1.i18nBundle.getText(i18nDefaults.MENU_CLOSE_BUTTON_ARIA_LABEL);
|
|
103
|
+
}
|
|
104
|
+
get isPhone() {
|
|
105
|
+
return Icons.d();
|
|
106
|
+
}
|
|
107
|
+
get _popover() {
|
|
108
|
+
return this.shadowRoot.querySelector("[ui5-responsive-popover]");
|
|
109
|
+
}
|
|
110
|
+
get _list() {
|
|
111
|
+
return this.shadowRoot.querySelector("[ui5-list]");
|
|
112
|
+
}
|
|
113
|
+
/** Returns menu item groups */
|
|
114
|
+
get _menuItemGroups() {
|
|
115
|
+
return this.items.filter(MenuItem.isInstanceOfMenuItemGroup);
|
|
116
|
+
}
|
|
117
|
+
/** Returns menu items */
|
|
118
|
+
get _menuItems() {
|
|
119
|
+
return this.items.filter(MenuItem.isInstanceOfMenuItem);
|
|
120
|
+
}
|
|
121
|
+
/** Returns all menu items (including those in groups */
|
|
122
|
+
get _allMenuItems() {
|
|
123
|
+
const items = [];
|
|
124
|
+
this.items.forEach(item => {
|
|
125
|
+
if (MenuItem.isInstanceOfMenuItemGroup(item)) {
|
|
126
|
+
items.push(...item._menuItems);
|
|
127
|
+
}
|
|
128
|
+
else if (!MenuItem.isInstanceOfMenuSeparator(item)) {
|
|
129
|
+
items.push(item);
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
return items;
|
|
133
|
+
}
|
|
134
|
+
/** Returns menu items included in the ItemNavigation */
|
|
135
|
+
get _navigatableMenuItems() {
|
|
136
|
+
const items = [];
|
|
137
|
+
const slottedItems = this.getSlottedNodes("items");
|
|
138
|
+
slottedItems.forEach(item => {
|
|
139
|
+
if (MenuItem.isInstanceOfMenuItemGroup(item)) {
|
|
140
|
+
const groupItems = item.getSlottedNodes("items");
|
|
141
|
+
items.push(...groupItems);
|
|
142
|
+
}
|
|
143
|
+
else if (!MenuItem.isInstanceOfMenuSeparator(item)) {
|
|
144
|
+
items.push(item);
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
return items;
|
|
148
|
+
}
|
|
149
|
+
get acessibleNameText() {
|
|
150
|
+
return Menu_1.i18nBundle.getText(i18nDefaults.MENU_POPOVER_ACCESSIBLE_NAME);
|
|
151
|
+
}
|
|
152
|
+
onBeforeRendering() {
|
|
153
|
+
const siblingsWithIcon = this._allMenuItems.some(menuItem => !!menuItem.icon);
|
|
154
|
+
this._setupItemNavigation();
|
|
155
|
+
this._allMenuItems.forEach(item => {
|
|
156
|
+
item._siblingsWithIcon = siblingsWithIcon;
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
getFocusDomRef() {
|
|
160
|
+
return this._list?.getFocusDomRef();
|
|
161
|
+
}
|
|
162
|
+
_setupItemNavigation() {
|
|
163
|
+
if (this._list) {
|
|
164
|
+
this._list._itemNavigation._getItems = () => this._navigatableMenuItems;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
_close() {
|
|
168
|
+
this.open = false;
|
|
169
|
+
}
|
|
170
|
+
_openItemSubMenu(item) {
|
|
171
|
+
clearTimeout(this._timeout);
|
|
172
|
+
if (!item._popover || item._popover.open) {
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
this.fireDecoratorEvent("before-open", {
|
|
176
|
+
item,
|
|
177
|
+
});
|
|
178
|
+
item._popover.opener = item;
|
|
179
|
+
item._popover.open = true;
|
|
180
|
+
item.selected = true;
|
|
181
|
+
}
|
|
182
|
+
_itemMouseOver(e) {
|
|
183
|
+
if (!Icons.f()) {
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
const item = e.target;
|
|
187
|
+
if (!MenuItem.isInstanceOfMenuItem(item)) {
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
item.focus();
|
|
191
|
+
// Opens submenu with 300ms delay
|
|
192
|
+
this._startOpenTimeout(item);
|
|
193
|
+
}
|
|
194
|
+
async focus(focusOptions) {
|
|
195
|
+
await Icons.f$1();
|
|
196
|
+
const firstMenuItem = this._allMenuItems[0];
|
|
197
|
+
if (firstMenuItem) {
|
|
198
|
+
return firstMenuItem.focus(focusOptions);
|
|
199
|
+
}
|
|
200
|
+
return super.focus(focusOptions);
|
|
201
|
+
}
|
|
202
|
+
_closeOtherSubMenus(item) {
|
|
203
|
+
const menuItems = this._allMenuItems;
|
|
204
|
+
if (!menuItems.includes(item)) {
|
|
205
|
+
return;
|
|
206
|
+
}
|
|
207
|
+
menuItems.forEach(menuItem => {
|
|
208
|
+
if (menuItem !== item) {
|
|
209
|
+
menuItem._close();
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
_startOpenTimeout(item) {
|
|
214
|
+
clearTimeout(this._timeout);
|
|
215
|
+
this._timeout = setTimeout(() => {
|
|
216
|
+
this._closeOtherSubMenus(item);
|
|
217
|
+
this._openItemSubMenu(item);
|
|
218
|
+
}, MENU_OPEN_DELAY);
|
|
219
|
+
}
|
|
220
|
+
_itemClick(e) {
|
|
221
|
+
const item = e.detail.item;
|
|
222
|
+
if (!item._popover) {
|
|
223
|
+
const prevented = !this.fireDecoratorEvent("item-click", {
|
|
224
|
+
"item": item,
|
|
225
|
+
"text": item.text || "",
|
|
226
|
+
});
|
|
227
|
+
if (!prevented) {
|
|
228
|
+
item._updateCheckedState();
|
|
229
|
+
this._popover && !item._shiftPressed && item.fireDecoratorEvent("close-menu");
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
else {
|
|
233
|
+
this._openItemSubMenu(item);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
_itemKeyDown(e) {
|
|
237
|
+
const isTabNextPrevious = webcomponentsBase.x(e) || webcomponentsBase.V(e);
|
|
238
|
+
const item = e.target;
|
|
239
|
+
if (!MenuItem.isInstanceOfMenuItem(item)) {
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
const isEndContentNavigation = webcomponentsBase.R(e) || webcomponentsBase.D(e);
|
|
243
|
+
const shouldOpenMenu = this.isRtl ? webcomponentsBase.D(e) : webcomponentsBase.R(e);
|
|
244
|
+
if (webcomponentsBase.b$1(e) || isTabNextPrevious) {
|
|
245
|
+
e.preventDefault();
|
|
246
|
+
}
|
|
247
|
+
if (isEndContentNavigation) {
|
|
248
|
+
item._navigateToEndContent(webcomponentsBase.D(e));
|
|
249
|
+
}
|
|
250
|
+
if (shouldOpenMenu) {
|
|
251
|
+
this._openItemSubMenu(item);
|
|
252
|
+
}
|
|
253
|
+
else if (isTabNextPrevious) {
|
|
254
|
+
this._close();
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
_navigateOutOfEndContent(e) {
|
|
258
|
+
const item = e.target;
|
|
259
|
+
const shouldNavigateToNextItem = e.detail.shouldNavigateToNextItem;
|
|
260
|
+
const menuItems = this._allMenuItems;
|
|
261
|
+
const itemIndex = menuItems.indexOf(item);
|
|
262
|
+
if (itemIndex > -1) {
|
|
263
|
+
const nextItem = shouldNavigateToNextItem ? menuItems[itemIndex + 1] : menuItems[itemIndex - 1];
|
|
264
|
+
const itemToFocus = nextItem || menuItems[itemIndex];
|
|
265
|
+
itemToFocus?.focus();
|
|
266
|
+
e.stopPropagation();
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
_beforePopoverOpen(e) {
|
|
270
|
+
const prevented = !this.fireDecoratorEvent("before-open", {});
|
|
271
|
+
if (prevented) {
|
|
272
|
+
this.open = false;
|
|
273
|
+
e.preventDefault();
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
_afterPopoverOpen() {
|
|
277
|
+
this._allMenuItems[0]?.focus();
|
|
278
|
+
this.fireDecoratorEvent("open");
|
|
279
|
+
}
|
|
280
|
+
_beforePopoverClose(e) {
|
|
281
|
+
const prevented = !this.fireDecoratorEvent("before-close", { escPressed: e.detail.escPressed });
|
|
282
|
+
if (prevented) {
|
|
283
|
+
this.open = true;
|
|
284
|
+
e.preventDefault();
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
_afterPopoverClose() {
|
|
288
|
+
this.open = false;
|
|
289
|
+
this.fireDecoratorEvent("close");
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
__decorate([
|
|
293
|
+
webcomponentsBase.s()
|
|
294
|
+
], Menu.prototype, "headerText", void 0);
|
|
295
|
+
__decorate([
|
|
296
|
+
webcomponentsBase.s({ type: Boolean })
|
|
297
|
+
], Menu.prototype, "open", void 0);
|
|
298
|
+
__decorate([
|
|
299
|
+
webcomponentsBase.s()
|
|
300
|
+
], Menu.prototype, "horizontalAlign", void 0);
|
|
301
|
+
__decorate([
|
|
302
|
+
webcomponentsBase.s({ type: Boolean })
|
|
303
|
+
], Menu.prototype, "loading", void 0);
|
|
304
|
+
__decorate([
|
|
305
|
+
webcomponentsBase.s({ type: Number })
|
|
306
|
+
], Menu.prototype, "loadingDelay", void 0);
|
|
307
|
+
__decorate([
|
|
308
|
+
webcomponentsBase.s({ converter: ResponsivePopover.e })
|
|
309
|
+
], Menu.prototype, "opener", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
webcomponentsBase.d({ "default": true, type: HTMLElement, invalidateOnChildChange: true })
|
|
312
|
+
], Menu.prototype, "items", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
315
|
+
], Menu, "i18nBundle", void 0);
|
|
316
|
+
Menu = Menu_1 = __decorate([
|
|
317
|
+
webcomponentsBase.m({
|
|
318
|
+
tag: "ui5-menu",
|
|
319
|
+
renderer: parametersBundle_css.y,
|
|
320
|
+
styles: menuCss,
|
|
321
|
+
template: MenuTemplate,
|
|
322
|
+
})
|
|
323
|
+
/**
|
|
324
|
+
* Fired when an item is being clicked.
|
|
325
|
+
*
|
|
326
|
+
* **Note:** Since 1.17.0 the event is preventable, allowing the menu to remain open after an item is pressed.
|
|
327
|
+
* @param { HTMLElement } item The currently clicked menu item.
|
|
328
|
+
* @param { string } text The text of the currently clicked menu item.
|
|
329
|
+
* @public
|
|
330
|
+
*/
|
|
331
|
+
,
|
|
332
|
+
eventStrict.l("item-click", {
|
|
333
|
+
cancelable: true,
|
|
334
|
+
})
|
|
335
|
+
/**
|
|
336
|
+
* Fired before the menu is opened. This event can be cancelled, which will prevent the menu from opening.
|
|
337
|
+
*
|
|
338
|
+
* **Note:** Since 1.14.0 the event is also fired before a sub-menu opens.
|
|
339
|
+
* @public
|
|
340
|
+
* @since 1.10.0
|
|
341
|
+
* @param { HTMLElement } item The `ui5-menu-item` that triggers opening of the sub-menu or undefined when fired upon root menu opening.
|
|
342
|
+
*/
|
|
343
|
+
,
|
|
344
|
+
eventStrict.l("before-open", {
|
|
345
|
+
bubbles: true,
|
|
346
|
+
cancelable: true,
|
|
347
|
+
})
|
|
348
|
+
/**
|
|
349
|
+
* Fired after the menu is opened.
|
|
350
|
+
* @public
|
|
351
|
+
* @since 1.10.0
|
|
352
|
+
*/
|
|
353
|
+
,
|
|
354
|
+
eventStrict.l("open", {
|
|
355
|
+
bubbles: true,
|
|
356
|
+
})
|
|
357
|
+
/**
|
|
358
|
+
* Fired when the menu is being closed.
|
|
359
|
+
* @private
|
|
360
|
+
*/
|
|
361
|
+
,
|
|
362
|
+
eventStrict.l("close-menu", {
|
|
363
|
+
bubbles: true,
|
|
364
|
+
})
|
|
365
|
+
/**
|
|
366
|
+
* Fired before the menu is closed. This event can be cancelled, which will prevent the menu from closing.
|
|
367
|
+
* @public
|
|
368
|
+
* @param {boolean} escPressed Indicates that `ESC` key has triggered the event.
|
|
369
|
+
* @since 1.10.0
|
|
370
|
+
*/
|
|
371
|
+
,
|
|
372
|
+
eventStrict.l("before-close", {
|
|
373
|
+
bubbles: true,
|
|
374
|
+
cancelable: true,
|
|
375
|
+
})
|
|
376
|
+
/**
|
|
377
|
+
* Fired after the menu is closed.
|
|
378
|
+
* @public
|
|
379
|
+
* @since 1.10.0
|
|
380
|
+
*/
|
|
381
|
+
,
|
|
382
|
+
eventStrict.l("close")
|
|
383
|
+
], Menu);
|
|
384
|
+
Menu.define();
|
|
385
|
+
var Menu$1 = Menu;
|
|
386
|
+
|
|
387
|
+
return Menu$1;
|
|
388
|
+
|
|
389
|
+
}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/MenuItem2', 'sap/f/thirdparty/ListItemCustom', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/information', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/ResponsivePopover', 'sap/f/thirdparty/Title', 'sap/f/thirdparty/ValueState', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/FocusableElements', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Label', 'sap/f/thirdparty/List', 'sap/f/thirdparty/ListItemGroup', 'sap/f/thirdparty/WrappingType', 'sap/f/thirdparty/ListItemAdditionalText.css'], (function (exports, webcomponentsBase, webcomponents, parametersBundle_css, eventStrict, parametersBundle_css$1, Icons, MenuItem, ListItemCustom, i18nDefaults, information, ListItemBase, ResponsivePopover, Title, ValueState, toLowercaseEnumValue, FocusableElements, AccessibilityTextsHelper, Icon, Button, willShowContent, BusyIndicator, Label, List, ListItemGroup, WrappingType, ListItemAdditionalText_css) { 'use strict';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
exports.default = MenuItem.MenuItem;
|
|
6
|
+
exports.isInstanceOfMenuItem = MenuItem.isInstanceOfMenuItem;
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
}));
|