@syncfusion/ej2-filemanager 20.3.47 → 20.3.49

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.3.47
3
+ * version : 20.3.49
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@18.11.1",
3
+ "_id": "@syncfusion/ej2-filemanager@20.3.47",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ARkeDw7V6bEHgGF9oV7gFvHyLHceyEwIXQ44qfmdza5b7CKCCuzm0Yz6iZTspFTYCGuAh+BLxuSQw01i1VPj4A==",
5
+ "_integrity": "sha512-u1hhmRvH0BI9Ay3zjFmvZB4vwz+2hZNBpWR0Q0t2+XVoqns0oYzKC86j3StmfxzC9sLbKGlqhTVwqxgrz2spGA==",
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-release/@syncfusion/ej2-filemanager/-/ej2-filemanager-18.11.1.tgz",
29
- "_shasum": "10412f53e60a17107a680168a2039a13b200e34c",
28
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.3.47.tgz",
29
+ "_shasum": "ebafc77b31caae1b7b368b50b97f6f21ee34efc3",
30
30
  "_spec": "@syncfusion/ej2-filemanager@*",
31
31
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
32
32
  "author": {
@@ -37,15 +37,15 @@
37
37
  },
38
38
  "bundleDependencies": false,
39
39
  "dependencies": {
40
- "@syncfusion/ej2-base": "~20.3.47",
41
- "@syncfusion/ej2-buttons": "~20.3.47",
40
+ "@syncfusion/ej2-base": "~20.3.49",
41
+ "@syncfusion/ej2-buttons": "~20.3.49",
42
42
  "@syncfusion/ej2-data": "~20.3.47",
43
- "@syncfusion/ej2-grids": "~20.3.47",
44
- "@syncfusion/ej2-inputs": "~20.3.47",
45
- "@syncfusion/ej2-layouts": "~20.3.47",
43
+ "@syncfusion/ej2-grids": "~20.3.49",
44
+ "@syncfusion/ej2-inputs": "~20.3.49",
45
+ "@syncfusion/ej2-layouts": "~20.3.48",
46
46
  "@syncfusion/ej2-lists": "~20.3.47",
47
- "@syncfusion/ej2-navigations": "~20.3.47",
48
- "@syncfusion/ej2-popups": "~20.3.47",
47
+ "@syncfusion/ej2-navigations": "~20.3.49",
48
+ "@syncfusion/ej2-popups": "~20.3.49",
49
49
  "@syncfusion/ej2-splitbuttons": "~20.3.47"
50
50
  },
51
51
  "deprecated": false,
@@ -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.3.47",
70
+ "version": "20.3.49",
71
71
  "sideEffects": false
72
72
  }
@@ -115,6 +115,7 @@ export declare class DetailsView {
115
115
  private removeFocus;
116
116
  private getFocusedItemIndex;
117
117
  private keydownHandler;
118
+ actionDivert: boolean;
118
119
  private keyupHandler;
119
120
  gridSelectNodes(): Object[];
120
121
  private doDownload;
@@ -129,6 +130,7 @@ export declare class DetailsView {
129
130
  private InnerItems;
130
131
  private shiftSelectFocusItem;
131
132
  private addFocus;
133
+ private addHeaderFocus;
132
134
  private getFocusedItem;
133
135
  private isSelected;
134
136
  private shiftSelectedItem;
@@ -40,6 +40,9 @@ var DetailsView = /** @class */ (function () {
40
40
  this.isNameWidth = false;
41
41
  this.pasteOperation = false;
42
42
  this.uploadOperation = false;
43
+ /* istanbul ignore next */
44
+ // eslint:disable-next-line
45
+ this.actionDivert = false;
43
46
  Grid.Inject(Resize, ContextMenu, Sort, VirtualScroll);
44
47
  this.parent = parent;
45
48
  this.element = select('#' + this.parent.element.id + CLS.GRID_ID, this.parent.element);
@@ -1281,8 +1284,6 @@ var DetailsView = /** @class */ (function () {
1281
1284
  break;
1282
1285
  }
1283
1286
  };
1284
- /* istanbul ignore next */
1285
- // eslint:disable-next-line
1286
1287
  DetailsView.prototype.keyupHandler = function (e) {
1287
1288
  if (!this.isRendered) {
1288
1289
  return;
@@ -1359,8 +1360,13 @@ var DetailsView = /** @class */ (function () {
1359
1360
  else if (this.gridObj.selectedRowIndex !== -1 && e.action === 'tab') {
1360
1361
  return;
1361
1362
  }
1363
+ else if (!this.actionDivert) {
1364
+ this.addHeaderFocus();
1365
+ this.actionDivert = true;
1366
+ }
1362
1367
  else {
1363
1368
  this.addFocus(0);
1369
+ this.actionDivert = false;
1364
1370
  }
1365
1371
  }
1366
1372
  break;
@@ -1647,6 +1653,18 @@ var DetailsView = /** @class */ (function () {
1647
1653
  addClass([itemElement], [CLS.FOCUS, CLS.FOCUSED]);
1648
1654
  }
1649
1655
  };
1656
+ DetailsView.prototype.addHeaderFocus = function () {
1657
+ var treeFocus = select('.e-row', this.element);
1658
+ this.gridObj.element.setAttribute('tabindex', '-1');
1659
+ var nameFocus = select('th.e-fe-grid-name', this.element);
1660
+ nameFocus.setAttribute('tabindex', '0');
1661
+ nameFocus.focus();
1662
+ addClass([nameFocus], [CLS.FOCUS, CLS.FOCUSED]);
1663
+ treeFocus.setAttribute('tabindex', '0');
1664
+ if (treeFocus.tabIndex === 0 && nameFocus.tabIndex === 0) {
1665
+ removeClass([treeFocus], [CLS.FOCUS, CLS.FOCUSED]);
1666
+ }
1667
+ };
1650
1668
  DetailsView.prototype.getFocusedItem = function () {
1651
1669
  return select('.' + CLS.FOCUSED, this.element);
1652
1670
  };