@syncfusion/ej2-lists 34.1.30 → 34.2.6

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 : 34.1.30
3
+ * version : 34.2.6
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-lists",
3
- "version": "34.1.30",
3
+ "version": "34.2.6",
4
4
  "description": "The listview control allows you to select an item or multiple items from a list-like interface and represents the data in interactive hierarchical structure across different layouts or views.",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,10 +8,10 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-lists.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~34.1.30",
12
- "@syncfusion/ej2-buttons": "~34.1.30",
13
- "@syncfusion/ej2-data": "~34.1.29",
14
- "@syncfusion/ej2-popups": "~34.1.29"
11
+ "@syncfusion/ej2-base": "~34.2.6",
12
+ "@syncfusion/ej2-buttons": "~34.2.6",
13
+ "@syncfusion/ej2-data": "~34.2.6",
14
+ "@syncfusion/ej2-popups": "~34.2.6"
15
15
  },
16
16
  "devDependencies": {},
17
17
  "keywords": [
@@ -218,8 +218,8 @@ var Sortable = /** @class */ (function (_super) {
218
218
  target: e.target, droppedElement: _this.target, helper: e.helper, cancel: false
219
219
  };
220
220
  _this.trigger('beforeDrop', beforeDropArgs, function (observedArgs) {
221
- if ((isDroppedOnContainer || (typeof sortableTargetElement.className === 'string' && sortableTargetElement.className.indexOf('e-list-nrt') > -1) || (typeof sortableTargetElement.className === 'string' && sortableTargetElement.className.indexOf('e-list-nr-template') > -1)
222
- || sortableTargetElement.closest('.e-list-nr-template')) && !observedArgs.cancel) {
221
+ if ((isDroppedOnContainer || (sortableTargetElement && typeof sortableTargetElement.className === 'string' && sortableTargetElement.className.indexOf('e-list-nrt') > -1) || (sortableTargetElement && typeof sortableTargetElement.className === 'string' && sortableTargetElement.className.indexOf('e-list-nr-template') > -1)
222
+ || (sortableTargetElement && sortableTargetElement.closest('.e-list-nr-template')) && !observedArgs.cancel)) {
223
223
  _this.updateItemClass(dropInst);
224
224
  dropInst.element.appendChild(_this.target);
225
225
  _this.trigger('drop', {