@syncfusion/ej2-layouts 21.2.6 → 21.2.9
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 +14 -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 +12 -4
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +12 -4
- 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/dashboard-layout/dashboard-layout.js +9 -4
- package/src/splitter/splitter.js +3 -0
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 21.2.
|
3
|
+
* version : 21.2.9
|
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.2.
|
3
|
+
"_id": "@syncfusion/ej2-layouts@21.2.6",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-oPRVnc4Y6GJ/EgKsDQT3KHvSjYdFBECeXE6zUvOBXRwJje/TDkTOrypx90XOgQ+8t0+VtC6y8+8wmzwKxiZepA==",
|
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-21.2.
|
31
|
-
"_shasum": "
|
30
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-21.2.6.tgz",
|
31
|
+
"_shasum": "dcd35ff989ae0708599b9728a48dea1d72604726",
|
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": "~21.2.
|
39
|
+
"@syncfusion/ej2-base": "~21.2.9"
|
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": "21.2.
|
79
|
+
"version": "21.2.9",
|
80
80
|
"sideEffects": false,
|
81
81
|
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
|
82
82
|
}
|
@@ -656,7 +656,12 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
656
656
|
this.panelPropertyChange(item, { sizeX: item.sizeX - 1 });
|
657
657
|
}
|
658
658
|
this.shadowEle.style.top = ((item.row * this.getCellSize()[1] + (item.row * this.cellSpacing[1]))) + 'px';
|
659
|
-
|
659
|
+
if (this.handleClass.indexOf('west') >= 0) {
|
660
|
+
this.shadowEle.style.left = ((item.col * this.getCellSize()[0]) + ((item.col - 1) * this.cellSpacing[0])) + 'px';
|
661
|
+
}
|
662
|
+
else {
|
663
|
+
this.shadowEle.style.left = ((item.col * this.getCellSize()[0]) + ((item.col) * this.cellSpacing[0])) + 'px';
|
664
|
+
}
|
660
665
|
this.shadowEle.style.height = ((item.sizeY * (this.getCellSize()[1] + (this.cellSpacing[1])))) + 'px';
|
661
666
|
this.shadowEle.style.width = ((item.sizeX * (this.getCellSize()[0] + (this.cellSpacing[0])))) + 'px';
|
662
667
|
if (oldSizeX !== item.sizeX || oldSizeY !== item.sizeY) {
|
@@ -673,6 +678,7 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
673
678
|
};
|
674
679
|
this.setAttributes(value, el);
|
675
680
|
this.mainElement = el;
|
681
|
+
this.checkCollision = [];
|
676
682
|
this.updatePanelLayout(el, this.getCellInstance(el.id));
|
677
683
|
this.updateOldRowColumn();
|
678
684
|
this.sortedPanel();
|
@@ -753,12 +759,11 @@ var DashboardLayout = /** @class */ (function (_super) {
|
|
753
759
|
return item;
|
754
760
|
};
|
755
761
|
DashboardLayout.prototype.pixelsToColumns = function (pixels, isCeil) {
|
756
|
-
var curColWidth = this.cellSize[0];
|
757
762
|
if (isCeil) {
|
758
|
-
return Math.ceil(pixels /
|
763
|
+
return Math.ceil(pixels / this.cellSize[0]);
|
759
764
|
}
|
760
765
|
else {
|
761
|
-
return Math.floor(pixels /
|
766
|
+
return Math.floor(pixels / (this.cellSize[0] + this.cellSpacing[0]));
|
762
767
|
}
|
763
768
|
};
|
764
769
|
DashboardLayout.prototype.pixelsToRows = function (pixels, isCeil) {
|
package/src/splitter/splitter.js
CHANGED
@@ -1812,6 +1812,9 @@ var Splitter = /** @class */ (function (_super) {
|
|
1812
1812
|
if (this.paneSettings[i].size === '') {
|
1813
1813
|
flexPaneCount = flexPaneCount + 1;
|
1814
1814
|
}
|
1815
|
+
else if (this.allPanes[i].style.flexBasis !== '') {
|
1816
|
+
this.paneSettings[i].size = this.allPanes[i].style.flexBasis;
|
1817
|
+
}
|
1815
1818
|
}
|
1816
1819
|
var allFlexiblePanes = flexPaneCount === this.allPanes.length;
|
1817
1820
|
// Two flexible Pane Case.
|