@openui5/sap.f 1.145.0 → 1.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRDPARTY.txt +7 -7
- package/package.json +10 -10
- package/src/sap/f/.library +8 -8
- package/src/sap/f/Avatar.js +1 -1
- package/src/sap/f/AvatarGroup.js +8 -2
- package/src/sap/f/AvatarGroupItem.js +1 -1
- package/src/sap/f/CalendarAppointmentInCard.js +1 -1
- package/src/sap/f/CalendarInCard.js +1 -1
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +3 -3
- package/src/sap/f/DynamicPage.js +1 -1
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +8 -2
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +1 -1
- package/src/sap/f/GridContainerItemLayoutData.js +1 -1
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +1 -1
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/IllustratedMessage.js +1 -1
- package/src/sap/f/Illustration.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
- package/src/sap/f/ProductSwitch.js +1 -1
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/SearchManager.js +1 -1
- package/src/sap/f/ShellBar.js +1 -1
- package/src/sap/f/SidePanel.js +5 -1
- package/src/sap/f/SidePanelItem.js +7 -1
- package/src/sap/f/cards/BaseHeader.js +39 -26
- package/src/sap/f/cards/Header.js +7 -7
- package/src/sap/f/cards/NumericHeader.js +22 -23
- package/src/sap/f/cards/NumericIndicators.js +1 -2
- package/src/sap/f/cards/NumericSideIndicator.js +2 -3
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
- package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents/dist/Avatar.js +2 -246
- package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +2 -349
- package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +2 -126
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +2 -141
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +2 -60
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +2 -208
- package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +2 -283
- package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +2 -357
- package/src/sap/f/gen/ui5/webcomponents.js +2 -3155
- package/src/sap/f/gen/ui5/webcomponents_base.js +2 -600
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +2 -214
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +2 -203
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +2 -167
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +2 -248
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +2 -86
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +2 -254
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +2 -128
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +2 -56
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +2 -87
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +2 -75
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +2 -80
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +2 -669
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +2 -123
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +2 -140
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +2 -236
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +2 -72
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +2 -282
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +2 -134
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +2 -79
- package/src/sap/f/gen/ui5/webcomponents_fiori.js +2 -1859
- package/src/sap/f/library.js +3 -4
- package/src/sap/f/routing/Target.js +2 -2
- package/src/sap/f/semantic/AddAction.js +1 -1
- package/src/sap/f/semantic/CloseAction.js +1 -1
- package/src/sap/f/semantic/CopyAction.js +1 -1
- package/src/sap/f/semantic/DeleteAction.js +1 -1
- package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/f/semantic/EditAction.js +1 -1
- package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
- package/src/sap/f/semantic/FavoriteAction.js +1 -1
- package/src/sap/f/semantic/FlagAction.js +1 -1
- package/src/sap/f/semantic/FooterMainAction.js +1 -1
- package/src/sap/f/semantic/FullScreenAction.js +1 -1
- package/src/sap/f/semantic/MainAction.js +1 -1
- package/src/sap/f/semantic/MessagesIndicator.js +1 -1
- package/src/sap/f/semantic/NegativeAction.js +1 -1
- package/src/sap/f/semantic/PositiveAction.js +1 -1
- package/src/sap/f/semantic/PrintAction.js +1 -1
- package/src/sap/f/semantic/SemanticButton.js +1 -1
- package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/f/semantic/SendEmailAction.js +1 -1
- package/src/sap/f/semantic/SendMessageAction.js +1 -1
- package/src/sap/f/semantic/ShareInJamAction.js +1 -1
- package/src/sap/f/semantic/TitleMainAction.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
- package/src/sap/f/shellBar/CoPilot.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Search.js +1 -1
- package/src/sap/f/themes/base/AvatarGroup.less +2 -2
- package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +2 -13
- package/src/sap/f/thirdparty/Avatar.js +2 -453
- package/src/sap/f/thirdparty/BusyIndicator.js +2 -233
- package/src/sap/f/thirdparty/Button.js +2 -7
- package/src/sap/f/thirdparty/Button2.js +2 -656
- package/src/sap/f/thirdparty/FocusableElements.js +2 -10
- package/src/sap/f/thirdparty/Icon.js +2 -313
- package/src/sap/f/thirdparty/Icons.js +2 -56
- package/src/sap/f/thirdparty/IllustratedMessage.js +2 -1295
- package/src/sap/f/thirdparty/Illustrations.js +2 -9
- package/src/sap/f/thirdparty/Label.js +2 -115
- package/src/sap/f/thirdparty/Link.js +2 -316
- package/src/sap/f/thirdparty/List.js +2 -1253
- package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +2 -14
- package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +2 -10
- package/src/sap/f/thirdparty/ListItemBase.js +2 -251
- package/src/sap/f/thirdparty/ListItemGroup.js +2 -637
- package/src/sap/f/thirdparty/Menu.js +2 -389
- package/src/sap/f/thirdparty/MenuItem.js +2 -10
- package/src/sap/f/thirdparty/MenuItem2.js +2 -762
- package/src/sap/f/thirdparty/NotificationList.js +2 -291
- package/src/sap/f/thirdparty/NotificationListGroupItem.js +2 -310
- package/src/sap/f/thirdparty/NotificationListItem.js +2 -534
- package/src/sap/f/thirdparty/NotificationListItemBase.js +2 -98
- package/src/sap/f/thirdparty/ResponsivePopover.js +2 -2312
- package/src/sap/f/thirdparty/SearchItem.css.js +2 -10
- package/src/sap/f/thirdparty/SearchItem.js +2 -152
- package/src/sap/f/thirdparty/SearchItemGroup.js +2 -44
- package/src/sap/f/thirdparty/SearchItemShowMore.js +2 -86
- package/src/sap/f/thirdparty/SearchMessageArea.js +2 -49
- package/src/sap/f/thirdparty/SearchScope.js +2 -39
- package/src/sap/f/thirdparty/ShellBar.js +2 -1809
- package/src/sap/f/thirdparty/ShellBarBranding.js +2 -119
- package/src/sap/f/thirdparty/ShellBarItem.js +2 -89
- package/src/sap/f/thirdparty/ShellBarSearch.js +2 -7
- package/src/sap/f/thirdparty/ShellBarSearch2.js +2 -3453
- package/src/sap/f/thirdparty/ShellBarSpacer.js +2 -40
- package/src/sap/f/thirdparty/Tag.js +2 -302
- package/src/sap/f/thirdparty/Text.js +2 -127
- package/src/sap/f/thirdparty/Theme.js +2 -187
- package/src/sap/f/thirdparty/Title.js +2 -167
- package/src/sap/f/thirdparty/UserMenu.js +2 -950
- package/src/sap/f/thirdparty/UserMenuAccount.js +2 -114
- package/src/sap/f/thirdparty/UserMenuItem.js +2 -61
- package/src/sap/f/thirdparty/ValueState.js +2 -7
- package/src/sap/f/thirdparty/WrappingType.js +2 -24
- package/src/sap/f/thirdparty/_dynamics/InputComposition.js +2 -35
- package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +2 -397
- package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +2 -193
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +2 -585
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +2 -585
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +2 -1194
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +2 -1194
- package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2 -2509
- package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2 -2509
- package/src/sap/f/thirdparty/_dynamics/ar.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ar_EG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ar_SA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/bg.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ca.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/cnr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/cs.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/da.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/de.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/de_AT.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/de_CH.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/el.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/el_CY.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_AU.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_GB.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_HK.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_IE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_IN.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_NZ.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_PG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_SG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/en_ZA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_AR.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_BO.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_CL.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_CO.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_MX.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_PE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_UY.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/es_VE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/et.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fa.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fi.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_BE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_CA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_CH.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/fr_LU.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/he.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/hi.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/hr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/hu.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/id.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/it.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/it_CH.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ja.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/kk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ko.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/lt.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/lv.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +2 -866
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +2 -611
- package/src/sap/f/thirdparty/_dynamics/mk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ms.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/nb.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/nl.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/nl_BE.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +2 -7
- package/src/sap/f/thirdparty/_dynamics/pl.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/pt.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/pt_PT.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ro.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ru.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/ru_UA.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sl.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sr_Latn.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/sv.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/th.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/tr.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/uk.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/vi.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_CN.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_HK.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_SG.js +2 -0
- package/src/sap/f/thirdparty/_dynamics/zh_TW.js +2 -0
- package/src/sap/f/thirdparty/encodeXML.js +6 -81
- package/src/sap/f/thirdparty/event-strict.js +2 -7
- package/src/sap/f/thirdparty/generateHighlightedMarkup.js +2 -9
- package/src/sap/f/thirdparty/i18n-defaults.js +2 -123
- package/src/sap/f/thirdparty/i18n-defaults2.js +2 -159
- package/src/sap/f/thirdparty/information.js +2 -100
- package/src/sap/f/thirdparty/information2.js +2 -13
- package/src/sap/f/thirdparty/overflow.js +2 -25
- package/src/sap/f/thirdparty/parameters-bundle.css.js +2 -11
- package/src/sap/f/thirdparty/parameters-bundle.css2.js +2 -44
- package/src/sap/f/thirdparty/parameters-bundle.css3.js +2 -8
- package/src/sap/f/thirdparty/query.js +2 -7
- package/src/sap/f/thirdparty/slim-arrow-down.js +2 -44
- package/src/sap/f/thirdparty/sys-enter-2.js +2 -7
- package/src/sap/f/thirdparty/toLowercaseEnumValue.js +2 -7
- package/src/sap/f/thirdparty/ui5/webcomponents_fiori/dist/illustrations/UnableToUpload.js +2 -132
- package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +2 -26
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +2 -26
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +2 -26
- package/src/sap/f/thirdparty/webcomponents-base.js +2 -7
- package/src/sap/f/thirdparty/webcomponents-fiori.js +2 -5
- package/src/sap/f/thirdparty/webcomponents.js +51 -4589
- package/src/sap/f/thirdparty/willShowContent.js +2 -7
- package/src/sap/f/thirdparty/ListItemCustom.js +0 -1689
|
@@ -1,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),!Theme.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
|
-
Theme.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
48
|
-
Theme.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
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 (Theme.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(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
|
|
@@ -1,56 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
|
|
3
|
-
const t$5=typeof document>"u",o$1=()=>{if(t$5)return Theme.a$1;const a=navigator.languages,n=()=>navigator.language;return a&&a[0]||n()||Theme.a$1};
|
|
4
|
-
|
|
5
|
-
const e$2=new Theme.i$1,n$5="languageChange",t$4=a=>{e$2.attachEvent(n$5,a);},r$5=a=>{e$2.detachEvent(n$5,a);},o=a=>e$2.fireEventAsync(n$5,a);
|
|
6
|
-
|
|
7
|
-
let e$1,t$3;Theme.i$2(()=>{e$1=void 0,t$3=void 0;});let a$1=false;const s$4=()=>a$1,l$2=()=>(e$1===void 0&&(e$1=Theme.L()),e$1),L$1=async n=>{e$1!==n&&(a$1=true,e$1=n,await o(n),a$1=false,Theme.h$1()&&await Theme.C({languageAware:true}));},c$5=()=>Theme.a$1,m$1=n=>{t$3=n;},h$1=()=>(t$3===void 0&&(t$3=Theme.R()),t$3);
|
|
8
|
-
|
|
9
|
-
const n$4=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;let r$4 = class r{constructor(s){const t=n$4.exec(s.replace(/_/g,"-"));if(t===null)throw new Error(`The given language ${s} does not adhere to BCP-47.`);this.sLocaleId=s,this.sLanguage=t[1]||Theme.a$1,this.sScript=t[2]||"",this.sRegion=t[3]||"",this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,i=>i.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase());}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(s){return this.getPrivateUseSubtags().indexOf(s)>=0}toString(){const s=[this.sLanguage];return this.sScript&&s.push(this.sScript),this.sRegion&&s.push(this.sRegion),this.sVariant&&s.push(this.sVariant),this.sExtension&&s.push(this.sExtension),this.sPrivateUse&&s.push(this.sPrivateUse),s.join("-")}};
|
|
10
|
-
|
|
11
|
-
const r$3=new Map,n$3=t=>(r$3.has(t)||r$3.set(t,new r$4(t)),r$3.get(t)),c$4=t=>{try{if(t&&typeof t=="string")return n$3(t)}catch{}return new r$4(Theme.r$1)},s$3=t=>{const e=l$2();return e?n$3(e):c$4(o$1())};
|
|
12
|
-
|
|
13
|
-
const _=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,c$3=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,f$3={he:"iw",yi:"ji",nb:"no",sr:"sh"},p=i=>{let e;if(!i)return Theme.r$1;if(typeof i=="string"&&(e=_.exec(i.replace(/_/g,"-")))){let t=e[1].toLowerCase(),n=e[3]?e[3].toUpperCase():void 0;const s=e[2]?e[2].toLowerCase():void 0,r=e[4]?e[4].slice(1):void 0,o=e[6];return t=f$3[t]||t,o&&(e=c$3.exec(o))||r&&(e=c$3.exec(r))?`en_US_${e[1].toLowerCase()}`:(t==="zh"&&!n&&(s==="hans"?n="CN":s==="hant"&&(n="TW")),t+(n?"_"+n+(r?"_"+r.replace("-","_"):""):""))}return Theme.r$1};
|
|
14
|
-
|
|
15
|
-
const r$2={zh_HK:"zh_TW",in:"id"},n$2=t=>{if(!t)return Theme.r$1;if(r$2[t])return r$2[t];const L=t.lastIndexOf("_");return L>=0?t.slice(0,L):t!==Theme.r$1?Theme.r$1:""};
|
|
16
|
-
|
|
17
|
-
const d=new Set,m=new Set,g$2=new Map,l$1=new Map,u$2=new Map,$=(n,t,e)=>{const r=`${n}/${t}`;u$2.set(r,e);},f$2=(n,t)=>{g$2.set(n,t);},A$1=n=>g$2.get(n),h=(n,t)=>{const e=`${n}/${t}`;return u$2.has(e)},B=(n,t)=>{const e=`${n}/${t}`,r=u$2.get(e);return r&&!l$1.get(e)&&l$1.set(e,r(t)),l$1.get(e)},M=n=>{d.has(n)||(console.warn(`[${n}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${n}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),d.add(n));},L=(n,t)=>t!==Theme.a$1&&!h(n,t),w$1=async n=>{const t=s$3().getLanguage(),e=s$3().getRegion(),r=s$3().getVariant();let s=t+(e?`-${e}`:"")+(r?`-${r}`:"");if(L(n,s))for(s=p(s);L(n,s);)s=n$2(s);const I=h$1();if(s===Theme.a$1&&!I){f$2(n,null);return}if(!h(n,s)){M(n);return}try{const o=await B(n,s);f$2(n,o);}catch(o){const a=o;m.has(a.message)||(m.add(a.message),console.error(a.message));}};t$4(n=>{const t=[...g$2.keys()];return Promise.all(t.map(w$1))});
|
|
18
|
-
|
|
19
|
-
const t$2=new Map,e=(n,o)=>{t$2.set(n,o);},c$2=n=>t$2.get(n);
|
|
20
|
-
|
|
21
|
-
var t$1=(o=>(o.SAPIconsV4="SAP-icons-v4",o.SAPIconsV5="SAP-icons-v5",o.SAPIconsTNTV2="tnt-v2",o.SAPIconsTNTV3="tnt-v3",o.SAPBSIconsV1="business-suite-v1",o.SAPBSIconsV2="business-suite-v2",o))(t$1||{});const s$2=new Map;s$2.set("SAP-icons",{legacy:"SAP-icons-v4",sap_horizon:"SAP-icons-v5"}),s$2.set("tnt",{legacy:"tnt-v2",sap_horizon:"tnt-v3"}),s$2.set("business-suite",{legacy:"business-suite-v1",sap_horizon:"business-suite-v2"});const c$1=(n,e)=>{if(s$2.has(n)){s$2.set(n,{...e,...s$2.get(n)});return}s$2.set(n,e);},r$1=n=>{const e=Theme.n()?"legacy":"sap_horizon";return s$2.has(n)?s$2.get(n)[e]:n};
|
|
22
|
-
|
|
23
|
-
var t=(s=>(s["SAP-icons"]="SAP-icons-v4",s.horizon="SAP-icons-v5",s["SAP-icons-TNT"]="tnt",s.BusinessSuiteInAppSymbols="business-suite",s))(t||{});const n$1=e=>t[e]?t[e]:e;
|
|
24
|
-
|
|
25
|
-
const i$2=o=>{const t=c$2(Theme.r());return !o&&t?n$1(t):o?r$1(o):r$1("SAP-icons")};
|
|
26
|
-
|
|
27
|
-
const g$1=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,i$1=(n,t)=>(t=t||[],n.replace(g$1,(p,s,e,r,o)=>{if(s)return "'";if(e)return e.replace(/''/g,"'");if(r){const a=typeof r=="string"?parseInt(r):r;return String(t[a])}throw new Error(`[i18n]: pattern syntax error at pos ${o}`)}));
|
|
28
|
-
|
|
29
|
-
const r=new Map;let s$1;let u$1 = class u{constructor(e){this.packageName=e;}getText(e,...i){if(typeof e=="string"&&(e={key:e,defaultText:e}),!e||!e.key)return "";const t=A$1(this.packageName);t&&!t[e.key]&&console.warn(`Key ${e.key} not found in the i18n bundle, the default text will be used`);const l=t&&t[e.key]?t[e.key]:e.defaultText||e.key;return i$1(l,i)}};const a=n=>{if(r.has(n))return r.get(n);const e=new u$1(n);return r.set(n,e),e},f$1=async n=>s$1?s$1(n):(await w$1(n),a(n)),y$1=n=>{s$1=n;};
|
|
30
|
-
|
|
31
|
-
const w="legacy",s=new Map,c=Theme.m("SVGIcons.registry",new Map),i=Theme.m("SVGIcons.promises",new Map),l="ICON_NOT_FOUND",C=(e,t)=>{s.set(e,t);},N=async e=>{if(!i.has(e)){if(!s.has(e))throw new Error(`No loader registered for the ${e} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const t=s.get(e);i.set(e,t(e));}return i.get(e)},f=e=>{Object.keys(e.data).forEach(t=>{const a=e.data[t];y(t,{pathData:a.path||a.paths,ltr:a.ltr,accData:a.acc,collection:e.collection,packageName:e.packageName});});},y=(e,t)=>{const a=`${t.collection}/${e}`,o={collection:t.collection,packageName:t.packageName,pathData:t.pathData,viewBox:t.viewBox,ltr:t.ltr,accData:t.accData,customTemplate:t.customTemplate};c.set(a,o);},u=e=>{e.startsWith("sap-icon://")&&(e=e.replace("sap-icon://",""));let t;return [e,t]=e.split("/").reverse(),e=e.replace("icon-",""),t&&(t=n$1(t)),{name:e,collection:t}},D=e=>{const{name:t,collection:a}=u(e);return g(a,t)},n=async e=>{const{name:t,collection:a}=u(e);let o=l;try{o=await N(i$2(a));}catch(r){console.error(r.message);}if(o===l)return o;const p=g(a,t);return p||(Array.isArray(o)?o.forEach(r=>{f(r),c$1(a,{[r.themeFamily||w]:r.collection});}):f(o),g(a,t))},g=(e,t)=>{const a=`${i$2(e)}/${t}`;return c.get(a)},A=async e=>{if(!e)return;let t=D(e);if(t||(t=await n(e)),t&&t!==l&&t.accData)return t.packageName?(await f$1(t.packageName)).getText(t.accData):t.accData?.defaultText||""};
|
|
32
|
-
|
|
33
|
-
exports.$ = $;
|
|
34
|
-
exports.A = A;
|
|
35
|
-
exports.C = C;
|
|
36
|
-
exports.D = D;
|
|
37
|
-
exports.L = L$1;
|
|
38
|
-
exports.c = c$2;
|
|
39
|
-
exports.c$1 = c$5;
|
|
40
|
-
exports.e = e;
|
|
41
|
-
exports.f = f$1;
|
|
42
|
-
exports.h = h$1;
|
|
43
|
-
exports.i = i$2;
|
|
44
|
-
exports.l = l$2;
|
|
45
|
-
exports.m = m$1;
|
|
46
|
-
exports.n = n;
|
|
47
|
-
exports.r = r$5;
|
|
48
|
-
exports.s = s$3;
|
|
49
|
-
exports.s$1 = s$4;
|
|
50
|
-
exports.t = t$4;
|
|
51
|
-
exports.t$1 = t$1;
|
|
52
|
-
exports.u = u$1;
|
|
53
|
-
exports.y = y;
|
|
54
|
-
exports.y$1 = y$1;
|
|
55
|
-
|
|
56
|
-
}));
|
|
1
|
+
sap.ui.define(["exports","sap/f/thirdparty/Theme"],function(t,e){"use strict";const s=new e.i$1,n="languageChange",a=t=>{s.attachEvent(n,t)},r=t=>{s.detachEvent(n,t)},i=t=>s.fireEventAsync(n,t);const o=typeof document>"u",c=()=>{if(o)return e.a$1;const t=navigator.languages,s=()=>navigator.language;return t&&t[0]||s()||e.a$1};let u,l;e.i$2(()=>{u=void 0,l=void 0});let g=false;const h=()=>g,p=()=>(u===void 0&&(u=e.L()),u),f=async t=>{u!==t&&(g=true,u=t,await i(t),g=false,e.O()&&await e.C({languageAware:true}))},A=()=>e.a$1,d=t=>{l=t},y=()=>(l===void 0&&(l=e.R()),l);const v=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;let $=class t{constructor(t){const s=v.exec(t.replace(/_/g,"-"));if(s===null)throw new Error(`The given language ${t} does not adhere to BCP-47.`);this.sLocaleId=t,this.sLanguage=s[1]||e.a$1,this.sScript=s[2]||"",this.sRegion=s[3]||"",this.sVariant=s[4]&&s[4].slice(1)||null,this.sExtension=s[5]&&s[5].slice(1)||null,this.sPrivateUse=s[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,t=>t.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase())}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(t){return this.getPrivateUseSubtags().indexOf(t)>=0}toString(){const t=[this.sLanguage];return this.sScript&&t.push(this.sScript),this.sRegion&&t.push(this.sRegion),this.sVariant&&t.push(this.sVariant),this.sExtension&&t.push(this.sExtension),this.sPrivateUse&&t.push(this.sPrivateUse),t.join("-")}};const S=new Map,w=t=>(S.has(t)||S.set(t,new $(t)),S.get(t)),m=t=>{try{if(t&&typeof t=="string")return w(t)}catch{}return new $(e.r$1)},P=t=>{const e=p();return e?w(e):m(c())};const x=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,b=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,Z={he:"iw",yi:"ji",nb:"no",sr:"sh"},k=t=>{let s;if(!t)return e.r$1;if(typeof t=="string"&&(s=x.exec(t.replace(/_/g,"-")))){let t=s[1].toLowerCase(),e=s[3]?s[3].toUpperCase():void 0;const n=s[2]?s[2].toLowerCase():void 0,a=s[4]?s[4].slice(1):void 0,r=s[6];return t=Z[t]||t,r&&(s=b.exec(r))||a&&(s=b.exec(a))?`en_US_${s[1].toLowerCase()}`:(t==="zh"&&!e&&(n==="hans"?e="CN":n==="hant"&&(e="TW")),t+(e?"_"+e+(a?"_"+a.replace("-","_"):""):""))}return e.r$1};const T={zh_HK:"zh_TW",in:"id"},E=t=>{if(!t)return e.r$1;if(T[t])return T[t];const s=t.lastIndexOf("_");return s>=0?t.slice(0,s):t!==e.r$1?e.r$1:""};const N=new Set,V=new Set,L=new Map,_=new Map,U=new Map,C=(t,e,s)=>{const n=`${t}/${e}`;U.set(n,s)},I=(t,e)=>{L.set(t,e)},D=t=>L.get(t),M=(t,e)=>{const s=`${t}/${e}`;return U.has(s)},R=(t,e)=>{const s=`${t}/${e}`,n=U.get(s);return n&&!_.get(s)&&_.set(s,n(e)),_.get(s)},z=t=>{N.has(t)||(console.warn(`[${t}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${t}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),N.add(t))},O=(t,s)=>s!==e.a$1&&!M(t,s),B=async t=>{const s=P().getLanguage(),n=P().getRegion(),a=P().getVariant();let r=s+(n?`-${n}`:"")+(a?`-${a}`:"");if(O(t,r))for(r=k(r);O(t,r);)r=E(r);const i=y();if(r===e.a$1&&!i){I(t,null);return}if(!M(t,r)){z(t);return}try{const e=await R(t,r);I(t,e)}catch(t){const e=t;V.has(e.message)||(V.add(e.message),console.error(e.message))}};a(t=>{const e=[...L.keys()];return Promise.all(e.map(B))});const j=new Map,W=(t,e)=>{j.set(t,e)},F=t=>j.get(t);var G=(t=>(t.SAPIconsV4="SAP-icons-v4",t.SAPIconsV5="SAP-icons-v5",t.SAPIconsTNTV2="tnt-v2",t.SAPIconsTNTV3="tnt-v3",t.SAPBSIconsV1="business-suite-v1",t.SAPBSIconsV2="business-suite-v2",t))(G||{});const K=new Map;K.set("SAP-icons",{legacy:"SAP-icons-v4",sap_horizon:"SAP-icons-v5"}),K.set("tnt",{legacy:"tnt-v2",sap_horizon:"tnt-v3"}),K.set("business-suite",{legacy:"business-suite-v1",sap_horizon:"business-suite-v2"});const X=(t,e)=>{if(K.has(t)){K.set(t,{...e,...K.get(t)});return}K.set(t,e)},Y=t=>{const s=e.i$3()?"legacy":"sap_horizon";return K.has(t)?K.get(t)[s]:t};var H=(t=>(t["SAP-icons"]="SAP-icons-v4",t.horizon="SAP-icons-v5",t["SAP-icons-TNT"]="tnt",t.BusinessSuiteInAppSymbols="business-suite",t))(H||{});const J=t=>H[t]?H[t]:t;const q=t=>{const s=F(e.r());return!t&&s?J(s):t?Y(t):Y("SAP-icons")};const Q=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,tt=(t,e)=>(e=e||[],t.replace(Q,(t,s,n,a,r)=>{if(s)return"'";if(n)return n.replace(/''/g,"'");if(a){const t=typeof a=="string"?parseInt(a):a;return String(e[t])}throw new Error(`[i18n]: pattern syntax error at pos ${r}`)}));const et=new Map;let st;let nt=class t{constructor(t){this.packageName=t}getText(t,...e){if(typeof t=="string"&&(t={key:t,defaultText:t}),!t||!t.key)return"";const s=D(this.packageName);s&&!s[t.key]&&console.warn(`Key ${t.key} not found in the i18n bundle, the default text will be used`);const n=s&&s[t.key]?s[t.key]:t.defaultText||t.key;return tt(n,e)}};const at=t=>{if(et.has(t))return et.get(t);const e=new nt(t);return et.set(t,e),e},rt=async t=>st?st(t):(await B(t),at(t)),it=t=>{st=t};const ot="legacy",ct=new Map,ut=e.m("SVGIcons.registry",new Map),lt=e.m("SVGIcons.promises",new Map),gt="ICON_NOT_FOUND",ht=(t,e)=>{ct.set(t,e)},pt=async t=>{if(!lt.has(t)){if(!ct.has(t))throw new Error(`No loader registered for the ${t} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const e=ct.get(t);lt.set(t,e(t))}return lt.get(t)},ft=t=>{Object.keys(t.data).forEach(e=>{const s=t.data[e];At(e,{pathData:s.path||s.paths,ltr:s.ltr,accData:s.acc,collection:t.collection,packageName:t.packageName})})},At=(t,e)=>{const s=`${e.collection}/${t}`,n={collection:e.collection,packageName:e.packageName,pathData:e.pathData,viewBox:e.viewBox,ltr:e.ltr,accData:e.accData,customTemplate:e.customTemplate};ut.set(s,n)},dt=t=>{t.startsWith("sap-icon://")&&(t=t.replace("sap-icon://",""));let e;return[t,e]=t.split("/").reverse(),t=t.replace("icon-",""),e&&(e=J(e)),{name:t,collection:e}},yt=t=>{const{name:e,collection:s}=dt(t);return $t(s,e)},vt=async t=>{const{name:e,collection:s}=dt(t);let n=gt;try{n=await pt(q(s))}catch(t){console.error(t.message)}if(n===gt)return n;const a=$t(s,e);return a||(Array.isArray(n)?n.forEach(t=>{ft(t),X(s,{[t.themeFamily||ot]:t.collection})}):ft(n),$t(s,e))},$t=(t,e)=>{const s=`${q(t)}/${e}`;return ut.get(s)},St=async t=>{if(!t)return;let e=yt(t);if(e||(e=await vt(t)),e&&e!==gt&&e.accData)return e.packageName?(await rt(e.packageName)).getText(e.accData):e.accData?.defaultText||""};t.$=C;t.A=St;t.C=ht;t.D=yt;t.L=f;t.c=F;t.c$1=A;t.e=W;t.f=rt;t.h=y;t.i=q;t.l=p;t.m=d;t.n=vt;t.r=r;t.s=P;t.s$1=h;t.t=a;t.t$1=G;t.u=nt;t.y=At;t.y$1=it});
|
|
2
|
+
//# sourceMappingURL=Icons.js.map
|