@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,40 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
|
|
3
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
4
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
6
|
-
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;
|
|
7
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* @class
|
|
11
|
-
*
|
|
12
|
-
* ### Overview
|
|
13
|
-
* The `ui5-shellbar-spacer` is an element, used for visual separation between the two content parts of the `ui5-shellbar`.
|
|
14
|
-
* **Note:** The `ui5-shellbar-spacer` component is in an experimental state and is a subject to change.
|
|
15
|
-
* @constructor
|
|
16
|
-
* @extends UI5Element
|
|
17
|
-
* @since 2.7.0
|
|
18
|
-
* @abstract
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
let ShellBarSpacer = class ShellBarSpacer extends webcomponentsBase.b {
|
|
22
|
-
constructor() {
|
|
23
|
-
super(...arguments);
|
|
24
|
-
this.visible = false;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
__decorate([
|
|
28
|
-
webcomponentsBase.s({ type: Boolean })
|
|
29
|
-
], ShellBarSpacer.prototype, "visible", void 0);
|
|
30
|
-
ShellBarSpacer = __decorate([
|
|
31
|
-
webcomponentsBase.m({
|
|
32
|
-
tag: "ui5-shellbar-spacer",
|
|
33
|
-
})
|
|
34
|
-
], ShellBarSpacer);
|
|
35
|
-
ShellBarSpacer.define();
|
|
36
|
-
var ShellBarSpacer$1 = ShellBarSpacer;
|
|
37
|
-
|
|
38
|
-
return ShellBarSpacer$1;
|
|
39
|
-
|
|
40
|
-
}));
|
|
1
|
+
sap.ui.define(["sap/f/thirdparty/webcomponents","sap/f/thirdparty/Theme","sap/f/thirdparty/Icons"],function(e,t,r){"use strict";var s=this&&this.__decorate||function(e,t,r,s){var i=arguments.length,o=i<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,r):s,n;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")o=Reflect.decorate(e,t,r,s);else for(var a=e.length-1;a>=0;a--)if(n=e[a])o=(i<3?n(o):i>3?n(t,r,o):n(t,r))||o;return i>3&&o&&Object.defineProperty(t,r,o),o};let i=class t extends e.S{constructor(){super(...arguments);this.visible=false}};s([e.s({type:Boolean})],i.prototype,"visible",void 0);i=s([e.m({tag:"ui5-shellbar-spacer"})],i);i.define();var o=i;return o});
|
|
2
|
+
//# sourceMappingURL=ShellBarSpacer.js.map
|
|
@@ -1,302 +1,2 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/information', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, eventStrict, parametersBundle_css, parametersBundle_css$1, willShowContent, Icons, information, Icon, i18nDefaults) { 'use strict';
|
|
2
|
-
|
|
3
|
-
const name$1 = "sys-help-2";
|
|
4
|
-
const pathData$1 = "M256 0q53 0 99.5 20T437 74.5t55 81.5 20 100-20 99.5-55 81.5-81.5 55-99.5 20-100-20-81.5-55T20 355.5 0 256t20-100 54.5-81.5T156 20 256 0zm-5 425q15 0 26-11t11-26-11-25.5-26-10.5-25.5 10.5T215 388t10.5 26 25.5 11zm101-239q0-32-27-57t-77-25q-46 0-72.5 24T146 187h52q5-24 17.5-32.5T251 146t35 12.5 12 27.5q0 10-2.5 14T282 215l-20 17q-15 12-23 21t-11.5 18.5-4.5 21-1 27.5h50q0-12 .5-19t3-12.5T283 278t15-13l27-25 16-18 9-16z";
|
|
5
|
-
const ltr$1 = true;
|
|
6
|
-
const collection$1 = "SAP-icons-v4";
|
|
7
|
-
const packageName$1 = "@ui5/webcomponents-icons";
|
|
8
|
-
|
|
9
|
-
Icons.y(name$1, { pathData: pathData$1, ltr: ltr$1, collection: collection$1, packageName: packageName$1 });
|
|
10
|
-
|
|
11
|
-
const name = "sys-help-2";
|
|
12
|
-
const pathData = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm32 289q31-10 50.5-36.5T358 192q0-43-29.5-72.5T256 90q-21 0-39.5 8T184 118.5 162 148t-8 35q0 20 9 30.5t23 10.5q13 0 22.5-9t9.5-23q0-16 11-27t27-11 27 11 11 27-11 27-27 11q-14 0-23 9.5t-9 22.5v26q0 14 9 23t23 9q13 0 22-9t10-22zm-32 127q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";
|
|
13
|
-
const ltr = true;
|
|
14
|
-
const collection = "SAP-icons-v5";
|
|
15
|
-
const packageName = "@ui5/webcomponents-icons";
|
|
16
|
-
|
|
17
|
-
Icons.y(name, { pathData, ltr, collection, packageName });
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Defines tag design types.
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
var TagDesign;
|
|
24
|
-
(function (TagDesign) {
|
|
25
|
-
/**
|
|
26
|
-
* Set1 of generic indication colors that are intended for industry-specific use cases
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
TagDesign["Set1"] = "Set1";
|
|
30
|
-
/**
|
|
31
|
-
* Set2 of generic indication colors that are intended for industry-specific use cases
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
TagDesign["Set2"] = "Set2";
|
|
35
|
-
/**
|
|
36
|
-
* Neutral design
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
TagDesign["Neutral"] = "Neutral";
|
|
40
|
-
/**
|
|
41
|
-
* Information design
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
TagDesign["Information"] = "Information";
|
|
45
|
-
/**
|
|
46
|
-
* Positive design
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
TagDesign["Positive"] = "Positive";
|
|
50
|
-
/**
|
|
51
|
-
* Negative design
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
TagDesign["Negative"] = "Negative";
|
|
55
|
-
/**
|
|
56
|
-
* Critical design
|
|
57
|
-
* @public
|
|
58
|
-
*/
|
|
59
|
-
TagDesign["Critical"] = "Critical";
|
|
60
|
-
})(TagDesign || (TagDesign = {}));
|
|
61
|
-
var TagDesign$1 = TagDesign;
|
|
62
|
-
|
|
63
|
-
function TagTemplate() {
|
|
64
|
-
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this.interactive ?
|
|
65
|
-
parametersBundle_css.jsx("button", { class: "ui5-tag-root", title: this._title, "aria-roledescription": this._roleDescription, "aria-description": this._valueState, onClick: this._onclick, part: "root", children: content.call(this) })
|
|
66
|
-
:
|
|
67
|
-
parametersBundle_css.jsx("div", { class: "ui5-tag-root", title: this._title, part: "root", children: content.call(this) }) }));
|
|
68
|
-
}
|
|
69
|
-
function content() {
|
|
70
|
-
return (parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("slot", { name: "icon" }), this._semanticIconName &&
|
|
71
|
-
parametersBundle_css.jsx(Icon.Icon, { class: "ui5-tag-semantic-icon", name: this._semanticIconName }), parametersBundle_css.jsx("span", { class: "ui5-hidden-text", children: this.tagDescription }), this.hasText &&
|
|
72
|
-
parametersBundle_css.jsx("span", { class: "ui5-tag-text", children: parametersBundle_css.jsx("slot", {}) })] }));
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
76
|
-
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);
|
|
77
|
-
var tagCss = `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{font-size:var(--sapFontSmallSize);font-family:var(--sapFontBoldFamily);font-weight:var(--_ui5-v2-15-0-tag-font-weight);letter-spacing:var(--_ui5-v2-15-0-tag-letter-spacing);line-height:var(--_ui5-v2-15-0-tag-height)}.ui5-tag-root{display:flex;align-items:baseline;justify-content:center;width:100%;min-width:1.125em;max-width:100%;box-sizing:border-box;padding:var(--_ui5-v2-15-0-tag-text-padding);border:.0625rem solid;border-radius:var(--sapButton_BorderCornerRadius);white-space:normal;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}:host([interactive]) .ui5-tag-root:active{text-shadow:var(--ui5-v2-15-0-tag-text-shadow)}:host([interactive]) .ui5-tag-root{cursor:pointer}:host([desktop][interactive]) .ui5-tag-root:focus,:host([interactive]) .ui5-tag-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:1px}:host([wrapping-type="None"]) .ui5-tag-root{white-space:nowrap}:host([_icon-only]) .ui5-tag-root{padding-inline:var(--_ui5-v2-15-0-tag-padding-inline-icon-only)}.ui5-tag-text{text-transform:var(--_ui5-v2-15-0-tag-text-transform);text-align:start;pointer-events:none;overflow:hidden;text-overflow:ellipsis}:host([_has-icon]) .ui5-tag-text{padding-inline-start:var(--_ui5-v2-15-0-tag-icon-gap)}[ui5-icon],::slotted([ui5-icon]){width:var(--_ui5-v2-15-0-tag-icon-width);min-width:var(--_ui5-v2-15-0-tag-icon-width);color:inherit;pointer-events:none;align-self:flex-start}.ui5-tag-root{background-color:var(--sapNeutralBackground);border-color:var(--sapNeutralBorderColor);color:var(--sapTextColor);text-shadow:var(--ui5-v2-15-0-tag-text-shadow)}:host([interactive]) .ui5-tag-root:hover{background-color:var(--sapButton_Neutral_Hover_Background);border-color:var(--sapButton_Neutral_Hover_BorderColor);color:var(--sapButton_Neutral_Hover_TextColor)}:host([interactive]) .ui5-tag-root:active{background-color:var(--sapButton_Neutral_Active_Background);border-color:var(--sapButton_Neutral_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]) .ui5-tag-root{background-color:var(--sapButton_Success_Background);border-color:var(--sapButton_Success_BorderColor);color:var(--sapButton_Success_TextColor);text-shadow:var(--ui5-v2-15-0-tag-contrast-text-shadow)}:host([interactive][design="Positive"]) .ui5-tag-root:hover{background-color:var(--sapButton_Success_Hover_Background);border-color:var(--sapButton_Success_Hover_BorderColor);color:var(--sapButton_Success_Hover_TextColor)}:host([interactive][design="Positive"]) .ui5-tag-root:active{background-color:var(--sapButton_Success_Active_Background);border-color:var(--sapButton_Success_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Negative"]) .ui5-tag-root{background-color:var(--sapButton_Negative_Background);border-color:var(--sapButton_Negative_BorderColor);color:var(--sapButton_Negative_TextColor);text-shadow:var(--ui5-v2-15-0-tag-contrast-text-shadow)}:host([interactive][design="Negative"]) .ui5-tag-root:hover{background-color:var(--sapButton_Negative_Hover_Background);border-color:var(--sapButton_Negative_Hover_BorderColor);color:var(--sapButton_Negative_Hover_TextColor)}:host([interactive][design="Negative"]) .ui5-tag-root:active{background-color:var(--sapButton_Negative_Active_Background);border-color:var(--sapButton_Negative_Active_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Critical"]) .ui5-tag-root{background-color:var(--sapButton_Critical_Background);border-color:var(--sapButton_Critical_BorderColor);color:var(--sapButton_Critical_TextColor);text-shadow:var(--ui5-v2-15-0-tag-contrast-text-shadow)}:host([interactive][design="Critical"]) .ui5-tag-root:hover{background-color:var(--sapButton_Critical_Hover_Background);border-color:var(--sapButton_Critical_Hover_BorderColor);color:var(--sapButton_Critical_Hover_TextColor)}:host([interactive][design="Critical"]) .ui5-tag-root:active{background-color:var(--sapButton_Critical_Active_Background);border-color:var(--sapButton_Critical_Active_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Information"]) .ui5-tag-root{background-color:var(--sapButton_Information_Background);border-color:var(--sapButton_Information_BorderColor);color:var(--sapButton_Information_TextColor);text-shadow:var(--ui5-v2-15-0-tag-information-text-shadow)}:host([interactive][design="Information"]) .ui5-tag-root:hover{background-color:var(--sapButton_Information_Hover_Background);border-color:var(--sapButton_Information_Hover_BorderColor);color:var(--sapButton_Information_Hover_TextColor)}:host([interactive][design="Information"]) .ui5-tag-root:active{background-color:var(--sapButton_Information_Active_Background);border-color:var(--sapButton_Information_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Set1"]) .ui5-tag-root{text-shadow:var(--ui5-v2-15-0-tag-contrast-text-shadow)}:host([design="Set1"]) .ui5-tag-root,:host([interactive][design="Set1"]) .ui5-tag-root{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor);color:var(--sapIndicationColor_1_TextColor)}:host([interactive][design="Set1"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_1_Hover_Background)}:host([interactive][design="Set1"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_1_Active_Background);border-color:var(--sapIndicationColor_1_Active_BorderColor);color:var(--sapIndicationColor_1_Active_TextColor)}:host([design="Set1"][color-scheme="2"]) .ui5-tag-root{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor);color:var(--sapIndicationColor_2_TextColor)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_2_Hover_Background)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_2_Active_Background);border-color:var(--sapIndicationColor_2_Active_BorderColor);color:var(--sapIndicationColor_2_Active_TextColor)}:host([design="Set1"][color-scheme="3"]) .ui5-tag-root{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor);color:var(--sapIndicationColor_3_TextColor)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_3_Hover_Background)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_3_Active_Background);border-color:var(--sapIndicationColor_3_Active_BorderColor);color:var(--sapIndicationColor_3_Active_TextColor)}:host([design="Set1"][color-scheme="4"]) .ui5-tag-root{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor);color:var(--sapIndicationColor_4_TextColor)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_4_Hover_Background)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_4_Active_Background);border-color:var(--sapIndicationColor_4_Active_BorderColor);color:var(--sapIndicationColor_4_Active_TextColor)}:host([design="Set1"][color-scheme="5"]) .ui5-tag-root{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor);color:var(--sapIndicationColor_5_TextColor)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_5_Hover_Background)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_5_Active_Background);border-color:var(--sapIndicationColor_5_Active_BorderColor);color:var(--sapIndicationColor_5_Active_TextColor)}:host([design="Set1"][color-scheme="6"]) .ui5-tag-root{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor);color:var(--sapIndicationColor_6_TextColor)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_6_Hover_Background)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_6_Active_Background);border-color:var(--sapIndicationColor_6_Active_BorderColor);color:var(--sapIndicationColor_6_Active_TextColor)}:host([design="Set1"][color-scheme="7"]) .ui5-tag-root{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor);color:var(--sapIndicationColor_7_TextColor)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_7_Hover_Background)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_7_Active_Background);border-color:var(--sapIndicationColor_7_Active_BorderColor);color:var(--sapIndicationColor_7_Active_TextColor)}:host([design="Set1"][color-scheme="8"]) .ui5-tag-root{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor);color:var(--sapIndicationColor_8_TextColor)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_8_Hover_Background)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_8_Active_Background);border-color:var(--sapIndicationColor_8_Active_BorderColor);color:var(--sapIndicationColor_8_Active_TextColor)}:host([design="Set1"][color-scheme="9"]) .ui5-tag-root{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor);color:var(--sapIndicationColor_9_TextColor)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_9_Hover_Background)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_9_Active_Background);border-color:var(--sapIndicationColor_9_Active_BorderColor);color:var(--sapIndicationColor_9_Active_TextColor)}:host([design="Set1"][color-scheme="10"]) .ui5-tag-root{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor);color:var(--sapIndicationColor_10_TextColor)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_10_Hover_Background)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_10_Active_Background);border-color:var(--sapIndicationColor_10_Active_BorderColor);color:var(--sapIndicationColor_10_Active_TextColor)}:host([design="Set2"]) .ui5-tag-root{text-shadow:var(--ui5-v2-15-0-tag-text-shadow)}:host([design="Set2"]) .ui5-tag-root,:host([interactive][design="Set2"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-1-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-1-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-1-color)}:host([interactive][design="Set2"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-1-hover-background)}:host([interactive][design="Set2"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-1-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-1-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-1-active-color)}:host([design="Set2"][color-scheme="2"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-2-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-2-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-2-color)}:host([design="Set2"][color-scheme="3"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-3-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-3-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-3-color)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-3-hover-background)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-3-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-3-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-3-active-color)}:host([design="Set2"][color-scheme="4"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-4-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-4-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-4-color)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-4-hover-background)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-4-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-4-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-4-active-color)}:host([design="Set2"][color-scheme="5"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-5-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-5-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-5-color)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-5-hover-background)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-5-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-5-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-5-active-color)}:host([design="Set2"][color-scheme="6"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-6-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-6-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-6-color)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-6-hover-background)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-6-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-6-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-6-active-color)}:host([design="Set2"][color-scheme="7"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-7-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-7-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-7-color)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-7-hover-background)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-7-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-7-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-7-active-color)}:host([design="Set2"][color-scheme="8"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-8-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-8-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-8-color)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-8-hover-background)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-8-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-8-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-8-active-color)}:host([design="Set2"][color-scheme="9"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-9-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-9-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-9-color)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-9-hover-background)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-9-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-9-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-9-active-color)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-10-hover-background)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-10-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-10-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-10-active-color)}:host([design="Set2"][color-scheme="10"]) .ui5-tag-root{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-10-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-10-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-10-color)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-2-hover-background)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--ui5-v2-15-0-tag-set2-color-scheme-2-active-background);border-color:var(--ui5-v2-15-0-tag-set2-color-scheme-2-active-border);color:var(--ui5-v2-15-0-tag-set2-color-scheme-2-active-color)}:host([size="L"]){font-family:var(--sapFontSemiboldDuplexFamily);line-height:var(--_ui5-v2-15-0-tag-height_size_l)}:host([size="L"]) .ui5-tag-root{font-size:var(--_ui5-v2-15-0-tag-font-size_size_l);min-width:var(--_ui5-v2-15-0-tag-min-width_size_l);padding:var(--_ui5-v2-15-0-tag-text_padding_size_l)}:host([size="L"]) [ui5-icon],:host([size="L"]) ::slotted([ui5-icon]){min-width:var(--_ui5-v2-15-0-tag-icon_min_width_size_l);min-height:var(--_ui5-v2-15-0-tag-icon_min_height_size_l);height:var(--_ui5-v2-15-0-tag-icon_height_size_l)}
|
|
78
|
-
`;
|
|
79
|
-
|
|
80
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
81
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
82
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
83
|
-
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;
|
|
84
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
85
|
-
};
|
|
86
|
-
var Tag_1;
|
|
87
|
-
/**
|
|
88
|
-
* @class
|
|
89
|
-
* ### Overview
|
|
90
|
-
*
|
|
91
|
-
* The `ui5-tag` is a component which serves
|
|
92
|
-
* the purpose to attract the user attention to some piece
|
|
93
|
-
* of information (state, quantity, condition, etc.).
|
|
94
|
-
* It can contain icon and text information, and its design can be chosen from specific design types.
|
|
95
|
-
*
|
|
96
|
-
* ### Usage Guidelines
|
|
97
|
-
*
|
|
98
|
-
* - If the text is longer than the width of the component, it can wrap, or it can show ellipsis, depending on the `wrappingType` property.
|
|
99
|
-
* - Colors can be semantic or not semantic.
|
|
100
|
-
*
|
|
101
|
-
* ### ES6 Module Import
|
|
102
|
-
*
|
|
103
|
-
* `import "@ui5/webcomponents/dist/Tag.js";`
|
|
104
|
-
* @csspart root - Used to style the root element.
|
|
105
|
-
* @constructor
|
|
106
|
-
* @extends UI5Element
|
|
107
|
-
* @since 2.0.0
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
let Tag = Tag_1 = class Tag extends webcomponentsBase.b {
|
|
111
|
-
constructor() {
|
|
112
|
-
super(...arguments);
|
|
113
|
-
/**
|
|
114
|
-
* Defines the design type of the component.
|
|
115
|
-
* @default "Neutral"
|
|
116
|
-
* @public
|
|
117
|
-
* @since 1.22.0
|
|
118
|
-
*/
|
|
119
|
-
this.design = "Neutral";
|
|
120
|
-
/**
|
|
121
|
-
* Defines the color scheme of the component.
|
|
122
|
-
* There are 10 predefined schemes.
|
|
123
|
-
* To use one you can set a number from `"1"` to `"10"`. The `colorScheme` `"1"` will be set by default.
|
|
124
|
-
* @default "1"
|
|
125
|
-
* @public
|
|
126
|
-
*/
|
|
127
|
-
this.colorScheme = "1";
|
|
128
|
-
/**
|
|
129
|
-
* Defines if the default state icon is shown.
|
|
130
|
-
* @default false
|
|
131
|
-
* @public
|
|
132
|
-
* @since 1.22.0
|
|
133
|
-
*/
|
|
134
|
-
this.hideStateIcon = false;
|
|
135
|
-
/**
|
|
136
|
-
* Defines if the component is interactive (focusable and pressable).
|
|
137
|
-
*
|
|
138
|
-
* @default false
|
|
139
|
-
* @public
|
|
140
|
-
* @since 1.22.0
|
|
141
|
-
*/
|
|
142
|
-
this.interactive = false;
|
|
143
|
-
/**
|
|
144
|
-
* Defines how the text of a component will be displayed when there is not enough space.
|
|
145
|
-
*
|
|
146
|
-
* **Note:** For option "Normal" the text will wrap and the
|
|
147
|
-
* words will not be broken based on hyphenation.
|
|
148
|
-
* @default "Normal"
|
|
149
|
-
* @public
|
|
150
|
-
* @since 1.22.0
|
|
151
|
-
*/
|
|
152
|
-
this.wrappingType = "Normal";
|
|
153
|
-
/**
|
|
154
|
-
* Defines predefined size of the component.
|
|
155
|
-
* @default "S"
|
|
156
|
-
* @public
|
|
157
|
-
* @since 2.0.0
|
|
158
|
-
*/
|
|
159
|
-
this.size = "S";
|
|
160
|
-
/**
|
|
161
|
-
* Defines if the tag has an icon.
|
|
162
|
-
* @private
|
|
163
|
-
*/
|
|
164
|
-
this._hasIcon = false;
|
|
165
|
-
/**
|
|
166
|
-
* Defines if the tag has only an icon (and no text).
|
|
167
|
-
* @private
|
|
168
|
-
*/
|
|
169
|
-
this._iconOnly = false;
|
|
170
|
-
}
|
|
171
|
-
onEnterDOM() {
|
|
172
|
-
if (Icons.f()) {
|
|
173
|
-
this.setAttribute("desktop", "");
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
onBeforeRendering() {
|
|
177
|
-
this._hasIcon = this.hasIcon || !!this._semanticIconName;
|
|
178
|
-
this._iconOnly = this.iconOnly;
|
|
179
|
-
}
|
|
180
|
-
get _roleDescription() {
|
|
181
|
-
return Tag_1.i18nBundle.getText(i18nDefaults.TAG_ROLE_DESCRIPTION);
|
|
182
|
-
}
|
|
183
|
-
get _valueState() {
|
|
184
|
-
switch (this.design) {
|
|
185
|
-
case TagDesign$1.Positive:
|
|
186
|
-
return Tag_1.i18nBundle.getText(i18nDefaults.TAG_SUCCESS);
|
|
187
|
-
case TagDesign$1.Negative:
|
|
188
|
-
return Tag_1.i18nBundle.getText(i18nDefaults.TAG_ERROR);
|
|
189
|
-
case TagDesign$1.Critical:
|
|
190
|
-
return Tag_1.i18nBundle.getText(i18nDefaults.TAG_WARNING);
|
|
191
|
-
case TagDesign$1.Information:
|
|
192
|
-
return Tag_1.i18nBundle.getText(i18nDefaults.TAG_INFORMATION);
|
|
193
|
-
}
|
|
194
|
-
return undefined;
|
|
195
|
-
}
|
|
196
|
-
get hasText() {
|
|
197
|
-
return willShowContent.t(this.text);
|
|
198
|
-
}
|
|
199
|
-
get hasIcon() {
|
|
200
|
-
return !!this.icon.length;
|
|
201
|
-
}
|
|
202
|
-
get iconOnly() {
|
|
203
|
-
return this.hasIcon && !this.hasText;
|
|
204
|
-
}
|
|
205
|
-
get _title() {
|
|
206
|
-
return this.title || undefined;
|
|
207
|
-
}
|
|
208
|
-
get tagDescription() {
|
|
209
|
-
if (this.interactive) {
|
|
210
|
-
return undefined;
|
|
211
|
-
}
|
|
212
|
-
const valueState = this._valueState;
|
|
213
|
-
let description = Tag_1.i18nBundle.getText(i18nDefaults.TAG_DESCRIPTION_TAG);
|
|
214
|
-
if (valueState) {
|
|
215
|
-
description = `${description} ${valueState}`;
|
|
216
|
-
}
|
|
217
|
-
return description;
|
|
218
|
-
}
|
|
219
|
-
get _semanticIconName() {
|
|
220
|
-
if (this.hideStateIcon || this.hasIcon) {
|
|
221
|
-
return null;
|
|
222
|
-
}
|
|
223
|
-
switch (this.design) {
|
|
224
|
-
case TagDesign$1.Neutral:
|
|
225
|
-
return "sys-help-2";
|
|
226
|
-
case TagDesign$1.Positive:
|
|
227
|
-
return "sys-enter-2";
|
|
228
|
-
case TagDesign$1.Negative:
|
|
229
|
-
return "error";
|
|
230
|
-
case TagDesign$1.Critical:
|
|
231
|
-
return "alert";
|
|
232
|
-
case TagDesign$1.Information:
|
|
233
|
-
return "information";
|
|
234
|
-
default:
|
|
235
|
-
return null;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
_onclick(e) {
|
|
239
|
-
e.stopPropagation();
|
|
240
|
-
this.fireDecoratorEvent("click");
|
|
241
|
-
}
|
|
242
|
-
};
|
|
243
|
-
__decorate([
|
|
244
|
-
webcomponentsBase.s()
|
|
245
|
-
], Tag.prototype, "design", void 0);
|
|
246
|
-
__decorate([
|
|
247
|
-
webcomponentsBase.s()
|
|
248
|
-
], Tag.prototype, "colorScheme", void 0);
|
|
249
|
-
__decorate([
|
|
250
|
-
webcomponentsBase.s({ type: Boolean })
|
|
251
|
-
], Tag.prototype, "hideStateIcon", void 0);
|
|
252
|
-
__decorate([
|
|
253
|
-
webcomponentsBase.s({ type: Boolean })
|
|
254
|
-
], Tag.prototype, "interactive", void 0);
|
|
255
|
-
__decorate([
|
|
256
|
-
webcomponentsBase.s()
|
|
257
|
-
], Tag.prototype, "wrappingType", void 0);
|
|
258
|
-
__decorate([
|
|
259
|
-
webcomponentsBase.s()
|
|
260
|
-
], Tag.prototype, "size", void 0);
|
|
261
|
-
__decorate([
|
|
262
|
-
webcomponentsBase.s({ type: Boolean })
|
|
263
|
-
], Tag.prototype, "_hasIcon", void 0);
|
|
264
|
-
__decorate([
|
|
265
|
-
webcomponentsBase.s({ type: Boolean })
|
|
266
|
-
], Tag.prototype, "_iconOnly", void 0);
|
|
267
|
-
__decorate([
|
|
268
|
-
webcomponentsBase.d({ type: Node, "default": true })
|
|
269
|
-
], Tag.prototype, "text", void 0);
|
|
270
|
-
__decorate([
|
|
271
|
-
webcomponentsBase.d()
|
|
272
|
-
], Tag.prototype, "icon", void 0);
|
|
273
|
-
__decorate([
|
|
274
|
-
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
275
|
-
], Tag, "i18nBundle", void 0);
|
|
276
|
-
Tag = Tag_1 = __decorate([
|
|
277
|
-
webcomponentsBase.m({
|
|
278
|
-
tag: "ui5-tag",
|
|
279
|
-
languageAware: true,
|
|
280
|
-
renderer: parametersBundle_css.y,
|
|
281
|
-
template: TagTemplate,
|
|
282
|
-
styles: tagCss,
|
|
283
|
-
})
|
|
284
|
-
/**
|
|
285
|
-
* Fired when the user clicks on an interactive tag.
|
|
286
|
-
*
|
|
287
|
-
* **Note:** The event will be fired if the `interactive` property is `true`
|
|
288
|
-
* @public
|
|
289
|
-
* @since 1.22.0
|
|
290
|
-
*/
|
|
291
|
-
,
|
|
292
|
-
eventStrict.l("click", {
|
|
293
|
-
bubbles: true,
|
|
294
|
-
})
|
|
295
|
-
], Tag);
|
|
296
|
-
Tag.define();
|
|
297
|
-
var Tag$1 = Tag;
|
|
298
|
-
|
|
299
|
-
exports.Tag = Tag$1;
|
|
300
|
-
exports.TagDesign = TagDesign$1;
|
|
301
|
-
|
|
302
|
-
}));
|
|
1
|
+
sap.ui.define(["exports","sap/f/thirdparty/webcomponents","sap/f/thirdparty/event-strict","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/willShowContent","sap/f/thirdparty/Theme","sap/f/thirdparty/Icons","sap/f/thirdparty/information","sap/f/thirdparty/Icon","sap/f/thirdparty/i18n-defaults2"],function(o,r,t,e,a,c,i,n,s,l,d){"use strict";const g="sys-help-2";const u="M256 0q53 0 99.5 20T437 74.5t55 81.5 20 100-20 99.5-55 81.5-81.5 55-99.5 20-100-20-81.5-55T20 355.5 0 256t20-100 54.5-81.5T156 20 256 0zm-5 425q15 0 26-11t11-26-11-25.5-26-10.5-25.5 10.5T215 388t10.5 26 25.5 11zm101-239q0-32-27-57t-77-25q-46 0-72.5 24T146 187h52q5-24 17.5-32.5T251 146t35 12.5 12 27.5q0 10-2.5 14T282 215l-20 17q-15 12-23 21t-11.5 18.5-4.5 21-1 27.5h50q0-12 .5-19t3-12.5T283 278t15-13l27-25 16-18 9-16z";const v=true;const h="SAP-icons-v4";const _="@ui5/webcomponents-icons";n.y(g,{pathData:u,ltr:v,collection:h,packageName:_});const p="sys-help-2";const b="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm32 289q31-10 50.5-36.5T358 192q0-43-29.5-72.5T256 90q-21 0-39.5 8T184 118.5 162 148t-8 35q0 20 9 30.5t23 10.5q13 0 22.5-9t9.5-23q0-16 11-27t27-11 27 11 11 27-11 27-27 11q-14 0-23 9.5t-9 22.5v26q0 14 9 23t23 9q13 0 22-9t10-22zm-32 127q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z";const m=true;const C="SAP-icons-v5";const k="@ui5/webcomponents-icons";n.y(p,{pathData:b,ltr:m,collection:C,packageName:k});var B;(function(o){o["Set1"]="Set1";o["Set2"]="Set2";o["Neutral"]="Neutral";o["Information"]="Information";o["Positive"]="Positive";o["Negative"]="Negative";o["Critical"]="Critical"})(B||(B={}));var I=B;function S(){return e.jsx(e.Fragment,{children:this.interactive?e.jsx("button",{class:"ui5-tag-root",title:this._title,"aria-roledescription":this._roleDescription,"aria-description":this._valueState,onClick:this._onclick,part:"root",children:x.call(this)}):e.jsx("div",{class:"ui5-tag-root",title:this._title,part:"root",children:x.call(this)})})}function x(){return e.jsxs(e.Fragment,{children:[e.jsx("slot",{name:"icon"}),this._semanticIconName&&e.jsx(l.Icon,{class:"ui5-tag-semantic-icon",name:this._semanticIconName}),e.jsx("span",{class:"ui5-hidden-text",children:this.tagDescription}),this.hasText&&e.jsx("span",{class:"ui5-tag-text",children:e.jsx("slot",{})})]})}i.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>e.defaultThemeBase);i.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>a.defaultTheme,"host");var f=`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}:host(:not([hidden])){display:inline-block}:host{font-size:var(--sapFontSmallSize);font-family:var(--sapFontBoldFamily);font-weight:var(--_ui5-tag-font-weight);letter-spacing:var(--_ui5-tag-letter-spacing);line-height:var(--_ui5-tag-height)}.ui5-tag-root{display:flex;align-items:baseline;justify-content:center;width:100%;min-width:1.125em;max-width:100%;box-sizing:border-box;padding:var(--_ui5-tag-text-padding);border:.0625rem solid;border-radius:var(--sapButton_BorderCornerRadius);white-space:normal;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}:host([interactive]) .ui5-tag-root:active{text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root{cursor:pointer}:host([desktop][interactive]) .ui5-tag-root:focus,:host([interactive]) .ui5-tag-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:1px}:host([wrapping-type="None"]) .ui5-tag-root{white-space:nowrap}:host([_icon-only]) .ui5-tag-root{padding-inline:var(--_ui5-tag-padding-inline-icon-only)}.ui5-tag-text{text-transform:var(--_ui5-tag-text-transform);text-align:start;pointer-events:none;overflow:hidden;text-overflow:ellipsis}:host([_has-icon]) .ui5-tag-text{padding-inline-start:var(--_ui5-tag-icon-gap)}[ui5-icon],::slotted([ui5-icon]){width:var(--_ui5-tag-icon-width);min-width:var(--_ui5-tag-icon-width);color:inherit;pointer-events:none;align-self:flex-start}.ui5-tag-root{background-color:var(--sapNeutralBackground);border-color:var(--sapNeutralBorderColor);color:var(--sapTextColor);text-shadow:var(--ui5-tag-text-shadow)}:host([interactive]) .ui5-tag-root:hover{background-color:var(--sapButton_Neutral_Hover_Background);border-color:var(--sapButton_Neutral_Hover_BorderColor);color:var(--sapButton_Neutral_Hover_TextColor)}:host([interactive]) .ui5-tag-root:active{background-color:var(--sapButton_Neutral_Active_Background);border-color:var(--sapButton_Neutral_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]) .ui5-tag-root{background-color:var(--sapButton_Success_Background);border-color:var(--sapButton_Success_BorderColor);color:var(--sapButton_Success_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Positive"]) .ui5-tag-root:hover{background-color:var(--sapButton_Success_Hover_Background);border-color:var(--sapButton_Success_Hover_BorderColor);color:var(--sapButton_Success_Hover_TextColor)}:host([interactive][design="Positive"]) .ui5-tag-root:active{background-color:var(--sapButton_Success_Active_Background);border-color:var(--sapButton_Success_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Negative"]) .ui5-tag-root{background-color:var(--sapButton_Negative_Background);border-color:var(--sapButton_Negative_BorderColor);color:var(--sapButton_Negative_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Negative"]) .ui5-tag-root:hover{background-color:var(--sapButton_Negative_Hover_Background);border-color:var(--sapButton_Negative_Hover_BorderColor);color:var(--sapButton_Negative_Hover_TextColor)}:host([interactive][design="Negative"]) .ui5-tag-root:active{background-color:var(--sapButton_Negative_Active_Background);border-color:var(--sapButton_Negative_Active_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Critical"]) .ui5-tag-root{background-color:var(--sapButton_Critical_Background);border-color:var(--sapButton_Critical_BorderColor);color:var(--sapButton_Critical_TextColor);text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([interactive][design="Critical"]) .ui5-tag-root:hover{background-color:var(--sapButton_Critical_Hover_Background);border-color:var(--sapButton_Critical_Hover_BorderColor);color:var(--sapButton_Critical_Hover_TextColor)}:host([interactive][design="Critical"]) .ui5-tag-root:active{background-color:var(--sapButton_Critical_Active_Background);border-color:var(--sapButton_Critical_Active_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Information"]) .ui5-tag-root{background-color:var(--sapButton_Information_Background);border-color:var(--sapButton_Information_BorderColor);color:var(--sapButton_Information_TextColor);text-shadow:var(--ui5-tag-information-text-shadow)}:host([interactive][design="Information"]) .ui5-tag-root:hover{background-color:var(--sapButton_Information_Hover_Background);border-color:var(--sapButton_Information_Hover_BorderColor);color:var(--sapButton_Information_Hover_TextColor)}:host([interactive][design="Information"]) .ui5-tag-root:active{background-color:var(--sapButton_Information_Active_Background);border-color:var(--sapButton_Information_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Set1"]) .ui5-tag-root{text-shadow:var(--ui5-tag-contrast-text-shadow)}:host([design="Set1"]) .ui5-tag-root,:host([interactive][design="Set1"]) .ui5-tag-root{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor);color:var(--sapIndicationColor_1_TextColor)}:host([interactive][design="Set1"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_1_Hover_Background)}:host([interactive][design="Set1"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_1_Active_Background);border-color:var(--sapIndicationColor_1_Active_BorderColor);color:var(--sapIndicationColor_1_Active_TextColor)}:host([design="Set1"][color-scheme="2"]) .ui5-tag-root{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor);color:var(--sapIndicationColor_2_TextColor)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_2_Hover_Background)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_2_Active_Background);border-color:var(--sapIndicationColor_2_Active_BorderColor);color:var(--sapIndicationColor_2_Active_TextColor)}:host([design="Set1"][color-scheme="3"]) .ui5-tag-root{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor);color:var(--sapIndicationColor_3_TextColor)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_3_Hover_Background)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_3_Active_Background);border-color:var(--sapIndicationColor_3_Active_BorderColor);color:var(--sapIndicationColor_3_Active_TextColor)}:host([design="Set1"][color-scheme="4"]) .ui5-tag-root{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor);color:var(--sapIndicationColor_4_TextColor)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_4_Hover_Background)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_4_Active_Background);border-color:var(--sapIndicationColor_4_Active_BorderColor);color:var(--sapIndicationColor_4_Active_TextColor)}:host([design="Set1"][color-scheme="5"]) .ui5-tag-root{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor);color:var(--sapIndicationColor_5_TextColor)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_5_Hover_Background)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_5_Active_Background);border-color:var(--sapIndicationColor_5_Active_BorderColor);color:var(--sapIndicationColor_5_Active_TextColor)}:host([design="Set1"][color-scheme="6"]) .ui5-tag-root{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor);color:var(--sapIndicationColor_6_TextColor)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_6_Hover_Background)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_6_Active_Background);border-color:var(--sapIndicationColor_6_Active_BorderColor);color:var(--sapIndicationColor_6_Active_TextColor)}:host([design="Set1"][color-scheme="7"]) .ui5-tag-root{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor);color:var(--sapIndicationColor_7_TextColor)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_7_Hover_Background)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_7_Active_Background);border-color:var(--sapIndicationColor_7_Active_BorderColor);color:var(--sapIndicationColor_7_Active_TextColor)}:host([design="Set1"][color-scheme="8"]) .ui5-tag-root{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor);color:var(--sapIndicationColor_8_TextColor)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_8_Hover_Background)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_8_Active_Background);border-color:var(--sapIndicationColor_8_Active_BorderColor);color:var(--sapIndicationColor_8_Active_TextColor)}:host([design="Set1"][color-scheme="9"]) .ui5-tag-root{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor);color:var(--sapIndicationColor_9_TextColor)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_9_Hover_Background)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_9_Active_Background);border-color:var(--sapIndicationColor_9_Active_BorderColor);color:var(--sapIndicationColor_9_Active_TextColor)}:host([design="Set1"][color-scheme="10"]) .ui5-tag-root{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor);color:var(--sapIndicationColor_10_TextColor)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--sapIndicationColor_10_Hover_Background)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--sapIndicationColor_10_Active_Background);border-color:var(--sapIndicationColor_10_Active_BorderColor);color:var(--sapIndicationColor_10_Active_TextColor)}:host([design="Set2"]) .ui5-tag-root{text-shadow:var(--ui5-tag-text-shadow)}:host([design="Set2"]) .ui5-tag-root,:host([interactive][design="Set2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-1-background);border-color:var(--ui5-tag-set2-color-scheme-1-border);color:var(--ui5-tag-set2-color-scheme-1-color)}:host([interactive][design="Set2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-1-hover-background)}:host([interactive][design="Set2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-1-active-background);border-color:var(--ui5-tag-set2-color-scheme-1-active-border);color:var(--ui5-tag-set2-color-scheme-1-active-color)}:host([design="Set2"][color-scheme="2"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-2-background);border-color:var(--ui5-tag-set2-color-scheme-2-border);color:var(--ui5-tag-set2-color-scheme-2-color)}:host([design="Set2"][color-scheme="3"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-3-background);border-color:var(--ui5-tag-set2-color-scheme-3-border);color:var(--ui5-tag-set2-color-scheme-3-color)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-3-hover-background)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-3-active-background);border-color:var(--ui5-tag-set2-color-scheme-3-active-border);color:var(--ui5-tag-set2-color-scheme-3-active-color)}:host([design="Set2"][color-scheme="4"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-4-background);border-color:var(--ui5-tag-set2-color-scheme-4-border);color:var(--ui5-tag-set2-color-scheme-4-color)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-4-hover-background)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-4-active-background);border-color:var(--ui5-tag-set2-color-scheme-4-active-border);color:var(--ui5-tag-set2-color-scheme-4-active-color)}:host([design="Set2"][color-scheme="5"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-5-background);border-color:var(--ui5-tag-set2-color-scheme-5-border);color:var(--ui5-tag-set2-color-scheme-5-color)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-5-hover-background)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-5-active-background);border-color:var(--ui5-tag-set2-color-scheme-5-active-border);color:var(--ui5-tag-set2-color-scheme-5-active-color)}:host([design="Set2"][color-scheme="6"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-6-background);border-color:var(--ui5-tag-set2-color-scheme-6-border);color:var(--ui5-tag-set2-color-scheme-6-color)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-6-hover-background)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-6-active-background);border-color:var(--ui5-tag-set2-color-scheme-6-active-border);color:var(--ui5-tag-set2-color-scheme-6-active-color)}:host([design="Set2"][color-scheme="7"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-7-background);border-color:var(--ui5-tag-set2-color-scheme-7-border);color:var(--ui5-tag-set2-color-scheme-7-color)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-7-hover-background)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-7-active-background);border-color:var(--ui5-tag-set2-color-scheme-7-active-border);color:var(--ui5-tag-set2-color-scheme-7-active-color)}:host([design="Set2"][color-scheme="8"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-8-background);border-color:var(--ui5-tag-set2-color-scheme-8-border);color:var(--ui5-tag-set2-color-scheme-8-color)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-8-hover-background)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-8-active-background);border-color:var(--ui5-tag-set2-color-scheme-8-active-border);color:var(--ui5-tag-set2-color-scheme-8-active-color)}:host([design="Set2"][color-scheme="9"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-9-background);border-color:var(--ui5-tag-set2-color-scheme-9-border);color:var(--ui5-tag-set2-color-scheme-9-color)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-9-hover-background)}:host([interactive][design="Set2"][color-scheme="9"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-9-active-background);border-color:var(--ui5-tag-set2-color-scheme-9-active-border);color:var(--ui5-tag-set2-color-scheme-9-active-color)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-10-hover-background)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-10-active-background);border-color:var(--ui5-tag-set2-color-scheme-10-active-border);color:var(--ui5-tag-set2-color-scheme-10-active-color)}:host([design="Set2"][color-scheme="10"]) .ui5-tag-root{background-color:var(--ui5-tag-set2-color-scheme-10-background);border-color:var(--ui5-tag-set2-color-scheme-10-border);color:var(--ui5-tag-set2-color-scheme-10-color)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:hover{background-color:var(--ui5-tag-set2-color-scheme-2-hover-background)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-tag-root:active{background-color:var(--ui5-tag-set2-color-scheme-2-active-background);border-color:var(--ui5-tag-set2-color-scheme-2-active-border);color:var(--ui5-tag-set2-color-scheme-2-active-color)}:host([size="L"]){font-family:var(--sapFontSemiboldDuplexFamily);line-height:var(--_ui5-tag-height_size_l)}:host([size="L"]) .ui5-tag-root{font-size:var(--_ui5-tag-font-size_size_l);min-width:var(--_ui5-tag-min-width_size_l);padding:var(--_ui5-tag-text_padding_size_l)}:host([size="L"]) [ui5-icon],:host([size="L"]) ::slotted([ui5-icon]){min-width:var(--_ui5-tag-icon_min_width_size_l);min-height:var(--_ui5-tag-icon_min_height_size_l);height:var(--_ui5-tag-icon_height_size_l)}\n`;var T=this&&this.__decorate||function(o,r,t,e){var a=arguments.length,c=a<3?r:e===null?e=Object.getOwnPropertyDescriptor(r,t):e,i;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")c=Reflect.decorate(o,r,t,e);else for(var n=o.length-1;n>=0;n--)if(i=o[n])c=(a<3?i(c):a>3?i(r,t,c):i(r,t))||c;return a>3&&c&&Object.defineProperty(r,t,c),c};var y;let A=y=class o extends r.S{constructor(){super(...arguments);this.design="Neutral";this.colorScheme="1";this.hideStateIcon=false;this.interactive=false;this.wrappingType="Normal";this.size="S";this._hasIcon=false;this._iconOnly=false}onEnterDOM(){if(i.f$1()){this.setAttribute("desktop","")}}onBeforeRendering(){this._hasIcon=this.hasIcon||!!this._semanticIconName;this._iconOnly=this.iconOnly}get _roleDescription(){return y.i18nBundle.getText(d.TAG_ROLE_DESCRIPTION)}get _valueState(){switch(this.design){case I.Positive:return y.i18nBundle.getText(d.TAG_SUCCESS);case I.Negative:return y.i18nBundle.getText(d.TAG_ERROR);case I.Critical:return y.i18nBundle.getText(d.TAG_WARNING);case I.Information:return y.i18nBundle.getText(d.TAG_INFORMATION)}return undefined}get hasText(){return c.t(this.text)}get hasIcon(){return!!this.icon.length}get iconOnly(){return this.hasIcon&&!this.hasText}get _title(){return this.title||undefined}get tagDescription(){if(this.interactive){return undefined}const o=this._valueState;let r=y.i18nBundle.getText(d.TAG_DESCRIPTION_TAG);if(o){r=`${r} ${o}`}return r}get _semanticIconName(){if(this.hideStateIcon||this.hasIcon){return null}switch(this.design){case I.Neutral:return"sys-help-2";case I.Positive:return"sys-enter-2";case I.Negative:return"error";case I.Critical:return"alert";case I.Information:return"information";default:return null}}_onclick(o){o.stopPropagation();this.fireDecoratorEvent("click")}};T([r.s()],A.prototype,"design",void 0);T([r.s()],A.prototype,"colorScheme",void 0);T([r.s({type:Boolean})],A.prototype,"hideStateIcon",void 0);T([r.s({type:Boolean})],A.prototype,"interactive",void 0);T([r.s()],A.prototype,"wrappingType",void 0);T([r.s()],A.prototype,"size",void 0);T([r.s({type:Boolean})],A.prototype,"_hasIcon",void 0);T([r.s({type:Boolean})],A.prototype,"_iconOnly",void 0);T([r.d({type:Node,default:true})],A.prototype,"text",void 0);T([r.d()],A.prototype,"icon",void 0);T([a.i("@ui5/webcomponents")],A,"i18nBundle",void 0);A=y=T([r.m({tag:"ui5-tag",languageAware:true,renderer:e.y,template:S,styles:f}),t.l("click",{bubbles:true})],A);A.define();var w=A;o.Tag=w;o.TagDesign=I});
|
|
2
|
+
//# sourceMappingURL=Tag.js.map
|
|
@@ -1,127 +1,2 @@
|
|
|
1
|
-
sap.ui.define([
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Empty Indicator Mode.
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
var TextEmptyIndicatorMode;
|
|
8
|
-
(function (TextEmptyIndicatorMode) {
|
|
9
|
-
/**
|
|
10
|
-
* Empty indicator is never rendered.
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
TextEmptyIndicatorMode["Off"] = "Off";
|
|
14
|
-
/**
|
|
15
|
-
* Empty indicator is rendered always when the component's content is empty.
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
TextEmptyIndicatorMode["On"] = "On";
|
|
19
|
-
})(TextEmptyIndicatorMode || (TextEmptyIndicatorMode = {}));
|
|
20
|
-
var TextEmptyIndicatorMode$1 = TextEmptyIndicatorMode;
|
|
21
|
-
|
|
22
|
-
function TextTemplate() {
|
|
23
|
-
return parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: parametersBundle_css.jsx("span", { children: this._renderEmptyIndicator ?
|
|
24
|
-
parametersBundle_css.jsxs(parametersBundle_css.Fragment, { children: [parametersBundle_css.jsx("span", { className: "empty-indicator", "aria-hidden": "true", children: this._emptyIndicatorSymbol }), parametersBundle_css.jsx("span", { className: "empty-indicator-aria-label", children: this._emptyIndicatorAriaLabel })] })
|
|
25
|
-
:
|
|
26
|
-
parametersBundle_css.jsx("slot", {}) }) });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
30
|
-
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);
|
|
31
|
-
var styles = `:host{max-width:100%;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);color:var(--sapTextColor);line-height:normal;cursor:text;overflow:hidden}:host([max-lines="1"]){display:inline-block;text-overflow:ellipsis;white-space:nowrap}:host(:not([max-lines="1"])){display:-webkit-box;-webkit-line-clamp:var(--_ui5-v2-15-0_text_max_lines);line-clamp:var(--_ui5-v2-15-0_text_max_lines);-webkit-box-orient:vertical;white-space:normal;word-wrap:break-word}.empty-indicator-aria-label{position:absolute!important;clip:rect(1px,1px,1px,1px);user-select:none;left:0;top:0;font-size:0}
|
|
32
|
-
`;
|
|
33
|
-
|
|
34
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
35
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
36
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
37
|
-
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;
|
|
38
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
39
|
-
};
|
|
40
|
-
var Text_1;
|
|
41
|
-
/**
|
|
42
|
-
* @class
|
|
43
|
-
*
|
|
44
|
-
* <h3>Overview</h3>
|
|
45
|
-
*
|
|
46
|
-
* The `ui5-text` component displays text that can be used in any content area of an application.
|
|
47
|
-
*
|
|
48
|
-
* <h3>Usage</h3>
|
|
49
|
-
*
|
|
50
|
-
* - Use the `ui5-text` if you want to display text inside a form, table, or any other content area.
|
|
51
|
-
* - Do not use the `ui5-text` if you need to reference input type of components (use ui5-label).
|
|
52
|
-
*
|
|
53
|
-
* <h3>Responsive behavior</h3>
|
|
54
|
-
*
|
|
55
|
-
* The `ui5-text` component is fully adaptive to all screen sizes.
|
|
56
|
-
* By default, the text will wrap when the space is not enough.
|
|
57
|
-
* In addition, the component supports truncation via the <code>max-lines</code> property,
|
|
58
|
-
* by defining the number of lines the text should wrap before start truncating.
|
|
59
|
-
*
|
|
60
|
-
* <h3>ES6 Module Import</h3>
|
|
61
|
-
*
|
|
62
|
-
* <code>import "@ui5/webcomponents/dist/Text";</code>
|
|
63
|
-
*
|
|
64
|
-
* @constructor
|
|
65
|
-
* @extends UI5Element
|
|
66
|
-
* @public
|
|
67
|
-
* @since 2.0.0
|
|
68
|
-
*/
|
|
69
|
-
let Text = Text_1 = class Text extends webcomponentsBase.b {
|
|
70
|
-
constructor() {
|
|
71
|
-
super(...arguments);
|
|
72
|
-
/**
|
|
73
|
-
* Defines the number of lines the text should wrap before it truncates.
|
|
74
|
-
* @default Infinity
|
|
75
|
-
* @public
|
|
76
|
-
*/
|
|
77
|
-
this.maxLines = Infinity;
|
|
78
|
-
/**
|
|
79
|
-
* Specifies if an empty indicator should be displayed when there is no text.
|
|
80
|
-
* @default "Off"
|
|
81
|
-
* @since 2.2.0
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
this.emptyIndicatorMode = "Off";
|
|
85
|
-
}
|
|
86
|
-
onBeforeRendering() {
|
|
87
|
-
this.style.setProperty(Icons.d$1("--_ui5_text_max_lines"), `${this.maxLines}`);
|
|
88
|
-
}
|
|
89
|
-
get hasText() {
|
|
90
|
-
return willShowContent.t(this.text);
|
|
91
|
-
}
|
|
92
|
-
get _renderEmptyIndicator() {
|
|
93
|
-
return !this.hasText && this.emptyIndicatorMode === TextEmptyIndicatorMode$1.On;
|
|
94
|
-
}
|
|
95
|
-
get _emptyIndicatorAriaLabel() {
|
|
96
|
-
return Text_1.i18nBundle.getText(i18nDefaults.EMPTY_INDICATOR_ACCESSIBLE_TEXT);
|
|
97
|
-
}
|
|
98
|
-
get _emptyIndicatorSymbol() {
|
|
99
|
-
return Text_1.i18nBundle.getText(i18nDefaults.EMPTY_INDICATOR_SYMBOL);
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
__decorate([
|
|
103
|
-
webcomponentsBase.s({ type: Number })
|
|
104
|
-
], Text.prototype, "maxLines", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
webcomponentsBase.s()
|
|
107
|
-
], Text.prototype, "emptyIndicatorMode", void 0);
|
|
108
|
-
__decorate([
|
|
109
|
-
webcomponentsBase.d({ type: Node, "default": true })
|
|
110
|
-
], Text.prototype, "text", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
113
|
-
], Text, "i18nBundle", void 0);
|
|
114
|
-
Text = Text_1 = __decorate([
|
|
115
|
-
webcomponentsBase.m({
|
|
116
|
-
tag: "ui5-text",
|
|
117
|
-
renderer: parametersBundle_css.y,
|
|
118
|
-
template: TextTemplate,
|
|
119
|
-
styles,
|
|
120
|
-
})
|
|
121
|
-
], Text);
|
|
122
|
-
Text.define();
|
|
123
|
-
var Text$1 = Text;
|
|
124
|
-
|
|
125
|
-
exports.Text = Text$1;
|
|
126
|
-
|
|
127
|
-
}));
|
|
1
|
+
sap.ui.define(["exports","sap/f/thirdparty/webcomponents","sap/f/thirdparty/parameters-bundle.css2","sap/f/thirdparty/parameters-bundle.css","sap/f/thirdparty/willShowContent","sap/f/thirdparty/i18n-defaults2","sap/f/thirdparty/Theme"],function(e,t,i,r,n,a,o){"use strict";var s;(function(e){e["Off"]="Off";e["On"]="On"})(s||(s={}));var p=s;function l(){return i.jsx(i.Fragment,{children:i.jsx("span",{children:this._renderEmptyIndicator?i.jsxs(i.Fragment,{children:[i.jsx("span",{className:"empty-indicator","aria-hidden":"true",children:this._emptyIndicatorSymbol}),i.jsx("span",{className:"empty-indicator-aria-label",children:this._emptyIndicatorAriaLabel})]}):i.jsx("slot",{})})})}o.f("@"+"ui5"+"/"+"webcomponents-theming","sap_horizon",async()=>i.defaultThemeBase);o.f("@"+"u"+"i"+"5"+"/"+"w"+"e"+"b"+"c"+"o"+"m"+"p"+"o"+"n"+"e"+"n"+"t"+"s","sap_horizon",async()=>r.defaultTheme,"host");var d=`:host{max-width:100%;font-size:var(--sapFontSize);font-family:var(--sapFontFamily);color:var(--sapTextColor);line-height:normal;cursor:text;overflow:hidden}:host([max-lines="1"]){display:inline-block;text-overflow:ellipsis;white-space:nowrap}:host(:not([max-lines="1"])){display:-webkit-inline-box;-webkit-line-clamp:var(--_ui5_text_max_lines);line-clamp:var(--_ui5_text_max_lines);-webkit-box-orient:vertical;white-space:normal;word-wrap:break-word}.empty-indicator-aria-label{position:absolute!important;clip:rect(1px,1px,1px,1px);user-select:none;left:0;top:0;font-size:0}\n`;var c=this&&this.__decorate||function(e,t,i,r){var n=arguments.length,a=n<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,i,r);else for(var s=e.length-1;s>=0;s--)if(o=e[s])a=(n<3?o(a):n>3?o(t,i,a):o(t,i))||a;return n>3&&a&&Object.defineProperty(t,i,a),a};var m;let h=m=class e extends t.S{constructor(){super(...arguments);this.maxLines=Infinity;this.emptyIndicatorMode="Off"}onBeforeRendering(){this.style.setProperty("--_ui5_text_max_lines",`${this.maxLines}`)}get hasText(){return n.t(this.text)}get _renderEmptyIndicator(){return!this.hasText&&this.emptyIndicatorMode===p.On}get _emptyIndicatorAriaLabel(){return m.i18nBundle.getText(a.EMPTY_INDICATOR_ACCESSIBLE_TEXT)}get _emptyIndicatorSymbol(){return m.i18nBundle.getText(a.EMPTY_INDICATOR_SYMBOL)}};c([t.s({type:Number})],h.prototype,"maxLines",void 0);c([t.s()],h.prototype,"emptyIndicatorMode",void 0);c([t.d({type:Node,default:true})],h.prototype,"text",void 0);c([r.i("@ui5/webcomponents")],h,"i18nBundle",void 0);h=m=c([t.m({tag:"ui5-text",renderer:i.y,template:l,styles:d})],h);h.define();var f=h;e.Text=f});
|
|
2
|
+
//# sourceMappingURL=Text.js.map
|