@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.
- package/CHANGELOG.md +16 -0
- package/dist/ej2-filemanager.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-filemanager.es2015.js +6 -1
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +6 -1
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +2 -2
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +14 -14
- package/src/file-manager/layout/navigation-pane.js +7 -2
@@ -8582,6 +8582,8 @@ class NavigationPane {
|
|
8582
8582
|
const nodeData = this.getTreeData(getValue('id', args.nodeData));
|
8583
8583
|
const eventArgs = { cancel: false, fileDetails: nodeData[0], module: 'NavigationPane' };
|
8584
8584
|
this.parent.trigger('fileOpen', eventArgs);
|
8585
|
+
const selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: args.isInteracted };
|
8586
|
+
this.parent.trigger('fileSelect', selecEventArgs);
|
8585
8587
|
args.cancel = eventArgs.cancel;
|
8586
8588
|
if (args.cancel) {
|
8587
8589
|
this.restrictSelecting = this.isNodeClickCalled ? this.previousSelected[0] !== args.node.getAttribute('data-uid') : false;
|
@@ -8626,6 +8628,10 @@ class NavigationPane {
|
|
8626
8628
|
if (!this.isRightClick) {
|
8627
8629
|
updatePath(args.node, this.parent.itemData[0], this.parent);
|
8628
8630
|
}
|
8631
|
+
else {
|
8632
|
+
this.parent.pathId = getPathId(args.node);
|
8633
|
+
this.parent.visitedItem = args.node;
|
8634
|
+
}
|
8629
8635
|
if (previousPath !== this.parent.path) {
|
8630
8636
|
this.expandNodeTarget = null;
|
8631
8637
|
if (args.node.querySelector('.' + ICONS) && args.node.querySelector('.' + LIST_ITEM) === null) {
|
@@ -8810,7 +8816,6 @@ class NavigationPane {
|
|
8810
8816
|
}
|
8811
8817
|
}
|
8812
8818
|
if (resultData.length > 0) {
|
8813
|
-
this.isRenameParent = true;
|
8814
8819
|
const id = getValue(this.treeObj.fields.id, resultData[0]);
|
8815
8820
|
this.treeObj.selectedNodes = [id];
|
8816
8821
|
this.treeObj.dataBind();
|