@openui5/sap.ui.layout 1.100.0 → 1.101.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 (59) hide show
  1. package/.eslintrc.json +18 -0
  2. package/THIRDPARTY.txt +5 -5
  3. package/package.json +2 -2
  4. package/src/sap/ui/layout/.library +1 -1
  5. package/src/sap/ui/layout/AlignedFlowLayout.js +1 -1
  6. package/src/sap/ui/layout/AssociativeSplitter.js +1 -1
  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 +1 -1
  12. package/src/sap/ui/layout/FixFlex.js +1 -1
  13. package/src/sap/ui/layout/Grid.js +1 -1
  14. package/src/sap/ui/layout/GridData.js +1 -1
  15. package/src/sap/ui/layout/GridRenderer.js +1 -1
  16. package/src/sap/ui/layout/HorizontalLayout.js +1 -1
  17. package/src/sap/ui/layout/PaneContainer.js +1 -1
  18. package/src/sap/ui/layout/ResponsiveFlowLayout.js +4 -4
  19. package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +1 -1
  20. package/src/sap/ui/layout/ResponsiveSplitter.js +1 -1
  21. package/src/sap/ui/layout/ResponsiveSplitterPage.js +1 -1
  22. package/src/sap/ui/layout/SplitPane.js +1 -1
  23. package/src/sap/ui/layout/Splitter.js +1 -1
  24. package/src/sap/ui/layout/SplitterLayoutData.js +1 -1
  25. package/src/sap/ui/layout/VerticalLayout.js +1 -1
  26. package/src/sap/ui/layout/changeHandler/AddFormContainer.js +1 -1
  27. package/src/sap/ui/layout/changeHandler/AddFormField.js +1 -1
  28. package/src/sap/ui/layout/changeHandler/AddSimpleFormField.js +1 -1
  29. package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +1 -1
  30. package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +1 -1
  31. package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +1 -1
  32. package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +1 -1
  33. package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +1 -1
  34. package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +1 -1
  35. package/src/sap/ui/layout/cssgrid/CSSGrid.js +1 -1
  36. package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +1 -1
  37. package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +1 -1
  38. package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +1 -1
  39. package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +1 -1
  40. package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +1 -1
  41. package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +1 -1
  42. package/src/sap/ui/layout/cssgrid/GridSettings.js +1 -1
  43. package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +1 -1
  44. package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +1 -1
  45. package/src/sap/ui/layout/form/ColumnContainerData.js +1 -1
  46. package/src/sap/ui/layout/form/ColumnElementData.js +1 -1
  47. package/src/sap/ui/layout/form/ColumnLayout.js +1 -1
  48. package/src/sap/ui/layout/form/Form.js +1 -1
  49. package/src/sap/ui/layout/form/FormContainer.js +1 -1
  50. package/src/sap/ui/layout/form/FormElement.js +1 -1
  51. package/src/sap/ui/layout/form/FormLayout.js +1 -1
  52. package/src/sap/ui/layout/form/GridContainerData.js +1 -1
  53. package/src/sap/ui/layout/form/GridElementData.js +1 -1
  54. package/src/sap/ui/layout/form/GridLayout.js +1 -1
  55. package/src/sap/ui/layout/form/ResponsiveGridLayout.js +1 -1
  56. package/src/sap/ui/layout/form/ResponsiveLayout.js +1 -1
  57. package/src/sap/ui/layout/form/SemanticFormElement.js +1 -1
  58. package/src/sap/ui/layout/form/SimpleForm.js +1 -1
  59. package/src/sap/ui/layout/library.js +33 -35
package/.eslintrc.json ADDED
@@ -0,0 +1,18 @@
1
+ {
2
+ "overrides": [
3
+ /*
4
+ * Productive code, sample and unit test code of sap.ui.layout has been cleaned up.
5
+ * No more references to the global jQuery allowed
6
+ */
7
+ {
8
+ "files": [
9
+ "src/**/*.js",
10
+ "test/sap/ui/layout/demokit/**/*.js",
11
+ "test/sap/ui/layout/qunit/**/*.js"
12
+ ],
13
+ "globals": {
14
+ "jQuery": "off"
15
+ }
16
+ }
17
+ ]
18
+ }
package/THIRDPARTY.txt CHANGED
@@ -400,7 +400,7 @@ Contained in: src/sap.ui.mdc/test/sap/ui/mdc/sample/field/filterfieldwithoperato
400
400
 
401
401
  Library: sap.ui.webc.common:
402
402
 
403
- Component: UI5 Web Components, version: 1.0.0-rc.12
403
+ Component: UI5 Web Components, version: 1.1.2
404
404
  Copyright: SAP
405
405
  License: Apache-2.0
406
406
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -411,7 +411,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/base/*.*
411
411
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-tnt/*.*
412
412
  src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons-business-suite/*.*
413
413
 
414
- Component: lit-html, version: 1.4.1
414
+ Component: lit-html, version: 2.0.1
415
415
  Copyright: Google LLC
416
416
  License: BSD-3-Clause
417
417
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/BSD-3-Clause.txt
@@ -420,7 +420,7 @@ Contained in: src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/lit-html/
420
420
 
421
421
  Library: sap.ui.webc.fiori:
422
422
 
423
- Component: UI5 Web Components, version: 1.0.0-rc.12
423
+ Component: UI5 Web Components, version: 1.1.2
424
424
  Copyright: SAP
425
425
  License: Apache-2.0
426
426
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -429,7 +429,7 @@ Contained in: src/sap.ui.webc.fiori/src/sap/ui/webc/fiori/thirdparty/*.*
429
429
 
430
430
  Library: sap.ui.webc.main:
431
431
 
432
- Component: UI5 Web Components, version: 1.0.0-rc.12
432
+ Component: UI5 Web Components, version: 1.1.2
433
433
  Copyright: SAP
434
434
  License: Apache-2.0
435
435
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
@@ -450,7 +450,7 @@ License: Apache-2.0
450
450
  License Text: https://github.com/SAP/openui5/blob/master/LICENSES/Apache-2.0.txt
451
451
  Contained in: lib/jsdoc/ui5/plugin.js
452
452
 
453
- Component: SAP Theming Base Content, version: 11.1.36-SNAPSHOT
453
+ Component: SAP Theming Base Content, version: 11.1.38
454
454
  Copyright: SAP SE or an SAP affiliate company and Theming Base Content contributors
455
455
  License: Apache-2.0
456
456
  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.100.0",
3
+ "version": "1.101.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.100.0"
17
+ "@openui5/sap.ui.core": "1.101.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.100.0</version>
9
+ <version>1.101.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.100.0
43
+ * @version 1.101.0
44
44
  *
45
45
  * @constructor
46
46
  * @private
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.layout.Splitter
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.100.0
28
+ * @version 1.101.0
29
29
  *
30
30
  * @constructor
31
31
  * @private
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends sap.ui.core.Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.100.0
65
+ * @version 1.101.0
66
66
  *
67
67
  * @constructor
68
68
  * @public
@@ -27,7 +27,7 @@ sap.ui.define([
27
27
  * @extends sap.ui.core.Control
28
28
  *
29
29
  * @author SAP SE
30
- * @version 1.100.0
30
+ * @version 1.101.0
31
31
  *
32
32
  * @constructor
33
33
  * @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.100.0
21
+ * @version 1.101.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.100.0
35
+ * @version 1.101.0
36
36
  *
37
37
  * @constructor
38
38
  * @public
@@ -94,7 +94,7 @@ sap.ui.define([
94
94
  * @extends sap.ui.core.Control
95
95
  *
96
96
  * @author SAP SE
97
- * @version 1.100.0
97
+ * @version 1.101.0
98
98
  *
99
99
  * @constructor
100
100
  * @public
@@ -52,7 +52,7 @@ sap.ui.define([
52
52
  * @extends sap.ui.core.Control
53
53
  *
54
54
  * @author SAP SE
55
- * @version 1.100.0
55
+ * @version 1.101.0
56
56
  *
57
57
  * @constructor
58
58
  * @public
@@ -59,7 +59,7 @@ sap.ui.define([
59
59
  * @extends sap.ui.core.Control
60
60
  *
61
61
  * @author SAP SE
62
- * @version 1.100.0
62
+ * @version 1.101.0
63
63
  *
64
64
  * @constructor
65
65
  * @public
@@ -28,7 +28,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library', "sap/base/Log"],
28
28
  * @extends sap.ui.core.LayoutData
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.100.0
31
+ * @version 1.101.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -15,7 +15,7 @@ sap.ui.define(["sap/ui/Device", "sap/ui/layout/library"],
15
15
  /**
16
16
  * @author SAP SE
17
17
  * @version
18
- * 1.100.0
18
+ * 1.101.0
19
19
  * @namespace
20
20
  */
21
21
  var GridRenderer = {
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/Control', './library', "./HorizontalLayoutRenderer"]
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.100.0
25
+ * @version 1.101.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -24,7 +24,7 @@ sap.ui.define(['./library', 'sap/ui/core/Element', './AssociativeSplitter', 'sap
24
24
  * @extends sap.ui.core.Element
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.100.0
27
+ * @version 1.101.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -37,7 +37,7 @@ sap.ui.define([
37
37
  * @extends sap.ui.core.Control
38
38
  *
39
39
  * @author SAP SE
40
- * @version 1.100.0
40
+ * @version 1.101.0
41
41
  *
42
42
  * @constructor
43
43
  * @public
@@ -568,9 +568,9 @@ sap.ui.define([
568
568
  // update the internal structure of the rows
569
569
  updateRows(this);
570
570
 
571
- if (this._resizeHandlerFullLengthID) {
572
- ResizeHandler.deregister(this._resizeHandlerFullLengthID);
573
- delete this._resizeHandlerFullLengthID;
571
+ if (this._resizeHandlerComputeWidthsID) {
572
+ ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
573
+ delete this._resizeHandlerComputeWidthsID;
574
574
  }
575
575
  };
576
576
 
@@ -22,7 +22,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library', "sap/base/Log"],
22
22
  * @extends sap.ui.core.LayoutData
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.100.0
25
+ * @version 1.101.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -70,7 +70,7 @@ sap.ui.define([
70
70
  * @extends sap.ui.core.Control
71
71
  *
72
72
  * @author SAP SE
73
- * @version 1.100.0
73
+ * @version 1.101.0
74
74
  *
75
75
  * @constructor
76
76
  * @public
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends sap.ui.core.Control
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.100.0
27
+ * @version 1.101.0
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -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.100.0
29
+ * @version 1.101.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -68,7 +68,7 @@ sap.ui.define([
68
68
  * @extends sap.ui.core.Control
69
69
  *
70
70
  * @author SAP SE
71
- * @version 1.100.0
71
+ * @version 1.101.0
72
72
  *
73
73
  * @constructor
74
74
  * @public
@@ -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.100.0
27
+ * @version 1.101.0
28
28
  *
29
29
  * @constructor
30
30
  * @public
@@ -25,7 +25,7 @@ sap.ui.define([
25
25
  * @extends sap.ui.core.Control
26
26
  *
27
27
  * @author SAP SE
28
- * @version 1.100.0
28
+ * @version 1.101.0
29
29
  *
30
30
  * @constructor
31
31
  * @public
@@ -21,7 +21,7 @@ sap.ui.define([
21
21
  * Change handler for adding a form group.
22
22
  * @alias sap.ui.layout.changeHandler.AddFormContainer
23
23
  * @author SAP SE
24
- * @version 1.100.0
24
+ * @version 1.101.0
25
25
  * @experimental Since 1.48.0
26
26
  */
27
27
  var AddGroup = { };
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  *
20
20
  * @author SAP SE
21
21
  *
22
- * @version 1.100.0
22
+ * @version 1.101.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.
@@ -91,7 +91,7 @@ sap.ui.define([
91
91
  *
92
92
  * @author SAP SE
93
93
  *
94
- * @version 1.100.0
94
+ * @version 1.101.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.
@@ -19,7 +19,7 @@ sap.ui.define([
19
19
  * Change handler for adding a simple form group.
20
20
  * @alias sap.ui.layout.changeHandler.AddSimpleFormGroup
21
21
  * @author SAP SE
22
- * @version 1.100.0
22
+ * @version 1.101.0
23
23
  * @experimental Since 1.27.0
24
24
  */
25
25
  var AddSimpleFormGroup = {};
@@ -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.100.0
20
+ * @version 1.101.0
21
21
  * @experimental Since 1.27.0
22
22
  */
23
23
  var HideForm = { };
@@ -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.100.0
23
+ * @version 1.101.0
24
24
  * @experimental Since 1.34.0
25
25
  */
26
26
  var MoveSimpleForm = {};
@@ -18,7 +18,7 @@ sap.ui.define([
18
18
  *
19
19
  * @alias sap.ui.layout.changeHandler.RenameFormContainer
20
20
  * @author SAP SE
21
- * @version 1.100.0
21
+ * @version 1.101.0
22
22
  * @since 1.48
23
23
  * @private
24
24
  * @experimental Since 1.48. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @alias sap.ui.layout.changeHandler.RenameForm
22
22
  * @author SAP SE
23
- * @version 1.100.0
23
+ * @version 1.101.0
24
24
  * @since 1.40
25
25
  * @private
26
26
  * @experimental Since 1.40. This class is experimental and provides only limited functionality. Also the API might be changed in future.
@@ -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.100.0
16
+ * @version 1.101.0
17
17
  * @experimental Since 1.27.0
18
18
  */
19
19
  var UnhideForm = { };
@@ -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.100.0
98
+ * @version 1.101.0
99
99
  *
100
100
  * @extends sap.ui.core.Control
101
101
  * @implements sap.ui.layout.cssgrid.IGridConfigurable
@@ -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.100.0
24
+ * @version 1.101.0
25
25
  *
26
26
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
27
27
  *
@@ -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.100.0
51
+ * @version 1.101.0
52
52
  *
53
53
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
54
54
  *
@@ -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.100.0
32
+ * @version 1.101.0
33
33
  *
34
34
  * @constructor
35
35
  * @public
@@ -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.100.0
39
+ * @version 1.101.0
40
40
  *
41
41
  * @extends sap.ui.base.ManagedObject
42
42
  *
@@ -20,7 +20,7 @@ sap.ui.define([
20
20
  *
21
21
  * @extends sap.ui.base.Object
22
22
  *
23
- * @version 1.100.0
23
+ * @version 1.101.0
24
24
  * @alias sap.ui.layout.cssgrid.GridLayoutDelegate
25
25
  * @public
26
26
  */
@@ -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.100.0
24
+ * @version 1.101.0
25
25
  *
26
26
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
27
27
  *
@@ -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.100.0
23
+ * @version 1.101.0
24
24
  *
25
25
  * @extends sap.ui.base.ManagedObject
26
26
  *
@@ -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.100.0
23
+ * @version 1.101.0
24
24
  *
25
25
  * @since 1.72
26
26
  * @constructor
@@ -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.100.0
36
+ * @version 1.101.0
37
37
  *
38
38
  * @extends sap.ui.layout.cssgrid.GridLayoutBase
39
39
  *
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.100.0
29
+ * @version 1.101.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.LayoutData
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.100.0
29
+ * @version 1.101.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -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.100.0
63
+ * @version 1.101.0
64
64
  *
65
65
  * @constructor
66
66
  * @public
@@ -44,7 +44,7 @@ sap.ui.define([
44
44
  * @extends sap.ui.core.Control
45
45
  *
46
46
  * @author SAP SE
47
- * @version 1.100.0
47
+ * @version 1.101.0
48
48
  *
49
49
  * @constructor
50
50
  * @public
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.ui.core.Element
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.100.0
31
+ * @version 1.101.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -26,7 +26,7 @@ sap.ui.define([
26
26
  * @extends sap.ui.core.Element
27
27
  *
28
28
  * @author SAP SE
29
- * @version 1.100.0
29
+ * @version 1.101.0
30
30
  *
31
31
  * @constructor
32
32
  * @public
@@ -36,7 +36,7 @@ sap.ui.define([
36
36
  * @extends sap.ui.core.Control
37
37
  *
38
38
  * @author SAP SE
39
- * @version 1.100.0
39
+ * @version 1.101.0
40
40
  *
41
41
  * @constructor
42
42
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.LayoutData
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.100.0
25
+ * @version 1.101.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.LayoutData
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.100.0
25
+ * @version 1.101.0
26
26
  *
27
27
  * @constructor
28
28
  * @public
@@ -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.100.0
31
+ * @version 1.101.0
32
32
  *
33
33
  * @constructor
34
34
  * @public
@@ -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.100.0
56
+ * @version 1.101.0
57
57
  *
58
58
  * @constructor
59
59
  * @public
@@ -50,7 +50,7 @@ sap.ui.define([
50
50
  * @extends sap.ui.layout.form.FormLayout
51
51
  *
52
52
  * @author SAP SE
53
- * @version 1.100.0
53
+ * @version 1.101.0
54
54
  *
55
55
  * @constructor
56
56
  * @public
@@ -30,7 +30,7 @@ sap.ui.define([
30
30
  * @extends sap.ui.layout.form.FormElement
31
31
  *
32
32
  * @author SAP SE
33
- * @version 1.100.0
33
+ * @version 1.101.0
34
34
  *
35
35
  * @constructor
36
36
  * @public
@@ -67,7 +67,7 @@ sap.ui.define([
67
67
  * <b>Note:</b> If a more complex form is needed, use the <code>{@link sap.ui.layout.form.Form Form}</code> control instead.
68
68
  *
69
69
  * @extends sap.ui.core.Control
70
- * @version 1.100.0
70
+ * @version 1.101.0
71
71
  *
72
72
  * @constructor
73
73
  * @public
@@ -18,17 +18,15 @@ sap.ui.define([
18
18
  * SAPUI5 library with layout controls.
19
19
  *
20
20
  * @namespace
21
- * @name sap.ui.layout
21
+ * @alias sap.ui.layout
22
22
  * @author SAP SE
23
- * @version 1.100.0
23
+ * @version 1.101.0
24
24
  * @since 1.15
25
25
  * @public
26
26
  */
27
-
28
- // delegate further initialization of this library to the Core
29
- sap.ui.getCore().initLibrary({
27
+ var thisLib = sap.ui.getCore().initLibrary({
30
28
  name : "sap.ui.layout",
31
- version: "1.100.0",
29
+ version: "1.101.0",
32
30
  dependencies: ["sap.ui.core"],
33
31
  designtime: "sap/ui/layout/designtime/library.designtime",
34
32
  types: [
@@ -199,7 +197,7 @@ sap.ui.define([
199
197
  * @since 1.36.0
200
198
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
201
199
  */
202
- sap.ui.layout.BackgroundDesign = {
200
+ thisLib.BackgroundDesign = {
203
201
 
204
202
  /**
205
203
  * A solid background color dependent on the theme.
@@ -236,7 +234,7 @@ sap.ui.define([
236
234
  * @public
237
235
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
238
236
  */
239
- sap.ui.layout.GridIndent = DataType.createType('sap.ui.layout.GridIndent', {
237
+ thisLib.GridIndent = DataType.createType('sap.ui.layout.GridIndent', {
240
238
  isValid : function(vValue) {
241
239
  return /^(([Xx][Ll](?:[0-9]|1[0-1]))? ?([Ll](?:[0-9]|1[0-1]))? ?([Mm](?:[0-9]|1[0-1]))? ?([Ss](?:[0-9]|1[0-1]))?)$/.test(vValue);
242
240
  }
@@ -253,7 +251,7 @@ sap.ui.define([
253
251
  * @public
254
252
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
255
253
  */
256
- sap.ui.layout.GridPosition = {
254
+ thisLib.GridPosition = {
257
255
 
258
256
  /**
259
257
  * <code>Grid</code> is aligned left.
@@ -291,7 +289,7 @@ sap.ui.define([
291
289
  * @public
292
290
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
293
291
  */
294
- sap.ui.layout.GridSpan = DataType.createType('sap.ui.layout.GridSpan', {
292
+ thisLib.GridSpan = DataType.createType('sap.ui.layout.GridSpan', {
295
293
  isValid : function(vValue) {
296
294
  return /^(([Xx][Ll](?:[1-9]|1[0-2]))? ?([Ll](?:[1-9]|1[0-2]))? ?([Mm](?:[1-9]|1[0-2]))? ?([Ss](?:[1-9]|1[0-2]))?)$/.test(vValue);
297
295
  }
@@ -307,7 +305,7 @@ sap.ui.define([
307
305
  * @public
308
306
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
309
307
  */
310
- sap.ui.layout.BlockBackgroundType = {
308
+ thisLib.BlockBackgroundType = {
311
309
  /**
312
310
  * Background is transparent
313
311
  * @public
@@ -344,7 +342,7 @@ sap.ui.define([
344
342
  * @public
345
343
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
346
344
  */
347
- sap.ui.layout.BlockRowColorSets = {
345
+ thisLib.BlockRowColorSets = {
348
346
  /**
349
347
  * sap.ui.layout.BlockBackgroundType.Default: N/A
350
348
  * sap.ui.layout.BlockBackgroundType.Light: Color Set 1
@@ -392,7 +390,7 @@ sap.ui.define([
392
390
  * @since 1.48
393
391
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
394
392
  */
395
- sap.ui.layout.BlockLayoutCellColorSet = {
393
+ thisLib.BlockLayoutCellColorSet = {
396
394
  /**
397
395
  * Color Set 1
398
396
  *
@@ -470,7 +468,7 @@ sap.ui.define([
470
468
  * @since 1.48
471
469
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
472
470
  */
473
- sap.ui.layout.BlockLayoutCellColorShade = {
471
+ thisLib.BlockLayoutCellColorShade = {
474
472
  /**
475
473
  * Shade A
476
474
  *
@@ -510,7 +508,7 @@ sap.ui.define([
510
508
  };
511
509
 
512
510
 
513
- sap.ui.layout.form = sap.ui.layout.form || {};
511
+ thisLib.form = thisLib.form || {};
514
512
 
515
513
  /**
516
514
  * @classdesc A string that defines the number of used cells in a <code>GridLayout</code>. This can be a number from 1 to 16, "auto" or "full".
@@ -521,7 +519,7 @@ sap.ui.define([
521
519
  * @public
522
520
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
523
521
  */
524
- sap.ui.layout.form.GridElementCells = DataType.createType('sap.ui.layout.form.GridElementCells', {
522
+ thisLib.form.GridElementCells = DataType.createType('sap.ui.layout.form.GridElementCells', {
525
523
  isValid : function(vValue) {
526
524
  return /^(auto|full|([1-9]|1[0-6]))$/.test(vValue);
527
525
  }
@@ -539,7 +537,7 @@ sap.ui.define([
539
537
  * @since 1.16.0
540
538
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
541
539
  */
542
- sap.ui.layout.form.SimpleFormLayout = {
540
+ thisLib.form.SimpleFormLayout = {
543
541
 
544
542
  /**
545
543
  * Uses the <code>ResponsiveLayout</code> layout to render the <code>SimpleForm</code> control
@@ -581,7 +579,7 @@ sap.ui.define([
581
579
  * @since 1.30
582
580
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
583
581
  */
584
- sap.ui.layout.SideContentVisibility = {
582
+ thisLib.SideContentVisibility = {
585
583
  /**
586
584
  * Show the side content on any breakpoint
587
585
  * @public
@@ -617,7 +615,7 @@ sap.ui.define([
617
615
  * @since 1.30
618
616
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
619
617
  */
620
- sap.ui.layout.SideContentFallDown = {
618
+ thisLib.SideContentFallDown = {
621
619
  /**
622
620
  * Side content falls down on breakpoints below XL
623
621
  * @public
@@ -647,7 +645,7 @@ sap.ui.define([
647
645
  * @public
648
646
  * @ui5-metamodel This enumeration also will be described in the UI5 (legacy) designtime metamodel
649
647
  */
650
- sap.ui.layout.SideContentPosition = {
648
+ thisLib.SideContentPosition = {
651
649
  /**
652
650
  * The side content is on the right side of the main container in left-to-right mode and on the left side in right-to-left mode.
653
651
  * @public
@@ -674,7 +672,7 @@ sap.ui.define([
674
672
  * @since 1.56.0
675
673
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
676
674
  */
677
- sap.ui.layout.form.ColumnsXL = DataType.createType('sap.ui.layout.form.ColumnsXL', {
675
+ thisLib.form.ColumnsXL = DataType.createType('sap.ui.layout.form.ColumnsXL', {
678
676
  isValid : function(vValue) {
679
677
  if (vValue > 0 && vValue <= 6) {
680
678
  return true;
@@ -699,7 +697,7 @@ sap.ui.define([
699
697
  * @since 1.56.0
700
698
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
701
699
  */
702
- sap.ui.layout.form.ColumnsL = DataType.createType('sap.ui.layout.form.ColumnsL', {
700
+ thisLib.form.ColumnsL = DataType.createType('sap.ui.layout.form.ColumnsL', {
703
701
  isValid : function(vValue) {
704
702
  if (vValue > 0 && vValue <= 3) {
705
703
  return true;
@@ -724,7 +722,7 @@ sap.ui.define([
724
722
  * @since 1.56.0
725
723
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
726
724
  */
727
- sap.ui.layout.form.ColumnsM = DataType.createType('sap.ui.layout.form.ColumnsM', {
725
+ thisLib.form.ColumnsM = DataType.createType('sap.ui.layout.form.ColumnsM', {
728
726
  isValid : function(vValue) {
729
727
  if (vValue > 0 && vValue <= 2) {
730
728
  return true;
@@ -749,7 +747,7 @@ sap.ui.define([
749
747
  * @since 1.56.0
750
748
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
751
749
  */
752
- sap.ui.layout.form.ColumnCells = DataType.createType('sap.ui.layout.form.ColumnCells', {
750
+ thisLib.form.ColumnCells = DataType.createType('sap.ui.layout.form.ColumnCells', {
753
751
  isValid : function(vValue) {
754
752
  if (vValue === -1) {
755
753
  return true;
@@ -777,7 +775,7 @@ sap.ui.define([
777
775
  * @since 1.56.0
778
776
  * @ui5-metamodel This simple type also will be described in the UI5 (legacy) designtime metamodel
779
777
  */
780
- sap.ui.layout.form.EmptyCells = DataType.createType('sap.ui.layout.form.EmptyCells', {
778
+ thisLib.form.EmptyCells = DataType.createType('sap.ui.layout.form.EmptyCells', {
781
779
  isValid : function(vValue) {
782
780
  if (vValue >= 0 && vValue < 12) {
783
781
  return true;
@@ -791,8 +789,8 @@ sap.ui.define([
791
789
  );
792
790
 
793
791
  // factory for Form to create labels and buttons to be overwritten by commons and mobile library
794
- if (!sap.ui.layout.form.FormHelper) {
795
- sap.ui.layout.form.FormHelper = {
792
+ if (!thisLib.form.FormHelper) {
793
+ thisLib.form.FormHelper = {
796
794
  createLabel: function(sText){ throw new Error("no Label control available!"); }, /* must return a Label control */
797
795
  createButton: function(sId, fPressFunction, fnCallback){ throw new Error("no Button control available!"); }, /* must return a button control */
798
796
  setButtonContent: function(oButton, sText, sTooltip, sIcon, sIconHovered){ throw new Error("no Button control available!"); },
@@ -808,8 +806,8 @@ sap.ui.define([
808
806
  };
809
807
  }
810
808
 
811
- if (!sap.ui.layout.GridHelper) {
812
- sap.ui.layout.GridHelper = {
809
+ if (!thisLib.GridHelper) {
810
+ thisLib.GridHelper = {
813
811
  getLibrarySpecificClass: function () {
814
812
  return "";
815
813
  },
@@ -827,7 +825,7 @@ sap.ui.define([
827
825
  * @final
828
826
  * @ui5-metamodel This simple type will also be described in the UI5 (legacy) designtime metamodel
829
827
  */
830
- sap.ui.layout.cssgrid.CSSGridTrack = DataType.createType("sap.ui.layout.cssgrid.CSSGridTrack", {
828
+ thisLib.cssgrid.CSSGridTrack = DataType.createType("sap.ui.layout.cssgrid.CSSGridTrack", {
831
829
  isValid: function (sValue) {
832
830
  var sCSSSizeRegex = /(auto|inherit|(([0-9]+|[0-9]*\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%))|calc\(\s*(\(\s*)*[-+]?(([0-9]+|[0-9]*\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)(\s*(\)\s*)*(\s[-+]\s|[*\/])\s*(\(\s*)*([-+]?(([0-9]+|[0-9]*\.[0-9]+)([rR][eE][mM]|[eE][mM]|[eE][xX]|[pP][xX]|[cC][mM]|[mM][mM]|[iI][nN]|[pP][tT]|[pP][cC]|[vV][wW]|[vV][hH]|[vV][mM][iI][nN]|[vV][mM][aA][xX]|%)?)))*\s*(\)\s*)*\))/g;
833
831
 
@@ -861,7 +859,7 @@ sap.ui.define([
861
859
  * @final
862
860
  * @ui5-metamodel This simple type will also be described in the UI5 (legacy) designtime metamodel
863
861
  */
864
- sap.ui.layout.cssgrid.CSSGridGapShortHand = DataType.createType("sap.ui.layout.cssgrid.CSSGridGapShortHand", {
862
+ thisLib.cssgrid.CSSGridGapShortHand = DataType.createType("sap.ui.layout.cssgrid.CSSGridGapShortHand", {
865
863
  isValid: function (vValue) {
866
864
  var bResult = true,
867
865
  aValues = vValue.split(/\s+/);
@@ -904,7 +902,7 @@ sap.ui.define([
904
902
  * @final
905
903
  * @ui5-metamodel This simple type will also be described in the UI5 (legacy) designtime metamodel
906
904
  */
907
- sap.ui.layout.cssgrid.CSSGridLine = DataType.createType("sap.ui.layout.cssgrid.CSSGridLine", {
905
+ thisLib.cssgrid.CSSGridLine = DataType.createType("sap.ui.layout.cssgrid.CSSGridLine", {
908
906
  isValid: function (sValue) {
909
907
  return /^(auto|inherit|((span)?(\s)?-?[0-9]+(\s\/\s(span)?(\s)?-?[0-9]*)?)?)$/.test(sValue);
910
908
  }
@@ -922,7 +920,7 @@ sap.ui.define([
922
920
  * @public
923
921
  * @ui5-metamodel This simple type will also be described in the UI5 (legacy) designtime metamodel
924
922
  */
925
- sap.ui.layout.cssgrid.CSSGridAutoFlow = {
923
+ thisLib.cssgrid.CSSGridAutoFlow = {
926
924
 
927
925
  /**
928
926
  * Insert auto-placed items by filling each row.
@@ -962,7 +960,7 @@ sap.ui.define([
962
960
  * @final
963
961
  * @ui5-metamodel This simple type will also be described in the UI5 (legacy) designtime metamodel
964
962
  */
965
- sap.ui.layout.BoxesPerRowConfig = DataType.createType("sap.ui.layout.BoxesPerRowConfig", {
963
+ thisLib.BoxesPerRowConfig = DataType.createType("sap.ui.layout.BoxesPerRowConfig", {
966
964
  isValid : function(vValue) {
967
965
  return /^(([Xx][Ll](?:[1-9]|1[0-2]))? ?([Ll](?:[1-9]|1[0-2]))? ?([Mm](?:[1-9]|1[0-2]))? ?([Ss](?:[1-9]|1[0-2]))?)$/.test(vValue);
968
966
  }
@@ -970,6 +968,6 @@ sap.ui.define([
970
968
  DataType.getType("string")
971
969
  );
972
970
 
973
- return sap.ui.layout;
971
+ return thisLib;
974
972
 
975
973
  });