@openui5/sap.f 1.141.2 → 1.143.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/README.md +2 -2
- package/REUSE.toml +39 -1
- package/THIRDPARTY.txt +36 -3
- package/package.json +19 -4
- package/src/sap/f/.library +34 -3
- package/src/sap/f/Avatar.js +1 -1
- package/src/sap/f/AvatarGroup.js +1 -1
- 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 +1 -1
- package/src/sap/f/DynamicPage.js +3 -4
- 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 +1 -1
- 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/FlexibleColumnLayoutRenderer.js +2 -0
- 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 +6 -1
- package/src/sap/f/SidePanel.js +1 -1
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +1 -1
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +1 -1
- package/src/sap/f/cards/NumericIndicators.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +1 -1
- 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 +238 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +339 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +125 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItem.js +140 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemBase.js +64 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +207 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +280 -0
- package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +347 -0
- package/src/sap/f/gen/ui5/webcomponents.js +2819 -0
- package/src/sap/f/gen/ui5/webcomponents_base.js +572 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +211 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +204 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +164 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +243 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItemBase.js +87 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +248 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +125 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +60 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +88 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +76 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +81 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +655 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +122 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +139 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +232 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +74 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +279 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +129 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +83 -0
- package/src/sap/f/gen/ui5/webcomponents_fiori.js +1648 -0
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/messagebundle_hr.properties +1 -1
- package/src/sap/f/messagebundle_id.properties +1 -1
- 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/Card.less +16 -2
- package/src/sap/f/themes/base/CardHeaders.less +25 -3
- package/src/sap/f/themes/base/DynamicPage.less +6 -1
- package/src/sap/f/themes/base/SidePanel.less +2 -1
- package/src/sap/f/thirdparty/AccessibilityTextsHelper.js +13 -0
- package/src/sap/f/thirdparty/Avatar.js +453 -0
- package/src/sap/f/thirdparty/BusyIndicator.js +233 -0
- package/src/sap/f/thirdparty/Button.js +7 -0
- package/src/sap/f/thirdparty/Button2.js +656 -0
- package/src/sap/f/thirdparty/FocusableElements.js +10 -0
- package/src/sap/f/thirdparty/Icon.js +313 -0
- package/src/sap/f/thirdparty/Icons.js +234 -0
- package/src/sap/f/thirdparty/IllustratedMessage.js +1297 -0
- package/src/sap/f/thirdparty/Label.js +115 -0
- package/src/sap/f/thirdparty/Link.js +316 -0
- package/src/sap/f/thirdparty/List.js +1253 -0
- package/src/sap/f/thirdparty/ListBoxItemGroupTemplate.js +14 -0
- package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +10 -0
- package/src/sap/f/thirdparty/ListItemBase.js +251 -0
- package/src/sap/f/thirdparty/ListItemCustom.js +1689 -0
- package/src/sap/f/thirdparty/ListItemGroup.js +637 -0
- package/src/sap/f/thirdparty/Menu.js +389 -0
- package/src/sap/f/thirdparty/MenuItem.js +10 -0
- package/src/sap/f/thirdparty/MenuItem2.js +762 -0
- package/src/sap/f/thirdparty/NotificationList.js +291 -0
- package/src/sap/f/thirdparty/NotificationListGroupItem.js +310 -0
- package/src/sap/f/thirdparty/NotificationListItem.js +534 -0
- package/src/sap/f/thirdparty/NotificationListItemBase.js +98 -0
- package/src/sap/f/thirdparty/ResponsivePopover.js +2312 -0
- package/src/sap/f/thirdparty/SearchItem.css.js +10 -0
- package/src/sap/f/thirdparty/SearchItem.js +152 -0
- package/src/sap/f/thirdparty/SearchItemGroup.js +44 -0
- package/src/sap/f/thirdparty/SearchItemShowMore.js +86 -0
- package/src/sap/f/thirdparty/SearchMessageArea.js +49 -0
- package/src/sap/f/thirdparty/SearchScope.js +39 -0
- package/src/sap/f/thirdparty/ShellBar.js +1809 -0
- package/src/sap/f/thirdparty/ShellBarBranding.js +119 -0
- package/src/sap/f/thirdparty/ShellBarItem.js +89 -0
- package/src/sap/f/thirdparty/ShellBarSearch.js +7 -0
- package/src/sap/f/thirdparty/ShellBarSearch2.js +3453 -0
- package/src/sap/f/thirdparty/ShellBarSpacer.js +40 -0
- package/src/sap/f/thirdparty/Tag.js +302 -0
- package/src/sap/f/thirdparty/Text.js +127 -0
- package/src/sap/f/thirdparty/Title.js +167 -0
- package/src/sap/f/thirdparty/UserMenu.js +950 -0
- package/src/sap/f/thirdparty/UserMenuAccount.js +114 -0
- package/src/sap/f/thirdparty/UserMenuItem.js +61 -0
- package/src/sap/f/thirdparty/ValueState.js +7 -0
- package/src/sap/f/thirdparty/WrappingType.js +24 -0
- package/src/sap/f/thirdparty/_dynamics/InputComposition.js +35 -0
- package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +397 -0
- package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +193 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT.js +585 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-TNT2.js +585 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite.js +1194 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons-business-suite2.js +1194 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons.js +2509 -0
- package/src/sap/f/thirdparty/_dynamics/SAP-icons2.js +2509 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ar2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_bg2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ca2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cnr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cs2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_cy2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_da2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_de2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_el2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_GB2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_sappsd2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saprigi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_en_US_saptrc2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_es_MX2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_et2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_fr_CA2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_hu2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_id2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_it2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_iw2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ja2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_kk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ko2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lt2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_lv2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_mk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ms2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_nl2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_no2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pl2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_pt_PT2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ro2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_ru2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sh2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sl2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_sv2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_th2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_tr2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_uk2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_vi2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_CN2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW.js +866 -0
- package/src/sap/f/thirdparty/_dynamics/messagebundle_zh_TW2.js +611 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css10.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css11.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css12.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css13.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css14.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css15.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css16.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css17.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css18.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css19.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css20.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css21.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css22.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css23.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css24.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css25.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css26.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css27.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css4.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css5.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css6.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css7.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css8.js +7 -0
- package/src/sap/f/thirdparty/_dynamics/parameters-bundle.css9.js +7 -0
- package/src/sap/f/thirdparty/encodeXML.js +87 -0
- package/src/sap/f/thirdparty/event-strict.js +7 -0
- package/src/sap/f/thirdparty/generateHighlightedMarkup.js +9 -0
- package/src/sap/f/thirdparty/i18n-defaults.js +119 -0
- package/src/sap/f/thirdparty/i18n-defaults2.js +159 -0
- package/src/sap/f/thirdparty/information.js +100 -0
- package/src/sap/f/thirdparty/information2.js +13 -0
- package/src/sap/f/thirdparty/overflow.js +25 -0
- package/src/sap/f/thirdparty/parameters-bundle.css.js +11 -0
- package/src/sap/f/thirdparty/parameters-bundle.css2.js +44 -0
- package/src/sap/f/thirdparty/parameters-bundle.css3.js +8 -0
- package/src/sap/f/thirdparty/query.js +7 -0
- package/src/sap/f/thirdparty/slim-arrow-down.js +44 -0
- package/src/sap/f/thirdparty/sys-enter-2.js +7 -0
- package/src/sap/f/thirdparty/toLowercaseEnumValue.js +7 -0
- package/src/sap/f/thirdparty/ui5/webcomponents_icons/AllIcons.js +26 -0
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_business_suite/AllIcons.js +26 -0
- package/src/sap/f/thirdparty/ui5/webcomponents_icons_tnt/AllIcons.js +26 -0
- package/src/sap/f/thirdparty/webcomponents-base.js +7 -0
- package/src/sap/f/thirdparty/webcomponents-fiori.js +5 -0
- package/src/sap/f/thirdparty/webcomponents.js +4611 -0
- package/src/sap/f/thirdparty/willShowContent.js +7 -0
- package/ui5-build.yaml +55 -0
- package/ui5.yaml +46 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/Icons'], (function (webcomponentsBase, Icons) { 'use strict';
|
|
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
|
+
}));
|
|
@@ -0,0 +1,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/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
|
+
}));
|
|
@@ -0,0 +1,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/Icons'], (function (exports, webcomponentsBase, parametersBundle_css, parametersBundle_css$1, willShowContent, i18nDefaults, Icons) { 'use strict';
|
|
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
|
+
}));
|