@openui5/sap.f 1.141.2 → 1.143.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 +39 -1
- package/THIRDPARTY.txt +36 -3
- 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 +6 -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 +2819 -0
- package/src/sap/f/gen/ui5/webcomponents_base.js +572 -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 +1648 -0
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/messagebundle_hr.properties +1 -1
- package/src/sap/f/messagebundle_id.properties +1 -1
- 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 +16 -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/themes/base/SidePanel.less +2 -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 +7 -0
- package/src/sap/f/thirdparty/webcomponents-fiori.js +5 -0
- package/src/sap/f/thirdparty/webcomponents.js +4611 -0
- package/src/sap/f/thirdparty/willShowContent.js +7 -0
- package/ui5-build.yaml +55 -0
- package/ui5.yaml +46 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/Icons'], (function (webcomponentsBase, parametersBundle_css$1, parametersBundle_css, i18nDefaults, Icons) { 'use strict';
|
|
2
|
+
|
|
3
|
+
function LabelTemplate() {
|
|
4
|
+
return (parametersBundle_css.jsxs("label", { class: "ui5-label-root", onClick: this._onclick, children: [parametersBundle_css.jsx("span", { class: "ui5-label-text-wrapper", children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("span", { "aria-hidden": "true", class: "ui5-label-required-colon", "data-ui5-colon": this._colonSymbol })] }));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
8
|
+
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);
|
|
9
|
+
var labelCss = `:host(:not([hidden])){display:inline-flex}:host{max-width:100%;color:var(--sapContent_LabelColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;cursor:text}.ui5-label-root{width:100%;cursor:inherit}:host{white-space:normal}:host([wrapping-type="None"]){white-space:nowrap}:host([wrapping-type="None"]) .ui5-label-root{display:inline-flex}:host([wrapping-type="None"]) .ui5-label-text-wrapper{text-overflow:ellipsis;overflow:hidden;display:inline-block;vertical-align:top;flex:0 1 auto;min-width:0}:host([show-colon]) .ui5-label-required-colon:before{content:attr(data-ui5-colon)}:host([required]) .ui5-label-required-colon:after{content:"*";color:var(--sapField_RequiredColor);font-size:var(--sapFontLargeSize);font-weight:700;position:relative;font-style:normal;vertical-align:middle;line-height:0}.ui5-label-text-wrapper{padding-inline-end:.075rem}:host([required][show-colon]) .ui5-label-required-colon:after{margin-inline-start:.125rem}:host([show-colon]) .ui5-label-required-colon{margin-inline-start:-.05rem;white-space:pre}
|
|
10
|
+
`;
|
|
11
|
+
|
|
12
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
+
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;
|
|
16
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
+
};
|
|
18
|
+
var Label_1;
|
|
19
|
+
/**
|
|
20
|
+
* @class
|
|
21
|
+
*
|
|
22
|
+
* ### Overview
|
|
23
|
+
*
|
|
24
|
+
* The `ui5-label` is a component used to represent a label for elements like input, textarea, select.
|
|
25
|
+
* The `for` property of the `ui5-label` must be the same as the id attribute of the related input element.
|
|
26
|
+
* Screen readers read out the label, when the user focuses the labelled control.
|
|
27
|
+
*
|
|
28
|
+
* The `ui5-label` appearance can be influenced by properties,
|
|
29
|
+
* such as `required` and `wrappingType`.
|
|
30
|
+
* The appearance of the Label can be configured in a limited way by using the design property.
|
|
31
|
+
* For a broader choice of designs, you can use custom styles.
|
|
32
|
+
*
|
|
33
|
+
* ### ES6 Module Import
|
|
34
|
+
*
|
|
35
|
+
* `import "@ui5/webcomponents/dist/Label";`
|
|
36
|
+
* @constructor
|
|
37
|
+
* @extends UI5Element
|
|
38
|
+
* @public
|
|
39
|
+
* @slot {Array<Node>} default - Defines the text of the component.
|
|
40
|
+
*
|
|
41
|
+
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
42
|
+
*/
|
|
43
|
+
let Label = Label_1 = class Label extends webcomponentsBase.b {
|
|
44
|
+
constructor() {
|
|
45
|
+
super(...arguments);
|
|
46
|
+
/**
|
|
47
|
+
* Defines whether colon is added to the component text.
|
|
48
|
+
*
|
|
49
|
+
* **Note:** Usually used in forms.
|
|
50
|
+
* @default false
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
this.showColon = false;
|
|
54
|
+
/**
|
|
55
|
+
* Defines whether an asterisk character is added to the component text.
|
|
56
|
+
*
|
|
57
|
+
* **Note:** Usually indicates that user input (bound with the `for` property) is required.
|
|
58
|
+
* In that case the `required` property of
|
|
59
|
+
* the corresponding input should also be set.
|
|
60
|
+
* @default false
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
this.required = false;
|
|
64
|
+
/**
|
|
65
|
+
* Defines how the text of a component will be displayed when there is not enough space.
|
|
66
|
+
*
|
|
67
|
+
* **Note:** for option "Normal" the text will wrap and the words will not be broken based on hyphenation.
|
|
68
|
+
* @default "Normal"
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
this.wrappingType = "Normal";
|
|
72
|
+
}
|
|
73
|
+
_onclick() {
|
|
74
|
+
if (!this.for) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
const elementToFocus = this.getRootNode().querySelector(`[id="${this.for}"]`);
|
|
78
|
+
if (elementToFocus) {
|
|
79
|
+
elementToFocus.focus();
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
get _colonSymbol() {
|
|
83
|
+
return Label_1.i18nBundle.getText(i18nDefaults.LABEL_COLON);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
__decorate([
|
|
87
|
+
webcomponentsBase.s()
|
|
88
|
+
], Label.prototype, "for", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
webcomponentsBase.s({ type: Boolean })
|
|
91
|
+
], Label.prototype, "showColon", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
webcomponentsBase.s({ type: Boolean })
|
|
94
|
+
], Label.prototype, "required", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
webcomponentsBase.s()
|
|
97
|
+
], Label.prototype, "wrappingType", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
100
|
+
], Label, "i18nBundle", void 0);
|
|
101
|
+
Label = Label_1 = __decorate([
|
|
102
|
+
webcomponentsBase.m({
|
|
103
|
+
tag: "ui5-label",
|
|
104
|
+
renderer: parametersBundle_css.y,
|
|
105
|
+
template: LabelTemplate,
|
|
106
|
+
styles: labelCss,
|
|
107
|
+
languageAware: true,
|
|
108
|
+
})
|
|
109
|
+
], Label);
|
|
110
|
+
Label.define();
|
|
111
|
+
var Label$1 = Label;
|
|
112
|
+
|
|
113
|
+
return Label$1;
|
|
114
|
+
|
|
115
|
+
}));
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, eventStrict, parametersBundle_css, AccessibilityTextsHelper, parametersBundle_css$1, Icons, toLowercaseEnumValue, Icon, i18nDefaults) { 'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Different link designs.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
var LinkDesign;
|
|
8
|
+
(function (LinkDesign) {
|
|
9
|
+
/**
|
|
10
|
+
* default type (no special styling)
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
LinkDesign["Default"] = "Default";
|
|
14
|
+
/**
|
|
15
|
+
* subtle type (appears as regular text, rather than a link)
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
LinkDesign["Subtle"] = "Subtle";
|
|
19
|
+
/**
|
|
20
|
+
* emphasized type
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
LinkDesign["Emphasized"] = "Emphasized";
|
|
24
|
+
})(LinkDesign || (LinkDesign = {}));
|
|
25
|
+
var LinkDesign$1 = LinkDesign;
|
|
26
|
+
|
|
27
|
+
function LinkTemplate() {
|
|
28
|
+
return (parametersBundle_css.jsxs("a", { part: "root", class: "ui5-link-root", role: this.effectiveAccRole, href: this.parsedRef, target: this.target, rel: this._rel, tabindex: this.effectiveTabIndex, title: this.tooltip, "aria-disabled": this.disabled, "aria-label": this.ariaLabelText, "aria-haspopup": this._hasPopup, "aria-expanded": this.accessibilityAttributes.expanded, "aria-current": this.accessibilityAttributes.current, "aria-description": this.ariaDescriptionText, onClick: this._onclick, onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, children: [this.icon &&
|
|
29
|
+
parametersBundle_css.jsx(Icon.Icon, { class: "ui5-link-icon", name: this.icon, mode: "Decorative", part: "icon" }), parametersBundle_css.jsx("span", { class: "ui5-link-text", children: parametersBundle_css.jsx("slot", {}) }), this.hasLinkType &&
|
|
30
|
+
parametersBundle_css.jsx("span", { class: "ui5-hidden-text", children: this.linkTypeText }), this.endIcon &&
|
|
31
|
+
parametersBundle_css.jsx(Icon.Icon, { class: "ui5-link-end-icon", name: this.endIcon, mode: "Decorative", part: "endIcon" })] }));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
35
|
+
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);
|
|
36
|
+
var linkCss = `.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:inline-flex}:host{max-width:100%;color:var(--sapLinkColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);cursor:pointer;outline:none;text-decoration:var(--_ui5-v2-15-0_link_text_decoration);text-shadow:var(--sapContent_TextShadow);white-space:normal;overflow-wrap:break-word}:host(:hover){color:var(--sapLink_Hover_Color);text-decoration:var(--_ui5-v2-15-0_link_hover_text_decoration)}:host(:active){color:var(--sapLink_Active_Color);text-decoration:var(--_ui5-v2-15-0_link_active_text_decoration)}:host([disabled]){pointer-events:none}:host([disabled]) .ui5-link-root{text-shadow:none;outline:none;cursor:default;pointer-events:none;opacity:var(--sapContent_DisabledOpacity)}:host([design="Emphasized"]) .ui5-link-root{font-family:var(--sapFontBoldFamily)}:host([design="Subtle"]){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5-v2-15-0_link_subtle_text_decoration)}:host([design="Subtle"]:hover:not(:active)){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5-v2-15-0_link_subtle_text_decoration_hover)}:host([wrapping-type="None"]){white-space:nowrap;overflow-wrap:normal}.ui5-link-root{max-width:100%;display:inline-block;position:relative;overflow:hidden;text-overflow:ellipsis;outline:none;white-space:inherit;overflow-wrap:inherit;text-decoration:inherit;color:inherit}:host([wrapping-type="None"][end-icon]) .ui5-link-root{display:inline-flex;align-items:end}:host .ui5-link-root{outline-offset:-.0625rem;border-radius:var(--_ui5-v2-15-0_link_focus_border-radius)}.ui5-link-icon,.ui5-link-end-icon{color:inherit;flex-shrink:0}.ui5-link-icon{float:inline-start;margin-inline-end:.125rem}.ui5-link-end-icon{margin-inline-start:.125rem;vertical-align:bottom}.ui5-link-text{overflow:hidden;text-overflow:ellipsis}.ui5-link-root:focus-visible,:host([desktop]) .ui5-link-root:focus-within,:host([design="Subtle"]) .ui5-link-root:focus-visible,:host([design="Subtle"][desktop]) .ui5-link-root:focus-within{background-color:var(--_ui5-v2-15-0_link_focus_background_color);outline:var(--_ui5-v2-15-0_link_outline);border-radius:var(--_ui5-v2-15-0_link_focus_border-radius);text-shadow:none;color:var(--_ui5-v2-15-0_link_focus_color)}:host(:not([desktop])) .ui5-link-root:focus-visible,:host([desktop]:focus-within),:host([design="Subtle"][desktop]:focus-within){text-decoration:var(--_ui5-v2-15-0_link_focus_text_decoration)}:host([desktop]:hover:not(:active):focus-within),:host([design="Subtle"][desktop]:hover:not(:active):focus-within){color:var(--_ui5-v2-15-0_link_focused_hover_text_color);text-decoration:var(--_ui5-v2-15-0_link_focused_hover_text_decoration)}:host([interactive-area-size="Large"]) .ui5-link-root{line-height:var(--_ui5-v2-15-0_link_large_interactive_area_height)}:host([interactive-area-size="Large"])::part(icon),:host([interactive-area-size="Large"])::part(endIcon){height:var(--_ui5-v2-15-0_link_large_interactive_area_height)}
|
|
37
|
+
`;
|
|
38
|
+
|
|
39
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
40
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
41
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
42
|
+
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;
|
|
43
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
44
|
+
};
|
|
45
|
+
var Link_1;
|
|
46
|
+
/**
|
|
47
|
+
* @class
|
|
48
|
+
*
|
|
49
|
+
* ### Overview
|
|
50
|
+
* The `ui5-link` is a hyperlink component that is used to navigate to other
|
|
51
|
+
* apps and web pages, or to trigger actions.
|
|
52
|
+
* It is a clickable text element, visualized in such a way that it stands out
|
|
53
|
+
* from the standard text.
|
|
54
|
+
* On hover, it changes its style to an underlined text to provide additional feedback to the user.
|
|
55
|
+
*
|
|
56
|
+
* ### Usage
|
|
57
|
+
*
|
|
58
|
+
* You can set the `ui5-link` to be enabled or disabled.
|
|
59
|
+
*
|
|
60
|
+
* To create a visual hierarchy in large lists of links, you can set the less important links as
|
|
61
|
+
* `Subtle` or the more important ones as `Emphasized`,
|
|
62
|
+
* by using the `design` property.
|
|
63
|
+
*
|
|
64
|
+
* If the `href` property is set, the link behaves as the HTML
|
|
65
|
+
* anchor tag (`<a></a>`) and opens the specified URL in the given target frame (`target` property).
|
|
66
|
+
* To specify where the linked content is opened, you can use the `target` property.
|
|
67
|
+
*
|
|
68
|
+
* ### Responsive behavior
|
|
69
|
+
*
|
|
70
|
+
* If there is not enough space, the text of the `ui5-link` becomes truncated.
|
|
71
|
+
* If the `wrappingType` property is set to `"Normal"`, the text is displayed
|
|
72
|
+
* on several lines instead of being truncated.
|
|
73
|
+
*
|
|
74
|
+
* ### ES6 Module Import
|
|
75
|
+
*
|
|
76
|
+
* `import "@ui5/webcomponents/dist/Link";`
|
|
77
|
+
* @constructor
|
|
78
|
+
* @extends UI5Element
|
|
79
|
+
* @public
|
|
80
|
+
* @csspart icon - Used to style the provided icon within the link
|
|
81
|
+
* @csspart endIcon - Used to style the provided endIcon within the link
|
|
82
|
+
* @slot {Array<Node>} default - Defines the text of the component.
|
|
83
|
+
*
|
|
84
|
+
* **Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.
|
|
85
|
+
*/
|
|
86
|
+
let Link = Link_1 = class Link extends webcomponentsBase.b {
|
|
87
|
+
constructor() {
|
|
88
|
+
super();
|
|
89
|
+
/**
|
|
90
|
+
* Defines whether the component is disabled.
|
|
91
|
+
*
|
|
92
|
+
* **Note:** When disabled, the click event cannot be triggered by the user.
|
|
93
|
+
* @default false
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
this.disabled = false;
|
|
97
|
+
/**
|
|
98
|
+
* Defines the component design.
|
|
99
|
+
*
|
|
100
|
+
* **Note:** Avaialble options are `Default`, `Subtle`, and `Emphasized`.
|
|
101
|
+
* @default "Default"
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
this.design = "Default";
|
|
105
|
+
/**
|
|
106
|
+
* Defines the target area size of the link:
|
|
107
|
+
* - **InteractiveAreaSize.Normal**: The default target area size.
|
|
108
|
+
* - **InteractiveAreaSize.Large**: The target area size is enlarged to 24px in height.
|
|
109
|
+
*
|
|
110
|
+
* **Note:**The property is designed to make links easier to activate and helps meet the WCAG 2.2 Target Size requirement. It is applicable only for the SAP Horizon themes.
|
|
111
|
+
* **Note:**To improve <code>ui5-link</code>'s reliability and usability, it is recommended to use the <code>InteractiveAreaSize.Large</code> value in scenarios where the <code>ui5-link</code> component is placed inside another interactive component, such as a list item or a table cell.
|
|
112
|
+
* Setting the <code>interactiveAreaSize</code> property to <code>InteractiveAreaSize.Large</code> increases the <code>ui5-link</code>'s invisible touch area. As a result, the user's intended one-time selection command is more likely to activate the desired <code>ui5-link</code>, with minimal chance of unintentionally activating the underlying component.
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
* @since 2.8.0
|
|
116
|
+
* @default "Normal"
|
|
117
|
+
*/
|
|
118
|
+
this.interactiveAreaSize = "Normal";
|
|
119
|
+
/**
|
|
120
|
+
* Defines how the text of a component will be displayed when there is not enough space.
|
|
121
|
+
*
|
|
122
|
+
* **Note:** By default the text will wrap. If "None" is set - the text will truncate.
|
|
123
|
+
* @default "Normal"
|
|
124
|
+
* @public
|
|
125
|
+
*/
|
|
126
|
+
this.wrappingType = "Normal";
|
|
127
|
+
/**
|
|
128
|
+
* Defines the ARIA role of the component.
|
|
129
|
+
*
|
|
130
|
+
* **Note:** Use the <code>LinkAccessibleRole.Button</code> role in cases when navigation is not expected to occur and the href property is not defined.
|
|
131
|
+
* @default "Link"
|
|
132
|
+
* @public
|
|
133
|
+
* @since 1.9.0
|
|
134
|
+
*/
|
|
135
|
+
this.accessibleRole = "Link";
|
|
136
|
+
/**
|
|
137
|
+
* Defines the additional accessibility attributes that will be applied to the component.
|
|
138
|
+
* The following fields are supported:
|
|
139
|
+
*
|
|
140
|
+
* - **expanded**: Indicates whether the button, or another grouping element it controls, is currently expanded or collapsed.
|
|
141
|
+
* Accepts the following string values: `true` or `false`.
|
|
142
|
+
*
|
|
143
|
+
* - **hasPopup**: Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by the button.
|
|
144
|
+
* Accepts the following string values: `dialog`, `grid`, `listbox`, `menu` or `tree`.
|
|
145
|
+
*
|
|
146
|
+
* @public
|
|
147
|
+
* @since 1.1.0
|
|
148
|
+
* @default {}
|
|
149
|
+
*/
|
|
150
|
+
this.accessibilityAttributes = {};
|
|
151
|
+
this._dummyAnchor = document.createElement("a");
|
|
152
|
+
}
|
|
153
|
+
onEnterDOM() {
|
|
154
|
+
if (Icons.f()) {
|
|
155
|
+
this.setAttribute("desktop", "");
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
onBeforeRendering() {
|
|
159
|
+
const needsNoReferrer = this.target !== "_self"
|
|
160
|
+
&& this.href
|
|
161
|
+
&& this._isCrossOrigin(this.href);
|
|
162
|
+
this._rel = needsNoReferrer ? "noreferrer noopener" : undefined;
|
|
163
|
+
}
|
|
164
|
+
_isCrossOrigin(href) {
|
|
165
|
+
this._dummyAnchor.href = href;
|
|
166
|
+
return !(this._dummyAnchor.hostname === Icons.i()
|
|
167
|
+
&& this._dummyAnchor.port === Icons.c()
|
|
168
|
+
&& this._dummyAnchor.protocol === Icons.a());
|
|
169
|
+
}
|
|
170
|
+
get effectiveTabIndex() {
|
|
171
|
+
if (this.forcedTabIndex) {
|
|
172
|
+
return Number.parseInt(this.forcedTabIndex);
|
|
173
|
+
}
|
|
174
|
+
return (this.disabled || !this.textContent?.length) ? -1 : 0;
|
|
175
|
+
}
|
|
176
|
+
get ariaLabelText() {
|
|
177
|
+
return AccessibilityTextsHelper.A(this);
|
|
178
|
+
}
|
|
179
|
+
get hasLinkType() {
|
|
180
|
+
return this.design !== LinkDesign$1.Default;
|
|
181
|
+
}
|
|
182
|
+
static typeTextMappings() {
|
|
183
|
+
return {
|
|
184
|
+
"Subtle": i18nDefaults.LINK_SUBTLE,
|
|
185
|
+
"Emphasized": i18nDefaults.LINK_EMPHASIZED,
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
get linkTypeText() {
|
|
189
|
+
return Link_1.i18nBundle.getText(Link_1.typeTextMappings()[this.design]);
|
|
190
|
+
}
|
|
191
|
+
get parsedRef() {
|
|
192
|
+
return (this.href && this.href.length > 0) ? this.href : undefined;
|
|
193
|
+
}
|
|
194
|
+
get effectiveAccRole() {
|
|
195
|
+
return toLowercaseEnumValue.n(this.accessibleRole);
|
|
196
|
+
}
|
|
197
|
+
get ariaDescriptionText() {
|
|
198
|
+
return this.accessibleDescription === "" ? undefined : this.accessibleDescription;
|
|
199
|
+
}
|
|
200
|
+
get _hasPopup() {
|
|
201
|
+
return this.accessibilityAttributes.hasPopup;
|
|
202
|
+
}
|
|
203
|
+
_onclick(e) {
|
|
204
|
+
const { altKey, ctrlKey, metaKey, shiftKey, } = e;
|
|
205
|
+
e.stopImmediatePropagation();
|
|
206
|
+
const executeEvent = this.fireDecoratorEvent("click", {
|
|
207
|
+
altKey,
|
|
208
|
+
ctrlKey,
|
|
209
|
+
metaKey,
|
|
210
|
+
shiftKey,
|
|
211
|
+
});
|
|
212
|
+
if (!executeEvent) {
|
|
213
|
+
e.preventDefault();
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
_onkeydown(e) {
|
|
217
|
+
if (webcomponentsBase.b$1(e) && !this.href) {
|
|
218
|
+
this._onclick(e);
|
|
219
|
+
e.preventDefault();
|
|
220
|
+
}
|
|
221
|
+
else if (webcomponentsBase.A(e)) {
|
|
222
|
+
e.preventDefault();
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
_onkeyup(e) {
|
|
226
|
+
if (!webcomponentsBase.A(e)) {
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
this._onclick(e);
|
|
230
|
+
if (this.href && !e.defaultPrevented) {
|
|
231
|
+
const customEvent = new MouseEvent("click");
|
|
232
|
+
customEvent.stopImmediatePropagation();
|
|
233
|
+
this.getDomRef().dispatchEvent(customEvent);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
__decorate([
|
|
238
|
+
webcomponentsBase.s({ type: Boolean })
|
|
239
|
+
], Link.prototype, "disabled", void 0);
|
|
240
|
+
__decorate([
|
|
241
|
+
webcomponentsBase.s()
|
|
242
|
+
], Link.prototype, "tooltip", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
webcomponentsBase.s()
|
|
245
|
+
], Link.prototype, "href", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
webcomponentsBase.s()
|
|
248
|
+
], Link.prototype, "target", void 0);
|
|
249
|
+
__decorate([
|
|
250
|
+
webcomponentsBase.s()
|
|
251
|
+
], Link.prototype, "design", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
webcomponentsBase.s()
|
|
254
|
+
], Link.prototype, "interactiveAreaSize", void 0);
|
|
255
|
+
__decorate([
|
|
256
|
+
webcomponentsBase.s()
|
|
257
|
+
], Link.prototype, "wrappingType", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
webcomponentsBase.s()
|
|
260
|
+
], Link.prototype, "accessibleName", void 0);
|
|
261
|
+
__decorate([
|
|
262
|
+
webcomponentsBase.s()
|
|
263
|
+
], Link.prototype, "accessibleNameRef", void 0);
|
|
264
|
+
__decorate([
|
|
265
|
+
webcomponentsBase.s()
|
|
266
|
+
], Link.prototype, "accessibleRole", void 0);
|
|
267
|
+
__decorate([
|
|
268
|
+
webcomponentsBase.s({ type: Object })
|
|
269
|
+
], Link.prototype, "accessibilityAttributes", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
webcomponentsBase.s()
|
|
272
|
+
], Link.prototype, "accessibleDescription", void 0);
|
|
273
|
+
__decorate([
|
|
274
|
+
webcomponentsBase.s()
|
|
275
|
+
], Link.prototype, "icon", void 0);
|
|
276
|
+
__decorate([
|
|
277
|
+
webcomponentsBase.s()
|
|
278
|
+
], Link.prototype, "endIcon", void 0);
|
|
279
|
+
__decorate([
|
|
280
|
+
webcomponentsBase.s({ noAttribute: true })
|
|
281
|
+
], Link.prototype, "_rel", void 0);
|
|
282
|
+
__decorate([
|
|
283
|
+
webcomponentsBase.s({ noAttribute: true })
|
|
284
|
+
], Link.prototype, "forcedTabIndex", void 0);
|
|
285
|
+
__decorate([
|
|
286
|
+
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
287
|
+
], Link, "i18nBundle", void 0);
|
|
288
|
+
Link = Link_1 = __decorate([
|
|
289
|
+
webcomponentsBase.m({
|
|
290
|
+
tag: "ui5-link",
|
|
291
|
+
languageAware: true,
|
|
292
|
+
renderer: parametersBundle_css.y,
|
|
293
|
+
template: LinkTemplate,
|
|
294
|
+
styles: linkCss,
|
|
295
|
+
})
|
|
296
|
+
/**
|
|
297
|
+
* Fired when the component is triggered either with a mouse/tap
|
|
298
|
+
* or by using the Enter key.
|
|
299
|
+
* @public
|
|
300
|
+
* @param {boolean} altKey Returns whether the "ALT" key was pressed when the event was triggered.
|
|
301
|
+
* @param {boolean} ctrlKey Returns whether the "CTRL" key was pressed when the event was triggered.
|
|
302
|
+
* @param {boolean} metaKey Returns whether the "META" key was pressed when the event was triggered.
|
|
303
|
+
* @param {boolean} shiftKey Returns whether the "SHIFT" key was pressed when the event was triggered.
|
|
304
|
+
*/
|
|
305
|
+
,
|
|
306
|
+
eventStrict.l("click", {
|
|
307
|
+
bubbles: true,
|
|
308
|
+
cancelable: true,
|
|
309
|
+
})
|
|
310
|
+
], Link);
|
|
311
|
+
Link.define();
|
|
312
|
+
var Link$1 = Link;
|
|
313
|
+
|
|
314
|
+
exports.Link = Link$1;
|
|
315
|
+
|
|
316
|
+
}));
|