@openui5/sap.ui.layout 1.96.2 → 1.98.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/.reuse/dep5 +26 -31
- package/THIRDPARTY.txt +15 -21
- package/package.json +2 -2
- package/src/sap/ui/layout/.library +2 -2
- package/src/sap/ui/layout/AlignedFlowLayout.js +2 -2
- package/src/sap/ui/layout/AlignedFlowLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/AssociativeSplitter.js +2 -2
- package/src/sap/ui/layout/BlockLayout.js +2 -2
- package/src/sap/ui/layout/BlockLayoutCell.js +2 -2
- package/src/sap/ui/layout/BlockLayoutCellData.js +2 -2
- package/src/sap/ui/layout/BlockLayoutCellRenderer.js +1 -1
- package/src/sap/ui/layout/BlockLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/BlockLayoutRow.js +2 -2
- package/src/sap/ui/layout/BlockLayoutRowRenderer.js +1 -1
- package/src/sap/ui/layout/DynamicSideContent.js +2 -2
- package/src/sap/ui/layout/DynamicSideContentRenderer.js +1 -1
- package/src/sap/ui/layout/FixFlex.js +2 -2
- package/src/sap/ui/layout/FixFlexRenderer.js +1 -1
- package/src/sap/ui/layout/Grid.js +2 -2
- package/src/sap/ui/layout/GridData.js +2 -2
- package/src/sap/ui/layout/GridRenderer.js +2 -2
- package/src/sap/ui/layout/HorizontalLayout.js +2 -2
- package/src/sap/ui/layout/HorizontalLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/PaneContainer.js +2 -2
- package/src/sap/ui/layout/ResponsiveFlowLayout.js +3 -3
- package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +2 -2
- package/src/sap/ui/layout/ResponsiveFlowLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/ResponsiveSplitter.js +2 -2
- package/src/sap/ui/layout/ResponsiveSplitterPage.js +2 -2
- package/src/sap/ui/layout/ResponsiveSplitterRenderer.js +1 -1
- package/src/sap/ui/layout/ResponsiveSplitterUtilities.js +1 -1
- package/src/sap/ui/layout/SplitPane.js +2 -2
- package/src/sap/ui/layout/Splitter.js +11 -5
- package/src/sap/ui/layout/SplitterLayoutData.js +2 -2
- package/src/sap/ui/layout/SplitterRenderer.js +1 -1
- package/src/sap/ui/layout/VerticalLayout.js +2 -2
- package/src/sap/ui/layout/VerticalLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddFormContainer.js +2 -2
- package/src/sap/ui/layout/changeHandler/AddFormField.js +2 -2
- package/src/sap/ui/layout/changeHandler/AddSimpleFormField.js +2 -2
- package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +2 -2
- package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +2 -2
- package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +2 -2
- package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +2 -2
- package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +12 -14
- package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +2 -2
- package/src/sap/ui/layout/cssgrid/CSSGrid.js +5 -5
- package/src/sap/ui/layout/cssgrid/CSSGridRenderer.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +2 -2
- package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +7 -4
- package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +2 -2
- package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +2 -2
- package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +2 -2
- package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +2 -2
- package/src/sap/ui/layout/cssgrid/GridSettings.js +2 -2
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +2 -2
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +2 -2
- package/src/sap/ui/layout/designtime/BlockLayout.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/BlockLayoutCell.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/BlockLayoutRow.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/DynamicSideContent.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/FixFlex.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/Grid.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/HorizontalLayout.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/Splitter.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/VerticalLayout.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/form/Form.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/form/FormContainer.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/form/FormElement.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/form/SimpleForm.designtime.js +5 -1
- package/src/sap/ui/layout/designtime/library.designtime.js +1 -1
- package/src/sap/ui/layout/flexibility/BlockLayoutCell.flexibility.js +1 -1
- package/src/sap/ui/layout/flexibility/Form.flexibility.js +1 -1
- package/src/sap/ui/layout/flexibility/FormContainer.flexibility.js +1 -1
- package/src/sap/ui/layout/flexibility/FormElement.flexibility.js +1 -1
- package/src/sap/ui/layout/flexibility/SimpleForm.flexibility.js +1 -1
- package/src/sap/ui/layout/form/ColumnContainerData.js +2 -2
- package/src/sap/ui/layout/form/ColumnElementData.js +2 -2
- package/src/sap/ui/layout/form/ColumnLayout.js +2 -2
- package/src/sap/ui/layout/form/ColumnLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/form/Form.js +2 -2
- package/src/sap/ui/layout/form/FormContainer.js +2 -2
- 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/FormLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/form/FormRenderer.js +1 -1
- package/src/sap/ui/layout/form/GridContainerData.js +2 -2
- package/src/sap/ui/layout/form/GridElementData.js +2 -2
- package/src/sap/ui/layout/form/GridLayout.js +2 -2
- package/src/sap/ui/layout/form/GridLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/form/ResponsiveGridLayout.js +2 -2
- package/src/sap/ui/layout/form/ResponsiveGridLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/form/ResponsiveLayout.js +2 -2
- package/src/sap/ui/layout/form/ResponsiveLayoutRenderer.js +1 -1
- package/src/sap/ui/layout/form/SemanticFormElement.js +2 -2
- package/src/sap/ui/layout/form/SimpleForm.js +2 -2
- package/src/sap/ui/layout/form/SimpleFormRenderer.js +1 -1
- package/src/sap/ui/layout/library.js +3 -3
- package/src/sap/ui/layout/library.support.js +1 -1
- package/src/sap/ui/layout/messagebundle_it.properties +1 -1
- package/src/sap/ui/layout/messagebundle_th.properties +1 -1
- package/src/sap/ui/layout/rules/Form.support.js +1 -1
- package/src/sap/ui/layout/themes/base/library.source.less +1 -1
- package/src/sap/ui/layout/themes/sap_hcb/library.source.less +1 -1
- package/ui5.yaml +19 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -70,7 +70,7 @@ sap.ui.define([
|
|
|
70
70
|
* @extends sap.ui.core.Control
|
|
71
71
|
*
|
|
72
72
|
* @author SAP SE
|
|
73
|
-
* @version 1.
|
|
73
|
+
* @version 1.98.0
|
|
74
74
|
*
|
|
75
75
|
* @constructor
|
|
76
76
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.core.Control
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.98.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
29
|
+
* @version 1.98.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
70
70
|
*
|
|
71
71
|
* @constructor
|
|
72
72
|
* @public
|
|
@@ -143,7 +143,9 @@ sap.ui.define([
|
|
|
143
143
|
this._resizeTimeout = null;
|
|
144
144
|
|
|
145
145
|
// Context bound method for easy (de-)registering at the ResizeHandler
|
|
146
|
-
this._resizeCallback =
|
|
146
|
+
this._resizeCallback = function (oEvent) {
|
|
147
|
+
this._delayedResize(0);
|
|
148
|
+
}.bind(this);
|
|
147
149
|
this._resizeHandlerId = null;
|
|
148
150
|
// We need the information whether auto resize is enabled to temporarily disable it
|
|
149
151
|
// during live resize and then set it back to the value before
|
|
@@ -686,8 +688,12 @@ sap.ui.define([
|
|
|
686
688
|
*/
|
|
687
689
|
Splitter.prototype._resize = function() {
|
|
688
690
|
var oDomRef = this.getDomRef();
|
|
689
|
-
|
|
690
|
-
|
|
691
|
+
|
|
692
|
+
// Do not attempt to resize the content areas in case the splitter
|
|
693
|
+
if (
|
|
694
|
+
!oDomRef || RenderManager.getPreserveAreaRef().contains(oDomRef) // is in the preserved area
|
|
695
|
+
|| oDomRef.scrollHeight === 0 || oDomRef.scrollWidth === 0 // has 0 width or height (display: none, etc.)
|
|
696
|
+
) {
|
|
691
697
|
return;
|
|
692
698
|
}
|
|
693
699
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -25,7 +25,7 @@ sap.ui.define([
|
|
|
25
25
|
* @extends sap.ui.core.Control
|
|
26
26
|
*
|
|
27
27
|
* @author SAP SE
|
|
28
|
-
* @version 1.
|
|
28
|
+
* @version 1.98.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
24
|
+
* @version 1.98.0
|
|
25
25
|
* @experimental Since 1.48.0
|
|
26
26
|
*/
|
|
27
27
|
var AddGroup = { };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
sap.ui.define([
|
|
@@ -19,7 +19,7 @@ sap.ui.define([
|
|
|
19
19
|
*
|
|
20
20
|
* @author SAP SE
|
|
21
21
|
*
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.98.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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -91,7 +91,7 @@ sap.ui.define([
|
|
|
91
91
|
*
|
|
92
92
|
* @author SAP SE
|
|
93
93
|
*
|
|
94
|
-
* @version 1.
|
|
94
|
+
* @version 1.98.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.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
23
23
|
* @experimental Since 1.27.0
|
|
24
24
|
*/
|
|
25
25
|
var AddSimpleFormGroup = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
20
|
+
* @version 1.98.0
|
|
21
21
|
* @experimental Since 1.27.0
|
|
22
22
|
*/
|
|
23
23
|
var HideForm = { };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
24
24
|
* @experimental Since 1.34.0
|
|
25
25
|
*/
|
|
26
26
|
var MoveSimpleForm = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.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.
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
/*global sap */
|
|
8
|
-
|
|
9
7
|
sap.ui.define([
|
|
10
8
|
"sap/ui/fl/changeHandler/Base",
|
|
11
9
|
"sap/ui/core/util/reflection/JsControlTreeModifier",
|
|
@@ -22,7 +20,7 @@ sap.ui.define([
|
|
|
22
20
|
*
|
|
23
21
|
* @alias sap.ui.layout.changeHandler.RenameForm
|
|
24
22
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
23
|
+
* @version 1.98.0
|
|
26
24
|
* @since 1.40
|
|
27
25
|
* @private
|
|
28
26
|
* @experimental Since 1.40. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -55,15 +53,11 @@ sap.ui.define([
|
|
|
55
53
|
return Promise.reject(new Error("no Control provided for renaming"));
|
|
56
54
|
}
|
|
57
55
|
|
|
58
|
-
return
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
oChangeWrapper.setRevertData(sProperty);
|
|
64
|
-
var sValue = oChangeDefinition.texts.formText.value;
|
|
65
|
-
oModifier.setProperty(oRenamedElement, "text", sValue);
|
|
66
|
-
});
|
|
56
|
+
return oModifier.getProperty(oRenamedElement, "text").then(function(sProperty) {
|
|
57
|
+
oChangeWrapper.setRevertData(sProperty);
|
|
58
|
+
var sValue = oChangeDefinition.texts.formText.value;
|
|
59
|
+
oModifier.setProperty(oRenamedElement, "text", sValue);
|
|
60
|
+
});
|
|
67
61
|
} else {
|
|
68
62
|
Log.error("Change does not contain sufficient information to be applied: [" + oChangeDefinition.layer + "]" + oChangeDefinition.namespace + "/" + oChangeDefinition.fileName + "." + oChangeDefinition.fileType);
|
|
69
63
|
//however subsequent changes should be applied
|
|
@@ -145,7 +139,11 @@ sap.ui.define([
|
|
|
145
139
|
var oElementSelector = oChange.getDefinition().content.elementSelector;
|
|
146
140
|
var oAffectedControlSelector = JsControlTreeModifier.bySelector(oElementSelector, oAppComponent).getParent().getId();
|
|
147
141
|
return {
|
|
148
|
-
affectedControls: [oAffectedControlSelector]
|
|
142
|
+
affectedControls: [oAffectedControlSelector],
|
|
143
|
+
payload: {
|
|
144
|
+
originalLabel: oChange.getRevertData(),
|
|
145
|
+
newLabel: oChange.getDefinition().texts.formText.value
|
|
146
|
+
}
|
|
149
147
|
};
|
|
150
148
|
};
|
|
151
149
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
16
|
+
* @version 1.98.0
|
|
17
17
|
* @experimental Since 1.27.0
|
|
18
18
|
*/
|
|
19
19
|
var UnhideForm = { };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
99
99
|
*
|
|
100
100
|
* @extends sap.ui.core.Control
|
|
101
101
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
24
|
+
* @version 1.98.0
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
27
27
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
32
|
+
* @version 1.98.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
40
40
|
*
|
|
41
41
|
* @extends sap.ui.base.ManagedObject
|
|
42
42
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
*
|
|
21
21
|
* @extends sap.ui.base.Object
|
|
22
22
|
*
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.98.0
|
|
24
24
|
* @alias sap.ui.layout.cssgrid.GridLayoutDelegate
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.98.0
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
27
27
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
23
|
+
* @version 1.98.0
|
|
24
24
|
*
|
|
25
25
|
* @extends sap.ui.base.ManagedObject
|
|
26
26
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
23
|
+
* @version 1.98.0
|
|
24
24
|
*
|
|
25
25
|
* @since 1.72
|
|
26
26
|
* @constructor
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.
|
|
36
|
+
* @version 1.98.0
|
|
37
37
|
*
|
|
38
38
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
39
39
|
*
|