@openui5/sap.f 1.136.1 → 1.138.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.toml +0 -28
- package/THIRDPARTY.txt +1 -25
- package/package.json +4 -4
- 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 +1 -1
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +12 -12
- 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 +21 -6
- 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/designtime/messagebundle_en_US_saprigi.properties +8 -4
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/i18n/interaction_ar.xml +8 -0
- package/src/sap/f/i18n/interaction_bg.xml +8 -0
- package/src/sap/f/i18n/interaction_ca.xml +8 -0
- package/src/sap/f/i18n/interaction_cnr.xml +8 -0
- package/src/sap/f/i18n/interaction_cs.xml +8 -0
- package/src/sap/f/i18n/interaction_cy.xml +8 -0
- package/src/sap/f/i18n/interaction_da.xml +8 -0
- package/src/sap/f/i18n/interaction_de.xml +8 -0
- package/src/sap/f/i18n/interaction_el.xml +8 -0
- package/src/sap/f/i18n/interaction_en.xml +8 -0
- package/src/sap/f/i18n/interaction_en_GB.xml +8 -0
- package/src/sap/f/i18n/interaction_en_US_saprigi.xml +8 -0
- package/src/sap/f/i18n/interaction_es.xml +8 -0
- package/src/sap/f/i18n/interaction_es_MX.xml +8 -0
- package/src/sap/f/i18n/interaction_et.xml +8 -0
- package/src/sap/f/i18n/interaction_fi.xml +8 -0
- package/src/sap/f/i18n/interaction_fr.xml +8 -0
- package/src/sap/f/i18n/interaction_fr_CA.xml +8 -0
- package/src/sap/f/i18n/interaction_hi.xml +8 -0
- package/src/sap/f/i18n/interaction_hr.xml +8 -0
- package/src/sap/f/i18n/interaction_hu.xml +8 -0
- package/src/sap/f/i18n/interaction_id.xml +8 -0
- package/src/sap/f/i18n/interaction_it.xml +8 -0
- package/src/sap/f/i18n/interaction_iw.xml +8 -0
- package/src/sap/f/i18n/interaction_ja.xml +8 -0
- package/src/sap/f/i18n/interaction_kk.xml +8 -0
- package/src/sap/f/i18n/interaction_ko.xml +8 -0
- package/src/sap/f/i18n/interaction_lt.xml +8 -0
- package/src/sap/f/i18n/interaction_lv.xml +8 -0
- package/src/sap/f/i18n/interaction_mk.xml +8 -0
- package/src/sap/f/i18n/interaction_ms.xml +8 -0
- package/src/sap/f/i18n/interaction_nl.xml +8 -0
- package/src/sap/f/i18n/interaction_no.xml +8 -0
- package/src/sap/f/i18n/interaction_pl.xml +8 -0
- package/src/sap/f/i18n/interaction_pt.xml +8 -0
- package/src/sap/f/i18n/interaction_pt_PT.xml +8 -0
- package/src/sap/f/i18n/interaction_ro.xml +8 -0
- package/src/sap/f/i18n/interaction_ru.xml +8 -0
- package/src/sap/f/i18n/interaction_sh.xml +8 -0
- package/src/sap/f/i18n/interaction_sk.xml +8 -0
- package/src/sap/f/i18n/interaction_sl.xml +8 -0
- package/src/sap/f/i18n/interaction_sr.xml +8 -0
- package/src/sap/f/i18n/interaction_sv.xml +8 -0
- package/src/sap/f/i18n/interaction_th.xml +8 -0
- package/src/sap/f/i18n/interaction_tr.xml +8 -0
- package/src/sap/f/i18n/interaction_uk.xml +8 -0
- package/src/sap/f/i18n/interaction_vi.xml +8 -0
- package/src/sap/f/i18n/interaction_zh_CN.xml +8 -0
- package/src/sap/f/i18n/interaction_zh_TW.xml +8 -0
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/messagebundle_ms.properties +1 -1
- package/src/sap/f/routing/Target.js +38 -11
- package/src/sap/f/routing/Targets.js +44 -11
- package/src/sap/f/semantic/AddAction.js +1 -1
- package/src/sap/f/semantic/CloseAction.js +1 -1
- package/src/sap/f/semantic/CopyAction.js +1 -1
- package/src/sap/f/semantic/DeleteAction.js +1 -1
- package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/f/semantic/EditAction.js +1 -1
- package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
- package/src/sap/f/semantic/FavoriteAction.js +1 -1
- package/src/sap/f/semantic/FlagAction.js +1 -1
- package/src/sap/f/semantic/FooterMainAction.js +1 -1
- package/src/sap/f/semantic/FullScreenAction.js +1 -1
- package/src/sap/f/semantic/MainAction.js +1 -1
- package/src/sap/f/semantic/MessagesIndicator.js +1 -1
- package/src/sap/f/semantic/NegativeAction.js +1 -1
- package/src/sap/f/semantic/PositiveAction.js +1 -1
- package/src/sap/f/semantic/PrintAction.js +1 -1
- package/src/sap/f/semantic/SemanticButton.js +1 -1
- package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/f/semantic/SendEmailAction.js +1 -1
- package/src/sap/f/semantic/SendMessageAction.js +1 -1
- package/src/sap/f/semantic/ShareInJamAction.js +1 -1
- package/src/sap/f/semantic/TitleMainAction.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
- package/src/sap/f/shellBar/CoPilot.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Search.js +1 -1
- package/src/sap/f/themes/base/Card.less +1 -1
- package/src/sap/f/themes/base/CardNumericIndicators.less +6 -5
- package/src/sap/f/themes/base/DynamicPage.less +55 -76
- package/src/sap/f/themes/base/DynamicPageHeader.less +7 -4
- package/src/sap/f/themes/base/ListPlaceholder.less +1 -1
- package/src/sap/f/themes/base/ObjectPlaceholder.less +3 -2
- package/src/sap/f/themes/base/ProductSwitch.less +5 -0
- package/src/sap/f/themes/base/ProductSwitchItem.less +24 -24
- package/src/sap/f/themes/base/SemanticPage.less +4 -0
- package/src/sap/f/themes/base/ShellBar.less +75 -47
- package/src/sap/f/themes/base/SidePanel.less +5 -12
- package/src/sap/f/themes/base/TablePlaceholder.less +3 -3
- package/src/sap/f/themes/base/TimelinePlaceholder.less +3 -4
- package/src/sap/f/routing/async/Target.js +0 -53
- package/src/sap/f/routing/async/Targets.js +0 -59
package/REUSE.toml
CHANGED
|
@@ -238,27 +238,6 @@ SPDX-FileCopyrightText = [
|
|
|
238
238
|
SPDX-License-Identifier = "Apache-2.0 and MIT"
|
|
239
239
|
SPDX-FileComment = "these files contain content from SAP and JUnit Reporter for QUnit: qunit-junit.js is overall written by SAP, but contains a modified copy of JUnit Reporter for QUnit (qunit-reporter-junit)"
|
|
240
240
|
|
|
241
|
-
[[annotations]]
|
|
242
|
-
path = "src/sap.ui.core/src/sap/ui/thirdparty/iscroll.js"
|
|
243
|
-
precedence = "aggregate"
|
|
244
|
-
SPDX-FileCopyrightText = "2012 Matteo Spinelli"
|
|
245
|
-
SPDX-License-Identifier = "MIT"
|
|
246
|
-
SPDX-FileComment = "these files belong to: cubiq.org - iScroll"
|
|
247
|
-
|
|
248
|
-
[[annotations]]
|
|
249
|
-
path = "src/sap.ui.core/src/sap/ui/thirdparty/iscroll-lite.js"
|
|
250
|
-
precedence = "aggregate"
|
|
251
|
-
SPDX-FileCopyrightText = "2011 Matteo Spinelli"
|
|
252
|
-
SPDX-License-Identifier = "MIT"
|
|
253
|
-
SPDX-FileComment = "these files belong to: cubiq.org - iScroll Lite"
|
|
254
|
-
|
|
255
|
-
[[annotations]]
|
|
256
|
-
path = "src/sap.ui.core/src/sap/ui/thirdparty/swipe-view.js"
|
|
257
|
-
precedence = "aggregate"
|
|
258
|
-
SPDX-FileCopyrightText = "2012 Matteo Spinelli"
|
|
259
|
-
SPDX-License-Identifier = "MIT"
|
|
260
|
-
SPDX-FileComment = "these files belong to: cubiq.org - swipeview"
|
|
261
|
-
|
|
262
241
|
[[annotations]]
|
|
263
242
|
path = "src/sap.ui.core/src/sap/ui/thirdparty/zyngascroll.js"
|
|
264
243
|
precedence = "aggregate"
|
|
@@ -308,13 +287,6 @@ SPDX-FileCopyrightText = "1991-2024 Unicode, Inc."
|
|
|
308
287
|
SPDX-License-Identifier = "LicenseRef-Unicode-3.0"
|
|
309
288
|
SPDX-FileComment = "these files belong to: Unicode Common Locale Data Repository"
|
|
310
289
|
|
|
311
|
-
[[annotations]]
|
|
312
|
-
path = "src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/**"
|
|
313
|
-
precedence = "aggregate"
|
|
314
|
-
SPDX-FileCopyrightText = "2010-2013, Acid Media"
|
|
315
|
-
SPDX-License-Identifier = "MIT"
|
|
316
|
-
SPDX-FileComment = "these files belong to: MobiScroll"
|
|
317
|
-
|
|
318
290
|
[[annotations]]
|
|
319
291
|
path = [
|
|
320
292
|
"src/sap.ui.core/src/sap/ui/thirdparty/sinon.js",
|
package/THIRDPARTY.txt
CHANGED
|
@@ -133,24 +133,6 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
|
133
133
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-reporter-junit.js
|
|
134
134
|
src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
|
|
135
135
|
|
|
136
|
-
Component: cubiq.org - iScroll, version: 4.2.5
|
|
137
|
-
Copyright: 2012 Matteo Spinelli
|
|
138
|
-
License: MIT
|
|
139
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
140
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/iscroll.js
|
|
141
|
-
|
|
142
|
-
Component: cubiq.org - iScroll Lite, version: 4.1.6
|
|
143
|
-
Copyright: 2011 Matteo Spinelli
|
|
144
|
-
License: MIT
|
|
145
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
146
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/iscroll-lite.js
|
|
147
|
-
|
|
148
|
-
Component: cubiq.org - swipeview, version: 1.0
|
|
149
|
-
Copyright: 2012 Matteo Spinelli
|
|
150
|
-
License: MIT
|
|
151
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
152
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/swipe-view.js
|
|
153
|
-
|
|
154
136
|
Component: Zynga Scroller, version: 1.2.1-0-g5d43806
|
|
155
137
|
Copyright: 2011 Zynga Inc.
|
|
156
138
|
License: MIT
|
|
@@ -193,12 +175,6 @@ License: LicenseRef-Unicode-3.0
|
|
|
193
175
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-Unicode-3.0.txt
|
|
194
176
|
Contained in: src/sap.ui.core/src/sap/ui/core/cldr/**
|
|
195
177
|
|
|
196
|
-
Component: MobiScroll, version: 2.9.0
|
|
197
|
-
Copyright: 2010-2013, Acid Media
|
|
198
|
-
License: MIT
|
|
199
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
200
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/mobiscroll/**
|
|
201
|
-
|
|
202
178
|
Component: SinonJS, version: 1.14.1
|
|
203
179
|
Copyright: 2010-2014, Christian Johansen, christian@cjohansen.no
|
|
204
180
|
License: BSD-3-Clause
|
|
@@ -462,7 +438,7 @@ License: Apache-2.0
|
|
|
462
438
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
463
439
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
464
440
|
|
|
465
|
-
Component: SAP Theming Base Content, version: 11.
|
|
441
|
+
Component: SAP Theming Base Content, version: 11.31.0
|
|
466
442
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
467
443
|
License: Apache-2.0
|
|
468
444
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.138.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.f",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.m": "1.
|
|
18
|
-
"@openui5/sap.ui.core": "1.
|
|
19
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.m": "1.138.0",
|
|
18
|
+
"@openui5/sap.ui.core": "1.138.0",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.138.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/f/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2025 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.138.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with Fiori controls.</documentation>
|
|
12
12
|
|
package/src/sap/f/Avatar.js
CHANGED
package/src/sap/f/AvatarGroup.js
CHANGED
package/src/sap/f/Card.js
CHANGED
package/src/sap/f/CardBase.js
CHANGED
package/src/sap/f/DynamicPage.js
CHANGED
|
@@ -64,7 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
* @extends sap.ui.core.Control
|
|
65
65
|
*
|
|
66
66
|
* @author SAP SE
|
|
67
|
-
* @version 1.
|
|
67
|
+
* @version 1.138.0
|
|
68
68
|
*
|
|
69
69
|
* @constructor
|
|
70
70
|
* @public
|
|
@@ -142,6 +142,7 @@ sap.ui.define([
|
|
|
142
142
|
this._bShowCollapseButton = true;
|
|
143
143
|
this._oInvisibleMessage = null;
|
|
144
144
|
this._oLandmarkInfo = null;
|
|
145
|
+
this._bExpanded = true; // Default state is expanded
|
|
145
146
|
};
|
|
146
147
|
|
|
147
148
|
DynamicPageHeader.prototype.onAfterRendering = function () {
|
|
@@ -221,11 +222,15 @@ sap.ui.define([
|
|
|
221
222
|
var $header = this.$(),
|
|
222
223
|
bHasHeaderContentLabel = this._oLandmarkInfo && this._oLandmarkInfo.getHeaderContentLabel();
|
|
223
224
|
|
|
224
|
-
if (
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
if (this._bExpanded) {
|
|
226
|
+
if (bHasHeaderContentLabel) {
|
|
227
|
+
var sHeaderContentLabel = this._oLandmarkInfo.getHeaderContentLabel();
|
|
228
|
+
$header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, sHeaderContentLabel);
|
|
229
|
+
} else {
|
|
230
|
+
$header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_EXPANDED);
|
|
231
|
+
}
|
|
227
232
|
} else {
|
|
228
|
-
$header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.
|
|
233
|
+
$header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_COLLAPSED);
|
|
229
234
|
}
|
|
230
235
|
};
|
|
231
236
|
|
|
@@ -254,13 +259,8 @@ sap.ui.define([
|
|
|
254
259
|
* @private
|
|
255
260
|
*/
|
|
256
261
|
DynamicPageHeader.prototype._updateARIAState = function (bExpanded) {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
if (bExpanded) {
|
|
260
|
-
$header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_EXPANDED);
|
|
261
|
-
} else {
|
|
262
|
-
$header.attr(DynamicPageHeader.ARIA.ARIA_LABEL, DynamicPageHeader.ARIA.LABEL_COLLAPSED);
|
|
263
|
-
}
|
|
262
|
+
this._bExpanded = bExpanded;
|
|
263
|
+
this._applyAriaAttributes();
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
/**
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
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.138.0
|
|
53
53
|
* @param {sap.f.FlexibleColumnLayout} oFlexibleColumnLayout
|
|
54
54
|
* The <code>sap.f.FlexibleColumnLayout</code> object whose state will be manipulated.
|
|
55
55
|
*
|
|
@@ -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.138.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.138.0
|
|
69
69
|
*
|
|
70
70
|
* @since 1.65
|
|
71
71
|
* @public
|
package/src/sap/f/GridList.js
CHANGED
|
@@ -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.138.0
|
|
97
97
|
*
|
|
98
98
|
* @extends sap.m.ListBase
|
|
99
99
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
package/src/sap/f/ShellBar.js
CHANGED
package/src/sap/f/SidePanel.js
CHANGED
|
@@ -26,6 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
"./library",
|
|
27
27
|
"sap/ui/core/library",
|
|
28
28
|
"sap/ui/events/F6Navigation",
|
|
29
|
+
"sap/base/i18n/Localization",
|
|
29
30
|
"sap/ui/thirdparty/jquery",
|
|
30
31
|
"sap/ui/events/KeyCodes"
|
|
31
32
|
], function(
|
|
@@ -49,6 +50,7 @@ sap.ui.define([
|
|
|
49
50
|
library,
|
|
50
51
|
coreLibrary,
|
|
51
52
|
F6Navigation,
|
|
53
|
+
Localization,
|
|
52
54
|
jQuery,
|
|
53
55
|
KeyCodes
|
|
54
56
|
) {
|
|
@@ -151,7 +153,7 @@ sap.ui.define([
|
|
|
151
153
|
* @extends sap.ui.core.Control
|
|
152
154
|
*
|
|
153
155
|
* @author SAP SE
|
|
154
|
-
* @version 1.
|
|
156
|
+
* @version 1.138.0
|
|
155
157
|
*
|
|
156
158
|
* @constructor
|
|
157
159
|
* @public
|
|
@@ -488,7 +490,7 @@ sap.ui.define([
|
|
|
488
490
|
if (bSplitterFocused){
|
|
489
491
|
this._bContextMenuFromSplitter = true;
|
|
490
492
|
}
|
|
491
|
-
this._showResizeContextMenu(oEvent);
|
|
493
|
+
this._showResizeContextMenu(oEvent, !bSplitterFocused);
|
|
492
494
|
}
|
|
493
495
|
};
|
|
494
496
|
|
|
@@ -501,6 +503,10 @@ sap.ui.define([
|
|
|
501
503
|
bSplitterFocused = document.activeElement === this.getDomRef().querySelector(".sapFSPSplitterBar"),
|
|
502
504
|
iDirectionModifier = this.getSidePanelPosition() === SidePanelPosition.Right ? 1 : -1;
|
|
503
505
|
|
|
506
|
+
if (Localization.getRTL()) {
|
|
507
|
+
iDirectionModifier = -iDirectionModifier;
|
|
508
|
+
}
|
|
509
|
+
|
|
504
510
|
if (bCtrlOrCmd && oEvent.which === KeyCodes.ARROW_LEFT) {
|
|
505
511
|
oEvent.preventDefault();
|
|
506
512
|
if (bSideContentExpanded) {
|
|
@@ -1127,7 +1133,7 @@ sap.ui.define([
|
|
|
1127
1133
|
this._bAnnounceSelected = false;
|
|
1128
1134
|
if (!this._isSingleItem()) {
|
|
1129
1135
|
// set proper focus
|
|
1130
|
-
if (
|
|
1136
|
+
if (document.getElementById(oSelectedItem.getId()).style.display === "none") {
|
|
1131
1137
|
oOverflowItem && oOverflowItem.focus();
|
|
1132
1138
|
} else {
|
|
1133
1139
|
oSelectedItem && oSelectedItem.focus();
|
|
@@ -1343,6 +1349,10 @@ sap.ui.define([
|
|
|
1343
1349
|
iDeltaX = -iDeltaX;
|
|
1344
1350
|
}
|
|
1345
1351
|
|
|
1352
|
+
if (Localization.getRTL()) {
|
|
1353
|
+
iDeltaX = -iDeltaX;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1346
1356
|
oEvent.preventDefault();
|
|
1347
1357
|
|
|
1348
1358
|
if (iSidePanelWidth) {
|
|
@@ -1387,11 +1397,16 @@ sap.ui.define([
|
|
|
1387
1397
|
}
|
|
1388
1398
|
};
|
|
1389
1399
|
|
|
1390
|
-
SidePanel.prototype._showResizeContextMenu = function(oEvent) {
|
|
1391
|
-
|
|
1400
|
+
SidePanel.prototype._showResizeContextMenu = function(oEvent, bSkipOpener) {
|
|
1401
|
+
const oContextMenu = this._getContextMenu(),
|
|
1402
|
+
oOpener = !bSkipOpener ? this : null;
|
|
1392
1403
|
|
|
1393
1404
|
this._bResizeStarted = false;
|
|
1394
|
-
(this._bContextMenuFromSplitter
|
|
1405
|
+
if (this._bContextMenuFromSplitter) {
|
|
1406
|
+
oContextMenu.openBy(this.getDomRef().querySelector(".sapFSPSplitterBarGrip"));
|
|
1407
|
+
} else {
|
|
1408
|
+
oContextMenu.openAsContextMenu(oEvent, oOpener);
|
|
1409
|
+
}
|
|
1395
1410
|
};
|
|
1396
1411
|
|
|
1397
1412
|
return SidePanel;
|