@openui5/sap.ui.layout 1.98.0 → 1.101.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/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +6 -6
- package/package.json +2 -2
- package/src/sap/ui/layout/.library +1 -1
- package/src/sap/ui/layout/AlignedFlowLayout.js +1 -1
- package/src/sap/ui/layout/AlignedFlowLayoutRenderer.js +6 -6
- package/src/sap/ui/layout/AssociativeSplitter.js +1 -1
- package/src/sap/ui/layout/BlockLayout.js +1 -1
- package/src/sap/ui/layout/BlockLayoutCell.js +1 -1
- package/src/sap/ui/layout/BlockLayoutCellData.js +1 -1
- package/src/sap/ui/layout/BlockLayoutCellRenderer.js +1 -1
- package/src/sap/ui/layout/BlockLayoutRow.js +1 -5
- package/src/sap/ui/layout/DynamicSideContent.js +2 -2
- package/src/sap/ui/layout/FixFlex.js +1 -1
- package/src/sap/ui/layout/FixFlexRenderer.js +3 -3
- package/src/sap/ui/layout/Grid.js +1 -1
- package/src/sap/ui/layout/GridData.js +1 -1
- package/src/sap/ui/layout/GridRenderer.js +2 -2
- package/src/sap/ui/layout/HorizontalLayout.js +1 -1
- package/src/sap/ui/layout/HorizontalLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/PaneContainer.js +1 -1
- package/src/sap/ui/layout/ResponsiveFlowLayout.js +4 -4
- package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +1 -1
- package/src/sap/ui/layout/ResponsiveFlowLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/ResponsiveSplitter.js +1 -1
- package/src/sap/ui/layout/ResponsiveSplitterPage.js +1 -1
- package/src/sap/ui/layout/SplitPane.js +1 -1
- package/src/sap/ui/layout/Splitter.js +10 -8
- package/src/sap/ui/layout/SplitterLayoutData.js +1 -1
- package/src/sap/ui/layout/VerticalLayout.js +1 -1
- package/src/sap/ui/layout/VerticalLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddFormContainer.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddFormField.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddSimpleFormField.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +1 -1
- package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +1 -1
- package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +1 -1
- package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +1 -1
- package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +1 -1
- package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +1 -1
- package/src/sap/ui/layout/cssgrid/CSSGrid.js +1 -1
- package/src/sap/ui/layout/cssgrid/CSSGridRenderer.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridSettings.js +1 -1
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +1 -1
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +1 -1
- package/src/sap/ui/layout/designtime/form/FormContainer.designtime.js +4 -2
- package/src/sap/ui/layout/form/ColumnContainerData.js +1 -1
- package/src/sap/ui/layout/form/ColumnElementData.js +1 -1
- package/src/sap/ui/layout/form/ColumnLayout.js +1 -1
- package/src/sap/ui/layout/form/Form.js +1 -1
- package/src/sap/ui/layout/form/FormContainer.js +1 -1
- package/src/sap/ui/layout/form/FormElement.js +1 -1
- package/src/sap/ui/layout/form/FormLayout.js +1 -1
- package/src/sap/ui/layout/form/FormLayoutRenderer.js +7 -5
- package/src/sap/ui/layout/form/FormRenderer.js +1 -1
- package/src/sap/ui/layout/form/GridContainerData.js +1 -1
- package/src/sap/ui/layout/form/GridElementData.js +1 -1
- package/src/sap/ui/layout/form/GridLayout.js +1 -1
- package/src/sap/ui/layout/form/GridLayoutRenderer.js +2 -3
- package/src/sap/ui/layout/form/ResponsiveGridLayout.js +1 -1
- package/src/sap/ui/layout/form/ResponsiveLayout.js +1 -1
- package/src/sap/ui/layout/form/SemanticFormElement.js +1 -1
- package/src/sap/ui/layout/form/SimpleForm.js +1 -1
- package/src/sap/ui/layout/form/SimpleFormRenderer.js +1 -1
- package/src/sap/ui/layout/library.js +36 -35
package/.eslintrc.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"overrides": [
|
|
3
|
+
/*
|
|
4
|
+
* Productive code, sample and unit test code of sap.ui.layout has been cleaned up.
|
|
5
|
+
* No more references to the global jQuery allowed
|
|
6
|
+
*/
|
|
7
|
+
{
|
|
8
|
+
"files": [
|
|
9
|
+
"src/**/*.js",
|
|
10
|
+
"test/sap/ui/layout/demokit/**/*.js",
|
|
11
|
+
"test/sap/ui/layout/qunit/**/*.js"
|
|
12
|
+
],
|
|
13
|
+
"globals": {
|
|
14
|
+
"jQuery": "off"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
package/THIRDPARTY.txt
CHANGED
|
@@ -197,7 +197,7 @@ License: BSD-3-Clause
|
|
|
197
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
199
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
200
|
+
Component: URI.js, version: 1.19.10
|
|
201
201
|
Copyright: Rodney Rehm
|
|
202
202
|
License: MIT
|
|
203
203
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -400,7 +400,7 @@ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperato
|
|
|
400
400
|
|
|
401
401
|
Library: sap.ui.webc.common:
|
|
402
402
|
|
|
403
|
-
Component: UI5 Web Components, version: 1.
|
|
403
|
+
Component: UI5 Web Components, version: 1.1.2
|
|
404
404
|
Copyright: SAP
|
|
405
405
|
License: Apache-2.0
|
|
406
406
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -411,7 +411,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
|
411
411
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
412
412
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
413
413
|
|
|
414
|
-
Component: lit-html, version:
|
|
414
|
+
Component: lit-html, version: 2.0.1
|
|
415
415
|
Copyright: Google LLC
|
|
416
416
|
License: BSD-3-Clause
|
|
417
417
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -420,7 +420,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
|
|
|
420
420
|
|
|
421
421
|
Library: sap.ui.webc.fiori:
|
|
422
422
|
|
|
423
|
-
Component: UI5 Web Components, version: 1.
|
|
423
|
+
Component: UI5 Web Components, version: 1.1.2
|
|
424
424
|
Copyright: SAP
|
|
425
425
|
License: Apache-2.0
|
|
426
426
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -429,7 +429,7 @@ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
|
|
|
429
429
|
|
|
430
430
|
Library: sap.ui.webc.main:
|
|
431
431
|
|
|
432
|
-
Component: UI5 Web Components, version: 1.
|
|
432
|
+
Component: UI5 Web Components, version: 1.1.2
|
|
433
433
|
Copyright: SAP
|
|
434
434
|
License: Apache-2.0
|
|
435
435
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -450,7 +450,7 @@ License: Apache-2.0
|
|
|
450
450
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
451
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
452
452
|
|
|
453
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
453
|
+
Component: SAP Theming Base Content, version: 11.1.38
|
|
454
454
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
455
455
|
License: Apache-2.0
|
|
456
456
|
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.ui.layout",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.101.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.layout",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.101.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 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.101.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with layout controls.</documentation>
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ sap.ui.define(['./library'],
|
|
|
28
28
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
29
29
|
*
|
|
30
30
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
31
|
-
* @param {sap.ui.
|
|
31
|
+
* @param {sap.ui.layout.AlignedFlowLayout} oControl An object representation of the control that should be rendered
|
|
32
32
|
*/
|
|
33
33
|
AlignedFlowLayoutRenderer.render = function (oRm, oControl) {
|
|
34
34
|
var aContent = oControl.getContent();
|
|
@@ -53,7 +53,7 @@ sap.ui.define(['./library'],
|
|
|
53
53
|
* Can be overwritten by subclasses.
|
|
54
54
|
*
|
|
55
55
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
56
|
-
* @param {sap.ui.
|
|
56
|
+
* @param {sap.ui.layout.AlignedFlowLayout} oControl An object representation of the control that should be rendered
|
|
57
57
|
* @param {sap.ui.core.Control[]} [aContent=oControl.getContent()] The content to be rendered
|
|
58
58
|
*/
|
|
59
59
|
AlignedFlowLayoutRenderer.renderItems = function(oRm, oControl, aContent) {
|
|
@@ -69,7 +69,7 @@ sap.ui.define(['./library'],
|
|
|
69
69
|
* Can be overwritten by subclasses.
|
|
70
70
|
*
|
|
71
71
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
72
|
-
* @param {sap.ui.
|
|
72
|
+
* @param {sap.ui.layout.AlignedFlowLayout} oControl An object representation of the control that should be rendered
|
|
73
73
|
* @param {sap.ui.core.Control} oContent The content to be rendered inside the item
|
|
74
74
|
*/
|
|
75
75
|
AlignedFlowLayoutRenderer.renderItem = function(oRm, oControl, oContent) {
|
|
@@ -87,7 +87,7 @@ sap.ui.define(['./library'],
|
|
|
87
87
|
* Can be overwritten by subclasses.
|
|
88
88
|
*
|
|
89
89
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
90
|
-
* @param {sap.ui.
|
|
90
|
+
* @param {sap.ui.layout.AlignedFlowLayout} oControl An object representation of the control that should be rendered
|
|
91
91
|
* @param {sap.ui.core.Control[]} [aEndContent=oControl.getEndContent()] The content to be rendered inside the last item
|
|
92
92
|
*/
|
|
93
93
|
AlignedFlowLayoutRenderer.renderEndItem = function(oRm, oControl, aEndContent) {
|
|
@@ -117,7 +117,7 @@ sap.ui.define(['./library'],
|
|
|
117
117
|
* Can be overwritten by subclasses.
|
|
118
118
|
*
|
|
119
119
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
120
|
-
* @param {sap.ui.
|
|
120
|
+
* @param {sap.ui.layout.AlignedFlowLayout} oControl An object representation of the control that should be rendered
|
|
121
121
|
* @param {sap.ui.core.Control} oContent The content to be rendered inside the last item
|
|
122
122
|
*/
|
|
123
123
|
AlignedFlowLayoutRenderer.renderEndContent = function(oRm, oControl, oContent) {
|
|
@@ -135,7 +135,7 @@ sap.ui.define(['./library'],
|
|
|
135
135
|
* first row has then one element less than there are children
|
|
136
136
|
*
|
|
137
137
|
* @param {sap.ui.core.RenderManager} oRm The RenderManager that can be used for writing to the render output buffer
|
|
138
|
-
* @param {sap.ui.
|
|
138
|
+
* @param {sap.ui.layout.AlignedFlowLayout} oControl An object representation of the control that should be rendered
|
|
139
139
|
*/
|
|
140
140
|
AlignedFlowLayoutRenderer.renderSpacers = function(oRm, oControl) {
|
|
141
141
|
var iSpacers = oControl.computeNumberOfSpacers(),
|
|
@@ -84,7 +84,7 @@ sap.ui.define(['./library', 'sap/ui/core/library', "sap/base/Log"],
|
|
|
84
84
|
|
|
85
85
|
var level = blockLayoutCell.getTitleLevel(),
|
|
86
86
|
autoLevel = level === TitleLevel.Auto,
|
|
87
|
-
tag = autoLevel ? "h2" : level;
|
|
87
|
+
tag = autoLevel ? "h2" : level.toLowerCase();
|
|
88
88
|
|
|
89
89
|
var aTitleClassesSeparated = titleClass.split(" ");
|
|
90
90
|
|
|
@@ -4,10 +4,6 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/**
|
|
8
|
-
* @typedef {Object} sap.ui.layout.BlockRowColorSets
|
|
9
|
-
* @typedef {Object} sap.ui.layout.BlockLayoutRow
|
|
10
|
-
*/
|
|
11
7
|
sap.ui.define([
|
|
12
8
|
'sap/ui/core/Control',
|
|
13
9
|
'./library',
|
|
@@ -36,7 +32,7 @@ sap.ui.define([
|
|
|
36
32
|
* @extends sap.ui.core.Control
|
|
37
33
|
*
|
|
38
34
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
35
|
+
* @version 1.101.0
|
|
40
36
|
*
|
|
41
37
|
* @constructor
|
|
42
38
|
* @public
|
|
@@ -94,7 +94,7 @@ sap.ui.define([
|
|
|
94
94
|
* @extends sap.ui.core.Control
|
|
95
95
|
*
|
|
96
96
|
* @author SAP SE
|
|
97
|
-
* @version 1.
|
|
97
|
+
* @version 1.101.0
|
|
98
98
|
*
|
|
99
99
|
* @constructor
|
|
100
100
|
* @public
|
|
@@ -567,7 +567,7 @@ sap.ui.define([
|
|
|
567
567
|
* Gets the current breakpoint, related to the width, which is passed to the method.
|
|
568
568
|
* @private
|
|
569
569
|
* @param {int} iWidth The parent container width
|
|
570
|
-
* @returns {
|
|
570
|
+
* @returns {string} Breakpoint corresponding to the width passed
|
|
571
571
|
*/
|
|
572
572
|
DynamicSideContent.prototype._getBreakPointFromWidth = function (iWidth) {
|
|
573
573
|
if (iWidth <= S_M_BREAKPOINT && this._currentBreakpoint !== S) {
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
21
21
|
*
|
|
22
22
|
* @param {sap.ui.core.RenderManager} oRM the RenderManager that can be used for writing to the render output buffer
|
|
23
|
-
* @param {sap.ui.
|
|
23
|
+
* @param {sap.ui.layout.FixFlex} oControl an object representation of the control that should be rendered
|
|
24
24
|
*/
|
|
25
25
|
FixFlexRenderer.render = function (oRM, oControl) {
|
|
26
26
|
oRM.openStart("div", oControl)
|
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
* Render the controls in the flex container
|
|
54
54
|
*
|
|
55
55
|
* @param {sap.ui.core.RenderManager} oRM the RenderManager that can be used for writing to the render output buffer
|
|
56
|
-
* @param {sap.ui.
|
|
56
|
+
* @param {sap.ui.layout.FixFlex} oControl an object representation of the control that should be rendered
|
|
57
57
|
*/
|
|
58
58
|
FixFlexRenderer.renderFixChild = function (oRM, oControl) {
|
|
59
59
|
oRM.openStart("div", oControl.getId() + "-Fixed").class("sapUiFixFlexFixed");
|
|
@@ -78,7 +78,7 @@ sap.ui.define([
|
|
|
78
78
|
* Render the controls in the fix container
|
|
79
79
|
*
|
|
80
80
|
* @param {sap.ui.core.RenderManager} oRM the RenderManager that can be used for writing to the render output buffer
|
|
81
|
-
* @param {sap.ui.
|
|
81
|
+
* @param {sap.ui.layout.FixFlex} oControl an object representation of the control that should be rendered
|
|
82
82
|
*/
|
|
83
83
|
FixFlexRenderer.renderFlexChild = function (oRM, oControl) {
|
|
84
84
|
oRM.openStart("div", oControl.getId() + "-Flexible").class("sapUiFixFlexFlexible").openEnd();
|
|
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/Device", "sap/ui/layout/library"],
|
|
|
15
15
|
/**
|
|
16
16
|
* @author SAP SE
|
|
17
17
|
* @version
|
|
18
|
-
* 1.
|
|
18
|
+
* 1.101.0
|
|
19
19
|
* @namespace
|
|
20
20
|
*/
|
|
21
21
|
var GridRenderer = {
|
|
@@ -29,7 +29,7 @@ sap.ui.define(["sap/ui/Device", "sap/ui/layout/library"],
|
|
|
29
29
|
* @param {sap.ui.core.RenderManager}
|
|
30
30
|
* oRm the RenderManager that can be used for writing to the render
|
|
31
31
|
* output buffer
|
|
32
|
-
* @param {sap.ui.
|
|
32
|
+
* @param {sap.ui.layout.Grid}
|
|
33
33
|
* oControl an object representation of the control that should be
|
|
34
34
|
* rendered
|
|
35
35
|
*/
|
|
@@ -22,7 +22,7 @@ sap.ui.define([],
|
|
|
22
22
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
23
23
|
*
|
|
24
24
|
* @param {sap.ui.core.RenderManager} oRenderManager the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
25
|
-
* @param {sap.ui.
|
|
25
|
+
* @param {sap.ui.layout.HorizontalLayout} oControl an object representation of the control that should be rendered
|
|
26
26
|
*/
|
|
27
27
|
HorizontalLayoutRenderer.render = function(oRenderManager, oControl){
|
|
28
28
|
// convenience variable
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.101.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -568,9 +568,9 @@ sap.ui.define([
|
|
|
568
568
|
// update the internal structure of the rows
|
|
569
569
|
updateRows(this);
|
|
570
570
|
|
|
571
|
-
if (this.
|
|
572
|
-
ResizeHandler.deregister(this.
|
|
573
|
-
delete this.
|
|
571
|
+
if (this._resizeHandlerComputeWidthsID) {
|
|
572
|
+
ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
|
|
573
|
+
delete this._resizeHandlerComputeWidthsID;
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
@@ -23,7 +23,7 @@ sap.ui.define([],
|
|
|
23
23
|
* @param {sap.ui.core.RenderManager}
|
|
24
24
|
* oRm The RenderManager that can be used for writing to the render
|
|
25
25
|
* output buffer
|
|
26
|
-
* @param {sap.ui.
|
|
26
|
+
* @param {sap.ui.layout.ResponsiveFlowLayout}
|
|
27
27
|
* oControl An object representation of the control that should be
|
|
28
28
|
* rendered
|
|
29
29
|
*/
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
'sap/ui/core/Control',
|
|
9
|
+
'sap/ui/core/CustomData',
|
|
9
10
|
'./library',
|
|
10
11
|
'sap/ui/core/library',
|
|
11
12
|
'sap/ui/core/ResizeHandler',
|
|
@@ -17,6 +18,7 @@ sap.ui.define([
|
|
|
17
18
|
],
|
|
18
19
|
function(
|
|
19
20
|
Control,
|
|
21
|
+
CustomData,
|
|
20
22
|
library,
|
|
21
23
|
coreLibrary,
|
|
22
24
|
ResizeHandler,
|
|
@@ -66,7 +68,7 @@ sap.ui.define([
|
|
|
66
68
|
* @extends sap.ui.core.Control
|
|
67
69
|
*
|
|
68
70
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
71
|
+
* @version 1.101.0
|
|
70
72
|
*
|
|
71
73
|
* @constructor
|
|
72
74
|
* @public
|
|
@@ -136,7 +138,7 @@ sap.ui.define([
|
|
|
136
138
|
this._liveResize = true;
|
|
137
139
|
this._keyboardEnabled = true;
|
|
138
140
|
this._bHorizontal = true;
|
|
139
|
-
/** @type {
|
|
141
|
+
/** @type {number[]} */
|
|
140
142
|
this._calculatedSizes = [];
|
|
141
143
|
this._move = {};
|
|
142
144
|
|
|
@@ -572,8 +574,8 @@ sap.ui.define([
|
|
|
572
574
|
/**
|
|
573
575
|
* Resizes the contents after a bar has been moved
|
|
574
576
|
*
|
|
575
|
-
* @param {
|
|
576
|
-
* @param {
|
|
577
|
+
* @param {int} [iLeftContent] Number of the first (left) content that is resized
|
|
578
|
+
* @param {number} [iPixels] Number of pixels to increase the first and decrease the second content
|
|
577
579
|
* @param {boolean} [bFinal] Whether this is the final position (sets the size in the layoutData of the
|
|
578
580
|
* content areas)
|
|
579
581
|
*/
|
|
@@ -638,7 +640,7 @@ sap.ui.define([
|
|
|
638
640
|
* Resizes as soon as the current stack is done. Can be used in cases where several resize-relevant
|
|
639
641
|
* actions are done in a loop to make sure only one resize calculation is done at the end.
|
|
640
642
|
*
|
|
641
|
-
* @param {
|
|
643
|
+
* @param {int} [iDelay=0] Number of milliseconds to wait before doing the resize
|
|
642
644
|
* @private
|
|
643
645
|
*/
|
|
644
646
|
Splitter.prototype._delayedResize = function(iDelay) {
|
|
@@ -1058,8 +1060,8 @@ sap.ui.define([
|
|
|
1058
1060
|
* Compares two (simple, one-dimensional) arrays. If all values are the same, false is returned -
|
|
1059
1061
|
* If values differ or at least one of the values is no array, true is returned.
|
|
1060
1062
|
*
|
|
1061
|
-
* @param {
|
|
1062
|
-
* @param {
|
|
1063
|
+
* @param {number[]} [aSizes1] The array of numbers to compare against
|
|
1064
|
+
* @param {number[]} [aSizes2] The array of numbers that is compared to the first one
|
|
1063
1065
|
* @returns {boolean} True if the size-arrays differ, false otherwise
|
|
1064
1066
|
* @private
|
|
1065
1067
|
*/
|
|
@@ -1149,7 +1151,7 @@ sap.ui.define([
|
|
|
1149
1151
|
|
|
1150
1152
|
// CustomData that needs to be updated in the DOM has been set on the splitter
|
|
1151
1153
|
// TODO: Programatically write CustomData on this control to the DOM
|
|
1152
|
-
|| (oOrigin && oOrigin instanceof
|
|
1154
|
+
|| (oOrigin && oOrigin instanceof CustomData && oOrigin.getWriteToDom())
|
|
1153
1155
|
|
|
1154
1156
|
// We do not know where the invalidate originated from. We will pretty much have to rerender
|
|
1155
1157
|
|| (oOrigin === undefined);
|
|
@@ -24,7 +24,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library'],
|
|
|
24
24
|
* (The CSS value "auto" is used internally to recalculate the size of the content
|
|
25
25
|
* dynamically and is not directly set as style property.)
|
|
26
26
|
* @extends sap.ui.core.LayoutData
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.101.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -22,7 +22,7 @@ sap.ui.define([],
|
|
|
22
22
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
23
23
|
*
|
|
24
24
|
* @param {sap.ui.core.RenderManager} oRenderManager the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
25
|
-
* @param {sap.ui.
|
|
25
|
+
* @param {sap.ui.layout.VerticalLayout} oVerticalLayout an object representation of the control that should be rendered
|
|
26
26
|
*/
|
|
27
27
|
VerticalLayoutRenderer.render = function(oRenderManager, oVerticalLayout){
|
|
28
28
|
// convenience variable
|
|
@@ -18,7 +18,7 @@ sap.ui.define([
|
|
|
18
18
|
*
|
|
19
19
|
* @alias sap.ui.layout.changeHandler.RenameFormContainer
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.101.0
|
|
22
22
|
* @since 1.48
|
|
23
23
|
* @private
|
|
24
24
|
* @experimental Since 1.48. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
*
|
|
21
21
|
* @alias sap.ui.layout.changeHandler.RenameForm
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.101.0
|
|
24
24
|
* @since 1.40
|
|
25
25
|
* @private
|
|
26
26
|
* @experimental Since 1.40. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -95,7 +95,7 @@ sap.ui.define([
|
|
|
95
95
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
|
|
96
96
|
*
|
|
97
97
|
* @author SAP SE
|
|
98
|
-
* @version 1.
|
|
98
|
+
* @version 1.101.0
|
|
99
99
|
*
|
|
100
100
|
* @extends sap.ui.core.Control
|
|
101
101
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|