@openui5/sap.f 1.109.0 → 1.110.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 +1 -1
- 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 +3 -32
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +2 -2
- package/src/sap/f/DynamicPageHeader.js +3 -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 +41 -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 +7 -4
- 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 +7 -0
- package/src/sap/f/messagebundle_bg.properties +7 -0
- package/src/sap/f/messagebundle_ca.properties +7 -0
- package/src/sap/f/messagebundle_cs.properties +16 -9
- package/src/sap/f/messagebundle_cy.properties +7 -0
- package/src/sap/f/messagebundle_da.properties +7 -0
- package/src/sap/f/messagebundle_de.properties +7 -0
- package/src/sap/f/messagebundle_el.properties +7 -0
- package/src/sap/f/messagebundle_en.properties +7 -0
- package/src/sap/f/messagebundle_en_GB.properties +7 -0
- package/src/sap/f/messagebundle_en_US_sappsd.properties +7 -0
- package/src/sap/f/messagebundle_en_US_saptrc.properties +7 -0
- package/src/sap/f/messagebundle_es.properties +7 -0
- package/src/sap/f/messagebundle_es_MX.properties +7 -0
- package/src/sap/f/messagebundle_et.properties +7 -0
- package/src/sap/f/messagebundle_fi.properties +7 -0
- package/src/sap/f/messagebundle_fr.properties +7 -0
- package/src/sap/f/messagebundle_fr_CA.properties +7 -0
- package/src/sap/f/messagebundle_hi.properties +7 -0
- package/src/sap/f/messagebundle_hr.properties +8 -1
- package/src/sap/f/messagebundle_hu.properties +7 -0
- package/src/sap/f/messagebundle_id.properties +7 -0
- package/src/sap/f/messagebundle_it.properties +7 -0
- package/src/sap/f/messagebundle_iw.properties +7 -0
- package/src/sap/f/messagebundle_ja.properties +7 -0
- package/src/sap/f/messagebundle_kk.properties +7 -0
- package/src/sap/f/messagebundle_ko.properties +7 -0
- package/src/sap/f/messagebundle_lt.properties +7 -0
- package/src/sap/f/messagebundle_lv.properties +7 -0
- package/src/sap/f/messagebundle_ms.properties +7 -0
- package/src/sap/f/messagebundle_nl.properties +7 -0
- package/src/sap/f/messagebundle_no.properties +7 -0
- package/src/sap/f/messagebundle_pl.properties +7 -0
- package/src/sap/f/messagebundle_pt.properties +7 -0
- package/src/sap/f/messagebundle_pt_PT.properties +7 -0
- package/src/sap/f/messagebundle_ro.properties +7 -0
- package/src/sap/f/messagebundle_ru.properties +7 -0
- package/src/sap/f/messagebundle_sh.properties +7 -0
- package/src/sap/f/messagebundle_sk.properties +7 -0
- package/src/sap/f/messagebundle_sl.properties +10 -3
- package/src/sap/f/messagebundle_sv.properties +7 -0
- package/src/sap/f/messagebundle_th.properties +7 -0
- package/src/sap/f/messagebundle_tr.properties +7 -0
- package/src/sap/f/messagebundle_uk.properties +7 -0
- package/src/sap/f/messagebundle_vi.properties +7 -0
- package/src/sap/f/messagebundle_zh_CN.properties +7 -0
- package/src/sap/f/messagebundle_zh_TW.properties +7 -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/DynamicPage.less +4 -1
- package/src/sap/f/themes/base/FlexibleColumnLayout.less +1 -1
- package/src/sap/f/themes/base/ShellBar.less +6 -0
- 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
|
|
|
@@ -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.110.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.110.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,8 @@ sap.ui.define([
|
|
|
499
514
|
sapnext : ["alt", "meta", "ctrl"],
|
|
500
515
|
sapprevious : ["alt", "meta", "ctrl"]
|
|
501
516
|
})
|
|
502
|
-
.setFocusedIndex(0)
|
|
517
|
+
.setFocusedIndex(0)
|
|
518
|
+
.attachEvent(ItemNavigation.Events.AfterFocus, this._onItemWrapperFocusIn.bind(this));
|
|
503
519
|
|
|
504
520
|
that.addDelegate(this._oItemNavigation);
|
|
505
521
|
}
|
|
@@ -701,6 +717,9 @@ sap.ui.define([
|
|
|
701
717
|
ResizeHandler.deregister(resizeListenerId);
|
|
702
718
|
}
|
|
703
719
|
|
|
720
|
+
// init the InvisibleMessage
|
|
721
|
+
InvisibleMessage.getInstance();
|
|
722
|
+
|
|
704
723
|
this._isRenderingFinished = false;
|
|
705
724
|
this._lastGridWidth = null;
|
|
706
725
|
this._lastViewportWidth = null;
|
|
@@ -946,6 +965,7 @@ sap.ui.define([
|
|
|
946
965
|
mStyles = mStylesInfo.styles,
|
|
947
966
|
aClasses = mStylesInfo.classes,
|
|
948
967
|
oWrapper = document.createElement("div");
|
|
968
|
+
oWrapper.setAttribute("id", GridContainerRenderer.generateWrapperId(oItem, this));
|
|
949
969
|
oWrapper.setAttribute("tabindex", "0");
|
|
950
970
|
|
|
951
971
|
mStyles.forEach(function (sValue, sKey) {
|
|
@@ -984,11 +1004,11 @@ sap.ui.define([
|
|
|
984
1004
|
oEvent.preventDefault();
|
|
985
1005
|
}
|
|
986
1006
|
|
|
987
|
-
var oItem =
|
|
1007
|
+
var oItem = Element.closestTo(oEvent.target.firstChild);
|
|
988
1008
|
|
|
989
1009
|
if (oItem) {
|
|
990
1010
|
var oFocusDomRef = oItem.getFocusDomRef(),
|
|
991
|
-
oFocusControl =
|
|
1011
|
+
oFocusControl = Element.closestTo(oFocusDomRef);
|
|
992
1012
|
|
|
993
1013
|
if (oFocusControl && oFocusControl[sName]) {
|
|
994
1014
|
oFocusControl[sName].call(oFocusControl, oEvent);
|
|
@@ -1008,9 +1028,12 @@ sap.ui.define([
|
|
|
1008
1028
|
|
|
1009
1029
|
if (mOwnVisualFocusControls[sName] && mOwnVisualFocusControls[sName](oControl)) {
|
|
1010
1030
|
oFocusDomRef = oControl.getFocusDomRef();
|
|
1031
|
+
|
|
1011
1032
|
// remove the focus DOM ref from the tab chain
|
|
1012
|
-
oFocusDomRef.
|
|
1013
|
-
|
|
1033
|
+
if (oFocusDomRef.getAttribute("tabindex") === "0") {
|
|
1034
|
+
oFocusDomRef.setAttribute("tabindex", -1);
|
|
1035
|
+
oFocusDomRef.tabIndex = -1;
|
|
1036
|
+
}
|
|
1014
1037
|
GridContainerUtils.getItemWrapper(oControl).classList.add("sapFGridContainerItemWrapperNoVisualFocus");
|
|
1015
1038
|
}
|
|
1016
1039
|
};
|
|
@@ -1029,7 +1052,7 @@ sap.ui.define([
|
|
|
1029
1052
|
return;
|
|
1030
1053
|
}
|
|
1031
1054
|
|
|
1032
|
-
var oItem =
|
|
1055
|
+
var oItem = Element.closestTo(oEvent.target.firstElementChild),
|
|
1033
1056
|
iLength = this.getItems().length,
|
|
1034
1057
|
iItemIndex = this.indexOfItem(oItem),
|
|
1035
1058
|
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.110.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.110.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.110.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.110.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.110.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.110.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.110.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.110.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.110.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.110.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.110.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.110.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
|
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.110.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);
|
|
@@ -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.110.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.110.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
|
/**
|