@openui5/sap.ui.layout 1.102.2 → 1.104.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 +2 -3
- package/.reuse/dep5 +17 -0
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +5 -0
- package/THIRDPARTY.txt +35 -2
- 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 +4 -3
- package/src/sap/ui/layout/BlockLayoutCell.js +1 -3
- 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 +3 -3
- 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 +2 -2
- package/src/sap/ui/layout/ResponsiveFlowLayout.js +2 -2
- 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/ResponsiveSplitterUtilities.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 +1 -1
- package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +17 -2
- 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 +4 -3
- 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/Form.designtime.js +3 -0
- package/src/sap/ui/layout/designtime/form/FormContainer.designtime.js +5 -2
- package/src/sap/ui/layout/designtime/form/SimpleForm.designtime.js +4 -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 +1 -1
- package/src/sap/ui/layout/form/Form.js +3 -3
- package/src/sap/ui/layout/form/FormContainer.js +3 -3
- package/src/sap/ui/layout/form/FormElement.js +2 -2
- package/src/sap/ui/layout/form/FormLayout.js +2 -2
- 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 +2 -2
- package/src/sap/ui/layout/form/ResponsiveGridLayout.js +3 -3
- package/src/sap/ui/layout/form/ResponsiveLayout.js +3 -3
- 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 +4 -4
- package/src/sap/ui/layout/themes/base/BlockLayout.less +62 -17
- package/src/sap/ui/layout/themes/base/BlockLayoutCell.less +0 -2
- package/src/sap/ui/layout/themes/base/BlockLayoutRow.less +2 -5
package/.eslintrc.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"overrides": [
|
|
3
3
|
/*
|
|
4
|
-
* Productive code
|
|
4
|
+
* Productive code and test code of sap.ui.layout has been cleaned up.
|
|
5
5
|
* No more references to the global jQuery allowed
|
|
6
6
|
*/
|
|
7
7
|
{
|
|
8
8
|
"files": [
|
|
9
9
|
"src/**/*.js",
|
|
10
|
-
"test
|
|
11
|
-
"test/sap/ui/layout/qunit/**/*.js"
|
|
10
|
+
"test/**/*.js"
|
|
12
11
|
],
|
|
13
12
|
"globals": {
|
|
14
13
|
"jQuery": "off"
|
package/.reuse/dep5
CHANGED
|
@@ -137,6 +137,11 @@ Copyright: jQuery Foundation and other contributors
|
|
|
137
137
|
License: MIT
|
|
138
138
|
Comment: these files belong to: QUnit 2
|
|
139
139
|
|
|
140
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
|
|
141
|
+
Copyright: jQuery Foundation and other contributors
|
|
142
|
+
License: MIT
|
|
143
|
+
Comment: these files belong to: QUnit 2.18
|
|
144
|
+
|
|
140
145
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/jquery-compat.js
|
|
141
146
|
Copyright: OpenJS Foundation and other contributors
|
|
142
147
|
License: MIT
|
|
@@ -234,6 +239,11 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
|
|
|
234
239
|
License: BSD-3-Clause
|
|
235
240
|
Comment: these files belong to: SinonJS
|
|
236
241
|
|
|
242
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
|
|
243
|
+
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
244
|
+
License: BSD-3-Clause
|
|
245
|
+
Comment: these files belong to: SinonJS 14
|
|
246
|
+
|
|
237
247
|
Files: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
238
248
|
Copyright: 2010-2011, Christian Johansen
|
|
239
249
|
License: BSD-3-Clause
|
|
@@ -339,6 +349,13 @@ Copyright:
|
|
|
339
349
|
License: Apache-2.0 and ISC
|
|
340
350
|
Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
|
|
341
351
|
|
|
352
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
353
|
+
Copyright:
|
|
354
|
+
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
355
|
+
Arthur David Olson, Paul Eggert and other contributors
|
|
356
|
+
License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
|
|
357
|
+
Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
|
|
358
|
+
|
|
342
359
|
|
|
343
360
|
# Library: sap.ui.documentation:
|
|
344
361
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -76,6 +76,12 @@ License: MIT
|
|
|
76
76
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
77
77
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.*
|
|
78
78
|
|
|
79
|
+
Component: QUnit 2.18, version: 2.18.0
|
|
80
|
+
Copyright: jQuery Foundation and other contributors
|
|
81
|
+
License: MIT
|
|
82
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
83
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.*
|
|
84
|
+
|
|
79
85
|
Component: jQuery-Migrate, version: 3.3.1
|
|
80
86
|
Copyright: OpenJS Foundation and other contributors
|
|
81
87
|
License: MIT
|
|
@@ -191,13 +197,19 @@ License: BSD-3-Clause
|
|
|
191
197
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
192
198
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-4.js
|
|
193
199
|
|
|
200
|
+
Component: SinonJS 14, version: 14.0.0
|
|
201
|
+
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
202
|
+
License: BSD-3-Clause
|
|
203
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
204
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.*
|
|
205
|
+
|
|
194
206
|
Component: Sinon-qunit, version: 2.0.0
|
|
195
207
|
Copyright: 2010-2011, Christian Johansen
|
|
196
208
|
License: BSD-3-Clause
|
|
197
209
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
198
210
|
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/sinon-qunit.js
|
|
199
211
|
|
|
200
|
-
Component: URI.js, version: 1.19.
|
|
212
|
+
Component: URI.js, version: 1.19.11
|
|
201
213
|
Copyright: Rodney Rehm
|
|
202
214
|
License: MIT
|
|
203
215
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
@@ -315,6 +327,12 @@ License: ISC
|
|
|
315
327
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
|
|
316
328
|
Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
|
|
317
329
|
|
|
330
|
+
Component: Time Zone Database, version: 2022a
|
|
331
|
+
Copyright: Arthur David Olson, Paul Eggert and other contributors
|
|
332
|
+
License: LicenseRef-tzdata-PublicDomain
|
|
333
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
|
|
334
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
|
|
335
|
+
|
|
318
336
|
|
|
319
337
|
Library: sap.ui.documentation:
|
|
320
338
|
|
|
@@ -450,7 +468,7 @@ License: Apache-2.0
|
|
|
450
468
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
451
469
|
Contained in: lib/jsdoc/ui5/plugin.js
|
|
452
470
|
|
|
453
|
-
Component: SAP Theming Base Content, version: 11.1.
|
|
471
|
+
Component: SAP Theming Base Content, version: 11.1.40
|
|
454
472
|
Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
|
|
455
473
|
License: Apache-2.0
|
|
456
474
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -980,6 +998,21 @@ END of license: LicenseRef-JSONinJSPublicDomain
|
|
|
980
998
|
=================================
|
|
981
999
|
|
|
982
1000
|
|
|
1001
|
+
=================================
|
|
1002
|
+
BEGIN of license: LicenseRef-tzdata-PublicDomain
|
|
1003
|
+
=================================
|
|
1004
|
+
|
|
1005
|
+
Unless specified below, all files in the tz code and data (including
|
|
1006
|
+
this LICENSE file) are in the public domain.
|
|
1007
|
+
|
|
1008
|
+
If the files date.c, newstrftime.3, and strftime.c are present, they
|
|
1009
|
+
contain material derived from BSD and use the BSD 3-clause license.
|
|
1010
|
+
|
|
1011
|
+
=================================
|
|
1012
|
+
END of license: LicenseRef-tzdata-PublicDomain
|
|
1013
|
+
=================================
|
|
1014
|
+
|
|
1015
|
+
|
|
983
1016
|
=================================
|
|
984
1017
|
BEGIN of license: MIT
|
|
985
1018
|
=================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.layout",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.104.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.104.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.104.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with layout controls.</documentation>
|
|
12
12
|
|
|
@@ -38,8 +38,9 @@ sap.ui.define([
|
|
|
38
38
|
* </ul>
|
|
39
39
|
* Background colors are attached directly to the blocks of the layout.
|
|
40
40
|
*
|
|
41
|
-
* <b>Note:</b> With version 1.48 colors can be set for each individual {@link sap.ui.layout.BlockLayoutCell cell}.
|
|
42
|
-
*
|
|
41
|
+
* <b>Note:</b> With version 1.48 colors can be set for each individual {@link sap.ui.layout.BlockLayoutCell cell}.
|
|
42
|
+
* There are 11 pre-defined color sets, each with 4 different shades for the SAP Belize theme and 6 different shades for the Quartz and Horizon themes.
|
|
43
|
+
* To change the background of a particular cell, set <code>backgroundColorSet</code> (main color)
|
|
43
44
|
* and <code>backgroundColorShade</code> (shade).
|
|
44
45
|
*
|
|
45
46
|
* <b>Note:</b> Usage of disabled, emphasized or subtle links as titles is not recommended. Dark background designs, for example Accent, are not fully supported with regards to Accessibility when used with links as titles.
|
|
@@ -62,7 +63,7 @@ sap.ui.define([
|
|
|
62
63
|
* @extends sap.ui.core.Control
|
|
63
64
|
*
|
|
64
65
|
* @author SAP SE
|
|
65
|
-
* @version 1.
|
|
66
|
+
* @version 1.104.0
|
|
66
67
|
*
|
|
67
68
|
* @constructor
|
|
68
69
|
* @public
|
|
@@ -27,7 +27,7 @@ sap.ui.define([
|
|
|
27
27
|
* @extends sap.ui.core.Control
|
|
28
28
|
*
|
|
29
29
|
* @author SAP SE
|
|
30
|
-
* @version 1.
|
|
30
|
+
* @version 1.104.0
|
|
31
31
|
*
|
|
32
32
|
* @constructor
|
|
33
33
|
* @public
|
|
@@ -74,14 +74,12 @@ sap.ui.define([
|
|
|
74
74
|
width: {type: "int", group: "Appearance", defaultValue: 0},
|
|
75
75
|
/**
|
|
76
76
|
* The Background color set from which the background color will be selected.
|
|
77
|
-
* By using background colors from the predefined sets your colors could later be customized from the Theme Designer.
|
|
78
77
|
* <b>Note:</b> backgroundColorSet should be used only in combination with backgroundColorShade.
|
|
79
78
|
* @since 1.48
|
|
80
79
|
*/
|
|
81
80
|
backgroundColorSet: {type: "sap.ui.layout.BlockLayoutCellColorSet", group: "Appearance"},
|
|
82
81
|
/**
|
|
83
82
|
* The index of the background color in the color set from which the color will be selected.
|
|
84
|
-
* By using background colors from the predefined sets your colors could later be customized from the Theme Designer.
|
|
85
83
|
* <b>Note:</b> backgroundColorShade should be used only in combination with backgroundColorSet.
|
|
86
84
|
* @since 1.48
|
|
87
85
|
*/
|
|
@@ -59,7 +59,7 @@ sap.ui.define([
|
|
|
59
59
|
* @extends sap.ui.core.Control
|
|
60
60
|
*
|
|
61
61
|
* @author SAP SE
|
|
62
|
-
* @version 1.
|
|
62
|
+
* @version 1.104.0
|
|
63
63
|
*
|
|
64
64
|
* @constructor
|
|
65
65
|
* @public
|
|
@@ -351,14 +351,14 @@ sap.ui.define([
|
|
|
351
351
|
|
|
352
352
|
if (!oLayoutData) {
|
|
353
353
|
return undefined;
|
|
354
|
-
} else if (oLayoutData
|
|
354
|
+
} else if (oLayoutData.isA("sap.ui.layout.GridData")) {
|
|
355
355
|
return oLayoutData;
|
|
356
356
|
} else if (oLayoutData.isA("sap.ui.core.VariantLayoutData")) {
|
|
357
357
|
// multiple LayoutData available - search here
|
|
358
358
|
var aLayoutData = oLayoutData.getMultipleLayoutData();
|
|
359
359
|
for ( var i = 0; i < aLayoutData.length; i++) {
|
|
360
360
|
var oLayoutData2 = aLayoutData[i];
|
|
361
|
-
if (oLayoutData2
|
|
361
|
+
if (oLayoutData2 && oLayoutData2.isA("sap.ui.layout.GridData")) {
|
|
362
362
|
return oLayoutData2;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
@@ -24,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', './AssociativeSplitter', 'sap
|
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.104.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -103,7 +103,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', './AssociativeSplitter', 'sap
|
|
|
103
103
|
|
|
104
104
|
PaneContainer.prototype._getPanesInInterval = function (iFrom) {
|
|
105
105
|
return this.getPanes().filter(function(oPane) {
|
|
106
|
-
return oPane
|
|
106
|
+
return oPane && oPane.isA("sap.ui.layout.SplitPane") && oPane._isInInterval(iFrom);
|
|
107
107
|
});
|
|
108
108
|
};
|
|
109
109
|
|
|
@@ -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.104.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -720,7 +720,7 @@ sap.ui.define([
|
|
|
720
720
|
* The difference with the function rect() in sap/ui/dom/jquery/rect.js is that the height and width are cut to the
|
|
721
721
|
* 1st digit after the decimal separator and this is consistent across all browsers.
|
|
722
722
|
* @param {object} oElement The jQuery collection to check
|
|
723
|
-
* @returns {object} Object with properties top, left, width and height or null if no such element
|
|
723
|
+
* @returns {object|null} Object with properties top, left, width and height or null if no such element
|
|
724
724
|
* @private
|
|
725
725
|
*/
|
|
726
726
|
ResponsiveFlowLayout.prototype._getElementRect = function (oElement) {
|
|
@@ -20,7 +20,7 @@ sap.ui.define([], function() {
|
|
|
20
20
|
aPanes = oPaneContainer.getPanes();
|
|
21
21
|
for (var i = 0; i < aPanes.length; i++) {
|
|
22
22
|
oPane = aPanes[i];
|
|
23
|
-
if (oPane
|
|
23
|
+
if (oPane && oPane.isA("sap.ui.layout.SplitPane")) {
|
|
24
24
|
fnCallback(oPane);
|
|
25
25
|
} else {
|
|
26
26
|
RSUtil.visitPanes(oPane, fnCallback);
|
|
@@ -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.104.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
* Change handler for adding a simple form group.
|
|
20
20
|
* @alias sap.ui.layout.changeHandler.AddSimpleFormGroup
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.104.0
|
|
23
23
|
* @experimental Since 1.27.0
|
|
24
24
|
*/
|
|
25
25
|
var AddSimpleFormGroup = {};
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
*
|
|
21
21
|
* @alias sap.ui.layout.changeHandler.MoveSimpleForm
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.104.0
|
|
24
24
|
* @experimental Since 1.34.0
|
|
25
25
|
*/
|
|
26
26
|
var MoveSimpleForm = {};
|
|
@@ -463,16 +463,31 @@ sap.ui.define([
|
|
|
463
463
|
};
|
|
464
464
|
|
|
465
465
|
MoveSimpleForm.getChangeVisualizationInfo = function(oChange, oAppComponent) {
|
|
466
|
+
var oSourceParentContainer;
|
|
467
|
+
var oTargetParentContainer;
|
|
466
468
|
var oMovedElement = oChange.getContent().movedElements[0];
|
|
467
469
|
var oGroupSelector = oMovedElement.source.groupSelector;
|
|
468
470
|
var oAffectedControlSelector = JsControlTreeModifier.bySelector(oMovedElement.elementSelector, oAppComponent).getParent().getId();
|
|
471
|
+
if (oChange.getChangeType() === MoveSimpleForm.CHANGE_TYPE_MOVE_FIELD) {
|
|
472
|
+
var oSourceParentTitleElement = JsControlTreeModifier.bySelector(oMovedElement.source.groupSelector, oAppComponent);
|
|
473
|
+
var oTargetParentTitleElement = JsControlTreeModifier.bySelector(oMovedElement.target.groupSelector, oAppComponent);
|
|
474
|
+
oSourceParentContainer = oSourceParentTitleElement ? oSourceParentTitleElement.getParent().getId() : null;
|
|
475
|
+
oTargetParentContainer = oTargetParentTitleElement ? oTargetParentTitleElement.getParent().getId() : null;
|
|
476
|
+
oGroupSelector = {
|
|
477
|
+
id: oSourceParentContainer
|
|
478
|
+
};
|
|
479
|
+
}
|
|
469
480
|
return {
|
|
470
481
|
affectedControls: [oAffectedControlSelector],
|
|
471
482
|
dependentControls: [
|
|
472
483
|
oGroupSelector && oGroupSelector.id
|
|
473
484
|
? oGroupSelector
|
|
474
485
|
: oChange.getContent().targetSelector
|
|
475
|
-
]
|
|
486
|
+
],
|
|
487
|
+
payload: {
|
|
488
|
+
sourceParentContainer: oSourceParentContainer,
|
|
489
|
+
targetParentContainer: oTargetParentContainer
|
|
490
|
+
}
|
|
476
491
|
};
|
|
477
492
|
};
|
|
478
493
|
|
|
@@ -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.104.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.104.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.
|
|
@@ -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.104.0
|
|
100
100
|
*
|
|
101
101
|
* @extends sap.ui.core.Control
|
|
102
102
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* Applies a sap.ui.layout.cssgrid.GridSettings to a provided DOM element or Control.
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.104.0
|
|
40
40
|
*
|
|
41
41
|
* @extends sap.ui.base.ManagedObject
|
|
42
42
|
*
|
|
@@ -201,9 +201,10 @@ sap.ui.define([
|
|
|
201
201
|
};
|
|
202
202
|
|
|
203
203
|
/**
|
|
204
|
-
* Should return
|
|
205
|
-
* Must be implemented by child classes
|
|
204
|
+
* Should return the active GridSettings.
|
|
205
|
+
* Must be implemented by child classes.
|
|
206
206
|
* @abstract
|
|
207
|
+
* @returns {sap.ui.layout.cssgrid.GridSettings}
|
|
207
208
|
* @public
|
|
208
209
|
*/
|
|
209
210
|
GridLayoutBase.prototype.getActiveGridSettings = function () {
|
|
@@ -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.104.0
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
27
27
|
*
|
|
@@ -33,7 +33,7 @@ sap.ui.define([
|
|
|
33
33
|
var oForm = fnFindForm(oFormContainer);
|
|
34
34
|
if (oForm &&
|
|
35
35
|
oForm.getLayout() &&
|
|
36
|
-
oForm.getLayout().
|
|
36
|
+
oForm.getLayout().isA("sap.ui.layout.form.GridLayout")) {
|
|
37
37
|
return false;
|
|
38
38
|
}
|
|
39
39
|
return true;
|
|
@@ -111,6 +111,9 @@ sap.ui.define([
|
|
|
111
111
|
return null;
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
+
remove : {
|
|
115
|
+
removeLastElement: true
|
|
116
|
+
},
|
|
114
117
|
add: {
|
|
115
118
|
delegate: function (oFormContainer) {
|
|
116
119
|
if (fnIsLayoutSupported(oFormContainer)) {
|
|
@@ -139,4 +142,4 @@ sap.ui.define([
|
|
|
139
142
|
}
|
|
140
143
|
};
|
|
141
144
|
|
|
142
|
-
});
|
|
145
|
+
});
|
|
@@ -101,6 +101,9 @@ sap.ui.define([
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
|
+
remove : {
|
|
105
|
+
removeLastElement: true
|
|
106
|
+
},
|
|
104
107
|
createContainer: {
|
|
105
108
|
changeType: "addSimpleFormGroup",
|
|
106
109
|
changeOnRelevantContainer: true,
|
|
@@ -293,4 +296,4 @@ sap.ui.define([
|
|
|
293
296
|
}
|
|
294
297
|
};
|
|
295
298
|
|
|
296
|
-
});
|
|
299
|
+
});
|
|
@@ -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.104.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
* @extends sap.ui.core.Control
|
|
45
45
|
*
|
|
46
46
|
* @author SAP SE
|
|
47
|
-
* @version 1.
|
|
47
|
+
* @version 1.104.0
|
|
48
48
|
*
|
|
49
49
|
* @constructor
|
|
50
50
|
* @public
|
|
@@ -246,7 +246,7 @@ sap.ui.define([
|
|
|
246
246
|
* If the <code>FormContainer</code> has a DOM representation this function returns it,
|
|
247
247
|
* independent from the ID of this DOM element
|
|
248
248
|
* @param {sap.ui.layout.form.FormContainer} oContainer <code>FormContainer</code>
|
|
249
|
-
* @return {Element} The Element's DOM representation or null
|
|
249
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
250
250
|
* @private
|
|
251
251
|
*/
|
|
252
252
|
Form.prototype.getContainerRenderedDomRef = function(oContainer) {
|
|
@@ -265,7 +265,7 @@ sap.ui.define([
|
|
|
265
265
|
* If the <code>FormElement</code> has a DOM representation this function returns it,
|
|
266
266
|
* independent from the ID of this DOM element
|
|
267
267
|
* @param {sap.ui.layout.form.FormElement} oElement <code>FormElement</code>
|
|
268
|
-
* @return {Element} The Element's DOM representation or null
|
|
268
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
269
269
|
* @private
|
|
270
270
|
*/
|
|
271
271
|
Form.prototype.getElementRenderedDomRef = function(oElement) {
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Element
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.104.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
@@ -241,7 +241,7 @@ sap.ui.define([
|
|
|
241
241
|
* As Elements must not have a DOM reference it is not sure if one exists
|
|
242
242
|
* If the FormContainer has a DOM representation this function returns it,
|
|
243
243
|
* independent from the ID of this DOM element
|
|
244
|
-
* @return {Element} The Element's DOM representation or null
|
|
244
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
245
245
|
* @private
|
|
246
246
|
*/
|
|
247
247
|
FormContainer.prototype.getRenderedDomRef = function(){
|
|
@@ -262,7 +262,7 @@ sap.ui.define([
|
|
|
262
262
|
* If the FormElement has a DOM representation this function returns it,
|
|
263
263
|
* independent from the ID of this DOM element
|
|
264
264
|
* @param {sap.ui.layout.form.FormElement} oElement FormElement
|
|
265
|
-
* @return {Element} The Element's DOM representation or null
|
|
265
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
266
266
|
* @private
|
|
267
267
|
*/
|
|
268
268
|
FormContainer.prototype.getElementRenderedDomRef = function(oElement){
|
|
@@ -26,7 +26,7 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.core.Element
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.104.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
@@ -290,7 +290,7 @@ sap.ui.define([
|
|
|
290
290
|
* As Elements must not have a DOM reference it is not sure if one exists
|
|
291
291
|
* If the FormElement has a DOM representation this function returns it,
|
|
292
292
|
* independent from the ID of this DOM element
|
|
293
|
-
* @return {Element} The Element's DOM representation or null
|
|
293
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
294
294
|
* @private
|
|
295
295
|
*/
|
|
296
296
|
FormElement.prototype.getRenderedDomRef = function(){
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @extends sap.ui.core.Control
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.104.0
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
@@ -895,7 +895,7 @@ sap.ui.define([
|
|
|
895
895
|
* As Elements must not have a DOM reference it is not sure if one exists
|
|
896
896
|
* In this basic <code>FormLayout</code> each <code>FormContainer</code> has its own DOM.
|
|
897
897
|
* @param {sap.ui.layout.form.FormContainer} oContainer <code>FormContainer</code>
|
|
898
|
-
* @return {Element} The Element's DOM representation or null
|
|
898
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
899
899
|
* @private
|
|
900
900
|
*/
|
|
901
901
|
FormLayout.prototype.getContainerRenderedDomRef = function(oContainer) {
|
|
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/layout/library', './FormLayout', './GridLayoutRenderer'],
|
|
|
28
28
|
* @extends sap.ui.layout.form.FormLayout
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.104.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
@@ -202,7 +202,7 @@ sap.ui.define(['sap/ui/layout/library', './FormLayout', './GridLayoutRenderer'],
|
|
|
202
202
|
* In <code>GridLayout</code> a <code>FormContainer</code> can't have a surrounding DOM element,
|
|
203
203
|
* so it always returns null
|
|
204
204
|
* @param {sap.ui.layout.form.FormContainer} oContainer <code>FormContainer</code>
|
|
205
|
-
* @return {Element} The Element's DOM representation or null
|
|
205
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
206
206
|
* @private
|
|
207
207
|
*/
|
|
208
208
|
GridLayout.prototype.getContainerRenderedDomRef = function(oContainer) {
|
|
@@ -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.104.0
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @public
|
|
@@ -415,7 +415,7 @@ sap.ui.define([
|
|
|
415
415
|
* In this case, the panel's DOM reference is returned, otherwise the DOM reference
|
|
416
416
|
* of the <code>Grid</code> rendering the container's content.
|
|
417
417
|
* @param {sap.ui.layout.form.FormContainer} oContainer <code>FormContainer</code>
|
|
418
|
-
* @return {Element} The Element's DOM representation or null
|
|
418
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
419
419
|
* @private
|
|
420
420
|
*/
|
|
421
421
|
ResponsiveGridLayout.prototype.getContainerRenderedDomRef = function(oContainer) {
|
|
@@ -443,7 +443,7 @@ sap.ui.define([
|
|
|
443
443
|
* In this Layout a <code>FormElement</code> has no DOM representation,
|
|
444
444
|
* so null will always be returned
|
|
445
445
|
* @param {sap.ui.layout.form.FormElement} oElement <code>FormElement</code>
|
|
446
|
-
* @return {Element} The Element's DOM representation or null
|
|
446
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
447
447
|
* @private
|
|
448
448
|
*/
|
|
449
449
|
ResponsiveGridLayout.prototype.getElementRenderedDomRef = function(oElement) {
|
|
@@ -50,7 +50,7 @@ sap.ui.define([
|
|
|
50
50
|
* @extends sap.ui.layout.form.FormLayout
|
|
51
51
|
*
|
|
52
52
|
* @author SAP SE
|
|
53
|
-
* @version 1.
|
|
53
|
+
* @version 1.104.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
56
56
|
* @public
|
|
@@ -312,7 +312,7 @@ sap.ui.define([
|
|
|
312
312
|
* In this case, the panel's DOM reference is returned, otherwise the DOM reference
|
|
313
313
|
* of the <code>ResponsiveFlowLayout</code> rendering the container's content.
|
|
314
314
|
* @param {sap.ui.layout.form.FormContainer} oContainer <code>FormContainer</code>
|
|
315
|
-
* @return {Element} The Element's DOM representation or null
|
|
315
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
316
316
|
* @private
|
|
317
317
|
*/
|
|
318
318
|
ResponsiveLayout.prototype.getContainerRenderedDomRef = function(oContainer) {
|
|
@@ -340,7 +340,7 @@ sap.ui.define([
|
|
|
340
340
|
* In this Layout each <code>FormElement</code> is represented by an own ResponsiveFlowLayout.
|
|
341
341
|
* So the DOM of this <code>ResponsiveFlowLayout</code> is returned
|
|
342
342
|
* @param {sap.ui.layout.form.FormElement} oElement <code>FormElement</code>
|
|
343
|
-
* @return {Element} The Element's DOM representation or null
|
|
343
|
+
* @return {Element|null} The Element's DOM representation or null
|
|
344
344
|
* @private
|
|
345
345
|
*/
|
|
346
346
|
ResponsiveLayout.prototype.getElementRenderedDomRef = function(oElement) {
|
|
@@ -67,7 +67,7 @@ sap.ui.define([
|
|
|
67
67
|
* <b>Note:</b> If a more complex form is needed, use the <code>{@link sap.ui.layout.form.Form Form}</code> control instead.
|
|
68
68
|
*
|
|
69
69
|
* @extends sap.ui.core.Control
|
|
70
|
-
* @version 1.
|
|
70
|
+
* @version 1.104.0
|
|
71
71
|
*
|
|
72
72
|
* @constructor
|
|
73
73
|
* @public
|
|
@@ -20,13 +20,13 @@ sap.ui.define([
|
|
|
20
20
|
* @namespace
|
|
21
21
|
* @alias sap.ui.layout
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.104.0
|
|
24
24
|
* @since 1.15
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
28
28
|
name : "sap.ui.layout",
|
|
29
|
-
version: "1.
|
|
29
|
+
version: "1.104.0",
|
|
30
30
|
dependencies: ["sap.ui.core"],
|
|
31
31
|
designtime: "sap/ui/layout/designtime/library.designtime",
|
|
32
32
|
types: [
|
|
@@ -494,13 +494,13 @@ sap.ui.define([
|
|
|
494
494
|
*/
|
|
495
495
|
ShadeD: "ShadeD",
|
|
496
496
|
/**
|
|
497
|
-
* Shade E - available only for
|
|
497
|
+
* Shade E - available only for SAP Quartz and Horizon themes
|
|
498
498
|
*
|
|
499
499
|
* @public
|
|
500
500
|
*/
|
|
501
501
|
ShadeE: "ShadeE",
|
|
502
502
|
/**
|
|
503
|
-
* Shade F - available only for
|
|
503
|
+
* Shade F - available only for SAP Quartz and Horizon themes
|
|
504
504
|
*
|
|
505
505
|
* @public
|
|
506
506
|
*/
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
@_sap_ui_layout_BlockLayout_BackgroundDashboardMargin: 0.25rem;
|
|
9
9
|
@_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin: 0.5rem;
|
|
10
10
|
@_sap_ui_layout_BlockLayout_BackgroundDashboardAfterScrollbarMargin: 0.375rem;
|
|
11
|
-
|
|
12
|
-
@_sap_ui_layout_BlockLayout_LinkTextShadow: @sapUiShadowText;
|
|
13
|
-
|
|
14
11
|
@_sap_ui_layout_BlockLayout_BackgroundDashboardColor: @sapUiContentForegroundTextColor;
|
|
15
12
|
@_sap_ui_layout_BlockLayout_BackgroundDashboardBorderRadius: 0;
|
|
13
|
+
@_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadow: @sapUiShadowLevel0;
|
|
14
|
+
@_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadowOffset: 0;
|
|
15
|
+
|
|
16
|
+
@_sap_ui_layout_BlockLayout_LinkTextShadow: @sapUiShadowText;
|
|
17
|
+
@_sap_ui_layout_BlockLayout_CellTextColor: @sapUiContentForegroundTextColor;
|
|
16
18
|
|
|
17
19
|
.setCellsColorDoubles (@evenCell, @oddCell) {
|
|
18
20
|
// Match every even cell
|
|
@@ -36,7 +38,7 @@
|
|
|
36
38
|
font-family: @sapUiFontFamily;
|
|
37
39
|
font-weight: normal;
|
|
38
40
|
font-size: 0.875rem;
|
|
39
|
-
color: @
|
|
41
|
+
color: @_sap_ui_layout_BlockLayout_CellTextColor;
|
|
40
42
|
padding: 1rem;
|
|
41
43
|
|
|
42
44
|
> .sapUiIcon {
|
|
@@ -129,11 +131,15 @@
|
|
|
129
131
|
.sapUiBlockLayoutCell {
|
|
130
132
|
font-weight: normal;
|
|
131
133
|
color: @_sap_ui_layout_BlockLayout_BackgroundDashboardColor;
|
|
134
|
+
|
|
135
|
+
// use padding and negative margin to display box-shadow outside of the cell, because it has overflow: hidden
|
|
136
|
+
padding: @_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadowOffset;
|
|
137
|
+
margin: -@_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadowOffset;
|
|
132
138
|
}
|
|
133
139
|
|
|
134
140
|
.sapUiBlockCellContent {
|
|
135
141
|
background-color: @sapUiGroupContentBackground;
|
|
136
|
-
box-shadow: @
|
|
142
|
+
box-shadow: @_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadow;
|
|
137
143
|
margin: @_sap_ui_layout_BlockLayout_BackgroundDashboardMargin;
|
|
138
144
|
border-radius: @_sap_ui_layout_BlockLayout_BackgroundDashboardBorderRadius;
|
|
139
145
|
}
|
|
@@ -146,19 +152,44 @@
|
|
|
146
152
|
}
|
|
147
153
|
|
|
148
154
|
&:not(.sapUiBlockLayoutSizeS) {
|
|
149
|
-
.sapUiBlockLayoutCell:first-of-type
|
|
150
|
-
margin-left:
|
|
155
|
+
.sapUiBlockLayoutCell:first-of-type {
|
|
156
|
+
margin-left: 0;
|
|
157
|
+
padding-left: 0;
|
|
158
|
+
|
|
159
|
+
.sapUiBlockCellContent {
|
|
160
|
+
margin-left: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust first cell in a row with 0.5rem on the left
|
|
161
|
+
}
|
|
151
162
|
}
|
|
152
|
-
|
|
153
|
-
|
|
163
|
+
|
|
164
|
+
.sapUiBlockLayoutCell:last-of-type {
|
|
165
|
+
margin-right: 0;
|
|
166
|
+
padding-right: 0;
|
|
167
|
+
|
|
168
|
+
.sapUiBlockCellContent {
|
|
169
|
+
margin-right: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust last cell in a row with 0.5rem on the right
|
|
170
|
+
}
|
|
154
171
|
}
|
|
155
172
|
|
|
156
|
-
.sapUiBlockLayoutRow:first-of-type
|
|
157
|
-
|
|
173
|
+
.sapUiBlockLayoutRow:first-of-type {
|
|
174
|
+
.sapUiBlockLayoutCell {
|
|
175
|
+
margin-top: 0;
|
|
176
|
+
padding-top: 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.sapUiBlockCellContent {
|
|
180
|
+
margin-top: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust spacing at the top for all cells in the first row
|
|
181
|
+
}
|
|
158
182
|
}
|
|
159
183
|
|
|
160
|
-
.sapUiBlockLayoutRow:last-of-type
|
|
161
|
-
|
|
184
|
+
.sapUiBlockLayoutRow:last-of-type {
|
|
185
|
+
.sapUiBlockLayoutCell {
|
|
186
|
+
margin-bottom: 0;
|
|
187
|
+
padding-bottom: 0;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.sapUiBlockCellContent {
|
|
191
|
+
margin-bottom: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust spacing at the bottom for all cells in the last row
|
|
192
|
+
}
|
|
162
193
|
}
|
|
163
194
|
}
|
|
164
195
|
|
|
@@ -170,12 +201,26 @@
|
|
|
170
201
|
margin-right: 0.5rem;
|
|
171
202
|
}
|
|
172
203
|
|
|
173
|
-
.sapUiBlockLayoutRow:first-of-type
|
|
174
|
-
|
|
204
|
+
.sapUiBlockLayoutRow:first-of-type {
|
|
205
|
+
.sapUiBlockLayoutCell {
|
|
206
|
+
margin-top: 0;
|
|
207
|
+
padding-top: 0;
|
|
208
|
+
|
|
209
|
+
&:first-of-type .sapUiBlockCellContent {
|
|
210
|
+
margin-top: 0.5rem; // Add 0.5rem spacing for the first cell in the first row
|
|
211
|
+
}
|
|
212
|
+
}
|
|
175
213
|
}
|
|
176
214
|
|
|
177
|
-
.sapUiBlockLayoutRow:last-of-type
|
|
178
|
-
|
|
215
|
+
.sapUiBlockLayoutRow:last-of-type {
|
|
216
|
+
.sapUiBlockLayoutCell {
|
|
217
|
+
margin-bottom: 0;
|
|
218
|
+
padding-bottom: 0;
|
|
219
|
+
|
|
220
|
+
&:last-of-type .sapUiBlockCellContent {
|
|
221
|
+
margin-bottom: 0.5rem; // Add 0.5rem spacing for the last cell in the last row
|
|
222
|
+
}
|
|
223
|
+
}
|
|
179
224
|
}
|
|
180
225
|
}
|
|
181
226
|
}
|
|
@@ -4,15 +4,12 @@
|
|
|
4
4
|
/* ============================================= */
|
|
5
5
|
|
|
6
6
|
.sapUiBlockScrollingRow {
|
|
7
|
-
display: -webkit-box;
|
|
8
|
-
display: -webkit-flex;
|
|
9
7
|
display: flex;
|
|
10
|
-
-webkit-flex-wrap: nowrap;
|
|
11
8
|
flex-wrap: nowrap;
|
|
12
|
-
overflow: auto;
|
|
9
|
+
overflow-x: auto;
|
|
10
|
+
overflow-y: hidden;
|
|
13
11
|
|
|
14
12
|
.sapUiBlockScrollableCell {
|
|
15
|
-
-webkit-flex-shrink: 0;
|
|
16
13
|
flex-shrink: 0;
|
|
17
14
|
width: 40%;
|
|
18
15
|
}
|