@openui5/sap.ui.layout 1.105.1 → 1.107.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 +20 -17
- package/THIRDPARTY.txt +31 -21
- package/package.json +2 -2
- package/src/sap/ui/layout/.library +1 -1
- package/src/sap/ui/layout/AlignedFlowLayout.js +4 -3
- package/src/sap/ui/layout/AssociativeSplitter.js +1 -1
- package/src/sap/ui/layout/BlockLayout.js +29 -26
- package/src/sap/ui/layout/BlockLayoutCell.js +4 -3
- package/src/sap/ui/layout/BlockLayoutCellData.js +1 -2
- package/src/sap/ui/layout/BlockLayoutRow.js +4 -3
- package/src/sap/ui/layout/DynamicSideContent.js +84 -80
- package/src/sap/ui/layout/DynamicSideContentRenderer.js +3 -3
- package/src/sap/ui/layout/FixFlex.js +9 -7
- package/src/sap/ui/layout/Grid.js +74 -71
- package/src/sap/ui/layout/GridData.js +1 -2
- package/src/sap/ui/layout/GridRenderer.js +1 -1
- package/src/sap/ui/layout/HorizontalLayout.js +22 -19
- package/src/sap/ui/layout/PaneContainer.js +1 -1
- package/src/sap/ui/layout/ResponsiveFlowLayout.js +35 -30
- package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +1 -2
- 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 +6 -5
- package/src/sap/ui/layout/SplitterLayoutData.js +1 -2
- package/src/sap/ui/layout/VerticalLayout.js +29 -26
- 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 +10 -3
- package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +11 -5
- package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +3 -2
- package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +14 -17
- package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +1 -1
- package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +6 -4
- package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +3 -2
- package/src/sap/ui/layout/cssgrid/CSSGrid.js +1 -2
- package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +1 -2
- package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +1 -2
- package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +1 -2
- package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +1 -2
- package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +1 -2
- package/src/sap/ui/layout/cssgrid/GridSettings.js +1 -2
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +1 -2
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +1 -2
- package/src/sap/ui/layout/form/ColumnContainerData.js +1 -2
- package/src/sap/ui/layout/form/ColumnElementData.js +1 -2
- package/src/sap/ui/layout/form/ColumnLayout.js +41 -38
- package/src/sap/ui/layout/form/Form.js +78 -75
- package/src/sap/ui/layout/form/FormContainer.js +1 -2
- package/src/sap/ui/layout/form/FormElement.js +1 -3
- package/src/sap/ui/layout/form/FormLayout.js +22 -18
- package/src/sap/ui/layout/form/GridContainerData.js +1 -2
- package/src/sap/ui/layout/form/GridElementData.js +1 -2
- package/src/sap/ui/layout/form/GridLayout.js +19 -16
- package/src/sap/ui/layout/form/ResponsiveGridLayout.js +138 -135
- package/src/sap/ui/layout/form/ResponsiveLayout.js +15 -12
- package/src/sap/ui/layout/form/SemanticFormElement.js +1 -2
- package/src/sap/ui/layout/form/SimpleForm.js +437 -404
- package/src/sap/ui/layout/library.js +2 -25
- package/src/sap/ui/layout/rules/Form.support.js +32 -32
package/.reuse/dep5
CHANGED
|
@@ -43,6 +43,14 @@ License: Apache-2.0
|
|
|
43
43
|
#
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
# Library: sap.m:
|
|
47
|
+
|
|
48
|
+
Files: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
49
|
+
Copyright: Mario Heiderich
|
|
50
|
+
License: Apache-2.0
|
|
51
|
+
Comment: these files belong to: purify.js
|
|
52
|
+
|
|
53
|
+
|
|
46
54
|
# Library: sap.ui.codeeditor:
|
|
47
55
|
|
|
48
56
|
Files: src/sap.ui.codeeditor/src/sap/ui/codeeditor/js/ace/*
|
|
@@ -127,17 +135,17 @@ Copyright:
|
|
|
127
135
|
License: Apache-2.0 and MIT
|
|
128
136
|
Comment: these files contain content from SAP and jQuery UI 1.11: zIndex.js is overall written by SAP, but contains an implementation of the function 'fnzIndex' which is taken from jQuery UI Datepicker 1.11.1
|
|
129
137
|
|
|
130
|
-
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit
|
|
138
|
+
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit.css src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
|
|
131
139
|
Copyright: jQuery Foundation and other contributors
|
|
132
140
|
License: MIT
|
|
133
141
|
Comment: these files belong to: QUnit
|
|
134
142
|
|
|
135
|
-
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2
|
|
143
|
+
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.css src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.js
|
|
136
144
|
Copyright: jQuery Foundation and other contributors
|
|
137
145
|
License: MIT
|
|
138
146
|
Comment: these files belong to: QUnit 2
|
|
139
147
|
|
|
140
|
-
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18
|
|
148
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.css src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.js
|
|
141
149
|
Copyright: jQuery Foundation and other contributors
|
|
142
150
|
License: MIT
|
|
143
151
|
Comment: these files belong to: QUnit 2.18
|
|
@@ -159,7 +167,7 @@ Copyright:
|
|
|
159
167
|
License: Apache-2.0 and MIT
|
|
160
168
|
Comment: these files contain content from SAP and jQuery.rtl-scroll-type: _FeatureDetection.js is overall written by SAP, but contains code which is inspired by jQuery.rtl-scroll-type
|
|
161
169
|
|
|
162
|
-
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite
|
|
170
|
+
Files: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.css src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.js
|
|
163
171
|
Copyright: jQuery Foundation and other contributors
|
|
164
172
|
License: MIT
|
|
165
173
|
Comment: these files belong to: QUnit Composite
|
|
@@ -239,7 +247,7 @@ Copyright: 2010-2017, Christian Johansen, christian@cjohansen.no
|
|
|
239
247
|
License: BSD-3-Clause
|
|
240
248
|
Comment: these files belong to: SinonJS
|
|
241
249
|
|
|
242
|
-
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0
|
|
250
|
+
Files: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.js
|
|
243
251
|
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
244
252
|
License: BSD-3-Clause
|
|
245
253
|
Comment: these files belong to: SinonJS 14
|
|
@@ -313,7 +321,7 @@ Copyright: 2018 Michael Mclaughlin
|
|
|
313
321
|
License: MIT
|
|
314
322
|
Comment: these files belong to: bignumber.js
|
|
315
323
|
|
|
316
|
-
Files: src/sap.ui.core/src/sap/
|
|
324
|
+
Files: src/sap.ui.core/src/sap/base/util/restricted/_/lodash.custom.js
|
|
317
325
|
Copyright: OpenJS Foundation and other contributors
|
|
318
326
|
License: MIT
|
|
319
327
|
Comment: these files belong to: lodash
|
|
@@ -323,7 +331,7 @@ Copyright: 2021 Mathias Nater
|
|
|
323
331
|
License: MIT
|
|
324
332
|
Comment: these files belong to: Hyphenopoly
|
|
325
333
|
|
|
326
|
-
Files: src/sap.ui.core/src/sap/
|
|
334
|
+
Files: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
|
|
327
335
|
Copyright:
|
|
328
336
|
Sindre Sorhus <sindresorhus@gmail.com>
|
|
329
337
|
2014-present Sebastian McKenzie and other contributors
|
|
@@ -418,16 +426,6 @@ License: MIT
|
|
|
418
426
|
Comment: these files belong to: @cfworker/json-schema
|
|
419
427
|
|
|
420
428
|
|
|
421
|
-
# Library: sap.ui.mdc:
|
|
422
|
-
|
|
423
|
-
Files: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
|
|
424
|
-
Copyright:
|
|
425
|
-
2009-2022 SAP SE or an SAP affiliate company and OpenUI5 contributors
|
|
426
|
-
2015 unnikked
|
|
427
|
-
License: Apache-2.0 and MIT
|
|
428
|
-
Comment: these files contain content from SAP and BooleanExpressionEvaluator: BoolExprTool.js is authored by SAP, but partly inspired by BooleanExpressionEvaluator
|
|
429
|
-
|
|
430
|
-
|
|
431
429
|
# Library: sap.ui.webc.common:
|
|
432
430
|
|
|
433
431
|
Files: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/theming/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/localization/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.* src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
@@ -448,6 +446,11 @@ Copyright: SAP
|
|
|
448
446
|
License: Apache-2.0
|
|
449
447
|
Comment: these files belong to: UI5 Web Components
|
|
450
448
|
|
|
449
|
+
Files: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
|
|
450
|
+
Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
|
|
451
|
+
License: Apache-2.0
|
|
452
|
+
Comment: these files belong to: ZXing
|
|
453
|
+
|
|
451
454
|
|
|
452
455
|
# Library: sap.ui.webc.main:
|
|
453
456
|
|
package/THIRDPARTY.txt
CHANGED
|
@@ -4,6 +4,15 @@ each subcomponent.
|
|
|
4
4
|
The full text of all referenced licenses is appended at the end of this file.
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
Library: sap.m:
|
|
8
|
+
|
|
9
|
+
Component: purify.js, version: 2.3.8
|
|
10
|
+
Copyright: Mario Heiderich
|
|
11
|
+
License: Apache-2.0
|
|
12
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
13
|
+
Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
|
|
14
|
+
|
|
15
|
+
|
|
7
16
|
Library: sap.ui.codeeditor:
|
|
8
17
|
|
|
9
18
|
Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
|
|
@@ -68,19 +77,22 @@ Component: QUnit, version: 1.18.0
|
|
|
68
77
|
Copyright: jQuery Foundation and other contributors
|
|
69
78
|
License: MIT
|
|
70
79
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
71
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit
|
|
80
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit.css
|
|
81
|
+
src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
|
|
72
82
|
|
|
73
83
|
Component: QUnit 2, version: 2.3.2
|
|
74
84
|
Copyright: jQuery Foundation and other contributors
|
|
75
85
|
License: MIT
|
|
76
86
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
77
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2
|
|
87
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.css
|
|
88
|
+
src/sap.ui.core/src/sap/ui/thirdparty/qunit-2.js
|
|
78
89
|
|
|
79
90
|
Component: QUnit 2.18, version: 2.18.0
|
|
80
91
|
Copyright: jQuery Foundation and other contributors
|
|
81
92
|
License: MIT
|
|
82
93
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
83
|
-
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18
|
|
94
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.css
|
|
95
|
+
src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/qunit-2.18.js
|
|
84
96
|
|
|
85
97
|
Component: jQuery-Migrate, version: 3.3.1
|
|
86
98
|
Copyright: OpenJS Foundation and other contributors
|
|
@@ -104,7 +116,8 @@ Component: QUnit Composite, version: 1.0.2-pre
|
|
|
104
116
|
Copyright: jQuery Foundation and other contributors
|
|
105
117
|
License: MIT
|
|
106
118
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
107
|
-
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite
|
|
119
|
+
Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.css
|
|
120
|
+
src/sap.ui.core/src/sap/ui/thirdparty/qunit-composite.js
|
|
108
121
|
|
|
109
122
|
Component: JUnit Reporter for QUnit, version: 1.1.1
|
|
110
123
|
Copyright: jQuery Foundation and other contributors
|
|
@@ -201,7 +214,7 @@ Component: SinonJS 14, version: 14.0.0
|
|
|
201
214
|
Copyright: 2010-2022, Christian Johansen, christian@cjohansen.no
|
|
202
215
|
License: BSD-3-Clause
|
|
203
216
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
204
|
-
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0
|
|
217
|
+
Contained in: src/sap.ui.core/test/sap/ui/core/qunit/thirdparty/sinon-14.0.js
|
|
205
218
|
|
|
206
219
|
Component: Sinon-qunit, version: 2.0.0
|
|
207
220
|
Copyright: 2010-2011, Christian Johansen
|
|
@@ -289,7 +302,7 @@ Component: lodash, version: 4.17.21
|
|
|
289
302
|
Copyright: OpenJS Foundation and other contributors
|
|
290
303
|
License: MIT
|
|
291
304
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
292
|
-
Contained in: src/sap.ui.core/src/sap/
|
|
305
|
+
Contained in: src/sap.ui.core/src/sap/base/util/restricted/_/lodash.custom.js
|
|
293
306
|
|
|
294
307
|
Component: Hyphenopoly, version: 3.4.0
|
|
295
308
|
Copyright: 2021 Mathias Nater
|
|
@@ -301,13 +314,13 @@ Component: p-cancelable, version: 2.0.0
|
|
|
301
314
|
Copyright: Sindre Sorhus <sindresorhus@gmail.com>
|
|
302
315
|
License: MIT
|
|
303
316
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
304
|
-
Contained in: src/sap.ui.core/src/sap/
|
|
317
|
+
Contained in: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
|
|
305
318
|
|
|
306
319
|
Component: @babel/helpers, version: 7.10.4
|
|
307
320
|
Copyright: 2014-present Sebastian McKenzie and other contributors
|
|
308
321
|
License: MIT
|
|
309
322
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
310
|
-
Contained in: src/sap.ui.core/src/sap/
|
|
323
|
+
Contained in: src/sap.ui.core/src/sap/base/util/restricted/_CancelablePromise.js
|
|
311
324
|
|
|
312
325
|
Component: Jalaali JS
|
|
313
326
|
Copyright: Behrang Norouzinia
|
|
@@ -407,18 +420,9 @@ License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
|
407
420
|
Contained in: src/sap.ui.integration/test/sap/ui/integration/demokit/cardExplorer/webapp/thirdparty/CfWorkerJsonSchemaValidator.js
|
|
408
421
|
|
|
409
422
|
|
|
410
|
-
Library: sap.ui.mdc:
|
|
411
|
-
|
|
412
|
-
Component: BooleanExpressionEvaluator, version: master-18530acbf3
|
|
413
|
-
Copyright: 2015 unnikked
|
|
414
|
-
License: MIT
|
|
415
|
-
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
|
|
416
|
-
Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperators/BoolExprTool.js
|
|
417
|
-
|
|
418
|
-
|
|
419
423
|
Library: sap.ui.webc.common:
|
|
420
424
|
|
|
421
|
-
Component: UI5 Web Components, version: 1.
|
|
425
|
+
Component: UI5 Web Components, version: 1.5.0
|
|
422
426
|
Copyright: SAP
|
|
423
427
|
License: Apache-2.0
|
|
424
428
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
@@ -429,7 +433,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
|
|
|
429
433
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
|
|
430
434
|
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
|
|
431
435
|
|
|
432
|
-
Component: lit-html, version: 2.
|
|
436
|
+
Component: lit-html, version: 2.2.2
|
|
433
437
|
Copyright: Google LLC
|
|
434
438
|
License: BSD-3-Clause
|
|
435
439
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
|
|
@@ -438,16 +442,22 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
|
|
|
438
442
|
|
|
439
443
|
Library: sap.ui.webc.fiori:
|
|
440
444
|
|
|
441
|
-
Component: UI5 Web Components, version: 1.
|
|
445
|
+
Component: UI5 Web Components, version: 1.5.0
|
|
442
446
|
Copyright: SAP
|
|
443
447
|
License: Apache-2.0
|
|
444
448
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
445
449
|
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
|
|
446
450
|
|
|
451
|
+
Component: ZXing, version: 0.19.1
|
|
452
|
+
Copyright: 2005 Sun Microsystems, Inc.; 2010-2014 University of Manchester; 2010-2015 Stian Soiland-Reyes; 2015 Peter Hull
|
|
453
|
+
License: Apache-2.0
|
|
454
|
+
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
|
455
|
+
Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/lib/zxing.js
|
|
456
|
+
|
|
447
457
|
|
|
448
458
|
Library: sap.ui.webc.main:
|
|
449
459
|
|
|
450
|
-
Component: UI5 Web Components, version: 1.
|
|
460
|
+
Component: UI5 Web Components, version: 1.5.0
|
|
451
461
|
Copyright: SAP
|
|
452
462
|
License: Apache-2.0
|
|
453
463
|
License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/sap.ui.layout",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.107.0",
|
|
4
4
|
"description": "OpenUI5 UI Library sap.ui.layout",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
"url": "https://github.com/SAP/openui5.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@openui5/sap.ui.core": "1.
|
|
17
|
+
"@openui5/sap.ui.core": "1.107.0"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<copyright>OpenUI5
|
|
7
7
|
* (c) Copyright 2009-2022 SAP SE or an SAP affiliate company.
|
|
8
8
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
|
|
9
|
-
<version>1.
|
|
9
|
+
<version>1.107.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.
|
|
43
|
+
* @version 1.107.0
|
|
44
44
|
*
|
|
45
45
|
* @constructor
|
|
46
46
|
* @private
|
|
@@ -48,7 +48,6 @@ sap.ui.define([
|
|
|
48
48
|
*
|
|
49
49
|
* @since 1.48
|
|
50
50
|
* @alias sap.ui.layout.AlignedFlowLayout
|
|
51
|
-
* @ui5-metamodel This control will also be described in the UI5 (legacy) design time meta model.
|
|
52
51
|
*/
|
|
53
52
|
var AlignedFlowLayout = Control.extend("sap.ui.layout.AlignedFlowLayout", {
|
|
54
53
|
metadata: {
|
|
@@ -96,7 +95,9 @@ sap.ui.define([
|
|
|
96
95
|
multiple: true
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
|
-
}
|
|
98
|
+
},
|
|
99
|
+
|
|
100
|
+
renderer: AlignedFlowLayoutRenderer
|
|
100
101
|
});
|
|
101
102
|
|
|
102
103
|
/**
|
|
@@ -63,40 +63,43 @@ sap.ui.define([
|
|
|
63
63
|
* @extends sap.ui.core.Control
|
|
64
64
|
*
|
|
65
65
|
* @author SAP SE
|
|
66
|
-
* @version 1.
|
|
66
|
+
* @version 1.107.0
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @public
|
|
70
70
|
* @since 1.34
|
|
71
71
|
* @alias sap.ui.layout.BlockLayout
|
|
72
72
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/block-layout/ Block Layout}
|
|
73
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
74
73
|
*/
|
|
75
|
-
var BlockLayout = Control.extend("sap.ui.layout.BlockLayout", {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
74
|
+
var BlockLayout = Control.extend("sap.ui.layout.BlockLayout", {
|
|
75
|
+
metadata : {
|
|
76
|
+
|
|
77
|
+
library : "sap.ui.layout",
|
|
78
|
+
properties : {
|
|
79
|
+
/**
|
|
80
|
+
* Determines the background used for the Layout
|
|
81
|
+
* @since 1.42
|
|
82
|
+
*/
|
|
83
|
+
background: { type: "sap.ui.layout.BlockBackgroundType", group: "Appearance", defaultValue: "Default" },
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Keeps the font-size of the contents as is, independent from the screen size.
|
|
87
|
+
* @since 1.52
|
|
88
|
+
*/
|
|
89
|
+
keepFontSize: { type: "boolean", group:"Behavior", defaultValue: false}
|
|
90
|
+
},
|
|
91
|
+
defaultAggregation : "content",
|
|
92
|
+
aggregations : {
|
|
93
|
+
/**
|
|
94
|
+
* The Rows to be included in the content of the control
|
|
95
|
+
*/
|
|
96
|
+
content: { type: "sap.ui.layout.BlockLayoutRow", multiple: true }
|
|
97
|
+
},
|
|
98
|
+
designtime: "sap/ui/layout/designtime/BlockLayout.designtime"
|
|
90
99
|
},
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
* The Rows to be included in the content of the control
|
|
95
|
-
*/
|
|
96
|
-
content: { type: "sap.ui.layout.BlockLayoutRow", multiple: true }
|
|
97
|
-
},
|
|
98
|
-
designtime: "sap/ui/layout/designtime/BlockLayout.designtime"
|
|
99
|
-
}});
|
|
100
|
+
|
|
101
|
+
renderer: BlockLayoutRenderer
|
|
102
|
+
});
|
|
100
103
|
|
|
101
104
|
/**
|
|
102
105
|
* Breakpoints used for the parent container of the Layout, to determine the inner representation of the rows.
|
|
@@ -26,13 +26,12 @@ sap.ui.define([
|
|
|
26
26
|
* @extends sap.ui.core.Control
|
|
27
27
|
*
|
|
28
28
|
* @author SAP SE
|
|
29
|
-
* @version 1.
|
|
29
|
+
* @version 1.107.0
|
|
30
30
|
*
|
|
31
31
|
* @constructor
|
|
32
32
|
* @public
|
|
33
33
|
* @since 1.34
|
|
34
34
|
* @alias sap.ui.layout.BlockLayoutCell
|
|
35
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
36
35
|
*/
|
|
37
36
|
var BlockLayoutCell = Control.extend("sap.ui.layout.BlockLayoutCell", {
|
|
38
37
|
metadata: {
|
|
@@ -98,7 +97,9 @@ sap.ui.define([
|
|
|
98
97
|
titleLink: {type: "sap.ui.core.Control", multiple : false}
|
|
99
98
|
},
|
|
100
99
|
designtime: "sap/ui/layout/designtime/BlockLayoutCell.designtime"
|
|
101
|
-
}
|
|
100
|
+
},
|
|
101
|
+
|
|
102
|
+
renderer: BlockLayoutCellRenderer
|
|
102
103
|
});
|
|
103
104
|
|
|
104
105
|
BlockLayoutCell.prototype.setLayoutData = function (oLayoutData) {
|
|
@@ -18,12 +18,11 @@ 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.
|
|
21
|
+
* @version 1.107.0
|
|
22
22
|
* @constructor
|
|
23
23
|
* @public
|
|
24
24
|
* @since 1.50.0
|
|
25
25
|
* @alias sap.ui.layout.BlockLayoutCellData
|
|
26
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) design time metamodel
|
|
27
26
|
*/
|
|
28
27
|
var BlockLayoutCellData = LayoutData.extend("sap.ui.layout.BlockLayoutCellData", { metadata : {
|
|
29
28
|
library : "sap.ui.layout",
|
|
@@ -32,13 +32,12 @@ sap.ui.define([
|
|
|
32
32
|
* @extends sap.ui.core.Control
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
|
-
* @version 1.
|
|
35
|
+
* @version 1.107.0
|
|
36
36
|
*
|
|
37
37
|
* @constructor
|
|
38
38
|
* @public
|
|
39
39
|
* @since 1.34
|
|
40
40
|
* @alias sap.ui.layout.BlockLayoutRow
|
|
41
|
-
* @ui5-metamodel This control/element also will be described in the UI5 (legacy) designtime metamodel
|
|
42
41
|
*/
|
|
43
42
|
var BlockLayoutRow = Control.extend("sap.ui.layout.BlockLayoutRow", {
|
|
44
43
|
metadata: {
|
|
@@ -80,7 +79,9 @@ sap.ui.define([
|
|
|
80
79
|
accentCells: {type: "sap.ui.layout.BlockLayoutCell", multiple: true, singularName: "accentCell"}
|
|
81
80
|
},
|
|
82
81
|
designtime: "sap/ui/layout/designtime/BlockLayoutRow.designtime"
|
|
83
|
-
}
|
|
82
|
+
},
|
|
83
|
+
|
|
84
|
+
renderer: BlockLayoutRowRenderer
|
|
84
85
|
});
|
|
85
86
|
|
|
86
87
|
BlockLayoutRow.prototype.init = function () {
|
|
@@ -94,7 +94,7 @@ sap.ui.define([
|
|
|
94
94
|
* @extends sap.ui.core.Control
|
|
95
95
|
*
|
|
96
96
|
* @author SAP SE
|
|
97
|
-
* @version 1.
|
|
97
|
+
* @version 1.107.0
|
|
98
98
|
*
|
|
99
99
|
* @constructor
|
|
100
100
|
* @public
|
|
@@ -102,88 +102,92 @@ sap.ui.define([
|
|
|
102
102
|
* @alias sap.ui.layout.DynamicSideContent
|
|
103
103
|
* @see {@link fiori:https://experience.sap.com/fiori-design-web/dynamic-side-content/ Dynamic Side Content}
|
|
104
104
|
*/
|
|
105
|
-
var DynamicSideContent = Control.extend("sap.ui.layout.DynamicSideContent", /** @lends sap.ui.layout.DynamicSideContent.prototype */ {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
105
|
+
var DynamicSideContent = Control.extend("sap.ui.layout.DynamicSideContent", /** @lends sap.ui.layout.DynamicSideContent.prototype */ {
|
|
106
|
+
metadata : {
|
|
107
|
+
library : "sap.ui.layout",
|
|
108
|
+
properties : {
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Determines whether the side content is visible or hidden.
|
|
112
|
+
*
|
|
113
|
+
* <b>Note:</b> If both <code>showSideContent</code> and <code>showMainContent</code> properties are set to <code>true</code>,
|
|
114
|
+
* use the <code>toggle</code> method for showing the side content on phone.
|
|
115
|
+
*/
|
|
116
|
+
showSideContent : {type : "boolean", group : "Appearance", defaultValue : true},
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Determines whether the main content is visible or hidden.
|
|
120
|
+
*/
|
|
121
|
+
showMainContent : {type : "boolean", group : "Appearance", defaultValue : true},
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Determines on which breakpoints the side content is visible.
|
|
125
|
+
*/
|
|
126
|
+
sideContentVisibility : {type : "sap.ui.layout.SideContentVisibility", group : "Appearance", defaultValue : SideContentVisibility.ShowAboveS},
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Determines on which breakpoints the side content falls down below the main content.
|
|
130
|
+
*/
|
|
131
|
+
sideContentFallDown : {type : "sap.ui.layout.SideContentFallDown", group : "Appearance", defaultValue : SideContentFallDown.OnMinimumWidth},
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Defines whether the control is in equal split mode. In this mode, the side and the main content
|
|
135
|
+
* take 50:50 percent of the container on all screen sizes except for phone, where the main and
|
|
136
|
+
* side contents are switching visibility using the toggle method.
|
|
137
|
+
*/
|
|
138
|
+
equalSplit : {type : "boolean", group : "Appearance", defaultValue : false},
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* If set to TRUE, then not the media Query (device screen size) but the size of the container, surrounding the control, defines the current range.
|
|
142
|
+
*/
|
|
143
|
+
containerQuery : {type : "boolean", group : "Behavior", defaultValue : false},
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Determines whether the side content is on the left or on the right side of the main content.
|
|
147
|
+
* @since 1.36
|
|
148
|
+
*/
|
|
149
|
+
sideContentPosition : {type : "sap.ui.layout.SideContentPosition", group : "Appearance", defaultValue : SideContentPosition.End},
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Defiles the main content span size
|
|
153
|
+
*/
|
|
154
|
+
mcSpan: { type: "int", defaultValue: 0, visibility: "hidden" },
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Defines the side content span size
|
|
158
|
+
*/
|
|
159
|
+
scSpan: { type: "int", defaultValue: 0, visibility: "hidden" }
|
|
160
|
+
},
|
|
161
|
+
defaultAggregation : "mainContent",
|
|
162
|
+
events : {
|
|
163
|
+
/**
|
|
164
|
+
* Fires when the current breakpoint has been changed.
|
|
165
|
+
* @since 1.32
|
|
166
|
+
*/
|
|
167
|
+
breakpointChanged : {
|
|
168
|
+
parameters : {
|
|
169
|
+
currentBreakpoint : {type : "string"}
|
|
170
|
+
}
|
|
169
171
|
}
|
|
170
|
-
}
|
|
172
|
+
},
|
|
173
|
+
aggregations : {
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Main content controls.
|
|
177
|
+
*/
|
|
178
|
+
mainContent : {type: "sap.ui.core.Control", multiple: true},
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Side content controls.
|
|
182
|
+
*/
|
|
183
|
+
sideContent : {type: "sap.ui.core.Control", multiple: true}
|
|
184
|
+
},
|
|
185
|
+
designTime: "sap/ui/layout/designtime/DynamicSideContent.designtime",
|
|
186
|
+
dnd: { draggable: false, droppable: true }
|
|
171
187
|
},
|
|
172
|
-
aggregations : {
|
|
173
188
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
*/
|
|
177
|
-
mainContent : {type: "sap.ui.core.Control", multiple: true},
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Side content controls.
|
|
181
|
-
*/
|
|
182
|
-
sideContent : {type: "sap.ui.core.Control", multiple: true}
|
|
183
|
-
},
|
|
184
|
-
designTime: "sap/ui/layout/designtime/DynamicSideContent.designtime",
|
|
185
|
-
dnd: { draggable: false, droppable: true }
|
|
186
|
-
}});
|
|
189
|
+
renderer: DynamicSideContentRenderer
|
|
190
|
+
});
|
|
187
191
|
|
|
188
192
|
var S = "S",
|
|
189
193
|
M = "M",
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
// Provides default renderer for control sap.ui.layout.DynamicSideContent
|
|
8
|
-
sap.ui.define(["sap/ui/layout/library", "sap/ui/Device"],
|
|
9
|
-
function(library, Device) {
|
|
8
|
+
sap.ui.define(["sap/ui/layout/library", "sap/ui/Device", "sap/ui/core/Configuration"],
|
|
9
|
+
function(library, Device, Configuration) {
|
|
10
10
|
"use strict";
|
|
11
11
|
|
|
12
12
|
// shortcut for sap.ui.layout.SideContentPosition
|
|
@@ -38,7 +38,7 @@ sap.ui.define(["sap/ui/layout/library", "sap/ui/Device"],
|
|
|
38
38
|
DynamicSideContentRenderer.renderSubControls = function (oRm, oSideControl) {
|
|
39
39
|
var iSideContentId = oSideControl.getId(),
|
|
40
40
|
bShouldSetHeight = oSideControl._shouldSetHeight(),
|
|
41
|
-
bPageRTL =
|
|
41
|
+
bPageRTL = Configuration.getRTL(),
|
|
42
42
|
position = oSideControl.getSideContentPosition();
|
|
43
43
|
|
|
44
44
|
if ((position === SideContentPosition.Begin && !bPageRTL) || (bPageRTL && position === SideContentPosition.End)) {
|