@openui5/sap.f 1.145.0 → 1.146.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/THIRDPARTY.txt +7 -7
- package/package.json +10 -10
- package/src/sap/f/.library +8 -8
- package/src/sap/f/Avatar.js +1 -1
- package/src/sap/f/AvatarGroup.js +8 -2
- 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 +3 -3
- package/src/sap/f/DynamicPage.js +1 -1
- 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 +8 -2
- 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/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 +5 -1
- package/src/sap/f/SidePanelItem.js +7 -1
- package/src/sap/f/cards/BaseHeader.js +39 -26
- package/src/sap/f/cards/Header.js +7 -7
- package/src/sap/f/cards/NumericHeader.js +22 -23
- package/src/sap/f/cards/NumericIndicators.js +1 -2
- package/src/sap/f/cards/NumericSideIndicator.js +2 -3
- 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 +2 -246
- package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +2 -349
- package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +2 -126
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +2 -141
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +2 -60
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +2 -208
- package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +2 -283
- package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +2 -357
- package/src/sap/f/gen/ui5/webcomponents.js +2 -3155
- package/src/sap/f/gen/ui5/webcomponents_base.js +2 -600
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +2 -214
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +2 -203
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +2 -167
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +2 -248
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +2 -86
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +2 -254
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +2 -128
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +2 -56
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +2 -87
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +2 -75
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +2 -80
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +2 -669
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +2 -123
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +2 -140
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +2 -236
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +2 -72
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +2 -282
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +2 -134
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +2 -79
- package/src/sap/f/gen/ui5/webcomponents_fiori.js +2 -1859
- package/src/sap/f/library.js +3 -4
- package/src/sap/f/routing/Target.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/AvatarGroup.less +2 -2
- package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +2 -13
- package/src/sap/f/thirdparty/Avatar.js +2 -453
- package/src/sap/f/thirdparty/BusyIndicator.js +2 -233
- package/src/sap/f/thirdparty/Button.js +2 -7
- package/src/sap/f/thirdparty/Button2.js +2 -656
- package/src/sap/f/thirdparty/FocusableElements.js +2 -10
- package/src/sap/f/thirdparty/Icon.js +2 -313
- package/src/sap/f/thirdparty/Icons.js +2 -56
- package/src/sap/f/thirdparty/IllustratedMessage.js +2 -1295
- package/src/sap/f/thirdparty/Illustrations.js +2 -9
- package/src/sap/f/thirdparty/Label.js +2 -115
- package/src/sap/f/thirdparty/Link.js +2 -316
- package/src/sap/f/thirdparty/List.js +2 -1253
- package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +2 -14
- package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +2 -10
- package/src/sap/f/thirdparty/ListItemBase.js +2 -251
- package/src/sap/f/thirdparty/ListItemGroup.js +2 -637
- package/src/sap/f/thirdparty/Menu.js +2 -389
- package/src/sap/f/thirdparty/MenuItem.js +2 -10
- package/src/sap/f/thirdparty/MenuItem2.js +2 -762
- package/src/sap/f/thirdparty/NotificationList.js +2 -291
- package/src/sap/f/thirdparty/NotificationListGroupItem.js +2 -310
- package/src/sap/f/thirdparty/NotificationListItem.js +2 -534
- package/src/sap/f/thirdparty/NotificationListItemBase.js +2 -98
- package/src/sap/f/thirdparty/ResponsivePopover.js +2 -2312
- package/src/sap/f/thirdparty/SearchItem.css.js +2 -10
- package/src/sap/f/thirdparty/SearchItem.js +2 -152
- package/src/sap/f/thirdparty/SearchItemGroup.js +2 -44
- package/src/sap/f/thirdparty/SearchItemShowMore.js +2 -86
- package/src/sap/f/thirdparty/SearchMessageArea.js +2 -49
- package/src/sap/f/thirdparty/SearchScope.js +2 -39
- package/src/sap/f/thirdparty/ShellBar.js +2 -1809
- package/src/sap/f/thirdparty/ShellBarBranding.js +2 -119
- package/src/sap/f/thirdparty/ShellBarItem.js +2 -89
- package/src/sap/f/thirdparty/ShellBarSearch.js +2 -7
- package/src/sap/f/thirdparty/ShellBarSearch2.js +2 -3453
- package/src/sap/f/thirdparty/ShellBarSpacer.js +2 -40
- package/src/sap/f/thirdparty/Tag.js +2 -302
- package/src/sap/f/thirdparty/Text.js +2 -127
- package/src/sap/f/thirdparty/Theme.js +2 -187
- package/src/sap/f/thirdparty/Title.js +2 -167
- package/src/sap/f/thirdparty/UserMenu.js +2 -950
- package/src/sap/f/thirdparty/UserMenuAccount.js +2 -114
- package/src/sap/f/thirdparty/UserMenuItem.js +2 -61
- package/src/sap/f/thirdparty/ValueState.js +2 -7
- package/src/sap/f/thirdparty/WrappingType.js +2 -24
- package/src/sap/f/thirdparty/_dynamics/InputComposition.js +2 -35
- package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +2 -397
- package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +2 -193
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +2 -585
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +2 -585
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +2 -1194
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +2 -1194
- package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2 -2509
- package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2 -2509
- package/src/sap/f/thirdparty/_dynamics/ar.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ar_EG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ar_SA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/bg.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ca.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/cnr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/cs.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/da.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/de.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/de_AT.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/de_CH.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/el.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/el_CY.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_AU.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_GB.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_HK.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_IE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_IN.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_NZ.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_PG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_SG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_ZA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_AR.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_BO.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_CL.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_CO.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_MX.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_PE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_UY.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_VE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/et.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fa.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fi.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_BE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_CA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_CH.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_LU.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/he.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/hi.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/hr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/hu.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/id.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/it.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/it_CH.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ja.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/kk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ko.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/lt.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/lv.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/mk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ms.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/nb.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/nl.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/nl_BE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/pl.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/pt.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/pt_PT.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ro.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ru.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ru_UA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sl.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sr_Latn.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sv.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/th.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/tr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/uk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/vi.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_CN.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_HK.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_SG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_TW.js +2 -0
- package/src/sap/f/thirdparty/encodeXML.js +6 -81
- package/src/sap/f/thirdparty/event-strict.js +2 -7
- package/src/sap/f/thirdparty/generateHighlightedMarkup.js +2 -9
- package/src/sap/f/thirdparty/i18n-defaults.js +2 -123
- package/src/sap/f/thirdparty/i18n-defaults2.js +2 -159
- package/src/sap/f/thirdparty/information.js +2 -100
- package/src/sap/f/thirdparty/information2.js +2 -13
- package/src/sap/f/thirdparty/overflow.js +2 -25
- package/src/sap/f/thirdparty/parameters-bundle.css.js +2 -11
- package/src/sap/f/thirdparty/parameters-bundle.css2.js +2 -44
- package/src/sap/f/thirdparty/parameters-bundle.css3.js +2 -8
- package/src/sap/f/thirdparty/query.js +2 -7
- package/src/sap/f/thirdparty/slim-arrow-down.js +2 -44
- package/src/sap/f/thirdparty/sys-enter-2.js +2 -7
- package/src/sap/f/thirdparty/toLowercaseEnumValue.js +2 -7
- package/src/sap/f/thirdparty/ui5/webcomponents_fiori/dist/illustrations/UnableToUpload.js +2 -132
- package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +2 -26
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +2 -26
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +2 -26
- package/src/sap/f/thirdparty/webcomponents-base.js +2 -7
- package/src/sap/f/thirdparty/webcomponents-fiori.js +2 -5
- package/src/sap/f/thirdparty/webcomponents.js +51 -4589
- package/src/sap/f/thirdparty/willShowContent.js +2 -7
- package/src/sap/f/thirdparty/ListItemCustom.js +0 -1689
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
|
|
3
|
-
const u=new Map([["sap_horizon","V5"],["sap_horizon_dark","V5"],["sap_horizon_hcb","V5/HC"],["sap_horizon_hcw","V5/HC"]]),e="V4",i=new Map,l=Theme.m("SVGIllustration.registry",new Map),a=Theme.m("SVGIllustration.promises",new Map),I=()=>{const s=Theme.r();return u.has(s)?u.get(s):e},g=s=>{let t=I();const[o,r]=s.split("/");let n=`${o}/${t}/${r}`;return !i.has(n)&&t!==e&&(t=e,n=`${o}/${t}/${r}`),{registryKey:n,collection:t}},h=(s,t)=>{const o=t.collection||e;l.set(`${t.set}/${o}/${s}`,{dialogSvg:t.dialogSvg,sceneSvg:t.sceneSvg,spotSvg:t.spotSvg,dotSvg:t.dotSvg,title:t.title,subtitle:t.subtitle});},m=s=>{const{registryKey:t}=g(s);if(!a.has(t)){if(!i.has(t)){const r=s.startsWith("fiori/")?s.replace("fiori/",""):s;throw new Error(`No loader registered for the ${s} illustration. Probably you forgot to import the "@ui5/webcomponents-fiori/dist/illustrations/${r}.js" module. Or you can import the "@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js" module that will make all illustrations available, but fetch only the ones used.`)}const o=i.get(t);a.set(t,o(t));}return a.get(t)},d=s=>{const{registryKey:t}=g(s);return l.get(t)},S=async s=>{const{registryKey:t}=g(s);return await m(s),l.get(t)};
|
|
4
|
-
|
|
5
|
-
exports.S = S;
|
|
6
|
-
exports.d = d;
|
|
7
|
-
exports.h = h;
|
|
8
|
-
|
|
9
|
-
}));
|
|
1
|
+
sap.ui.define(["exports","sap/f/thirdparty/Theme"],function(t,e){"use strict";const o=new Map([["sap_horizon","V5"],["sap_horizon_dark","V5"],["sap_horizon_hcb","V5/HC"],["sap_horizon_hcw","V5/HC"]]),s="V4",r=new Map,i=e.m("SVGIllustration.registry",new Map),n=e.m("SVGIllustration.promises",new Map),l=()=>{const t=e.r();return o.has(t)?o.get(t):s},a=t=>{let e=l();const[o,i]=t.split("/");let n=`${o}/${e}/${i}`;return!r.has(n)&&e!==s&&(e=s,n=`${o}/${e}/${i}`),{registryKey:n,collection:e}},c=(t,e)=>{const o=e.collection||s;i.set(`${e.set}/${o}/${t}`,{dialogSvg:e.dialogSvg,sceneSvg:e.sceneSvg,spotSvg:e.spotSvg,dotSvg:e.dotSvg,title:e.title,subtitle:e.subtitle})},u=t=>{const{registryKey:e}=a(t);if(!n.has(e)){if(!r.has(e)){const e=t.startsWith("fiori/")?t.replace("fiori/",""):t;throw new Error(`No loader registered for the ${t} illustration. Probably you forgot to import the "@ui5/webcomponents-fiori/dist/illustrations/${e}.js" module. Or you can import the "@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js" module that will make all illustrations available, but fetch only the ones used.`)}const o=r.get(e);n.set(e,o(e))}return n.get(e)},g=t=>{const{registryKey:e}=a(t);return i.get(e)},h=async t=>{const{registryKey:e}=a(t);return await u(t),i.get(e)};t.d=h;t.f=c;t.h=g});
|
|
2
|
+
//# sourceMappingURL=Illustrations.js.map
|
|
@@ -1,115 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
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
|
-
Theme.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
8
|
-
Theme.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
|
-
}));
|
|
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/Theme","sap/f/thirdparty/Icons"],function(e,t,o,r,i,n){"use strict";function a(){return o.jsxs("label",{class:"ui5-label-root",onClick:this._onclick,children:[o.jsx("span",{class:"ui5-label-text-wrapper",children:o.jsx("slot",{})}),o.jsx("span",{"aria-hidden":"true",class:"ui5-label-required-colon","data-ui5-colon":this._colonSymbol})]})}i.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>o.defaultThemeBase);i.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>t.defaultTheme,"host");var l=`: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}\n`;var s=this&&this.__decorate||function(e,t,o,r){var i=arguments.length,n=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,o):r,a;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,o,r);else for(var l=e.length-1;l>=0;l--)if(a=e[l])n=(i<3?a(n):i>3?a(t,o,n):a(t,o))||n;return i>3&&n&&Object.defineProperty(t,o,n),n};var p;let c=p=class t extends e.S{constructor(){super(...arguments);this.showColon=false;this.required=false;this.wrappingType="Normal"}_onclick(){if(!this.for){return}const e=this.getRootNode().querySelector(`[id="${this.for}"]`);if(e){e.focus()}}get _colonSymbol(){return p.i18nBundle.getText(r.LABEL_COLON)}};s([e.s()],c.prototype,"for",void 0);s([e.s({type:Boolean})],c.prototype,"showColon",void 0);s([e.s({type:Boolean})],c.prototype,"required",void 0);s([e.s()],c.prototype,"wrappingType",void 0);s([t.i("@ui5/webcomponents")],c,"i18nBundle",void 0);c=p=s([e.m({tag:"ui5-label",renderer:o.y,template:a,styles:l,languageAware:true})],c);c.define();var d=c;return d});
|
|
2
|
+
//# sourceMappingURL=Label.js.map
|
|
@@ -1,316 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
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
|
-
Theme.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
35
|
-
Theme.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 (Theme.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 === Theme.i()
|
|
167
|
-
&& this._dummyAnchor.port === Theme.c()
|
|
168
|
-
&& this._dummyAnchor.protocol === Theme.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
|
-
}));
|
|
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/Theme","sap/f/thirdparty/toLowercaseEnumValue","sap/f/thirdparty/Icon","sap/f/thirdparty/i18n-defaults2"],function(e,t,i,o,r,n,s,a,l,c){"use strict";var p;(function(e){e["Default"]="Default";e["Subtle"]="Subtle";e["Emphasized"]="Emphasized"})(p||(p={}));var d=p;function h(){return o.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&&o.jsx(l.Icon,{class:"ui5-link-icon",name:this.icon,mode:"Decorative",part:"icon"}),o.jsx("span",{class:"ui5-link-text",children:o.jsx("slot",{})}),this.hasLinkType&&o.jsx("span",{class:"ui5-hidden-text",children:this.linkTypeText}),this.endIcon&&o.jsx(l.Icon,{class:"ui5-link-end-icon",name:this.endIcon,mode:"Decorative",part:"endIcon"})]})}s.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>o.defaultThemeBase);s.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>n.defaultTheme,"host");var u=`.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_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_link_hover_text_decoration)}:host(:active){color:var(--sapLink_Active_Color);text-decoration:var(--_ui5_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_link_subtle_text_decoration)}:host([design="Subtle"]:hover:not(:active)){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5_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_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_link_focus_background_color);outline:var(--_ui5_link_outline);border-radius:var(--_ui5_link_focus_border-radius);text-shadow:none;color:var(--_ui5_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_link_focus_text_decoration)}:host([desktop]:hover:not(:active):focus-within),:host([design="Subtle"][desktop]:hover:not(:active):focus-within){color:var(--_ui5_link_focused_hover_text_color);text-decoration:var(--_ui5_link_focused_hover_text_decoration)}:host([interactive-area-size="Large"]) .ui5-link-root{line-height:var(--_ui5_link_large_interactive_area_height)}:host([interactive-area-size="Large"])::part(icon),:host([interactive-area-size="Large"])::part(endIcon){height:var(--_ui5_link_large_interactive_area_height)}\n`;var f=this&&this.__decorate||function(e,t,i,o){var r=arguments.length,n=r<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,s;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)if(s=e[a])n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n;return r>3&&n&&Object.defineProperty(t,i,n),n};var _;let v=_=class e extends t.S{constructor(){super();this.disabled=false;this.design="Default";this.interactiveAreaSize="Normal";this.wrappingType="Normal";this.accessibleRole="Link";this.accessibilityAttributes={};this._dummyAnchor=document.createElement("a")}onEnterDOM(){if(s.f$1()){this.setAttribute("desktop","")}}onBeforeRendering(){const e=this.target!=="_self"&&this.href&&this._isCrossOrigin(this.href);this._rel=e?"noreferrer noopener":undefined}_isCrossOrigin(e){this._dummyAnchor.href=e;return!(this._dummyAnchor.hostname===s.i()&&this._dummyAnchor.port===s.c()&&this._dummyAnchor.protocol===s.a())}get effectiveTabIndex(){if(this.forcedTabIndex){return Number.parseInt(this.forcedTabIndex)}return this.disabled?-1:0}get ariaLabelText(){return r.A(this)}get hasLinkType(){return this.design!==d.Default}static typeTextMappings(){return{Subtle:c.LINK_SUBTLE,Emphasized:c.LINK_EMPHASIZED}}get linkTypeText(){return _.i18nBundle.getText(_.typeTextMappings()[this.design])}get parsedRef(){return this.href&&this.href.length>0?this.href:undefined}get effectiveAccRole(){return a.n(this.accessibleRole)}get ariaDescriptionText(){return this.accessibleDescription===""?undefined:this.accessibleDescription}get _hasPopup(){return this.accessibilityAttributes.hasPopup}_onclick(e){const{altKey:t,ctrlKey:i,metaKey:o,shiftKey:r}=e;e.stopImmediatePropagation();const n=this.fireDecoratorEvent("click",{altKey:t,ctrlKey:i,metaKey:o,shiftKey:r});if(!n){e.preventDefault()}}_onkeydown(e){if(t.b(e)&&!this.href){this._onclick(e);e.preventDefault()}else if(t.A(e)){e.preventDefault()}}_onkeyup(e){if(!t.A(e)){return}this._onclick(e);if(this.href&&!e.defaultPrevented){const e=new MouseEvent("click");e.stopImmediatePropagation();this.getDomRef().dispatchEvent(e)}}};f([t.s({type:Boolean})],v.prototype,"disabled",void 0);f([t.s()],v.prototype,"tooltip",void 0);f([t.s()],v.prototype,"href",void 0);f([t.s()],v.prototype,"target",void 0);f([t.s()],v.prototype,"design",void 0);f([t.s()],v.prototype,"interactiveAreaSize",void 0);f([t.s()],v.prototype,"wrappingType",void 0);f([t.s()],v.prototype,"accessibleName",void 0);f([t.s()],v.prototype,"accessibleNameRef",void 0);f([t.s()],v.prototype,"accessibleRole",void 0);f([t.s({type:Object})],v.prototype,"accessibilityAttributes",void 0);f([t.s()],v.prototype,"accessibleDescription",void 0);f([t.s()],v.prototype,"icon",void 0);f([t.s()],v.prototype,"endIcon",void 0);f([t.s({noAttribute:true})],v.prototype,"_rel",void 0);f([t.s({noAttribute:true})],v.prototype,"forcedTabIndex",void 0);f([n.i("@ui5/webcomponents")],v,"i18nBundle",void 0);v=_=f([t.m({tag:"ui5-link",languageAware:true,renderer:o.y,template:h,styles:u}),i.l("click",{bubbles:true,cancelable:true})],v);v.define();var b=v;e.Link=b});
|
|
2
|
+
//# sourceMappingURL=Link.js.map
|