@syncfusion/ej2-filemanager 20.2.38 → 20.2.39

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,15 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.2.38
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
- /*!
11
- * filename: index.d.ts
12
- * version : 20.2.36
3
+ * version : 20.2.39
13
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
5
  * Use of this code is subject to the terms of our license.
15
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.2.36",
3
+ "_id": "@syncfusion/ej2-filemanager@20.2.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Ytb2BhtKODenoUGifblRVBGO1PAqZhBvC1UQy/mrTa+EafLZs7PAmuDABzW53mhi1nTYpGC+lh+n77zFojBLZw==",
5
+ "_integrity": "sha512-XKJgkInkwZdMy+eCT3vEXDjqwC8S7on/WO+F00P58XoUgzt7pdqNAzGByLWbybVS80FYSmg9FdXqGSJLqUYceg==",
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.2.36.tgz",
29
- "_shasum": "068029b89968763f383a85c2892fb58afdce0282",
28
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.2.38.tgz",
29
+ "_shasum": "f5819f8e2f08c9aff1edb59f408d005a96f6b3b5",
30
30
  "_spec": "@syncfusion/ej2-filemanager@*",
31
31
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
32
32
  "author": {
@@ -40,12 +40,12 @@
40
40
  "@syncfusion/ej2-base": "~20.2.38",
41
41
  "@syncfusion/ej2-buttons": "~20.2.38",
42
42
  "@syncfusion/ej2-data": "~20.2.38",
43
- "@syncfusion/ej2-grids": "~20.2.38",
43
+ "@syncfusion/ej2-grids": "~20.2.39",
44
44
  "@syncfusion/ej2-inputs": "~20.2.38",
45
- "@syncfusion/ej2-layouts": "~20.2.38",
46
- "@syncfusion/ej2-lists": "~20.2.38",
47
- "@syncfusion/ej2-navigations": "~20.2.38",
48
- "@syncfusion/ej2-popups": "~20.2.38",
45
+ "@syncfusion/ej2-layouts": "~20.2.39",
46
+ "@syncfusion/ej2-lists": "~20.2.39",
47
+ "@syncfusion/ej2-navigations": "~20.2.39",
48
+ "@syncfusion/ej2-popups": "~20.2.39",
49
49
  "@syncfusion/ej2-splitbuttons": "~20.2.38"
50
50
  },
51
51
  "deprecated": false,
@@ -66,7 +66,7 @@
66
66
  "type": "git",
67
67
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
68
68
  },
69
- "sideEffects": false,
70
69
  "typings": "index.d.ts",
71
- "version": "20.2.38"
70
+ "version": "20.2.39",
71
+ "sideEffects": false
72
72
  }
@@ -302,7 +302,7 @@ var NavigationPane = /** @class */ (function () {
302
302
  var currFiles = getValue(this.parent.pathId[this.parent.pathId.length - 1], this.parent.feFiles);
303
303
  if (this.expandNodeTarget === 'add') {
304
304
  var sNode = select('[data-uid="' + this.treeObj.selectedNodes[0] + '"]', this.treeObj.element);
305
- var ul = select('.' + CLS.LIST_PARENT, sNode);
305
+ var ul = (!isNOU(sNode)) ? select('.' + CLS.LIST_PARENT, sNode) : null;
306
306
  if (isNOU(ul)) {
307
307
  this.addChild(args.files, this.treeObj.selectedNodes[0], !this.expandTree);
308
308
  }
@@ -653,11 +653,18 @@ function getOptions(parent, text, e, details, replaceItems) {
653
653
  ];
654
654
  break;
655
655
  case 'MultipleFileDetails':
656
+ var index_1;
656
657
  options.dialogName = 'File Details';
657
- strArr = details.name.split(',').map(function (val) {
658
- var index = val.indexOf('.') + 1;
659
- return (index === 0) ? 'Folder' : val.substr(index).replace(' ', '');
658
+ strArr = parent.itemData.map(function (val) {
659
+ index_1 = val.name.indexOf('.') + 1;
660
+ return (index_1 === 0 && (!val.isFile)) ? 'Folder' : ((index_1 !== 0) ? val.name.substr(index_1).replace(' ', '') : 'undetermined');
660
661
  });
662
+ if (strArr[0] == undefined) {
663
+ strArr = details.name.split(',').map(function (val) {
664
+ index_1 = val.indexOf('.') + 1;
665
+ return (index_1 === 0) ? 'Folder' : val.substr(index_1).replace(' ', '');
666
+ });
667
+ }
661
668
  fileType = strArr.every(function (val, i, arr) { return val === arr[0]; }) ?
662
669
  ((strArr[0] === 'Folder') ? 'Folder' : strArr[0].toLocaleUpperCase() + ' Type') : 'Multiple Types';
663
670
  location = details.location;
@@ -1510,7 +1510,7 @@ ejs-filemanager {
1510
1510
  }
1511
1511
  .e-filemanager .e-large-icons .e-checkbox-wrapper .e-icons.e-check {
1512
1512
  background-color: #0078d4;
1513
- color: #fff;
1513
+ color: #1b1a19;
1514
1514
  }
1515
1515
  .e-filemanager .e-fe-clone .e-fe-content {
1516
1516
  background-color: #252423;
@@ -1518,8 +1518,8 @@ ejs-filemanager {
1518
1518
  }
1519
1519
  .e-filemanager .e-fe-clone .e-fe-count {
1520
1520
  background-color: #0078d4;
1521
- border-color: #fff;
1522
- color: #fff;
1521
+ border-color: #1b1a19;
1522
+ color: #1b1a19;
1523
1523
  }
1524
1524
  .e-filemanager.e-fe-mobile .e-large-icons .e-large-icon.e-hover {
1525
1525
  background: transparent;
@@ -1510,7 +1510,7 @@ ejs-filemanager {
1510
1510
  }
1511
1511
  .e-filemanager .e-large-icons .e-checkbox-wrapper .e-icons.e-check {
1512
1512
  background-color: #0078d4;
1513
- color: #fff;
1513
+ color: #1b1a19;
1514
1514
  }
1515
1515
  .e-filemanager .e-fe-clone .e-fe-content {
1516
1516
  background-color: #252423;
@@ -1518,8 +1518,8 @@ ejs-filemanager {
1518
1518
  }
1519
1519
  .e-filemanager .e-fe-clone .e-fe-count {
1520
1520
  background-color: #0078d4;
1521
- border-color: #fff;
1522
- color: #fff;
1521
+ border-color: #1b1a19;
1522
+ color: #1b1a19;
1523
1523
  }
1524
1524
  .e-filemanager.e-fe-mobile .e-large-icons .e-large-icon.e-hover {
1525
1525
  background: transparent;