@openui5/sap.f 1.142.0 → 1.142.1
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 +1 -1
- package/THIRDPARTY.txt +2 -2
- package/package.json +5 -5
- package/src/sap/f/.library +1 -1
- 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 +28 -9
- 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/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 +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 +2 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/Button.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/Label.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/ListItemGroup.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents/dist/Menu.js +10 -10
- package/src/sap/f/gen/ui5/webcomponents/dist/MenuItem.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents.js +208 -214
- package/src/sap/f/gen/ui5/webcomponents_base.js +26 -32
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/IllustratedMessage.js +4 -4
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationList.js +3 -3
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListGroupItem.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/NotificationListItem.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/Search.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItem.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemGroup.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchItemShowMore.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchMessageArea.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/SearchScope.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBar.js +3 -3
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarBranding.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarItem.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSearch.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/ShellBarSpacer.js +1 -1
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenu.js +11 -11
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuAccount.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori/dist/UserMenuItem.js +2 -2
- package/src/sap/f/gen/ui5/webcomponents_fiori.js +95 -101
- package/src/sap/f/library.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/thirdparty/Avatar.js +1 -1
- package/src/sap/f/thirdparty/BusyIndicator.js +4 -4
- package/src/sap/f/thirdparty/Button.js +1 -1
- package/src/sap/f/thirdparty/Button2.js +4 -4
- package/src/sap/f/thirdparty/FocusableElements.js +1 -1
- package/src/sap/f/thirdparty/Icon.js +7 -7
- package/src/sap/f/thirdparty/Icons.js +24 -24
- package/src/sap/f/thirdparty/IllustratedMessage.js +1 -1
- package/src/sap/f/thirdparty/Label.js +1 -1
- package/src/sap/f/thirdparty/Link.js +4 -4
- package/src/sap/f/thirdparty/List.js +8 -8
- package/src/sap/f/thirdparty/ListItemAdditionalText.css.js +1 -1
- package/src/sap/f/thirdparty/ListItemBase.js +3 -3
- package/src/sap/f/thirdparty/ListItemCustom.js +22 -22
- package/src/sap/f/thirdparty/ListItemGroup.js +7 -7
- package/src/sap/f/thirdparty/Menu.js +1 -1
- package/src/sap/f/thirdparty/MenuItem.js +1 -1
- package/src/sap/f/thirdparty/MenuItem2.js +9 -9
- package/src/sap/f/thirdparty/NotificationList.js +1 -1
- package/src/sap/f/thirdparty/NotificationListGroupItem.js +1 -1
- package/src/sap/f/thirdparty/NotificationListItem.js +1 -1
- package/src/sap/f/thirdparty/NotificationListItemBase.js +2 -2
- package/src/sap/f/thirdparty/ResponsivePopover.js +15 -15
- package/src/sap/f/thirdparty/SearchItem.css.js +1 -1
- package/src/sap/f/thirdparty/SearchItem.js +1 -1
- package/src/sap/f/thirdparty/SearchItemGroup.js +1 -1
- package/src/sap/f/thirdparty/SearchItemShowMore.js +1 -1
- package/src/sap/f/thirdparty/SearchMessageArea.js +1 -1
- package/src/sap/f/thirdparty/SearchScope.js +1 -1
- package/src/sap/f/thirdparty/ShellBar.js +1 -1
- package/src/sap/f/thirdparty/ShellBarBranding.js +1 -1
- package/src/sap/f/thirdparty/ShellBarItem.js +1 -1
- package/src/sap/f/thirdparty/ShellBarSearch.js +1 -1
- package/src/sap/f/thirdparty/ShellBarSearch2.js +24 -24
- package/src/sap/f/thirdparty/ShellBarSpacer.js +1 -1
- package/src/sap/f/thirdparty/Tag.js +6 -6
- package/src/sap/f/thirdparty/Text.js +4 -4
- package/src/sap/f/thirdparty/Title.js +3 -3
- package/src/sap/f/thirdparty/UserMenu.js +1 -1
- package/src/sap/f/thirdparty/UserMenuAccount.js +2 -2
- package/src/sap/f/thirdparty/UserMenuItem.js +1 -1
- package/src/sap/f/thirdparty/_dynamics/InputSuggestions.js +1 -1
- package/src/sap/f/thirdparty/_dynamics/ListItemStandardExpandableTextTemplate.js +1 -1
- package/src/sap/f/thirdparty/information.js +10 -10
- package/src/sap/f/thirdparty/overflow.js +2 -2
- package/src/sap/f/thirdparty/parameters-bundle.css2.js +1 -1
- package/src/sap/f/thirdparty/slim-arrow-down.js +4 -4
- package/src/sap/f/thirdparty/webcomponents-base.js +2 -4296
- package/src/sap/f/thirdparty/webcomponents-fiori.js +1 -142
- package/src/sap/f/thirdparty/webcomponents.js +4452 -11
- package/ui5-build.yaml +1 -0
- package/src/sap/f/thirdparty/webcomponents-base2.js +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/i18n-defaults2'], (function (webcomponentsBase, eventStrict, parametersBundle_css$1, parametersBundle_css, Icons, Icon, i18nDefaults) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function AvatarTemplate() {
|
|
4
4
|
return (parametersBundle_css.jsxs("div", { class: "ui5-avatar-root", tabindex: this.tabindex, "data-sap-focus-ref": true, role: this._role, "aria-haspopup": this._ariaHasPopup, "aria-label": this.accessibleNameText, onKeyUp: this._onkeyup, onKeyDown: this._onkeydown, onClick: this._onclick, children: [this._hasImage ?
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/Label', 'sap/f/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, parametersBundle_css$1, parametersBundle_css, Icons, willShowContent, Label, i18nDefaults) { 'use strict';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Different BusyIndicator text placements.
|
|
@@ -30,7 +30,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
30
30
|
return (parametersBundle_css.jsx(parametersBundle_css.Fragment, { children: this.text && (parametersBundle_css.jsx(Label, { id: `${this._id}-label`, class: "ui5-busy-indicator-text", children: this.text })) }));
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
Icons.p("@" + "ui5" + "/" + "
|
|
33
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
34
34
|
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);
|
|
35
35
|
var busyIndicatorCss = `:host(:not([hidden])){display:inline-block}:host([_is-busy]){color:var(--_ui5-v2-15-0_busy_indicator_color)}:host([size="S"]) .ui5-busy-indicator-root{min-width:1.625rem;min-height:.5rem}:host([size="S"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:1.75rem}:host([size="S"]) .ui5-busy-indicator-circle{width:.5rem;height:.5rem}:host([size="S"]) .ui5-busy-indicator-circle:first-child,:host([size="S"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.0625rem}:host(:not([size])) .ui5-busy-indicator-root,:host([size="M"]) .ui5-busy-indicator-root{min-width:3.375rem;min-height:1rem}:host([size="M"]) .ui5-busy-indicator-circle:first-child,:host([size="M"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.1875rem}:host(:not([size])[text]:not([text=""])) .ui5-busy-indicator-root,:host([size="M"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:2.25rem}:host(:not([size])) .ui5-busy-indicator-circle,:host([size="M"]) .ui5-busy-indicator-circle{width:1rem;height:1rem}:host([size="L"]) .ui5-busy-indicator-root{min-width:6.5rem;min-height:2rem}:host([size="L"]) .ui5-busy-indicator-circle:first-child,:host([size="L"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.25rem}:host([size="L"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:3.25rem}:host([size="L"]) .ui5-busy-indicator-circle{width:2rem;height:2rem}.ui5-busy-indicator-root{display:flex;justify-content:center;align-items:center;position:relative;background-color:inherit;height:inherit;border-radius:inherit}.ui5-busy-indicator-busy-area.ui5-busy-indicator-busy-area-over-content{position:absolute;inset:0;z-index:99}.ui5-busy-indicator-busy-area{display:flex;justify-content:center;align-items:center;background-color:inherit;flex-direction:column;border-radius:inherit}:host([active]) ::slotted(*){opacity:var(--sapContent_DisabledOpacity)}:host([desktop]) .ui5-busy-indicator-busy-area:focus,.ui5-busy-indicator-busy-area:focus-visible{outline:var(--_ui5-v2-15-0_busy_indicator_focus_outline);outline-offset:-2px}.ui5-busy-indicator-circles-wrapper{line-height:0}.ui5-busy-indicator-circle{display:inline-block;background-color:currentColor;border-radius:50%}.ui5-busy-indicator-circle:before{content:"";width:100%;height:100%;border-radius:100%}.circle-animation-0{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11)}.circle-animation-1{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.2s}.circle-animation-2{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.4s}.ui5-busy-indicator-text{width:100%;text-align:center}:host([text-placement="Top"]) .ui5-busy-indicator-text{margin-bottom:.5rem}:host(:not([text-placement])) .ui5-busy-indicator-text,:host([text-placement="Bottom"]) .ui5-busy-indicator-text{margin-top:.5rem}@keyframes grow{0%,50%,to{-webkit-transform:scale(.5);-moz-transform:scale(.5);transform:scale(.5)}25%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}}
|
|
36
36
|
`;
|
|
@@ -73,7 +73,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
73
73
|
*
|
|
74
74
|
* ### ES6 Module Import
|
|
75
75
|
*
|
|
76
|
-
* `import "
|
|
76
|
+
* `import "@ui5/webcomponents/dist/BusyIndicator.js";`
|
|
77
77
|
* @constructor
|
|
78
78
|
* @extends UI5Element
|
|
79
79
|
* @public
|
|
@@ -214,7 +214,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
214
214
|
webcomponentsBase.s({ type: Boolean })
|
|
215
215
|
], BusyIndicator.prototype, "_isBusy", void 0);
|
|
216
216
|
__decorate([
|
|
217
|
-
parametersBundle_css$1.i("
|
|
217
|
+
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
218
218
|
], BusyIndicator, "i18nBundle", void 0);
|
|
219
219
|
BusyIndicator = BusyIndicator_1 = __decorate([
|
|
220
220
|
webcomponentsBase.m({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/Button2', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/Label'], (function (webcomponentsBase, eventStrict, parametersBundle_css, parametersBundle_css$1, AccessibilityTextsHelper, Icons, willShowContent, Button, toLowercaseEnumValue, i18nDefaults, Icon, BusyIndicator, Label) { 'use strict';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/willShowContent', 'sap/f/thirdparty/toLowercaseEnumValue', 'sap/f/thirdparty/Icon', 'sap/f/thirdparty/BusyIndicator', 'sap/f/thirdparty/i18n-defaults2'], (function (exports, webcomponentsBase, eventStrict, parametersBundle_css$1, parametersBundle_css, AccessibilityTextsHelper, Icons, willShowContent, toLowercaseEnumValue, Icon, BusyIndicator, i18nDefaults) { 'use strict';
|
|
2
2
|
|
|
3
3
|
let e;const l=()=>(e===void 0&&(e=Icons.b()),e);
|
|
4
4
|
|
|
@@ -129,7 +129,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
129
129
|
parametersBundle_css.jsx(BusyIndicator.BusyIndicator, { id: `${this._id}-button-busy-indicator`, class: "ui5-button-busy-indicator", size: this.iconOnly ? BusyIndicatorSize$1.S : BusyIndicatorSize$1.M, active: true, delay: this.loadingDelay, inert: this.loading })] }));
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
Icons.p("@" + "ui5" + "/" + "
|
|
132
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
133
133
|
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);
|
|
134
134
|
var buttonCss = `:host{vertical-align:middle}.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{min-width:var(--_ui5-v2-15-0_button_base_min_width);height:var(--_ui5-v2-15-0_button_base_height);line-height:normal;font-family:var(--_ui5-v2-15-0_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5-v2-15-0_button_text_shadow);border-radius:var(--_ui5-v2-15-0_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-tap-highlight-color:transparent}.ui5-button-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5-v2-15-0_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:1px solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-button-icon,.ui5-button-end-icon{color:inherit;flex-shrink:0}.ui5-button-end-icon{margin-inline-start:var(--_ui5-v2-15-0_button_base_icon_margin)}:host([icon-only]:not([has-end-icon])) .ui5-button-root{min-width:auto;padding:0}:host([icon-only]) .ui5-button-text{display:none}.ui5-button-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not(:empty)) .ui5-button-text{margin-inline-start:var(--_ui5-v2-15-0_button_base_icon_margin)}:host([has-end-icon]:not([has-icon]):empty) .ui5-button-end-icon{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only]):not([has-end-icon])) .ui5-button-text{min-width:calc(var(--_ui5-v2-15-0_button_base_min_width) - var(--_ui5-v2-15-0_button_base_icon_margin) - 1rem)}:host([disabled]:active){pointer-events:none}:host([desktop]:not([loading])) .ui5-button-root:focus-within:after,:host(:not([active])) .ui5-button-root:focus-visible:after,:host([desktop][active][design="Emphasized"]) .ui5-button-root:focus-within:after,:host([active][design="Emphasized"]) .ui5-button-root:focus-visible:after,:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset:.0625rem;border:var(--_ui5-v2-15-0_button_focused_border);border-radius:var(--_ui5-v2-15-0_button_focused_border_radius)}:host([desktop][active]) .ui5-button-root:focus-within:before,:host([active]) .ui5-button-root:focus-visible:before{border-color:var(--_ui5-v2-15-0_button_pressed_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-15-0_button_emphasized_focused_border_color)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:before,:host([design="Emphasized"]) .ui5-button-root:focus-visible:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v2-15-0_button_emphasized_focused_border_before);border-radius:var(--_ui5-v2-15-0_button_focused_border_radius)}.ui5-button-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([ui5-button][active]:not([disabled]):not([non-interactive])){background-image:none;background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]){background-color:var(--sapButton_Accept_Background);border-color:var(--sapButton_Accept_BorderColor);color:var(--sapButton_Accept_TextColor)}:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Accept_Hover_Background);border-color:var(--sapButton_Accept_Hover_BorderColor);color:var(--sapButton_Accept_Hover_TextColor)}:host([ui5-button][design="Positive"][active]:not([non-interactive])){background-color:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([design="Negative"]){background-color:var(--sapButton_Reject_Background);border-color:var(--sapButton_Reject_BorderColor);color:var(--sapButton_Reject_TextColor)}:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Reject_Hover_Background);border-color:var(--sapButton_Reject_Hover_BorderColor);color:var(--sapButton_Reject_Hover_TextColor)}:host([ui5-button][design="Negative"][active]:not([non-interactive])){background-color:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Attention"]){background-color:var(--sapButton_Attention_Background);border-color:var(--sapButton_Attention_BorderColor);color:var(--sapButton_Attention_TextColor)}:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Attention_Hover_Background);border-color:var(--sapButton_Attention_Hover_BorderColor);color:var(--sapButton_Attention_Hover_TextColor)}:host([ui5-button][design="Attention"][active]:not([non-interactive])){background-color:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Emphasized"]){background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);border-width:var(--_ui5-v2-15-0_button_emphasized_border_width);color:var(--sapButton_Emphasized_TextColor);font-family:var(--sapButton_Emphasized_FontFamily)}:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Emphasized_Hover_Background);border-color:var(--sapButton_Emphasized_Hover_BorderColor);border-width:var(--_ui5-v2-15-0_button_emphasized_border_width);color:var(--sapButton_Emphasized_Hover_TextColor)}:host([ui5-button][design="Empasized"][active]:not([non-interactive])){background-color:var(--sapButton_Emphasized_Active_Background);border-color:var(--sapButton_Emphasized_Active_BorderColor);color:var(--sapButton_Emphasized_Active_TextColor)}:host([design="Emphasized"][desktop]) .ui5-button-root:focus-within:after,:host([design="Emphasized"]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-15-0_button_emphasized_focused_border_color);outline:none}:host([design="Emphasized"][desktop][active]:not([non-interactive])) .ui5-button-root:focus-within:after,:host([design="Emphasized"][active]:not([non-interactive])) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-15-0_button_emphasized_focused_active_border_color)}:host([design="Transparent"]){background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);border-color:var(--sapButton_Lite_BorderColor)}:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Lite_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapButton_Lite_Hover_TextColor)}:host([ui5-button][design="Transparent"][active]:not([non-interactive])){background-color:var(--sapButton_Lite_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([ui5-segmented-button-item][active][desktop]) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item][active]) .ui5-button-root:focus-visible:after,:host([pressed][desktop]) .ui5-button-root:focus-within:after,:host([pressed]) .ui5-button-root:focus-visible:after{border-color:var(--_ui5-v2-15-0_button_pressed_focused_border_color);outline:none}:host([ui5-segmented-button-item][desktop]:not(:last-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:last-child)) .ui5-button-root:focus-visible:after{border-top-right-radius:var(--_ui5-v2-15-0_button_focused_inner_border_radius);border-bottom-right-radius:var(--_ui5-v2-15-0_button_focused_inner_border_radius)}:host([ui5-segmented-button-item][desktop]:not(:first-child)) .ui5-button-root:focus-within:after,:host([ui5-segmented-button-item]:not(:first-child)) .ui5-button-root:focus-visible:after{border-top-left-radius:var(--_ui5-v2-15-0_button_focused_inner_border_radius);border-bottom-left-radius:var(--_ui5-v2-15-0_button_focused_inner_border_radius)}::slotted([slot="badge"][design="InlineText"]){pointer-events:initial;font-family:var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);padding-inline-start:.25rem;--_ui5-v2-15-0-tag-height: .625rem}::slotted([slot="badge"][design="OverlayText"]){pointer-events:initial;position:absolute;top:0;inset-inline-end:0;margin:-.5rem;z-index:1;font-family:var(--sapButton_FontFamily);font-size:var(--sapFontSmallSize);--_ui5-v2-15-0-tag-height: .625rem}::slotted([slot="badge"][design="AttentionDot"]){pointer-events:initial;content:"";position:absolute;top:0;inset-inline-end:0;margin:-.25rem;z-index:1}:host(:state(has-overlay-badge)){overflow:visible;margin-inline-end:.3125rem}:host([loading]){position:relative;pointer-events:unset}:host([loading]) .ui5-button-root{opacity:var(--sapContent_DisabledOpacity)}:host([loading][design="Emphasized"]){background-color:inherit;border:inherit}:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:inherit;border:inherit}:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover) .ui5-button-root,:host([design="Emphasized"][loading]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered) .ui5-button-root{background-color:var(--sapButton_Emphasized_Hover_Background)}:host([loading][design="Emphasized"]) .ui5-button-root{background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor)}.ui5-button-busy-indicator{position:absolute;height:100%;width:100%;top:0}
|
|
135
135
|
`;
|
|
@@ -167,7 +167,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
167
167
|
*
|
|
168
168
|
* ### ES6 Module Import
|
|
169
169
|
*
|
|
170
|
-
* `import "
|
|
170
|
+
* `import "@ui5/webcomponents/dist/Button.js";`
|
|
171
171
|
* @csspart button - Used to style the native button element
|
|
172
172
|
* @csspart icon - Used to style the icon in the native button element
|
|
173
173
|
* @csspart endIcon - Used to style the end icon in the native button element
|
|
@@ -606,7 +606,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
606
606
|
webcomponentsBase.d({ type: HTMLElement, invalidateOnChildChange: true })
|
|
607
607
|
], Button.prototype, "badge", void 0);
|
|
608
608
|
__decorate([
|
|
609
|
-
parametersBundle_css$1.i("
|
|
609
|
+
parametersBundle_css$1.i("@ui5/webcomponents")
|
|
610
610
|
], Button, "i18nBundle", void 0);
|
|
611
611
|
Button = Button_1 = __decorate([
|
|
612
612
|
webcomponentsBase.m({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['exports', 'sap/f/thirdparty/ListItemBase', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/Icons'], (function (exports, ListItemBase, webcomponentsBase, Icons) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const n=/^(?:a|area)$/i,a=/^(?:input|select|textarea|button)$/i,r=e=>{if(e.disabled)return false;const t=e.getAttribute("tabindex");return t!=null?parseInt(t)>=0:a.test(e.nodeName)||n.test(e.nodeName)&&!!e.href};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/event-strict', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/parameters-bundle.css'], (function (exports, webcomponentsBase, parametersBundle_css, eventStrict, Icons, parametersBundle_css$1) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function IconTemplate() {
|
|
4
4
|
return (parametersBundle_css.jsxs("svg", { class: "ui5-icon-root", part: "root", tabindex: this._tabIndex, dir: this._dir, viewBox: this.viewBox, role: this.effectiveAccessibleRole, focusable: "false", preserveAspectRatio: "xMidYMid meet", "aria-label": this.effectiveAccessibleName, "aria-hidden": this.effectiveAriaHidden, xmlns: "http://www.w3.org/2000/svg", onKeyDown: this._onkeydown, onKeyUp: this._onkeyup, children: [this.hasIconTooltip &&
|
|
@@ -44,7 +44,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
44
44
|
})(IconMode || (IconMode = {}));
|
|
45
45
|
var IconMode$1 = IconMode;
|
|
46
46
|
|
|
47
|
-
Icons.p("@" + "ui5" + "/" + "
|
|
47
|
+
Icons.p("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => parametersBundle_css.defaultThemeBase);
|
|
48
48
|
Icons.p("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s", "sap_horizon", async () => parametersBundle_css$1.defaultTheme);
|
|
49
49
|
var iconCss = `:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host([hidden]){display:none}:host([invalid]){display:none}:host(:not([hidden]).ui5_hovered){opacity:.7}:host{display:inline-block;width:1rem;height:1rem;color:var(--sapContent_IconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Information"]){color:var(--sapInformativeElementColor)}:host([design="Negative"]){color:var(--sapNegativeElementColor)}:host([design="Neutral"]){color:var(--sapNeutralElementColor)}:host([design="NonInteractive"]){color:var(--sapContent_NonInteractiveIconColor)}:host([design="Positive"]){color:var(--sapPositiveElementColor)}:host([mode="Interactive"][desktop]) .ui5-icon-root:focus,:host([mode="Interactive"]) .ui5-icon-root:focus-visible{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-v2-15-0-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top}:host([mode="Interactive"]){cursor:pointer}.ui5-icon-root:not([dir=ltr])>g{transform:var(--_ui5-v2-15-0_icon_transform_scale);transform-origin:center}
|
|
50
50
|
`;
|
|
@@ -94,15 +94,15 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
94
94
|
*
|
|
95
95
|
* For the standard "SAP-icons" icon collection, import an icon from the `@ui5/webcomponents-icons` package:
|
|
96
96
|
*
|
|
97
|
-
* `import "
|
|
97
|
+
* `import "@ui5/webcomponents-icons/dist/employee.js";`
|
|
98
98
|
*
|
|
99
99
|
* For the "tnt" (SAP Fiori Tools) icon collection, import an icon from the `@ui5/webcomponents-icons-tnt` package:
|
|
100
100
|
*
|
|
101
|
-
* `import "
|
|
101
|
+
* `import "@ui5/webcomponents-icons-tnt/dist/antenna.js";`
|
|
102
102
|
*
|
|
103
103
|
* For the "business-suite" (SAP Business Suite) icon collection, import an icon from the `@ui5/webcomponents-icons-business-suite` package:
|
|
104
104
|
*
|
|
105
|
-
* `import "
|
|
105
|
+
* `import "@ui5/webcomponents-icons-business-suite/dist/ab-testing.js";`
|
|
106
106
|
*
|
|
107
107
|
* 4. **Display the icon using the `ui5-icon` web component.**
|
|
108
108
|
* Set the icon collection ("SAP-icons", "tnt" or "business-suite" - "SAP-icons" is the default icon collection and can be skipped)
|
|
@@ -119,7 +119,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
119
119
|
*
|
|
120
120
|
* ### ES6 Module Import
|
|
121
121
|
*
|
|
122
|
-
* `import "
|
|
122
|
+
* `import "@ui5/webcomponents/dist/Icon.js";`
|
|
123
123
|
* @csspart root - Used to style the outermost wrapper of the `ui5-icon`.
|
|
124
124
|
* @constructor
|
|
125
125
|
* @extends UI5Element
|
|
@@ -220,7 +220,7 @@ sap.ui.define(['exports', 'sap/f/thirdparty/webcomponents-base', 'sap/f/thirdpar
|
|
|
220
220
|
if (iconData === ICON_NOT_FOUND) {
|
|
221
221
|
this.invalid = true;
|
|
222
222
|
/* eslint-disable-next-line */
|
|
223
|
-
return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "
|
|
223
|
+
return console.warn(`Required icon is not registered. You can either import the icon as a module in order to use it e.g. "@ui5/webcomponents-icons/dist/${name.replace("sap-icon://", "")}.js", or setup a JSON build step and import "@ui5/webcomponents-icons/dist/AllIcons.js".`);
|
|
224
224
|
}
|
|
225
225
|
this.viewBox = iconData.viewBox || "0 0 512 512";
|
|
226
226
|
if ("customTemplate" in iconData && iconData.customTemplate) {
|
|
@@ -62,7 +62,7 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
62
62
|
|
|
63
63
|
let t$a;i$9(()=>{t$a=void 0;});const n$8=()=>(t$a===void 0&&(t$a=S$1()),t$a),u$5=e=>`${n$8()}Base/baseLib/${e}/css_variables.css`,i$5=async e=>{const o=document.querySelector(`[sap-ui-webcomponents-theme="${e}"]`);o&&document.head.removeChild(o),await d$3(u$5(e),{"sap-ui-webcomponents-theme":e});};
|
|
64
64
|
|
|
65
|
-
let _lib="ui5",_package="
|
|
65
|
+
let _lib="ui5",_package="webcomponents-theming";const s$7="@"+_lib+"/"+_package,S=()=>w$4().has(s$7),P$2=async e=>{if(!S())return;const t=await m$4(s$7,e);t&&R$1(t,"data-ui5-theme-properties",s$7,e);},E=()=>{f$7("data-ui5-theme-properties",s$7);},U=async(e,t)=>{const o=[...w$4()].map(async a=>{if(a===s$7)return;const i=await m$4(a,e,t);i&&R$1(i,`data-ui5-component-properties-${I$1()}`,a);});return Promise.all(o)},k=async e=>{const t=m$3();if(t)return t;const r=n$e("OpenUI5Support");if(r&&r.isOpenUI5Detected()){if(r.cssVariablesLoaded())return {themeName:r.getConfigurationSettingsObject()?.theme,baseThemeName:""}}else if(n$8())return await i$5(e),m$3()},w$3=async e=>{const t=await k(e);!t||e!==t.themeName?await P$2(e):E();const r=P$3(e)?e:t&&t.baseThemeName;await U(r||e$6,t&&t.themeName===e?e:void 0),r$9(e);};
|
|
66
66
|
|
|
67
67
|
const d$2=()=>new Promise(e=>{document.body?e():document.addEventListener("DOMContentLoaded",()=>{e();});});
|
|
68
68
|
|
|
@@ -123,38 +123,38 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
123
123
|
|
|
124
124
|
let t$6;i$9(()=>{t$6=void 0;});const r$6=()=>(t$6===void 0&&(t$6=T$1()),t$6),u$3=async e=>{t$6!==e&&(t$6=e,h$2()&&(await w$3(t$6),await C$1({themeAware:true})));},g$3=()=>e$6,n$6=()=>{const e=r$6();return l$3(e)?!e.startsWith("sap_horizon"):!m$3()?.baseThemeName?.startsWith("sap_horizon")},l$3=e=>s$d.includes(e);
|
|
125
125
|
|
|
126
|
-
const t$5=
|
|
126
|
+
const t$5=typeof document>"u",o$1=()=>{if(t$5)return a$a;const a=navigator.languages,n=()=>navigator.language;return a&&a[0]||n()||a$a};
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
const e$2=new i$a,n$5="languageChange",t$4=a=>{e$2.attachEvent(n$5,a);},r$5=a=>{e$2.detachEvent(n$5,a);},o=a=>e$2.fireEventAsync(n$5,a);
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
let e$1,t$3;i$9(()=>{e$1=void 0,t$3=void 0;});let a$1=false;const s$4=()=>a$1,l$2=()=>(e$1===void 0&&(e$1=L$2()),e$1),L$1=async n=>{e$1!==n&&(a$1=true,e$1=n,await o(n),a$1=false,h$2()&&await C$1({languageAware:true}));},c$5=()=>a$a,m$1=n=>{t$3=n;},h$1=()=>(t$3===void 0&&(t$3=R()),t$3);
|
|
131
131
|
|
|
132
|
-
const i$
|
|
132
|
+
const n$4=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i;let r$4 = class r{constructor(s){const t=n$4.exec(s.replace(/_/g,"-"));if(t===null)throw new Error(`The given language ${s} does not adhere to BCP-47.`);this.sLocaleId=s,this.sLanguage=t[1]||a$a,this.sScript=t[2]||"",this.sRegion=t[3]||"",this.sVariant=t[4]&&t[4].slice(1)||null,this.sExtension=t[5]&&t[5].slice(1)||null,this.sPrivateUse=t[6]||null,this.sLanguage&&(this.sLanguage=this.sLanguage.toLowerCase()),this.sScript&&(this.sScript=this.sScript.toLowerCase().replace(/^[a-z]/,i=>i.toUpperCase())),this.sRegion&&(this.sRegion=this.sRegion.toUpperCase());}getLanguage(){return this.sLanguage}getScript(){return this.sScript}getRegion(){return this.sRegion}getVariant(){return this.sVariant}getVariantSubtags(){return this.sVariant?this.sVariant.split("-"):[]}getExtension(){return this.sExtension}getExtensionSubtags(){return this.sExtension?this.sExtension.slice(2).split("-"):[]}getPrivateUse(){return this.sPrivateUse}getPrivateUseSubtags(){return this.sPrivateUse?this.sPrivateUse.slice(2).split("-"):[]}hasPrivateUseSubtag(s){return this.getPrivateUseSubtags().indexOf(s)>=0}toString(){const s=[this.sLanguage];return this.sScript&&s.push(this.sScript),this.sRegion&&s.push(this.sRegion),this.sVariant&&s.push(this.sVariant),this.sExtension&&s.push(this.sExtension),this.sPrivateUse&&s.push(this.sPrivateUse),s.join("-")}};
|
|
133
133
|
|
|
134
|
-
const
|
|
134
|
+
const r$3=new Map,n$3=t=>(r$3.has(t)||r$3.set(t,new r$4(t)),r$3.get(t)),c$4=t=>{try{if(t&&typeof t=="string")return n$3(t)}catch{}return new r$4(r$d)},s$3=t=>{const e=l$2();return e?n$3(e):c$4(o$1())};
|
|
135
135
|
|
|
136
|
-
const
|
|
136
|
+
const _=/^((?:[A-Z]{2,3}(?:-[A-Z]{3}){0,3})|[A-Z]{4}|[A-Z]{5,8})(?:-([A-Z]{4}))?(?:-([A-Z]{2}|[0-9]{3}))?((?:-[0-9A-Z]{5,8}|-[0-9][0-9A-Z]{3})*)((?:-[0-9A-WYZ](?:-[0-9A-Z]{2,8})+)*)(?:-(X(?:-[0-9A-Z]{1,8})+))?$/i,c$3=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,f$3={he:"iw",yi:"ji",nb:"no",sr:"sh"},p=i=>{let e;if(!i)return r$d;if(typeof i=="string"&&(e=_.exec(i.replace(/_/g,"-")))){let t=e[1].toLowerCase(),n=e[3]?e[3].toUpperCase():void 0;const s=e[2]?e[2].toLowerCase():void 0,r=e[4]?e[4].slice(1):void 0,o=e[6];return t=f$3[t]||t,o&&(e=c$3.exec(o))||r&&(e=c$3.exec(r))?`en_US_${e[1].toLowerCase()}`:(t==="zh"&&!n&&(s==="hans"?n="CN":s==="hant"&&(n="TW")),t+(n?"_"+n+(r?"_"+r.replace("-","_"):""):""))}return r$d};
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
const r$2={zh_HK:"zh_TW",in:"id"},n$2=t=>{if(!t)return r$d;if(r$2[t])return r$2[t];const L=t.lastIndexOf("_");return L>=0?t.slice(0,L):t!==r$d?r$d:""};
|
|
139
139
|
|
|
140
|
-
const
|
|
140
|
+
const d=new Set,m=new Set,g$2=new Map,l$1=new Map,u$2=new Map,$=(n,t,e)=>{const r=`${n}/${t}`;u$2.set(r,e);},f$2=(n,t)=>{g$2.set(n,t);},A$1=n=>g$2.get(n),h=(n,t)=>{const e=`${n}/${t}`;return u$2.has(e)},B=(n,t)=>{const e=`${n}/${t}`,r=u$2.get(e);return r&&!l$1.get(e)&&l$1.set(e,r(t)),l$1.get(e)},M=n=>{d.has(n)||(console.warn(`[${n}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${n}/dist/Assets.js"\` in your bundle and make sure your build tool supports dynamic imports and JSON imports. See section "Assets" in the documentation for more information.`),d.add(n));},L=(n,t)=>t!==a$a&&!h(n,t),w$1=async n=>{const t=s$3().getLanguage(),e=s$3().getRegion(),r=s$3().getVariant();let s=t+(e?`-${e}`:"")+(r?`-${r}`:"");if(L(n,s))for(s=p(s);L(n,s);)s=n$2(s);const I=h$1();if(s===a$a&&!I){f$2(n,null);return}if(!h(n,s)){M(n);return}try{const o=await B(n,s);f$2(n,o);}catch(o){const a=o;m.has(a.message)||(m.add(a.message),console.error(a.message));}};t$4(n=>{const t=[...g$2.keys()];return Promise.all(t.map(w$1))});
|
|
141
141
|
|
|
142
|
-
const
|
|
142
|
+
const t$2=new Map,e=(n,o)=>{t$2.set(n,o);},c$2=n=>t$2.get(n);
|
|
143
143
|
|
|
144
|
-
|
|
144
|
+
var t$1=(o=>(o.SAPIconsV4="SAP-icons-v4",o.SAPIconsV5="SAP-icons-v5",o.SAPIconsTNTV2="tnt-v2",o.SAPIconsTNTV3="tnt-v3",o.SAPBSIconsV1="business-suite-v1",o.SAPBSIconsV2="business-suite-v2",o))(t$1||{});const s$2=new Map;s$2.set("SAP-icons",{legacy:"SAP-icons-v4",sap_horizon:"SAP-icons-v5"}),s$2.set("tnt",{legacy:"tnt-v2",sap_horizon:"tnt-v3"}),s$2.set("business-suite",{legacy:"business-suite-v1",sap_horizon:"business-suite-v2"});const c$1=(n,e)=>{if(s$2.has(n)){s$2.set(n,{...e,...s$2.get(n)});return}s$2.set(n,e);},r$1=n=>{const e=n$6()?"legacy":"sap_horizon";return s$2.has(n)?s$2.get(n)[e]:n};
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
var t=(s=>(s["SAP-icons"]="SAP-icons-v4",s.horizon="SAP-icons-v5",s["SAP-icons-TNT"]="tnt",s.BusinessSuiteInAppSymbols="business-suite",s))(t||{});const n$1=e=>t[e]?t[e]:e;
|
|
147
147
|
|
|
148
|
-
const
|
|
148
|
+
const i$2=o=>{const t=c$2(r$6());return !o&&t?n$1(t):o?r$1(o):r$1("SAP-icons")};
|
|
149
149
|
|
|
150
150
|
const g$1=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,i$1=(n,t)=>(t=t||[],n.replace(g$1,(p,s,e,r,o)=>{if(s)return "'";if(e)return e.replace(/''/g,"'");if(r){const a=typeof r=="string"?parseInt(r):r;return String(t[a])}throw new Error(`[i18n]: pattern syntax error at pos ${o}`)}));
|
|
151
151
|
|
|
152
152
|
const r=new Map;let s$1;let u$1 = class u{constructor(e){this.packageName=e;}getText(e,...i){if(typeof e=="string"&&(e={key:e,defaultText:e}),!e||!e.key)return "";const t=A$1(this.packageName);t&&!t[e.key]&&console.warn(`Key ${e.key} not found in the i18n bundle, the default text will be used`);const l=t&&t[e.key]?t[e.key]:e.defaultText||e.key;return i$1(l,i)}};const a=n=>{if(r.has(n))return r.get(n);const e=new u$1(n);return r.set(n,e),e},f$1=async n=>s$1?s$1(n):(await w$1(n),a(n)),y$1=n=>{s$1=n;};
|
|
153
153
|
|
|
154
|
-
const w="legacy",s=new Map,c=m$9("SVGIcons.registry",new Map),i=m$9("SVGIcons.promises",new Map),l="ICON_NOT_FOUND",C=(e,t)=>{s.set(e,t);},N=async e=>{if(!i.has(e)){if(!s.has(e))throw new Error(`No loader registered for the ${e} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const t=s.get(e);i.set(e,t(e));}return i.get(e)},f=e=>{Object.keys(e.data).forEach(t=>{const a=e.data[t];y(t,{pathData:a.path||a.paths,ltr:a.ltr,accData:a.acc,collection:e.collection,packageName:e.packageName});});},y=(e,t)=>{const a=`${t.collection}/${e}`,o={collection:t.collection,packageName:t.packageName,pathData:t.pathData,viewBox:t.viewBox,ltr:t.ltr,accData:t.accData,customTemplate:t.customTemplate};c.set(a,o);},u=e=>{e.startsWith("sap-icon://")&&(e=e.replace("sap-icon://",""));let t;return [e,t]=e.split("/").reverse(),e=e.replace("icon-",""),t&&(t=n$
|
|
154
|
+
const w="legacy",s=new Map,c=m$9("SVGIcons.registry",new Map),i=m$9("SVGIcons.promises",new Map),l="ICON_NOT_FOUND",C=(e,t)=>{s.set(e,t);},N=async e=>{if(!i.has(e)){if(!s.has(e))throw new Error(`No loader registered for the ${e} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const t=s.get(e);i.set(e,t(e));}return i.get(e)},f=e=>{Object.keys(e.data).forEach(t=>{const a=e.data[t];y(t,{pathData:a.path||a.paths,ltr:a.ltr,accData:a.acc,collection:e.collection,packageName:e.packageName});});},y=(e,t)=>{const a=`${t.collection}/${e}`,o={collection:t.collection,packageName:t.packageName,pathData:t.pathData,viewBox:t.viewBox,ltr:t.ltr,accData:t.accData,customTemplate:t.customTemplate};c.set(a,o);},u=e=>{e.startsWith("sap-icon://")&&(e=e.replace("sap-icon://",""));let t;return [e,t]=e.split("/").reverse(),e=e.replace("icon-",""),t&&(t=n$1(t)),{name:e,collection:t}},D=e=>{const{name:t,collection:a}=u(e);return g(a,t)},n=async e=>{const{name:t,collection:a}=u(e);let o=l;try{o=await N(i$2(a));}catch(r){console.error(r.message);}if(o===l)return o;const p=g(a,t);return p||(Array.isArray(o)?o.forEach(r=>{f(r),c$1(a,{[r.themeFamily||w]:r.collection});}):f(o),g(a,t))},g=(e,t)=>{const a=`${i$2(e)}/${t}`;return c.get(a)},A=async e=>{if(!e)return;let t=D(e);if(t||(t=await n(e)),t&&t!==l&&t.accData)return t.packageName?(await f$1(t.packageName)).getText(t.accData):t.accData?.defaultText||""};
|
|
155
155
|
|
|
156
|
-
exports.$ =
|
|
157
|
-
exports.$$1 =
|
|
156
|
+
exports.$ = $;
|
|
157
|
+
exports.$$1 = $$2;
|
|
158
158
|
exports.A = A;
|
|
159
159
|
exports.A$1 = A$2;
|
|
160
160
|
exports.C = C;
|
|
@@ -177,12 +177,12 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
177
177
|
exports.c$1 = c$b;
|
|
178
178
|
exports.c$2 = c$7;
|
|
179
179
|
exports.c$3 = c$c;
|
|
180
|
-
exports.c$4 = c$
|
|
181
|
-
exports.c$5 = c$
|
|
180
|
+
exports.c$4 = c$2;
|
|
181
|
+
exports.c$5 = c$5;
|
|
182
182
|
exports.d = d$1;
|
|
183
183
|
exports.d$1 = d$7;
|
|
184
184
|
exports.e = e$7;
|
|
185
|
-
exports.e$1 = e
|
|
185
|
+
exports.e$1 = e;
|
|
186
186
|
exports.f = f$4;
|
|
187
187
|
exports.f$1 = f$6;
|
|
188
188
|
exports.f$2 = f$1;
|
|
@@ -217,12 +217,12 @@ To prevent other runtimes from defining tags that you use, consider using scopin
|
|
|
217
217
|
exports.p$1 = p$4;
|
|
218
218
|
exports.r = r$6;
|
|
219
219
|
exports.r$1 = r$d;
|
|
220
|
-
exports.r$2 = r$
|
|
220
|
+
exports.r$2 = r$5;
|
|
221
221
|
exports.s = s$e;
|
|
222
|
-
exports.s$1 = s$
|
|
223
|
-
exports.s$2 = s$
|
|
224
|
-
exports.t = t$
|
|
225
|
-
exports.t$1 = t$
|
|
222
|
+
exports.s$1 = s$3;
|
|
223
|
+
exports.s$2 = s$4;
|
|
224
|
+
exports.t = t$4;
|
|
225
|
+
exports.t$1 = t$1;
|
|
226
226
|
exports.u = u$7;
|
|
227
227
|
exports.u$1 = u$3;
|
|
228
228
|
exports.u$2 = u$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/Icons', 'sap/f/thirdparty/AccessibilityTextsHelper', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/i18n-defaults', 'sap/f/thirdparty/parameters-bundle.css3', 'sap/f/thirdparty/Title'], (function (webcomponentsBase, parametersBundle_css$2, Icons, AccessibilityTextsHelper, parametersBundle_css, i18nDefaults, parametersBundle_css$1, Title) { 'use strict';
|
|
2
2
|
|
|
3
3
|
const u=new Map([["sap_horizon","V5"],["sap_horizon_dark","V5"],["sap_horizon_hcb","V5/HC"],["sap_horizon_hcw","V5/HC"]]),e="V4",i=new Map,l=Icons.m("SVGIllustration.registry",new Map),a=Icons.m("SVGIllustration.promises",new Map),I=()=>{const s=Icons.r();return u.has(s)?u.get(s):e},g=s=>{let t=I();const[o,r]=s.split("/");let n=`${o}/${t}/${r}`;return !i.has(n)&&t!==e&&(t=e,n=`${o}/${t}/${r}`),{registryKey:n,collection:t}},h=(s,t)=>{const o=t.collection||e;l.set(`${t.set}/${o}/${s}`,{dialogSvg:t.dialogSvg,sceneSvg:t.sceneSvg,spotSvg:t.spotSvg,dotSvg:t.dotSvg,title:t.title,subtitle:t.subtitle});},m=s=>{const{registryKey:t}=g(s);if(!a.has(t)){if(!i.has(t)){const r=s.startsWith("fiori/")?s.replace("fiori/",""):s;throw new Error(`No loader registered for the ${s} illustration. Probably you forgot to import the "@ui5/webcomponents-fiori/dist/illustrations/${r}.js" module. Or you can import the "@ui5/webcomponents-fiori/dist/illustrations/AllIllustrations.js" module that will make all illustrations available, but fetch only the ones used.`)}const o=i.get(t);a.set(t,o(t));}return a.get(t)},d=s=>{const{registryKey:t}=g(s);return l.get(t)},S=async s=>{const{registryKey:t}=g(s);return await m(s),l.get(t)};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
sap.ui.define(['sap/f/thirdparty/webcomponents
|
|
1
|
+
sap.ui.define(['sap/f/thirdparty/webcomponents', 'sap/f/thirdparty/parameters-bundle.css', 'sap/f/thirdparty/parameters-bundle.css2', 'sap/f/thirdparty/i18n-defaults2', 'sap/f/thirdparty/Icons'], (function (webcomponentsBase, parametersBundle_css$1, parametersBundle_css, i18nDefaults, Icons) { 'use strict';
|
|
2
2
|
|
|
3
3
|
function LabelTemplate() {
|
|
4
4
|
return (parametersBundle_css.jsxs("label", { class: "ui5-label-root", onClick: this._onclick, children: [parametersBundle_css.jsx("span", { class: "ui5-label-text-wrapper", children: parametersBundle_css.jsx("slot", {}) }), parametersBundle_css.jsx("span", { "aria-hidden": "true", class: "ui5-label-required-colon", "data-ui5-colon": this._colonSymbol })] }));
|