@syncfusion/ej2-filemanager 21.2.3 → 21.2.5

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 : 21.2.3
3
+ * version : 21.2.5
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@21.1.41",
3
+ "_id": "@syncfusion/ej2-filemanager@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-JJlmdBbW9+9GtqQp3HUI6GuhDAvbfej0r+qJlyEzoR4SdlHDBnYZPlzqe3riJgV/m6nt4AeRhy8uyL+jH84Jpw==",
5
+ "_integrity": "sha512-N/Gu2nnQnq695ofrpOob33YvgZmWCXF1kKvfssOSpZ+IlScgxz/UDFXib9+P7TFJgFFioD0iIeZAVGdcc6X/Qg==",
6
6
  "_location": "/@syncfusion/ej2-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,11 +19,14 @@
19
19
  "_requiredBy": [
20
20
  "/",
21
21
  "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-filemanager",
22
23
  "/@syncfusion/ej2-pdfviewer",
23
- "/@syncfusion/ej2-richtexteditor"
24
+ "/@syncfusion/ej2-react-filemanager",
25
+ "/@syncfusion/ej2-richtexteditor",
26
+ "/@syncfusion/ej2-vue-filemanager"
24
27
  ],
25
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-21.1.41.tgz",
26
- "_shasum": "294db32c4ba33961fc58e360e9c682d8044ba0ad",
28
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-21.2.3.tgz",
29
+ "_shasum": "efda042d5dc5eec14910d572f2f647d9e9e14156",
27
30
  "_spec": "@syncfusion/ej2-filemanager@*",
28
31
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
29
32
  "author": {
@@ -35,15 +38,15 @@
35
38
  "bundleDependencies": false,
36
39
  "dependencies": {
37
40
  "@syncfusion/ej2-base": "~21.2.3",
38
- "@syncfusion/ej2-buttons": "~21.2.3",
39
- "@syncfusion/ej2-data": "~21.2.3",
40
- "@syncfusion/ej2-grids": "~21.2.3",
41
- "@syncfusion/ej2-inputs": "~21.2.3",
41
+ "@syncfusion/ej2-buttons": "~21.2.5",
42
+ "@syncfusion/ej2-data": "~21.2.4",
43
+ "@syncfusion/ej2-grids": "~21.2.5",
44
+ "@syncfusion/ej2-inputs": "~21.2.4",
42
45
  "@syncfusion/ej2-layouts": "~21.2.3",
43
46
  "@syncfusion/ej2-lists": "~21.2.3",
44
- "@syncfusion/ej2-navigations": "~21.2.3",
45
- "@syncfusion/ej2-popups": "~21.2.3",
46
- "@syncfusion/ej2-splitbuttons": "~21.2.3"
47
+ "@syncfusion/ej2-navigations": "~21.2.5",
48
+ "@syncfusion/ej2-popups": "~21.2.4",
49
+ "@syncfusion/ej2-splitbuttons": "~21.2.5"
47
50
  },
48
51
  "deprecated": false,
49
52
  "description": "Essential JS 2 FileManager Component",
@@ -73,6 +76,6 @@
73
76
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
74
77
  },
75
78
  "typings": "index.d.ts",
76
- "version": "21.2.3",
79
+ "version": "21.2.5",
77
80
  "sideEffects": false
78
81
  }
@@ -202,7 +202,7 @@ var NavigationPane = /** @class */ (function () {
202
202
  var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: args.isInteracted };
203
203
  this.parent.trigger('fileSelect', selecEventArgs);
204
204
  }
205
- if (!this.isRightClick && args.node.getAttribute('data-uid') !== this.parent.pathId[this.parent.pathId.length - 1]) {
205
+ if (!this.isRightClick) {
206
206
  var eventArgs = { cancel: false, fileDetails: nodeData[0], module: 'NavigationPane' };
207
207
  this.parent.trigger('fileOpen', eventArgs);
208
208
  args.cancel = eventArgs.cancel;
@@ -243,9 +243,11 @@ var ContextMenu = /** @class */ (function () {
243
243
  this.menuType = 'folder';
244
244
  this.contextMenu.items = this.getItemData(this.parent.contextMenuSettings.folder.map(function (item) { return item.trim(); }));
245
245
  this.contextMenu.dataBind();
246
- var selectedTreeNode = select('[data-uid="' + this.parent.navigationpaneModule.treeObj.selectedNodes[0] + '"]', this.parent.navigationpaneModule.treeObj.element);
247
- if (this.parent.pathNames[this.parent.pathNames.length - 1] === selectedTreeNode.querySelector('.e-list-text').innerHTML && this.parent.activeModule === 'navigationpane') {
248
- this.disabledItems.push('Open');
246
+ if (isTree) {
247
+ var selectedTreeNode = select('[data-uid="' + this.parent.navigationpaneModule.treeObj.selectedNodes[0] + '"]', this.parent.navigationpaneModule.treeObj.element);
248
+ if (this.parent.pathNames[this.parent.pathNames.length - 1] === selectedTreeNode.querySelector('.e-list-text').innerHTML && this.parent.activeModule === 'navigationpane') {
249
+ this.disabledItems.push('Open');
250
+ }
249
251
  }
250
252
  else if (this.parent.selectedItems.length !== 1 && this.parent.activeModule !== 'navigationpane') {
251
253
  this.disabledItems.push('Rename', 'Paste');