@openui5/sap.ui.layout 1.109.0 → 1.111.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 +16 -16
- package/THIRDPARTY.txt +2 -2
- 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 +15 -15
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- package/src/sap/ui/layout/SplitterLayoutData.js +2 -2
- package/src/sap/ui/layout/SplitterRenderer.js +7 -5
- package/src/sap/ui/layout/VerticalLayout.js +3 -3
- 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/RenameFormElement.js +91 -0
- package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +2 -2
- package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +2 -2
- package/src/sap/ui/layout/cssgrid/CSSGrid.js +2 -2
- 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 +2 -2
- 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 +1 -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 +4 -8
- 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 +3 -4
- package/src/sap/ui/layout/form/FormLayout.js +6 -7
- 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 +5 -3
- package/src/sap/ui/layout/library.support.js +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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.111.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-2023 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.111.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-2023 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.111.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-2023 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.111.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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([
|
|
7
7
|
"sap/ui/core/library",
|
|
8
|
-
"sap/ui/core/Core"
|
|
9
|
-
|
|
8
|
+
"sap/ui/core/Core",
|
|
9
|
+
"sap/ui/core/Configuration"
|
|
10
|
+
], function(coreLibrary, Core, Configuration) {
|
|
10
11
|
"use strict";
|
|
11
12
|
|
|
12
13
|
// shortcut for sap.ui.core.Orientation
|
|
@@ -33,7 +34,8 @@ sap.ui.define([
|
|
|
33
34
|
SplitterRenderer.render = function(oRm, oSplitter) {
|
|
34
35
|
var bHorizontal = oSplitter.getOrientation() === Orientation.Horizontal,
|
|
35
36
|
sOrientationClass = bHorizontal ? "sapUiLoSplitterH" : "sapUiLoSplitterV",
|
|
36
|
-
|
|
37
|
+
sAnimationMode = Configuration.getAnimationMode(),
|
|
38
|
+
bHasAnimations = sAnimationMode !== Configuration.AnimationMode.none && sAnimationMode !== Configuration.AnimationMode.minimal;
|
|
37
39
|
|
|
38
40
|
// Make sure we have the main element available before rendering the children so we can use
|
|
39
41
|
// the element width to calculate before rendering the children.
|
|
@@ -42,7 +44,7 @@ sap.ui.define([
|
|
|
42
44
|
.class(sOrientationClass);
|
|
43
45
|
|
|
44
46
|
// Do not animate via CSS when liveResize is enabled
|
|
45
|
-
if (
|
|
47
|
+
if (bHasAnimations && !oSplitter._liveResize) {
|
|
46
48
|
oRm.class("sapUiLoSplitterAnimated");
|
|
47
49
|
}
|
|
48
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.111.0
|
|
29
29
|
*
|
|
30
30
|
* @constructor
|
|
31
31
|
* @public
|
|
@@ -69,7 +69,7 @@ sap.ui.define([
|
|
|
69
69
|
/**
|
|
70
70
|
* @see sap.ui.core.Control#getAccessibilityInfo
|
|
71
71
|
* @protected
|
|
72
|
-
* @returns {
|
|
72
|
+
* @returns {sap.ui.core.AccessibilityInfo} An object with the accessibilty infos for this control
|
|
73
73
|
*/
|
|
74
74
|
VerticalLayout.prototype.getAccessibilityInfo = function() {
|
|
75
75
|
return {children: this.getContent()};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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 adding a form group.
|
|
18
18
|
* @alias sap.ui.layout.changeHandler.AddFormContainer
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.111.0
|
|
21
21
|
* @experimental Since 1.48.0
|
|
22
22
|
*/
|
|
23
23
|
var AddGroup = { };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.111.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-2023 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.111.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-2023 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 adding a simple form group.
|
|
18
18
|
* @alias sap.ui.layout.changeHandler.AddSimpleFormGroup
|
|
19
19
|
* @author SAP SE
|
|
20
|
-
* @version 1.
|
|
20
|
+
* @version 1.111.0
|
|
21
21
|
* @experimental Since 1.27.0
|
|
22
22
|
*/
|
|
23
23
|
var AddSimpleFormGroup = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.111.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-2023 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.111.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-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ sap.ui.define([
|
|
|
14
14
|
*
|
|
15
15
|
* @alias sap.ui.layout.changeHandler.RenameFormContainer
|
|
16
16
|
* @author SAP SE
|
|
17
|
-
* @version 1.
|
|
17
|
+
* @version 1.111.0
|
|
18
18
|
* @since 1.48
|
|
19
19
|
* @private
|
|
20
20
|
* @experimental Since 1.48. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* OpenUI5
|
|
3
|
+
* (c) Copyright 2009-2023 SAP SE or an SAP affiliate company.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/ui/fl/changeHandler/condenser/Classification"
|
|
9
|
+
], function (CondenserClassification) {
|
|
10
|
+
"use strict";
|
|
11
|
+
|
|
12
|
+
var RenameFormElement = {};
|
|
13
|
+
|
|
14
|
+
var isProvided = function (sString) {
|
|
15
|
+
return typeof (sString) === "string";
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
RenameFormElement.applyChange = function (oChangeWrapper, oControl, mPropertyBag) {
|
|
19
|
+
var oModifier = mPropertyBag.modifier,
|
|
20
|
+
sValue = oChangeWrapper.getText("fieldLabel");
|
|
21
|
+
|
|
22
|
+
return Promise.resolve()
|
|
23
|
+
.then(function () {
|
|
24
|
+
return oModifier.getAggregation(oControl, "label");
|
|
25
|
+
})
|
|
26
|
+
.then(function (vLabel) {
|
|
27
|
+
// setLabel called with a string
|
|
28
|
+
if (typeof vLabel === "string") {
|
|
29
|
+
oChangeWrapper.setRevertData(vLabel);
|
|
30
|
+
return oModifier.setProperty(oControl, "label", sValue);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// setLabel called with a label control
|
|
34
|
+
return oModifier.getProperty(vLabel, "text").then(function (sLabel) {
|
|
35
|
+
oChangeWrapper.setRevertData(sLabel);
|
|
36
|
+
oModifier.setProperty(vLabel, "text", sValue);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
RenameFormElement.completeChangeContent = function (oChange, oSpecificChangeInfo, mPropertyBag) {
|
|
42
|
+
if (!(oSpecificChangeInfo.renamedElement && oSpecificChangeInfo.renamedElement.id)) {
|
|
43
|
+
throw new Error("Rename of label cannot be executed: oSpecificChangeInfo.renamedElement attribute required");
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
if (!isProvided(oSpecificChangeInfo.value)) {
|
|
47
|
+
throw new Error("Rename of label cannot be executed: oSpecificChangeInfo.value attribute required");
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
oChange.setText("fieldLabel", oSpecificChangeInfo.value, "XGRP");
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
RenameFormElement.revertChange = function (oChangeWrapper, oControl, mPropertyBag) {
|
|
54
|
+
var sOldText = oChangeWrapper.getRevertData(),
|
|
55
|
+
oModifier = mPropertyBag.modifier;
|
|
56
|
+
|
|
57
|
+
return Promise.resolve()
|
|
58
|
+
.then(function () {
|
|
59
|
+
return oModifier.getAggregation(oControl, "label");
|
|
60
|
+
})
|
|
61
|
+
.then(function (vLabel) {
|
|
62
|
+
if (typeof vLabel === "string") {
|
|
63
|
+
oModifier.setProperty(oControl, "label", sOldText);
|
|
64
|
+
} else {
|
|
65
|
+
oModifier.setProperty(vLabel, "text", sOldText);
|
|
66
|
+
}
|
|
67
|
+
oChangeWrapper.resetRevertData();
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
RenameFormElement.getChangeVisualizationInfo = function(oChange) {
|
|
72
|
+
var sLabel = oChange.getText("fieldLabel");
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
descriptionPayload: {
|
|
76
|
+
originalLabel: oChange.getRevertData(),
|
|
77
|
+
newLabel: sLabel
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
RenameFormElement.getCondenserInfo = function(oChange) {
|
|
83
|
+
return {
|
|
84
|
+
affectedControl: oChange.getSelector(),
|
|
85
|
+
classification: CondenserClassification.LastOneWins,
|
|
86
|
+
uniqueKey: "label"
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
return RenameFormElement;
|
|
91
|
+
}, /* bExport= */true);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.RenameForm
|
|
20
20
|
* @author SAP SE
|
|
21
|
-
* @version 1.
|
|
21
|
+
* @version 1.111.0
|
|
22
22
|
* @since 1.40
|
|
23
23
|
* @private
|
|
24
24
|
* @experimental Since 1.40. This class is experimental and provides only limited functionality. Also the API might be changed in future.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.111.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-2023 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -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.111.0
|
|
100
100
|
*
|
|
101
101
|
* @extends sap.ui.core.Control
|
|
102
102
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.111.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-2023 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.111.0
|
|
52
52
|
*
|
|
53
53
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
54
54
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* OpenUI5
|
|
3
|
-
* (c) Copyright 2009-
|
|
3
|
+
* (c) Copyright 2009-2023 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.111.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-2023 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.111.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-2023 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.111.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-2023 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.111.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-2023 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.111.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-2023 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.111.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-2023 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.111.0
|
|
37
37
|
*
|
|
38
38
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
39
39
|
*
|