@openui5/sap.uxap 1.98.0 → 1.99.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/package.json +5 -5
- package/src/sap/uxap/.library +1 -1
- package/src/sap/uxap/AnchorBar.js +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/ObjectPageHeaderContentRenderer.js +7 -3
- package/src/sap/uxap/ObjectPageLayout.js +6 -6
- package/src/sap/uxap/ObjectPageLayoutRenderer.js +11 -5
- package/src/sap/uxap/ObjectPageLazyLoader.js +1 -1
- package/src/sap/uxap/ObjectPageSectionBase.js +5 -5
- package/src/sap/uxap/changeHandler/AddIFrameObjectPageLayout.js +1 -1
- package/src/sap/uxap/changeHandler/MoveObjectPageSection.js +1 -1
- package/src/sap/uxap/changeHandler/RenameObjectPageSection.js +1 -1
- package/src/sap/uxap/library.js +2 -2
- package/src/sap/uxap/messagebundle_bg.properties +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.uxap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.99.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.99.0",
|
|
18
|
+
"@openui5/sap.m": "1.99.0",
|
|
19
|
+
"@openui5/sap.ui.core": "1.99.0",
|
|
20
|
+
"@openui5/sap.ui.layout": "1.99.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.99.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>
|
|
@@ -1015,7 +1015,7 @@ sap.ui.define([
|
|
|
1015
1015
|
* Determines the width of a control safely. If the control doesn't exist, it returns 0.
|
|
1016
1016
|
* If it exists, it returns the DOM element width.
|
|
1017
1017
|
* @param {sap.ui.core.Control} oControl
|
|
1018
|
-
* @return {
|
|
1018
|
+
* @return {number} the width of the control
|
|
1019
1019
|
*/
|
|
1020
1020
|
AnchorBar.prototype._getWidth = function (oControl) {
|
|
1021
1021
|
var oDomReference = oControl.getDomRef();
|
|
@@ -17,6 +17,10 @@ sap.ui.define([
|
|
|
17
17
|
apiVersion: 2
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* @param {sap.ui.core.RenderManager} oRm RenderManager
|
|
22
|
+
* @param {sap.uxap.ObjectPageHeaderContent} oControl Control
|
|
23
|
+
*/
|
|
20
24
|
ObjectPageHeaderContentRenderer.render = function (oRm, oControl) {
|
|
21
25
|
var oParent = oControl.getParent(),
|
|
22
26
|
bParentLayout = oParent && oParent.isA("sap.uxap.ObjectPageLayout"),
|
|
@@ -95,7 +99,7 @@ sap.ui.define([
|
|
|
95
99
|
* @param {sap.ui.core.RenderManager} oRm oRm
|
|
96
100
|
* @param {boolean} bRenderTitle render title
|
|
97
101
|
* @param {sap.uxap.ObjectPageHeader} oTitle header title
|
|
98
|
-
* @param {sap.
|
|
102
|
+
* @param {sap.uxap.ObjectPageHeaderContent} oControl control
|
|
99
103
|
*/
|
|
100
104
|
ObjectPageHeaderContentRenderer._renderHeaderContentItem = function (oHeaderContentItem, iIndex, oRm, bRenderTitle, oTitle, oControl) {
|
|
101
105
|
var bHasSeparatorBefore = false,
|
|
@@ -167,7 +171,7 @@ sap.ui.define([
|
|
|
167
171
|
* This method is called to render title and all it's parts if the property showTitleInHeaderContent is set to true
|
|
168
172
|
*
|
|
169
173
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
170
|
-
* @param {sap.
|
|
174
|
+
* @param {sap.uxap.ObjectPageHeaderContent} oControl an object representation of the control that should be rendered
|
|
171
175
|
* @param {sap.ui.core.Control} oHeader an object representation of the titleHeader that should be rendered
|
|
172
176
|
*/
|
|
173
177
|
ObjectPageHeaderContentRenderer._renderTitleImage = function (oRm, oControl, oHeader) {
|
|
@@ -196,7 +200,7 @@ sap.ui.define([
|
|
|
196
200
|
* This method is called to render the Edit button when the property showEditHeaderButton is set to true
|
|
197
201
|
*
|
|
198
202
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
199
|
-
* @param {sap.
|
|
203
|
+
* @param {sap.uxap.ObjectPageHeaderContent} oHeader an object representation of the control that should be rendered
|
|
200
204
|
*/
|
|
201
205
|
ObjectPageHeaderContentRenderer._renderEditButton = function (oRm, oHeader) {
|
|
202
206
|
oRm.openStart("div")
|
|
@@ -587,8 +587,8 @@ sap.ui.define([
|
|
|
587
587
|
* <li> If the provided starting entry is not found, the <code>sap.ui.core.TitleLevel.Auto</code> is returned.</li>
|
|
588
588
|
* <li> If the provided starting entry is the last entry, the last entry is returned.</li>
|
|
589
589
|
* </ul>
|
|
590
|
-
* @param {
|
|
591
|
-
* @returns {
|
|
590
|
+
* @param {string} sTitleLevel the <code>sap.ui.core.TitleLevel</code> entry to start from
|
|
591
|
+
* @returns {string} <code>sap.ui.core.TitleLevel</code> entry
|
|
592
592
|
* @since 1.44
|
|
593
593
|
*/
|
|
594
594
|
ObjectPageLayout._getNextTitleLevelEntry = function(sTitleLevel) {
|
|
@@ -2463,7 +2463,7 @@ sap.ui.define([
|
|
|
2463
2463
|
* thus it will not be using all of the screen width, but despite that the paddings need to be appropriate.
|
|
2464
2464
|
* <b>Note:</b>
|
|
2465
2465
|
* The method is called, when the <code>ObjectPageDynamicPageHeaderTitle</code> is being used.
|
|
2466
|
-
* @param {
|
|
2466
|
+
* @param {number} iWidth - the actual width of the control
|
|
2467
2467
|
* @param {Object} oMedia - object containing CSS classes for the respective media (Phone, Tablet, etc.)
|
|
2468
2468
|
* @private
|
|
2469
2469
|
*/
|
|
@@ -2811,8 +2811,8 @@ sap.ui.define([
|
|
|
2811
2811
|
* If the <code>sectionTitleLevel</code> has value of <code>sap.ui.core.TitleLevel.Auto</code>,
|
|
2812
2812
|
* <code>sap.ui.core.TitleLevel.H3</code> is returned for <code>ObjectPageSection</code> and
|
|
2813
2813
|
* <code>sap.ui.core.TitleLevel.H4</code> for <code>ObjectPageSubSection</code>.
|
|
2814
|
-
* @param {
|
|
2815
|
-
* @returns {
|
|
2814
|
+
* @param {sap.uxap.ObjectPageSectionBase} oSectionBase <code>ObjectPageSectionBase</code> instance
|
|
2815
|
+
* @returns {string} <code>sap.ui.core.TitleLevel</code>
|
|
2816
2816
|
* @since 1.44
|
|
2817
2817
|
* @private
|
|
2818
2818
|
*/
|
|
@@ -4787,7 +4787,7 @@ sap.ui.define([
|
|
|
4787
4787
|
* Determines the width of a control safely. If the control doesn't exist, it returns 0.
|
|
4788
4788
|
* If it exists, it returns the DOM element width.
|
|
4789
4789
|
* @param {sap.ui.core.Control} oControl
|
|
4790
|
-
* @return {
|
|
4790
|
+
* @return {number} the width of the control
|
|
4791
4791
|
*/
|
|
4792
4792
|
ObjectPageLayout.prototype._getWidth = function (oControl) {
|
|
4793
4793
|
var oDomReference = oControl.getDomRef();
|
|
@@ -16,6 +16,12 @@ sap.ui.define(["sap/ui/Device"],
|
|
|
16
16
|
apiVersion: 2
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
+
/**
|
|
20
|
+
* This method is called to render AnchorBar
|
|
21
|
+
*
|
|
22
|
+
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
23
|
+
* @param {sap.uxap.ObjectPageLayout} oControl an object representation of the control that should be rendered
|
|
24
|
+
*/
|
|
19
25
|
ObjectPageLayoutRenderer.render = function (oRm, oControl) {
|
|
20
26
|
var aSections,
|
|
21
27
|
oHeader = oControl.getHeaderTitle(),
|
|
@@ -211,7 +217,7 @@ sap.ui.define(["sap/ui/Device"],
|
|
|
211
217
|
* This method is called to render AnchorBar
|
|
212
218
|
*
|
|
213
219
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
214
|
-
* @param {sap.
|
|
220
|
+
* @param {sap.uxap.ObjectPageLayout} oControl an object representation of the control that should be rendered
|
|
215
221
|
*/
|
|
216
222
|
ObjectPageLayoutRenderer._renderAnchorBar = function (oRm, oControl, oAnchorBar, bRender) {
|
|
217
223
|
var aSections = oControl.getAggregation("sections"),
|
|
@@ -267,7 +273,7 @@ sap.ui.define(["sap/ui/Device"],
|
|
|
267
273
|
* This hook method is called to render objectpagelayout header content
|
|
268
274
|
*
|
|
269
275
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
270
|
-
* @param {sap.
|
|
276
|
+
* @param {sap.uxap.ObjectPageLayout} oControl an object representation of the control that should be rendered
|
|
271
277
|
*/
|
|
272
278
|
ObjectPageLayoutRenderer.renderHeaderContent = function (oRm, oControl) {
|
|
273
279
|
oRm.renderControl(oControl._getHeaderContent());
|
|
@@ -277,7 +283,7 @@ sap.ui.define(["sap/ui/Device"],
|
|
|
277
283
|
* This hook method is called to render objectpagelayout footer content
|
|
278
284
|
*
|
|
279
285
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
280
|
-
* @param {sap.
|
|
286
|
+
* @param {sap.uxap.ObjectPageLayout} oControl an object representation of the control that should be rendered
|
|
281
287
|
*/
|
|
282
288
|
ObjectPageLayoutRenderer.renderFooterContent = function (oRm, oControl) {
|
|
283
289
|
|
|
@@ -287,7 +293,7 @@ sap.ui.define(["sap/ui/Device"],
|
|
|
287
293
|
* This internal method is called to render objectpagelayout footer content
|
|
288
294
|
*
|
|
289
295
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
290
|
-
* @param {sap.
|
|
296
|
+
* @param {sap.uxap.ObjectPageLayout} oObjectPageLayout an object representation of the control that should be rendered
|
|
291
297
|
*/
|
|
292
298
|
ObjectPageLayoutRenderer._renderFooterContentInternal = function (oRm, oObjectPageLayout, sFooterTag, oLandmarkInfo, oRb) {
|
|
293
299
|
var oFooter = oObjectPageLayout.getFooter(),
|
|
@@ -321,7 +327,7 @@ sap.ui.define(["sap/ui/Device"],
|
|
|
321
327
|
* This method is called to rerender headerContent
|
|
322
328
|
*
|
|
323
329
|
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used for writing to the render output buffer
|
|
324
|
-
* @param {sap.
|
|
330
|
+
* @param {sap.uxap.ObjectPageLayout} oControl an object representation of the control that should be rendered
|
|
325
331
|
*/
|
|
326
332
|
ObjectPageLayoutRenderer._rerenderHeaderContentArea = function (oRm, oControl) {
|
|
327
333
|
var sHeaderContentDOMId = oControl._bHeaderInTitleArea ? "stickyHeaderContent" : "headerContent",
|
|
@@ -268,7 +268,7 @@ sap.ui.define([
|
|
|
268
268
|
* Returns the <code>ObjectPageSectionBase</code> internal title if present,
|
|
269
269
|
* otherwise - the public title.
|
|
270
270
|
* @private
|
|
271
|
-
* @returns {
|
|
271
|
+
* @returns {string} the title
|
|
272
272
|
*/
|
|
273
273
|
ObjectPageSectionBase.prototype._getTitle = function () {
|
|
274
274
|
return this._getInternalTitle() || this.getTitle();
|
|
@@ -289,7 +289,7 @@ sap.ui.define([
|
|
|
289
289
|
* value to be se to the aria-level attribute title level fallbacks to TitleLevel.H2 as this is the default
|
|
290
290
|
* aria-level according to aria specification
|
|
291
291
|
*
|
|
292
|
-
* @returns {
|
|
292
|
+
* @returns {string} the <code>aria-level</code>
|
|
293
293
|
* @since 1.44
|
|
294
294
|
* @private
|
|
295
295
|
*/
|
|
@@ -307,7 +307,7 @@ sap.ui.define([
|
|
|
307
307
|
* Returns the <code>ObjectPageSectionBase</code> <code>titleLevel</code>
|
|
308
308
|
* if explicitly defined and different from <code>sap.ui.core.TitleLevel.Auto</code>.
|
|
309
309
|
* Otherwise, the <code>ObjectPageSectionBase</code> internal <code>titleLevel</code> is returned.
|
|
310
|
-
* @returns {
|
|
310
|
+
* @returns {string}
|
|
311
311
|
* @since 1.44
|
|
312
312
|
* @private
|
|
313
313
|
*/
|
|
@@ -319,7 +319,7 @@ sap.ui.define([
|
|
|
319
319
|
/**
|
|
320
320
|
* Sets the <code>ObjectPageSectionBase</code> internal <code>titleLevel</code>.
|
|
321
321
|
* The method is used by the <code>ObjectPageLayout</code> to apply the <code>sectionTitleLevel</code> property.
|
|
322
|
-
* @param {
|
|
322
|
+
* @param {string} sTitleLevel
|
|
323
323
|
* @since 1.44
|
|
324
324
|
* @private
|
|
325
325
|
*/
|
|
@@ -335,7 +335,7 @@ sap.ui.define([
|
|
|
335
335
|
/**
|
|
336
336
|
* Returns the <code>ObjectPageSectionBase</code> internal <code>titleLevel</code>.
|
|
337
337
|
* The internal <code>titleLevel</code> is set by the <code>ObjectPageLayout</code>.
|
|
338
|
-
* @returns {
|
|
338
|
+
* @returns {string}
|
|
339
339
|
* @since 1.44
|
|
340
340
|
* @private
|
|
341
341
|
*/
|
package/src/sap/uxap/library.js
CHANGED
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @namespace
|
|
25
25
|
* @name sap.uxap
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.99.0
|
|
28
28
|
* @since 1.36
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
"sap.uxap.ObjectPageHeaderLayoutData",
|
|
70
70
|
"sap.uxap.ObjectPageLazyLoader"
|
|
71
71
|
],
|
|
72
|
-
version: "1.
|
|
72
|
+
version: "1.99.0",
|
|
73
73
|
extensions: {
|
|
74
74
|
flChangeHandlers: {
|
|
75
75
|
"sap.uxap.ObjectPageHeader": "sap/uxap/flexibility/ObjectPageHeader",
|
|
@@ -7,7 +7,7 @@ ANCHOR_BAR_ARIA_LABEL=\u041A\u043E\u0442\u0432\u0438
|
|
|
7
7
|
|
|
8
8
|
ANCHOR_BAR_ARIA_LABEL_DESC=\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u0430\u0439\u0442\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u044F, \u0437\u0430 \u043E\u0442\u0438\u0434\u0435\u0442\u0435 \u0434\u0438\u0440\u0435\u043A\u0442\u043D\u043E \u0434\u043E \u0441\u044A\u043E\u0442\u0432\u0435\u0442\u043D\u0438\u044F \u0440\u0430\u0437\u0434\u0435\u043B \u043E\u0442 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430\u0442\u0430
|
|
9
9
|
|
|
10
|
-
ANCHOR_BAR_OVERFLOW=\
|
|
10
|
+
ANCHOR_BAR_OVERFLOW=\u041E\u0449\u0435
|
|
11
11
|
|
|
12
12
|
BREADCRUMB_TRAIL_LABEL=\u041F\u044A\u0442 \u043D\u0430 \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044F
|
|
13
13
|
|
|
@@ -37,7 +37,7 @@ TOOLTIP_OP_SCROLL_RIGHT_ARROW=\u0421\u043A\u0440\u043E\u043B\u0438\u0440\u0430\u
|
|
|
37
37
|
|
|
38
38
|
TOOLTIP_OP_CHANGES_MARK_VALUE=\u041D\u0435\u0437\u0430\u043F\u0430\u0437\u0435\u043D\u0438 \u043F\u0440\u043E\u043C\u0435\u043D\u0438
|
|
39
39
|
|
|
40
|
-
TOOLTIP_OP_EXPAND_HEADER_BTN=\u0420\u0430\u0437\u0448\u0438\u0440\u044F\u0432\u0430\u043D\u0435 \
|
|
40
|
+
TOOLTIP_OP_EXPAND_HEADER_BTN=\u0420\u0430\u0437\u0448\u0438\u0440\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u0437\u0430\u0433\u043B\u0430\u0432\u043D\u0430\u0442\u0430 \u043E\u0431\u043B\u0430\u0441\u0442
|
|
41
41
|
|
|
42
42
|
TOOLTIP_OP_SHOW_SIDE_CONTENT=\u041E\u0442\u0432\u0430\u0440\u044F\u043D\u0435 \u043D\u0430 \u0441\u0442\u0440\u0430\u043D\u0438\u0447\u0435\u043D \u043F\u0430\u043D\u0435\u043B
|
|
43
43
|
|