@syncfusion/ej2-filemanager 20.4.53 → 20.4.54
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 +8 -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 +12 -2
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +12 -2
- 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 +7 -7
- package/src/file-manager/common/utility.js +1 -0
- package/src/file-manager/layout/details-view.js +6 -0
- package/src/file-manager/layout/navigation-pane.js +5 -2
@@ -1325,6 +1325,7 @@ function sortbyClickHandler(parent, args) {
|
|
1325
1325
|
}
|
1326
1326
|
else {
|
1327
1327
|
parent.notify(sortColumn, { module: 'detailsview' });
|
1328
|
+
parent.isSortByClicked = false;
|
1328
1329
|
}
|
1329
1330
|
}
|
1330
1331
|
if (parent.view === 'LargeIcons') {
|
@@ -8616,6 +8617,7 @@ class NavigationPane {
|
|
8616
8617
|
}
|
8617
8618
|
this.parent.searchedItems = [];
|
8618
8619
|
if (!args.isInteracted && !this.isRightClick && !this.isPathDragged && !this.isRenameParent) {
|
8620
|
+
this.parent.pathId = getPathId(args.node);
|
8619
8621
|
return;
|
8620
8622
|
}
|
8621
8623
|
this.activeNode = args.node;
|
@@ -8709,8 +8711,9 @@ class NavigationPane {
|
|
8709
8711
|
if (isNullOrUndefined(currFiles)) {
|
8710
8712
|
setValue(this.parent.pathId[this.parent.pathId.length - 1], args.files, this.parent.feFiles);
|
8711
8713
|
}
|
8712
|
-
if (this.parent.uploadObj.directoryUpload)
|
8714
|
+
if (this.parent.uploadObj.directoryUpload && !(this.parent.hasId)) {
|
8713
8715
|
this.updateTree(args);
|
8716
|
+
}
|
8714
8717
|
}
|
8715
8718
|
updateTree(args) {
|
8716
8719
|
if (this.treeObj) {
|
@@ -8952,7 +8955,8 @@ class NavigationPane {
|
|
8952
8955
|
}
|
8953
8956
|
}
|
8954
8957
|
else {
|
8955
|
-
this.treeObj.
|
8958
|
+
const selectedNode = this.treeObj.getTreeData().filter((obj) => obj.name === resultObj.name)[0];
|
8959
|
+
this.treeObj.selectedNodes = [getValue('_fm_id', selectedNode)];
|
8956
8960
|
this.treeObj.dataBind();
|
8957
8961
|
}
|
8958
8962
|
}
|
@@ -9664,6 +9668,12 @@ class DetailsView {
|
|
9664
9668
|
if (nodes.indexOf(node) !== -1) {
|
9665
9669
|
sRecords.push(i);
|
9666
9670
|
}
|
9671
|
+
else if (!this.parent.showFileExtension && node.includes('.')) {
|
9672
|
+
const Str2 = node.split('.').slice(0, -1).join('.');
|
9673
|
+
if (nodes.indexOf(Str2) !== -1) {
|
9674
|
+
sRecords.push(i);
|
9675
|
+
}
|
9676
|
+
}
|
9667
9677
|
}
|
9668
9678
|
if (sRecords.length !== 0) {
|
9669
9679
|
this.gridObj.selectRows(sRecords);
|