@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
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 20.4.
|
3
|
+
* version : 20.4.54
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@20.4.
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@20.4.53",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-hRxbOu4llryPixV5VYWcvxotmZQJdr5+jPu1I9YOcbs8vL5jtlQRXXr6ABEf2X6mnEzFcFWVHgmGAuj2VVzP2Q==",
|
6
6
|
"_location": "/@syncfusion/ej2-filemanager",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -25,8 +25,8 @@
|
|
25
25
|
"/@syncfusion/ej2-richtexteditor",
|
26
26
|
"/@syncfusion/ej2-vue-filemanager"
|
27
27
|
],
|
28
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.4.
|
29
|
-
"_shasum": "
|
28
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.4.53.tgz",
|
29
|
+
"_shasum": "52c0ddcdc7618c33ef391280a7517ecbe4dcc876",
|
30
30
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
31
31
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
32
32
|
"author": {
|
@@ -40,8 +40,8 @@
|
|
40
40
|
"@syncfusion/ej2-base": "~20.4.51",
|
41
41
|
"@syncfusion/ej2-buttons": "~20.4.53",
|
42
42
|
"@syncfusion/ej2-data": "~20.4.48",
|
43
|
-
"@syncfusion/ej2-grids": "~20.4.
|
44
|
-
"@syncfusion/ej2-inputs": "~20.4.
|
43
|
+
"@syncfusion/ej2-grids": "~20.4.54",
|
44
|
+
"@syncfusion/ej2-inputs": "~20.4.54",
|
45
45
|
"@syncfusion/ej2-layouts": "~20.4.53",
|
46
46
|
"@syncfusion/ej2-lists": "~20.4.50",
|
47
47
|
"@syncfusion/ej2-navigations": "~20.4.53",
|
@@ -76,6 +76,6 @@
|
|
76
76
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
77
77
|
},
|
78
78
|
"typings": "index.d.ts",
|
79
|
-
"version": "20.4.
|
79
|
+
"version": "20.4.54",
|
80
80
|
"sideEffects": false
|
81
81
|
}
|
@@ -435,6 +435,12 @@ var DetailsView = /** @class */ (function () {
|
|
435
435
|
if (nodes.indexOf(node) !== -1) {
|
436
436
|
sRecords.push(i);
|
437
437
|
}
|
438
|
+
else if (!this.parent.showFileExtension && node.includes('.')) {
|
439
|
+
var Str2 = node.split('.').slice(0, -1).join('.');
|
440
|
+
if (nodes.indexOf(Str2) !== -1) {
|
441
|
+
sRecords.push(i);
|
442
|
+
}
|
443
|
+
}
|
438
444
|
}
|
439
445
|
if (sRecords.length !== 0) {
|
440
446
|
this.gridObj.selectRows(sRecords);
|
@@ -229,6 +229,7 @@ var NavigationPane = /** @class */ (function () {
|
|
229
229
|
}
|
230
230
|
this.parent.searchedItems = [];
|
231
231
|
if (!args.isInteracted && !this.isRightClick && !this.isPathDragged && !this.isRenameParent) {
|
232
|
+
this.parent.pathId = getPathId(args.node);
|
232
233
|
return;
|
233
234
|
}
|
234
235
|
this.activeNode = args.node;
|
@@ -322,8 +323,9 @@ var NavigationPane = /** @class */ (function () {
|
|
322
323
|
if (isNOU(currFiles)) {
|
323
324
|
setValue(this.parent.pathId[this.parent.pathId.length - 1], args.files, this.parent.feFiles);
|
324
325
|
}
|
325
|
-
if (this.parent.uploadObj.directoryUpload)
|
326
|
+
if (this.parent.uploadObj.directoryUpload && !(this.parent.hasId)) {
|
326
327
|
this.updateTree(args);
|
328
|
+
}
|
327
329
|
};
|
328
330
|
NavigationPane.prototype.updateTree = function (args) {
|
329
331
|
if (this.treeObj) {
|
@@ -566,7 +568,8 @@ var NavigationPane = /** @class */ (function () {
|
|
566
568
|
}
|
567
569
|
}
|
568
570
|
else {
|
569
|
-
this.treeObj.
|
571
|
+
var selectedNode = this.treeObj.getTreeData().filter(function (obj) { return obj.name === resultObj.name; })[0];
|
572
|
+
this.treeObj.selectedNodes = [getValue('_fm_id', selectedNode)];
|
570
573
|
this.treeObj.dataBind();
|
571
574
|
}
|
572
575
|
};
|