@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.4.48
3
+ * version : 20.4.53
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.43",
3
+ "_id": "@syncfusion/ej2-filemanager@20.4.51",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-2n8g79kRMofAt+29I0RdM1RByBrWTZGjdvYw/BU76Ar9taqc64iI0i/YSzELbGbkQE0S1TeWTa7VcYD3lQk7Tg==",
5
+ "_integrity": "sha512-sVufvwJApsPURXDid4rHwqA6r980ULylSaTXJbgdTNvP03G4FXcGFjowwDytgTnXfeFzkgLsomSUOy550741mw==",
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.43.tgz",
29
- "_shasum": "791be90f65f2dfd45355c0745d50f4769b510216",
28
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.4.51.tgz",
29
+ "_shasum": "36333525c32b96cf8471e8ce377b0b3f1d1bbb98",
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.48",
41
- "@syncfusion/ej2-buttons": "~20.4.48",
40
+ "@syncfusion/ej2-base": "~20.4.51",
41
+ "@syncfusion/ej2-buttons": "~20.4.53",
42
42
  "@syncfusion/ej2-data": "~20.4.48",
43
- "@syncfusion/ej2-grids": "~20.4.48",
44
- "@syncfusion/ej2-inputs": "~20.4.48",
45
- "@syncfusion/ej2-layouts": "~20.4.48",
46
- "@syncfusion/ej2-lists": "~20.4.48",
47
- "@syncfusion/ej2-navigations": "~20.4.48",
48
- "@syncfusion/ej2-popups": "~20.4.48",
49
- "@syncfusion/ej2-splitbuttons": "~20.4.48"
43
+ "@syncfusion/ej2-grids": "~20.4.53",
44
+ "@syncfusion/ej2-inputs": "~20.4.52",
45
+ "@syncfusion/ej2-layouts": "~20.4.53",
46
+ "@syncfusion/ej2-lists": "~20.4.50",
47
+ "@syncfusion/ej2-navigations": "~20.4.53",
48
+ "@syncfusion/ej2-popups": "~20.4.53",
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.48",
79
+ "version": "20.4.53",
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();