@syncfusion/ej2-filemanager 27.1.55 → 27.2.3

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.55
3
+ * version : 27.2.3
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.53",
3
+ "_id": "@syncfusion/ej2-filemanager@27.2.2",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-4tJ8ruowY8+8ZO/Pd3l95roLJUeYZm2aXtMknO/sD0II3m09P4zofLqDjPETq/rig4kuR0U83mDX/jTUjXo++A==",
5
+ "_integrity": "sha512-V2KoRE+JPgfAheFWW3Cm3i1CyXeozIR8SIP8EuRp331qsAURmGiR1vRnWNBnYAmtAGOIQAIryBReBl9CjAapog==",
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.53.tgz",
28
- "_shasum": "96ff00743895b7fe9b38ed5ebd59dc294ec209de",
27
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-27.2.2.tgz",
28
+ "_shasum": "f3f1d09154ac3f2b09c6796f4e5352a5eae45333",
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.55",
40
- "@syncfusion/ej2-buttons": "~27.1.53",
41
- "@syncfusion/ej2-data": "~27.1.52",
42
- "@syncfusion/ej2-grids": "~27.1.55",
43
- "@syncfusion/ej2-inputs": "~27.1.55",
44
- "@syncfusion/ej2-layouts": "~27.1.53",
45
- "@syncfusion/ej2-lists": "~27.1.50",
46
- "@syncfusion/ej2-navigations": "~27.1.55",
47
- "@syncfusion/ej2-popups": "~27.1.55",
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.3",
43
+ "@syncfusion/ej2-inputs": "~27.2.2",
44
+ "@syncfusion/ej2-layouts": "~27.2.3",
45
+ "@syncfusion/ej2-lists": "~27.2.3",
46
+ "@syncfusion/ej2-navigations": "~27.2.3",
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.55",
78
+ "version": "27.2.3",
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;
@@ -408,7 +408,7 @@ var DetailsView = /** @class */ (function () {
408
408
  this.element.querySelector('.e-content').scrollTop === 0))) {
409
409
  this.selectRecords(this.parent.selectedItems);
410
410
  }
411
- if (this.isPasteOperation === true) {
411
+ if (this.isPasteOperation === true && (!isNullOrUndefined(this.gridObj.getDataRows()) && this.gridObj.getDataRows().length > 0)) {
412
412
  if (!this.isColumnRefresh) {
413
413
  this.selectRecords(this.parent.pasteNodes);
414
414
  this.isPasteOperation = false;
@@ -212,7 +212,7 @@ var NavigationPane = /** @class */ (function () {
212
212
  this.isNodeClickCalled = true;
213
213
  this.isSameNodeClicked = false;
214
214
  this.previousSelected = this.treeObj.selectedNodes;
215
- this.treeObj.selectedNodes = [args.node.getAttribute('data-uid')];
215
+ this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
216
216
  }
217
217
  }
218
218
  else if (this.previousSelected[0] !== args.node.getAttribute('data-uid')) {
@@ -236,7 +236,7 @@ var NavigationPane = /** @class */ (function () {
236
236
  read(this.parent, this.isPathDragged ? events.pasteEnd : events.pathChanged, this.parent.path);
237
237
  this.parent.visitedItem = node;
238
238
  this.isPathDragged = this.isRenameParent = this.isRightClick = false;
239
- this.treeObj.selectedNodes = [node.getAttribute('data-uid')];
239
+ this.treeObj.setProperties({ selectedNodes: [node.getAttribute('data-uid')] });
240
240
  }
241
241
  };
242
242
  NavigationPane.prototype.onNodeSelected = function (args) {
@@ -312,7 +312,7 @@ var NavigationPane = /** @class */ (function () {
312
312
  if ((args.event.which === 3) && (args.node.getAttribute('data-uid') !== this.treeObj.selectedNodes[0])) {
313
313
  this.isRightClick = true;
314
314
  this.isNodeClickCalled = true;
315
- this.treeObj.selectedNodes = [args.node.getAttribute('data-uid')];
315
+ this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
316
316
  }
317
317
  else if (args.node.getAttribute('data-uid') === this.treeObj.selectedNodes[0] && this.parent.selectedItems.length !== 0) {
318
318
  this.parent.setProperties({ selectedItems: [] }, true);
@@ -325,7 +325,7 @@ var NavigationPane = /** @class */ (function () {
325
325
  }
326
326
  this.isSameNodeClicked = true;
327
327
  this.isNodeClickCalled = true;
328
- this.treeObj.selectedNodes = [args.node.getAttribute('data-uid')];
328
+ this.treeObj.setProperties({ selectedNodes: [args.node.getAttribute('data-uid')] });
329
329
  }
330
330
  };
331
331
  /* istanbul ignore next */
@@ -375,7 +375,7 @@ var NavigationPane = /** @class */ (function () {
375
375
  NavigationPane.prototype.onOpenEnd = function (args) {
376
376
  var sleId = this.parent.pathId[this.parent.pathId.length - 1];
377
377
  this.treeObj.expandAll(this.treeObj.selectedNodes);
378
- this.treeObj.selectedNodes = [sleId];
378
+ this.treeObj.setProperties({ selectedNodes: [sleId] });
379
379
  this.expandNodeTarget = 'add';
380
380
  this.onPathChanged(args);
381
381
  };
@@ -394,7 +394,7 @@ var NavigationPane = /** @class */ (function () {
394
394
  this.onInit();
395
395
  var id = getValue('_fm_id', args.cwd);
396
396
  this.addChild(args.files, id, false);
397
- this.treeObj.selectedNodes = [this.parent.pathId[this.parent.pathId.length - 1]];
397
+ this.treeObj.setProperties({ selectedNodes: [this.parent.pathId[this.parent.pathId.length - 1]] });
398
398
  };
399
399
  NavigationPane.prototype.onCreateEnd = function (args) {
400
400
  this.updateTree(args);
@@ -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
  }
@@ -513,7 +513,7 @@ var NavigationPane = /** @class */ (function () {
513
513
  this.doDownload();
514
514
  };
515
515
  NavigationPane.prototype.onSelectionChanged = function (e) {
516
- this.treeObj.selectedNodes = [e.selectedNode];
516
+ this.treeObj.setProperties({ selectedNodes: [e.selectedNode] });
517
517
  };
518
518
  NavigationPane.prototype.onClearPathInit = function (e) {
519
519
  this.removeChildNodes(e.selectedNode);
@@ -92,7 +92,7 @@ var ContextMenu = /** @class */ (function () {
92
92
  }
93
93
  }
94
94
  this.parent.pathId.push(parentKey[parentKey.length - 1]);
95
- this.parent.navigationpaneModule.treeObj.selectedNodes = [this.parent.pathId[this.parent.pathId.length - 1]];
95
+ this.parent.navigationpaneModule.treeObj.setProperties({ selectedNodes: [this.parent.pathId[this.parent.pathId.length - 1]] });
96
96
  }
97
97
  this.isMenuItemClicked = false;
98
98
  };
@@ -154,7 +154,7 @@ var ContextMenu = /** @class */ (function () {
154
154
  else if (closest(target, '#' + this.parent.element.id + CLS.TREE_ID)) {
155
155
  uid = closest(target, 'li').getAttribute('data-uid');
156
156
  if (!isNOU(uid)) {
157
- this.parent.navigationpaneModule.treeObj.selectedNodes = [uid];
157
+ this.parent.navigationpaneModule.treeObj.setProperties({ selectedNodes: [uid] });
158
158
  }
159
159
  treeFolder = true;
160
160
  }
@@ -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,