@syncfusion/ej2-filemanager 27.1.53 → 27.1.55

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 : 27.1.53
3
+ * version : 27.1.55
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@27.1.52",
3
+ "_id": "@syncfusion/ej2-filemanager@27.1.53",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-U0UQRAbfvPPuY5OCEXBnXOQ7iluYVdm4XEPLYmPbGyDdMFcnBlJThLH+vswhSwYthmyajeP0BiwH+WKtr7QD5Q==",
5
+ "_integrity": "sha512-4tJ8ruowY8+8ZO/Pd3l95roLJUeYZm2aXtMknO/sD0II3m09P4zofLqDjPETq/rig4kuR0U83mDX/jTUjXo++A==",
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-27.1.52.tgz",
28
- "_shasum": "2e674b99a75e0464193ccd790c6f4653f48be4a8",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-27.1.53.tgz",
28
+ "_shasum": "96ff00743895b7fe9b38ed5ebd59dc294ec209de",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
31
31
  "author": {
@@ -36,15 +36,15 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~27.1.53",
39
+ "@syncfusion/ej2-base": "~27.1.55",
40
40
  "@syncfusion/ej2-buttons": "~27.1.53",
41
41
  "@syncfusion/ej2-data": "~27.1.52",
42
- "@syncfusion/ej2-grids": "~27.1.53",
43
- "@syncfusion/ej2-inputs": "~27.1.50",
42
+ "@syncfusion/ej2-grids": "~27.1.55",
43
+ "@syncfusion/ej2-inputs": "~27.1.55",
44
44
  "@syncfusion/ej2-layouts": "~27.1.53",
45
45
  "@syncfusion/ej2-lists": "~27.1.50",
46
- "@syncfusion/ej2-navigations": "~27.1.53",
47
- "@syncfusion/ej2-popups": "~27.1.53",
46
+ "@syncfusion/ej2-navigations": "~27.1.55",
47
+ "@syncfusion/ej2-popups": "~27.1.55",
48
48
  "@syncfusion/ej2-splitbuttons": "~27.1.50"
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": "27.1.53",
78
+ "version": "27.1.55",
79
79
  "sideEffects": false
80
80
  }
@@ -725,7 +725,7 @@ function performReadOperation(parent, result, fn, data, event, operation, target
725
725
  var item = result.files[i];
726
726
  setValue('_fm_iconClass', fileType(item), item);
727
727
  }
728
- if (getValue('action', data) === 'read' || isFileSystemData(parent) && getValue('action', data) === 'search') {
728
+ if (getValue('action', data) === 'read') {
729
729
  setNodeId(result, id);
730
730
  setValue(id, result.files, parent.feFiles);
731
731
  }
@@ -945,7 +945,7 @@ function renameSuccess(parent, result) {
945
945
  parent.renamedItem = Array.isArray(result.files) ? result.files[0] : result.files;
946
946
  var renameEventArgs = {
947
947
  newName: parent.renamedItem.name,
948
- itemData: parent.renamedItem,
948
+ itemData: [parent.renamedItem],
949
949
  path: parent.path
950
950
  };
951
951
  parent.trigger('rename', renameEventArgs);
@@ -847,7 +847,8 @@ export function setNextPath(parent, path) {
847
847
  export function openSearchFolder(parent, data) {
848
848
  parent.originalPath = getFullPath(parent, data, parent.path);
849
849
  var root = getValue(parent.pathId[0], parent.feParent);
850
- var isRoot = getValue('_fm_id', parent.itemData[0]) === 'fe_tree';
850
+ var navData = parent.feParent[getValue('_fm_id', parent.itemData[0])];
851
+ var isRoot = isNullOrUndefined(navData) || getValue('_fm_id', navData) === 'fe_tree';
851
852
  var key = isNOU(getValue('id', root)) ? 'name' : 'id';
852
853
  var searchData = getObject(parent, key, isFileSystemData(parent) ? getValue('id', data) : getValue('name', data));
853
854
  if (isNullOrUndefined(searchData)) {