@openui5/sap.ui.layout 1.97.1 → 1.99.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/.reuse/dep5 +25 -30
- package/THIRDPARTY.txt +14 -21
- 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 +2 -2
- 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 +7 -7
- 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 +4 -4
- 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 +6 -3
- 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/SimpleForm.designtime.js +4 -0
- 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 +5 -3
- 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 +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/form/SimpleFormRenderer.js +1 -1
- package/src/sap/ui/layout/library.js +5 -2
- package/src/sap/ui/layout/messagebundle_it.properties +1 -1
- package/src/sap/ui/layout/messagebundle_th.properties +1 -1
|
@@ -66,7 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
* @extends sap.ui.core.Control
|
|
67
67
|
*
|
|
68
68
|
* @author SAP SE
|
|
69
|
-
* @version 1.
|
|
69
|
+
* @version 1.99.1
|
|
70
70
|
*
|
|
71
71
|
* @constructor
|
|
72
72
|
* @public
|
|
@@ -136,7 +136,7 @@ sap.ui.define([
|
|
|
136
136
|
this._liveResize = true;
|
|
137
137
|
this._keyboardEnabled = true;
|
|
138
138
|
this._bHorizontal = true;
|
|
139
|
-
/** @type {
|
|
139
|
+
/** @type {number[]} */
|
|
140
140
|
this._calculatedSizes = [];
|
|
141
141
|
this._move = {};
|
|
142
142
|
|
|
@@ -572,8 +572,8 @@ sap.ui.define([
|
|
|
572
572
|
/**
|
|
573
573
|
* Resizes the contents after a bar has been moved
|
|
574
574
|
*
|
|
575
|
-
* @param {
|
|
576
|
-
* @param {
|
|
575
|
+
* @param {int} [iLeftContent] Number of the first (left) content that is resized
|
|
576
|
+
* @param {number} [iPixels] Number of pixels to increase the first and decrease the second content
|
|
577
577
|
* @param {boolean} [bFinal] Whether this is the final position (sets the size in the layoutData of the
|
|
578
578
|
* content areas)
|
|
579
579
|
*/
|
|
@@ -638,7 +638,7 @@ sap.ui.define([
|
|
|
638
638
|
* Resizes as soon as the current stack is done. Can be used in cases where several resize-relevant
|
|
639
639
|
* actions are done in a loop to make sure only one resize calculation is done at the end.
|
|
640
640
|
*
|
|
641
|
-
* @param {
|
|
641
|
+
* @param {int} [iDelay=0] Number of milliseconds to wait before doing the resize
|
|
642
642
|
* @private
|
|
643
643
|
*/
|
|
644
644
|
Splitter.prototype._delayedResize = function(iDelay) {
|
|
@@ -1058,8 +1058,8 @@ sap.ui.define([
|
|
|
1058
1058
|
* Compares two (simple, one-dimensional) arrays. If all values are the same, false is returned -
|
|
1059
1059
|
* If values differ or at least one of the values is no array, true is returned.
|
|
1060
1060
|
*
|
|
1061
|
-
* @param {
|
|
1062
|
-
* @param {
|
|
1061
|
+
* @param {number[]} [aSizes1] The array of numbers to compare against
|
|
1062
|
+
* @param {number[]} [aSizes2] The array of numbers that is compared to the first one
|
|
1063
1063
|
* @returns {boolean} True if the size-arrays differ, false otherwise
|
|
1064
1064
|
* @private
|
|
1065
1065
|
*/
|
|
@@ -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.99.1
|
|
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.99.1
|
|
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.99.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.
|
|
@@ -85,17 +85,17 @@ sap.ui.define([
|
|
|
85
85
|
* the <code>CSSGrid</code> and configure how it will look in different breakpoints (S, M, L, XL).</li>
|
|
86
86
|
* </ul>
|
|
87
87
|
*
|
|
88
|
-
* <h3>
|
|
88
|
+
* <h3>Out of current scope:</h3>
|
|
89
89
|
* <ul>
|
|
90
|
-
* <li>
|
|
91
|
-
* <li>
|
|
90
|
+
* <li>Alignment and ordering</li>
|
|
91
|
+
* <li>Named grid areas and lines</li>
|
|
92
92
|
* </ul>
|
|
93
93
|
*
|
|
94
94
|
* @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
|
|
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.99.1
|
|
99
99
|
*
|
|
100
100
|
* @extends sap.ui.core.Control
|
|
101
101
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -19,7 +19,7 @@ sap.ui.define([], function () {
|
|
|
19
19
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
20
20
|
*
|
|
21
21
|
* @param {sap.ui.core.RenderManager} oRM the RenderManager that can be used for writing to the render output buffer
|
|
22
|
-
* @param {sap.ui.
|
|
22
|
+
* @param {sap.ui.layout.cssgrid.CSSGrid} oControl an object representation of the control that should be rendered
|
|
23
23
|
*/
|
|
24
24
|
CSSGridRenderer.render = function (oRM, oControl) {
|
|
25
25
|
oRM.openStart("div", oControl)
|
|
@@ -48,7 +48,7 @@ sap.ui.define([
|
|
|
48
48
|
* Applies a sap.ui.layout.cssgrid.GridSettings to a provided DOM element or Control.
|
|
49
49
|
*
|
|
50
50
|
* @author SAP SE
|
|
51
|
-
* @version 1.
|
|
51
|
+
* @version 1.99.1
|
|
52
52
|
*
|
|
53
53
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
54
54
|
*
|
|
@@ -227,8 +227,11 @@ sap.ui.define([
|
|
|
227
227
|
*/
|
|
228
228
|
GridBoxLayout.prototype._applySizeClass = function (oControl) {
|
|
229
229
|
|
|
230
|
-
var oRange = Device.media.getCurrentRange("StdExt", oControl.$().width())
|
|
231
|
-
|
|
230
|
+
var oRange = Device.media.getCurrentRange("StdExt", oControl.$().width());
|
|
231
|
+
if (!oRange) {
|
|
232
|
+
return;
|
|
233
|
+
}
|
|
234
|
+
var sSizeClass = mSizeClasses[oRange.name];
|
|
232
235
|
|
|
233
236
|
oControl.getGridDomRefs().forEach(function (oDomRef) {
|
|
234
237
|
//Check if the class is already applied
|
|
@@ -21,7 +21,7 @@ sap.ui.define([
|
|
|
21
21
|
* Have to possibility to hold multiple sap.ui.layout.cssgrid.GridSettings and apply the currently active GridSettings.
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.99.1
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
27
27
|
*
|
|
@@ -278,6 +278,10 @@ sap.ui.define([
|
|
|
278
278
|
return oFormContainerPropagatedMetadata;
|
|
279
279
|
} else if ( sType === "sap.ui.layout.form.FormElement") {
|
|
280
280
|
return oFormElementPropagatedMetadata;
|
|
281
|
+
} else if (oElement.isA("sap.ui.core.Label")) {
|
|
282
|
+
return {
|
|
283
|
+
actions: "not-adaptable"
|
|
284
|
+
};
|
|
281
285
|
} else {
|
|
282
286
|
return {
|
|
283
287
|
actions: null
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* This control cannot be used stand-alone, it just renders a <code>Form</code> control,
|
|
61
61
|
* so it must be assigned to a <code>Form</code> control using the <code>layout</code> aggregation.
|
|
62
62
|
* @extends sap.ui.layout.form.FormLayout
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.99.1
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -30,7 +30,7 @@ sap.ui.define([
|
|
|
30
30
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
31
31
|
*
|
|
32
32
|
* @param {sap.ui.core.RenderManager} rm the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
33
|
-
* @param {sap.ui.
|
|
33
|
+
* @param {sap.ui.layout.form.FormLayout} oLayout an object representation of the control that should be rendered
|
|
34
34
|
*/
|
|
35
35
|
FormLayoutRenderer.render = function(rm, oLayout){
|
|
36
36
|
var oForm = oLayout.getParent();
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* Renders the HTML for the given form content, using the provided {@link sap.ui.core.RenderManager}.
|
|
45
45
|
*
|
|
46
46
|
* @param {sap.ui.core.RenderManager} rm the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
47
|
-
* @param {sap.ui.
|
|
47
|
+
* @param {sap.ui.layout.form.FormLayout} oLayout an object representation of the Layout control that should be rendered
|
|
48
48
|
* @param {sap.ui.layout.form.Form} oForm, a form control to render its content
|
|
49
49
|
*/
|
|
50
50
|
FormLayoutRenderer.renderForm = function(rm, oLayout, oForm){
|
|
@@ -265,7 +265,9 @@ sap.ui.define([
|
|
|
265
265
|
};
|
|
266
266
|
|
|
267
267
|
/*
|
|
268
|
-
* Writes the accessibility attributes for FormContainers
|
|
268
|
+
* Writes the accessibility attributes for FormContainers.
|
|
269
|
+
* @param {sap.ui.core.RenderManager} rm
|
|
270
|
+
* @param {sap.ui.layout.form.FormContainer} oContainer
|
|
269
271
|
*/
|
|
270
272
|
FormLayoutRenderer.writeAccessibilityStateContainer = function(rm, oContainer){
|
|
271
273
|
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
|
|
24
24
|
*
|
|
25
25
|
* @param {sap.ui.core.RenderManager} rm the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
26
|
-
* @param {sap.ui.
|
|
26
|
+
* @param {sap.ui.layout.form.Form} oForm an object representation of the control that should be rendered
|
|
27
27
|
*/
|
|
28
28
|
FormRenderer.render = function(rm, oForm){
|
|
29
29
|
var oLayout = oForm.getLayout();
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* Renders the HTML for the given form content, using the provided {@link sap.ui.core.RenderManager}.
|
|
26
26
|
*
|
|
27
27
|
* @param {sap.ui.core.RenderManager} rm the RenderManager that can be used for writing to the Render-Output-Buffer
|
|
28
|
-
* @param {sap.ui.
|
|
28
|
+
* @param {sap.ui.layout.form.GridLayout} oLayout an object representation of the Layout control that should be rendered
|
|
29
29
|
* @param {sap.ui.layout.form.Form} oForm, a form control to render its content
|
|
30
30
|
*/
|
|
31
31
|
GridLayoutRenderer.renderForm = function(rm, oLayout, oForm){
|
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
*
|
|
54
54
|
* This control cannot be used stand-alone, it just renders a <code>Form</code>, so it must be assigned to a <code>Form</code> using the <code>layout</code> aggregation.
|
|
55
55
|
* @extends sap.ui.layout.form.FormLayout
|
|
56
|
-
* @version 1.
|
|
56
|
+
* @version 1.99.1
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @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} oRm the RenderManager that can be used for writing to the render output buffer
|
|
25
|
-
* @param {sap.ui.
|
|
25
|
+
* @param {sap.ui.layout.form.SimpleForm} oControl an object representation of the control that should be rendered
|
|
26
26
|
*/
|
|
27
27
|
SimpleFormRenderer.render = function(oRm, oControl){
|
|
28
28
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @namespace
|
|
21
21
|
* @name sap.ui.layout
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.99.1
|
|
24
24
|
* @since 1.15
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
// delegate further initialization of this library to the Core
|
|
29
29
|
sap.ui.getCore().initLibrary({
|
|
30
30
|
name : "sap.ui.layout",
|
|
31
|
-
version: "1.
|
|
31
|
+
version: "1.99.1",
|
|
32
32
|
dependencies: ["sap.ui.core"],
|
|
33
33
|
designtime: "sap/ui/layout/designtime/library.designtime",
|
|
34
34
|
types: [
|
|
@@ -551,6 +551,9 @@ sap.ui.define([
|
|
|
551
551
|
/**
|
|
552
552
|
* Uses the <code>GridLayout</code> layout to render the <code>SimpleForm</code> control
|
|
553
553
|
* @public
|
|
554
|
+
* @deprecated As of version 1.67.0,
|
|
555
|
+
* as the <code>sap.ui.commons</code> library is deprecated, and the <code>GridLayout</code> must not be used in responsive applications.
|
|
556
|
+
* Please use <code>ResponsiveGridLayout</code> or <code>ColumnLayout</code> instead.
|
|
554
557
|
*/
|
|
555
558
|
GridLayout : "GridLayout",
|
|
556
559
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
FORM_EXPAND=\u0E02\u0E22\u0E32\u0E22
|
|
3
3
|
FORM_COLLAPSE=\u0E22\u0E48\u0E2D\u0E23\u0E27\u0E21
|
|
4
4
|
|
|
5
|
-
SPLITTER_MOVE=\u0E01\u0E14\u0E41\u0E1B\u0E49\u0E19\u0E25\u0E39\u0E01\u0E28\u0E23\u0E40\u0E1E\u0E37\u0E48\u0E2D\
|
|
5
|
+
SPLITTER_MOVE=\u0E01\u0E14\u0E41\u0E1B\u0E49\u0E19\u0E25\u0E39\u0E01\u0E28\u0E23\u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E22\u0E49\u0E32\u0E22
|
|
6
6
|
|
|
7
7
|
SIDE_CONTENT_LABEL=\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E14\u0E49\u0E32\u0E19\u0E02\u0E49\u0E32\u0E07
|
|
8
8
|
|