@syncfusion/ej2-layouts 20.1.55 → 20.1.58

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 : 20.1.55
3
+ * version : 20.1.58
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@20.1.47",
3
+ "_id": "@syncfusion/ej2-layouts@20.1.55",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-SJdbGojr4E+rPb/etHTUFuH9K3DzkNwIMTTMmqgmT73xsBwoQGXnT0M3TsxOvnUobwlXZP9J+Dxm1lJGII8V+Q==",
5
+ "_integrity": "sha512-Op2XpXOOSyULgrsuwDXCu2E4LRmCoeqxMQzMCMbl4oQ6M+7mMYbUnRzL37pK820w1oWIfjyJ/zvadcIusQF+HQ==",
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-20.1.47.tgz",
31
- "_shasum": "6203be48fbf92ecdbe10d1902709cd3eaf927b66",
30
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-20.1.55.tgz",
31
+ "_shasum": "2cc4380fbb340870830e1effed1ebc4b17953360",
32
32
  "_spec": "@syncfusion/ej2-layouts@*",
33
33
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
34
34
  "author": {
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~20.1.55"
39
+ "@syncfusion/ej2-base": "~20.1.57"
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,6 +76,6 @@
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": "20.1.55",
79
+ "version": "20.1.58",
80
80
  "sideEffects": false
81
81
  }
@@ -1063,7 +1063,7 @@ var Splitter = /** @class */ (function (_super) {
1063
1063
  paneMinRange = this.convertPercentageToPixel(this.paneSettings[i].min);
1064
1064
  }
1065
1065
  minValue = this.convertPixelToNumber((paneMinRange).toString());
1066
- if (this.orientation === 'Horizontal' ? this.allPanes[i].offsetWidth : this.allPanes[i].offsetHeight < minValue) {
1066
+ if ((this.orientation === 'Horizontal' ? this.allPanes[i].offsetWidth : this.allPanes[i].offsetHeight) < minValue) {
1067
1067
  if (i === paneIndex) {
1068
1068
  updatePane = this.allPanes[i];
1069
1069
  flexPane = this.allPanes[i + 1];
@@ -1205,22 +1205,20 @@ var Splitter = /** @class */ (function (_super) {
1205
1205
  var visiblePane = collapseCount === this.allPanes.length - 2;
1206
1206
  var panes = this.allPanes;
1207
1207
  for (var i = 0; i < panes.length; i++) {
1208
- if (panes[i].classList.contains(EXPAND_PANE)) {
1209
- panes[i].style.flexGrow = '1';
1210
- }
1211
- else if (panes[i].classList.contains(COLLAPSE_PANE)) {
1212
- panes[i].style.flexGrow = '0';
1213
- }
1214
- else {
1215
- panes[i].style.flexGrow = '';
1216
- }
1208
+ panes[i].style.flexGrow = '';
1217
1209
  if (status && !this.nextPane.classList.contains(COLLAPSE_PANE)) {
1218
1210
  this.nextPane.style.flexGrow = '1';
1219
1211
  }
1220
- if (visiblePane && !this.allPanes[i].classList.contains(COLLAPSE_PANE) && this.paneSettings[i].size &&
1212
+ if (visiblePane && this.allPanes[i].classList.contains(COLLAPSE_PANE) && this.paneSettings[i].size &&
1221
1213
  i !== this.allPanes.length - 1) {
1222
1214
  panes[i].style.flexGrow = '';
1223
1215
  }
1216
+ if (panes[i].classList.contains(EXPAND_PANE)) {
1217
+ panes[i].style.flexGrow = '1';
1218
+ }
1219
+ else if (panes[i].classList.contains(COLLAPSE_PANE)) {
1220
+ panes[i].style.flexGrow = '0';
1221
+ }
1224
1222
  }
1225
1223
  };
1226
1224
  Splitter.prototype.hideTargetBarIcon = function (targetBar, targetArrow) {