@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.
- package/.eslintrc.json +18 -0
- package/THIRDPARTY.txt +5 -5
- package/package.json +2 -2
- package/src/sap/ui/layout/.library +1 -1
- package/src/sap/ui/layout/AlignedFlowLayout.js +1 -1
- package/src/sap/ui/layout/AssociativeSplitter.js +1 -1
- package/src/sap/ui/layout/BlockLayout.js +1 -1
- package/src/sap/ui/layout/BlockLayoutCell.js +1 -1
- package/src/sap/ui/layout/BlockLayoutCellData.js +1 -1
- package/src/sap/ui/layout/BlockLayoutRow.js +1 -1
- package/src/sap/ui/layout/DynamicSideContent.js +1 -1
- package/src/sap/ui/layout/FixFlex.js +1 -1
- package/src/sap/ui/layout/Grid.js +1 -1
- package/src/sap/ui/layout/GridData.js +1 -1
- package/src/sap/ui/layout/GridRenderer.js +1 -1
- package/src/sap/ui/layout/HorizontalLayout.js +1 -1
- package/src/sap/ui/layout/PaneContainer.js +1 -1
- package/src/sap/ui/layout/ResponsiveFlowLayout.js +4 -4
- package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +1 -1
- package/src/sap/ui/layout/ResponsiveSplitter.js +1 -1
- package/src/sap/ui/layout/ResponsiveSplitterPage.js +1 -1
- package/src/sap/ui/layout/SplitPane.js +1 -1
- package/src/sap/ui/layout/Splitter.js +1 -1
- package/src/sap/ui/layout/SplitterLayoutData.js +1 -1
- package/src/sap/ui/layout/VerticalLayout.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddFormContainer.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddFormField.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddSimpleFormField.js +1 -1
- package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +1 -1
- package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +1 -1
- package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +1 -1
- package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +1 -1
- package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +1 -1
- package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +1 -1
- package/src/sap/ui/layout/cssgrid/CSSGrid.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +1 -1
- package/src/sap/ui/layout/cssgrid/GridSettings.js +1 -1
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +1 -1
- package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +1 -1
- package/src/sap/ui/layout/form/ColumnContainerData.js +1 -1
- package/src/sap/ui/layout/form/ColumnElementData.js +1 -1
- package/src/sap/ui/layout/form/ColumnLayout.js +1 -1
- package/src/sap/ui/layout/form/Form.js +1 -1
- package/src/sap/ui/layout/form/FormContainer.js +1 -1
- package/src/sap/ui/layout/form/FormElement.js +1 -1
- package/src/sap/ui/layout/form/FormLayout.js +1 -1
- package/src/sap/ui/layout/form/GridContainerData.js +1 -1
- package/src/sap/ui/layout/form/GridElementData.js +1 -1
- package/src/sap/ui/layout/form/GridLayout.js +1 -1
- package/src/sap/ui/layout/form/ResponsiveGridLayout.js +1 -1
- package/src/sap/ui/layout/form/ResponsiveLayout.js +1 -1
- package/src/sap/ui/layout/form/SemanticFormElement.js +1 -1
- package/src/sap/ui/layout/form/SimpleForm.js +1 -1
- package/src/sap/ui/layout/library.js +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.
|
|
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:
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
9
|
+
<version>1.101.0</version>
|
|
10
10
|
|
|
11
11
|
<documentation>SAPUI5 library with layout controls.</documentation>
|
|
12
12
|
|
|
@@ -37,7 +37,7 @@ sap.ui.define([
|
|
|
37
37
|
* @extends sap.ui.core.Control
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
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.
|
|
572
|
-
ResizeHandler.deregister(this.
|
|
573
|
-
delete this.
|
|
571
|
+
if (this._resizeHandlerComputeWidthsID) {
|
|
572
|
+
ResizeHandler.deregister(this._resizeHandlerComputeWidthsID);
|
|
573
|
+
delete this._resizeHandlerComputeWidthsID;
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
@@ -24,7 +24,7 @@ sap.ui.define(['sap/ui/core/LayoutData', './library'],
|
|
|
24
24
|
* (The CSS value "auto" is used internally to recalculate the size of the content
|
|
25
25
|
* dynamically and is not directly set as style property.)
|
|
26
26
|
* @extends sap.ui.core.LayoutData
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.101.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -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.
|
|
22
|
+
* @version 1.101.0
|
|
23
23
|
* @experimental Since 1.27.0
|
|
24
24
|
*/
|
|
25
25
|
var AddSimpleFormGroup = {};
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
@@ -95,7 +95,7 @@ sap.ui.define([
|
|
|
95
95
|
* @see {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout MDN web docs: CSS Grid Layout}
|
|
96
96
|
*
|
|
97
97
|
* @author SAP SE
|
|
98
|
-
* @version 1.
|
|
98
|
+
* @version 1.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
|
* Have to possibility to hold multiple sap.ui.layout.cssgrid.GridSettings and apply the currently active GridSettings.
|
|
22
22
|
*
|
|
23
23
|
* @author SAP SE
|
|
24
|
-
* @version 1.
|
|
24
|
+
* @version 1.101.0
|
|
25
25
|
*
|
|
26
26
|
* @extends sap.ui.layout.cssgrid.GridLayoutBase
|
|
27
27
|
*
|
|
@@ -60,7 +60,7 @@ sap.ui.define([
|
|
|
60
60
|
* This control cannot be used stand-alone, it just renders a <code>Form</code> control,
|
|
61
61
|
* so it must be assigned to a <code>Form</code> control using the <code>layout</code> aggregation.
|
|
62
62
|
* @extends sap.ui.layout.form.FormLayout
|
|
63
|
-
* @version 1.
|
|
63
|
+
* @version 1.101.0
|
|
64
64
|
*
|
|
65
65
|
* @constructor
|
|
66
66
|
* @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.
|
|
56
|
+
* @version 1.101.0
|
|
57
57
|
*
|
|
58
58
|
* @constructor
|
|
59
59
|
* @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.
|
|
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
|
-
* @
|
|
21
|
+
* @alias sap.ui.layout
|
|
22
22
|
* @author SAP SE
|
|
23
|
-
* @version 1.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 (!
|
|
795
|
-
|
|
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 (!
|
|
812
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
971
|
+
return thisLib;
|
|
974
972
|
|
|
975
973
|
});
|