@syncfusion/ej2-layouts 20.1.58 → 20.1.61

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.58
3
+ * version : 20.1.61
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.55",
3
+ "_id": "@syncfusion/ej2-layouts@20.1.58",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Op2XpXOOSyULgrsuwDXCu2E4LRmCoeqxMQzMCMbl4oQ6M+7mMYbUnRzL37pK820w1oWIfjyJ/zvadcIusQF+HQ==",
5
+ "_integrity": "sha512-Yoo0oKLRCpNrc4VWz4kGIEsSdF8tTh62hLzM2wPE7ULszPbucUZgaiLzu3SKEbpg4Qf0oi4mamZQ7q5gXyRGOg==",
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.55.tgz",
31
- "_shasum": "2cc4380fbb340870830e1effed1ebc4b17953360",
30
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-20.1.58.tgz",
31
+ "_shasum": "b31c51a86cbcaf3e5dd7b85f415b6a77b60e4964",
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.57"
39
+ "@syncfusion/ej2-base": "~20.1.61"
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.58",
79
+ "version": "20.1.61",
80
80
  "sideEffects": false
81
81
  }
@@ -990,9 +990,15 @@ var DashboardLayout = /** @class */ (function (_super) {
990
990
  var heightValue;
991
991
  var widthValue;
992
992
  if (this.checkMediaQuery()) {
993
- heightValue = ((this.maxRow()) *
993
+ var entirePanelsY = 0;
994
+ for (var i = 0; i < this.panels.length; i++) {
995
+ if (this.panels[i].sizeY) {
996
+ entirePanelsY += this.panels[i].sizeY;
997
+ }
998
+ }
999
+ heightValue = ((entirePanelsY) *
994
1000
  (this.element.parentElement && ((this.element.parentElement.offsetWidth)) / this.cellAspectRatio) +
995
- (this.maxRow() - 1) * this.cellSpacing[1]) + 'px';
1001
+ (entirePanelsY - 1) * this.cellSpacing[1]) + 'px';
996
1002
  }
997
1003
  else {
998
1004
  heightValue = ((this.maxRow()) *