@syncfusion/ej2-layouts 21.2.3 → 21.2.6

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.3
3
+ * version : 21.2.6
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@21.1.37",
3
+ "_id": "@syncfusion/ej2-layouts@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+PUnMdmbw2cVqQnCPP9lVnVA/J9RTIeaZfqANChc33zOcCbFhVXE0kmk0hptthwVJ4o+ICZSoWUK+Rvz4fyeJg==",
5
+ "_integrity": "sha512-5Y1k2bCEewBOxotcUlKSaK1QQe62BJyxVGfBiHjvcrW6ul8xbyw9fjrJ39BKPeP0yRQ2oc8x2hT04MzbPv6Hcw==",
6
6
  "_location": "/@syncfusion/ej2-layouts",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,13 +19,16 @@
19
19
  "_requiredBy": [
20
20
  "/",
21
21
  "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-layouts",
22
23
  "/@syncfusion/ej2-filemanager",
23
24
  "/@syncfusion/ej2-gantt",
24
25
  "/@syncfusion/ej2-kanban",
25
- "/@syncfusion/ej2-pdfviewer"
26
+ "/@syncfusion/ej2-pdfviewer",
27
+ "/@syncfusion/ej2-react-layouts",
28
+ "/@syncfusion/ej2-vue-layouts"
26
29
  ],
27
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-21.1.37.tgz",
28
- "_shasum": "2c4a5590c91e6709a59a62e6a344c8b9842c65d6",
30
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-21.2.3.tgz",
31
+ "_shasum": "cb31dfc8902d90e3f641ab42286a5e21c8fb6e0a",
29
32
  "_spec": "@syncfusion/ej2-layouts@*",
30
33
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
31
34
  "author": {
@@ -73,7 +76,7 @@
73
76
  "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/tree/master/controls/layouts"
74
77
  },
75
78
  "typings": "index.d.ts",
76
- "version": "21.2.3",
79
+ "version": "21.2.6",
77
80
  "sideEffects": false,
78
81
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
79
82
  }
@@ -344,7 +344,7 @@ var Splitter = /** @class */ (function (_super) {
344
344
  var prePaneSize = this.orientation === 'Horizontal' ? this.previousPane.offsetWidth : this.previousPane.offsetHeight;
345
345
  var nextPaneSize = this.orientation === 'Horizontal' ? this.nextPane.offsetWidth : this.nextPane.offsetHeight;
346
346
  var splitBarSize = isNullOrUndefined(this.separatorSize) ? BAR_SIZE_DEFAULT : this.separatorSize;
347
- if ((this.previousPane.style.flexBasis.indexOf('%') > 0 || this.nextPane.style.flexBasis.indexOf('%') > 0)) {
347
+ if ((this.previousPane.style.flexBasis.indexOf('%') > 0 || this.previousPane.style.flexBasis.indexOf('p') > 0 || this.nextPane.style.flexBasis.indexOf('%') > 0)) {
348
348
  var previousFlexBasis = this.updatePaneFlexBasis(this.previousPane);
349
349
  var nextFlexBasis = this.updatePaneFlexBasis(this.nextPane);
350
350
  this.totalPercent = previousFlexBasis + nextFlexBasis;
@@ -1098,8 +1098,10 @@ var Splitter = /** @class */ (function (_super) {
1098
1098
  updatePane.style.flexBasis = isPercent ? this.convertPixelToPercentage(updatePaneOffset + sizeDiff) + '%'
1099
1099
  : (updatePaneOffset + sizeDiff) + 'px';
1100
1100
  var flexPaneOffset = this.orientation === 'Horizontal' ? flexPane.offsetWidth : flexPane.offsetHeight;
1101
- flexPane.style.flexBasis = flexPane.style.flexBasis.indexOf('%') > -1 ?
1102
- this.convertPixelToPercentage(flexPaneOffset - sizeDiff) + '%' : (flexPaneOffset - sizeDiff) + 'px';
1101
+ if (flexPane.style.flexBasis !== '') {
1102
+ flexPane.style.flexBasis = flexPane.style.flexBasis.indexOf('%') > -1 ?
1103
+ this.convertPixelToPercentage(flexPaneOffset - sizeDiff) + '%' : (flexPaneOffset - sizeDiff) + 'px';
1104
+ }
1103
1105
  }
1104
1106
  }
1105
1107
  }