@syncfusion/ej2-filemanager 19.4.50 → 19.4.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 +29 -0
- 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 -9
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +20 -9
- 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 -15
- package/src/file-manager/base/classes.d.ts +2 -0
- package/src/file-manager/base/classes.js +2 -0
- package/src/file-manager/base/file-manager-model.d.ts +1 -0
- package/src/file-manager/base/file-manager.d.ts +1 -0
- package/src/file-manager/common/utility.js +1 -1
- package/src/file-manager/layout/navigation-pane.js +13 -7
- package/src/file-manager/models/navigation-pane-settings-model.d.ts +11 -0
- package/src/file-manager/models/navigation-pane-settings.d.ts +10 -0
- package/src/file-manager/models/navigation-pane-settings.js +3 -0
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 19.4.
|
3
|
+
* version : 19.4.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@19.4.
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@19.4.52",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-QCUdr+xDveWgX7tGfF0VwiOXGkGo40NYFUovNlXFGtEZByVJTQiA80ORzrXAoU64Wo4B3cv5ihrEx4oCJEjb4A==",
|
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-19.4.
|
29
|
-
"_shasum": "
|
28
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-19.4.52.tgz",
|
29
|
+
"_shasum": "e551e84db65f7784568edb6b6652da8fdff9c29d",
|
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": "~19.4.
|
41
|
-
"@syncfusion/ej2-buttons": "~19.4.
|
42
|
-
"@syncfusion/ej2-data": "~19.4.
|
43
|
-
"@syncfusion/ej2-grids": "~19.4.
|
44
|
-
"@syncfusion/ej2-inputs": "~19.4.
|
45
|
-
"@syncfusion/ej2-layouts": "~19.4.
|
46
|
-
"@syncfusion/ej2-lists": "~19.4.
|
47
|
-
"@syncfusion/ej2-navigations": "~19.4.
|
48
|
-
"@syncfusion/ej2-popups": "~19.4.
|
49
|
-
"@syncfusion/ej2-splitbuttons": "~19.4.
|
40
|
+
"@syncfusion/ej2-base": "~19.4.52",
|
41
|
+
"@syncfusion/ej2-buttons": "~19.4.55",
|
42
|
+
"@syncfusion/ej2-data": "~19.4.54",
|
43
|
+
"@syncfusion/ej2-grids": "~19.4.56",
|
44
|
+
"@syncfusion/ej2-inputs": "~19.4.52",
|
45
|
+
"@syncfusion/ej2-layouts": "~19.4.52",
|
46
|
+
"@syncfusion/ej2-lists": "~19.4.55",
|
47
|
+
"@syncfusion/ej2-navigations": "~19.4.56",
|
48
|
+
"@syncfusion/ej2-popups": "~19.4.53",
|
49
|
+
"@syncfusion/ej2-splitbuttons": "~19.4.52"
|
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": "19.4.
|
70
|
+
"version": "19.4.56",
|
71
71
|
"sideEffects": false
|
72
72
|
}
|
@@ -149,6 +149,8 @@ export declare const SUBMENU_ICON: string;
|
|
149
149
|
/** @hidden */
|
150
150
|
export declare const GRID_VIEW: string;
|
151
151
|
/** @hidden */
|
152
|
+
export declare const GRID_CONTENT: string;
|
153
|
+
/** @hidden */
|
152
154
|
export declare const ICON_VIEW: string;
|
153
155
|
/** @hidden */
|
154
156
|
export declare const ICON_OPEN: string;
|
@@ -149,6 +149,8 @@ export var SUBMENU_ICON = 'e-caret';
|
|
149
149
|
/** @hidden */
|
150
150
|
export var GRID_VIEW = 'e-content';
|
151
151
|
/** @hidden */
|
152
|
+
export var GRID_CONTENT = 'e-gridcontent';
|
153
|
+
/** @hidden */
|
152
154
|
export var ICON_VIEW = 'e-list-parent';
|
153
155
|
/** @hidden */
|
154
156
|
export var ICON_OPEN = 'e-icons e-fe-open';
|
@@ -312,7 +312,7 @@ export function updateLayout(parent, view) {
|
|
312
312
|
export function getTargetModule(parent, element) {
|
313
313
|
var tartgetModule = '';
|
314
314
|
if (element) {
|
315
|
-
if (closest(element, '.
|
315
|
+
if (closest(element, '.' + CLS.ROOT + '.' + CLS.CONTROL + ' .' + CLS.GRID_CONTENT)) {
|
316
316
|
tartgetModule = 'detailsview';
|
317
317
|
}
|
318
318
|
else if (closest(element, '.' + CLS.LARGE_ICONS)) {
|
@@ -74,6 +74,7 @@ var NavigationPane = /** @class */ (function () {
|
|
74
74
|
hasChildren: 'hasChild', iconCss: '_fm_icon', htmlAttributes: '_fm_htmlAttr', tooltip: 'name'
|
75
75
|
},
|
76
76
|
enableHtmlSanitizer: this.parent.enableHtmlSanitizer,
|
77
|
+
sortOrder: this.parent.navigationPaneSettings.sortOrder,
|
77
78
|
nodeSelecting: this.onNodeSelecting.bind(this),
|
78
79
|
nodeSelected: this.onNodeSelected.bind(this),
|
79
80
|
nodeExpanding: this.onNodeExpand.bind(this),
|
@@ -466,6 +467,9 @@ var NavigationPane = /** @class */ (function () {
|
|
466
467
|
break;
|
467
468
|
case 'navigationPaneSettings':
|
468
469
|
read(this.parent, events.finalizeEnd, '/');
|
470
|
+
if (e.oldProp.navigationPaneSettings.sortOrder !== e.newProp.navigationPaneSettings.sortOrder) {
|
471
|
+
this.treeObj.sortOrder = e.newProp.navigationPaneSettings.sortOrder;
|
472
|
+
}
|
469
473
|
break;
|
470
474
|
}
|
471
475
|
}
|
@@ -758,13 +762,15 @@ var NavigationPane = /** @class */ (function () {
|
|
758
762
|
removeActive(this.parent);
|
759
763
|
break;
|
760
764
|
case 'del':
|
761
|
-
this.
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
765
|
+
if (this.parent.pathId[0] !== this.activeNode.getAttribute('data-uid')) {
|
766
|
+
this.updateItemData();
|
767
|
+
if (!hasEditAccess(this.parent.itemData[0])) {
|
768
|
+
createDeniedDialog(this.parent, this.parent.itemData[0], events.permissionEdit);
|
769
|
+
}
|
770
|
+
else {
|
771
|
+
this.removeNodes = [];
|
772
|
+
createDialog(this.parent, 'Delete');
|
773
|
+
}
|
768
774
|
}
|
769
775
|
break;
|
770
776
|
case 'ctrlC':
|
@@ -26,4 +26,15 @@ export interface NavigationPaneSettingsModel {
|
|
26
26
|
*/
|
27
27
|
visible?: boolean;
|
28
28
|
|
29
|
+
/**
|
30
|
+
* Specifies a value that indicates how to sort the folders in the navigation pane of the file manager component.
|
31
|
+
*
|
32
|
+
* If the sortOrder is Ascending, the folders are sorted in ascending order.
|
33
|
+
* If the sortOrder is Descending, the folders are sorted in descending order.
|
34
|
+
* If the sortOrder is None, the folders are not sorted.
|
35
|
+
*
|
36
|
+
* @default 'None'
|
37
|
+
*/
|
38
|
+
sortOrder?: 'None' | 'Ascending' | 'Descending';
|
39
|
+
|
29
40
|
}
|
@@ -21,4 +21,14 @@ export declare class NavigationPaneSettings extends ChildProperty<NavigationPane
|
|
21
21
|
* @default true
|
22
22
|
*/
|
23
23
|
visible: boolean;
|
24
|
+
/**
|
25
|
+
* Specifies a value that indicates how to sort the folders in the navigation pane of the file manager component.
|
26
|
+
*
|
27
|
+
* If the sortOrder is Ascending, the folders are sorted in ascending order.
|
28
|
+
* If the sortOrder is Descending, the folders are sorted in descending order.
|
29
|
+
* If the sortOrder is None, the folders are not sorted.
|
30
|
+
*
|
31
|
+
* @default 'None'
|
32
|
+
*/
|
33
|
+
sortOrder: 'None' | 'Ascending' | 'Descending';
|
24
34
|
}
|
@@ -35,6 +35,9 @@ var NavigationPaneSettings = /** @class */ (function (_super) {
|
|
35
35
|
__decorate([
|
36
36
|
Property(true)
|
37
37
|
], NavigationPaneSettings.prototype, "visible", void 0);
|
38
|
+
__decorate([
|
39
|
+
Property('None')
|
40
|
+
], NavigationPaneSettings.prototype, "sortOrder", void 0);
|
38
41
|
return NavigationPaneSettings;
|
39
42
|
}(ChildProperty));
|
40
43
|
export { NavigationPaneSettings };
|