@openui5/sap.ui.layout 1.120.6 → 1.121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +2 -2
  4. package/src/sap/ui/layout/.library +1 -1
  5. package/src/sap/ui/layout/AlignedFlowLayout.js +5 -5
  6. package/src/sap/ui/layout/AssociativeSplitter.js +7 -6
  7. package/src/sap/ui/layout/BlockLayout.js +1 -1
  8. package/src/sap/ui/layout/BlockLayoutCell.js +1 -1
  9. package/src/sap/ui/layout/BlockLayoutCellData.js +1 -1
  10. package/src/sap/ui/layout/BlockLayoutRow.js +1 -1
  11. package/src/sap/ui/layout/DynamicSideContent.js +110 -30
  12. package/src/sap/ui/layout/DynamicSideContentRenderer.js +20 -25
  13. package/src/sap/ui/layout/FixFlex.js +1 -1
  14. package/src/sap/ui/layout/Grid.js +1 -1
  15. package/src/sap/ui/layout/GridData.js +1 -1
  16. package/src/sap/ui/layout/GridRenderer.js +1 -1
  17. package/src/sap/ui/layout/HorizontalLayout.js +1 -1
  18. package/src/sap/ui/layout/PaneContainer.js +1 -16
  19. package/src/sap/ui/layout/ResponsiveFlowLayout.js +10 -7
  20. package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +1 -1
  21. package/src/sap/ui/layout/ResponsiveSplitter.js +8 -6
  22. package/src/sap/ui/layout/ResponsiveSplitterPage.js +5 -5
  23. package/src/sap/ui/layout/ResponsiveSplitterRenderer.js +4 -4
  24. package/src/sap/ui/layout/SplitPane.js +1 -1
  25. package/src/sap/ui/layout/Splitter.js +45 -27
  26. package/src/sap/ui/layout/SplitterLayoutData.js +1 -1
  27. package/src/sap/ui/layout/SplitterRenderer.js +22 -10
  28. package/src/sap/ui/layout/VerticalLayout.js +1 -1
  29. package/src/sap/ui/layout/changeHandler/AddFormContainer.js +1 -1
  30. package/src/sap/ui/layout/changeHandler/AddFormField.js +1 -1
  31. package/src/sap/ui/layout/changeHandler/AddSimpleFormField.js +1 -1
  32. package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +1 -1
  33. package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +4 -2
  34. package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +6 -4
  35. package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +1 -1
  36. package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +4 -2
  37. package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +8 -6
  38. package/src/sap/ui/layout/cssgrid/CSSGrid.js +1 -1
  39. package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +1 -1
  40. package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +5 -3
  41. package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +1 -1
  42. package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +1 -1
  43. package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +1 -1
  44. package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +9 -8
  45. package/src/sap/ui/layout/cssgrid/GridSettings.js +1 -1
  46. package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +1 -1
  47. package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +12 -1
  48. package/src/sap/ui/layout/designtime/form/SimpleForm.designtime.js +3 -1
  49. package/src/sap/ui/layout/designtime/messagebundle_en_US_saprigi.properties +11 -11
  50. package/src/sap/ui/layout/form/ColumnContainerData.js +1 -1
  51. package/src/sap/ui/layout/form/ColumnElementData.js +1 -1
  52. package/src/sap/ui/layout/form/ColumnLayout.js +1 -1
  53. package/src/sap/ui/layout/form/Form.js +1 -1
  54. package/src/sap/ui/layout/form/FormContainer.js +4 -3
  55. package/src/sap/ui/layout/form/FormElement.js +1 -1
  56. package/src/sap/ui/layout/form/FormLayout.js +5 -5
  57. package/src/sap/ui/layout/form/FormLayoutRenderer.js +2 -2
  58. package/src/sap/ui/layout/form/GridContainerData.js +1 -1
  59. package/src/sap/ui/layout/form/GridElementData.js +1 -1
  60. package/src/sap/ui/layout/form/GridLayout.js +1 -1
  61. package/src/sap/ui/layout/form/ResponsiveGridLayout.js +17 -15
  62. package/src/sap/ui/layout/form/ResponsiveLayout.js +19 -17
  63. package/src/sap/ui/layout/form/SemanticFormElement.js +2 -2
  64. package/src/sap/ui/layout/form/SimpleForm.js +19 -23
  65. package/src/sap/ui/layout/library.js +21 -4
  66. package/src/sap/ui/layout/rules/Form.support.js +3 -3
  67. package/src/sap/ui/layout/themes/base/Splitter.less +2 -1
  68. package/src/sap/ui/layout/themes/base/VerticalLayout.less +4 -0
  69. package/LICENSES/BSD-2-Clause.txt +0 -22
package/.reuse/dep5 CHANGED
@@ -28,7 +28,7 @@ Disclaimer: The code in this project may include calls to APIs (“API Calls”)
28
28
  # OpenUI5 code
29
29
 
30
30
  Files: *
31
- Copyright: 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
31
+ Copyright: 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
32
32
  License: Apache-2.0
33
33
 
34
34
 
@@ -68,7 +68,7 @@ Comment: these files belong to: jQuery UI
68
68
 
69
69
  Files: src/sap.ui.commons/src/sap/ui/commons/Carousel.js
70
70
  Copyright:
71
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
71
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
72
72
  Spencer Tipping
73
73
  License: Apache-2.0 and MIT
74
74
  Comment: these files contain content from SAP and jquery.fix.clone: Carousel.js is authored by SAP, but contains an improved implementation of the clone function which is taken from jquery-fix-clone
@@ -83,35 +83,35 @@ Comment: these files belong to: jQuery 3
83
83
 
84
84
  Files: src/sap.ui.core/src/sap/base/util/isPlainObject.js
85
85
  Copyright:
86
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
86
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
87
87
  OpenJS Foundation and other contributors
88
88
  License: Apache-2.0 and MIT
89
89
  Comment: these files contain content from SAP and jQuery 3: isPlainObject.js is overall written by SAP, but contains a modified implementation of jQuery.isPlainObject taken from jQuery
90
90
 
91
91
  Files: src/sap.ui.core/src/sap/base/util/_merge.js
92
92
  Copyright:
93
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
93
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
94
94
  OpenJS Foundation and other contributors
95
95
  License: Apache-2.0 and MIT
96
96
  Comment: these files contain content from SAP and jQuery 3: _merge.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
97
97
 
98
98
  Files: src/sap.ui.core/src/jquery.sap.script.js
99
99
  Copyright:
100
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
100
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
101
101
  OpenJS Foundation and other contributors
102
102
  License: Apache-2.0 and MIT
103
103
  Comment: these files contain content from SAP and jQuery 3: jquery.sap.script.js is overall written by SAP, but contains a modified implementation of jQuery.extend taken from jQuery
104
104
 
105
105
  Files: src/sap.ui.core/src/sap/ui/Device.js
106
106
  Copyright:
107
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
107
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
108
108
  2011, John Resig
109
109
  License: Apache-2.0 and MIT
110
110
  Comment: these files contain content from SAP and jQuery 1: Device.js is overall written by SAP, but contains code taken from jQuery 1.7.1 (see the respective comment)
111
111
 
112
112
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/Selectors.js
113
113
  Copyright:
114
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
114
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
115
115
  2014 jQuery Foundation and other contributors
116
116
  License: Apache-2.0 and MIT
117
117
  Comment: these files contain content from SAP and jQuery UI 1.8: Selectors.js is overall written by SAP, but contains code taken from jQuery UI (see the respective comments)
@@ -123,14 +123,14 @@ Comment: these files belong to: jQuery UI 1.10
123
123
 
124
124
  Files: src/sap.ui.core/src/jquery.sap.dom.js
125
125
  Copyright:
126
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
126
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
127
127
  2014 jQuery Foundation and other contributors
128
128
  License: Apache-2.0 and MIT
129
129
  Comment: these files contain content from SAP and jQuery UI 1.10: jquery.sap.dom.js is overall written by SAP, but contains code taken from jQuery UI Core (see the respective comment)
130
130
 
131
131
  Files: src/sap.ui.core/src/sap/ui/dom/jquery/zIndex.js
132
132
  Copyright:
133
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
133
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
134
134
  2014 jQuery Foundation and other contributors
135
135
  License: Apache-2.0 and MIT
136
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
@@ -162,7 +162,7 @@ Comment: these files belong to: jQuery Mobile
162
162
 
163
163
  Files: src/sap.ui.core/src/sap/ui/util/_FeatureDetection.js
164
164
  Copyright:
165
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
165
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
166
166
  2012 Wei-Ko Kao
167
167
  License: Apache-2.0 and MIT
168
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
@@ -177,6 +177,13 @@ Copyright: jQuery Foundation and other contributors
177
177
  License: MIT
178
178
  Comment: these files belong to: JUnit Reporter for QUnit
179
179
 
180
+ Files: src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
181
+ Copyright:
182
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
183
+ jQuery Foundation and other contributors
184
+ License: Apache-2.0 and MIT
185
+ Comment: these files contain content from SAP and JUnit Reporter for QUnit: qunit-junit.js is overall written by SAP, but contains a modified copy of JUnit Reporter for QUnit (qunit-reporter-junit)
186
+
180
187
  Files: src/sap.ui.core/src/sap/ui/thirdparty/iscroll.js
181
188
  Copyright: 2012 Matteo Spinelli
182
189
  License: MIT
@@ -294,14 +301,14 @@ Comment: these files belong to: blanket.js
294
301
 
295
302
  Files: src/sap.ui.core/src/sap/base/util/JSTokenizer.js
296
303
  Copyright:
297
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
304
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
298
305
  Douglas Crockford
299
306
  License: Apache-2.0 and LicenseRef-JSONinJSPublicDomain
300
307
  Comment: these files contain content from SAP and JSON in JS: JSTokenizer.js is overall written by SAP, but contains code has been taken from the component JSON in JavaScript (https://github.com/douglascrockford/JSON-js/blob/master/json2.js) from Douglas Crockford which is licensed under Public Domain
301
308
 
302
309
  Files: src/sap.ui.core/src/sap/ui/base/ExpressionParser.js
303
310
  Copyright:
304
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
311
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
305
312
  2010 Douglas Crockford
306
313
  License: Apache-2.0
307
314
  Comment: these files contain content from SAP and Top Down Operator Precedence: ExpressionParser.js is overall written by SAP, but contains code taken from or inspired by TDOP by Douglas Crockford (see the respective comment)
@@ -335,7 +342,7 @@ Comment: these files contain content from p-cancelable and @babel/helpers: _Canc
335
342
 
336
343
  Files: src/sap.ui.core/src/sap/ui/core/date/Persian.js
337
344
  Copyright:
338
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
345
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
339
346
  Behrang Norouzinia
340
347
  License: Apache-2.0 and MIT
341
348
  Comment: these files contain content from SAP and Jalaali JS: Persian.js is overall written by SAP, but the calculation is taken from jalaali-js
@@ -347,14 +354,14 @@ Comment: these files belong to: vkBeautify
347
354
 
348
355
  Files: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
349
356
  Copyright:
350
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
357
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
351
358
  Isaac Z. Schlueter and Contributors
352
359
  License: Apache-2.0 and ISC
353
360
  Comment: these files contain content from SAP and node-lru-cache: LRUPersistentCache.js is overall written by SAP, but portions ('Least Recently Used' logic) are taken from the node-lru-cache project (see https://github.com/isaacs/node-lru-cache/blob/v2.7.3/README.md) and modified.
354
361
 
355
362
  Files: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
356
363
  Copyright:
357
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
364
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
358
365
  Arthur David Olson, Paul Eggert and other contributors
359
366
  License: Apache-2.0 and LicenseRef-tzdata-PublicDomain
360
367
  Comment: these files contain content from SAP and Time Zone Database: _timezones.js is overall written by SAP, but the list of IANA timezone IDs is taken from the Timezone Database
@@ -362,11 +369,6 @@ Comment: these files contain content from SAP and Time Zone Database: _timezones
362
369
 
363
370
  # Library: sap.ui.documentation:
364
371
 
365
- Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
366
- Copyright: 2013 Ariya Hidayat and other contributors
367
- License: BSD-2-Clause
368
- Comment: these files belong to: Esprima
369
-
370
372
  Files: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/highlight.js/*
371
373
  Copyright: 2006-2020, Ivan Sagalaev
372
374
  License: BSD-3-Clause
@@ -459,7 +461,7 @@ Comment: these files belong to: UI5 Web Components
459
461
 
460
462
  Files: lib/jsdoc/ui5/plugin.js
461
463
  Copyright:
462
- 2009-2023 SAP SE or an SAP affiliate company and OpenUI5 contributors
464
+ 2009-2024 SAP SE or an SAP affiliate company and OpenUI5 contributors
463
465
  2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc
464
466
  License: Apache-2.0
465
467
  Comment: these files contain content from SAP and JSDoc 3: plugin.js is overall written by SAP, but contains code taken from JSDoc 3.6.7 (see the respective comments)
package/THIRDPARTY.txt CHANGED
@@ -15,7 +15,7 @@ Contained in: src/sap.m/src/sap/m/_thirdparty/purify.js
15
15
 
16
16
  Library: sap.ui.codeeditor:
17
17
 
18
- Component: Ace (Ajax.org Cloud9 Editor), version: 1.4.13
18
+ Component: Ace (Ajax.org Cloud9 Editor), version: 1.31.1
19
19
  Copyright: 2010, Ajax.org B.V.
20
20
  License: BSD-3-Clause
21
21
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -124,6 +124,7 @@ Copyright: jQuery Foundation and other contributors
124
124
  License: MIT
125
125
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/MIT.txt
126
126
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/qunit-reporter-junit.js
127
+ src/sap.ui.core/src/sap/ui/qunit/qunit-junit.js
127
128
 
128
129
  Component: cubiq.org - iScroll, version: 4.2.5
129
130
  Copyright: 2012 Matteo Spinelli
@@ -179,7 +180,7 @@ License: Apache-2.0
179
180
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
180
181
  Contained in: src/sap.ui.core/src/sap/ui/thirdparty/caja-html-sanitizer.js
181
182
 
182
- Component: Unicode Common Locale Data Repository, version: 43
183
+ Component: Unicode Common Locale Data Repository, version: 44
183
184
  Copyright: 1991-2023 Unicode, Inc.
184
185
  License: Unicode-DFS-2015
185
186
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Unicode-DFS-2015.txt
@@ -334,7 +335,7 @@ License: ISC
334
335
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/ISC.txt
335
336
  Contained in: src/sap.ui.core/src/sap/ui/core/cache/LRUPersistentCache.js
336
337
 
337
- Component: Time Zone Database, version: 2023c
338
+ Component: Time Zone Database, version: 2023d
338
339
  Copyright: Arthur David Olson, Paul Eggert and other contributors
339
340
  License: LicenseRef-tzdata-PublicDomain
340
341
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/LicenseRef-tzdata-PublicDomain.txt
@@ -343,13 +344,7 @@ Contained in: src/sap.ui.core/test/sap/ui/core/qunit/i18n/helper/_timezones.js
343
344
 
344
345
  Library: sap.ui.documentation:
345
346
 
346
- Component: Esprima, version: 1.2.2
347
- Copyright: 2013 Ariya Hidayat and other contributors
348
- License: BSD-2-Clause
349
- License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-2-Clause.txt
350
- Contained in: src/sap.ui.documentation/src/sap/ui/documentation/sdk/thirdparty/esprima.js
351
-
352
- Component: highlight.js, version: 10.4.1
347
+ Component: highlight.js, version: 11.9.0
353
348
  Copyright: 2006-2020, Ivan Sagalaev
354
349
  License: BSD-3-Clause
355
350
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -466,7 +461,7 @@ License: Apache-2.0
466
461
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
467
462
  Contained in: lib/jsdoc/ui5/plugin.js
468
463
 
469
- Component: SAP Theming Base Content, version: 11.6.8
464
+ Component: SAP Theming Base Content, version: 11.10.0
470
465
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
471
466
  License: Apache-2.0
472
467
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -663,38 +658,6 @@ END of license: Apache-2.0
663
658
  =================================
664
659
 
665
660
 
666
- =================================
667
- BEGIN of license: BSD-2-Clause
668
- =================================
669
-
670
- Copyright (c) <year> <owner>. All rights reserved.
671
-
672
- Redistribution and use in source and binary forms, with or without modification,
673
- are permitted provided that the following conditions are met:
674
-
675
- 1. Redistributions of source code must retain the above copyright notice,
676
- this list of conditions and the following disclaimer.
677
-
678
- 2. Redistributions in binary form must reproduce the above copyright notice,
679
- this list of conditions and the following disclaimer in the documentation
680
- and/or other materials provided with the distribution.
681
-
682
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
683
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
684
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
685
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
686
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
687
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
688
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
689
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
690
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
691
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
692
-
693
- =================================
694
- END of license: BSD-2-Clause
695
- =================================
696
-
697
-
698
661
  =================================
699
662
  BEGIN of license: BSD-3-Clause
700
663
  =================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openui5/sap.ui.layout",
3
- "version": "1.120.6",
3
+ "version": "1.121.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.120.6"
17
+ "@openui5/sap.ui.core": "1.121.0"
18
18
  }
19
19
  }
@@ -6,7 +6,7 @@
6
6
  <copyright>OpenUI5
7
7
  * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company.
8
8
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.</copyright>
9
- <version>1.120.6</version>
9
+ <version>1.121.0</version>
10
10
 
11
11
  <documentation>SAPUI5 library with layout controls.</documentation>
12
12
 
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  sap.ui.define([
8
- "sap/ui/core/Core",
8
+ "sap/base/i18n/Localization",
9
9
  "sap/ui/core/Control",
10
10
  "./library",
11
11
  "sap/ui/core/ResizeHandler",
@@ -13,7 +13,7 @@ sap.ui.define([
13
13
  "sap/ui/dom/units/Rem"
14
14
  ],
15
15
  function(
16
- Core,
16
+ Localization,
17
17
  Control,
18
18
  library,
19
19
  ResizeHandler,
@@ -40,7 +40,7 @@ sap.ui.define([
40
40
  * @extends sap.ui.core.Control
41
41
  *
42
42
  * @author SAP SE
43
- * @version 1.120.6
43
+ * @version 1.121.0
44
44
  *
45
45
  * @constructor
46
46
  * @private
@@ -162,7 +162,7 @@ sap.ui.define([
162
162
  mEndItemStyle = oEndItemDomRef.style;
163
163
 
164
164
  // adapt the position of the absolute-positioned end item in case a standard CSS class is added
165
- if (Core.getConfiguration().getRTL()) {
165
+ if (Localization.getRTL()) {
166
166
  mEndItemStyle.left = oLayoutComputedStyle.getPropertyValue("padding-left");
167
167
  } else {
168
168
  mEndItemStyle.right = oLayoutComputedStyle.getPropertyValue("padding-right");
@@ -322,7 +322,7 @@ sap.ui.define([
322
322
  iAvailableWidthForEndItem;
323
323
 
324
324
  var oLastItemComputedStyle = window.getComputedStyle(oLastItemDomRef);
325
- if (Core.getConfiguration().getRTL()) {
325
+ if (Localization.getRTL()) {
326
326
  var iLastItemMarginLeft = Number.parseFloat(oLastItemComputedStyle.marginLeft);
327
327
  iAvailableWidthForEndItem = iLastItemOffsetLeft - iLastItemMarginLeft;
328
328
  } else {
@@ -7,8 +7,9 @@
7
7
  sap.ui.define([
8
8
  './Splitter',
9
9
  './SplitterRenderer',
10
- "sap/base/Log"
11
- ], function(Splitter, SplitterRenderer, Log) {
10
+ "sap/base/Log",
11
+ "sap/ui/core/Element"
12
+ ], function(Splitter, SplitterRenderer, Log, Element) {
12
13
  "use strict";
13
14
 
14
15
  /**
@@ -24,7 +25,7 @@ sap.ui.define([
24
25
  * @extends sap.ui.layout.Splitter
25
26
  *
26
27
  * @author SAP SE
27
- * @version 1.120.6
28
+ * @version 1.121.0
28
29
  *
29
30
  * @constructor
30
31
  * @private
@@ -92,7 +93,7 @@ sap.ui.define([
92
93
  var aContentAreas = this.getContentAreas();
93
94
 
94
95
  var aValidAssContentAreas = aAssociatedContentAreas.map(function (sId) {
95
- return sap.ui.getCore().byId(sId);
96
+ return Element.getElementById(sId);
96
97
  }).filter(function (oContent) { return oContent; });
97
98
 
98
99
  return aContentAreas.concat(aValidAssContentAreas);
@@ -109,11 +110,11 @@ sap.ui.define([
109
110
 
110
111
  iBar = parseInt(this._oLastDOMclicked.id.substr((sId + "-splitbar-").length));
111
112
  oContentArea = this._getContentAreas()[iBar];
112
- oContentArea._currentPosition = this.getCalculatedSizes()[iBar];
113
+ oContentArea._currentPosition = this._calculatedSizes[iBar];
113
114
  oContentArea._lastPosition = oContentArea._lastPosition || oContentArea._currentPosition;
114
115
 
115
116
  if (oContentArea._currentPosition === oContentArea._lastPosition) {
116
- this._resizeContents(iBar, (this.getCalculatedSizes()[iBar]) * -1, true);
117
+ this._resizeContents(iBar, (this._calculatedSizes[iBar]) * -1, true);
117
118
  } else {
118
119
  this._resizeContents(iBar, oContentArea._lastPosition, true);
119
120
  oContentArea._lastPosition = null;
@@ -63,7 +63,7 @@ sap.ui.define([
63
63
  * @extends sap.ui.core.Control
64
64
  *
65
65
  * @author SAP SE
66
- * @version 1.120.6
66
+ * @version 1.121.0
67
67
  *
68
68
  * @constructor
69
69
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Control
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.120.6
29
+ * @version 1.121.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -18,7 +18,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library'],
18
18
  * @class
19
19
  * Holds layout data for the BlockLayoutCells contents.
20
20
  * @extends sap.ui.core.LayoutData
21
- * @version 1.120.6
21
+ * @version 1.121.0
22
22
  * @constructor
23
23
  * @public
24
24
  * @since 1.50.0
@@ -32,7 +32,7 @@ sap.ui.define([
32
32
  * @extends sap.ui.core.Control
33
33
  *
34
34
  * @author SAP SE
35
- * @version 1.120.6
35
+ * @version 1.121.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -6,6 +6,7 @@
6
6
 
7
7
  // Provides control sap.ui.layout.DynamicSideContent.
8
8
  sap.ui.define([
9
+ "sap/ui/core/RenderManager",
9
10
  'sap/ui/thirdparty/jquery',
10
11
  'sap/ui/core/Control',
11
12
  'sap/ui/core/ResizeHandler',
@@ -13,7 +14,7 @@ sap.ui.define([
13
14
  'sap/ui/layout/library',
14
15
  './DynamicSideContentRenderer'
15
16
  ],
16
- function(jQuery, Control, ResizeHandler, ScrollEnablement, library, DynamicSideContentRenderer) {
17
+ function(RenderManager, jQuery, Control, ResizeHandler, ScrollEnablement, library, DynamicSideContentRenderer) {
17
18
  "use strict";
18
19
 
19
20
  // shortcut for sap.ui.layout.SideContentPosition
@@ -87,14 +88,16 @@ sap.ui.define([
87
88
  * side content disappears on screen widths of less than 720 px and can only be
88
89
  * viewed by triggering it.
89
90
  *
90
- * <b>Note:</b> If the control that has property sticky inside the <code>DynamicSideContent</code> the stickiness of that control will not work.
91
- * <code>DynamicSideContent</code> has the overflow: auto style definition and this prevents the sticky elements of the control from becoming fixed at the top of the viewport.
91
+ * <b>Note:</b> If there is a control that has property <code>sticky</code> inside the
92
+ * <code>DynamicSideContent</code> the stickiness of that control will not work.
93
+ * <code>DynamicSideContent</code> has the overflow: auto style definition and this prevents
94
+ * the sticky elements of the inside controls from becoming fixed at the top of the viewport.
92
95
  * This applies for example to {@link sap.m.Table} and {@link sap.m.PlanningCalendar}.
93
96
  *
94
97
  * @extends sap.ui.core.Control
95
98
  *
96
99
  * @author SAP SE
97
- * @version 1.120.6
100
+ * @version 1.121.0
98
101
  *
99
102
  * @constructor
100
103
  * @public
@@ -131,14 +134,50 @@ sap.ui.define([
131
134
  sideContentFallDown : {type : "sap.ui.layout.SideContentFallDown", group : "Appearance", defaultValue : SideContentFallDown.OnMinimumWidth},
132
135
 
133
136
  /**
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
+ * Sets the width of the side content for M breakpoint (screen width <= 1024 px and > 720px).
138
+ *
139
+ * Setting value to this property overrides the default width of the side content container in M breakpoint,
140
+ * except when an <code>equalSplit</code> property is set. The width of the main content container is calculated
141
+ * respectively.
142
+ *
143
+ * @since 1.121
144
+ */
145
+ sideContentWidthM : {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
146
+
147
+ /**
148
+ * Sets the width of the side content for L breakpoint (screen width <= 1440 px and > 1024px).
149
+ *
150
+ * Setting value to this property overrides the default width of the side content container in L breakpoint,
151
+ * except when an <code>equalSplit</code> property is set. The width of the main content container is calculated
152
+ * respectively.
153
+ *
154
+ * @since 1.121
155
+ */
156
+ sideContentWidthL : {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
157
+
158
+ /**
159
+ * Sets the width of the side content for XL breakpoint (screen width > 1440 px).
160
+ *
161
+ * Setting value to this property overrides the default width of the side content container in XL breakpoint,
162
+ * except when an <code>equalSplit</code> property is set. The width of the main content container is calculated
163
+ * respectively.
164
+ *
165
+ * @since 1.121
166
+ */
167
+ sideContentWidthXL : {type : "sap.ui.core.CSSSize", group : "Appearance", defaultValue : null},
168
+
169
+ /**
170
+ * Defines whether the control is in equal split mode. In this mode, the side and the main content take 50:50 percent
171
+ * of the container on all screen sizes except for phone, where the main and side contents are switching visibility
172
+ * using the toggle method.
173
+ *
174
+ * <b>Note:</b> setting this property overrides values set in <code>sideContentWidthM, sideContentWidthL, sideContentWidthXL</code>.
137
175
  */
138
176
  equalSplit : {type : "boolean", group : "Appearance", defaultValue : false},
139
177
 
140
178
  /**
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.
179
+ * If set to <code>true</code>, then not the media Query (device screen size) but the size of the container, surrounding the control,
180
+ * defines the current range.
142
181
  */
143
182
  containerQuery : {type : "boolean", group : "Behavior", defaultValue : false},
144
183
 
@@ -539,7 +578,7 @@ sap.ui.define([
539
578
  */
540
579
  DynamicSideContent.prototype._rerenderControl = function (aControls, $domElement) {
541
580
  if (this.getDomRef()) {
542
- var oRm = sap.ui.getCore().createRenderManager();
581
+ var oRm = new RenderManager().getInterface();
543
582
  this.getRenderer().renderControls(oRm, aControls);
544
583
  oRm.flush($domElement[0]);
545
584
  oRm.destroy();
@@ -609,6 +648,7 @@ sap.ui.define([
609
648
  } else if (iWidth > L_XL_BREAKPOINT && this._currentBreakpoint !== XL) {
610
649
  return XL;
611
650
  }
651
+
612
652
  return this._currentBreakpoint;
613
653
  };
614
654
 
@@ -619,11 +659,14 @@ sap.ui.define([
619
659
  * @param {int} iWidth is the parent container width
620
660
  */
621
661
  DynamicSideContent.prototype._setBreakpointFromWidth = function (iWidth) {
622
- this._currentBreakpoint = this._getBreakPointFromWidth(iWidth);
662
+ var sNewBreakpoint = this._getBreakPointFromWidth(iWidth),
663
+ sCurrentBreakpoint = this._currentBreakpoint;
664
+
665
+ this._currentBreakpoint = sNewBreakpoint;
623
666
  if (this._bSuppressInitialFireBreakPointChange) {
624
667
  this._bSuppressInitialFireBreakPointChange = false;
625
668
  } else {
626
- this.fireBreakpointChanged({currentBreakpoint : this._currentBreakpoint});
669
+ sNewBreakpoint !== sCurrentBreakpoint && this.fireBreakpointChanged({currentBreakpoint : this._currentBreakpoint});
627
670
  }
628
671
  };
629
672
 
@@ -638,9 +681,7 @@ sap.ui.define([
638
681
  this._iWindowWidth = jQuery(window).width();
639
682
  }
640
683
 
641
- this._currentBreakpoint = this._getBreakPointFromWidth(this._iWindowWidth);
642
-
643
- this._setResizeData(this._currentBreakpoint, this.getEqualSplit());
684
+ this._setResizeData(this._getBreakPointFromWidth(this._iWindowWidth), this.getEqualSplit());
644
685
  this._changeGridState();
645
686
  this._setBreakpointFromWidth(this._iWindowWidth);
646
687
  };
@@ -749,6 +790,31 @@ sap.ui.define([
749
790
  return ((bSameLine && bBothVisible) || bOneVisible || bFixedSC || bSCNeverShow);
750
791
  };
751
792
 
793
+ /** Gets the width (if any) for the current breakpoint
794
+ * @private
795
+ * @returns {string} width for the current breakpoint, or empty string if there is no such defined
796
+ */
797
+ DynamicSideContent.prototype._getSideContentWidth = function() {
798
+ var sWidth,
799
+ sBreakpoint = this.getCurrentBreakpoint();
800
+
801
+ switch (sBreakpoint) {
802
+ case M:
803
+ sWidth = this.getSideContentWidthM();
804
+ break;
805
+ case L:
806
+ sWidth = this.getSideContentWidthL();
807
+ break;
808
+ case XL:
809
+ sWidth = this.getSideContentWidthXL();
810
+ break;
811
+ default:
812
+ sWidth = "";
813
+ }
814
+
815
+ return sWidth;
816
+ };
817
+
752
818
  /**
753
819
  * Changes the state of the grid without re-rendering the control.
754
820
  * Shows and hides the main and side content.
@@ -758,9 +824,11 @@ sap.ui.define([
758
824
  var $sideContent = this.$(SC_GRID_CELL_SELECTOR),
759
825
  $mainContent = this.$(MC_GRID_CELL_SELECTOR),
760
826
  bMainContentVisibleProperty = this.getProperty("showMainContent"),
761
- bSideContentVisibleProperty = this.getProperty("showSideContent");
827
+ bSideContentVisibleProperty = this.getProperty("showSideContent"),
828
+ bFloat = this._shouldSetHeight(),
829
+ sSideContentWidth = this._getSideContentWidth();
762
830
 
763
- if (this._bFixedSideContent) {
831
+ if (this._bFixedSideContent && !sSideContentWidth) {
764
832
  $sideContent.removeClass().addClass(SC_FIXED_CLASS);
765
833
  $mainContent.removeClass().addClass(MC_FIXED_CLASS);
766
834
  } else {
@@ -769,35 +837,47 @@ sap.ui.define([
769
837
  }
770
838
 
771
839
  if (this._SCVisible && this._MCVisible && bSideContentVisibleProperty && bMainContentVisibleProperty) {
772
- if (!this._bFixedSideContent) {
840
+ if (!this._bFixedSideContent && (!sSideContentWidth || this.getEqualSplit())) {
773
841
  $mainContent.removeClass().addClass("sapUiDSCSpan" + this.getProperty("mcSpan"));
774
842
  $sideContent.removeClass().addClass("sapUiDSCSpan" + this.getProperty("scSpan"));
775
843
  }
776
- if (this._shouldSetHeight()) {
777
- $sideContent.css("height", "100%").css("float", "left");
778
- $mainContent.css("height", "100%").css("float", "left");
779
- } else {
780
- $sideContent.css("height", "auto").css("float", "none");
781
- $mainContent.css("height", "auto").css("float", "none");
782
- }
844
+ $mainContent.removeClass(HIDDEN_CLASS);
845
+ $sideContent.removeClass(HIDDEN_CLASS);
846
+ $sideContent.css(this._getSideContentStyles(bFloat));
847
+ $mainContent.css(this._getMainContentStyles(bFloat));
783
848
  } else if (!this._SCVisible && !this._MCVisible) {
784
849
  $mainContent.addClass(HIDDEN_CLASS);
785
850
  $sideContent.addClass(HIDDEN_CLASS);
786
- } else if (this._MCVisible && bMainContentVisibleProperty) {
787
- $mainContent.removeClass().addClass(SPAN_SIZE_12_CLASS);
851
+ } else if ((this._MCVisible && bMainContentVisibleProperty) || (!bMainContentVisibleProperty && !bSideContentVisibleProperty)) {
852
+ $mainContent.removeClass().addClass(SPAN_SIZE_12_CLASS).css("width", "");
788
853
  $sideContent.addClass(HIDDEN_CLASS);
789
854
  } else if (this._SCVisible && bSideContentVisibleProperty) {
790
- $sideContent.removeClass().addClass(SPAN_SIZE_12_CLASS);
855
+ $sideContent.removeClass().addClass(SPAN_SIZE_12_CLASS).css("width", "");
791
856
  $mainContent.addClass(HIDDEN_CLASS);
792
- } else if (!bMainContentVisibleProperty && !bSideContentVisibleProperty) {
793
- $mainContent.addClass(HIDDEN_CLASS);
794
- $sideContent.addClass(HIDDEN_CLASS);
795
857
  }
796
858
 
797
859
  $mainContent.addClass("sapUiDSCM");
798
860
  $sideContent.addClass("sapUiDSCS");
799
861
  };
800
862
 
863
+ DynamicSideContent.prototype._getMainContentStyles = function(bFloat) {
864
+ var sSideContentWidth = this._getSideContentWidth();
865
+ return {
866
+ "width": sSideContentWidth && bFloat && !this.getEqualSplit() ? "calc(100% - " + sSideContentWidth + ")" : "",
867
+ "float": bFloat ? "left" : "none",
868
+ "height": bFloat ? "100%" : "auto"
869
+ };
870
+ };
871
+
872
+ DynamicSideContent.prototype._getSideContentStyles = function(bFloat) {
873
+ var sSideContentWidth = this._getSideContentWidth();
874
+ return {
875
+ "width": sSideContentWidth && bFloat && !this.getEqualSplit() ? sSideContentWidth : "",
876
+ "float": bFloat ? "left" : "none",
877
+ "height": bFloat ? "100%" : "auto"
878
+ };
879
+ };
880
+
801
881
  /**
802
882
  * Sets the main and side content span size.
803
883
  * @param {int} iScSpan Side content span size