@syncfusion/ej2-layouts 22.1.36 → 22.1.37
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 +10 -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 +5 -5
- 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.1.
|
3
|
+
* version : 22.1.37
|
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.36",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-vlw2CzId0ZKom9vBs3nYZQ+urOdpSCxtO8X9OsaUqPtWLhFzLnOX41koFE7d7fq/KZMWDZ5Ms+BL0AXk5XYLqw==",
|
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.36.tgz",
|
31
|
+
"_shasum": "241226a09158f0c2e2d740bd30ac8a55f6739540",
|
32
32
|
"_spec": "@syncfusion/ej2-layouts@*",
|
33
33
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
34
34
|
"author": {
|
@@ -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.1.
|
79
|
+
"version": "22.1.37",
|
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
|
}
|