@openui5/sap.f 1.111.6 → 1.112.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +8 -6
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +1 -1
- package/src/sap/f/DynamicPage.js +41 -2
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +61 -15
- package/src/sap/f/FlexibleColumnLayout.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +1 -1
- package/src/sap/f/GridContainerItemLayoutData.js +1 -1
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +1 -1
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/IllustratedMessage.js +1 -1
- package/src/sap/f/Illustration.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
- package/src/sap/f/ProductSwitch.js +1 -1
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/SearchManager.js +1 -1
- package/src/sap/f/ShellBar.js +1 -1
- package/src/sap/f/SidePanel.js +1 -1
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +1 -1
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +1 -1
- package/src/sap/f/cards/NumericIndicators.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +1 -1
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
- package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/library.js +2 -2
- package/src/sap/f/messagebundle.properties +6 -0
- package/src/sap/f/messagebundle_ar.properties +2 -2
- package/src/sap/f/messagebundle_bg.properties +10 -10
- package/src/sap/f/messagebundle_ca.properties +2 -2
- package/src/sap/f/messagebundle_cs.properties +2 -2
- package/src/sap/f/messagebundle_cy.properties +2 -2
- package/src/sap/f/messagebundle_da.properties +2 -2
- package/src/sap/f/messagebundle_de.properties +2 -2
- package/src/sap/f/messagebundle_el.properties +2 -2
- package/src/sap/f/messagebundle_es.properties +2 -2
- package/src/sap/f/messagebundle_es_MX.properties +2 -2
- package/src/sap/f/messagebundle_et.properties +2 -2
- package/src/sap/f/messagebundle_fi.properties +2 -2
- package/src/sap/f/messagebundle_fr.properties +3 -3
- package/src/sap/f/messagebundle_fr_CA.properties +2 -2
- package/src/sap/f/messagebundle_hi.properties +2 -2
- package/src/sap/f/messagebundle_hr.properties +2 -2
- package/src/sap/f/messagebundle_hu.properties +2 -2
- package/src/sap/f/messagebundle_id.properties +2 -2
- package/src/sap/f/messagebundle_it.properties +2 -2
- package/src/sap/f/messagebundle_iw.properties +2 -2
- package/src/sap/f/messagebundle_ja.properties +2 -2
- package/src/sap/f/messagebundle_kk.properties +2 -2
- package/src/sap/f/messagebundle_ko.properties +2 -2
- package/src/sap/f/messagebundle_lt.properties +2 -2
- package/src/sap/f/messagebundle_lv.properties +2 -2
- package/src/sap/f/messagebundle_ms.properties +2 -2
- package/src/sap/f/messagebundle_nl.properties +2 -2
- package/src/sap/f/messagebundle_no.properties +2 -2
- package/src/sap/f/messagebundle_pl.properties +2 -2
- package/src/sap/f/messagebundle_pt.properties +2 -2
- package/src/sap/f/messagebundle_pt_PT.properties +2 -2
- package/src/sap/f/messagebundle_ro.properties +2 -2
- package/src/sap/f/messagebundle_ru.properties +2 -2
- package/src/sap/f/messagebundle_sh.properties +2 -2
- package/src/sap/f/messagebundle_sk.properties +2 -2
- package/src/sap/f/messagebundle_sl.properties +2 -2
- package/src/sap/f/messagebundle_sv.properties +2 -2
- package/src/sap/f/messagebundle_th.properties +2 -2
- package/src/sap/f/messagebundle_tr.properties +2 -2
- package/src/sap/f/messagebundle_uk.properties +2 -2
- package/src/sap/f/messagebundle_vi.properties +2 -2
- package/src/sap/f/messagebundle_zh_CN.properties +2 -2
- package/src/sap/f/messagebundle_zh_TW.properties +3 -3
- 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 +3 -3
- package/src/sap/f/themes/base/DynamicPage.less +14 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.f",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.112.1",
|
|
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.112.1",
|
|
18
|
+
"@openui5/sap.ui.core": "1.112.1",
|
|
19
|
+
"@openui5/sap.ui.layout": "1.112.1"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/src/sap/f/.library
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2023 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.112.1</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
|
@@ -14,7 +14,8 @@ sap.ui.define([
|
|
|
14
14
|
'sap/ui/unified/Calendar',
|
|
15
15
|
'sap/ui/unified/calendar/CalendarDate',
|
|
16
16
|
'sap/ui/unified/calendar/CalendarUtils',
|
|
17
|
-
'./CalendarInCardRenderer'
|
|
17
|
+
'./CalendarInCardRenderer',
|
|
18
|
+
"sap/ui/core/date/UI5Date"
|
|
18
19
|
], function(
|
|
19
20
|
Button,
|
|
20
21
|
Toolbar,
|
|
@@ -25,7 +26,8 @@ sap.ui.define([
|
|
|
25
26
|
Calendar,
|
|
26
27
|
CalendarDate,
|
|
27
28
|
CalendarUtils,
|
|
28
|
-
CalendarRenderer
|
|
29
|
+
CalendarRenderer,
|
|
30
|
+
UI5Date
|
|
29
31
|
) {
|
|
30
32
|
"use strict";
|
|
31
33
|
|
|
@@ -41,7 +43,7 @@ sap.ui.define([
|
|
|
41
43
|
* <code>sap.m.Toolbar</code> with <code>sap.m.Buttons</code>.
|
|
42
44
|
*
|
|
43
45
|
* @extends sap.ui.unified.Calendar
|
|
44
|
-
* @version 1.
|
|
46
|
+
* @version 1.112.1
|
|
45
47
|
*
|
|
46
48
|
* @constructor
|
|
47
49
|
* @private
|
|
@@ -178,7 +180,7 @@ sap.ui.define([
|
|
|
178
180
|
* @private
|
|
179
181
|
*/
|
|
180
182
|
CalendarInCard.prototype._handleTodayPress = function () {
|
|
181
|
-
var oDate =
|
|
183
|
+
var oDate = UI5Date.getInstance(),
|
|
182
184
|
oCalDate = CalendarDate.fromLocalJSDate(oDate);
|
|
183
185
|
|
|
184
186
|
this.getAggregation("month")[0].setDate(oDate);
|
|
@@ -423,7 +425,7 @@ sap.ui.define([
|
|
|
423
425
|
* @private
|
|
424
426
|
*/
|
|
425
427
|
CalendarInCard.prototype._dateMatchesVisibleRange = function() {
|
|
426
|
-
var oCalNewDate = CalendarDate.fromLocalJSDate(
|
|
428
|
+
var oCalNewDate = CalendarDate.fromLocalJSDate(UI5Date.getInstance()),
|
|
427
429
|
oSelectedDate,
|
|
428
430
|
bIsSameDate,
|
|
429
431
|
oYearRangePicker,
|
|
@@ -442,7 +444,7 @@ sap.ui.define([
|
|
|
442
444
|
case 3: // year range picker
|
|
443
445
|
oYearRangePicker = this._getYearRangePicker();
|
|
444
446
|
oYearRangePickerDate = oYearRangePicker.getDate();
|
|
445
|
-
oStartDate =
|
|
447
|
+
oStartDate = UI5Date.getInstance(oYearRangePickerDate.getFullYear() + (oYearRangePicker.getRangeSize() / 2),
|
|
446
448
|
oYearRangePickerDate.getMonth(), oYearRangePickerDate.getDate());
|
|
447
449
|
return CalendarUtils._isSameMonthAndYear(CalendarDate.fromLocalJSDate(oStartDate),
|
|
448
450
|
oCalNewDate);
|
package/src/sap/f/Card.js
CHANGED
package/src/sap/f/CardBase.js
CHANGED
package/src/sap/f/DynamicPage.js
CHANGED
|
@@ -13,6 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
"sap/ui/base/ManagedObjectObserver",
|
|
14
14
|
"sap/ui/core/ResizeHandler",
|
|
15
15
|
"sap/ui/core/Configuration",
|
|
16
|
+
"sap/ui/core/InvisibleText",
|
|
16
17
|
"sap/ui/core/delegate/ScrollEnablement",
|
|
17
18
|
"sap/ui/Device",
|
|
18
19
|
"sap/ui/base/ManagedObject",
|
|
@@ -30,6 +31,7 @@ sap.ui.define([
|
|
|
30
31
|
ManagedObjectObserver,
|
|
31
32
|
ResizeHandler,
|
|
32
33
|
Configuration,
|
|
34
|
+
InvisibleText,
|
|
33
35
|
ScrollEnablement,
|
|
34
36
|
Device,
|
|
35
37
|
ManagedObject,
|
|
@@ -108,7 +110,7 @@ sap.ui.define([
|
|
|
108
110
|
* @extends sap.ui.core.Control
|
|
109
111
|
*
|
|
110
112
|
* @author SAP SE
|
|
111
|
-
* @version 1.
|
|
113
|
+
* @version 1.112.1
|
|
112
114
|
*
|
|
113
115
|
* @constructor
|
|
114
116
|
* @public
|
|
@@ -387,6 +389,7 @@ sap.ui.define([
|
|
|
387
389
|
DynamicPage.NAVIGATION_CLASS_NAME = "sapFDynamicPageNavigation";
|
|
388
390
|
|
|
389
391
|
DynamicPage.ARIA_ROLE_DESCRIPTION = "DYNAMIC_PAGE_ROLE_DESCRIPTION";
|
|
392
|
+
DynamicPage.ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS = "ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS";
|
|
390
393
|
|
|
391
394
|
/**
|
|
392
395
|
* LIFECYCLE METHODS
|
|
@@ -430,6 +433,7 @@ sap.ui.define([
|
|
|
430
433
|
this._detachScrollHandler();
|
|
431
434
|
this._detachResizeHandlers();
|
|
432
435
|
this._toggleAdditionalNavigationClass();
|
|
436
|
+
this._setFooterAriaLabelledBy();
|
|
433
437
|
};
|
|
434
438
|
|
|
435
439
|
DynamicPage.prototype.onAfterRendering = function () {
|
|
@@ -486,6 +490,8 @@ sap.ui.define([
|
|
|
486
490
|
if (this._oStickySubheader) {
|
|
487
491
|
this._oStickySubheader.removeEventDelegate(this._oSubHeaderAfterRenderingDelegate);
|
|
488
492
|
}
|
|
493
|
+
|
|
494
|
+
this._destroyInvisibleText();
|
|
489
495
|
};
|
|
490
496
|
|
|
491
497
|
DynamicPage.prototype.setShowFooter = function (bShowFooter) {
|
|
@@ -514,6 +520,12 @@ sap.ui.define([
|
|
|
514
520
|
return this.destroyAggregation("header");
|
|
515
521
|
};
|
|
516
522
|
|
|
523
|
+
DynamicPage.prototype.destroyFooter = function () {
|
|
524
|
+
this._destroyInvisibleText();
|
|
525
|
+
|
|
526
|
+
return this.destroyAggregation("footer");
|
|
527
|
+
};
|
|
528
|
+
|
|
517
529
|
DynamicPage.prototype._detachHeaderEventListeners = function () {
|
|
518
530
|
var oHeader = this.getHeader();
|
|
519
531
|
|
|
@@ -2418,6 +2430,33 @@ sap.ui.define([
|
|
|
2418
2430
|
return DynamicPage.FOOTER;
|
|
2419
2431
|
};
|
|
2420
2432
|
|
|
2421
|
-
|
|
2433
|
+
/**
|
|
2434
|
+
* Sets the <code>aria-labelledby</code> attribute of the {@link sap.f.DynamicPage} footer.
|
|
2435
|
+
* @private
|
|
2436
|
+
*/
|
|
2437
|
+
DynamicPage.prototype._setFooterAriaLabelledBy = function () {
|
|
2438
|
+
var oFooter = this.getFooter();
|
|
2439
|
+
|
|
2440
|
+
if (oFooter && !oFooter.getAriaLabelledBy().length) {
|
|
2441
|
+
this._oInvisibleText = new InvisibleText({
|
|
2442
|
+
id: oFooter.getId() + "-FooterActions-InvisibleText",
|
|
2443
|
+
text: Core.getLibraryResourceBundle("sap.f").getText(DynamicPage.ARIA_LABEL_TOOLBAR_FOOTER_ACTIONS)
|
|
2444
|
+
}).toStatic();
|
|
2422
2445
|
|
|
2446
|
+
oFooter.addAriaLabelledBy(this._oInvisibleText);
|
|
2447
|
+
}
|
|
2448
|
+
};
|
|
2449
|
+
|
|
2450
|
+
/**
|
|
2451
|
+
* Destroys the invisible text object associated with the footer of the {@link sap.f.DynamicPage} control.
|
|
2452
|
+
* @private
|
|
2453
|
+
*/
|
|
2454
|
+
DynamicPage.prototype._destroyInvisibleText = function () {
|
|
2455
|
+
if (this._oInvisibleText) {
|
|
2456
|
+
this._oInvisibleText.destroy();
|
|
2457
|
+
this._oInvisibleText = null;
|
|
2458
|
+
}
|
|
2459
|
+
};
|
|
2460
|
+
|
|
2461
|
+
return DynamicPage;
|
|
2423
2462
|
});
|
|
@@ -89,7 +89,7 @@ sap.ui.define([
|
|
|
89
89
|
* @extends sap.ui.core.Control
|
|
90
90
|
*
|
|
91
91
|
* @author SAP SE
|
|
92
|
-
* @version 1.
|
|
92
|
+
* @version 1.112.1
|
|
93
93
|
*
|
|
94
94
|
* @constructor
|
|
95
95
|
* @public
|
|
@@ -372,6 +372,19 @@ sap.ui.define([
|
|
|
372
372
|
DynamicPageTitle.TOGGLE_HEADER_TEXT_ID = InvisibleText.getStaticId("sap.f", "TOGGLE_HEADER");
|
|
373
373
|
DynamicPageTitle.DEFAULT_HEADER_TEXT_ID = InvisibleText.getStaticId("sap.f", "DEFAULT_HEADER_TEXT");
|
|
374
374
|
|
|
375
|
+
/**
|
|
376
|
+
* Retrieves the resource bundle for the <code>sap.f</code> library.
|
|
377
|
+
* @returns {Object} the resource bundle object
|
|
378
|
+
* @private
|
|
379
|
+
*/
|
|
380
|
+
DynamicPageTitle._getResourceBundle = function () {
|
|
381
|
+
return oCore.getLibraryResourceBundle("sap.f");
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
DynamicPageTitle.ARIA = {
|
|
385
|
+
TOOLBAR_HEADER_ACTIONS: DynamicPageTitle._getResourceBundle().getText("ARIA_LABEL_TOOLBAR_HEADER_ACTIONS")
|
|
386
|
+
};
|
|
387
|
+
|
|
375
388
|
/**
|
|
376
389
|
* Flushes the given control into the given container.
|
|
377
390
|
* @param {Element} oContainerDOM
|
|
@@ -391,24 +404,23 @@ sap.ui.define([
|
|
|
391
404
|
oRenderManager.destroy();
|
|
392
405
|
};
|
|
393
406
|
|
|
394
|
-
|
|
395
407
|
function isFunction(oObject) {
|
|
396
408
|
return typeof oObject === "function";
|
|
397
409
|
}
|
|
398
410
|
|
|
399
411
|
/* ========== LIFECYCLE METHODS ========== */
|
|
400
|
-
|
|
401
412
|
DynamicPageTitle.prototype.init = function () {
|
|
402
413
|
this._bExpandedState = true;
|
|
403
414
|
this._bShowExpandButton = false;
|
|
404
415
|
this._bIsFocusable = true;
|
|
416
|
+
this._bNavigationActionsInTopArea = false;
|
|
417
|
+
this._oInvisibleMessage = null;
|
|
418
|
+
this._aCachedInvisibleTexts = [];
|
|
419
|
+
|
|
405
420
|
this._fnActionSubstituteParentFunction = function () {
|
|
406
421
|
return this;
|
|
407
422
|
}.bind(this);
|
|
408
423
|
|
|
409
|
-
this._bNavigationActionsInTopArea = false;
|
|
410
|
-
this._oRB = oCore.getLibraryResourceBundle("sap.f");
|
|
411
|
-
|
|
412
424
|
this._oObserver = new ManagedObjectObserver(DynamicPageTitle.prototype._observeChanges.bind(this));
|
|
413
425
|
this._oObserver.observe(this, {
|
|
414
426
|
aggregations: [
|
|
@@ -416,9 +428,6 @@ sap.ui.define([
|
|
|
416
428
|
"_actionsToolbar"
|
|
417
429
|
]
|
|
418
430
|
});
|
|
419
|
-
|
|
420
|
-
this._oRB = sap.ui.getCore().getLibraryResourceBundle("sap.f");
|
|
421
|
-
this._oInvisibleMessage = null;
|
|
422
431
|
};
|
|
423
432
|
|
|
424
433
|
DynamicPageTitle.prototype.onBeforeRendering = function () {
|
|
@@ -450,6 +459,8 @@ sap.ui.define([
|
|
|
450
459
|
this._oObserver.disconnect();
|
|
451
460
|
this._oObserver = null;
|
|
452
461
|
}
|
|
462
|
+
|
|
463
|
+
this._destroyInvisibleTexts();
|
|
453
464
|
};
|
|
454
465
|
|
|
455
466
|
/* ========== PUBLIC METHODS ========== */
|
|
@@ -684,6 +695,35 @@ sap.ui.define([
|
|
|
684
695
|
|
|
685
696
|
/* ========== PRIVATE METHODS ========== */
|
|
686
697
|
|
|
698
|
+
/**
|
|
699
|
+
* Creates and caches an instance of the {@link sap.ui.core.InvisibleText} control for the specified aria label.
|
|
700
|
+
* @param {string} sId The ID for the invisible text control.
|
|
701
|
+
* @param {string} sAriaLabel The aria label to set for the invisible text control.
|
|
702
|
+
* @returns {sap.ui.core.InvisibleText} The created invisible text control.
|
|
703
|
+
* @private
|
|
704
|
+
*/
|
|
705
|
+
DynamicPageTitle.prototype._getInvisibleText = function(sId, sAriaLabel) {
|
|
706
|
+
var oInvisibleText = new InvisibleText({
|
|
707
|
+
id: sId + "-InvisibleText",
|
|
708
|
+
text: sAriaLabel
|
|
709
|
+
}).toStatic();
|
|
710
|
+
|
|
711
|
+
this._aCachedInvisibleTexts.push(oInvisibleText);
|
|
712
|
+
return oInvisibleText;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Destroys all cached instances of the {@link sap.ui.core.InvisibleText} control.
|
|
717
|
+
* @private
|
|
718
|
+
*/
|
|
719
|
+
DynamicPageTitle.prototype._destroyInvisibleTexts = function () {
|
|
720
|
+
this._aCachedInvisibleTexts.forEach(function (oInvisibleText) {
|
|
721
|
+
oInvisibleText.destroy();
|
|
722
|
+
});
|
|
723
|
+
|
|
724
|
+
this._aCachedInvisibleTexts = [];
|
|
725
|
+
};
|
|
726
|
+
|
|
687
727
|
/**
|
|
688
728
|
* Checks if an action already exists in <code>DynamicPageTitle</code> actions/navigationActions.
|
|
689
729
|
* @param {sap.ui.core.Control} oAction
|
|
@@ -720,10 +760,13 @@ sap.ui.define([
|
|
|
720
760
|
* @private
|
|
721
761
|
*/
|
|
722
762
|
DynamicPageTitle.prototype._getActionsToolbar = function () {
|
|
763
|
+
var sId = this.getId() + "-_actionsToolbar";
|
|
764
|
+
|
|
723
765
|
if (!this.getAggregation("_actionsToolbar")) {
|
|
724
766
|
this.setAggregation("_actionsToolbar", new OverflowToolbar({
|
|
725
|
-
id:
|
|
726
|
-
style: ToolbarStyle.Clear
|
|
767
|
+
id: sId,
|
|
768
|
+
style: ToolbarStyle.Clear,
|
|
769
|
+
ariaLabelledBy: this._getInvisibleText(sId, DynamicPageTitle.ARIA.TOOLBAR_HEADER_ACTIONS)
|
|
727
770
|
}).addStyleClass("sapFDynamicPageTitleActionsBar"), true); // suppress invalidate, as this is always called onBeforeRendering
|
|
728
771
|
}
|
|
729
772
|
|
|
@@ -736,10 +779,13 @@ sap.ui.define([
|
|
|
736
779
|
* @private
|
|
737
780
|
*/
|
|
738
781
|
DynamicPageTitle.prototype._getNavigationActionsToolbar = function () {
|
|
782
|
+
var sId = this.getId() + "-navActionsToolbar";
|
|
783
|
+
|
|
739
784
|
if (!this.getAggregation("_navActionsToolbar")) {
|
|
740
785
|
this.setAggregation("_navActionsToolbar", new Toolbar({
|
|
741
|
-
id:
|
|
742
|
-
style: ToolbarStyle.Clear
|
|
786
|
+
id: sId,
|
|
787
|
+
style: ToolbarStyle.Clear,
|
|
788
|
+
ariaLabelledBy: this._getInvisibleText(sId, DynamicPageTitle.ARIA.TOOLBAR_HEADER_ACTIONS)
|
|
743
789
|
}).addStyleClass("sapFDynamicPageTitleActionsBar"), true);
|
|
744
790
|
}
|
|
745
791
|
|
|
@@ -1138,7 +1184,7 @@ sap.ui.define([
|
|
|
1138
1184
|
id: this.getId() + "-expandBtn",
|
|
1139
1185
|
icon: "sap-icon://slim-arrow-down",
|
|
1140
1186
|
press: this._onExpandButtonPress.bind(this),
|
|
1141
|
-
tooltip:
|
|
1187
|
+
tooltip: DynamicPageTitle._getResourceBundle().getText("EXPAND_HEADER_BUTTON_TOOLTIP")
|
|
1142
1188
|
}).addStyleClass("sapFDynamicPageToggleHeaderIndicator sapUiHidden");
|
|
1143
1189
|
this.setAggregation("_expandButton", oExpandButton, true);
|
|
1144
1190
|
}
|
|
@@ -1205,7 +1251,7 @@ sap.ui.define([
|
|
|
1205
1251
|
* @private
|
|
1206
1252
|
*/
|
|
1207
1253
|
DynamicPageTitle.prototype._focusExpandButton = function () {
|
|
1208
|
-
var sTextToAnnounce =
|
|
1254
|
+
var sTextToAnnounce = DynamicPageTitle._getResourceBundle().getText("SNAPPED_HEADER");
|
|
1209
1255
|
this._getExpandButton().$().trigger("focus");
|
|
1210
1256
|
this._oInvisibleMessage.announce(sTextToAnnounce, InvisibleMessageMode.Polite);
|
|
1211
1257
|
};
|
|
@@ -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.112.1
|
|
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.112.1
|
|
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.112.1
|
|
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
|
@@ -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.112.1
|
|
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