@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.
Files changed (66) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +2 -2
  3. package/src/sap/ui/layout/.library +1 -1
  4. package/src/sap/ui/layout/AlignedFlowLayout.js +1 -1
  5. package/src/sap/ui/layout/AssociativeSplitter.js +1 -1
  6. package/src/sap/ui/layout/BlockLayout.js +4 -3
  7. package/src/sap/ui/layout/BlockLayoutCell.js +1 -3
  8. package/src/sap/ui/layout/BlockLayoutCellData.js +1 -1
  9. package/src/sap/ui/layout/BlockLayoutRow.js +1 -1
  10. package/src/sap/ui/layout/DynamicSideContent.js +1 -1
  11. package/src/sap/ui/layout/FixFlex.js +1 -1
  12. package/src/sap/ui/layout/Grid.js +3 -3
  13. package/src/sap/ui/layout/GridData.js +1 -1
  14. package/src/sap/ui/layout/GridRenderer.js +1 -1
  15. package/src/sap/ui/layout/HorizontalLayout.js +1 -1
  16. package/src/sap/ui/layout/PaneContainer.js +2 -2
  17. package/src/sap/ui/layout/ResponsiveFlowLayout.js +18 -20
  18. package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +1 -1
  19. package/src/sap/ui/layout/ResponsiveSplitter.js +1 -1
  20. package/src/sap/ui/layout/ResponsiveSplitterPage.js +1 -1
  21. package/src/sap/ui/layout/ResponsiveSplitterUtilities.js +1 -1
  22. package/src/sap/ui/layout/SplitPane.js +1 -1
  23. package/src/sap/ui/layout/Splitter.js +1 -1
  24. package/src/sap/ui/layout/SplitterLayoutData.js +1 -1
  25. package/src/sap/ui/layout/VerticalLayout.js +1 -1
  26. package/src/sap/ui/layout/changeHandler/AddFormContainer.js +1 -1
  27. package/src/sap/ui/layout/changeHandler/AddFormField.js +1 -1
  28. package/src/sap/ui/layout/changeHandler/AddSimpleFormField.js +1 -1
  29. package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +1 -1
  30. package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +1 -1
  31. package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +19 -2
  32. package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +1 -1
  33. package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +1 -1
  34. package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +1 -1
  35. package/src/sap/ui/layout/cssgrid/CSSGrid.js +2 -1
  36. package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +1 -1
  37. package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +1 -1
  38. package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +1 -1
  39. package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +4 -3
  40. package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +1 -1
  41. package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +1 -1
  42. package/src/sap/ui/layout/cssgrid/GridSettings.js +1 -1
  43. package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +1 -1
  44. package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +1 -1
  45. package/src/sap/ui/layout/designtime/form/FormContainer.designtime.js +1 -1
  46. package/src/sap/ui/layout/form/ColumnContainerData.js +1 -1
  47. package/src/sap/ui/layout/form/ColumnElementData.js +1 -1
  48. package/src/sap/ui/layout/form/ColumnLayout.js +1 -1
  49. package/src/sap/ui/layout/form/Form.js +3 -3
  50. package/src/sap/ui/layout/form/FormContainer.js +3 -3
  51. package/src/sap/ui/layout/form/FormElement.js +2 -2
  52. package/src/sap/ui/layout/form/FormLayout.js +2 -2
  53. package/src/sap/ui/layout/form/GridContainerData.js +1 -1
  54. package/src/sap/ui/layout/form/GridElementData.js +1 -1
  55. package/src/sap/ui/layout/form/GridLayout.js +2 -2
  56. package/src/sap/ui/layout/form/ResponsiveGridLayout.js +3 -3
  57. package/src/sap/ui/layout/form/ResponsiveLayout.js +3 -3
  58. package/src/sap/ui/layout/form/SemanticFormElement.js +1 -1
  59. package/src/sap/ui/layout/form/SimpleForm.js +1 -1
  60. package/src/sap/ui/layout/library.js +4 -4
  61. package/src/sap/ui/layout/rules/Form.support.js +32 -32
  62. package/src/sap/ui/layout/themes/base/BlockLayout.less +62 -17
  63. package/src/sap/ui/layout/themes/base/BlockLayoutCell.less +0 -2
  64. package/src/sap/ui/layout/themes/base/BlockLayoutRow.less +2 -5
  65. package/src/sap/ui/layout/themes/base/ResponsiveSplitter.less +7 -3
  66. 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.38
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.101.0",
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.101.0"
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.101.0</version>
9
+ <version>1.103.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with layout controls.</documentation>
12
12
 
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.101.0
43
+ * @version 1.103.0
44
44
  *
45
45
  * @constructor
46
46
  * @private
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.layout.Splitter
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.101.0
28
+ * @version 1.103.0
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -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}. There are 11 pre-defined color sets, each with 4 different shades for the Belize theme and 6 different shades for the Fiori 3 theme.
42
- * The main colors of the sets can be changed in Theme Designer. To change the background of a particular cell, set <code>backgroundColorSet</code> (main color)
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.101.0
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.101.0
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
  */
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library'],
18
18
  * @class
19
19
  * Holds layout data for the BlockLayoutCells contents.
20
20
  * @extends sap.ui.core.LayoutData
21
- * @version 1.101.0
21
+ * @version 1.103.0
22
22
  * @constructor
23
23
  * @public
24
24
  * @since 1.50.0
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.101.0
35
+ * @version 1.103.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -94,7 +94,7 @@ sap.ui.define([
94
94
  * @extends sap.ui.core.Control
95
95
  *
96
96
  * @author SAP SE
97
- * @version 1.101.0
97
+ * @version 1.103.0
98
98
  *
99
99
  * @constructor
100
100
  * @public
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @extends sap.ui.core.Control
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.101.0
55
+ * @version 1.103.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.ui.core.Control
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.101.0
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 instanceof sap.ui.layout.GridData) {
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 instanceof sap.ui.layout.GridData) {
361
+ if (oLayoutData2 && oLayoutData2.isA("sap.ui.layout.GridData")) {
362
362
  return oLayoutData2;
363
363
  }
364
364
  }
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library', "sap/base/Log"],
28
28
  * @extends sap.ui.core.LayoutData
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.101.0
31
+ * @version 1.103.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/Device", "sap/ui/layout/library"],
15
15
  /**
16
16
  * @author SAP SE
17
17
  * @version
18
- * 1.101.0
18
+ * 1.103.0
19
19
  * @namespace
20
20
  */
21
21
  var GridRenderer = {
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Control', './library', "./HorizontalLayoutRenderer"]
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.101.0
25
+ * @version 1.103.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -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.101.0
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 instanceof sap.ui.layout.SplitPane && oPane._isInInterval(iFrom);
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.101.0
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) {
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library', "sap/base/Log"],
22
22
  * @extends sap.ui.core.LayoutData
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.101.0
25
+ * @version 1.103.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @extends sap.ui.core.Control
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.101.0
73
+ * @version 1.103.0
74
74
  *
75
75
  * @constructor
76
76
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.101.0
27
+ * @version 1.103.0
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -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 instanceof sap.ui.layout.SplitPane) {
23
+ if (oPane && oPane.isA("sap.ui.layout.SplitPane")) {
24
24
  fnCallback(oPane);
25
25
  } else {
26
26
  RSUtil.visitPanes(oPane, fnCallback);
@@ -26,7 +26,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element'],
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.101.0
29
+ * @version 1.103.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @extends sap.ui.core.Control
69
69
  *
70
70
  * @author SAP SE
71
- * @version 1.101.0
71
+ * @version 1.103.0
72
72
  *
73
73
  * @constructor
74
74
  * @public
@@ -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.101.0
27
+ * @version 1.103.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.101.0
28
+ * @version 1.103.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * Change handler for adding a form group.
22
22
  * @alias sap.ui.layout.changeHandler.AddFormContainer
23
23
  * @author SAP SE
24
- * @version 1.101.0
24
+ * @version 1.103.0
25
25
  * @experimental Since 1.48.0
26
26
  */
27
27
  var AddGroup = { };
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  *
20
20
  * @author SAP SE
21
21
  *
22
- * @version 1.101.0
22
+ * @version 1.103.0
23
23
  *
24
24
  * @experimental Since 1.50.0 This class is experimental and provides only limited functionality. Also the API might be
25
25
  * changed in future.
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  *
92
92
  * @author SAP SE
93
93
  *
94
- * @version 1.101.0
94
+ * @version 1.103.0
95
95
  *
96
96
  * @experimental Since 1.49.0 This class is experimental and provides only limited functionality. Also the API might be
97
97
  * changed in future.
@@ -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.101.0
22
+ * @version 1.103.0
23
23
  * @experimental Since 1.27.0
24
24
  */
25
25
  var AddSimpleFormGroup = {};
@@ -17,7 +17,7 @@ sap.ui.define([
17
17
  * Change handler for hiding of a control.
18
18
  * @alias sap.ui.fl.changeHandler.HideControl
19
19
  * @author SAP SE
20
- * @version 1.101.0
20
+ * @version 1.103.0
21
21
  * @experimental Since 1.27.0
22
22
  */
23
23
  var HideForm = { };
@@ -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.101.0
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.101.0
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.101.0
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.
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  * Change handler for hiding of a control.
14
14
  * @alias sap.ui.fl.changeHandler.HideControl
15
15
  * @author SAP SE
16
- * @version 1.101.0
16
+ * @version 1.103.0
17
17
  * @experimental Since 1.27.0
18
18
  */
19
19
  var UnhideForm = { };
@@ -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.101.0
99
+ * @version 1.103.0
99
100
  *
100
101
  * @extends sap.ui.core.Control
101
102
  * @implements sap.ui.layout.cssgrid.IGridConfigurable
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * Applies a sap.ui.layout.cssgrid.GridSettings to a provided DOM element or Control.
22
22
  *
23
23
  * @author SAP SE
24
- * @version 1.101.0
24
+ * @version 1.103.0
25
25
  *
26
26
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
27
27
  *
@@ -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.101.0
51
+ * @version 1.103.0
52
52
  *
53
53
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
54
54
  *
@@ -29,7 +29,7 @@ sap.ui.define([
29
29
  * Holds layout data for a grid item.
30
30
  *
31
31
  * @extends sap.ui.core.LayoutData
32
- * @version 1.101.0
32
+ * @version 1.103.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -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.101.0
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 sap.ui.layout.cssgrid.GridSettings - The active GridSettings
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 () {
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @extends sap.ui.base.Object
22
22
  *
23
- * @version 1.101.0
23
+ * @version 1.103.0
24
24
  * @alias sap.ui.layout.cssgrid.GridLayoutDelegate
25
25
  * @public
26
26
  */
@@ -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.101.0
24
+ * @version 1.103.0
25
25
  *
26
26
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
27
27
  *
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * Holds a set of CSS display:grid properties
21
21
  *
22
22
  * @author SAP SE
23
- * @version 1.101.0
23
+ * @version 1.103.0
24
24
  *
25
25
  * @extends sap.ui.base.ManagedObject
26
26
  *
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  * Holds layout data for an item inside a responsive column layout.
21
21
  *
22
22
  * @extends sap.ui.core.LayoutData
23
- * @version 1.101.0
23
+ * @version 1.103.0
24
24
  *
25
25
  * @since 1.72
26
26
  * @constructor
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  * Grid row's height is dynamically determined by the height of the highest grid element on this row.
34
34
  *
35
35
  * @author SAP SE
36
- * @version 1.101.0
36
+ * @version 1.103.0
37
37
  *
38
38
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
39
39
  *
@@ -33,7 +33,7 @@ sap.ui.define([
33
33
  var oForm = fnFindForm(oFormContainer);
34
34
  if (oForm &&
35
35
  oForm.getLayout() &&
36
- oForm.getLayout().getMetadata().getName() === "sap.ui.layout.form.GridLayout") {
36
+ oForm.getLayout().isA("sap.ui.layout.form.GridLayout")) {
37
37
  return false;
38
38
  }
39
39
  return true;
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.101.0
29
+ * @version 1.103.0
30
30
  *
31
31
  * @constructor
32
32
  * @public