@openui5/sap.ui.layout 1.121.1 → 1.122.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/THIRDPARTY.txt +1 -1
- 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/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/BlockLayoutRow.js +1 -1
- package/src/sap/ui/layout/DynamicSideContent.js +1 -1
- package/src/sap/ui/layout/FixFlex.js +1 -1
- 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 +1 -1
- package/src/sap/ui/layout/HorizontalLayout.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/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 +1 -1
- package/src/sap/ui/layout/SplitterLayoutData.js +1 -1
- package/src/sap/ui/layout/VerticalLayout.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 +3 -6
- 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/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/form/ColumnContainerData.js +1 -1
- package/src/sap/ui/layout/form/ColumnElementData.js +1 -1
- package/src/sap/ui/layout/form/ColumnLayout.js +2 -2
- 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/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/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/library.js +8 -6
- package/src/sap/ui/layout/themes/base/ColumnLayout.less +2 -2
package/THIRDPARTY.txt
CHANGED
|
@@ -461,7 +461,7 @@ License: Apache-2.0
|
|
|
461
461
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
462
462
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
463
463
|
|
|
464
|
-
Component: SAP Theming Base Content, version: 11.
|
|
464
|
+
Component: SAP Theming Base Content, version: 11.12.0
|
|
465
465
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
466
466
|
License: Apache-2.0
|
|
467
467
|
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.122.1",
|
|
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.122.1"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2024 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.122.1</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with layout controls.</documentation>
|
|
12
12
|
|
|
@@ -42,7 +42,7 @@ sap.ui.define([
|
|
|
42
42
|
* @extends sap.ui.core.Control
|
|
43
43
|
*
|
|
44
44
|
* @author SAP SE
|
|
45
|
-
* @version 1.
|
|
45
|
+
* @version 1.122.1
|
|
46
46
|
*
|
|
47
47
|
* @constructor
|
|
48
48
|
* @public
|
|
@@ -585,7 +585,7 @@ sap.ui.define([
|
|
|
585
585
|
if (!this._resizeHandlerComputeWidthsID) {
|
|
586
586
|
// Trigger rerendering when the control is resized so width recalculations
|
|
587
587
|
// are handled in the on after rendering hook the same way as the initial width calculations.
|
|
588
|
-
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this,
|
|
588
|
+
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this, this._proxyComputeWidths.bind(this));
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
591
|
};
|
|
@@ -597,7 +597,7 @@ sap.ui.define([
|
|
|
597
597
|
if (this.getResponsive() && !this._resizeHandlerComputeWidthsID) {
|
|
598
598
|
// Trigger rerendering when the control is resized so width recalculations
|
|
599
599
|
// are handled in the on after rendering hook the same way as the initial width calculations.
|
|
600
|
-
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this,
|
|
600
|
+
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this, this._proxyComputeWidths.bind(this));
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
updateRows(this);
|
|
@@ -609,7 +609,7 @@ sap.ui.define([
|
|
|
609
609
|
if (bResponsive && !this._resizeHandlerComputeWidthsID) {
|
|
610
610
|
// Trigger rerendering when the control is resized so width recalculations
|
|
611
611
|
// are handled in the on after rendering hook the same way as the initial width calculations.
|
|
612
|
-
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this,
|
|
612
|
+
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this, this._proxyComputeWidths.bind(this));
|
|
613
613
|
} else if (this._resizeHandlerComputeWidthsID) {
|
|
614
614
|
if (this._resizeHandlerComputeWidthsID) {
|
|
615
615
|
ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
|
|
@@ -17,7 +17,7 @@ sap.ui.define([
|
|
|
17
17
|
* Change handler for adding a simple form group.
|
|
18
18
|
* @alias sap.ui.layout.changeHandler.AddSimpleFormGroup
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.122.1
|
|
21
21
|
* @experimental Since 1.27.0
|
|
22
22
|
*/
|
|
23
23
|
var AddSimpleFormGroup = {};
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* Change handler for hiding of a control.
|
|
20
20
|
* @alias sap.ui.fl.changeHandler.HideControl
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.122.1
|
|
23
23
|
* @experimental Since 1.27.0
|
|
24
24
|
*/
|
|
25
25
|
var HideForm = { };
|
|
@@ -276,12 +276,9 @@ sap.ui.define([
|
|
|
276
276
|
});
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
HideForm.getChangeVisualizationInfo = function(oChange
|
|
279
|
+
HideForm.getChangeVisualizationInfo = function(oChange) {
|
|
280
280
|
var oSelector = oChange.getContent().elementSelector;
|
|
281
|
-
var
|
|
282
|
-
var oDisplaySelector = oChange.getChangeType() === "removeSimpleFormGroup"
|
|
283
|
-
? oElement.getParent().getId()
|
|
284
|
-
: oElement.getParent().getParent().getId();
|
|
281
|
+
var oDisplaySelector = oChange.getSelector();
|
|
285
282
|
return {
|
|
286
283
|
affectedControls: [oSelector],
|
|
287
284
|
displayControls: [oDisplaySelector],
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
*
|
|
15
15
|
* @alias sap.ui.layout.changeHandler.RenameFormContainer
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.122.1
|
|
18
18
|
* @since 1.48
|
|
19
19
|
* @private
|
|
20
20
|
* @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.122.1
|
|
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.
|
|
@@ -96,7 +96,7 @@ sap.ui.define([
|
|
|
96
96
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
|
|
97
97
|
*
|
|
98
98
|
* @author SAP SE
|
|
99
|
-
* @version 1.
|
|
99
|
+
* @version 1.122.1
|
|
100
100
|
*
|
|
101
101
|
* @extends sap.ui.core.Control
|
|
102
102
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* Have to possibility to hold multiple sap.ui.layout.cssgrid.GridSettings and apply the currently active GridSettings.
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.122.1
|
|
26
26
|
*
|
|
27
27
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
28
28
|
*
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @class
|
|
28
28
|
* The <code>ColumnLayout</code> control renders a {@link sap.ui.layout.form.Form Form} control in a column-based responsive way.
|
|
29
29
|
* Depending on its size, the {@link sap.ui.layout.form.Form Form} control is divided into one or more columns.
|
|
30
|
-
* (XL - max.
|
|
30
|
+
* (XL - max. 6 columns, L - max. 4 columns, M - max. 3 columns and S - 1 column.)
|
|
31
31
|
*
|
|
32
32
|
* The {@link sap.ui.layout.form.FormContainer FormContainer} elements are spread out to the columns depending on the number of {@link sap.ui.layout.form.FormContainer FormContainer}
|
|
33
33
|
* elements and their size. For example, if there are 4 columns and 2 {@link sap.ui.layout.form.FormContainer FormContainer} elements,
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* This control cannot be used stand-alone, it just renders a {@link sap.ui.layout.form.Form Form} control,
|
|
61
61
|
* so it must be assigned to a {@link sap.ui.layout.form.Form Form} control using the <code>layout</code> aggregation.
|
|
62
62
|
* @extends sap.ui.layout.form.FormLayout
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.122.1
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
*
|
|
56
56
|
* This control cannot be used stand-alone, it just renders a {@link sap.ui.layout.form.Form Form}, so it must be assigned to a {@link sap.ui.layout.form.Form Form} using the <code>layout</code> aggregation.
|
|
57
57
|
* @extends sap.ui.layout.form.FormLayout
|
|
58
|
-
* @version 1.
|
|
58
|
+
* @version 1.122.1
|
|
59
59
|
*
|
|
60
60
|
* @constructor
|
|
61
61
|
* @public
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
* <b>Note:</b> If a more complex form is needed, use the <code>{@link sap.ui.layout.form.Form Form}</code> control instead.
|
|
70
70
|
*
|
|
71
71
|
* @extends sap.ui.core.Control
|
|
72
|
-
* @version 1.
|
|
72
|
+
* @version 1.122.1
|
|
73
73
|
*
|
|
74
74
|
* @constructor
|
|
75
75
|
* @public
|
|
@@ -21,14 +21,14 @@ sap.ui.define([
|
|
|
21
21
|
* @namespace
|
|
22
22
|
* @alias sap.ui.layout
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.122.1
|
|
25
25
|
* @since 1.15
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
28
|
var thisLib = Library.init({
|
|
29
29
|
apiVersion: 2,
|
|
30
30
|
name : "sap.ui.layout",
|
|
31
|
-
version: "1.
|
|
31
|
+
version: "1.122.1",
|
|
32
32
|
dependencies: ["sap.ui.core"],
|
|
33
33
|
designtime: "sap/ui/layout/designtime/library.designtime",
|
|
34
34
|
types: [
|
|
@@ -680,7 +680,8 @@ sap.ui.define([
|
|
|
680
680
|
* @classdesc An <code>int</code> type that defines how many columns a <code>Form</code> control using
|
|
681
681
|
* the <code>ColumnLayout</code> as layout can have if it has large size
|
|
682
682
|
*
|
|
683
|
-
* Allowed values are numbers from 1 to
|
|
683
|
+
* Allowed values are numbers from 1 to 4.
|
|
684
|
+
* <b>Note:</b> In versions lower than 1.122 only 3 columns are allowed.
|
|
684
685
|
*
|
|
685
686
|
* @final
|
|
686
687
|
* @namespace
|
|
@@ -689,7 +690,7 @@ sap.ui.define([
|
|
|
689
690
|
*/
|
|
690
691
|
thisLib.form.ColumnsL = DataType.createType('sap.ui.layout.form.ColumnsL', {
|
|
691
692
|
isValid : function(vValue) {
|
|
692
|
-
if (vValue > 0 && vValue <=
|
|
693
|
+
if (vValue > 0 && vValue <= 4) {
|
|
693
694
|
return true;
|
|
694
695
|
} else {
|
|
695
696
|
return false;
|
|
@@ -704,7 +705,8 @@ sap.ui.define([
|
|
|
704
705
|
* @classdesc An <code>int</code> type that defines how many columns a <code>Form</code> control using
|
|
705
706
|
* the <code>ColumnLayout</code> as layout can have if it has medium size
|
|
706
707
|
*
|
|
707
|
-
* Allowed values are numbers from 1 to
|
|
708
|
+
* Allowed values are numbers from 1 to 3.
|
|
709
|
+
* <b>Note:</b> In versions lower than 1.122 only 2 columns are allowed.
|
|
708
710
|
*
|
|
709
711
|
* @final
|
|
710
712
|
* @namespace
|
|
@@ -713,7 +715,7 @@ sap.ui.define([
|
|
|
713
715
|
*/
|
|
714
716
|
thisLib.form.ColumnsM = DataType.createType('sap.ui.layout.form.ColumnsM', {
|
|
715
717
|
isValid : function(vValue) {
|
|
716
|
-
if (vValue > 0 && vValue <=
|
|
718
|
+
if (vValue > 0 && vValue <= 3) {
|
|
717
719
|
return true;
|
|
718
720
|
} else {
|
|
719
721
|
return false;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* ================================================ */
|
|
5
5
|
|
|
6
6
|
@_sap_ui_layout_ColumnLayout_formColumnMaxXL: 6;
|
|
7
|
-
@_sap_ui_layout_ColumnLayout_formColumnMaxL:
|
|
8
|
-
@_sap_ui_layout_ColumnLayout_formColumnMaxM:
|
|
7
|
+
@_sap_ui_layout_ColumnLayout_formColumnMaxL: 4;
|
|
8
|
+
@_sap_ui_layout_ColumnLayout_formColumnMaxM: 3;
|
|
9
9
|
@_sap_ui_layout_ColumnLayout_formColumnMaxS: 1;
|
|
10
10
|
@_sap_ui_layout_ColumnLayout_formColumnElementCols: 12;
|
|
11
11
|
@_sap_ui_layout_ColumnLayout_formColumnElementOneCol: 100% / @_sap_ui_layout_ColumnLayout_formColumnElementCols;
|