@syncfusion/ej2-filemanager 20.2.39 → 20.2.43

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.2.39
3
+ * version : 20.2.43
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.2.38",
3
+ "_id": "@syncfusion/ej2-filemanager@20.2.39",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-XKJgkInkwZdMy+eCT3vEXDjqwC8S7on/WO+F00P58XoUgzt7pdqNAzGByLWbybVS80FYSmg9FdXqGSJLqUYceg==",
5
+ "_integrity": "sha512-pSNkVqHZj0VPjY765h5ob0u8iUm8sJ8tsMF+65a+M5t3brAXX38uFmngIsi8Ve+M7Gi9Q71Oo7TdVwYLSpsmOg==",
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.38.tgz",
29
- "_shasum": "f5819f8e2f08c9aff1edb59f408d005a96f6b3b5",
28
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.2.39.tgz",
29
+ "_shasum": "47a71726c87a6a41e4269869913ea4a3c0d3b43d",
30
30
  "_spec": "@syncfusion/ej2-filemanager@*",
31
31
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
32
32
  "author": {
@@ -37,16 +37,16 @@
37
37
  },
38
38
  "bundleDependencies": false,
39
39
  "dependencies": {
40
- "@syncfusion/ej2-base": "~20.2.38",
41
- "@syncfusion/ej2-buttons": "~20.2.38",
42
- "@syncfusion/ej2-data": "~20.2.38",
43
- "@syncfusion/ej2-grids": "~20.2.39",
44
- "@syncfusion/ej2-inputs": "~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
- "@syncfusion/ej2-splitbuttons": "~20.2.38"
40
+ "@syncfusion/ej2-base": "~20.2.43",
41
+ "@syncfusion/ej2-buttons": "~20.2.43",
42
+ "@syncfusion/ej2-data": "~20.2.43",
43
+ "@syncfusion/ej2-grids": "~20.2.43",
44
+ "@syncfusion/ej2-inputs": "~20.2.43",
45
+ "@syncfusion/ej2-layouts": "~20.2.43",
46
+ "@syncfusion/ej2-lists": "~20.2.43",
47
+ "@syncfusion/ej2-navigations": "~20.2.43",
48
+ "@syncfusion/ej2-popups": "~20.2.43",
49
+ "@syncfusion/ej2-splitbuttons": "~20.2.43"
50
50
  },
51
51
  "deprecated": false,
52
52
  "description": "Essential JS 2 FileManager Component",
@@ -67,6 +67,6 @@
67
67
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
68
68
  },
69
69
  "typings": "index.d.ts",
70
- "version": "20.2.39",
70
+ "version": "20.2.43",
71
71
  "sideEffects": false
72
72
  }
@@ -993,6 +993,11 @@ export function readDropPath(parent) {
993
993
  else {
994
994
  if (parent.navigationpaneModule) {
995
995
  var node = select('[data-uid="' + pathId + '"]', parent.navigationpaneModule.treeObj.element);
996
+ if (!node) {
997
+ var liElement = document.querySelector('[data-id = "' + getValue('id', parent.dropData) + '"]');
998
+ pathId = liElement.getAttribute("data-uid");
999
+ node = select('[data-uid="' + pathId + '"]', parent.navigationpaneModule.treeObj.element);
1000
+ }
996
1001
  updatePath(node, parent.dropData, parent);
997
1002
  }
998
1003
  read(parent, events.dropPath, parent.dropPath);
@@ -1234,7 +1234,7 @@ var DetailsView = /** @class */ (function () {
1234
1234
  };
1235
1235
  DetailsView.prototype.getFocusedItemIndex = function () {
1236
1236
  return (!isNOU(this.getFocusedItem())) ?
1237
- parseInt(this.getFocusedItem().getAttribute('aria-rowindex'), 10) : null;
1237
+ parseInt(this.getFocusedItem().getAttribute('data-rowindex'), 10) : null;
1238
1238
  };
1239
1239
  /* istanbul ignore next */
1240
1240
  // eslint:disable-next-line
@@ -117,7 +117,7 @@ var ContextMenu = /** @class */ (function () {
117
117
  data = this.parent.detailsviewModule.gridObj.getRowObjectFromUID(uid).data;
118
118
  if (isNOU(this.targetElement.getAttribute('aria-selected'))) {
119
119
  /* istanbul ignore next */
120
- this.parent.detailsviewModule.gridObj.selectRows([parseInt(this.targetElement.getAttribute('aria-rowindex'), 10)]);
120
+ this.parent.detailsviewModule.gridObj.selectRows([parseInt(this.targetElement.getAttribute('data-rowindex'), 10)]);
121
121
  }
122
122
  selected = true;
123
123
  /* istanbul ignore next */