@syncfusion/ej2-filemanager 21.1.41 → 21.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.
@@ -8847,7 +8847,7 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
8847
8847
  }
8848
8848
  }
8849
8849
  else if (this.previousSelected[0] !== args.node.getAttribute('data-uid')) {
8850
- var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: args.isInteracted };
8850
+ var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: this.isNodeClickCalled };
8851
8851
  this.parent.trigger('fileSelect', selecEventArgs);
8852
8852
  }
8853
8853
  }
@@ -8897,11 +8897,11 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
8897
8897
  this.parent.pathId = getPathId(args.node);
8898
8898
  this.parent.visitedItem = args.node;
8899
8899
  }
8900
+ this.expandNodeTarget = null;
8901
+ if (args.node.querySelector('.' + ICONS) && args.node.querySelector('.' + LIST_ITEM) === null) {
8902
+ this.expandNodeTarget = 'add';
8903
+ }
8900
8904
  if (previousPath !== this.parent.path) {
8901
- this.expandNodeTarget = null;
8902
- if (args.node.querySelector('.' + ICONS) && args.node.querySelector('.' + LIST_ITEM) === null) {
8903
- this.expandNodeTarget = 'add';
8904
- }
8905
8905
  if (!this.isRightClick && this.isSameNodeClicked) {
8906
8906
  read(this.parent, this.isPathDragged ? pasteEnd : pathChanged, this.parent.path);
8907
8907
  this.isNodeClickCalled = true;
@@ -9795,7 +9795,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
9795
9795
  var columns = this.parent.detailsViewSettings.columns;
9796
9796
  for (var i = 0; i < columns.length; i++) {
9797
9797
  if (columns[i].field === 'size') {
9798
- sizeFormat = columns[i].format.toString();
9798
+ sizeFormat = !isNullOrUndefined(columns[i].format) ? columns[i].format.toString() : 'n';
9799
9799
  break;
9800
9800
  }
9801
9801
  }
@@ -10038,6 +10038,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
10038
10038
  }
10039
10039
  else if (!isNullOrUndefined(this.gridObj)) {
10040
10040
  this.gridObj.clearSelection();
10041
+ this.interaction = true;
10041
10042
  }
10042
10043
  break;
10043
10044
  case 'showFileExtension':