@syncfusion/ej2-filemanager 20.3.47 → 20.3.56
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.
- package/CHANGELOG.md +10 -0
- package/dist/ej2-filemanager.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js +2 -2
- package/dist/ej2-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-filemanager.es2015.js +20 -2
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +20 -2
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +2 -2
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +16 -16
- package/src/file-manager/layout/details-view.d.ts +2 -0
- package/src/file-manager/layout/details-view.js +20 -2
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 20.3.
|
3
|
+
* version : 20.3.56
|
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@
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@20.3.49",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-RKQMUimfG7YDT2u5UtED65cKIYPDQNFWFg6NNlFwK/9NJ1RYv5kGNoCFHyeLXyjrlgnk7Y19KerFF+f/NWt8fw==",
|
6
6
|
"_location": "/@syncfusion/ej2-filemanager",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -25,10 +25,10 @@
|
|
25
25
|
"/@syncfusion/ej2-richtexteditor",
|
26
26
|
"/@syncfusion/ej2-vue-filemanager"
|
27
27
|
],
|
28
|
-
"_resolved": "
|
29
|
-
"_shasum": "
|
28
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-20.3.49.tgz",
|
29
|
+
"_shasum": "d6b6ac9b9848b2c7e78a2324b1f778e582ab6744",
|
30
30
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
31
|
-
"_where": "/jenkins/workspace/automation_release_19.1.0.1
|
31
|
+
"_where": "/jenkins/workspace/ease-automation_release_19.1.0.1/packages/included",
|
32
32
|
"author": {
|
33
33
|
"name": "Syncfusion Inc."
|
34
34
|
},
|
@@ -37,16 +37,16 @@
|
|
37
37
|
},
|
38
38
|
"bundleDependencies": false,
|
39
39
|
"dependencies": {
|
40
|
-
"@syncfusion/ej2-base": "~20.3.
|
41
|
-
"@syncfusion/ej2-buttons": "~20.3.
|
42
|
-
"@syncfusion/ej2-data": "~20.3.
|
43
|
-
"@syncfusion/ej2-grids": "~20.3.
|
44
|
-
"@syncfusion/ej2-inputs": "~20.3.
|
45
|
-
"@syncfusion/ej2-layouts": "~20.3.
|
46
|
-
"@syncfusion/ej2-lists": "~20.3.
|
47
|
-
"@syncfusion/ej2-navigations": "~20.3.
|
48
|
-
"@syncfusion/ej2-popups": "~20.3.
|
49
|
-
"@syncfusion/ej2-splitbuttons": "~20.3.
|
40
|
+
"@syncfusion/ej2-base": "~20.3.56",
|
41
|
+
"@syncfusion/ej2-buttons": "~20.3.56",
|
42
|
+
"@syncfusion/ej2-data": "~20.3.56",
|
43
|
+
"@syncfusion/ej2-grids": "~20.3.56",
|
44
|
+
"@syncfusion/ej2-inputs": "~20.3.56",
|
45
|
+
"@syncfusion/ej2-layouts": "~20.3.56",
|
46
|
+
"@syncfusion/ej2-lists": "~20.3.56",
|
47
|
+
"@syncfusion/ej2-navigations": "~20.3.56",
|
48
|
+
"@syncfusion/ej2-popups": "~20.3.56",
|
49
|
+
"@syncfusion/ej2-splitbuttons": "~20.3.56"
|
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.3.
|
70
|
+
"version": "20.3.56",
|
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
|
};
|