@syncfusion/ej2-filemanager 21.1.41 → 21.2.3

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.1.41
3
+ * version : 21.2.3
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.39",
3
+ "_id": "@syncfusion/ej2-filemanager@21.1.41",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-AfUJAG9clB2hStgQ2IUVojPADrEa3e8Jmf+Mlg5+0BCKeCzDmHBBLTQeW0LHP9qhaPqZNevkgUmlluIDlrS+Qw==",
5
+ "_integrity": "sha512-JJlmdBbW9+9GtqQp3HUI6GuhDAvbfej0r+qJlyEzoR4SdlHDBnYZPlzqe3riJgV/m6nt4AeRhy8uyL+jH84Jpw==",
6
6
  "_location": "/@syncfusion/ej2-filemanager",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,14 +19,11 @@
19
19
  "_requiredBy": [
20
20
  "/",
21
21
  "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-filemanager",
23
22
  "/@syncfusion/ej2-pdfviewer",
24
- "/@syncfusion/ej2-react-filemanager",
25
- "/@syncfusion/ej2-richtexteditor",
26
- "/@syncfusion/ej2-vue-filemanager"
23
+ "/@syncfusion/ej2-richtexteditor"
27
24
  ],
28
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-21.1.39.tgz",
29
- "_shasum": "af6dba133104dd8f57bc190b55d0c55642eab717",
25
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-21.1.41.tgz",
26
+ "_shasum": "294db32c4ba33961fc58e360e9c682d8044ba0ad",
30
27
  "_spec": "@syncfusion/ej2-filemanager@*",
31
28
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
32
29
  "author": {
@@ -37,16 +34,16 @@
37
34
  },
38
35
  "bundleDependencies": false,
39
36
  "dependencies": {
40
- "@syncfusion/ej2-base": "~21.1.40",
41
- "@syncfusion/ej2-buttons": "~21.1.37",
42
- "@syncfusion/ej2-data": "~21.1.38",
43
- "@syncfusion/ej2-grids": "~21.1.41",
44
- "@syncfusion/ej2-inputs": "~21.1.39",
45
- "@syncfusion/ej2-layouts": "~21.1.37",
46
- "@syncfusion/ej2-lists": "~21.1.41",
47
- "@syncfusion/ej2-navigations": "~21.1.39",
48
- "@syncfusion/ej2-popups": "~21.1.41",
49
- "@syncfusion/ej2-splitbuttons": "~21.1.41"
37
+ "@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",
42
+ "@syncfusion/ej2-layouts": "~21.2.3",
43
+ "@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"
50
47
  },
51
48
  "deprecated": false,
52
49
  "description": "Essential JS 2 FileManager Component",
@@ -76,6 +73,6 @@
76
73
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
77
74
  },
78
75
  "typings": "index.d.ts",
79
- "version": "21.1.41",
76
+ "version": "21.2.3",
80
77
  "sideEffects": false
81
78
  }
@@ -286,7 +286,7 @@ var DetailsView = /** @class */ (function () {
286
286
  var columns = this.parent.detailsViewSettings.columns;
287
287
  for (var i = 0; i < columns.length; i++) {
288
288
  if (columns[i].field === 'size') {
289
- sizeFormat = columns[i].format.toString();
289
+ sizeFormat = !isNullOrUndefined(columns[i].format) ? columns[i].format.toString() : 'n';
290
290
  break;
291
291
  }
292
292
  }
@@ -529,6 +529,7 @@ var DetailsView = /** @class */ (function () {
529
529
  }
530
530
  else if (!isNOU(this.gridObj)) {
531
531
  this.gridObj.clearSelection();
532
+ this.interaction = true;
532
533
  }
533
534
  break;
534
535
  case 'showFileExtension':
@@ -216,7 +216,7 @@ var NavigationPane = /** @class */ (function () {
216
216
  }
217
217
  }
218
218
  else if (this.previousSelected[0] !== args.node.getAttribute('data-uid')) {
219
- var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: args.isInteracted };
219
+ var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: this.isNodeClickCalled };
220
220
  this.parent.trigger('fileSelect', selecEventArgs);
221
221
  }
222
222
  }
@@ -266,11 +266,11 @@ var NavigationPane = /** @class */ (function () {
266
266
  this.parent.pathId = getPathId(args.node);
267
267
  this.parent.visitedItem = args.node;
268
268
  }
269
+ this.expandNodeTarget = null;
270
+ if (args.node.querySelector('.' + CLS.ICONS) && args.node.querySelector('.' + CLS.LIST_ITEM) === null) {
271
+ this.expandNodeTarget = 'add';
272
+ }
269
273
  if (previousPath !== this.parent.path) {
270
- this.expandNodeTarget = null;
271
- if (args.node.querySelector('.' + CLS.ICONS) && args.node.querySelector('.' + CLS.LIST_ITEM) === null) {
272
- this.expandNodeTarget = 'add';
273
- }
274
274
  if (!this.isRightClick && this.isSameNodeClicked) {
275
275
  read(this.parent, this.isPathDragged ? events.pasteEnd : events.pathChanged, this.parent.path);
276
276
  this.isNodeClickCalled = true;