@syncfusion/ej2-filemanager 20.4.48 → 20.4.53

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.
@@ -8771,6 +8771,8 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
8771
8771
  var nodeData = this.getTreeData(getValue('id', args.nodeData));
8772
8772
  var eventArgs = { cancel: false, fileDetails: nodeData[0], module: 'NavigationPane' };
8773
8773
  this.parent.trigger('fileOpen', eventArgs);
8774
+ var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: args.isInteracted };
8775
+ this.parent.trigger('fileSelect', selecEventArgs);
8774
8776
  args.cancel = eventArgs.cancel;
8775
8777
  if (args.cancel) {
8776
8778
  this.restrictSelecting = this.isNodeClickCalled ? this.previousSelected[0] !== args.node.getAttribute('data-uid') : false;
@@ -8815,6 +8817,10 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
8815
8817
  if (!this.isRightClick) {
8816
8818
  updatePath(args.node, this.parent.itemData[0], this.parent);
8817
8819
  }
8820
+ else {
8821
+ this.parent.pathId = getPathId(args.node);
8822
+ this.parent.visitedItem = args.node;
8823
+ }
8818
8824
  if (previousPath !== this.parent.path) {
8819
8825
  this.expandNodeTarget = null;
8820
8826
  if (args.node.querySelector('.' + ICONS) && args.node.querySelector('.' + LIST_ITEM) === null) {
@@ -8999,7 +9005,6 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
8999
9005
  }
9000
9006
  }
9001
9007
  if (resultData.length > 0) {
9002
- this.isRenameParent = true;
9003
9008
  var id_1 = getValue(this.treeObj.fields.id, resultData[0]);
9004
9009
  this.treeObj.selectedNodes = [id_1];
9005
9010
  this.treeObj.dataBind();