@syncfusion/ej2-layouts 22.1.36 → 22.2.5
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/CHANGELOG.md +12 -0
- package/dist/ej2-layouts.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js +2 -2
- package/dist/ej2-layouts.umd.min.js.map +1 -1
- package/dist/es6/ej2-layouts.es2015.js +5 -3
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +5 -3
- package/dist/es6/ej2-layouts.es5.js.map +1 -1
- package/dist/global/ej2-layouts.min.js +2 -2
- package/dist/global/ej2-layouts.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/splitter/splitter.js +5 -3
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 22.
|
3
|
+
* version : 22.2.5
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
|
5
5
|
* Use of this code is subject to the terms of our license.
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-layouts@*",
|
3
|
-
"_id": "@syncfusion/ej2-layouts@
|
3
|
+
"_id": "@syncfusion/ej2-layouts@22.1.37",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-m/C8nW+4b7qChqfXtjtV0u4x08hlbN+JNPX5hNlGW7GGxTVYk+wGizhJSSPSfP5U2QW7/TTcLBKMezEXMeL8hg==",
|
6
6
|
"_location": "/@syncfusion/ej2-layouts",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"/@syncfusion/ej2-react-layouts",
|
28
28
|
"/@syncfusion/ej2-vue-layouts"
|
29
29
|
],
|
30
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-
|
31
|
-
"_shasum": "
|
30
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-22.1.37.tgz",
|
31
|
+
"_shasum": "90ae9b46c9f1447c1560dd1a741ecc006a012949",
|
32
32
|
"_spec": "@syncfusion/ej2-layouts@*",
|
33
33
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
34
34
|
"author": {
|
@@ -36,7 +36,7 @@
|
|
36
36
|
},
|
37
37
|
"bundleDependencies": false,
|
38
38
|
"dependencies": {
|
39
|
-
"@syncfusion/ej2-base": "~22.
|
39
|
+
"@syncfusion/ej2-base": "~22.2.5"
|
40
40
|
},
|
41
41
|
"deprecated": false,
|
42
42
|
"description": "A package of Essential JS 2 layout pure CSS components such as card and avatar. The card is used as small container to show content in specific structure, whereas the avatars are icons, initials or figures representing particular person.",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/layouts"
|
77
77
|
},
|
78
78
|
"typings": "index.d.ts",
|
79
|
-
"version": "22.
|
79
|
+
"version": "22.2.5",
|
80
80
|
"sideEffects": false,
|
81
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
82
82
|
}
|
package/src/splitter/splitter.js
CHANGED
@@ -1096,10 +1096,12 @@ var Splitter = /** @class */ (function (_super) {
|
|
1096
1096
|
this.allPanes[i].offsetWidth : this.allPanes[i].offsetHeight);
|
1097
1097
|
var isPercent = updatePane.style.flexBasis.indexOf('%') > -1;
|
1098
1098
|
var updatePaneOffset = this.orientation === 'Horizontal' ? updatePane.offsetWidth : updatePane.offsetHeight;
|
1099
|
-
updatePane.style.flexBasis
|
1100
|
-
|
1099
|
+
if (!isNullOrUndefined(updatePane) && updatePane.style.flexBasis !== '' && updatePane.classList.contains(STATIC_PANE)) {
|
1100
|
+
updatePane.style.flexBasis = isPercent ? this.convertPixelToPercentage(updatePaneOffset + sizeDiff) + '%'
|
1101
|
+
: (updatePaneOffset + sizeDiff) + 'px';
|
1102
|
+
}
|
1101
1103
|
var flexPaneOffset = this.orientation === 'Horizontal' ? flexPane.offsetWidth : flexPane.offsetHeight;
|
1102
|
-
if (flexPane.style.flexBasis !== '') {
|
1104
|
+
if (!isNullOrUndefined(flexPane) && flexPane.style.flexBasis !== '' && !flexPane.classList.contains(STATIC_PANE)) {
|
1103
1105
|
flexPane.style.flexBasis = flexPane.style.flexBasis.indexOf('%') > -1 ?
|
1104
1106
|
this.convertPixelToPercentage(flexPaneOffset - sizeDiff) + '%' : (flexPaneOffset - sizeDiff) + 'px';
|
1105
1107
|
}
|