@openui5/sap.uxap 1.108.0 → 1.109.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/THIRDPARTY.txt +1 -1
- package/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/BlockBaseMetadata.js +1 -1
- package/src/sap/uxap/ObjectPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderContent.js +1 -1
- package/src/sap/uxap/ObjectPageDynamicHeaderTitle.js +1 -1
- package/src/sap/uxap/ObjectPageHeader.js +3 -0
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/ObjectPageSection.js +4 -0
- package/src/sap/uxap/ObjectPageSectionBase.js +34 -8
- package/src/sap/uxap/changeHandler/AddIFrameObjectPageLayout.js +1 -5
- package/src/sap/uxap/changeHandler/MoveObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/RenameObjectPageSection.js +1 -3
- package/src/sap/uxap/library.js +2 -2
package/THIRDPARTY.txt
CHANGED
|
@@ -478,7 +478,7 @@ License: Apache-2.0
|
|
|
478
478
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
479
479
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
480
480
|
|
|
481
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
481
|
+
Component: SAP Theming Base Content, version: 11.1.44
|
|
482
482
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
483
483
|
License: Apache-2.0
|
|
484
484
|
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.uxap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.109.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.uxap",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.f": "1.
|
|
18
|
-
"@openui5/sap.m": "1.
|
|
19
|
-
"@openui5/sap.ui.core": "1.
|
|
20
|
-
"@openui5/sap.ui.layout": "1.
|
|
17
|
+
"@openui5/sap.f": "1.109.0",
|
|
18
|
+
"@openui5/sap.m": "1.109.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.109.0",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.109.0"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/src/sap/uxap/.library
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<name>sap.uxap</name>
|
|
5
5
|
<vendor>SAP SE</vendor>
|
|
6
|
-
<version>1.
|
|
6
|
+
<version>1.109.0</version>
|
|
7
7
|
<copyright>OpenUI5
|
|
8
8
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
9
9
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
@@ -381,6 +381,9 @@ sap.ui.define([
|
|
|
381
381
|
this._oChangesIconCont = this._lazyLoadInternalAggregation("_changesIconCont", true).attachPress(this._handleChangesPress, this);
|
|
382
382
|
};
|
|
383
383
|
|
|
384
|
+
/**
|
|
385
|
+
* @deprecated as of version 1.50, breadCrumbsLinks has been deprecated
|
|
386
|
+
*/
|
|
384
387
|
ObjectPageHeader.getMetadata().forwardAggregation(
|
|
385
388
|
"breadCrumbsLinks",
|
|
386
389
|
{
|
|
@@ -159,6 +159,10 @@ sap.ui.define([
|
|
|
159
159
|
ResizeHandler.deregister(this._iResizeHandlerId);
|
|
160
160
|
this._iResizeHandlerId = null;
|
|
161
161
|
}
|
|
162
|
+
|
|
163
|
+
if (ObjectPageSectionBase.prototype.exit) {
|
|
164
|
+
ObjectPageSectionBase.prototype.exit.call(this);
|
|
165
|
+
}
|
|
162
166
|
};
|
|
163
167
|
|
|
164
168
|
ObjectPageSection.prototype._onResize = function () {
|
|
@@ -141,8 +141,15 @@ sap.ui.define([
|
|
|
141
141
|
|
|
142
142
|
this.setInvisibleTextLabelValue(this._getTitle());
|
|
143
143
|
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
// call every time to clear old content
|
|
145
|
+
this.setAggregation(sAriaLabeledBy, this._getAriaLabelledBy(), true); // this is called onBeforeRendering, so suppress invalidate
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
ObjectPageSectionBase.prototype.exit = function () {
|
|
150
|
+
if (this._oInvisibleText) {
|
|
151
|
+
this._oInvisibleText.destroy();
|
|
152
|
+
this._oInvisibleText = null;
|
|
146
153
|
}
|
|
147
154
|
};
|
|
148
155
|
|
|
@@ -384,15 +391,34 @@ sap.ui.define([
|
|
|
384
391
|
ObjectPageSectionBase.prototype._getAriaLabelledBy = function () {
|
|
385
392
|
// Each section should be labelled as:
|
|
386
393
|
// 'titleName' - if the section has a title
|
|
387
|
-
// 'Section' - if it does not have a title
|
|
394
|
+
// 'Section' - if it does not have a title or its hidden (for example, showTitle=false)
|
|
395
|
+
|
|
396
|
+
var sLabel = "",
|
|
397
|
+
sTitle = this._getShowTitle() && this._getTitle();
|
|
388
398
|
|
|
389
|
-
|
|
399
|
+
sLabel = sTitle || this.getSectionText();
|
|
390
400
|
|
|
391
|
-
|
|
401
|
+
return this._getInvisibleText().setText(sLabel);
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
ObjectPageSectionBase.prototype._getInvisibleText = function () {
|
|
405
|
+
if (!this._oInvisibleText) {
|
|
406
|
+
this._oInvisibleText = new InvisibleText();
|
|
407
|
+
this._oInvisibleText.toStatic();
|
|
408
|
+
}
|
|
392
409
|
|
|
393
|
-
return
|
|
394
|
-
|
|
395
|
-
|
|
410
|
+
return this._oInvisibleText;
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Getter for the visible state of the title.
|
|
415
|
+
* This method is overwritten by property setter in inheriting controls.
|
|
416
|
+
*
|
|
417
|
+
* @returns {boolean} true if the title is visible
|
|
418
|
+
* @private
|
|
419
|
+
*/
|
|
420
|
+
ObjectPageSectionBase.prototype._getShowTitle = function () {
|
|
421
|
+
return this.getShowTitle ? this.getShowTitle() : true;
|
|
396
422
|
};
|
|
397
423
|
|
|
398
424
|
/**
|
|
@@ -5,14 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/ui/fl/Utils",
|
|
9
|
-
"sap/base/Log",
|
|
10
8
|
"sap/ui/fl/changeHandler/AddIFrame",
|
|
11
9
|
"sap/ui/fl/changeHandler/common/getTargetAggregationIndex",
|
|
12
10
|
"sap/ui/fl/changeHandler/common/createIFrame"
|
|
13
11
|
], function (
|
|
14
|
-
Utils,
|
|
15
|
-
Log,
|
|
16
12
|
BaseAddIFrame,
|
|
17
13
|
getTargetAggregationIndex,
|
|
18
14
|
createIFrame
|
|
@@ -25,7 +21,7 @@ sap.ui.define([
|
|
|
25
21
|
* @constructor
|
|
26
22
|
* @alias sap.uxap.changeHandler.AddIFrameObjectPageLayout
|
|
27
23
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
24
|
+
* @version 1.109.0
|
|
29
25
|
* @since 1.75
|
|
30
26
|
* @experimental Since 1.75
|
|
31
27
|
*/
|
|
@@ -5,11 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
-
"sap/ui/fl/Utils",
|
|
9
8
|
"sap/base/Log",
|
|
10
9
|
"sap/ui/fl/changeHandler/BaseRename"
|
|
11
10
|
], function (
|
|
12
|
-
Utils,
|
|
13
11
|
Log,
|
|
14
12
|
BaseRename
|
|
15
13
|
) {
|
|
@@ -21,7 +19,7 @@ sap.ui.define([
|
|
|
21
19
|
* @constructor
|
|
22
20
|
* @alias sap.uxap.changeHandler.RenameObjectPageSection
|
|
23
21
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
22
|
+
* @version 1.109.0
|
|
25
23
|
* @experimental Since 1.50
|
|
26
24
|
*/
|
|
27
25
|
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @namespace
|
|
26
26
|
* @alias sap.uxap
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.109.0
|
|
29
29
|
* @since 1.36
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
@@ -68,7 +68,7 @@ sap.ui.define([
|
|
|
68
68
|
"sap.uxap.ObjectPageHeaderLayoutData",
|
|
69
69
|
"sap.uxap.ObjectPageLazyLoader"
|
|
70
70
|
],
|
|
71
|
-
version: "1.
|
|
71
|
+
version: "1.109.0",
|
|
72
72
|
extensions: {
|
|
73
73
|
flChangeHandlers: {
|
|
74
74
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|