@syncfusion/ej2-filemanager 25.1.38 → 25.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 : 25.1.38
3
+ * version : 25.1.39
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@25.1.37",
3
+ "_id": "@syncfusion/ej2-filemanager@25.1.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-E1C2uMBrLbHmWH7u6iECQldBwNpGb9Y/bbviwBWKb9VCw3lZzpTQCJ3rYq3Ek5iLJrvTYQ59AonoF/F3RAdSMA==",
5
+ "_integrity": "sha512-S/wBZ4ksnyUS3R/E9PjNk+i2KZo3uNPOMgJBeaeVedW4cggmMGGYp+ruHeVqMG+NKvBnQ68cGKTkm8Uaa5+DLw==",
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-25.1.37.tgz",
28
- "_shasum": "cf782a89b485d61d55101285fe5e01c7b2e094a0",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-25.1.38.tgz",
28
+ "_shasum": "1005ff10885cd23c419a2a2746a9c90cb44f4b0a",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
31
31
  "author": {
@@ -37,14 +37,14 @@
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
39
  "@syncfusion/ej2-base": "~25.1.35",
40
- "@syncfusion/ej2-buttons": "~25.1.35",
40
+ "@syncfusion/ej2-buttons": "~25.1.39",
41
41
  "@syncfusion/ej2-data": "~25.1.35",
42
- "@syncfusion/ej2-grids": "~25.1.38",
42
+ "@syncfusion/ej2-grids": "~25.1.39",
43
43
  "@syncfusion/ej2-inputs": "~25.1.38",
44
44
  "@syncfusion/ej2-layouts": "~25.1.37",
45
- "@syncfusion/ej2-lists": "~25.1.35",
46
- "@syncfusion/ej2-navigations": "~25.1.38",
47
- "@syncfusion/ej2-popups": "~25.1.38",
45
+ "@syncfusion/ej2-lists": "~25.1.39",
46
+ "@syncfusion/ej2-navigations": "~25.1.39",
47
+ "@syncfusion/ej2-popups": "~25.1.39",
48
48
  "@syncfusion/ej2-splitbuttons": "~25.1.38"
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": "25.1.38",
78
+ "version": "25.1.39",
79
79
  "sideEffects": false
80
80
  }
@@ -808,11 +808,16 @@ export function setNextPath(parent, path) {
808
808
  var newPath = (folders[i] === '') ? '/' : (parent.path + folders[i] + '/');
809
809
  // eslint-disable-next-line
810
810
  var data = getObject(parent, key, folders[i]);
811
- var id = getValue('_fm_id', data);
812
- parent.setProperties({ path: newPath }, true);
813
- parent.pathId.push(id);
814
- parent.itemData = [data];
815
- parent.pathNames.push(getValue('name', data));
811
+ if (!isNullOrUndefined(data)) {
812
+ var id = getValue('_fm_id', data);
813
+ parent.setProperties({ path: newPath }, true);
814
+ parent.pathId.push(id);
815
+ parent.itemData = [data];
816
+ parent.pathNames.push(getValue('name', data));
817
+ }
818
+ else {
819
+ parent.originalPath = newPath;
820
+ }
816
821
  read(parent, eventName, parent.path);
817
822
  break;
818
823
  }
@@ -82,7 +82,6 @@ var ContextMenu = /** @class */ (function () {
82
82
  /* istanbul ignore next */
83
83
  ContextMenu.prototype.onBeforeOpen = function (args) {
84
84
  var _this = this;
85
- this.disabledItems = [];
86
85
  var selected = false;
87
86
  var uid;
88
87
  // eslint-disable-next-line
@@ -629,7 +628,7 @@ var ContextMenu = /** @class */ (function () {
629
628
  return items;
630
629
  };
631
630
  ContextMenu.prototype.getMenuId = function (id) {
632
- return this.parent.element.id + '_cm_' + id.toLowerCase();
631
+ return this.parent.element.id + '_cm_' + id.split(' ').join('').toLowerCase();
633
632
  };
634
633
  return ContextMenu;
635
634
  }());