@syncfusion/ej2-filemanager 29.1.34 → 29.1.37

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.37
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",
2
+ "_from": "@syncfusion/ej2-filemanager@*",
3
3
  "_id": "@syncfusion/ej2-filemanager@29.1.33",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-mnVcIAupHHgo20Ug3piaUPdtmwNqTt8Y48dSADBJBN0lha7LsIL98M0v21nIXJymhFHwyoWlF2hs7iQZJPxgUQ==",
5
+ "_integrity": "sha512-gC86B58GmVTA9Npp7eJveLGgxLrV1i4HiqAbyjuDMcZHEG6Aw4UAoTdO99x45s0nh80TRqpzWc7IeNmKUgFcjA==",
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.33.tgz",
28
+ "_shasum": "965fb58405171cd3b4f684bf5f9bcedabc2ea042",
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.37",
43
+ "@syncfusion/ej2-inputs": "~29.1.34",
44
+ "@syncfusion/ej2-layouts": "~29.1.37",
45
+ "@syncfusion/ej2-lists": "~29.1.34",
46
+ "@syncfusion/ej2-navigations": "~29.1.37",
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.37",
79
+ "sideEffects": false
80
+ }
@@ -923,6 +923,7 @@ var FileManager = /** @class */ (function (_super) {
923
923
  this.notify(events.modelChanged, { module: 'navigationpane', newProp: newProp, oldProp: oldProp });
924
924
  break;
925
925
  case 'path':
926
+ this.oldPath = oldProp.path;
926
927
  this.setPath();
927
928
  break;
928
929
  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
  }