@syncfusion/ej2-layouts 33.1.47 → 33.2.3

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 : 33.1.47
3
+ * version : 33.2.3
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-layouts",
3
- "version": "33.1.47",
3
+ "version": "33.2.3",
4
4
  "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.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,7 +8,7 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-layouts.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~33.1.45"
11
+ "@syncfusion/ej2-base": "~33.2.3"
12
12
  },
13
13
  "devDependencies": {},
14
14
  "keywords": [
@@ -129,6 +129,7 @@ export declare class Splitter extends Component<HTMLElement> {
129
129
  private onMouseUpHandler;
130
130
  private onTouchMoveHandler;
131
131
  private onTouchEndHandler;
132
+ private documentClickHandler;
132
133
  private allPanes;
133
134
  private paneOrder;
134
135
  private separatorOrder;
@@ -298,6 +298,7 @@ var Splitter = /** @class */ (function (_super) {
298
298
  this.onMouseUpHandler = this.onMouseUp.bind(this);
299
299
  this.onTouchMoveHandler = this.onMouseMove.bind(this);
300
300
  this.onTouchEndHandler = this.onMouseUp.bind(this);
301
+ this.documentClickHandler = this.onDocumentClick.bind(this);
301
302
  this.wrapper = this.element.cloneNode(true);
302
303
  this.wrapperParent = this.element.parentElement;
303
304
  removeClass([this.wrapper], ['e-control', 'e-lib', ROOT]);
@@ -344,7 +345,7 @@ var Splitter = /** @class */ (function (_super) {
344
345
  this.collapseFlag = true;
345
346
  this.isCollapsed();
346
347
  this.collapseFlag = false;
347
- EventHandler.add(document, 'touchstart click', this.onDocumentClick, this);
348
+ EventHandler.add(document, 'touchstart click', this.documentClickHandler);
348
349
  this.renderComplete();
349
350
  this.element.ownerDocument.defaultView.addEventListener('resize', this.onReportWindowSize, true);
350
351
  EventHandler.add(this.element, 'keydown', this.onMove, this);
@@ -2239,7 +2240,8 @@ var Splitter = /** @class */ (function (_super) {
2239
2240
  Splitter.prototype.destroy = function () {
2240
2241
  if (!this.isDestroyed) {
2241
2242
  _super.prototype.destroy.call(this);
2242
- EventHandler.remove(document, 'touchstart click', this.onDocumentClick);
2243
+ EventHandler.remove(document, 'touchstart click', this.documentClickHandler);
2244
+ this.documentClickHandler = null;
2243
2245
  EventHandler.remove(this.element, 'keydown', this.onMove);
2244
2246
  this.element.ownerDocument.defaultView.removeEventListener('resize', this.onReportWindowSize, true);
2245
2247
  while (this.element.attributes.length > 0) {