@syncfusion/ej2-layouts 19.4.48 → 19.4.52
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/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 +2 -2
- package/dist/es6/ej2-layouts.es2015.js.map +1 -1
- package/dist/es6/ej2-layouts.es5.js +2 -2
- 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/splitter/splitter.js +2 -2
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 19.4.
|
3
|
+
* version : 19.4.52
|
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@19.4.
|
3
|
+
"_id": "@syncfusion/ej2-layouts@19.4.48",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-wzxIalP5bcx4wLMyQVZGqC8x3Xas0l2+bSTbQu8shS+M11d9Vem9D/CefoEGTUNfJEkBqvVftMptYmCNxHarvA==",
|
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-19.4.
|
31
|
-
"_shasum": "
|
30
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-layouts/-/ej2-layouts-19.4.48.tgz",
|
31
|
+
"_shasum": "af95de585a1a293b4709c99026a27748ab32fbed",
|
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": "~19.4.
|
39
|
+
"@syncfusion/ej2-base": "~19.4.52"
|
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": "19.4.
|
79
|
+
"version": "19.4.52",
|
80
80
|
"sideEffects": false
|
81
81
|
}
|
package/src/splitter/splitter.js
CHANGED
@@ -1594,7 +1594,7 @@ var Splitter = /** @class */ (function (_super) {
|
|
1594
1594
|
};
|
1595
1595
|
Splitter.prototype.getSeparatorPosition = function (e) {
|
1596
1596
|
this.updateCursorPosition(e, 'current');
|
1597
|
-
var rectBound = (this.orientation === 'Horizontal') ? this.element.getBoundingClientRect().left :
|
1597
|
+
var rectBound = (this.orientation === 'Horizontal') ? this.element.getBoundingClientRect().left + window.scrollX :
|
1598
1598
|
this.element.getBoundingClientRect().top + window.scrollY;
|
1599
1599
|
var offSet = (this.orientation === 'Horizontal') ? this.element.offsetWidth : this.element.offsetHeight;
|
1600
1600
|
return this.calcDragPosition(rectBound, offSet);
|
@@ -1871,7 +1871,7 @@ var Splitter = /** @class */ (function (_super) {
|
|
1871
1871
|
}
|
1872
1872
|
};
|
1873
1873
|
Splitter.prototype.validateDraggedPosition = function (draggedPos, prevPaneHeightWidth, nextPaneHeightWidth) {
|
1874
|
-
var separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft :
|
1874
|
+
var separatorTopLeft = (this.orientation === 'Horizontal') ? this.currentSeparator.offsetLeft + window.scrollX :
|
1875
1875
|
this.currentSeparator.offsetTop;
|
1876
1876
|
var prePaneRange = separatorTopLeft - prevPaneHeightWidth;
|
1877
1877
|
var nextPaneRange = nextPaneHeightWidth + separatorTopLeft;
|