@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
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
|
|
3
|
-
const n=/^(?:a|area)$/i,a=/^(?:input|select|textarea|button)$/i,r=e=>{if(e.disabled)return false;const t=e.getAttribute("tabindex");return t!=null?parseInt(t)>=0:a.test(e.nodeName)||n.test(e.nodeName)&&!!e.href};
|
|
4
|
-
|
|
5
|
-
const c=e=>e.hasAttribute("data-ui5-focus-trap"),d=e=>{const l=getComputedStyle(e);return e.scrollHeight>e.clientHeight&&["scroll","auto"].indexOf(l.overflowY)>=0||e.scrollWidth>e.clientWidth&&["scroll","auto"].indexOf(l.overflowX)>=0},b=async(e,l)=>!e||ListItemBase.i(e)?null:u(e,true),H=async(e,l)=>!e||ListItemBase.i(e)?null:u(e,false),T=e=>e.hasAttribute("data-ui5-focus-redirect")||!ListItemBase.i(e),L=e=>{if(webcomponentsBase.v(e)){const l=e.getAttribute("tabindex");if(l!==null&&parseInt(l)<0)return true}return false},u=async(e,l,r$1)=>{let t,s,n=-1;e.shadowRoot?t=l?e.shadowRoot.firstElementChild:e.shadowRoot.lastElementChild:e instanceof HTMLSlotElement&&e.assignedNodes()?(s=e.assignedElements(),n=l?0:s.length-1,t=s[n]):t=l?e.firstElementChild:e.lastElementChild;let i;for(;t;){const m=t;if(!ListItemBase.i(m)&&!L(m)){if(webcomponentsBase.v(t)&&(await t._waitForDomRef(),t=t.getDomRef()),!t||ListItemBase.i(t))return null;if(t.nodeType===1&&T(t)&&!c(t)){if(r(t)||(i=await u(t,l),!Icons.h()&&!i&&d(t)))return t&&typeof t.focus=="function"?t:null;if(i)return i&&typeof i.focus=="function"?i:null}}t=l?m.nextElementSibling:m.previousElementSibling,s&&!s[n].contains(t)&&(n=l?n+1:n-1,t=s[n]);}return null};
|
|
6
|
-
|
|
7
|
-
exports.H = H;
|
|
8
|
-
exports.b = b;
|
|
9
|
-
|
|
10
|
-
}));
|
|
1
|
+
sap.ui.define(["exports","sap/f/thirdparty/ListItemBase","sap/f/thirdparty/webcomponents","sap/f/thirdparty/Theme"],function(t,e,n,i){"use strict";const l=/^(?:a|area)$/i,s=/^(?:input|select|textarea|button)$/i,o=t=>{if(t.disabled)return false;const e=t.getAttribute("tabindex");return e!=null?parseInt(e)>=0:s.test(t.nodeName)||l.test(t.nodeName)&&!!t.href};const r=t=>t.hasAttribute("data-ui5-focus-trap"),a=t=>{const e=getComputedStyle(t);return t.scrollHeight>t.clientHeight&&["scroll","auto"].indexOf(e.overflowY)>=0||t.scrollWidth>t.clientWidth&&["scroll","auto"].indexOf(e.overflowX)>=0},u=async(t,n)=>!t||e.i(t)?null:h(t,true),f=async(t,n)=>!t||e.i(t)?null:h(t,false),d=t=>t.hasAttribute("data-ui5-focus-redirect")||!e.i(t),c=t=>{if(n.y(t)){const e=t.getAttribute("tabindex");if(e!==null&&parseInt(e)<0)return true}return false},h=async(t,l,s)=>{let u,f,p=-1;t.shadowRoot?u=l?t.shadowRoot.firstElementChild:t.shadowRoot.lastElementChild:t instanceof HTMLSlotElement&&t.assignedNodes()?(f=t.assignedElements(),p=l?0:f.length-1,u=f[p]):u=l?t.firstElementChild:t.lastElementChild;let m;for(;u;){const t=u;if(!e.i(t)&&!c(t)){if(n.y(u)&&(await u._waitForDomRef(),u=u.getDomRef()),!u||e.i(u))return null;if(u.nodeType===1&&d(u)&&!r(u)){if(o(u)||(m=await h(u,l),!i.h()&&!m&&a(u)))return u&&typeof u.focus=="function"?u:null;if(m)return m&&typeof m.focus=="function"?m:null}}u=l?t.nextElementSibling:t.previousElementSibling,f&&!f[p].contains(u)&&(p=l?p+1:p-1,u=f[p])}return null};t.H=f;t.b=u});
|
|
2
|
+
//# sourceMappingURL=FocusableElements.js.map
|
|
@@ -1,313 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
|
|
3
|
-
function IconTemplate() {
|
|
4
|
-
return (parametersBundle_css.jsxs("svg", { class: "ui5-icon-root", part: "root", tabindex: this._tabIndex, dir: this._dir, viewBox: this.viewBox, role: this.effectiveAccessibleRole, focusable: "false", preserveAspectRatio: "xMidYMid meet", "aria-label": this.effectiveAccessibleName, "aria-hidden": this.effectiveAriaHidden, xmlns: "http://www.w3.org/2000/svg", onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, children: [this.hasIconTooltip &&
|
|
5
|
-
parametersBundle_css.jsxs("title", { id: `${this._id}-tooltip`, children: [" ", this.effectiveAccessibleName, " "] }), parametersBundle_css.jsx("g", { role: "presentation", children: content.call(this) })] }));
|
|
6
|
-
}
|
|
7
|
-
function content() {
|
|
8
|
-
if (this.customTemplate) {
|
|
9
|
-
return this.customTemplate;
|
|
10
|
-
}
|
|
11
|
-
if (this.customTemplateAsString) {
|
|
12
|
-
return parametersBundle_css.jsx("g", { dangerouslySetInnerHTML: { __html: this.customTemplateAsString } });
|
|
13
|
-
}
|
|
14
|
-
return this.pathData.map(path => (parametersBundle_css.jsx("path", { d: path })));
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Different Icon modes.
|
|
19
|
-
* @public
|
|
20
|
-
* @since 2.0.0
|
|
21
|
-
*/
|
|
22
|
-
var IconMode;
|
|
23
|
-
(function (IconMode) {
|
|
24
|
-
/**
|
|
25
|
-
* Image mode (by default).
|
|
26
|
-
* Configures the component to internally render role="img".
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
IconMode["Image"] = "Image";
|
|
30
|
-
/**
|
|
31
|
-
* Decorative mode.
|
|
32
|
-
* Configures the component to internally render role="presentation" and aria-hidden="true",
|
|
33
|
-
* making it purely decorative without semantic content or interactivity.
|
|
34
|
-
* @public
|
|
35
|
-
*/
|
|
36
|
-
IconMode["Decorative"] = "Decorative";
|
|
37
|
-
/**
|
|
38
|
-
* Interactive mode.
|
|
39
|
-
* Configures the component to internally render role="button".
|
|
40
|
-
* This mode also supports focus and press handling to enhance interactivity.
|
|
41
|
-
* @public
|
|
42
|
-
*/
|
|
43
|
-
IconMode["Interactive"] = "Interactive";
|
|
44
|
-
})(IconMode || (IconMode = {}));
|
|
45
|
-
var IconMode$1 = IconMode;
|
|
46
|
-
|
|
47
|
-
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
48
|
-
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
49
|
-
var iconCss = `:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-v2-15-0-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top}:host([mode="Interactive"]){cursor:pointer}.ui5-icon-root:not([dir=ltr])>g{transform:var(--_ui5-v2-15-0_icon_transform_scale);transform-origin:center}
|
|
50
|
-
`;
|
|
51
|
-
|
|
52
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
53
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
54
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
55
|
-
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;
|
|
56
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
57
|
-
};
|
|
58
|
-
const ICON_NOT_FOUND = "ICON_NOT_FOUND";
|
|
59
|
-
/**
|
|
60
|
-
* @class
|
|
61
|
-
* ### Overview
|
|
62
|
-
*
|
|
63
|
-
* The `ui5-icon` component represents an SVG icon.
|
|
64
|
-
* There are two main scenarios how the `ui5-icon` component is used:
|
|
65
|
-
* as a purely decorative element,
|
|
66
|
-
* or as an interactive element that can be focused and clicked.
|
|
67
|
-
*
|
|
68
|
-
* ### Usage
|
|
69
|
-
*
|
|
70
|
-
* 1. **Get familiar with the icons collections.**
|
|
71
|
-
*
|
|
72
|
-
* Before displaying an icon, you need to explore the icons collections to find and import the desired icon.
|
|
73
|
-
*
|
|
74
|
-
* Currently there are 3 icons collection, available as 3 npm packages:
|
|
75
|
-
*
|
|
76
|
-
* - [@ui5/webcomponents-icons](https://www.npmjs.com/package/@ui5/webcomponents-icons) represents the "SAP-icons" collection and includes the following
|
|
77
|
-
* [icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons).
|
|
78
|
-
* - [@ui5/webcomponents-icons-tnt](https://www.npmjs.com/package/@ui5/webcomponents-icons-tnt) represents the "tnt" collection and includes the following
|
|
79
|
-
* [icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT).
|
|
80
|
-
* - [@ui5/webcomponents-icons-business-suite](https://www.npmjs.com/package/@ui5/webcomponents-icons-business-suite) represents the "business-suite" collection and includes the following
|
|
81
|
-
* [icons](https://ui5.sap.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/BusinessSuiteInAppSymbols).
|
|
82
|
-
*
|
|
83
|
-
* 2. **After exploring the icons collections, add one or more of the packages as dependencies to your project.**
|
|
84
|
-
*
|
|
85
|
-
* `npm i @ui5/webcomponents-icons`
|
|
86
|
-
* `npm i @ui5/webcomponents-icons-tnt`
|
|
87
|
-
* `npm i @ui5/webcomponents-icons-business-suite`
|
|
88
|
-
*
|
|
89
|
-
* 3. **Then, import the desired icon**.
|
|
90
|
-
*
|
|
91
|
-
* `import "@ui5/\{package_name\}/dist/\{icon_name\}.js";`
|
|
92
|
-
*
|
|
93
|
-
* **For Example**:
|
|
94
|
-
*
|
|
95
|
-
* For the standard "SAP-icons" icon collection, import an icon from the `@ui5/webcomponents-icons` package:
|
|
96
|
-
*
|
|
97
|
-
* `import "@ui5/webcomponents-icons/dist/employee.js";`
|
|
98
|
-
*
|
|
99
|
-
* For the "tnt" (SAP Fiori Tools) icon collection, import an icon from the `@ui5/webcomponents-icons-tnt` package:
|
|
100
|
-
*
|
|
101
|
-
* `import "@ui5/webcomponents-icons-tnt/dist/antenna.js";`
|
|
102
|
-
*
|
|
103
|
-
* For the "business-suite" (SAP Business Suite) icon collection, import an icon from the `@ui5/webcomponents-icons-business-suite` package:
|
|
104
|
-
*
|
|
105
|
-
* `import "@ui5/webcomponents-icons-business-suite/dist/ab-testing.js";`
|
|
106
|
-
*
|
|
107
|
-
* 4. **Display the icon using the `ui5-icon` web component.**
|
|
108
|
-
* Set the icon collection ("SAP-icons", "tnt" or "business-suite" - "SAP-icons" is the default icon collection and can be skipped)
|
|
109
|
-
* and the icon name to the `name` property.
|
|
110
|
-
*
|
|
111
|
-
* `<ui5-icon name="employee"></ui5-icon>`
|
|
112
|
-
* `<ui5-icon name="tnt/antenna"></ui5-icon>`
|
|
113
|
-
* `<ui5-icon name="business-suite/ab-testing"></ui5-icon>`
|
|
114
|
-
*
|
|
115
|
-
* ### Keyboard Handling
|
|
116
|
-
*
|
|
117
|
-
* - [Space] / [Enter] or [Return] - Fires the `click` event if the `mode` property is set to `Interactive`.
|
|
118
|
-
* - [Shift] - If [Space] / [Enter] or [Return] is pressed, pressing [Shift] releases the ui5-icon without triggering the click event.
|
|
119
|
-
*
|
|
120
|
-
* ### ES6 Module Import
|
|
121
|
-
*
|
|
122
|
-
* `import "@ui5/webcomponents/dist/Icon.js";`
|
|
123
|
-
* @csspart root - Used to style the outermost wrapper of the `ui5-icon`.
|
|
124
|
-
* @constructor
|
|
125
|
-
* @extends UI5Element
|
|
126
|
-
* @implements {IIcon}
|
|
127
|
-
* @public
|
|
128
|
-
*/
|
|
129
|
-
let Icon = class Icon extends webcomponentsBase.b {
|
|
130
|
-
constructor() {
|
|
131
|
-
super(...arguments);
|
|
132
|
-
/**
|
|
133
|
-
* Defines the component semantic design.
|
|
134
|
-
* @default "Default"
|
|
135
|
-
* @public
|
|
136
|
-
* @since 1.9.2
|
|
137
|
-
*/
|
|
138
|
-
this.design = "Default";
|
|
139
|
-
/**
|
|
140
|
-
* Defines whether the component should have a tooltip.
|
|
141
|
-
*
|
|
142
|
-
* **Note:** The tooltip text should be provided via the `accessible-name` property.
|
|
143
|
-
* @default false
|
|
144
|
-
* @public
|
|
145
|
-
*/
|
|
146
|
-
this.showTooltip = false;
|
|
147
|
-
/**
|
|
148
|
-
* Defines the mode of the component.
|
|
149
|
-
* @default "Decorative"
|
|
150
|
-
* @public
|
|
151
|
-
* @since 2.0.0
|
|
152
|
-
*/
|
|
153
|
-
this.mode = "Decorative";
|
|
154
|
-
/**
|
|
155
|
-
* @private
|
|
156
|
-
*/
|
|
157
|
-
this.pathData = [];
|
|
158
|
-
/**
|
|
159
|
-
* @private
|
|
160
|
-
*/
|
|
161
|
-
this.invalid = false;
|
|
162
|
-
}
|
|
163
|
-
_onkeydown(e) {
|
|
164
|
-
if (this.mode !== IconMode$1.Interactive) {
|
|
165
|
-
return;
|
|
166
|
-
}
|
|
167
|
-
if (webcomponentsBase.b$1(e)) {
|
|
168
|
-
this.fireDecoratorEvent("click");
|
|
169
|
-
}
|
|
170
|
-
if (webcomponentsBase.A(e)) {
|
|
171
|
-
e.preventDefault(); // prevent scrolling
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
_onkeyup(e) {
|
|
175
|
-
if (this.mode === IconMode$1.Interactive && webcomponentsBase.A(e)) {
|
|
176
|
-
this.fireDecoratorEvent("click");
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Enforce "ltr" direction, based on the icons collection metadata.
|
|
181
|
-
*/
|
|
182
|
-
get _dir() {
|
|
183
|
-
return this.ltr ? "ltr" : undefined;
|
|
184
|
-
}
|
|
185
|
-
get effectiveAriaHidden() {
|
|
186
|
-
return this.mode === IconMode$1.Decorative ? "true" : undefined;
|
|
187
|
-
}
|
|
188
|
-
get _tabIndex() {
|
|
189
|
-
return this.mode === IconMode$1.Interactive ? 0 : undefined;
|
|
190
|
-
}
|
|
191
|
-
get effectiveAccessibleRole() {
|
|
192
|
-
switch (this.mode) {
|
|
193
|
-
case IconMode$1.Interactive:
|
|
194
|
-
return "button";
|
|
195
|
-
case IconMode$1.Decorative:
|
|
196
|
-
return "presentation";
|
|
197
|
-
default:
|
|
198
|
-
return "img";
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
onEnterDOM() {
|
|
202
|
-
if (Icons.f()) {
|
|
203
|
-
this.setAttribute("desktop", "");
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
async onBeforeRendering() {
|
|
207
|
-
const name = this.name;
|
|
208
|
-
if (!name) {
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
let iconData = Icons.D(name);
|
|
212
|
-
if (!iconData) {
|
|
213
|
-
iconData = await Icons.n(name);
|
|
214
|
-
}
|
|
215
|
-
if (!iconData) {
|
|
216
|
-
this.invalid = true;
|
|
217
|
-
/* eslint-disable-next-line */
|
|
218
|
-
return console.warn(`Required icon is not registered. Invalid icon name: ${this.name}`);
|
|
219
|
-
}
|
|
220
|
-
if (iconData === ICON_NOT_FOUND) {
|
|
221
|
-
this.invalid = true;
|
|
222
|
-
/* eslint-disable-next-line */
|
|
223
|
-
return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "@ui5/webcomponents-icons/dist/${name.replace("sap-icon://", "")}.js", or setup a JSON build step and import "@ui5/webcomponents-icons/dist/AllIcons.js".`);
|
|
224
|
-
}
|
|
225
|
-
this.viewBox = iconData.viewBox || "0 0 512 512";
|
|
226
|
-
if ("customTemplate" in iconData && iconData.customTemplate) {
|
|
227
|
-
this.customTemplate = webcomponentsBase.n$1(iconData.customTemplate, this);
|
|
228
|
-
}
|
|
229
|
-
if ("customTemplateAsString" in iconData) {
|
|
230
|
-
this.customTemplateAsString = iconData.customTemplateAsString;
|
|
231
|
-
}
|
|
232
|
-
// in case a new valid name is set, show the icon
|
|
233
|
-
this.invalid = false;
|
|
234
|
-
if ("pathData" in iconData && iconData.pathData) {
|
|
235
|
-
this.pathData = Array.isArray(iconData.pathData) ? iconData.pathData : [iconData.pathData];
|
|
236
|
-
}
|
|
237
|
-
this.accData = iconData.accData;
|
|
238
|
-
this.ltr = iconData.ltr;
|
|
239
|
-
this.packageName = iconData.packageName;
|
|
240
|
-
if (this.accessibleName) {
|
|
241
|
-
this.effectiveAccessibleName = this.accessibleName;
|
|
242
|
-
}
|
|
243
|
-
else if (this.accData) {
|
|
244
|
-
if (this.packageName) {
|
|
245
|
-
const i18nBundle = await Icons.f$2(this.packageName);
|
|
246
|
-
this.effectiveAccessibleName = i18nBundle.getText(this.accData) || undefined;
|
|
247
|
-
}
|
|
248
|
-
else {
|
|
249
|
-
this.effectiveAccessibleName = this.accData?.defaultText || undefined;
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
else {
|
|
253
|
-
this.effectiveAccessibleName = undefined;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
get hasIconTooltip() {
|
|
257
|
-
return this.showTooltip && this.effectiveAccessibleName;
|
|
258
|
-
}
|
|
259
|
-
};
|
|
260
|
-
__decorate([
|
|
261
|
-
webcomponentsBase.s()
|
|
262
|
-
], Icon.prototype, "design", void 0);
|
|
263
|
-
__decorate([
|
|
264
|
-
webcomponentsBase.s()
|
|
265
|
-
], Icon.prototype, "name", void 0);
|
|
266
|
-
__decorate([
|
|
267
|
-
webcomponentsBase.s()
|
|
268
|
-
], Icon.prototype, "accessibleName", void 0);
|
|
269
|
-
__decorate([
|
|
270
|
-
webcomponentsBase.s({ type: Boolean })
|
|
271
|
-
], Icon.prototype, "showTooltip", void 0);
|
|
272
|
-
__decorate([
|
|
273
|
-
webcomponentsBase.s()
|
|
274
|
-
], Icon.prototype, "mode", void 0);
|
|
275
|
-
__decorate([
|
|
276
|
-
webcomponentsBase.s({ type: Array })
|
|
277
|
-
], Icon.prototype, "pathData", void 0);
|
|
278
|
-
__decorate([
|
|
279
|
-
webcomponentsBase.s({ type: Object, noAttribute: true })
|
|
280
|
-
], Icon.prototype, "accData", void 0);
|
|
281
|
-
__decorate([
|
|
282
|
-
webcomponentsBase.s({ type: Boolean })
|
|
283
|
-
], Icon.prototype, "invalid", void 0);
|
|
284
|
-
__decorate([
|
|
285
|
-
webcomponentsBase.s({ noAttribute: true })
|
|
286
|
-
], Icon.prototype, "effectiveAccessibleName", void 0);
|
|
287
|
-
Icon = __decorate([
|
|
288
|
-
webcomponentsBase.m({
|
|
289
|
-
tag: "ui5-icon",
|
|
290
|
-
languageAware: true,
|
|
291
|
-
themeAware: true,
|
|
292
|
-
renderer: parametersBundle_css.y,
|
|
293
|
-
template: IconTemplate,
|
|
294
|
-
styles: iconCss,
|
|
295
|
-
})
|
|
296
|
-
/**
|
|
297
|
-
* Fired on mouseup, `SPACE` and `ENTER`.
|
|
298
|
-
* - on mouse click, the icon fires native `click` event
|
|
299
|
-
* - on `SPACE` and `ENTER`, the icon fires custom `click` event
|
|
300
|
-
* @public
|
|
301
|
-
* @since 2.11.0
|
|
302
|
-
*/
|
|
303
|
-
,
|
|
304
|
-
eventStrict.l("click", {
|
|
305
|
-
bubbles: true,
|
|
306
|
-
})
|
|
307
|
-
], Icon);
|
|
308
|
-
Icon.define();
|
|
309
|
-
var Icon$1 = Icon;
|
|
310
|
-
|
|
311
|
-
exports.Icon = Icon$1;
|
|
312
|
-
|
|
313
|
-
}));
|
|
1
|
+
sap.ui.define(["exports","sap/f/thirdparty/webcomponents","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/event-strict","sap/f/thirdparty/Icons","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/Theme","sap/f/thirdparty/i18n-defaults2"],function(e,t,i,o,s,a,r,n){"use strict";function c(){return i.jsxs("svg",{class:"ui5-icon-root",part:"root",tabindex:this._tabIndex,dir:this._dir,viewBox:this.viewBox,role:this.effectiveAccessibleRole,focusable:"false",preserveAspectRatio:"xMidYMid meet","aria-label":this.effectiveAccessibleName,"aria-hidden":this.effectiveAriaHidden,xmlns:"http://www.w3.org/2000/svg",onKeyDown:this._onkeydown,onKeyUp:this._onkeyup,children:[this.hasIconTooltip&&i.jsxs("title",{id:`${this._id}-tooltip`,children:[" ",this.effectiveAccessibleName," "]}),i.jsx("g",{role:"presentation",children:l.call(this)})]})}function l(){if(this.customTemplate){return this.customTemplate}if(this.customTemplateAsString){return i.jsx("g",{dangerouslySetInnerHTML:{__html:this.customTemplateAsString}})}return this.pathData.map(e=>i.jsx("path",{d:e}))}var h;(function(e){e["Image"]="Image";e["Decorative"]="Decorative";e["Interactive"]="Interactive"})(h||(h={}));var d=h;r.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);r.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>a.defaultTheme,"host");var p=`:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top}:host([mode="Interactive"]){cursor:pointer}.ui5-icon-root:not([dir=ltr])>g{transform:var(--_ui5_icon_transform_scale);transform-origin:center}\n`;var u=this&&this.__decorate||function(e,t,i,o){var s=arguments.length,a=s<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,i):o,r;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,i,o);else for(var n=e.length-1;n>=0;n--)if(r=e[n])a=(s<3?r(a):s>3?r(t,i,a):r(t,i))||a;return s>3&&a&&Object.defineProperty(t,i,a),a};var f;const m="ICON_NOT_FOUND";let v=f=class e extends t.S{constructor(){super(...arguments);this.design="Default";this.showTooltip=false;this.mode="Decorative";this.pathData=[];this.invalid=false}_onkeydown(e){if(this.mode!==d.Interactive){return}if(t.b(e)){this.fireDecoratorEvent("click")}if(t.A(e)){e.preventDefault()}}_onkeyup(e){if(this.mode===d.Interactive&&t.A(e)){this.fireDecoratorEvent("click")}}get _dir(){return this.ltr?"ltr":undefined}get effectiveAriaHidden(){return this.mode===d.Decorative?"true":undefined}get _tabIndex(){return this.mode===d.Interactive?0:undefined}get effectiveAccessibleRole(){switch(this.mode){case d.Interactive:return"button";case d.Decorative:return"presentation";default:return"img"}}onEnterDOM(){if(r.f$1()){this.setAttribute("desktop","")}}async onBeforeRendering(){const e=this.name;if(!e){return}let i=s.D(e);if(!i){i=await s.n(e)}if(!i){this.invalid=true;return console.warn(`Required icon is not registered. Invalid icon name: ${this.name}`)}if(i===m){this.invalid=true;return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "@ui5/webcomponents-icons/dist/${e.replace("sap-icon://","")}.js", or setup a JSON build step and import "@ui5/webcomponents-icons/dist/AllIcons.js".`)}this.viewBox=i.viewBox||"0 0 512 512";if("customTemplate"in i&&i.customTemplate){this.customTemplate=t.n$1(i.customTemplate,this)}if("customTemplateAsString"in i){this.customTemplateAsString=i.customTemplateAsString}this.invalid=false;if("pathData"in i&&i.pathData){this.pathData=Array.isArray(i.pathData)?i.pathData:[i.pathData]}this.accData=i.accData;this.ltr=i.ltr;this.packageName=i.packageName;if(this.accessibleName){this.effectiveAccessibleName=this.accessibleName}else if(this.accData){if(this.packageName){const e=await s.f(this.packageName);this.effectiveAccessibleName=e.getText(this.accData)||undefined}else{this.effectiveAccessibleName=this.accData?.defaultText||undefined}}else{this.effectiveAccessibleName=undefined}}get hasIconTooltip(){return this.showTooltip&&this.effectiveAccessibleName}_getAriaTypeDescription(){switch(this.mode){case d.Interactive:return f.i18nBundle.getText(n.ICON_ARIA_TYPE_INTERACTIVE);case d.Image:return f.i18nBundle.getText(n.ICON_ARIA_TYPE_IMAGE);default:return""}}get accessibilityInfo(){if(this.mode===d.Decorative){return{}}return{role:this.effectiveAccessibleRole,type:this._getAriaTypeDescription(),description:this.effectiveAccessibleName}}};u([t.s()],v.prototype,"design",void 0);u([t.s()],v.prototype,"name",void 0);u([t.s()],v.prototype,"accessibleName",void 0);u([t.s({type:Boolean})],v.prototype,"showTooltip",void 0);u([t.s()],v.prototype,"mode",void 0);u([t.s({type:Array})],v.prototype,"pathData",void 0);u([t.s({type:Object,noAttribute:true})],v.prototype,"accData",void 0);u([t.s({type:Boolean})],v.prototype,"invalid",void 0);u([t.s({noAttribute:true})],v.prototype,"effectiveAccessibleName",void 0);u([a.i("@ui5/webcomponents")],v,"i18nBundle",void 0);v=f=u([t.m({tag:"ui5-icon",languageAware:true,themeAware:true,renderer:i.y,template:c,styles:p}),o.l("click",{bubbles:true})],v);v.define();var g=v;e.Icon=g});
|
|
2
|
+
//# sourceMappingURL=Icon.js.map
|