@syncfusion/ej2-filemanager 27.1.53 → 27.2.2

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.2.2
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.55",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-U0UQRAbfvPPuY5OCEXBnXOQ7iluYVdm4XEPLYmPbGyDdMFcnBlJThLH+vswhSwYthmyajeP0BiwH+WKtr7QD5Q==",
5
+ "_integrity": "sha512-mXHh/mT0JHDzdy0W7uOfch/Nh1+8YsD/66iR5ZPiWYq4meYSVdjV0KUh8nDoBsjt7bC30QoPdLK23PCpifDNjQ==",
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.55.tgz",
28
+ "_shasum": "f115703417214ffe376fda5ff562fa5db915eb6b",
29
29
  "_spec": "@syncfusion/ej2-filemanager@*",
30
30
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
31
31
  "author": {
@@ -36,16 +36,16 @@
36
36
  },
37
37
  "bundleDependencies": false,
38
38
  "dependencies": {
39
- "@syncfusion/ej2-base": "~27.1.53",
40
- "@syncfusion/ej2-buttons": "~27.1.53",
41
- "@syncfusion/ej2-data": "~27.1.52",
42
- "@syncfusion/ej2-grids": "~27.1.53",
43
- "@syncfusion/ej2-inputs": "~27.1.50",
44
- "@syncfusion/ej2-layouts": "~27.1.53",
45
- "@syncfusion/ej2-lists": "~27.1.50",
46
- "@syncfusion/ej2-navigations": "~27.1.53",
47
- "@syncfusion/ej2-popups": "~27.1.53",
48
- "@syncfusion/ej2-splitbuttons": "~27.1.50"
39
+ "@syncfusion/ej2-base": "~27.2.2",
40
+ "@syncfusion/ej2-buttons": "~27.2.2",
41
+ "@syncfusion/ej2-data": "~27.2.2",
42
+ "@syncfusion/ej2-grids": "~27.2.2",
43
+ "@syncfusion/ej2-inputs": "~27.2.2",
44
+ "@syncfusion/ej2-layouts": "~27.2.2",
45
+ "@syncfusion/ej2-lists": "~27.2.2",
46
+ "@syncfusion/ej2-navigations": "~27.2.2",
47
+ "@syncfusion/ej2-popups": "~27.2.2",
48
+ "@syncfusion/ej2-splitbuttons": "~27.2.2"
49
49
  },
50
50
  "deprecated": false,
51
51
  "description": "Essential JS 2 FileManager Component",
@@ -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.2.2",
79
79
  "sideEffects": false
80
80
  }
@@ -86,7 +86,7 @@ var Virtualization = /** @class */ (function () {
86
86
  var itemCount = this.rowItemCount *
87
87
  (Math.round(parseFloat(formatUnit(this.largeIconInstance.element.clientHeight)) / this.itemList[0].offsetHeight));
88
88
  // If the calculated item count is greater than the data source length, set the item count to the data source length
89
- if (itemCount > dataSourceLength) {
89
+ if (itemCount > dataSourceLength || itemCount === 0) {
90
90
  itemCount = dataSourceLength;
91
91
  }
92
92
  return itemCount;
@@ -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)) {
@@ -500,7 +500,7 @@ var NavigationPane = /** @class */ (function () {
500
500
  this.addDragDrop();
501
501
  break;
502
502
  case 'navigationPaneSettings':
503
- read(this.parent, events.finalizeEnd, '/');
503
+ read(this.parent, events.finalizeEnd, this.parent.path);
504
504
  if (e.oldProp.navigationPaneSettings.sortOrder !== e.newProp.navigationPaneSettings.sortOrder) {
505
505
  this.treeObj.sortOrder = e.newProp.navigationPaneSettings.sortOrder;
506
506
  }
@@ -191,8 +191,7 @@
191
191
  }
192
192
 
193
193
  .e-dlg-overlay {
194
- -webkit-backdrop-filter: blur(2px) !important;
195
- backdrop-filter: blur(2px) !important;
194
+ backdrop-filter: blur(2px) !important;
196
195
  }
197
196
 
198
197
  .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:hover,
@@ -191,8 +191,7 @@
191
191
  }
192
192
 
193
193
  .e-dlg-overlay {
194
- -webkit-backdrop-filter: blur(2px) !important;
195
- backdrop-filter: blur(2px) !important;
194
+ backdrop-filter: blur(2px) !important;
196
195
  }
197
196
 
198
197
  .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:hover,
@@ -191,8 +191,7 @@
191
191
  }
192
192
 
193
193
  .e-dlg-overlay {
194
- -webkit-backdrop-filter: blur(2px) !important;
195
- backdrop-filter: blur(2px) !important;
194
+ backdrop-filter: blur(2px) !important;
196
195
  }
197
196
 
198
197
  .e-dialog .e-dlg-header-content .e-btn.e-dlg-closeicon-btn:hover,