@syncfusion/ej2-filemanager 29.1.34 → 29.1.39

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 : 29.1.33
3
+ * version : 29.1.39
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,31 +1,33 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-filemanager@29.1.33",
3
- "_id": "@syncfusion/ej2-filemanager@29.1.33",
2
+ "_from": "@syncfusion/ej2-filemanager@*",
3
+ "_id": "@syncfusion/ej2-filemanager@29.1.37",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-mnVcIAupHHgo20Ug3piaUPdtmwNqTt8Y48dSADBJBN0lha7LsIL98M0v21nIXJymhFHwyoWlF2hs7iQZJPxgUQ==",
5
+ "_integrity": "sha512-wTsFQZIE1s3sT8FdMoOcHbrpWJIyn4VH/xV65+2kuylugnIu+8eDKZRcxR3ifWhAUqNkhbeBI6Smam6+RZO7IQ==",
6
6
  "_location": "/@syncfusion/ej2-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
9
- "type": "version",
9
+ "type": "range",
10
10
  "registry": true,
11
- "raw": "@syncfusion/ej2-filemanager@29.1.33",
11
+ "raw": "@syncfusion/ej2-filemanager@*",
12
12
  "name": "@syncfusion/ej2-filemanager",
13
13
  "escapedName": "@syncfusion%2fej2-filemanager",
14
14
  "scope": "@syncfusion",
15
- "rawSpec": "29.1.34",
15
+ "rawSpec": "*",
16
16
  "saveSpec": null,
17
- "fetchSpec": "29.1.34"
17
+ "fetchSpec": "*"
18
18
  },
19
19
  "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
20
22
  "/@syncfusion/ej2-angular-filemanager",
21
23
  "/@syncfusion/ej2-react-filemanager",
22
24
  "/@syncfusion/ej2-richtexteditor",
23
25
  "/@syncfusion/ej2-vue-filemanager"
24
26
  ],
25
- "_resolved": "https://registry.npmjs.org/@syncfusion/ej2-filemanager/-/ej2-filemanager-29.1.33.tgz",
26
- "_shasum": "1bd1df2ce719b8dbe6d0de34667db78fe1d5288b",
27
- "_spec": "@syncfusion/ej2-filemanager@29.1.33",
28
- "_where": "E:\\march2025\\memory-leaks\\node_modules\\@syncfusion\\ej2-angular-filemanager",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-29.1.37.tgz",
28
+ "_shasum": "eb24bbc14735c31919b43636df98a72d1fc5c28e",
29
+ "_spec": "@syncfusion/ej2-filemanager@*",
30
+ "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
29
31
  "author": {
30
32
  "name": "Syncfusion Inc."
31
33
  },
@@ -34,15 +36,15 @@
34
36
  },
35
37
  "bundleDependencies": false,
36
38
  "dependencies": {
37
- "@syncfusion/ej2-base": "~29.1.33",
38
- "@syncfusion/ej2-buttons": "~29.1.33",
39
+ "@syncfusion/ej2-base": "~29.1.36",
40
+ "@syncfusion/ej2-buttons": "~29.1.34",
39
41
  "@syncfusion/ej2-data": "~29.1.33",
40
- "@syncfusion/ej2-grids": "~29.1.33",
41
- "@syncfusion/ej2-inputs": "~29.1.33",
42
- "@syncfusion/ej2-layouts": "~29.1.33",
43
- "@syncfusion/ej2-lists": "~29.1.33",
44
- "@syncfusion/ej2-navigations": "~29.1.33",
45
- "@syncfusion/ej2-popups": "~29.1.33",
42
+ "@syncfusion/ej2-grids": "~29.1.39",
43
+ "@syncfusion/ej2-inputs": "~29.1.39",
44
+ "@syncfusion/ej2-layouts": "~29.1.39",
45
+ "@syncfusion/ej2-lists": "~29.1.34",
46
+ "@syncfusion/ej2-navigations": "~29.1.38",
47
+ "@syncfusion/ej2-popups": "~29.1.37",
46
48
  "@syncfusion/ej2-splitbuttons": "~29.1.33"
47
49
  },
48
50
  "deprecated": false,
@@ -72,7 +74,7 @@
72
74
  "type": "git",
73
75
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
74
76
  },
75
- "sideEffects": false,
76
77
  "typings": "index.d.ts",
77
- "version": "29.1.34"
78
- }
78
+ "version": "29.1.39",
79
+ "sideEffects": false
80
+ }
@@ -712,21 +712,24 @@ var FileManager = /** @class */ (function (_super) {
712
712
  if (isBind) {
713
713
  this.viewElem = this.view === 'LargeIcons' ? this.largeiconsviewModule.element : this.element.querySelector('.e-gridcontent');
714
714
  }
715
- if (!this.viewElem) {
716
- return;
717
- }
718
715
  if (isBind) {
719
716
  if (this.allowMultiSelection) {
720
- EventHandler.add(this.viewElem, 'mousedown', this.onDragStart, this);
721
717
  this.on(events.layoutChange, this.onLayoutChange, this);
722
718
  this.on(events.selectionChanged, this.onLayoutChange, this);
723
719
  }
724
720
  }
725
721
  else {
726
- EventHandler.remove(this.viewElem, 'mousedown', this.onDragStart);
727
722
  this.off(events.layoutChange, this.onLayoutChange);
728
723
  this.off(events.selectionChanged, this.onLayoutChange);
729
724
  }
725
+ if (this.viewElem) {
726
+ if (isBind && this.allowMultiSelection) {
727
+ EventHandler.add(this.viewElem, 'mousedown', this.onDragStart, this);
728
+ }
729
+ else {
730
+ EventHandler.remove(this.viewElem, 'mousedown', this.onDragStart);
731
+ }
732
+ }
730
733
  };
731
734
  FileManager.prototype.wireEvents = function () {
732
735
  if (this.enableRangeSelection) {
@@ -826,7 +829,9 @@ var FileManager = /** @class */ (function (_super) {
826
829
  addClass(selectAll('.e-rowcell', item), ['e-active']);
827
830
  this.dragSelectedItems.push(item.querySelector('.e-drag-text').textContent);
828
831
  }
829
- item.querySelector('.e-frame').classList.add('e-check');
832
+ if (this.showItemCheckBoxes) {
833
+ item.querySelector('.e-frame').classList.add('e-check');
834
+ }
830
835
  }
831
836
  }
832
837
  };
@@ -923,6 +928,7 @@ var FileManager = /** @class */ (function (_super) {
923
928
  this.notify(events.modelChanged, { module: 'navigationpane', newProp: newProp, oldProp: oldProp });
924
929
  break;
925
930
  case 'path':
931
+ this.oldPath = oldProp.path;
926
932
  this.setPath();
927
933
  break;
928
934
  case 'searchSettings':
@@ -624,7 +624,7 @@ export function getSortedData(parent, items) {
624
624
  export function getObject(parent, key, value) {
625
625
  var currFiles = getValue(parent.pathId[parent.pathId.length - 1], parent.feFiles);
626
626
  var result = currFiles.filter(function (data) { return data[key].toString() === value; });
627
- return result.length > 0 ? result[0] : null;
627
+ return result[0];
628
628
  }
629
629
  /**
630
630
  * Creates empty element
@@ -838,16 +838,13 @@ export function setNextPath(parent, path) {
838
838
  var eventName = (folders[i + 1] === '') ? events.finalizeEnd : events.initialEnd;
839
839
  var newPath = (folders[i] === '') ? '/' : (parent.path + folders[i] + '/');
840
840
  var data = getObject(parent, key, folders[parseInt(i.toString(), 10)]);
841
- if (!isNullOrUndefined(data)) {
842
- var id = getValue('_fm_id', data);
843
- parent.setProperties({ path: newPath }, true);
841
+ var id = getValue('_fm_id', data);
842
+ parent.setProperties({ path: newPath }, true);
843
+ if (!isNullOrUndefined(id)) {
844
844
  parent.pathId.push(id);
845
- parent.itemData = [data];
846
- parent.pathNames.push(getValue('name', data));
847
- }
848
- else {
849
- parent.originalPath = newPath;
850
845
  }
846
+ parent.itemData = [data];
847
+ parent.pathNames.push(getValue('name', data));
851
848
  read(parent, eventName, parent.path);
852
849
  break;
853
850
  }