@openui5/sap.f 1.109.0 → 1.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +16 -16
- package/THIRDPARTY.txt +2 -2
- package/package.json +4 -4
- package/src/sap/f/.library +2 -2
- package/src/sap/f/Avatar.js +2 -2
- package/src/sap/f/AvatarGroup.js +2 -2
- package/src/sap/f/AvatarGroupItem.js +2 -2
- package/src/sap/f/AvatarGroupItemRenderer.js +1 -1
- package/src/sap/f/AvatarGroupRenderer.js +1 -1
- package/src/sap/f/CalendarAppointmentInCard.js +2 -2
- package/src/sap/f/CalendarInCard.js +2 -2
- package/src/sap/f/CalendarInCardRenderer.js +4 -4
- package/src/sap/f/Card.js +2 -2
- package/src/sap/f/CardBase.js +22 -7
- package/src/sap/f/CardRenderer.js +1 -1
- package/src/sap/f/DynamicPage.js +7 -35
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +2 -2
- package/src/sap/f/DynamicPageHeader.js +18 -3
- package/src/sap/f/DynamicPageHeaderRenderer.js +1 -1
- package/src/sap/f/DynamicPageRenderer.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +6 -6
- package/src/sap/f/DynamicPageTitleRenderer.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +4 -4
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +2 -2
- package/src/sap/f/FlexibleColumnLayoutRenderer.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +6 -6
- package/src/sap/f/GridContainer.js +42 -18
- package/src/sap/f/GridContainerItemLayoutData.js +2 -2
- package/src/sap/f/GridContainerRenderer.js +8 -4
- package/src/sap/f/GridContainerSettings.js +3 -3
- package/src/sap/f/GridContainerUtils.js +1 -1
- package/src/sap/f/GridList.js +2 -2
- package/src/sap/f/GridListItem.js +2 -2
- package/src/sap/f/GridListItemRenderer.js +1 -1
- package/src/sap/f/GridListRenderer.js +2 -2
- package/src/sap/f/GridNavigationMatrix.js +1 -1
- package/src/sap/f/IllustratedMessage.js +2 -2
- package/src/sap/f/Illustration.js +2 -2
- package/src/sap/f/IllustrationPool.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +2 -2
- package/src/sap/f/PlanningCalendarInCardLegendRenderer.js +1 -1
- package/src/sap/f/ProductSwitch.js +2 -2
- package/src/sap/f/ProductSwitchItem.js +2 -2
- package/src/sap/f/ProductSwitchItemRenderer.js +1 -1
- package/src/sap/f/ProductSwitchRenderer.js +1 -1
- package/src/sap/f/SearchManager.js +2 -2
- package/src/sap/f/ShellBar.js +6 -6
- package/src/sap/f/ShellBarRenderer.js +1 -1
- package/src/sap/f/SidePanel.js +13 -7
- package/src/sap/f/SidePanelItem.js +2 -2
- package/src/sap/f/SidePanelRenderer.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +3 -10
- package/src/sap/f/cards/Header.js +3 -3
- package/src/sap/f/cards/HeaderRenderer.js +11 -15
- package/src/sap/f/cards/NumericHeader.js +3 -3
- package/src/sap/f/cards/NumericHeaderRenderer.js +11 -15
- package/src/sap/f/cards/NumericIndicators.js +2 -2
- package/src/sap/f/cards/NumericIndicatorsRenderer.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +2 -2
- package/src/sap/f/cards/NumericSideIndicatorRenderer.js +1 -1
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/GenericPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ListPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/TablePlaceholder.js +2 -2
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +2 -2
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +2 -2
- package/src/sap/f/delegate/GridContainerItemNavigation.js +2 -2
- package/src/sap/f/delegate/GridItemNavigation.js +2 -2
- package/src/sap/f/designtime/Avatar.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPage.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPageHeader.designtime.js +1 -1
- package/src/sap/f/designtime/DynamicPageTitle.designtime.js +1 -1
- package/src/sap/f/designtime/SemanticPage.designtime.js +1 -1
- package/src/sap/f/designtime/library.designtime.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +2 -2
- package/src/sap/f/dnd/GridDropInfo.js +43 -4
- package/src/sap/f/dnd/GridKeyboardDragAndDrop.js +1 -1
- package/src/sap/f/flexibility/Avatar.flexibility.js +1 -1
- package/src/sap/f/flexibility/DynamicPageTitle.flexibility.js +1 -1
- package/src/sap/f/library.js +3 -3
- package/src/sap/f/library.support.js +1 -1
- package/src/sap/f/messagebundle_ar.properties +11 -0
- package/src/sap/f/messagebundle_bg.properties +11 -0
- package/src/sap/f/messagebundle_ca.properties +11 -0
- package/src/sap/f/messagebundle_cs.properties +20 -9
- package/src/sap/f/messagebundle_cy.properties +11 -0
- package/src/sap/f/messagebundle_da.properties +11 -0
- package/src/sap/f/messagebundle_de.properties +11 -0
- package/src/sap/f/messagebundle_el.properties +11 -0
- package/src/sap/f/messagebundle_en.properties +11 -0
- package/src/sap/f/messagebundle_en_GB.properties +11 -0
- package/src/sap/f/messagebundle_en_US_sappsd.properties +11 -0
- package/src/sap/f/messagebundle_en_US_saprigi.properties +4 -0
- package/src/sap/f/messagebundle_en_US_saptrc.properties +11 -0
- package/src/sap/f/messagebundle_es.properties +11 -0
- package/src/sap/f/messagebundle_es_MX.properties +11 -0
- package/src/sap/f/messagebundle_et.properties +11 -0
- package/src/sap/f/messagebundle_fi.properties +11 -0
- package/src/sap/f/messagebundle_fr.properties +11 -0
- package/src/sap/f/messagebundle_fr_CA.properties +11 -0
- package/src/sap/f/messagebundle_hi.properties +11 -0
- package/src/sap/f/messagebundle_hr.properties +12 -1
- package/src/sap/f/messagebundle_hu.properties +11 -0
- package/src/sap/f/messagebundle_id.properties +11 -0
- package/src/sap/f/messagebundle_it.properties +11 -0
- package/src/sap/f/messagebundle_iw.properties +11 -0
- package/src/sap/f/messagebundle_ja.properties +11 -0
- package/src/sap/f/messagebundle_kk.properties +11 -0
- package/src/sap/f/messagebundle_ko.properties +11 -0
- package/src/sap/f/messagebundle_lt.properties +11 -0
- package/src/sap/f/messagebundle_lv.properties +11 -0
- package/src/sap/f/messagebundle_ms.properties +11 -0
- package/src/sap/f/messagebundle_nl.properties +11 -0
- package/src/sap/f/messagebundle_no.properties +11 -0
- package/src/sap/f/messagebundle_pl.properties +11 -0
- package/src/sap/f/messagebundle_pt.properties +11 -0
- package/src/sap/f/messagebundle_pt_PT.properties +11 -0
- package/src/sap/f/messagebundle_ro.properties +11 -0
- package/src/sap/f/messagebundle_ru.properties +11 -0
- package/src/sap/f/messagebundle_sh.properties +11 -0
- package/src/sap/f/messagebundle_sk.properties +11 -0
- package/src/sap/f/messagebundle_sl.properties +14 -3
- package/src/sap/f/messagebundle_sv.properties +11 -0
- package/src/sap/f/messagebundle_th.properties +11 -0
- package/src/sap/f/messagebundle_tr.properties +11 -0
- package/src/sap/f/messagebundle_uk.properties +11 -0
- package/src/sap/f/messagebundle_vi.properties +11 -0
- package/src/sap/f/messagebundle_zh_CN.properties +11 -0
- package/src/sap/f/messagebundle_zh_TW.properties +11 -0
- package/src/sap/f/routing/Router.js +1 -1
- package/src/sap/f/routing/Target.js +1 -1
- package/src/sap/f/routing/TargetHandler.js +1 -1
- package/src/sap/f/routing/Targets.js +1 -1
- package/src/sap/f/routing/async/Target.js +1 -1
- package/src/sap/f/routing/async/Targets.js +1 -1
- package/src/sap/f/rules/Avatar.support.js +1 -1
- package/src/sap/f/rules/DynamicPage.support.js +1 -1
- package/src/sap/f/semantic/AddAction.js +2 -2
- package/src/sap/f/semantic/CloseAction.js +2 -2
- package/src/sap/f/semantic/CopyAction.js +2 -2
- package/src/sap/f/semantic/DeleteAction.js +2 -2
- package/src/sap/f/semantic/DiscussInJamAction.js +2 -2
- package/src/sap/f/semantic/EditAction.js +2 -2
- package/src/sap/f/semantic/ExitFullScreenAction.js +2 -2
- package/src/sap/f/semantic/FavoriteAction.js +2 -2
- package/src/sap/f/semantic/FlagAction.js +2 -2
- package/src/sap/f/semantic/FooterMainAction.js +2 -2
- package/src/sap/f/semantic/FullScreenAction.js +2 -2
- package/src/sap/f/semantic/MainAction.js +2 -2
- package/src/sap/f/semantic/MessagesIndicator.js +2 -2
- package/src/sap/f/semantic/NegativeAction.js +2 -2
- package/src/sap/f/semantic/PositiveAction.js +2 -2
- package/src/sap/f/semantic/PrintAction.js +2 -2
- package/src/sap/f/semantic/SemanticButton.js +2 -2
- package/src/sap/f/semantic/SemanticConfiguration.js +2 -2
- package/src/sap/f/semantic/SemanticContainer.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +2 -2
- package/src/sap/f/semantic/SemanticFooter.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +6 -6
- package/src/sap/f/semantic/SemanticPageRenderer.js +1 -1
- package/src/sap/f/semantic/SemanticShareMenu.js +1 -1
- package/src/sap/f/semantic/SemanticTitle.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +2 -2
- package/src/sap/f/semantic/SendEmailAction.js +2 -2
- package/src/sap/f/semantic/SendMessageAction.js +2 -2
- package/src/sap/f/semantic/ShareInJamAction.js +2 -2
- package/src/sap/f/semantic/TitleMainAction.js +2 -2
- package/src/sap/f/shellBar/Accessibility.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +2 -2
- package/src/sap/f/shellBar/CoPilot.js +2 -2
- package/src/sap/f/shellBar/CoPilotRenderer.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +2 -2
- package/src/sap/f/shellBar/ControlSpacerRenderer.js +1 -1
- package/src/sap/f/shellBar/Factory.js +1 -1
- package/src/sap/f/shellBar/ResponsiveHandler.js +1 -1
- package/src/sap/f/shellBar/Search.js +2 -2
- package/src/sap/f/shellBar/SearchRenderer.js +1 -1
- package/src/sap/f/themes/base/CardNumericIndicators.less +1 -1
- package/src/sap/f/themes/base/DynamicPage.less +4 -1
- package/src/sap/f/themes/base/DynamicPageHeader.less +3 -0
- package/src/sap/f/themes/base/FlexibleColumnLayout.less +1 -1
- package/src/sap/f/themes/base/GridDragAndDrop.less +1 -1
- package/src/sap/f/themes/base/ShellBar.less +7 -3
- package/src/sap/f/themes/base/library.source.less +1 -1
- package/src/sap/f/themes/sap_hcb/library.source.less +1 -1
package/src/sap/f/SidePanel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -10,6 +10,7 @@ sap.ui.define([
|
|
|
10
10
|
"sap/ui/core/Control",
|
|
11
11
|
"sap/ui/core/Core",
|
|
12
12
|
"sap/ui/core/Icon",
|
|
13
|
+
"sap/ui/core/Popup",
|
|
13
14
|
"sap/ui/core/ResizeHandler",
|
|
14
15
|
"sap/ui/core/delegate/ScrollEnablement",
|
|
15
16
|
'sap/ui/core/delegate/ItemNavigation',
|
|
@@ -30,6 +31,7 @@ sap.ui.define([
|
|
|
30
31
|
Control,
|
|
31
32
|
Core,
|
|
32
33
|
Icon,
|
|
34
|
+
Popup,
|
|
33
35
|
ResizeHandler,
|
|
34
36
|
ScrollEnablement,
|
|
35
37
|
ItemNavigation,
|
|
@@ -144,7 +146,7 @@ sap.ui.define([
|
|
|
144
146
|
* @extends sap.ui.core.Control
|
|
145
147
|
*
|
|
146
148
|
* @author SAP SE
|
|
147
|
-
* @version 1.
|
|
149
|
+
* @version 1.111.0
|
|
148
150
|
*
|
|
149
151
|
* @constructor
|
|
150
152
|
* @public
|
|
@@ -289,7 +291,8 @@ sap.ui.define([
|
|
|
289
291
|
}
|
|
290
292
|
}
|
|
291
293
|
}
|
|
292
|
-
}
|
|
294
|
+
},
|
|
295
|
+
renderer: SidePanelRenderer
|
|
293
296
|
});
|
|
294
297
|
|
|
295
298
|
SidePanel.prototype.init = function() {
|
|
@@ -990,7 +993,7 @@ sap.ui.define([
|
|
|
990
993
|
this._setOverflowItemSelection(true);
|
|
991
994
|
setTimeout(function() {
|
|
992
995
|
var bNoMenu = !oOverflowMenu.getAggregation("_menu");
|
|
993
|
-
oOverflowMenu.openBy(oDomRef, false,
|
|
996
|
+
oOverflowMenu.openBy(oDomRef, false, Popup.Dock.BeginBottom, Popup.Dock.EndBottom, "3 0");
|
|
994
997
|
oOverflowMenu._getMenu().getPopup().setExtraContent([this.getAggregation("_overflowItem")]);
|
|
995
998
|
bNoMenu && oOverflowMenu.getAggregation("_menu").addEventDelegate(oDelegate);
|
|
996
999
|
}.bind(this), 0);
|
|
@@ -1248,9 +1251,11 @@ sap.ui.define([
|
|
|
1248
1251
|
|
|
1249
1252
|
SidePanel.prototype._onTouchStart = function(oEvent) {
|
|
1250
1253
|
oEvent.preventDefault();
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
+
if (oEvent.button === 0 || oEvent.type === "touchstart") {
|
|
1255
|
+
this.getDomRef().querySelector(".sapFSPSplitterBar").classList.add("sapFSPSplitterActive");
|
|
1256
|
+
this._bResizeStarted = true;
|
|
1257
|
+
this._iStartPositionX = oEvent.touches ? oEvent.touches[0].pageX : oEvent.pageX;
|
|
1258
|
+
}
|
|
1254
1259
|
};
|
|
1255
1260
|
|
|
1256
1261
|
SidePanel.prototype._onTouchEnd = function(oEvent) {
|
|
@@ -1320,6 +1325,7 @@ sap.ui.define([
|
|
|
1320
1325
|
SidePanel.prototype._showResizeContextMenu = function(oEvent) {
|
|
1321
1326
|
var oContextMenu = this._getContextMenu();
|
|
1322
1327
|
|
|
1328
|
+
this._bResizeStarted = false;
|
|
1323
1329
|
(this._bContextMenuFromSplitter && oContextMenu.openBy(this.getDomRef().querySelector(".sapFSPSplitterBarGrip"))) || oContextMenu.openAsContextMenu(oEvent, this);
|
|
1324
1330
|
};
|
|
1325
1331
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @extends sap.ui.core.Item
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.111.0
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @abstract
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.111.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @public
|
|
@@ -294,13 +294,6 @@ sap.ui.define([
|
|
|
294
294
|
return BaseHeader._oTimestampIntervalTrigger;
|
|
295
295
|
};
|
|
296
296
|
|
|
297
|
-
/**
|
|
298
|
-
* @ui5-restricted
|
|
299
|
-
*/
|
|
300
|
-
BaseHeader.prototype.getAriaRole = function () {
|
|
301
|
-
return "group";
|
|
302
|
-
};
|
|
303
|
-
|
|
304
297
|
/**
|
|
305
298
|
* @ui5-restricted
|
|
306
299
|
*/
|
|
@@ -312,7 +305,7 @@ sap.ui.define([
|
|
|
312
305
|
* @ui5-restricted
|
|
313
306
|
*/
|
|
314
307
|
BaseHeader.prototype.getFocusableElementAriaRole = function () {
|
|
315
|
-
return this.hasListeners("press") ? "button" :
|
|
308
|
+
return this.hasListeners("press") ? "button" : "group";
|
|
316
309
|
};
|
|
317
310
|
|
|
318
311
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -46,7 +46,7 @@ sap.ui.define([
|
|
|
46
46
|
* @implements sap.f.cards.IHeader
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.111.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @public
|
|
@@ -245,7 +245,7 @@ sap.ui.define([
|
|
|
245
245
|
* those controls.
|
|
246
246
|
*
|
|
247
247
|
* @param {sap.ui.core.Control} oElement - The Control that gets rendered by the RenderManager
|
|
248
|
-
* @param {
|
|
248
|
+
* @param {{role: string, level: string}} mAriaProps - The mapping of "aria-" prefixed attributes
|
|
249
249
|
* @protected
|
|
250
250
|
*/
|
|
251
251
|
Header.prototype.enhanceAccessibilityState = function (oElement, mAriaProps) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -30,8 +30,7 @@ sap.ui.define([], function () {
|
|
|
30
30
|
bLoading = oHeader.isLoading(),
|
|
31
31
|
oError = oHeader.getAggregation("_error"),
|
|
32
32
|
oToolbar = oHeader.getToolbar(),
|
|
33
|
-
bIconVisible = oHeader.getIconVisible ? oHeader.getIconVisible() : true
|
|
34
|
-
sTabIndex;
|
|
33
|
+
bIconVisible = oHeader.getIconVisible ? oHeader.getIconVisible() : true;
|
|
35
34
|
|
|
36
35
|
oRm.openStart("div", oHeader)
|
|
37
36
|
.class("sapFCardHeader");
|
|
@@ -48,26 +47,23 @@ sap.ui.define([], function () {
|
|
|
48
47
|
oRm.class("sapFCardHeaderError");
|
|
49
48
|
}
|
|
50
49
|
|
|
51
|
-
//Accessibility state
|
|
52
|
-
oRm.accessibilityState(oHeader, {
|
|
53
|
-
role: oHeader.getAriaRole(),
|
|
54
|
-
roledescription: { value: oHeader.getAriaRoleDescription(), append: true }
|
|
55
|
-
});
|
|
56
50
|
oRm.openEnd();
|
|
57
51
|
|
|
58
52
|
oRm.openStart("div")
|
|
59
53
|
.attr("id", sId + "-focusable")
|
|
60
54
|
.class("sapFCardHeaderWrapper");
|
|
61
55
|
|
|
62
|
-
if (oHeader.getProperty("focusable")) {
|
|
63
|
-
|
|
64
|
-
oRm.attr("tabindex", sTabIndex);
|
|
56
|
+
if (oHeader.getProperty("focusable") && !oHeader._isInsideGridContainer()) {
|
|
57
|
+
oRm.attr("tabindex", "0");
|
|
65
58
|
}
|
|
66
59
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
60
|
+
if (!oHeader._isInsideGridContainer()) {
|
|
61
|
+
oRm.accessibilityState({
|
|
62
|
+
labelledby: {value: oHeader._getAriaLabelledBy(), append: true},
|
|
63
|
+
role: oHeader.getFocusableElementAriaRole(),
|
|
64
|
+
roledescription: oHeader.getAriaRoleDescription()
|
|
65
|
+
});
|
|
66
|
+
}
|
|
71
67
|
|
|
72
68
|
oRm.openEnd();
|
|
73
69
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
* @extends sap.f.cards.BaseHeader
|
|
40
40
|
*
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.111.0
|
|
43
43
|
*
|
|
44
44
|
* @constructor
|
|
45
45
|
* @public
|
|
@@ -233,7 +233,7 @@ sap.ui.define([
|
|
|
233
233
|
* those controls.
|
|
234
234
|
*
|
|
235
235
|
* @param {sap.ui.core.Control} oElement - The Control that gets rendered by the RenderManager
|
|
236
|
-
* @param {
|
|
236
|
+
* @param {{role: string, level: string}} mAriaProps - The mapping of "aria-" prefixed attributes
|
|
237
237
|
* @protected
|
|
238
238
|
*/
|
|
239
239
|
NumericHeader.prototype.enhanceAccessibilityState = function (oElement, mAriaProps) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -20,8 +20,7 @@ sap.ui.define([], function () {
|
|
|
20
20
|
*/
|
|
21
21
|
NumericHeaderRenderer.render = function (oRm, oNumericHeader) {
|
|
22
22
|
var bLoading = oNumericHeader.isLoading(),
|
|
23
|
-
oError = oNumericHeader.getAggregation("_error")
|
|
24
|
-
sTabIndex;
|
|
23
|
+
oError = oNumericHeader.getAggregation("_error");
|
|
25
24
|
|
|
26
25
|
oRm.openStart("div", oNumericHeader)
|
|
27
26
|
.class("sapFCardHeader")
|
|
@@ -39,26 +38,23 @@ sap.ui.define([], function () {
|
|
|
39
38
|
oRm.class("sapFCardHeaderError");
|
|
40
39
|
}
|
|
41
40
|
|
|
42
|
-
//Accessibility state
|
|
43
|
-
oRm.accessibilityState(oNumericHeader, {
|
|
44
|
-
role: oNumericHeader.getAriaRole(),
|
|
45
|
-
roledescription: { value: oNumericHeader.getAriaRoleDescription(), append: true }
|
|
46
|
-
});
|
|
47
41
|
oRm.openEnd();
|
|
48
42
|
|
|
49
43
|
oRm.openStart("div")
|
|
50
44
|
.attr("id", oNumericHeader.getId() + "-focusable")
|
|
51
45
|
.class("sapFCardHeaderContent");
|
|
52
46
|
|
|
53
|
-
if (oNumericHeader.getProperty("focusable")) {
|
|
54
|
-
|
|
55
|
-
oRm.attr("tabindex", sTabIndex);
|
|
47
|
+
if (oNumericHeader.getProperty("focusable") && !oNumericHeader._isInsideGridContainer()) {
|
|
48
|
+
oRm.attr("tabindex", "0");
|
|
56
49
|
}
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
51
|
+
if (!oNumericHeader._isInsideGridContainer()) {
|
|
52
|
+
oRm.accessibilityState({
|
|
53
|
+
labelledby: {value: oNumericHeader._getAriaLabelledBy(), append: true},
|
|
54
|
+
role: oNumericHeader.getFocusableElementAriaRole(),
|
|
55
|
+
roledescription: oNumericHeader.getAriaRoleDescription()
|
|
56
|
+
});
|
|
57
|
+
}
|
|
62
58
|
|
|
63
59
|
oRm.openEnd();
|
|
64
60
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.ui.core.Control
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.111.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.core.Control
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.111.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.ui.core.Control
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.111.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.f.cards.loading.ListPlaceholder
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.111.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.ui.core.Control
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.111.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.ui.core.Control
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.111.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -29,7 +29,7 @@ sap.ui.define([
|
|
|
29
29
|
* @extends sap.ui.core.Control
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.111.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.ui.core.Control
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.111.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* @extends sap.ui.core.Control
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.111.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @alias sap.f.changeHandler.MoveDynamicPageTitleActions
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
19
|
+
* @version 1.111.0
|
|
20
20
|
* @experimental Since 1.52
|
|
21
21
|
*/
|
|
22
22
|
var MoveActions = { };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
*
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.111.0
|
|
45
45
|
*
|
|
46
46
|
* @extends sap.f.delegate.GridItemNavigation
|
|
47
47
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -31,7 +31,7 @@ sap.ui.define([
|
|
|
31
31
|
*
|
|
32
32
|
*
|
|
33
33
|
* @author SAP SE
|
|
34
|
-
* @version 1.
|
|
34
|
+
* @version 1.111.0
|
|
35
35
|
*
|
|
36
36
|
* @extends sap.ui.core.delegate.ItemNavigation
|
|
37
37
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
* Handles dragging of a control over a given grid container.
|
|
19
19
|
*
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.111.0
|
|
22
22
|
*
|
|
23
23
|
* @extends sap.ui.base.Object
|
|
24
24
|
*
|