@syncfusion/ej2-filemanager 23.1.40 → 23.1.43-87344
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 +17 -0
- package/README.md +1 -1
- package/dist/ej2-filemanager.min.js +1 -10
- package/dist/ej2-filemanager.umd.min.js +1 -10
- package/dist/ej2-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-filemanager.es2015.js +24 -3
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +24 -3
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +1 -10
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/package.json +80 -80
- package/src/file-manager/common/utility.js +21 -2
- package/src/file-manager/layout/details-view.js +2 -2
- package/src/file-manager/layout/large-icons-view.js +1 -0
- package/src/file-manager/layout/navigation-pane.js +1 -0
- package/styles/fabric-dark.css +4 -0
- package/styles/fabric.css +4 -0
- package/styles/file-manager/_layout.scss +10 -0
- package/styles/file-manager/_material3-definition.scss +1 -1
- package/styles/file-manager/fabric-dark.css +4 -0
- package/styles/file-manager/fabric.css +4 -0
- package/styles/file-manager/material3-dark.css +1 -1
- package/styles/file-manager/material3-dark.scss +1 -1
- package/styles/file-manager/material3.css +1 -1
- package/styles/file-manager/material3.scss +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +1 -1
- package/styles/material3.scss +1 -1
package/dist/global/index.d.ts
CHANGED
@@ -1,12 +1,3 @@
|
|
1
|
-
/*!
|
2
|
-
* filename: index.d.ts
|
3
|
-
* version : 23.1.40
|
4
|
-
* Copyright Syncfusion Inc. 2001 - 2023. 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
1
|
import * as _filemanager from '@syncfusion/ej2-filemanager';
|
11
2
|
|
12
3
|
export declare namespace ej {
|
package/package.json
CHANGED
@@ -1,81 +1,81 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
}
|
2
|
+
"_from": "@syncfusion/ej2-filemanager@*",
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@23.1.40",
|
4
|
+
"_inBundle": false,
|
5
|
+
"_integrity": "sha512-osm5GAz6wW1NHuHebPTRex6IewzDUskrE+6o/r8lJHQX4F52YS3P5LxdlRB8k8ZgX5Ew51ynsWP7BRQ8rAMiqg==",
|
6
|
+
"_location": "/@syncfusion/ej2-filemanager",
|
7
|
+
"_phantomChildren": {},
|
8
|
+
"_requested": {
|
9
|
+
"type": "range",
|
10
|
+
"registry": true,
|
11
|
+
"raw": "@syncfusion/ej2-filemanager@*",
|
12
|
+
"name": "@syncfusion/ej2-filemanager",
|
13
|
+
"escapedName": "@syncfusion%2fej2-filemanager",
|
14
|
+
"scope": "@syncfusion",
|
15
|
+
"rawSpec": "*",
|
16
|
+
"saveSpec": null,
|
17
|
+
"fetchSpec": "*"
|
18
|
+
},
|
19
|
+
"_requiredBy": [
|
20
|
+
"/",
|
21
|
+
"/@syncfusion/ej2",
|
22
|
+
"/@syncfusion/ej2-angular-filemanager",
|
23
|
+
"/@syncfusion/ej2-pdfviewer",
|
24
|
+
"/@syncfusion/ej2-react-filemanager",
|
25
|
+
"/@syncfusion/ej2-richtexteditor",
|
26
|
+
"/@syncfusion/ej2-vue-filemanager"
|
27
|
+
],
|
28
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-23.1.40.tgz",
|
29
|
+
"_shasum": "44b41cb5cc183e5cd86ecc8db8aa7b8cf3406ad3",
|
30
|
+
"_spec": "@syncfusion/ej2-filemanager@*",
|
31
|
+
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
32
|
+
"author": {
|
33
|
+
"name": "Syncfusion Inc."
|
34
|
+
},
|
35
|
+
"bugs": {
|
36
|
+
"url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
|
37
|
+
},
|
38
|
+
"bundleDependencies": false,
|
39
|
+
"dependencies": {
|
40
|
+
"@syncfusion/ej2-base": "~23.1.41",
|
41
|
+
"@syncfusion/ej2-buttons": "~23.1.43",
|
42
|
+
"@syncfusion/ej2-data": "~23.1.43",
|
43
|
+
"@syncfusion/ej2-grids": "~23.1.43",
|
44
|
+
"@syncfusion/ej2-inputs": "~23.1.43",
|
45
|
+
"@syncfusion/ej2-layouts": "~23.1.36",
|
46
|
+
"@syncfusion/ej2-lists": "~23.1.43",
|
47
|
+
"@syncfusion/ej2-navigations": "~23.1.43",
|
48
|
+
"@syncfusion/ej2-popups": "~23.1.43",
|
49
|
+
"@syncfusion/ej2-splitbuttons": "~23.1.43"
|
50
|
+
},
|
51
|
+
"deprecated": false,
|
52
|
+
"description": "Essential JS 2 FileManager Component",
|
53
|
+
"devDependencies": {},
|
54
|
+
"es2015": "./dist/es6/ej2-filemanager.es5.js",
|
55
|
+
"homepage": "https://www.syncfusion.com/javascript-ui-controls",
|
56
|
+
"keywords": [
|
57
|
+
"ej2",
|
58
|
+
"syncfusion",
|
59
|
+
"JavaScript",
|
60
|
+
"TypeScript",
|
61
|
+
"filemanager",
|
62
|
+
"file organizer",
|
63
|
+
"file organizing tool",
|
64
|
+
"file picker",
|
65
|
+
"file viewer",
|
66
|
+
"file browser",
|
67
|
+
"file selector",
|
68
|
+
"directory viewer"
|
69
|
+
],
|
70
|
+
"license": "SEE LICENSE IN license",
|
71
|
+
"main": "./dist/ej2-filemanager.umd.min.js",
|
72
|
+
"module": "./index.js",
|
73
|
+
"name": "@syncfusion/ej2-filemanager",
|
74
|
+
"repository": {
|
75
|
+
"type": "git",
|
76
|
+
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
77
|
+
},
|
78
|
+
"typings": "index.d.ts",
|
79
|
+
"version": "23.1.43-87344",
|
80
|
+
"sideEffects": false
|
81
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as CLS from '../base/classes';
|
2
2
|
import * as events from '../base/constant';
|
3
3
|
import { read, paste, Search, filter, Download, Delete } from '../common/operations';
|
4
|
-
import { getValue, setValue, isNullOrUndefined as isNOU, matches, select, createElement } from '@syncfusion/ej2-base';
|
4
|
+
import { getValue, setValue, isNullOrUndefined as isNOU, matches, select, createElement, isNullOrUndefined } from '@syncfusion/ej2-base';
|
5
5
|
import { closest, detach } from '@syncfusion/ej2-base';
|
6
6
|
import { DataManager, Query } from '@syncfusion/ej2-data';
|
7
7
|
import { createDialog } from '../pop-up/dialog';
|
@@ -795,8 +795,27 @@ export function setNextPath(parent, path) {
|
|
795
795
|
*/
|
796
796
|
// eslint-disable-next-line
|
797
797
|
export function openSearchFolder(parent, data) {
|
798
|
-
parent.notify(events.clearPathInit, { selectedNode: parent.pathId[parent.pathId.length - 1] });
|
799
798
|
parent.originalPath = getFullPath(parent, data, parent.path);
|
799
|
+
var root = getValue(parent.pathId[0], parent.feParent);
|
800
|
+
var isRoot = getValue('_fm_id', parent.itemData[0]) == 'fe_tree';
|
801
|
+
var key = isNOU(getValue('id', root)) ? 'name' : 'id';
|
802
|
+
var searchData = getObject(parent, key, getValue('name', data));
|
803
|
+
if (isNullOrUndefined(searchData)) {
|
804
|
+
if (!isRoot) {
|
805
|
+
parent.notify(events.clearPathInit, { selectedNode: parent.pathId[parent.pathId.length - 1] });
|
806
|
+
}
|
807
|
+
else {
|
808
|
+
setNextPath(parent, parent.path);
|
809
|
+
return;
|
810
|
+
}
|
811
|
+
}
|
812
|
+
else {
|
813
|
+
var id = getValue('_fm_id', searchData);
|
814
|
+
parent.setProperties({ path: parent.originalPath }, true);
|
815
|
+
parent.pathId.push(id);
|
816
|
+
parent.itemData = [searchData];
|
817
|
+
parent.pathNames.push(getValue('name', searchData));
|
818
|
+
}
|
800
819
|
read(parent, (parent.path !== parent.originalPath) ? events.initialEnd : events.finalizeEnd, parent.path);
|
801
820
|
}
|
802
821
|
/**
|
@@ -959,10 +959,10 @@ var DetailsView = /** @class */ (function () {
|
|
959
959
|
}
|
960
960
|
var name;
|
961
961
|
if (dragLi.getElementsByClassName('e-fe-text')[0]) {
|
962
|
-
name = dragLi.getElementsByClassName('e-fe-text')[0].innerText;
|
962
|
+
name = this.parent.hasId ? this.gridObj.getRowInfo(dragLi).rowData.id : dragLi.getElementsByClassName('e-fe-text')[0].innerText;
|
963
963
|
}
|
964
964
|
else if (dragLi.getElementsByClassName('e-rowcell e-templatecell')[0].nextElementSibling) {
|
965
|
-
name = dragLi.getElementsByClassName('e-rowcell e-templatecell')[0].nextElementSibling.innerText;
|
965
|
+
name = this.parent.hasId ? this.gridObj.getRowInfo(dragLi).rowData.id : dragLi.getElementsByClassName('e-rowcell e-templatecell')[0].nextElementSibling.innerText;
|
966
966
|
}
|
967
967
|
if (dragLi && !dragLi.querySelector('.e-active')) {
|
968
968
|
this.selectRecords([name]);
|
@@ -368,6 +368,7 @@ var LargeIconsView = /** @class */ (function () {
|
|
368
368
|
this.selectItems([getValue(this.parent.hasId ? 'id' : 'name', this.parent.createdItem)]);
|
369
369
|
this.parent.createdItem = null;
|
370
370
|
this.parent.largeiconsviewModule.element.focus();
|
371
|
+
this.parent.activeModule = 'largeiconsview';
|
371
372
|
};
|
372
373
|
LargeIconsView.prototype.onSelectedData = function () {
|
373
374
|
if (this.parent.activeModule === 'largeiconsview') {
|
@@ -303,6 +303,7 @@ var NavigationPane = /** @class */ (function () {
|
|
303
303
|
this.expandNodeTarget = args.node.getAttribute('data-uid');
|
304
304
|
this.parent.expandedId = this.expandNodeTarget;
|
305
305
|
this.parent.itemData = this.getTreeData(getValue('id', args.nodeData));
|
306
|
+
this.parent.pathId.push(getValue('id', args.nodeData));
|
306
307
|
read(this.parent, events.nodeExpand, path);
|
307
308
|
this.isNodeExpandCalled = true;
|
308
309
|
}
|
package/styles/fabric-dark.css
CHANGED
@@ -410,6 +410,8 @@ ejs-filemanager {
|
|
410
410
|
}
|
411
411
|
.e-filemanager .e-grid .e-gridheader .e-headercell {
|
412
412
|
height: 32px;
|
413
|
+
padding: 5px 8px;
|
414
|
+
line-height: 16px;
|
413
415
|
}
|
414
416
|
.e-filemanager .e-grid .e-gridheader .e-headercell.e-fe-grid-icon .e-sortfilterdiv {
|
415
417
|
margin-right: 0;
|
@@ -439,6 +441,8 @@ ejs-filemanager {
|
|
439
441
|
.e-filemanager .e-grid .e-content .e-rowcell {
|
440
442
|
border: 0;
|
441
443
|
font-size: 12px;
|
444
|
+
padding: 10px 8px;
|
445
|
+
line-height: 16px;
|
442
446
|
}
|
443
447
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
444
448
|
box-shadow: 1px 0 0 1px #0074cc inset;
|
package/styles/fabric.css
CHANGED
@@ -411,6 +411,8 @@ ejs-filemanager {
|
|
411
411
|
}
|
412
412
|
.e-filemanager .e-grid .e-gridheader .e-headercell {
|
413
413
|
height: 32px;
|
414
|
+
padding: 5px 8px;
|
415
|
+
line-height: 16px;
|
414
416
|
}
|
415
417
|
.e-filemanager .e-grid .e-gridheader .e-headercell.e-fe-grid-icon .e-sortfilterdiv {
|
416
418
|
margin-right: 0;
|
@@ -440,6 +442,8 @@ ejs-filemanager {
|
|
440
442
|
.e-filemanager .e-grid .e-content .e-rowcell {
|
441
443
|
border: 0;
|
442
444
|
font-size: 12px;
|
445
|
+
padding: 10px 8px;
|
446
|
+
line-height: 16px;
|
443
447
|
}
|
444
448
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
445
449
|
box-shadow: 1px 0 0 1px #0078d6 inset;
|
@@ -418,6 +418,11 @@
|
|
418
418
|
.e-rcursor {
|
419
419
|
border: 0;
|
420
420
|
}
|
421
|
+
|
422
|
+
@if $fm-skin-name == 'fabric' or $fm-skin-name == 'fabric-dark' {
|
423
|
+
padding: 5px 8px;
|
424
|
+
line-height: 16px;
|
425
|
+
}
|
421
426
|
}
|
422
427
|
|
423
428
|
@include visibility(hidden);
|
@@ -468,6 +473,11 @@
|
|
468
473
|
line-height: 20px;
|
469
474
|
}
|
470
475
|
}
|
476
|
+
|
477
|
+
@if $fm-skin-name == 'fabric' or $fm-skin-name == 'fabric-dark' {
|
478
|
+
padding: 10px 8px;
|
479
|
+
line-height: 16px;
|
480
|
+
}
|
471
481
|
}
|
472
482
|
|
473
483
|
tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
@@ -53,7 +53,7 @@ $fe-grid-header-cb-padding-left: 12px !default;
|
|
53
53
|
$fe-grid-content-font-size: 12px !default;
|
54
54
|
$fe-grid-content-name-font-size: 14px !default;
|
55
55
|
$fe-grid-icon-sort-margin: 0 !default;
|
56
|
-
$fe-grid-icon-padding: 0 0 0
|
56
|
+
$fe-grid-icon-padding: 0 0 0 6px !default;
|
57
57
|
$fe-lg-margin: 0 !default;
|
58
58
|
$fe-lg-padding: 0 4px !default;
|
59
59
|
$fe-lg-item-height: 96px !default;
|
@@ -410,6 +410,8 @@ ejs-filemanager {
|
|
410
410
|
}
|
411
411
|
.e-filemanager .e-grid .e-gridheader .e-headercell {
|
412
412
|
height: 32px;
|
413
|
+
padding: 5px 8px;
|
414
|
+
line-height: 16px;
|
413
415
|
}
|
414
416
|
.e-filemanager .e-grid .e-gridheader .e-headercell.e-fe-grid-icon .e-sortfilterdiv {
|
415
417
|
margin-right: 0;
|
@@ -439,6 +441,8 @@ ejs-filemanager {
|
|
439
441
|
.e-filemanager .e-grid .e-content .e-rowcell {
|
440
442
|
border: 0;
|
441
443
|
font-size: 12px;
|
444
|
+
padding: 10px 8px;
|
445
|
+
line-height: 16px;
|
442
446
|
}
|
443
447
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
444
448
|
box-shadow: 1px 0 0 1px #0074cc inset;
|
@@ -411,6 +411,8 @@ ejs-filemanager {
|
|
411
411
|
}
|
412
412
|
.e-filemanager .e-grid .e-gridheader .e-headercell {
|
413
413
|
height: 32px;
|
414
|
+
padding: 5px 8px;
|
415
|
+
line-height: 16px;
|
414
416
|
}
|
415
417
|
.e-filemanager .e-grid .e-gridheader .e-headercell.e-fe-grid-icon .e-sortfilterdiv {
|
416
418
|
margin-right: 0;
|
@@ -440,6 +442,8 @@ ejs-filemanager {
|
|
440
442
|
.e-filemanager .e-grid .e-content .e-rowcell {
|
441
443
|
border: 0;
|
442
444
|
font-size: 12px;
|
445
|
+
padding: 10px 8px;
|
446
|
+
line-height: 16px;
|
443
447
|
}
|
444
448
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
445
449
|
box-shadow: 1px 0 0 1px #0078d6 inset;
|
@@ -587,7 +587,7 @@ ejs-filemanager {
|
|
587
587
|
}
|
588
588
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon,
|
589
589
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon {
|
590
|
-
padding: 0 0 0
|
590
|
+
padding: 0 0 0 6px;
|
591
591
|
}
|
592
592
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon .e-headercelldiv,
|
593
593
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon .e-headercelldiv {
|
@@ -643,7 +643,7 @@ ejs-filemanager {
|
|
643
643
|
}
|
644
644
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon,
|
645
645
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon {
|
646
|
-
padding: 0 0 0
|
646
|
+
padding: 0 0 0 6px;
|
647
647
|
}
|
648
648
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon .e-headercelldiv,
|
649
649
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon .e-headercelldiv {
|
@@ -587,7 +587,7 @@ ejs-filemanager {
|
|
587
587
|
}
|
588
588
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon,
|
589
589
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon {
|
590
|
-
padding: 0 0 0
|
590
|
+
padding: 0 0 0 6px;
|
591
591
|
}
|
592
592
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon .e-headercelldiv,
|
593
593
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon .e-headercelldiv {
|
package/styles/material3.css
CHANGED
@@ -643,7 +643,7 @@ ejs-filemanager {
|
|
643
643
|
}
|
644
644
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon,
|
645
645
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon {
|
646
|
-
padding: 0 0 0
|
646
|
+
padding: 0 0 0 6px;
|
647
647
|
}
|
648
648
|
.e-filemanager .e-grid .e-gridheader .e-fe-grid-icon .e-headercelldiv,
|
649
649
|
.e-filemanager .e-grid .e-gridcontent .e-fe-grid-icon .e-headercelldiv {
|
package/styles/material3.scss
CHANGED