@syncfusion/ej2-filemanager 28.2.5 → 28.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 : 28.2.5
3
+ * version : 28.2.6
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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-filemanager@*",
3
- "_id": "@syncfusion/ej2-filemanager@28.2.4",
3
+ "_id": "@syncfusion/ej2-filemanager@28.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-+HE4qwS/wz7GmahSo6hadIMv8z9E+lwx6YRzZJJf5eieOaLLcym9zR5TXvTIeTSRWslxJzd9fgsKwxQKiznW0Q==",
5
+ "_integrity": "sha512-31cRdeawK1a8TD8lLVSAMNWhPm1yOz7alMKzudpvfPkzvOLMJTQGpQtH3Yy1XAcdM0uQ3U3YoMls8AIHZU9BYg==",
6
6
  "_location": "/@syncfusion/ej2-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -24,8 +24,8 @@
24
24
  "/@syncfusion/ej2-richtexteditor",
25
25
  "/@syncfusion/ej2-vue-filemanager"
26
26
  ],
27
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-28.2.4.tgz",
28
- "_shasum": "ecc27204cabf2401060c5c3405368b0af70d22b9",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-28.2.5.tgz",
28
+ "_shasum": "86a8dd9c862824b014222f54d5aa09484afcc1e6",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
31
31
  "author": {
@@ -37,14 +37,14 @@
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~28.2.5",
40
- "@syncfusion/ej2-buttons": "~28.2.3",
40
+ "@syncfusion/ej2-buttons": "~28.2.6",
41
41
  "@syncfusion/ej2-data": "~28.2.3",
42
- "@syncfusion/ej2-grids": "~28.2.5",
42
+ "@syncfusion/ej2-grids": "~28.2.6",
43
43
  "@syncfusion/ej2-inputs": "~28.2.3",
44
44
  "@syncfusion/ej2-layouts": "~28.2.5",
45
45
  "@syncfusion/ej2-lists": "~28.2.3",
46
- "@syncfusion/ej2-navigations": "~28.2.5",
47
- "@syncfusion/ej2-popups": "~28.2.3",
46
+ "@syncfusion/ej2-navigations": "~28.2.6",
47
+ "@syncfusion/ej2-popups": "~28.2.6",
48
48
  "@syncfusion/ej2-splitbuttons": "~28.2.3"
49
49
  },
50
50
  "deprecated": false,
@@ -75,6 +75,6 @@
75
75
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
76
76
  },
77
77
  "typings": "index.d.ts",
78
- "version": "28.2.5",
78
+ "version": "28.2.6",
79
79
  "sideEffects": false
80
80
  }
@@ -794,17 +794,19 @@ var FileManager = /** @class */ (function (_super) {
794
794
  }
795
795
  };
796
796
  FileManager.prototype.selectItems = function () {
797
- this.dragSelectedItems = [];
798
797
  var dragRect = this.dragSelectElement.getBoundingClientRect();
798
+ if (dragRect.height > 0 && dragRect.width > 0) {
799
+ this.dragSelectedItems = [];
800
+ removeClass(selectAll('.e-active', this.viewElem), ['e-active', 'e-focus']);
801
+ removeClass(selectAll('.e-check', this.viewElem), ['e-check']);
802
+ }
799
803
  var allItems = selectAll(this.viewElem.classList.contains('e-large-icons') ? '.e-list-item' : '.e-row', this.viewElem);
800
- removeClass(selectAll('.e-active', this.viewElem), ['e-active', 'e-focus']);
801
- removeClass(selectAll('.e-check', this.viewElem), ['e-check']);
802
804
  for (var _i = 0, allItems_1 = allItems; _i < allItems_1.length; _i++) {
803
805
  var item = allItems_1[_i];
804
806
  var itemRect = item.getBoundingClientRect();
805
807
  if (!(dragRect.right < itemRect.left || dragRect.left > itemRect.right
806
808
  || dragRect.bottom < itemRect.top || dragRect.top > itemRect.bottom)
807
- && (this.dragSelectElement.clientHeight > 0 && this.dragSelectElement.clientWidth > 0)) {
809
+ && (dragRect.height > 0 && dragRect.width > 0)) {
808
810
  if (this.viewElem.classList.contains('e-large-icons')) {
809
811
  item.classList.add('e-active');
810
812
  this.dragSelectedItems.push(item.getAttribute('title'));