@syncfusion/ej2-layouts 19.3.44 → 19.3.48

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 : 19.3.44
3
+ * version : 19.3.48
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@18.23.7",
3
+ "_id": "@syncfusion/ej2-layouts@19.3.44",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-CMePvOOx9B17e0D/dLknB37+dJV7wpQa5RQBfNh8A8cPodX/ZWHIr8jElXeG43HQifMIFH4G8gDQN6r4ZZG3Ig==",
5
+ "_integrity": "sha512-+tAdEU4xho9kvR35bvJnp4xfh5vb5hayEZ/4/iWMkgzGN/+YmoZ7rAySqyjk5XIrN9AVV6nYqHduNhBgqKQBTQ==",
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/@syncfusion/ej2-layouts/-/ej2-layouts-18.23.7.tgz",
31
- "_shasum": "bd23f5277351df6a2d390c8a5a9b528fb7f4db2b",
30
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-layouts/-/ej2-layouts-19.3.44.tgz",
31
+ "_shasum": "a83ee561cb5b9b02f20271de35a222269fefd27d",
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.3.43"
39
+ "@syncfusion/ej2-base": "~19.3.47"
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.3.44",
79
+ "version": "19.3.48",
80
80
  "sideEffects": false
81
81
  }
@@ -639,10 +639,6 @@ var DashboardLayout = /** @class */ (function (_super) {
639
639
  currentX = this.getMaxWidth(panelModel) - this.elementWidth;
640
640
  this.mOffX = dX - currentX;
641
641
  }
642
- else if (this.elementX + this.elementWidth + dX > this.maxLeft) {
643
- currentX = this.maxLeft - this.elementX - this.elementWidth;
644
- this.mOffX = dX - currentX;
645
- }
646
642
  this.elementWidth += currentX;
647
643
  }
648
644
  el.style.top = this.elementY + 'px';
@@ -882,7 +878,6 @@ var DashboardLayout = /** @class */ (function (_super) {
882
878
  var row = parseInt(ele.getAttribute('data-row'), 10);
883
879
  var col = parseInt(ele.getAttribute('data-col'), 10);
884
880
  this.panelPropertyChange(cellInstance, { row: row, col: col });
885
- this.updatePanelLayout(ele, cellInstance);
886
881
  this.setHeightAndWidth(ele, this.getCellInstance(ele.id));
887
882
  this.setPanelPosition(ele, row, col);
888
883
  this.updateRowHeight();
@@ -125,6 +125,10 @@ export declare type Orientation = 'Horizontal' | 'Vertical';
125
125
  */
126
126
  export declare class Splitter extends Component<HTMLElement> {
127
127
  private onReportWindowSize;
128
+ private onMouseMoveHandler;
129
+ private onMouseUpHandler;
130
+ private onTouchMoveHandler;
131
+ private onTouchEndHandler;
128
132
  private allPanes;
129
133
  private paneOrder;
130
134
  private separatorOrder;
@@ -261,6 +261,10 @@ var Splitter = /** @class */ (function (_super) {
261
261
  };
262
262
  Splitter.prototype.preRender = function () {
263
263
  this.onReportWindowSize = this.reportWindowSize.bind(this);
264
+ this.onMouseMoveHandler = this.onMouseMove.bind(this);
265
+ this.onMouseUpHandler = this.onMouseUp.bind(this);
266
+ this.onTouchMoveHandler = this.onMouseMove.bind(this);
267
+ this.onTouchEndHandler = this.onMouseUp.bind(this);
264
268
  this.wrapper = this.element.cloneNode(true);
265
269
  this.wrapperParent = this.element.parentElement;
266
270
  removeClass([this.wrapper], ['e-control', 'e-lib', ROOT]);
@@ -1078,21 +1082,21 @@ var Splitter = /** @class */ (function (_super) {
1078
1082
  }
1079
1083
  };
1080
1084
  Splitter.prototype.wireResizeEvents = function () {
1081
- EventHandler.add(document, 'mousemove', this.onMouseMove, this);
1082
- EventHandler.add(document, 'mouseup', this.onMouseUp, this);
1085
+ document.addEventListener('mousemove', this.onMouseMoveHandler, true);
1086
+ document.addEventListener('mouseup', this.onMouseUpHandler, true);
1083
1087
  var touchMoveEvent = (Browser.info.name === 'msie') ? 'pointermove' : 'touchmove';
1084
1088
  var touchEndEvent = (Browser.info.name === 'msie') ? 'pointerup' : 'touchend';
1085
- EventHandler.add(document, touchMoveEvent, this.onMouseMove, this);
1086
- EventHandler.add(document, touchEndEvent, this.onMouseUp, this);
1089
+ document.addEventListener(touchMoveEvent, this.onTouchMoveHandler, true);
1090
+ document.addEventListener(touchEndEvent, this.onTouchEndHandler, true);
1087
1091
  };
1088
1092
  Splitter.prototype.unwireResizeEvents = function () {
1089
1093
  this.element.ownerDocument.defaultView.removeEventListener('resize', this.onReportWindowSize);
1090
1094
  var touchMoveEvent = (Browser.info.name === 'msie') ? 'pointermove' : 'touchmove';
1091
1095
  var touchEndEvent = (Browser.info.name === 'msie') ? 'pointerup' : 'touchend';
1092
- EventHandler.remove(document, 'mousemove', this.onMouseMove);
1093
- EventHandler.remove(document, 'mouseup', this.onMouseUp);
1094
- EventHandler.remove(document, touchMoveEvent, this.onMouseMove);
1095
- EventHandler.remove(document, touchEndEvent, this.onMouseUp);
1096
+ document.removeEventListener('mousemove', this.onMouseMoveHandler, true);
1097
+ document.removeEventListener('mouseup', this.onMouseUpHandler, true);
1098
+ document.removeEventListener(touchMoveEvent, this.onTouchMoveHandler, true);
1099
+ document.removeEventListener(touchEndEvent, this.onTouchEndHandler, true);
1096
1100
  };
1097
1101
  Splitter.prototype.wireClickEvents = function () {
1098
1102
  EventHandler.add(this.currentSeparator, 'touchstart click', this.clickHandler, this);