@openui5/sap.f 1.144.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/REUSE.toml +40 -16
- package/THIRDPARTY.txt +28 -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/SidePanelRenderer.js +1 -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/themes/base/GridList.less +1 -1
- 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 -234
- package/src/sap/f/thirdparty/IllustratedMessage.js +2 -1297
- package/src/sap/f/thirdparty/Illustrations.js +2 -0
- 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 -0
- 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 -119
- 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 -0
- 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/ui5-build.yaml +1 -0
- package/src/sap/f/thirdparty/ListItemCustom.js +0 -1689
|
@@ -3,249 +3,5 @@
|
|
|
3
3
|
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(
|
|
7
|
-
|
|
8
|
-
"sap/ui/core/webc/WebComponent",
|
|
9
|
-
"sap/ui/core/EnabledPropagator",
|
|
10
|
-
"sap/f/gen/ui5/webcomponents",
|
|
11
|
-
"sap/f/thirdparty/Avatar"
|
|
12
|
-
],
|
|
13
|
-
function (WebComponentBaseClass, EnabledPropagator) {
|
|
14
|
-
"use strict";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @class
|
|
18
|
-
* ### Overview
|
|
19
|
-
*
|
|
20
|
-
* An image-like component that has different display options for representing images and icons
|
|
21
|
-
* in different shapes and sizes, depending on the use case.
|
|
22
|
-
*
|
|
23
|
-
* The shape can be circular or square. There are several predefined sizes, as well as an option to
|
|
24
|
-
* set a custom size.
|
|
25
|
-
*
|
|
26
|
-
* ### Keyboard Handling
|
|
27
|
-
*
|
|
28
|
-
* - [Space] / [Enter] or [Return] - Fires the `click` event if the `interactive` property is set to true.
|
|
29
|
-
* - [Shift] - If [Space] is pressed, pressing [Shift] releases the component without triggering the click event.
|
|
30
|
-
*
|
|
31
|
-
* ### ES6 Module Import
|
|
32
|
-
* `import "@ui5/webcomponents/dist/Avatar.js";`
|
|
33
|
-
*
|
|
34
|
-
* @implements module:sap/f/gen/ui5/webcomponents.IAvatarGroupItem
|
|
35
|
-
* @extends sap.ui.core.webc.WebComponent
|
|
36
|
-
* @constructor
|
|
37
|
-
* @private
|
|
38
|
-
* @ui5-restricted sap.ushell,sap.esh.search.ui
|
|
39
|
-
* @alias module:sap/f/gen/ui5/webcomponents/dist/Avatar
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
const WrapperClass = WebComponentBaseClass.extend(
|
|
43
|
-
"sap.f.gen.ui5.webcomponents.dist.Avatar",
|
|
44
|
-
{
|
|
45
|
-
metadata: {
|
|
46
|
-
tag: "ui5-avatar-68f7652d",
|
|
47
|
-
|
|
48
|
-
namespace: "sap.f.gen.ui5.webcomponents",
|
|
49
|
-
|
|
50
|
-
library: "sap.f",
|
|
51
|
-
|
|
52
|
-
designtime: "sap/f/gen/ui5/webcomponents/designtime/Avatar.designtime",
|
|
53
|
-
|
|
54
|
-
interfaces: ["sap.f.gen.ui5.webcomponents.IAvatarGroupItem"],
|
|
55
|
-
|
|
56
|
-
defaultAggregation: "image",
|
|
57
|
-
|
|
58
|
-
properties: {
|
|
59
|
-
/**
|
|
60
|
-
* Defines whether the component is disabled.
|
|
61
|
-
* A disabled component can't be pressed or
|
|
62
|
-
* focused, and it is not in the tab chain.
|
|
63
|
-
*/
|
|
64
|
-
enabled: {
|
|
65
|
-
type: "boolean",
|
|
66
|
-
defaultValue: "true",
|
|
67
|
-
mapping: {
|
|
68
|
-
type: "property",
|
|
69
|
-
to: "disabled",
|
|
70
|
-
formatter: "_mapEnabled"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Defines if the avatar is interactive (focusable and pressable).
|
|
76
|
-
*
|
|
77
|
-
* **Note:** This property won't have effect if the `disabled`
|
|
78
|
-
* property is set to `true`.
|
|
79
|
-
*/
|
|
80
|
-
interactive: {
|
|
81
|
-
type: "boolean",
|
|
82
|
-
mapping: "property",
|
|
83
|
-
defaultValue: false
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Defines the name of the UI5 Icon, that will be displayed.
|
|
88
|
-
*
|
|
89
|
-
* **Note:** If `image` slot is provided, the property will be ignored.
|
|
90
|
-
*
|
|
91
|
-
* **Note:** You should import the desired icon first, then use its name as "icon".
|
|
92
|
-
*
|
|
93
|
-
* `import "sap/f/gen/ui5/webcomponents-icons/dist/{icon_name}.js"`
|
|
94
|
-
*
|
|
95
|
-
* `<ui5-avatar icon="employee">`
|
|
96
|
-
*
|
|
97
|
-
* **Note:** If no icon or an empty one is provided, by default the "employee" icon should be displayed.
|
|
98
|
-
*
|
|
99
|
-
* See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
100
|
-
*/
|
|
101
|
-
icon: { type: "string", mapping: "property" },
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* Defines the name of the fallback icon, which should be displayed in the following cases:
|
|
105
|
-
*
|
|
106
|
-
* - If the initials are not valid (more than 3 letters, unsupported languages or empty initials).
|
|
107
|
-
* - If there are three initials and they do not fit in the shape (e.g. WWW for some of the sizes).
|
|
108
|
-
* - If the image src is wrong.
|
|
109
|
-
*
|
|
110
|
-
* **Note:** If not set, a default fallback icon "employee" is displayed.
|
|
111
|
-
*
|
|
112
|
-
* **Note:** You should import the desired icon first, then use its name as "fallback-icon".
|
|
113
|
-
*
|
|
114
|
-
* `import "sap/f/gen/ui5/webcomponents-icons/dist/{icon_name}.js"`
|
|
115
|
-
*
|
|
116
|
-
* `<ui5-avatar fallback-icon="alert">`
|
|
117
|
-
*
|
|
118
|
-
* See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
119
|
-
*/
|
|
120
|
-
fallbackIcon: {
|
|
121
|
-
type: "string",
|
|
122
|
-
mapping: "property",
|
|
123
|
-
defaultValue: "employee"
|
|
124
|
-
},
|
|
125
|
-
|
|
126
|
-
/**
|
|
127
|
-
* Defines the displayed initials.
|
|
128
|
-
*
|
|
129
|
-
* Up to three Latin letters can be displayed as initials.
|
|
130
|
-
*/
|
|
131
|
-
initials: { type: "string", mapping: "property" },
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Defines the shape of the component.
|
|
135
|
-
* @type module:sap/f/gen/ui5/webcomponents.AvatarShape
|
|
136
|
-
*/
|
|
137
|
-
shape: {
|
|
138
|
-
type: "sap.f.gen.ui5.webcomponents.AvatarShape",
|
|
139
|
-
mapping: "property",
|
|
140
|
-
defaultValue: "Circle"
|
|
141
|
-
},
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Defines predefined size of the component.
|
|
145
|
-
* @type module:sap/f/gen/ui5/webcomponents.AvatarSize
|
|
146
|
-
*/
|
|
147
|
-
size: {
|
|
148
|
-
type: "sap.f.gen.ui5.webcomponents.AvatarSize",
|
|
149
|
-
mapping: "property",
|
|
150
|
-
defaultValue: "S"
|
|
151
|
-
},
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Defines the background color of the desired image.
|
|
155
|
-
* If `colorScheme` is set to `Auto`, the avatar will be displayed with the `Accent6` color.
|
|
156
|
-
* @type module:sap/f/gen/ui5/webcomponents.AvatarColorScheme
|
|
157
|
-
*/
|
|
158
|
-
colorScheme: {
|
|
159
|
-
type: "sap.f.gen.ui5.webcomponents.AvatarColorScheme",
|
|
160
|
-
mapping: "property",
|
|
161
|
-
defaultValue: "Auto"
|
|
162
|
-
},
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* Defines the text alternative of the component.
|
|
166
|
-
* If not provided a default text alternative will be set, if present.
|
|
167
|
-
*/
|
|
168
|
-
accessibleName: { type: "string", mapping: "property" },
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Defines the additional accessibility attributes that will be applied to the component.
|
|
172
|
-
* The following field is supported:
|
|
173
|
-
*
|
|
174
|
-
* - **hasPopup**: Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by the button.
|
|
175
|
-
* Accepts the following string values: `dialog`, `grid`, `listbox`, `menu` or `tree`.
|
|
176
|
-
*/
|
|
177
|
-
accessibilityAttributes: {
|
|
178
|
-
type: "any",
|
|
179
|
-
mapping: "property",
|
|
180
|
-
defaultValue: "{}"
|
|
181
|
-
},
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* The text-content of the Web Component.
|
|
185
|
-
*/
|
|
186
|
-
text: { type: "string", mapping: "textContent" },
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* The 'width' of the Web Component in <code>sap.ui.core.CSSSize</code>.
|
|
190
|
-
*/
|
|
191
|
-
width: { type: "sap.ui.core.CSSSize", mapping: "style" },
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* The 'height' of the Web Component in <code>sap.ui.core.CSSSize</code>.
|
|
195
|
-
*/
|
|
196
|
-
height: { type: "sap.ui.core.CSSSize", mapping: "style" }
|
|
197
|
-
},
|
|
198
|
-
|
|
199
|
-
aggregations: {
|
|
200
|
-
/**
|
|
201
|
-
* Receives the desired `<img>` tag
|
|
202
|
-
*
|
|
203
|
-
* **Note:** If you experience flickering of the provided image, you can hide the component until it is defined with the following CSS:<br/>
|
|
204
|
-
* `ui5-avatar:not(:defined) {`<br/>
|
|
205
|
-
* `visibility: hidden;`<br/>
|
|
206
|
-
* `}`
|
|
207
|
-
* @type module:sap/ui/core/Control
|
|
208
|
-
*/
|
|
209
|
-
image: { type: "sap.ui.core.Control", multiple: true },
|
|
210
|
-
/**
|
|
211
|
-
* Defines the optional badge that will be used for visual affordance.
|
|
212
|
-
*
|
|
213
|
-
* **Note:** While the slot allows for custom badges, to achieve
|
|
214
|
-
* the Fiori design, you can use the `ui5-tag` with `ui5-icon`
|
|
215
|
-
* in the corresponding `icon` slot, without text nodes.
|
|
216
|
-
* @type module:sap/ui/core/Control
|
|
217
|
-
*/
|
|
218
|
-
badge: {
|
|
219
|
-
type: "sap.ui.core.Control",
|
|
220
|
-
multiple: true,
|
|
221
|
-
slot: "badge"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
|
|
225
|
-
associations: {},
|
|
226
|
-
|
|
227
|
-
events: {
|
|
228
|
-
/**
|
|
229
|
-
* Fired on mouseup, space and enter if avatar is interactive
|
|
230
|
-
*
|
|
231
|
-
* **Note:** The event will not be fired if the `disabled`
|
|
232
|
-
* property is set to `true`.
|
|
233
|
-
*/
|
|
234
|
-
click: {
|
|
235
|
-
enableEventBubbling: true,
|
|
236
|
-
parameters: {}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
|
|
240
|
-
getters: [],
|
|
241
|
-
|
|
242
|
-
methods: []
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
);
|
|
246
|
-
|
|
247
|
-
EnabledPropagator.call(WrapperClass.prototype);
|
|
248
|
-
|
|
249
|
-
return WrapperClass;
|
|
250
|
-
}
|
|
251
|
-
);
|
|
6
|
+
sap.ui.define(["sap/ui/core/webc/WebComponent","sap/ui/core/EnabledPropagator","sap/f/gen/ui5/webcomponents","sap/f/thirdparty/Avatar"],function(e,t){"use strict";const a=e.extend("sap.f.gen.ui5.webcomponents.dist.Avatar",{metadata:{tag:"ui5-avatar-cc7fb471",namespace:"sap.f.gen.ui5.webcomponents",library:"sap.f",designtime:"sap/f/gen/ui5/webcomponents/designtime/Avatar.designtime",interfaces:["sap.f.gen.ui5.webcomponents.IAvatarGroupItem"],defaultAggregation:"image",properties:{enabled:{type:"boolean",defaultValue:"true",mapping:{type:"property",to:"disabled",formatter:"_mapEnabled"}},interactive:{type:"boolean",mapping:"property",defaultValue:false},icon:{type:"string",mapping:"property"},fallbackIcon:{type:"string",mapping:"property",defaultValue:"employee"},initials:{type:"string",mapping:"property"},shape:{type:"sap.f.gen.ui5.webcomponents.AvatarShape",mapping:"property",defaultValue:"Circle"},size:{type:"sap.f.gen.ui5.webcomponents.AvatarSize",mapping:"property",defaultValue:"S"},colorScheme:{type:"sap.f.gen.ui5.webcomponents.AvatarColorScheme",mapping:"property",defaultValue:"Auto"},accessibleName:{type:"string",mapping:"property"},accessibilityAttributes:{type:"any",mapping:"property",defaultValue:"{}"},text:{type:"string",mapping:"textContent"},width:{type:"sap.ui.core.CSSSize",mapping:"style"},height:{type:"sap.ui.core.CSSSize",mapping:"style"}},aggregations:{image:{type:"sap.ui.core.Control",multiple:true},badge:{type:"sap.ui.core.Control",multiple:true,slot:"badge"}},associations:{},events:{click:{enableEventBubbling:true,parameters:{}}},getters:[],methods:[]}});t.call(a.prototype);return a});
|
|
7
|
+
//# sourceMappingURL=Avatar.js.map
|
|
@@ -3,352 +3,5 @@
|
|
|
3
3
|
* (c) Copyright 2026 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
|
-
sap.ui.define(
|
|
7
|
-
|
|
8
|
-
"sap/ui/core/webc/WebComponent",
|
|
9
|
-
"sap/ui/core/EnabledPropagator",
|
|
10
|
-
"sap/f/gen/ui5/webcomponents",
|
|
11
|
-
"sap/f/thirdparty/Button"
|
|
12
|
-
],
|
|
13
|
-
function (WebComponentBaseClass, EnabledPropagator) {
|
|
14
|
-
"use strict";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* @class
|
|
18
|
-
* ### Overview
|
|
19
|
-
*
|
|
20
|
-
* The `ui5-button` component represents a simple push button.
|
|
21
|
-
* It enables users to trigger actions by clicking or tapping the `ui5-button`, or by pressing
|
|
22
|
-
* certain keyboard keys, such as Enter.
|
|
23
|
-
*
|
|
24
|
-
* ### Usage
|
|
25
|
-
*
|
|
26
|
-
* For the `ui5-button` UI, you can define text, icon, or both. You can also specify
|
|
27
|
-
* whether the text or the icon is displayed first.
|
|
28
|
-
*
|
|
29
|
-
* You can choose from a set of predefined types that offer different
|
|
30
|
-
* styling to correspond to the triggered action.
|
|
31
|
-
*
|
|
32
|
-
* You can set the `ui5-button` as enabled or disabled. An enabled
|
|
33
|
-
* `ui5-button` can be pressed by clicking or tapping it. The button changes
|
|
34
|
-
* its style to provide visual feedback to the user that it is pressed or hovered over with
|
|
35
|
-
* the mouse cursor. A disabled `ui5-button` appears inactive and cannot be pressed.
|
|
36
|
-
*
|
|
37
|
-
* ### ES6 Module Import
|
|
38
|
-
*
|
|
39
|
-
* `import "@ui5/webcomponents/dist/Button.js";`
|
|
40
|
-
*
|
|
41
|
-
* @implements module:sap/f/gen/ui5/webcomponents.IButton
|
|
42
|
-
* @extends sap.ui.core.webc.WebComponent
|
|
43
|
-
* @constructor
|
|
44
|
-
* @private
|
|
45
|
-
* @ui5-restricted sap.ushell,sap.esh.search.ui
|
|
46
|
-
* @alias module:sap/f/gen/ui5/webcomponents/dist/Button
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
const WrapperClass = WebComponentBaseClass.extend(
|
|
50
|
-
"sap.f.gen.ui5.webcomponents.dist.Button",
|
|
51
|
-
{
|
|
52
|
-
metadata: {
|
|
53
|
-
tag: "ui5-button-68f7652d",
|
|
54
|
-
|
|
55
|
-
namespace: "sap.f.gen.ui5.webcomponents",
|
|
56
|
-
|
|
57
|
-
library: "sap.f",
|
|
58
|
-
|
|
59
|
-
designtime: "sap/f/gen/ui5/webcomponents/designtime/Button.designtime",
|
|
60
|
-
|
|
61
|
-
interfaces: ["sap.f.gen.ui5.webcomponents.IButton"],
|
|
62
|
-
|
|
63
|
-
defaultAggregation: "",
|
|
64
|
-
|
|
65
|
-
properties: {
|
|
66
|
-
/**
|
|
67
|
-
* Defines the component design.
|
|
68
|
-
* @type module:sap/f/gen/ui5/webcomponents.ButtonDesign
|
|
69
|
-
*/
|
|
70
|
-
design: {
|
|
71
|
-
type: "sap.f.gen.ui5.webcomponents.ButtonDesign",
|
|
72
|
-
mapping: "property",
|
|
73
|
-
defaultValue: "Default"
|
|
74
|
-
},
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Defines whether the component is disabled.
|
|
78
|
-
* A disabled component can't be pressed or
|
|
79
|
-
* focused, and it is not in the tab chain.
|
|
80
|
-
*/
|
|
81
|
-
enabled: {
|
|
82
|
-
type: "boolean",
|
|
83
|
-
defaultValue: "true",
|
|
84
|
-
mapping: {
|
|
85
|
-
type: "property",
|
|
86
|
-
to: "disabled",
|
|
87
|
-
formatter: "_mapEnabled"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Defines the icon, displayed as graphical element within the component.
|
|
93
|
-
* The SAP-icons font provides numerous options.
|
|
94
|
-
*
|
|
95
|
-
* Example:
|
|
96
|
-
* See all the available icons within the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
97
|
-
*/
|
|
98
|
-
icon: { type: "string", mapping: "property" },
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Defines the icon, displayed as graphical element within the component after the button text.
|
|
102
|
-
*
|
|
103
|
-
* **Note:** It is highly recommended to use `endIcon` property only together with `icon` and/or `text` properties.
|
|
104
|
-
* Usage of `endIcon` only should be avoided.
|
|
105
|
-
*
|
|
106
|
-
* The SAP-icons font provides numerous options.
|
|
107
|
-
*
|
|
108
|
-
* Example:
|
|
109
|
-
* See all the available icons within the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
|
|
110
|
-
*/
|
|
111
|
-
endIcon: { type: "string", mapping: "property" },
|
|
112
|
-
|
|
113
|
-
/**
|
|
114
|
-
* When set to `true`, the component will
|
|
115
|
-
* automatically submit the nearest HTML form element on `press`.
|
|
116
|
-
*
|
|
117
|
-
* **Note:** This property is only applicable within the context of an HTML Form element.`
|
|
118
|
-
*/
|
|
119
|
-
submits: {
|
|
120
|
-
type: "boolean",
|
|
121
|
-
mapping: "property",
|
|
122
|
-
defaultValue: false
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* Defines the accessible ARIA name of the component.
|
|
127
|
-
*/
|
|
128
|
-
accessibleName: { type: "string", mapping: "property" },
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Defines the additional accessibility attributes that will be applied to the component.
|
|
132
|
-
* The following fields are supported:
|
|
133
|
-
*
|
|
134
|
-
* - **expanded**: Indicates whether the button, or another grouping element it controls, is currently expanded or collapsed.
|
|
135
|
-
* Accepts the following string values: `true` or `false`
|
|
136
|
-
*
|
|
137
|
-
* - **hasPopup**: Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by the button.
|
|
138
|
-
* Accepts the following string values: `dialog`, `grid`, `listbox`, `menu` or `tree`.
|
|
139
|
-
*
|
|
140
|
-
* - **ariaLabel**: Defines the accessible ARIA name of the component.
|
|
141
|
-
* Accepts any string value.
|
|
142
|
-
*
|
|
143
|
-
* - **ariaKeyShortcuts**: Defines keyboard shortcuts that activate or give focus to the button.
|
|
144
|
-
*
|
|
145
|
-
* - **controls**: Identifies the element (or elements) whose contents or presence are controlled by the button element.
|
|
146
|
-
* Accepts a lowercase string value.
|
|
147
|
-
*/
|
|
148
|
-
accessibilityAttributes: {
|
|
149
|
-
type: "any",
|
|
150
|
-
mapping: "property",
|
|
151
|
-
defaultValue: "{}"
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Defines the accessible description of the component.
|
|
156
|
-
*/
|
|
157
|
-
accessibleDescription: { type: "string", mapping: "property" },
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Defines whether the button has special form-related functionality.
|
|
161
|
-
*
|
|
162
|
-
* **Note:** This property is only applicable within the context of an HTML Form element.
|
|
163
|
-
* @type module:sap/f/gen/ui5/webcomponents.ButtonType
|
|
164
|
-
*/
|
|
165
|
-
type: {
|
|
166
|
-
type: "sap.f.gen.ui5.webcomponents.ButtonType",
|
|
167
|
-
mapping: "property",
|
|
168
|
-
defaultValue: "Button"
|
|
169
|
-
},
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Describes the accessibility role of the button.
|
|
173
|
-
*
|
|
174
|
-
* **Note:** Use <code>ButtonAccessibleRole.Link</code> role only with a press handler, which performs a navigation. In all other scenarios the default button semantics are recommended.
|
|
175
|
-
* @type module:sap/f/gen/ui5/webcomponents.ButtonAccessibleRole
|
|
176
|
-
*/
|
|
177
|
-
accessibleRole: {
|
|
178
|
-
type: "sap.f.gen.ui5.webcomponents.ButtonAccessibleRole",
|
|
179
|
-
mapping: "property",
|
|
180
|
-
defaultValue: "Button"
|
|
181
|
-
},
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Defines whether the button shows a loading indicator.
|
|
185
|
-
*
|
|
186
|
-
* **Note:** If set to `true`, a busy indicator component will be displayed on the related button.
|
|
187
|
-
*/
|
|
188
|
-
loading: {
|
|
189
|
-
type: "boolean",
|
|
190
|
-
mapping: "property",
|
|
191
|
-
defaultValue: false
|
|
192
|
-
},
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Specifies the delay in milliseconds before the loading indicator appears within the associated button.
|
|
196
|
-
*/
|
|
197
|
-
loadingDelay: {
|
|
198
|
-
type: "float",
|
|
199
|
-
mapping: "property",
|
|
200
|
-
defaultValue: 1000
|
|
201
|
-
},
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* The text-content of the Web Component.
|
|
205
|
-
*/
|
|
206
|
-
text: { type: "string", mapping: "textContent" },
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* The 'width' of the Web Component in <code>sap.ui.core.CSSSize</code>.
|
|
210
|
-
*/
|
|
211
|
-
width: { type: "sap.ui.core.CSSSize", mapping: "style" },
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* The 'height' of the Web Component in <code>sap.ui.core.CSSSize</code>.
|
|
215
|
-
*/
|
|
216
|
-
height: { type: "sap.ui.core.CSSSize", mapping: "style" }
|
|
217
|
-
},
|
|
218
|
-
|
|
219
|
-
aggregations: {
|
|
220
|
-
/**
|
|
221
|
-
* Adds a badge to the button.
|
|
222
|
-
* @type module:sap/f/gen/ui5/webcomponents/dist/ButtonBadge
|
|
223
|
-
*/
|
|
224
|
-
badge: {
|
|
225
|
-
type: "sap.f.gen.ui5.webcomponents.dist.ButtonBadge",
|
|
226
|
-
multiple: true,
|
|
227
|
-
slot: "badge"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
|
|
231
|
-
associations: {
|
|
232
|
-
/**
|
|
233
|
-
* Receives id(or many ids) of the elements that label the component.
|
|
234
|
-
*/
|
|
235
|
-
ariaLabelledBy: {
|
|
236
|
-
type: "sap.ui.core.Control",
|
|
237
|
-
multiple: true,
|
|
238
|
-
mapping: {
|
|
239
|
-
type: "property",
|
|
240
|
-
to: "accessibleNameRef",
|
|
241
|
-
formatter: "_getAriaLabelledByForRendering"
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
|
|
246
|
-
events: {
|
|
247
|
-
/**
|
|
248
|
-
* Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
|
|
249
|
-
*
|
|
250
|
-
* **Note:** The event will not be fired if the `disabled` property is set to `true`.
|
|
251
|
-
*/
|
|
252
|
-
click: {
|
|
253
|
-
allowPreventDefault: true,
|
|
254
|
-
enableEventBubbling: true,
|
|
255
|
-
parameters: {
|
|
256
|
-
/**
|
|
257
|
-
* Returns original event that comes from user's **click** interaction
|
|
258
|
-
*/
|
|
259
|
-
originalEvent: {
|
|
260
|
-
type: "object",
|
|
261
|
-
types: [
|
|
262
|
-
{
|
|
263
|
-
origType: "Event",
|
|
264
|
-
multiple: false,
|
|
265
|
-
dedicatedTypes: [{ dtsType: "Event", ui5Type: "object" }]
|
|
266
|
-
}
|
|
267
|
-
],
|
|
268
|
-
dtsParamDescription:
|
|
269
|
-
"Returns original event that comes from user's **click** interaction"
|
|
270
|
-
},
|
|
271
|
-
/**
|
|
272
|
-
* Returns whether the "ALT" key was pressed when the event was triggered.
|
|
273
|
-
*/
|
|
274
|
-
altKey: {
|
|
275
|
-
type: "boolean",
|
|
276
|
-
types: [
|
|
277
|
-
{
|
|
278
|
-
origType: "boolean",
|
|
279
|
-
multiple: false,
|
|
280
|
-
dedicatedTypes: [
|
|
281
|
-
{ dtsType: "boolean", ui5Type: "boolean" }
|
|
282
|
-
]
|
|
283
|
-
}
|
|
284
|
-
],
|
|
285
|
-
dtsParamDescription:
|
|
286
|
-
'Returns whether the "ALT" key was pressed when the event was triggered.'
|
|
287
|
-
},
|
|
288
|
-
/**
|
|
289
|
-
* Returns whether the "CTRL" key was pressed when the event was triggered.
|
|
290
|
-
*/
|
|
291
|
-
ctrlKey: {
|
|
292
|
-
type: "boolean",
|
|
293
|
-
types: [
|
|
294
|
-
{
|
|
295
|
-
origType: "boolean",
|
|
296
|
-
multiple: false,
|
|
297
|
-
dedicatedTypes: [
|
|
298
|
-
{ dtsType: "boolean", ui5Type: "boolean" }
|
|
299
|
-
]
|
|
300
|
-
}
|
|
301
|
-
],
|
|
302
|
-
dtsParamDescription:
|
|
303
|
-
'Returns whether the "CTRL" key was pressed when the event was triggered.'
|
|
304
|
-
},
|
|
305
|
-
/**
|
|
306
|
-
* Returns whether the "META" key was pressed when the event was triggered.
|
|
307
|
-
*/
|
|
308
|
-
metaKey: {
|
|
309
|
-
type: "boolean",
|
|
310
|
-
types: [
|
|
311
|
-
{
|
|
312
|
-
origType: "boolean",
|
|
313
|
-
multiple: false,
|
|
314
|
-
dedicatedTypes: [
|
|
315
|
-
{ dtsType: "boolean", ui5Type: "boolean" }
|
|
316
|
-
]
|
|
317
|
-
}
|
|
318
|
-
],
|
|
319
|
-
dtsParamDescription:
|
|
320
|
-
'Returns whether the "META" key was pressed when the event was triggered.'
|
|
321
|
-
},
|
|
322
|
-
/**
|
|
323
|
-
* Returns whether the "SHIFT" key was pressed when the event was triggered.
|
|
324
|
-
*/
|
|
325
|
-
shiftKey: {
|
|
326
|
-
type: "boolean",
|
|
327
|
-
types: [
|
|
328
|
-
{
|
|
329
|
-
origType: "boolean",
|
|
330
|
-
multiple: false,
|
|
331
|
-
dedicatedTypes: [
|
|
332
|
-
{ dtsType: "boolean", ui5Type: "boolean" }
|
|
333
|
-
]
|
|
334
|
-
}
|
|
335
|
-
],
|
|
336
|
-
dtsParamDescription:
|
|
337
|
-
'Returns whether the "SHIFT" key was pressed when the event was triggered.'
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
},
|
|
342
|
-
|
|
343
|
-
getters: [],
|
|
344
|
-
|
|
345
|
-
methods: []
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
);
|
|
349
|
-
|
|
350
|
-
EnabledPropagator.call(WrapperClass.prototype);
|
|
351
|
-
|
|
352
|
-
return WrapperClass;
|
|
353
|
-
}
|
|
354
|
-
);
|
|
6
|
+
sap.ui.define(["sap/ui/core/webc/WebComponent","sap/ui/core/EnabledPropagator","sap/f/gen/ui5/webcomponents","sap/f/thirdparty/Button"],function(e,t){"use strict";const p=e.extend("sap.f.gen.ui5.webcomponents.dist.Button",{metadata:{tag:"ui5-button-cc7fb471",namespace:"sap.f.gen.ui5.webcomponents",library:"sap.f",designtime:"sap/f/gen/ui5/webcomponents/designtime/Button.designtime",interfaces:["sap.f.gen.ui5.webcomponents.IButton"],defaultAggregation:"",properties:{design:{type:"sap.f.gen.ui5.webcomponents.ButtonDesign",mapping:"property",defaultValue:"Default"},enabled:{type:"boolean",defaultValue:"true",mapping:{type:"property",to:"disabled",formatter:"_mapEnabled"}},icon:{type:"string",mapping:"property"},endIcon:{type:"string",mapping:"property"},submits:{type:"boolean",mapping:"property",defaultValue:false},accessibleName:{type:"string",mapping:"property"},accessibilityAttributes:{type:"any",mapping:"property",defaultValue:"{}"},accessibleDescription:{type:"string",mapping:"property"},type:{type:"sap.f.gen.ui5.webcomponents.ButtonType",mapping:"property",defaultValue:"Button"},accessibleRole:{type:"sap.f.gen.ui5.webcomponents.ButtonAccessibleRole",mapping:"property",defaultValue:"Button"},loading:{type:"boolean",mapping:"property",defaultValue:false},loadingDelay:{type:"float",mapping:"property",defaultValue:1e3},text:{type:"string",mapping:"textContent"},width:{type:"sap.ui.core.CSSSize",mapping:"style"},height:{type:"sap.ui.core.CSSSize",mapping:"style"}},aggregations:{badge:{type:"sap.f.gen.ui5.webcomponents.dist.ButtonBadge",multiple:true,slot:"badge"}},associations:{ariaLabelledBy:{type:"sap.ui.core.Control",multiple:true,mapping:{type:"property",to:"accessibleNameRef",formatter:"_getAriaLabelledByForRendering"}}},events:{click:{allowPreventDefault:true,enableEventBubbling:true,parameters:{originalEvent:{type:"object",types:[{origType:"Event",multiple:false,dedicatedTypes:[{dtsType:"Event",ui5Type:"object"}]}],dtsParamDescription:"Returns original event that comes from user's **click** interaction"},altKey:{type:"boolean",types:[{origType:"boolean",multiple:false,dedicatedTypes:[{dtsType:"boolean",ui5Type:"boolean"}]}],dtsParamDescription:'Returns whether the "ALT" key was pressed when the event was triggered.'},ctrlKey:{type:"boolean",types:[{origType:"boolean",multiple:false,dedicatedTypes:[{dtsType:"boolean",ui5Type:"boolean"}]}],dtsParamDescription:'Returns whether the "CTRL" key was pressed when the event was triggered.'},metaKey:{type:"boolean",types:[{origType:"boolean",multiple:false,dedicatedTypes:[{dtsType:"boolean",ui5Type:"boolean"}]}],dtsParamDescription:'Returns whether the "META" key was pressed when the event was triggered.'},shiftKey:{type:"boolean",types:[{origType:"boolean",multiple:false,dedicatedTypes:[{dtsType:"boolean",ui5Type:"boolean"}]}],dtsParamDescription:'Returns whether the "SHIFT" key was pressed when the event was triggered.'}}}},getters:[],methods:[]}});t.call(p.prototype);return p});
|
|
7
|
+
//# sourceMappingURL=Button.js.map
|