@openui5/sap.ui.layout 1.94.0 → 1.97.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 +12 -12
- package/THIRDPARTY.txt +21 -17
- package/package.json +2 -2
- package/src/sap/ui/layout/.library +1 -1
- package/src/sap/ui/layout/AlignedFlowLayout.js +7 -3
- package/src/sap/ui/layout/AssociativeSplitter.js +1 -1
- package/src/sap/ui/layout/BlockLayout.js +1 -1
- package/src/sap/ui/layout/BlockLayoutCell.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/src/sap/ui/layout/ResponsiveFlowLayout.js +1 -1
- 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/SplitPane.js +1 -1
- package/src/sap/ui/layout/Splitter.js +10 -4
- 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 +11 -1
- package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +1 -1
- package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +1 -1
- package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +11 -13
- package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +11 -1
- package/src/sap/ui/layout/cssgrid/CSSGrid.js +72 -69
- package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +5 -2
- package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +3 -1
- package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +5 -3
- 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 +5 -3
- package/src/sap/ui/layout/designtime/form/Form.designtime.js +1 -1
- package/src/sap/ui/layout/designtime/form/SimpleForm.designtime.js +6 -2
- 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/ColumnLayoutRenderer.js +7 -6
- package/src/sap/ui/layout/form/Form.js +1 -1
- package/src/sap/ui/layout/form/FormContainer.js +1 -1
- package/src/sap/ui/layout/form/FormElement.js +1 -1
- package/src/sap/ui/layout/form/FormLayout.js +3 -3
- package/src/sap/ui/layout/form/FormLayoutRenderer.js +3 -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 +1 -1
- package/src/sap/ui/layout/form/ResponsiveLayout.js +1 -1
- 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 +2 -2
- package/src/sap/ui/layout/messagebundle_el.properties +1 -1
- package/src/sap/ui/layout/themes/base/ResponsiveSplitter.less +4 -2
- package/src/sap/ui/layout/themes/base/Splitter.less +1 -1
- package/ui5.yaml +22 -1
|
@@ -9,10 +9,10 @@ sap.ui.define([
|
|
|
9
9
|
"sap/ui/layout/cssgrid/GridLayoutBase",
|
|
10
10
|
"sap/ui/layout/cssgrid/GridBasicLayout",
|
|
11
11
|
"sap/ui/layout/cssgrid/GridLayoutDelegate",
|
|
12
|
+
"./CSSGridRenderer",
|
|
12
13
|
"sap/ui/base/ManagedObjectObserver",
|
|
13
|
-
"sap/ui/layout/library"
|
|
14
|
-
|
|
15
|
-
], function (Control, GridLayoutBase, GridBasicLayout, GridLayoutDelegate, ManagedObjectObserver) {
|
|
14
|
+
"sap/ui/layout/library"
|
|
15
|
+
], function (Control, GridLayoutBase, GridBasicLayout, GridLayoutDelegate, CSSGridRenderer, ManagedObjectObserver) {
|
|
16
16
|
"use strict";
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -95,7 +95,7 @@ sap.ui.define([
|
|
|
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.97.0
|
|
99
99
|
*
|
|
100
100
|
* @extends sap.ui.core.Control
|
|
101
101
|
* @implements sap.ui.layout.cssgrid.IGridConfigurable
|
|
@@ -106,72 +106,75 @@ sap.ui.define([
|
|
|
106
106
|
* @alias sap.ui.layout.cssgrid.CSSGrid
|
|
107
107
|
* @ui5-metamodel This control/element will also be described in the UI5 (legacy) designtime metamodel
|
|
108
108
|
*/
|
|
109
|
-
var CSSGrid = Control.extend("sap.ui.layout.cssgrid.CSSGrid", {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
109
|
+
var CSSGrid = Control.extend("sap.ui.layout.cssgrid.CSSGrid", {
|
|
110
|
+
metadata: {
|
|
111
|
+
library: "sap.ui.layout",
|
|
112
|
+
defaultAggregation: "items",
|
|
113
|
+
interfaces: ["sap.ui.layout.cssgrid.IGridConfigurable"],
|
|
114
|
+
properties: {
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The width of the control
|
|
118
|
+
*/
|
|
119
|
+
width: { type: "sap.ui.core.CSSSize", defaultValue: "100%" },
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns MDN web docs: grid-template-columns}
|
|
123
|
+
*/
|
|
124
|
+
gridTemplateColumns: { type: "sap.ui.layout.cssgrid.CSSGridTrack", defaultValue: "" },
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows MDN web docs: grid-template-rows}
|
|
128
|
+
*/
|
|
129
|
+
gridTemplateRows: { type: "sap.ui.layout.cssgrid.CSSGridTrack", defaultValue: "" },
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-gap MDN web docs: grid-row-gap}
|
|
133
|
+
*/
|
|
134
|
+
gridRowGap: { type: "sap.ui.core.CSSSize", defaultValue: "" },
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-gap MDN web docs: grid-column-gap}
|
|
138
|
+
*/
|
|
139
|
+
gridColumnGap: { type: "sap.ui.core.CSSSize", defaultValue: "" },
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-gap MDN web docs: grid-gap}
|
|
143
|
+
* It is a shorthand for gridRowGap and gridColumnGap. If some of them is set, the gridGap value will have less priority and will be overwritten.
|
|
144
|
+
*/
|
|
145
|
+
gridGap: { type: "sap.ui.layout.cssgrid.CSSGridGapShortHand", defaultValue: "" },
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-rows MDN web docs: grid-auto-rows}
|
|
149
|
+
*/
|
|
150
|
+
gridAutoRows: { type: "sap.ui.layout.cssgrid.CSSGridTrack", defaultValue: "" },
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns MDN web docs: grid-auto-columns}
|
|
154
|
+
*/
|
|
155
|
+
gridAutoColumns: { type: "sap.ui.layout.cssgrid.CSSGridTrack", defaultValue: "" },
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Sets the value for the CSS display:grid property {@link https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow MDN web docs: grid-auto-flow}
|
|
159
|
+
*/
|
|
160
|
+
gridAutoFlow: { type: "sap.ui.layout.cssgrid.CSSGridAutoFlow", defaultValue: "Row" }
|
|
161
|
+
},
|
|
162
|
+
aggregations: {
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Defines a custom Grid layout for the control. If provided, it will override all of the grid properties.
|
|
166
|
+
*/
|
|
167
|
+
customLayout: { type: "sap.ui.layout.cssgrid.GridLayoutBase", multiple: false },
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* The items contained by the control.
|
|
171
|
+
*/
|
|
172
|
+
items: { type: "sap.ui.core.Control", multiple: true, singularName: "item", dnd: true }
|
|
173
|
+
},
|
|
174
|
+
dnd: { draggable: false, droppable: true }
|
|
160
175
|
},
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Defines a custom Grid layout for the control. If provided, it will override all of the grid properties.
|
|
165
|
-
*/
|
|
166
|
-
customLayout: { type: "sap.ui.layout.cssgrid.GridLayoutBase", multiple: false },
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* The items contained by the control.
|
|
170
|
-
*/
|
|
171
|
-
items: { type: "sap.ui.core.Control", multiple: true, singularName: "item", dnd: true }
|
|
172
|
-
},
|
|
173
|
-
dnd: { draggable: false, droppable: true }
|
|
174
|
-
}});
|
|
176
|
+
renderer: CSSGridRenderer
|
|
177
|
+
});
|
|
175
178
|
|
|
176
179
|
/**
|
|
177
180
|
* =================== START of IGridConfigurable interface implementation ===================
|
|
@@ -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.97.0
|
|
52
52
|
*
|
|
53
53
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
54
54
|
*
|
|
@@ -124,6 +124,8 @@ sap.ui.define([
|
|
|
124
124
|
/**
|
|
125
125
|
* Hook function for the Grid's onAfterRendering
|
|
126
126
|
* @param {sap.ui.layout.cssgrid.IGridConfigurable} oGrid The grid
|
|
127
|
+
* @override
|
|
128
|
+
* @protected
|
|
127
129
|
*/
|
|
128
130
|
GridBoxLayout.prototype.onGridAfterRendering = function (oGrid) {
|
|
129
131
|
// Add a specific class to each grid item
|
|
@@ -169,7 +171,8 @@ sap.ui.define([
|
|
|
169
171
|
* - Manually flatten the height of the boxes.
|
|
170
172
|
*
|
|
171
173
|
* @param {object} oEvent - The event from a resize
|
|
172
|
-
* @
|
|
174
|
+
* @override
|
|
175
|
+
* @protected
|
|
173
176
|
*/
|
|
174
177
|
GridBoxLayout.prototype.onGridResize = function (oEvent) {
|
|
175
178
|
if (oEvent.control && oEvent.control.isA("sap.f.GridList") && oEvent.control.isGrouped()) {
|
|
@@ -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.97.0
|
|
40
40
|
*
|
|
41
41
|
* @extends sap.ui.base.ManagedObject
|
|
42
42
|
*
|
|
@@ -213,6 +213,7 @@ sap.ui.define([
|
|
|
213
213
|
/**
|
|
214
214
|
* Hook function for the Grid's onAfterRendering
|
|
215
215
|
* @virtual
|
|
216
|
+
* @protected
|
|
216
217
|
* @param {sap.ui.layout.cssgrid.IGridConfigurable} oGrid The grid
|
|
217
218
|
*/
|
|
218
219
|
GridLayoutBase.prototype.onGridAfterRendering = function (oGrid) { };
|
|
@@ -220,6 +221,7 @@ sap.ui.define([
|
|
|
220
221
|
/**
|
|
221
222
|
* Hook function for the Grid's resize. Will be called if the grid layout is responsive.
|
|
222
223
|
* @virtual
|
|
224
|
+
* @protected
|
|
223
225
|
* @param {jQuery.Event} oEvent The event passed by the resize handler
|
|
224
226
|
*/
|
|
225
227
|
GridLayoutBase.prototype.onGridResize = function (oEvent) { };
|
|
@@ -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.97.0
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
27
27
|
*
|
|
@@ -134,7 +134,8 @@ sap.ui.define([
|
|
|
134
134
|
/**
|
|
135
135
|
* Handler for IGridConfigurable onAfterRendering
|
|
136
136
|
*
|
|
137
|
-
* @
|
|
137
|
+
* @override
|
|
138
|
+
* @protected
|
|
138
139
|
* @param {sap.ui.layout.cssgrid.IGridConfigurable} oGrid The grid
|
|
139
140
|
*/
|
|
140
141
|
GridResponsiveLayout.prototype.onGridAfterRendering = function (oGrid) {
|
|
@@ -144,7 +145,8 @@ sap.ui.define([
|
|
|
144
145
|
/**
|
|
145
146
|
* Handler for IGridConfigurable resize
|
|
146
147
|
*
|
|
147
|
-
* @
|
|
148
|
+
* @override
|
|
149
|
+
* @protected
|
|
148
150
|
* @param {jQuery.Event} oEvent The event object from a grid resize
|
|
149
151
|
*/
|
|
150
152
|
GridResponsiveLayout.prototype.onGridResize = function (oEvent) {
|
|
@@ -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.97.0
|
|
37
37
|
*
|
|
38
38
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
39
39
|
*
|
|
@@ -85,7 +85,8 @@ sap.ui.define([
|
|
|
85
85
|
/**
|
|
86
86
|
* Handler for IGridConfigurable onAfterRendering
|
|
87
87
|
*
|
|
88
|
-
* @
|
|
88
|
+
* @override
|
|
89
|
+
* @protected
|
|
89
90
|
* @param {sap.ui.layout.cssgrid.IGridConfigurable} oGrid The grid
|
|
90
91
|
*/
|
|
91
92
|
ResponsiveColumnLayout.prototype.onGridAfterRendering = function (oGrid) {
|
|
@@ -107,7 +108,8 @@ sap.ui.define([
|
|
|
107
108
|
* Resize handler for the ResponsiveColumnLayout.
|
|
108
109
|
*
|
|
109
110
|
* @param {object} oEvent - The event from a resize
|
|
110
|
-
* @
|
|
111
|
+
* @override
|
|
112
|
+
* @protected
|
|
111
113
|
*/
|
|
112
114
|
ResponsiveColumnLayout.prototype.onGridResize = function (oEvent) {
|
|
113
115
|
if (!oEvent || oEvent.size.width === 0) {
|
|
@@ -13,7 +13,7 @@ sap.ui.define([
|
|
|
13
13
|
"use strict";
|
|
14
14
|
|
|
15
15
|
function isChildOfFormElement(oElement) {
|
|
16
|
-
return oElement.getParent().isA("sap.ui.layout.form.FormElement");
|
|
16
|
+
return oElement.getParent() && oElement.getParent().isA("sap.ui.layout.form.FormElement");
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
function fnIsLayoutSupported(oForm){
|
|
@@ -232,11 +232,15 @@ sap.ui.define([
|
|
|
232
232
|
},
|
|
233
233
|
remove: {
|
|
234
234
|
changeType: "hideSimpleFormField",
|
|
235
|
-
changeOnRelevantContainer: true
|
|
235
|
+
changeOnRelevantContainer: true,
|
|
236
|
+
// SimpleForm field visibility changes could be invalidated by custom field visibility settings
|
|
237
|
+
jsOnly: true
|
|
236
238
|
},
|
|
237
239
|
reveal: {
|
|
238
240
|
changeType: "unhideSimpleFormField",
|
|
239
|
-
changeOnRelevantContainer: true
|
|
241
|
+
changeOnRelevantContainer: true,
|
|
242
|
+
// SimpleForm field visibility changes could be invalidated by custom field visibility settings
|
|
243
|
+
jsOnly: true
|
|
240
244
|
}
|
|
241
245
|
},
|
|
242
246
|
getStableElements: getStableElements
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* This control cannot be used stand-alone, it just renders a <code>Form</code> control,
|
|
61
61
|
* so it must be assigned to a <code>Form</code> control using the <code>layout</code> aggregation.
|
|
62
62
|
* @extends sap.ui.layout.form.FormLayout
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.97.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @public
|
|
@@ -27,15 +27,16 @@ sap.ui.define([
|
|
|
27
27
|
|
|
28
28
|
ColumnLayoutRenderer.renderContainers = function(oRm, oLayout, oForm){
|
|
29
29
|
|
|
30
|
-
var iColumnsM = oLayout.getColumnsM();
|
|
31
|
-
var iColumnsL = oLayout.getColumnsL();
|
|
32
|
-
var iColumnsXL = oLayout.getColumnsXL();
|
|
33
30
|
var aContainers = oForm.getVisibleFormContainers();
|
|
34
31
|
var iContainers = aContainers.length;
|
|
35
32
|
|
|
36
33
|
if (iContainers > 0) {
|
|
37
|
-
|
|
38
|
-
if (
|
|
34
|
+
var bOneContainerFullSize = iContainers === 1 && !oLayout.getLayoutDataForElement(aContainers[0], "sap.ui.layout.form.ColumnContainerData");
|
|
35
|
+
if (!bOneContainerFullSize) {
|
|
36
|
+
// if more that one container or one container is not full size render a DIV around containers
|
|
37
|
+
var iColumnsM = oLayout.getColumnsM();
|
|
38
|
+
var iColumnsL = oLayout.getColumnsL();
|
|
39
|
+
var iColumnsXL = oLayout.getColumnsXL();
|
|
39
40
|
oRm.openStart("div");
|
|
40
41
|
oRm.class("sapUiFormCLContent");
|
|
41
42
|
oRm.class("sapUiFormCLColumnsM" + iColumnsM);
|
|
@@ -49,7 +50,7 @@ sap.ui.define([
|
|
|
49
50
|
this.renderContainer(oRm, oLayout, oContainer);
|
|
50
51
|
}
|
|
51
52
|
|
|
52
|
-
if (
|
|
53
|
+
if (!bOneContainerFullSize) {
|
|
53
54
|
oRm.close("div");
|
|
54
55
|
}
|
|
55
56
|
}
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
* @extends sap.ui.core.Control
|
|
37
37
|
*
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.97.0
|
|
40
40
|
*
|
|
41
41
|
* @constructor
|
|
42
42
|
* @public
|
|
@@ -901,7 +901,7 @@ sap.ui.define([
|
|
|
901
901
|
FormLayout.prototype.getContainerRenderedDomRef = function(oContainer) {
|
|
902
902
|
|
|
903
903
|
if (this.getDomRef()) {
|
|
904
|
-
return
|
|
904
|
+
return oContainer.getDomRef();
|
|
905
905
|
} else {
|
|
906
906
|
return null;
|
|
907
907
|
}
|
|
@@ -918,7 +918,7 @@ sap.ui.define([
|
|
|
918
918
|
FormLayout.prototype.getElementRenderedDomRef = function(oElement) {
|
|
919
919
|
|
|
920
920
|
if (this.getDomRef()) {
|
|
921
|
-
return
|
|
921
|
+
return oElement.getDomRef();
|
|
922
922
|
} else {
|
|
923
923
|
return null;
|
|
924
924
|
}
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
sap.ui.define([
|
|
8
8
|
'sap/ui/core/library',
|
|
9
9
|
'sap/ui/layout/library',
|
|
10
|
-
'sap/ui/layout/form/Form'
|
|
11
|
-
|
|
10
|
+
'sap/ui/layout/form/Form',
|
|
11
|
+
'sap/ui/core/IconPool' // as RenderManager.icon needs it
|
|
12
|
+
], function(coreLibrary, library, Form, IconPool) {
|
|
12
13
|
"use strict";
|
|
13
14
|
|
|
14
15
|
// shortcut for sap.ui.core.TitleLevel
|
|
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/layout/library', './FormLayout', './GridLayoutRenderer'],
|
|
|
28
28
|
* @extends sap.ui.layout.form.FormLayout
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.
|
|
31
|
+
* @version 1.97.0
|
|
32
32
|
*
|
|
33
33
|
* @constructor
|
|
34
34
|
* @public
|
|
@@ -227,7 +227,7 @@ sap.ui.define(['sap/ui/layout/library', './FormLayout', './GridLayoutRenderer'],
|
|
|
227
227
|
var oContainerData = this.getLayoutDataForElement(oContainer, "sap.ui.layout.form.GridContainerData");
|
|
228
228
|
|
|
229
229
|
if ((bSingleColumn || !oContainerData || !oContainerData.getHalfGrid()) && !this.getRenderer().checkFullSizeElement(this, oElement) ) {
|
|
230
|
-
return
|
|
230
|
+
return oElement.getDomRef();
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
|
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
*
|
|
54
54
|
* This control cannot be used stand-alone, it just renders a <code>Form</code>, so it must be assigned to a <code>Form</code> using the <code>layout</code> aggregation.
|
|
55
55
|
* @extends sap.ui.layout.form.FormLayout
|
|
56
|
-
* @version 1.
|
|
56
|
+
* @version 1.97.0
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @public
|
|
@@ -20,7 +20,7 @@ sap.ui.define([
|
|
|
20
20
|
* @namespace
|
|
21
21
|
* @name sap.ui.layout
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
23
|
+
* @version 1.97.0
|
|
24
24
|
* @since 1.15
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
// delegate further initialization of this library to the Core
|
|
29
29
|
sap.ui.getCore().initLibrary({
|
|
30
30
|
name : "sap.ui.layout",
|
|
31
|
-
version: "1.
|
|
31
|
+
version: "1.97.0",
|
|
32
32
|
dependencies: ["sap.ui.core"],
|
|
33
33
|
designtime: "sap/ui/layout/designtime/library.designtime",
|
|
34
34
|
types: [
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
FORM_EXPAND=\u0395\u03C0\u03AD\u03BA\u03C4\u03B1\u03C3\u03B7
|
|
3
3
|
FORM_COLLAPSE=\u03A3\u03CD\u03BC\u03C0\u03C4\u03C5\u03BE\u03B7
|
|
4
4
|
|
|
5
|
-
SPLITTER_MOVE=\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03B1 \
|
|
5
|
+
SPLITTER_MOVE=\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u03C4\u03B1 \u03C0\u03BB\u03AE\u03BA\u03C4\u03C1\u03B1 \u0392\u0395\u039B\u039F\u03A5\u03A3 \u03B3\u03B9\u03B1 \u03BC\u03B5\u03C4\u03B1\u03BA\u03AF\u03BD\u03B7\u03C3\u03B7
|
|
6
6
|
|
|
7
7
|
SIDE_CONTENT_LABEL=\u03A0\u03C1\u03CC\u03C3\u03B8\u03B5\u03C4\u03B1 \u03A0\u03B5\u03C1\u03B9\u03B5\u03C7\u03CC\u03BC\u03B5\u03BD\u03B1
|
|
8
8
|
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
@_sap_ui_layout_ResponsiveSplitter_PaginatorHeight: 2.5rem;
|
|
7
7
|
@_sap_ui_layout_ResponsiveSplitter_PaginatorButtonWidth: 2.5rem;
|
|
8
8
|
@_sap_ui_layout_ResponsiveSplitter_PaginatorButtonHeight: 2.375rem;
|
|
9
|
+
@_sap_ui_layout_ResponsiveSplitter_PaginatorButtonFocusBorderRadius: unset;
|
|
9
10
|
|
|
10
11
|
.sapUiResponsiveSplitter {
|
|
11
12
|
width: 100%;
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
height: @_sap_ui_layout_ResponsiveSplitter_PaginatorButtonHeight;
|
|
53
54
|
cursor: pointer;
|
|
54
55
|
background-color: transparent;
|
|
55
|
-
border-radius:
|
|
56
|
+
border-radius: @sapUiButtonBorderCornerRadius;
|
|
56
57
|
position: relative;
|
|
57
58
|
|
|
58
59
|
&::after {
|
|
@@ -77,7 +78,8 @@
|
|
|
77
78
|
bottom: 0;
|
|
78
79
|
right: 0;
|
|
79
80
|
left: 0;
|
|
80
|
-
border:
|
|
81
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
82
|
+
border-radius: @_sap_ui_layout_ResponsiveSplitter_PaginatorButtonFocusBorderRadius;
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
&:hover {
|