@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
|
@@ -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
|
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @param {object} [mSettings] Initial settings for the new control
|
|
60
60
|
*
|
|
61
61
|
* @class
|
|
62
|
-
* Implements the
|
|
62
|
+
* Implements the list-detail-detail paradigm by displaying up to three pages in separate columns.
|
|
63
63
|
*
|
|
64
64
|
* <h3>Overview</h3>
|
|
65
65
|
*
|
|
@@ -97,7 +97,7 @@ sap.ui.define([
|
|
|
97
97
|
*
|
|
98
98
|
* @extends sap.ui.core.Control
|
|
99
99
|
* @author SAP SE
|
|
100
|
-
* @version 1.
|
|
100
|
+
* @version 1.111.0
|
|
101
101
|
*
|
|
102
102
|
* @constructor
|
|
103
103
|
* @public
|
|
@@ -2306,7 +2306,7 @@ sap.ui.define([
|
|
|
2306
2306
|
* @param {object} mSettings Object containing the aggregation name
|
|
2307
2307
|
* @param {string} mSettings.aggregation The aggregation name to decide on which column/container the placeholder should be shown
|
|
2308
2308
|
* @private
|
|
2309
|
-
* @ui5-restricted SAPUI5 Distribution
|
|
2309
|
+
* @ui5-restricted SAPUI5 Distribution Layer Libraries
|
|
2310
2310
|
* @since 1.91
|
|
2311
2311
|
*/
|
|
2312
2312
|
FlexibleColumnLayout.prototype.showPlaceholder = function(mSettings) {
|
|
@@ -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
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Element', './library'],
|
|
|
22
22
|
* @extends sap.ui.core.Element
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.111.0
|
|
26
26
|
* @since 1.95
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
@@ -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
|
|
|
@@ -42,14 +42,14 @@ sap.ui.define([
|
|
|
42
42
|
* must be currently shown in which column, according to UX guidelines, as well as to what layout clicking them should lead.
|
|
43
43
|
*
|
|
44
44
|
* Calling <code>getNextUIState(2)</code> will return information about the expected layout and action buttons if the
|
|
45
|
-
* application should display three views (
|
|
45
|
+
* application should display three views (list-detail-detail), based on the current state.
|
|
46
46
|
*
|
|
47
47
|
* Similarly, calling <code>getNextUIState(0)</code> will return information about the expected layout and action buttons
|
|
48
|
-
* if the application should display the initial view only (
|
|
48
|
+
* if the application should display the initial view only (list), based on the current state.
|
|
49
49
|
*
|
|
50
50
|
* For more information, see {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState} and {@link sap.f.FlexibleColumnLayoutSemanticHelper#getNextUIState}
|
|
51
51
|
*
|
|
52
|
-
* @version 1.
|
|
52
|
+
* @version 1.111.0
|
|
53
53
|
* @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
|
|
54
54
|
* The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
|
|
55
55
|
*
|
|
@@ -309,8 +309,8 @@ sap.ui.define([
|
|
|
309
309
|
/**
|
|
310
310
|
* Returns an object, describing the state that the control will have after navigating to a different view level.
|
|
311
311
|
*
|
|
312
|
-
* @param {int} iNextLevel - the view level that should be represented. 0 means initial (
|
|
313
|
-
* 2 -
|
|
312
|
+
* @param {int} iNextLevel - the view level that should be represented. 0 means initial (list only), 1 - list-detail,
|
|
313
|
+
* 2 - list-detail-detail, 3 and above - subsequent views
|
|
314
314
|
*
|
|
315
315
|
* @public
|
|
316
316
|
* @returns {sap.f.FlexibleColumnLayoutSemanticHelper.UIState} The object describing the next UI state
|
|
@@ -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([
|
|
@@ -12,10 +12,13 @@ sap.ui.define([
|
|
|
12
12
|
"./library",
|
|
13
13
|
"./dnd/GridKeyboardDragAndDrop",
|
|
14
14
|
"sap/base/strings/capitalize",
|
|
15
|
+
'sap/ui/core/delegate/ItemNavigation',
|
|
15
16
|
"sap/ui/base/ManagedObjectObserver",
|
|
16
17
|
"sap/ui/core/Control",
|
|
17
18
|
"sap/ui/core/Core",
|
|
19
|
+
"sap/ui/core/Element",
|
|
18
20
|
"sap/ui/core/ResizeHandler",
|
|
21
|
+
"sap/ui/core/InvisibleMessage",
|
|
19
22
|
"sap/ui/Device",
|
|
20
23
|
"sap/ui/events/KeyCodes",
|
|
21
24
|
"sap/ui/thirdparty/jquery"
|
|
@@ -28,10 +31,13 @@ sap.ui.define([
|
|
|
28
31
|
library,
|
|
29
32
|
GridKeyboardDragAndDrop,
|
|
30
33
|
capitalize,
|
|
34
|
+
ItemNavigation,
|
|
31
35
|
ManagedObjectObserver,
|
|
32
36
|
Control,
|
|
33
37
|
Core,
|
|
38
|
+
Element,
|
|
34
39
|
ResizeHandler,
|
|
40
|
+
InvisibleMessage,
|
|
35
41
|
Device,
|
|
36
42
|
KeyCodes,
|
|
37
43
|
jQuery
|
|
@@ -165,7 +171,7 @@ sap.ui.define([
|
|
|
165
171
|
* @see {@link sap.f.dnd.GridDropInfo}
|
|
166
172
|
*
|
|
167
173
|
* @author SAP SE
|
|
168
|
-
* @version 1.
|
|
174
|
+
* @version 1.111.0
|
|
169
175
|
*
|
|
170
176
|
* @extends sap.ui.core.Control
|
|
171
177
|
*
|
|
@@ -407,18 +413,27 @@ sap.ui.define([
|
|
|
407
413
|
oContainer._setItemNavigationItems();
|
|
408
414
|
|
|
409
415
|
oContainer._applyItemAutoRows(this);
|
|
416
|
+
};
|
|
410
417
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
418
|
+
GridContainer.prototype._onItemWrapperFocusIn = function (oEvent) {
|
|
419
|
+
var oFocusedDomRef = this._oItemNavigation.getFocusedDomRef(),
|
|
420
|
+
oControl,
|
|
421
|
+
sAccText;
|
|
414
422
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
423
|
+
if (!oFocusedDomRef || !oFocusedDomRef.firstChild) {
|
|
424
|
+
return;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
oControl = Element.closestTo(oFocusedDomRef.firstChild);
|
|
428
|
+
|
|
429
|
+
if (!oControl || !oControl.getAriaRoleDescription) {
|
|
430
|
+
return;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
// announce the aria role description text, if any
|
|
434
|
+
sAccText = oControl.getAriaRoleDescription();
|
|
435
|
+
if (sAccText) {
|
|
436
|
+
InvisibleMessage.getInstance().announce(sAccText);
|
|
422
437
|
}
|
|
423
438
|
};
|
|
424
439
|
|
|
@@ -499,7 +514,9 @@ sap.ui.define([
|
|
|
499
514
|
sapnext : ["alt", "meta", "ctrl"],
|
|
500
515
|
sapprevious : ["alt", "meta", "ctrl"]
|
|
501
516
|
})
|
|
502
|
-
.
|
|
517
|
+
.setTableMode(true, true)
|
|
518
|
+
.setFocusedIndex(0)
|
|
519
|
+
.attachEvent(ItemNavigation.Events.AfterFocus, this._onItemWrapperFocusIn.bind(this));
|
|
503
520
|
|
|
504
521
|
that.addDelegate(this._oItemNavigation);
|
|
505
522
|
}
|
|
@@ -701,6 +718,9 @@ sap.ui.define([
|
|
|
701
718
|
ResizeHandler.deregister(resizeListenerId);
|
|
702
719
|
}
|
|
703
720
|
|
|
721
|
+
// init the InvisibleMessage
|
|
722
|
+
InvisibleMessage.getInstance();
|
|
723
|
+
|
|
704
724
|
this._isRenderingFinished = false;
|
|
705
725
|
this._lastGridWidth = null;
|
|
706
726
|
this._lastViewportWidth = null;
|
|
@@ -946,6 +966,7 @@ sap.ui.define([
|
|
|
946
966
|
mStyles = mStylesInfo.styles,
|
|
947
967
|
aClasses = mStylesInfo.classes,
|
|
948
968
|
oWrapper = document.createElement("div");
|
|
969
|
+
oWrapper.setAttribute("id", GridContainerRenderer.generateWrapperId(oItem, this));
|
|
949
970
|
oWrapper.setAttribute("tabindex", "0");
|
|
950
971
|
|
|
951
972
|
mStyles.forEach(function (sValue, sKey) {
|
|
@@ -984,11 +1005,11 @@ sap.ui.define([
|
|
|
984
1005
|
oEvent.preventDefault();
|
|
985
1006
|
}
|
|
986
1007
|
|
|
987
|
-
var oItem =
|
|
1008
|
+
var oItem = Element.closestTo(oEvent.target.firstChild);
|
|
988
1009
|
|
|
989
1010
|
if (oItem) {
|
|
990
1011
|
var oFocusDomRef = oItem.getFocusDomRef(),
|
|
991
|
-
oFocusControl =
|
|
1012
|
+
oFocusControl = Element.closestTo(oFocusDomRef);
|
|
992
1013
|
|
|
993
1014
|
if (oFocusControl && oFocusControl[sName]) {
|
|
994
1015
|
oFocusControl[sName].call(oFocusControl, oEvent);
|
|
@@ -1008,9 +1029,12 @@ sap.ui.define([
|
|
|
1008
1029
|
|
|
1009
1030
|
if (mOwnVisualFocusControls[sName] && mOwnVisualFocusControls[sName](oControl)) {
|
|
1010
1031
|
oFocusDomRef = oControl.getFocusDomRef();
|
|
1032
|
+
|
|
1011
1033
|
// remove the focus DOM ref from the tab chain
|
|
1012
|
-
oFocusDomRef.
|
|
1013
|
-
|
|
1034
|
+
if (oFocusDomRef.getAttribute("tabindex") === "0") {
|
|
1035
|
+
oFocusDomRef.setAttribute("tabindex", -1);
|
|
1036
|
+
oFocusDomRef.tabIndex = -1;
|
|
1037
|
+
}
|
|
1014
1038
|
GridContainerUtils.getItemWrapper(oControl).classList.add("sapFGridContainerItemWrapperNoVisualFocus");
|
|
1015
1039
|
}
|
|
1016
1040
|
};
|
|
@@ -1029,7 +1053,7 @@ sap.ui.define([
|
|
|
1029
1053
|
return;
|
|
1030
1054
|
}
|
|
1031
1055
|
|
|
1032
|
-
var oItem =
|
|
1056
|
+
var oItem = Element.closestTo(oEvent.target.firstElementChild),
|
|
1033
1057
|
iLength = this.getItems().length,
|
|
1034
1058
|
iItemIndex = this.indexOfItem(oItem),
|
|
1035
1059
|
iInsertAt = -1,
|
|
@@ -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
|
|
|
@@ -21,7 +21,7 @@ sap.ui.define(['sap/ui/core/LayoutData'],
|
|
|
21
21
|
* @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.111.0
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.core.LayoutData
|
|
27
27
|
*
|
|
@@ -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
|
|
|
@@ -93,15 +93,14 @@ sap.ui.define([], function () {
|
|
|
93
93
|
mStyles = mStylesInfo.styles,
|
|
94
94
|
aClasses = mStylesInfo.classes,
|
|
95
95
|
mAccState = {
|
|
96
|
-
role: "listitem"
|
|
97
|
-
labelledby: oItem.getId()
|
|
96
|
+
role: "listitem"
|
|
98
97
|
};
|
|
99
98
|
|
|
100
99
|
if (oItem.getAriaRoleDescription) {
|
|
101
100
|
mAccState.roledescription = oItem.getAriaRoleDescription();
|
|
102
101
|
}
|
|
103
102
|
|
|
104
|
-
oRM.openStart("div",
|
|
103
|
+
oRM.openStart("div", this.generateWrapperId(oItem, oControl))
|
|
105
104
|
.attr("tabindex", "0")
|
|
106
105
|
.accessibilityState(oControl, mAccState);
|
|
107
106
|
|
|
@@ -167,6 +166,10 @@ sap.ui.define([], function () {
|
|
|
167
166
|
};
|
|
168
167
|
};
|
|
169
168
|
|
|
169
|
+
GridContainerRenderer.generateWrapperId = function (oItem, oGridContainer) {
|
|
170
|
+
return oGridContainer.getId() + "-item-" + oItem.getId();
|
|
171
|
+
};
|
|
172
|
+
|
|
170
173
|
/**
|
|
171
174
|
* Renders a dummy area for keyboard handling purposes
|
|
172
175
|
* @param {sap.ui.core.RenderManager} oRM The RenderManager that can be used for writing to the render output buffer
|
|
@@ -178,6 +181,7 @@ sap.ui.define([], function () {
|
|
|
178
181
|
oRM.openStart("div", sControlId + "-" + sAreaId)
|
|
179
182
|
.class("sapFGridContainerDummyArea")
|
|
180
183
|
.attr("tabindex", iTabIndex)
|
|
184
|
+
.attr("role", "none")
|
|
181
185
|
.openEnd()
|
|
182
186
|
.close("div");
|
|
183
187
|
};
|
|
@@ -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
|
|
|
@@ -58,14 +58,14 @@ sap.ui.define([
|
|
|
58
58
|
* Can be used to define the sizes of columns and rows for different screen sizes, by using the <code>layout</code> aggregations of <code>sap.f.GridContainer</code>.
|
|
59
59
|
*
|
|
60
60
|
* @author SAP SE
|
|
61
|
-
* @version 1.
|
|
61
|
+
* @version 1.111.0
|
|
62
62
|
*
|
|
63
63
|
* @extends sap.ui.base.ManagedObject
|
|
64
64
|
*
|
|
65
65
|
* @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
|
|
66
66
|
*
|
|
67
67
|
* @author SAP SE
|
|
68
|
-
* @version 1.
|
|
68
|
+
* @version 1.111.0
|
|
69
69
|
*
|
|
70
70
|
* @experimental Since 1.65 This class is experimental. The API may change.
|
|
71
71
|
* @since 1.65
|
package/src/sap/f/GridList.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
|
sap.ui.define([
|
|
@@ -93,7 +93,7 @@ sap.ui.define([
|
|
|
93
93
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
|
|
94
94
|
*
|
|
95
95
|
* @author SAP SE
|
|
96
|
-
* @version 1.
|
|
96
|
+
* @version 1.111.0
|
|
97
97
|
*
|
|
98
98
|
* @extends sap.m.ListBase
|
|
99
99
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -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
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.m.ListItemBase
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.111.0
|
|
28
28
|
*
|
|
29
29
|
* @since 1.70
|
|
30
30
|
* @constructor
|
|
@@ -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
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @override
|
|
23
23
|
*/
|
|
24
24
|
GridListRenderer.getNoDataAriaRole = function() {
|
|
25
|
-
return "
|
|
25
|
+
return "listitem";
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -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
|
|
|
@@ -56,7 +56,7 @@ sap.ui.define([
|
|
|
56
56
|
* @extends sap.m.IllustratedMessage
|
|
57
57
|
*
|
|
58
58
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.111.0
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @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
|
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* @extends sap.m.Illustration
|
|
31
31
|
*
|
|
32
32
|
* @author SAP SE
|
|
33
|
-
* @version 1.
|
|
33
|
+
* @version 1.111.0
|
|
34
34
|
*
|
|
35
35
|
* @constructor
|
|
36
36
|
* @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
|
|
|
@@ -22,7 +22,7 @@ sap.ui.define(['sap/m/PlanningCalendarLegend', 'sap/ui/unified/CalendarLegendIte
|
|
|
22
22
|
* @extends sap.m.PlanningCalendarLegend
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.111.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @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
|
|
|
@@ -34,7 +34,7 @@ sap.ui.define([
|
|
|
34
34
|
* @extends sap.ui.core.Control
|
|
35
35
|
*
|
|
36
36
|
* @author SAP SE
|
|
37
|
-
* @version 1.
|
|
37
|
+
* @version 1.111.0
|
|
38
38
|
*
|
|
39
39
|
* @constructor
|
|
40
40
|
* @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
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
* @extends sap.ui.core.Control
|
|
41
41
|
*
|
|
42
42
|
* @author SAP SE
|
|
43
|
-
* @version 1.
|
|
43
|
+
* @version 1.111.0
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @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
|
|
|
@@ -23,7 +23,7 @@ sap.ui.define(['sap/ui/core/Element', 'sap/ui/base/ManagedObjectObserver', './sh
|
|
|
23
23
|
* @extends sap.ui.core.Element
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.111.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @public
|
package/src/sap/f/ShellBar.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
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
|
|
|
7
7
|
// Provides control sap.f.ShellBar
|
|
8
8
|
sap.ui.define([
|
|
9
|
-
'sap/f/library',
|
|
10
9
|
"sap/ui/core/Control",
|
|
11
10
|
"./shellBar/Factory",
|
|
12
11
|
"./shellBar/AdditionalContentSupport",
|
|
@@ -15,10 +14,10 @@ sap.ui.define([
|
|
|
15
14
|
"sap/m/BarInPageEnabler",
|
|
16
15
|
"sap/m/BadgeCustomData",
|
|
17
16
|
"sap/m/Button",
|
|
17
|
+
"sap/m/library",
|
|
18
18
|
"./ShellBarRenderer"
|
|
19
19
|
],
|
|
20
20
|
function(
|
|
21
|
-
library,
|
|
22
21
|
Control,
|
|
23
22
|
Factory,
|
|
24
23
|
AdditionalContentSupport,
|
|
@@ -27,11 +26,12 @@ function(
|
|
|
27
26
|
BarInPageEnabler,
|
|
28
27
|
BadgeCustomData,
|
|
29
28
|
Button,
|
|
29
|
+
mobileLibrary,
|
|
30
30
|
ShellBarRenderer
|
|
31
31
|
) {
|
|
32
32
|
"use strict";
|
|
33
33
|
|
|
34
|
-
var AvatarSize =
|
|
34
|
+
var AvatarSize = mobileLibrary.AvatarSize;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
37
|
* Constructor for a new <code>ShellBar</code>.
|
|
@@ -56,7 +56,7 @@ function(
|
|
|
56
56
|
* @implements sap.f.IShellBar, sap.m.IBar, sap.tnt.IToolHeader
|
|
57
57
|
*
|
|
58
58
|
* @author SAP SE
|
|
59
|
-
* @version 1.
|
|
59
|
+
* @version 1.111.0
|
|
60
60
|
*
|
|
61
61
|
* @constructor
|
|
62
62
|
* @public
|
|
@@ -697,7 +697,7 @@ function(
|
|
|
697
697
|
/**
|
|
698
698
|
* Gets the available Bar contexts.
|
|
699
699
|
*
|
|
700
|
-
* @returns {
|
|
700
|
+
* @returns {sap.m.BarContexts} with all available contexts
|
|
701
701
|
* @protected
|
|
702
702
|
* @function
|
|
703
703
|
* @since 1.65
|