@syncfusion/ej2-filemanager 20.4.48 → 20.4.51
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/GitLeaksReport.json +1 -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/gitleaks-ci/gitleaks +0 -0
- package/gitleaks-ci.tar.gz +0 -0
- package/package.json +13 -13
- package/src/file-manager/layout/navigation-pane.js +7 -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.51
|
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
|
Binary file
|
Binary file
|
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.48",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-z0ncUKyRMWeiBTK+Oe0uxJnZZoYzRcCWPbJYjAvSpLJIG+7S04niL7CAEgfetqaUlGWp6rRgrnOxEOFJXpWKqQ==",
|
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.48.tgz",
|
29
|
+
"_shasum": "ead0ae91d0e9af5fb740f4a1c2cddbee10613282",
|
30
30
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
31
31
|
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
32
32
|
"author": {
|
@@ -37,16 +37,16 @@
|
|
37
37
|
},
|
38
38
|
"bundleDependencies": false,
|
39
39
|
"dependencies": {
|
40
|
-
"@syncfusion/ej2-base": "~20.4.
|
41
|
-
"@syncfusion/ej2-buttons": "~20.4.
|
40
|
+
"@syncfusion/ej2-base": "~20.4.51",
|
41
|
+
"@syncfusion/ej2-buttons": "~20.4.50",
|
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.51",
|
44
|
+
"@syncfusion/ej2-inputs": "~20.4.51",
|
45
45
|
"@syncfusion/ej2-layouts": "~20.4.48",
|
46
|
-
"@syncfusion/ej2-lists": "~20.4.
|
47
|
-
"@syncfusion/ej2-navigations": "~20.4.
|
48
|
-
"@syncfusion/ej2-popups": "~20.4.
|
49
|
-
"@syncfusion/ej2-splitbuttons": "~20.4.
|
46
|
+
"@syncfusion/ej2-lists": "~20.4.50",
|
47
|
+
"@syncfusion/ej2-navigations": "~20.4.51",
|
48
|
+
"@syncfusion/ej2-popups": "~20.4.51",
|
49
|
+
"@syncfusion/ej2-splitbuttons": "~20.4.50"
|
50
50
|
},
|
51
51
|
"deprecated": false,
|
52
52
|
"description": "Essential JS 2 FileManager Component",
|
@@ -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.51",
|
80
80
|
"sideEffects": false
|
81
81
|
}
|
@@ -7,7 +7,7 @@ import * as CLS from '../base/classes';
|
|
7
7
|
import { read, Download, GetDetails, Delete } from '../common/operations';
|
8
8
|
import { createDialog } from '../pop-up/dialog';
|
9
9
|
import { updatePath, getPath, getDirectories } from '../common/utility';
|
10
|
-
import { createVirtualDragElement, dragStopHandler, dragStartHandler, draggingHandler, getDirectoryPath, getModule } from '../common/index';
|
10
|
+
import { createVirtualDragElement, dragStopHandler, dragStartHandler, draggingHandler, getDirectoryPath, getModule, getPathId } from '../common/index';
|
11
11
|
import { copyFiles, cutFiles, removeActive, pasteHandler, getParentPath, readDropPath } from '../common/index';
|
12
12
|
import { hasEditAccess, createDeniedDialog, hasDownloadAccess, getAccessClass } from '../common/index';
|
13
13
|
/**
|
@@ -195,6 +195,8 @@ var NavigationPane = /** @class */ (function () {
|
|
195
195
|
var nodeData = this.getTreeData(getValue('id', args.nodeData));
|
196
196
|
var eventArgs = { cancel: false, fileDetails: nodeData[0], module: 'NavigationPane' };
|
197
197
|
this.parent.trigger('fileOpen', eventArgs);
|
198
|
+
var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: args.isInteracted };
|
199
|
+
this.parent.trigger('fileSelect', selecEventArgs);
|
198
200
|
args.cancel = eventArgs.cancel;
|
199
201
|
if (args.cancel) {
|
200
202
|
this.restrictSelecting = this.isNodeClickCalled ? this.previousSelected[0] !== args.node.getAttribute('data-uid') : false;
|
@@ -239,6 +241,10 @@ var NavigationPane = /** @class */ (function () {
|
|
239
241
|
if (!this.isRightClick) {
|
240
242
|
updatePath(args.node, this.parent.itemData[0], this.parent);
|
241
243
|
}
|
244
|
+
else {
|
245
|
+
this.parent.pathId = getPathId(args.node);
|
246
|
+
this.parent.visitedItem = args.node;
|
247
|
+
}
|
242
248
|
if (previousPath !== this.parent.path) {
|
243
249
|
this.expandNodeTarget = null;
|
244
250
|
if (args.node.querySelector('.' + CLS.ICONS) && args.node.querySelector('.' + CLS.LIST_ITEM) === null) {
|
@@ -423,7 +429,6 @@ var NavigationPane = /** @class */ (function () {
|
|
423
429
|
}
|
424
430
|
}
|
425
431
|
if (resultData.length > 0) {
|
426
|
-
this.isRenameParent = true;
|
427
432
|
var id_1 = getValue(this.treeObj.fields.id, resultData[0]);
|
428
433
|
this.treeObj.selectedNodes = [id_1];
|
429
434
|
this.treeObj.dataBind();
|