@syncfusion/ej2-filemanager 23.1.43 → 23.2.6
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/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 +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 +2 -2
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +15 -16
- package/src/file-manager/common/utility.js +21 -2
- package/src/file-manager/layout/details-view.js +2 -2
- package/src/file-manager/layout/navigation-pane.js +1 -0
- package/src/file-manager/pop-up/context-menu.js +1 -0
- package/styles/file-manager/_material3-definition.scss +1 -1
- package/styles/file-manager/material3-dark.css +1 -1
- package/styles/file-manager/material3.css +1 -1
- package/styles/material3-dark.css +1 -1
- package/styles/material3.css +1 -1
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 23.
|
3
|
+
* version : 23.2.6
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@23.
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@23.2.4",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-s8XHzbFYq30zJoimCVZAwAIPFV6Fg2N9dmPUNiYK+wNy/4pOkoE04oeN13L4y0WIaffr8vG/LECVRZHw8UKWrQ==",
|
6
6
|
"_location": "/@syncfusion/ej2-filemanager",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -20,13 +20,12 @@
|
|
20
20
|
"/",
|
21
21
|
"/@syncfusion/ej2",
|
22
22
|
"/@syncfusion/ej2-angular-filemanager",
|
23
|
-
"/@syncfusion/ej2-pdfviewer",
|
24
23
|
"/@syncfusion/ej2-react-filemanager",
|
25
24
|
"/@syncfusion/ej2-richtexteditor",
|
26
25
|
"/@syncfusion/ej2-vue-filemanager"
|
27
26
|
],
|
28
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-23.
|
29
|
-
"_shasum": "
|
27
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-23.2.4.tgz",
|
28
|
+
"_shasum": "801f1a445651efb299645bc0038c68bf8733afcc",
|
30
29
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
31
30
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
32
31
|
"author": {
|
@@ -37,16 +36,16 @@
|
|
37
36
|
},
|
38
37
|
"bundleDependencies": false,
|
39
38
|
"dependencies": {
|
40
|
-
"@syncfusion/ej2-base": "~23.
|
41
|
-
"@syncfusion/ej2-buttons": "~23.
|
42
|
-
"@syncfusion/ej2-data": "~23.
|
43
|
-
"@syncfusion/ej2-grids": "~23.
|
44
|
-
"@syncfusion/ej2-inputs": "~23.
|
45
|
-
"@syncfusion/ej2-layouts": "~23.
|
46
|
-
"@syncfusion/ej2-lists": "~23.
|
47
|
-
"@syncfusion/ej2-navigations": "~23.
|
48
|
-
"@syncfusion/ej2-popups": "~23.
|
49
|
-
"@syncfusion/ej2-splitbuttons": "~23.
|
39
|
+
"@syncfusion/ej2-base": "~23.2.6",
|
40
|
+
"@syncfusion/ej2-buttons": "~23.2.4",
|
41
|
+
"@syncfusion/ej2-data": "~23.2.4",
|
42
|
+
"@syncfusion/ej2-grids": "~23.2.6",
|
43
|
+
"@syncfusion/ej2-inputs": "~23.2.4",
|
44
|
+
"@syncfusion/ej2-layouts": "~23.2.4",
|
45
|
+
"@syncfusion/ej2-lists": "~23.2.4",
|
46
|
+
"@syncfusion/ej2-navigations": "~23.2.5",
|
47
|
+
"@syncfusion/ej2-popups": "~23.2.4",
|
48
|
+
"@syncfusion/ej2-splitbuttons": "~23.2.4"
|
50
49
|
},
|
51
50
|
"deprecated": false,
|
52
51
|
"description": "Essential JS 2 FileManager Component",
|
@@ -76,6 +75,6 @@
|
|
76
75
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
77
76
|
},
|
78
77
|
"typings": "index.d.ts",
|
79
|
-
"version": "23.
|
78
|
+
"version": "23.2.6",
|
80
79
|
"sideEffects": false
|
81
80
|
}
|
@@ -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]);
|
@@ -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
|
}
|
@@ -408,6 +408,7 @@ var ContextMenu = /** @class */ (function () {
|
|
408
408
|
sItems = _this.parent.selectedItems;
|
409
409
|
if (_this.parent.activeModule === 'navigationpane') {
|
410
410
|
sItems = [];
|
411
|
+
_this.parent.navigationpaneModule.openFileOnContextMenuClick(closest(_this.targetNodeElement, 'li'));
|
411
412
|
}
|
412
413
|
GetDetails(_this.parent, sItems, _this.parent.path, 'details');
|
413
414
|
break;
|
@@ -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;
|
@@ -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 {
|