@openui5/sap.ui.layout 1.101.0 → 1.103.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/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 +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 +18 -20
- 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 +19 -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 +2 -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/FormContainer.designtime.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 +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/rules/Form.support.js +32 -32
- 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/src/sap/ui/layout/themes/base/ResponsiveSplitter.less +7 -3
- package/src/sap/ui/layout/themes/base/Splitter.less +3 -2
package/THIRDPARTY.txt
CHANGED
|
@@ -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.39
|
|
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.103.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.103.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.103.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.103.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.103.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.103.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.103.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.103.0
|
|
41
41
|
*
|
|
42
42
|
* @constructor
|
|
43
43
|
* @public
|
|
@@ -548,13 +548,6 @@ sap.ui.define([
|
|
|
548
548
|
this._rows[i].oRect = oTmpRect;
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
|
|
552
|
-
if (this._rows.length === 0) {
|
|
553
|
-
if (this._resizeHandlerComputeWidthsID) {
|
|
554
|
-
ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
|
|
555
|
-
delete this._resizeHandlerComputeWidthsID;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
551
|
}
|
|
559
552
|
}
|
|
560
553
|
};
|
|
@@ -567,11 +560,6 @@ sap.ui.define([
|
|
|
567
560
|
ResponsiveFlowLayout.prototype.onBeforeRendering = function() {
|
|
568
561
|
// update the internal structure of the rows
|
|
569
562
|
updateRows(this);
|
|
570
|
-
|
|
571
|
-
if (this._resizeHandlerComputeWidthsID) {
|
|
572
|
-
ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
|
|
573
|
-
delete this._resizeHandlerComputeWidthsID;
|
|
574
|
-
}
|
|
575
563
|
};
|
|
576
564
|
|
|
577
565
|
/**
|
|
@@ -591,11 +579,6 @@ sap.ui.define([
|
|
|
591
579
|
// are handled in the on after rendering hook the same way as the initial width calculations.
|
|
592
580
|
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this, ResponsiveFlowLayout.prototype.rerender.bind(this));
|
|
593
581
|
}
|
|
594
|
-
} else {
|
|
595
|
-
if (this._resizeHandlerComputeWidthsID) {
|
|
596
|
-
ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
|
|
597
|
-
delete this._resizeHandlerComputeWidthsID;
|
|
598
|
-
}
|
|
599
582
|
}
|
|
600
583
|
};
|
|
601
584
|
|
|
@@ -603,7 +586,7 @@ sap.ui.define([
|
|
|
603
586
|
if (oEvent.type === "LayoutDataChange") {
|
|
604
587
|
this._bLayoutDataChanged = true;
|
|
605
588
|
}
|
|
606
|
-
if (!this._resizeHandlerComputeWidthsID) {
|
|
589
|
+
if (this.getResponsive() && !this._resizeHandlerComputeWidthsID) {
|
|
607
590
|
// Trigger rerendering when the control is resized so width recalculations
|
|
608
591
|
// are handled in the on after rendering hook the same way as the initial width calculations.
|
|
609
592
|
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this, ResponsiveFlowLayout.prototype.rerender.bind(this));
|
|
@@ -613,6 +596,21 @@ sap.ui.define([
|
|
|
613
596
|
this._proxyComputeWidths();
|
|
614
597
|
};
|
|
615
598
|
|
|
599
|
+
ResponsiveFlowLayout.prototype.setResponsive = function(bResponsive) {
|
|
600
|
+
Control.prototype.setProperty.call(this, "responsive", bResponsive);
|
|
601
|
+
if (bResponsive && !this._resizeHandlerComputeWidthsID) {
|
|
602
|
+
// Trigger rerendering when the control is resized so width recalculations
|
|
603
|
+
// are handled in the on after rendering hook the same way as the initial width calculations.
|
|
604
|
+
this._resizeHandlerComputeWidthsID = ResizeHandler.register(this, ResponsiveFlowLayout.prototype.rerender.bind(this));
|
|
605
|
+
} else if (this._resizeHandlerComputeWidthsID) {
|
|
606
|
+
if (this._resizeHandlerComputeWidthsID) {
|
|
607
|
+
ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
|
|
608
|
+
delete this._resizeHandlerComputeWidthsID;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
return this;
|
|
612
|
+
};
|
|
613
|
+
|
|
616
614
|
/**
|
|
617
615
|
* If any LayoutData was changed, the same logic should be applied as in onThemeChanged.
|
|
618
616
|
*/
|
|
@@ -722,7 +720,7 @@ sap.ui.define([
|
|
|
722
720
|
* The difference with the function rect() in sap/ui/dom/jquery/rect.js is that the height and width are cut to the
|
|
723
721
|
* 1st digit after the decimal separator and this is consistent across all browsers.
|
|
724
722
|
* @param {object} oElement The jQuery collection to check
|
|
725
|
-
* @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
|
|
726
724
|
* @private
|
|
727
725
|
*/
|
|
728
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.103.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.103.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.103.0
|
|
24
24
|
* @experimental Since 1.34.0
|
|
25
25
|
*/
|
|
26
26
|
var MoveSimpleForm = {};
|
|
@@ -463,16 +463,33 @@ 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 mPropertyBag = {
|
|
473
|
+
modifier: JsControlTreeModifier,
|
|
474
|
+
appComponent: oAppComponent
|
|
475
|
+
};
|
|
476
|
+
oSourceParentContainer = oChange.getDependentControl("sourceParent", mPropertyBag).getParent().getId();
|
|
477
|
+
oTargetParentContainer = oChange.getDependentControl("targetParent", mPropertyBag).getParent().getId();
|
|
478
|
+
oGroupSelector = {
|
|
479
|
+
id: oSourceParentContainer
|
|
480
|
+
};
|
|
481
|
+
}
|
|
469
482
|
return {
|
|
470
483
|
affectedControls: [oAffectedControlSelector],
|
|
471
484
|
dependentControls: [
|
|
472
485
|
oGroupSelector && oGroupSelector.id
|
|
473
486
|
? oGroupSelector
|
|
474
487
|
: oChange.getContent().targetSelector
|
|
475
|
-
]
|
|
488
|
+
],
|
|
489
|
+
payload: {
|
|
490
|
+
sourceParentContainer: oSourceParentContainer,
|
|
491
|
+
targetParentContainer: oTargetParentContainer
|
|
492
|
+
}
|
|
476
493
|
};
|
|
477
494
|
};
|
|
478
495
|
|
|
@@ -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.103.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.103.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.
|
|
@@ -92,10 +92,11 @@ sap.ui.define([
|
|
|
92
92
|
* </ul>
|
|
93
93
|
*
|
|
94
94
|
* @see {@link topic:32d4b9c2b981425dbc374d3e9d5d0c2e Grid Controls}
|
|
95
|
+
* @see {@link fiori:https://experience.sap.com/fiori-design-web/flexible-grid/ Flexible Grid}
|
|
95
96
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
|
|
96
97
|
*
|
|
97
98
|
* @author SAP SE
|
|
98
|
-
* @version 1.
|
|
99
|
+
* @version 1.103.0
|
|
99
100
|
*
|
|
100
101
|
* @extends sap.ui.core.Control
|
|
101
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.103.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.103.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;
|