@syncfusion/ej2-filemanager 20.1.52-10460 → 20.1.52-10461
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 +412 -410
- package/README.md +69 -69
- package/dist/ej2-filemanager.min.js +1 -0
- 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 +57 -54
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +174 -171
- 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/dist/ts/file-manager/actions/breadcrumb-bar.ts +427 -0
- package/dist/ts/file-manager/actions/toolbar.ts +498 -0
- package/dist/ts/file-manager/base/classes.ts +225 -0
- package/dist/ts/file-manager/base/constant.ts +137 -0
- package/dist/ts/file-manager/base/file-manager.ts +1659 -0
- package/dist/ts/file-manager/base/interface.ts +652 -0
- package/dist/ts/file-manager/common/operations.ts +614 -0
- package/dist/ts/file-manager/common/utility.ts +1503 -0
- package/dist/ts/file-manager/layout/details-view.ts +1837 -0
- package/dist/ts/file-manager/layout/large-icons-view.ts +1587 -0
- package/dist/ts/file-manager/layout/navigation-pane.ts +879 -0
- package/dist/ts/file-manager/models/ajax-settings.ts +39 -0
- package/dist/ts/file-manager/models/column.ts +197 -0
- package/dist/ts/file-manager/models/contextMenu-settings.ts +44 -0
- package/dist/ts/file-manager/models/default-locale.ts +102 -0
- package/dist/ts/file-manager/models/details-view-settings.ts +48 -0
- package/dist/ts/file-manager/models/navigation-pane-settings.ts +42 -0
- package/dist/ts/file-manager/models/search-settings.ts +48 -0
- package/dist/ts/file-manager/models/toolbar-settings.ts +25 -0
- package/dist/ts/file-manager/models/upload-settings.ts +51 -0
- package/dist/ts/file-manager/pop-up/context-menu.ts +614 -0
- package/dist/ts/file-manager/pop-up/dialog.ts +996 -0
- package/helpers/e2e/filemanagerHelper.js +183 -166
- package/license +9 -9
- package/package.json +72 -72
- package/src/file-manager/base/file-manager-model.d.ts +329 -329
- package/src/file-manager/base/file-manager.js +19 -19
- package/src/file-manager/models/ajax-settings-model.d.ts +21 -21
- package/src/file-manager/models/ajax-settings.js +19 -19
- package/src/file-manager/models/column-model.d.ts +98 -98
- package/src/file-manager/models/column.js +19 -19
- package/src/file-manager/models/contextMenu-settings-model.d.ts +21 -21
- package/src/file-manager/models/contextMenu-settings.js +19 -19
- package/src/file-manager/models/details-view-settings-model.d.ts +19 -19
- package/src/file-manager/models/details-view-settings.js +19 -19
- package/src/file-manager/models/navigation-pane-settings-model.d.ts +25 -25
- package/src/file-manager/models/navigation-pane-settings.js +19 -19
- package/src/file-manager/models/search-settings-model.d.ts +26 -26
- package/src/file-manager/models/search-settings.js +19 -19
- package/src/file-manager/models/toolbar-settings-model.d.ts +11 -11
- package/src/file-manager/models/toolbar-settings.js +19 -19
- package/src/file-manager/models/upload-settings-model.d.ts +31 -31
- package/src/file-manager/models/upload-settings.js +19 -19
- package/src/file-manager/pop-up/context-menu.js +3 -0
- package/styles/compatibility/bootstrap.css +1 -0
- package/styles/compatibility/bootstrap.scss +12 -0
- package/styles/compatibility/bootstrap4.css +1 -0
- package/styles/compatibility/bootstrap4.scss +12 -0
- package/styles/compatibility/fabric.css +1 -0
- package/styles/compatibility/fabric.scss +12 -0
- package/styles/compatibility/highcontrast.css +1 -0
- package/styles/compatibility/highcontrast.scss +12 -0
- package/styles/compatibility/material.css +1 -0
- package/styles/compatibility/material.scss +12 -0
- package/styles/file-manager/_all.scss +2 -2
- package/styles/file-manager/_bds-definition.scss +236 -0
- package/styles/file-manager/_bigger.scss +759 -0
- package/styles/file-manager/_bootstrap-dark-definition.scss +244 -240
- package/styles/file-manager/_bootstrap-definition.scss +245 -241
- package/styles/file-manager/_bootstrap4-definition.scss +246 -242
- package/styles/file-manager/_bootstrap5-definition.scss +242 -237
- package/styles/file-manager/_bootstrap5.3-definition.scss +242 -0
- package/styles/file-manager/_fabric-dark-definition.scss +242 -238
- package/styles/file-manager/_fabric-definition.scss +244 -240
- package/styles/file-manager/_fluent-definition.scss +249 -246
- package/styles/file-manager/_fluent2-definition.scss +255 -0
- package/styles/file-manager/_fusionnew-definition.scss +241 -0
- package/styles/file-manager/_highcontrast-definition.scss +244 -240
- package/styles/file-manager/_highcontrast-light-definition.scss +244 -240
- package/styles/file-manager/_layout.scss +1252 -1815
- package/styles/file-manager/_material-dark-definition.scss +245 -240
- package/styles/file-manager/_material-definition.scss +245 -240
- package/styles/file-manager/_material3-definition.scss +235 -0
- package/styles/file-manager/_tailwind-definition.scss +236 -232
- package/styles/file-manager/_theme.scss +418 -397
- package/styles/file-manager/icons/_bds.scss +235 -0
- package/styles/file-manager/icons/_bootstrap-dark.scss +235 -235
- package/styles/file-manager/icons/_bootstrap.scss +235 -236
- package/styles/file-manager/icons/_bootstrap4.scss +235 -236
- package/styles/file-manager/icons/_bootstrap5.3.scss +235 -0
- package/styles/file-manager/icons/_bootstrap5.scss +235 -235
- package/styles/file-manager/icons/_fabric-dark.scss +229 -230
- package/styles/file-manager/icons/_fabric.scss +229 -230
- package/styles/file-manager/icons/_fluent.scss +235 -235
- package/styles/file-manager/icons/_fluent2.scss +235 -0
- package/styles/file-manager/icons/_fusionnew.scss +235 -0
- package/styles/file-manager/icons/_highcontrast-light.scss +235 -235
- package/styles/file-manager/icons/_highcontrast.scss +229 -229
- package/styles/file-manager/icons/_material-dark.scss +235 -235
- package/styles/file-manager/icons/_material.scss +235 -235
- package/styles/file-manager/icons/_material3.scss +235 -0
- package/styles/file-manager/icons/_tailwind.scss +235 -235
- package/.eslintrc.json +0 -244
- package/styles/bootstrap-dark.css +0 -1920
- package/styles/bootstrap-dark.scss +0 -1
- package/styles/bootstrap.css +0 -1899
- package/styles/bootstrap.scss +0 -1
- package/styles/bootstrap4.css +0 -1935
- package/styles/bootstrap4.scss +0 -1
- package/styles/bootstrap5-dark.css +0 -1982
- package/styles/bootstrap5-dark.scss +0 -1
- package/styles/bootstrap5.css +0 -1982
- package/styles/bootstrap5.scss +0 -1
- package/styles/fabric-dark.css +0 -1891
- package/styles/fabric-dark.scss +0 -1
- package/styles/fabric.css +0 -1891
- package/styles/fabric.scss +0 -1
- package/styles/file-manager/_bootstrap5-dark-definition.scss +0 -1
- package/styles/file-manager/_fluent-dark-definition.scss +0 -1
- package/styles/file-manager/_tailwind-dark-definition.scss +0 -1
- package/styles/file-manager/bootstrap-dark.css +0 -1920
- package/styles/file-manager/bootstrap-dark.scss +0 -16
- package/styles/file-manager/bootstrap.css +0 -1899
- package/styles/file-manager/bootstrap.scss +0 -16
- package/styles/file-manager/bootstrap4.css +0 -1935
- package/styles/file-manager/bootstrap4.scss +0 -16
- package/styles/file-manager/bootstrap5-dark.css +0 -1982
- package/styles/file-manager/bootstrap5-dark.scss +0 -16
- package/styles/file-manager/bootstrap5.css +0 -1982
- package/styles/file-manager/bootstrap5.scss +0 -16
- package/styles/file-manager/fabric-dark.css +0 -1891
- package/styles/file-manager/fabric-dark.scss +0 -16
- package/styles/file-manager/fabric.css +0 -1891
- package/styles/file-manager/fabric.scss +0 -16
- package/styles/file-manager/fluent-dark.css +0 -1901
- package/styles/file-manager/fluent-dark.scss +0 -16
- package/styles/file-manager/fluent.css +0 -1900
- package/styles/file-manager/fluent.scss +0 -16
- package/styles/file-manager/highcontrast-light.css +0 -1897
- package/styles/file-manager/highcontrast-light.scss +0 -16
- package/styles/file-manager/highcontrast.css +0 -1897
- package/styles/file-manager/highcontrast.scss +0 -16
- package/styles/file-manager/icons/_bootstrap5-dark.scss +0 -1
- package/styles/file-manager/icons/_fluent-dark.scss +0 -1
- package/styles/file-manager/icons/_tailwind-dark.scss +0 -1
- package/styles/file-manager/material-dark.css +0 -1945
- package/styles/file-manager/material-dark.scss +0 -16
- package/styles/file-manager/material.css +0 -1932
- package/styles/file-manager/material.scss +0 -16
- package/styles/file-manager/tailwind-dark.css +0 -1969
- package/styles/file-manager/tailwind-dark.scss +0 -16
- package/styles/file-manager/tailwind.css +0 -1969
- package/styles/file-manager/tailwind.scss +0 -16
- package/styles/fluent-dark.css +0 -1901
- package/styles/fluent-dark.scss +0 -1
- package/styles/fluent.css +0 -1900
- package/styles/fluent.scss +0 -1
- package/styles/highcontrast-light.css +0 -1897
- package/styles/highcontrast-light.scss +0 -1
- package/styles/highcontrast.css +0 -1897
- package/styles/highcontrast.scss +0 -1
- package/styles/material-dark.css +0 -1945
- package/styles/material-dark.scss +0 -1
- package/styles/material.css +0 -1932
- package/styles/material.scss +0 -1
- package/styles/tailwind-dark.css +0 -1969
- package/styles/tailwind-dark.scss +0 -1
- package/styles/tailwind.css +0 -1969
- package/styles/tailwind.scss +0 -1
- package/tslint.json +0 -111
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Interface for a class NavigationPaneSettings
|
@@ -6,35 +6,35 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
6
6
|
export interface NavigationPaneSettingsModel {
|
7
7
|
|
8
8
|
/**
|
9
|
-
* Specifies the maximum width of navigationpane.
|
10
|
-
*
|
11
|
-
* @default '650px'
|
12
|
-
*/
|
13
|
-
maxWidth?: string | number;
|
9
|
+
* Specifies the maximum width of navigationpane.
|
10
|
+
*
|
11
|
+
* @default '650px'
|
12
|
+
*/
|
13
|
+
maxWidth?: string | number;
|
14
14
|
|
15
15
|
/**
|
16
|
-
* Specifies the minimum width of navigationpane.
|
17
|
-
*
|
18
|
-
* @default '240px'
|
19
|
-
*/
|
20
|
-
minWidth?: string | number;
|
16
|
+
* Specifies the minimum width of navigationpane.
|
17
|
+
*
|
18
|
+
* @default '240px'
|
19
|
+
*/
|
20
|
+
minWidth?: string | number;
|
21
21
|
|
22
22
|
/**
|
23
|
-
* Enables or disables the navigation pane.
|
24
|
-
*
|
25
|
-
* @default true
|
26
|
-
*/
|
27
|
-
visible?: boolean;
|
23
|
+
* Enables or disables the navigation pane.
|
24
|
+
*
|
25
|
+
* @default true
|
26
|
+
*/
|
27
|
+
visible?: boolean;
|
28
28
|
|
29
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';
|
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
39
|
|
40
40
|
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
2
|
-
var extendStatics = function (d, b) {
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
-
return extendStatics(d, b);
|
7
|
-
};
|
8
|
-
return function (d, b) {
|
9
|
-
extendStatics(d, b);
|
10
|
-
function __() { this.constructor = d; }
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
-
};
|
13
|
-
})();
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
-
};
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
2
|
+
var extendStatics = function (d, b) {
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
+
return extendStatics(d, b);
|
7
|
+
};
|
8
|
+
return function (d, b) {
|
9
|
+
extendStatics(d, b);
|
10
|
+
function __() { this.constructor = d; }
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
+
};
|
13
|
+
})();
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
+
};
|
20
20
|
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
21
21
|
/**
|
22
22
|
* Specifies the navigationpane settings of the File Manager.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
2
2
|
import {FilterType} from "./search-settings";
|
3
3
|
|
4
4
|
/**
|
@@ -7,36 +7,36 @@ import {FilterType} from "./search-settings";
|
|
7
7
|
export interface SearchSettingsModel {
|
8
8
|
|
9
9
|
/**
|
10
|
-
* Enables or disables the allowSearchOnTyping.
|
11
|
-
*
|
12
|
-
* @default true
|
13
|
-
*/
|
14
|
-
allowSearchOnTyping?: boolean;
|
10
|
+
* Enables or disables the allowSearchOnTyping.
|
11
|
+
*
|
12
|
+
* @default true
|
13
|
+
*/
|
14
|
+
allowSearchOnTyping?: boolean;
|
15
15
|
|
16
16
|
/**
|
17
|
-
* Specifies the filter type while searching the content. The available filter types are:
|
18
|
-
* * `contains`
|
19
|
-
* * `startsWith`
|
20
|
-
* * `endsWith`
|
21
|
-
*
|
22
|
-
* @default 'contains'
|
23
|
-
*/
|
24
|
-
filterType?: FilterType;
|
17
|
+
* Specifies the filter type while searching the content. The available filter types are:
|
18
|
+
* * `contains`
|
19
|
+
* * `startsWith`
|
20
|
+
* * `endsWith`
|
21
|
+
*
|
22
|
+
* @default 'contains'
|
23
|
+
*/
|
24
|
+
filterType?: FilterType;
|
25
25
|
|
26
26
|
/**
|
27
|
-
* If ignoreCase is set to false, searches files that match exactly,
|
28
|
-
* else searches files that are case insensitive(uppercase and lowercase letters treated the same).
|
29
|
-
*
|
30
|
-
* @default true
|
31
|
-
*/
|
32
|
-
ignoreCase?: boolean;
|
27
|
+
* If ignoreCase is set to false, searches files that match exactly,
|
28
|
+
* else searches files that are case insensitive(uppercase and lowercase letters treated the same).
|
29
|
+
*
|
30
|
+
* @default true
|
31
|
+
*/
|
32
|
+
ignoreCase?: boolean;
|
33
33
|
|
34
34
|
/**
|
35
|
-
* Specifies the placeholder value to the search input of the File Manager component.
|
36
|
-
* It accepts string.
|
37
|
-
*
|
38
|
-
* @default null
|
39
|
-
*/
|
40
|
-
placeholder?: string;
|
35
|
+
* Specifies the placeholder value to the search input of the File Manager component.
|
36
|
+
* It accepts string.
|
37
|
+
*
|
38
|
+
* @default null
|
39
|
+
*/
|
40
|
+
placeholder?: string;
|
41
41
|
|
42
42
|
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
2
|
-
var extendStatics = function (d, b) {
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
-
return extendStatics(d, b);
|
7
|
-
};
|
8
|
-
return function (d, b) {
|
9
|
-
extendStatics(d, b);
|
10
|
-
function __() { this.constructor = d; }
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
-
};
|
13
|
-
})();
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
-
};
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
2
|
+
var extendStatics = function (d, b) {
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
+
return extendStatics(d, b);
|
7
|
+
};
|
8
|
+
return function (d, b) {
|
9
|
+
extendStatics(d, b);
|
10
|
+
function __() { this.constructor = d; }
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
+
};
|
13
|
+
})();
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
+
};
|
20
20
|
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
21
21
|
/**
|
22
22
|
* Specifies the Search settings of the File Manager.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Interface for a class ToolbarSettings
|
@@ -6,17 +6,17 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
6
6
|
export interface ToolbarSettingsModel {
|
7
7
|
|
8
8
|
/**
|
9
|
-
* An array of string or object that is used to configure the toolbar items.
|
10
|
-
*
|
11
|
-
* @default toolbarItems
|
12
|
-
*/
|
13
|
-
items?: string[];
|
9
|
+
* An array of string or object that is used to configure the toolbar items.
|
10
|
+
*
|
11
|
+
* @default toolbarItems
|
12
|
+
*/
|
13
|
+
items?: string[];
|
14
14
|
|
15
15
|
/**
|
16
|
-
* Enables or disables the toolbar rendering in the file manager component.
|
17
|
-
*
|
18
|
-
* @default true
|
19
|
-
*/
|
20
|
-
visible?: boolean;
|
16
|
+
* Enables or disables the toolbar rendering in the file manager component.
|
17
|
+
*
|
18
|
+
* @default true
|
19
|
+
*/
|
20
|
+
visible?: boolean;
|
21
21
|
|
22
22
|
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
2
|
-
var extendStatics = function (d, b) {
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
-
return extendStatics(d, b);
|
7
|
-
};
|
8
|
-
return function (d, b) {
|
9
|
-
extendStatics(d, b);
|
10
|
-
function __() { this.constructor = d; }
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
-
};
|
13
|
-
})();
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
-
};
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
2
|
+
var extendStatics = function (d, b) {
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
+
return extendStatics(d, b);
|
7
|
+
};
|
8
|
+
return function (d, b) {
|
9
|
+
extendStatics(d, b);
|
10
|
+
function __() { this.constructor = d; }
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
+
};
|
13
|
+
})();
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
+
};
|
20
20
|
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
21
21
|
export var toolbarItems = ['NewFolder', 'Upload', 'Cut', 'Copy', 'Paste', 'Delete', 'Download', 'Rename',
|
22
22
|
'SortBy', 'Refresh', 'Selection', 'View', 'Details'];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
1
|
+
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
2
2
|
|
3
3
|
/**
|
4
4
|
* Interface for a class UploadSettings
|
@@ -6,43 +6,43 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
|
6
6
|
export interface UploadSettingsModel {
|
7
7
|
|
8
8
|
/**
|
9
|
-
* Specifies the extensions of the file types allowed in the file manager component and pass the extensions with comma separators.
|
10
|
-
* For example, if you want to upload specific image files, pass allowedExtensions as ".jpg,.png".
|
11
|
-
*
|
12
|
-
* @defaults ''
|
13
|
-
*/
|
14
|
-
allowedExtensions?: string;
|
9
|
+
* Specifies the extensions of the file types allowed in the file manager component and pass the extensions with comma separators.
|
10
|
+
* For example, if you want to upload specific image files, pass allowedExtensions as ".jpg,.png".
|
11
|
+
*
|
12
|
+
* @defaults ''
|
13
|
+
*/
|
14
|
+
allowedExtensions?: string;
|
15
15
|
|
16
16
|
/**
|
17
|
-
* By default, the FileManager component initiates automatic upload when the files are added in upload queue.
|
18
|
-
* If you want to manipulate the files before uploading to server, disable the autoUpload property.
|
19
|
-
* The buttons "upload" and "clear" will be hided from file list when the autoUpload property is true.
|
20
|
-
*
|
21
|
-
* @default true
|
22
|
-
*/
|
23
|
-
autoUpload?: boolean;
|
17
|
+
* By default, the FileManager component initiates automatic upload when the files are added in upload queue.
|
18
|
+
* If you want to manipulate the files before uploading to server, disable the autoUpload property.
|
19
|
+
* The buttons "upload" and "clear" will be hided from file list when the autoUpload property is true.
|
20
|
+
*
|
21
|
+
* @default true
|
22
|
+
*/
|
23
|
+
autoUpload?: boolean;
|
24
24
|
|
25
25
|
/**
|
26
|
-
* Defines whether to close the upload dialog after uploading all the files.
|
27
|
-
*
|
28
|
-
* @default false
|
29
|
-
*/
|
30
|
-
autoClose?: boolean;
|
26
|
+
* Defines whether to close the upload dialog after uploading all the files.
|
27
|
+
*
|
28
|
+
* @default false
|
29
|
+
*/
|
30
|
+
autoClose?: boolean;
|
31
31
|
|
32
32
|
/**
|
33
|
-
* Specifies the minimum file size to be uploaded in bytes.
|
34
|
-
* The property is used to make sure that you cannot upload empty files and small files.
|
35
|
-
*
|
36
|
-
* @default 0
|
37
|
-
*/
|
38
|
-
minFileSize?: number;
|
33
|
+
* Specifies the minimum file size to be uploaded in bytes.
|
34
|
+
* The property is used to make sure that you cannot upload empty files and small files.
|
35
|
+
*
|
36
|
+
* @default 0
|
37
|
+
*/
|
38
|
+
minFileSize?: number;
|
39
39
|
|
40
40
|
/**
|
41
|
-
* Specifies the maximum allowed file size to be uploaded in bytes.
|
42
|
-
* The property is used to make sure that you cannot upload too large files.
|
43
|
-
*
|
44
|
-
* @default 30000000
|
45
|
-
*/
|
46
|
-
maxFileSize?: number;
|
41
|
+
* Specifies the maximum allowed file size to be uploaded in bytes.
|
42
|
+
* The property is used to make sure that you cannot upload too large files.
|
43
|
+
*
|
44
|
+
* @default 30000000
|
45
|
+
*/
|
46
|
+
maxFileSize?: number;
|
47
47
|
|
48
48
|
}
|
@@ -1,22 +1,22 @@
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
2
|
-
var extendStatics = function (d, b) {
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
-
return extendStatics(d, b);
|
7
|
-
};
|
8
|
-
return function (d, b) {
|
9
|
-
extendStatics(d, b);
|
10
|
-
function __() { this.constructor = d; }
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
-
};
|
13
|
-
})();
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
-
};
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
2
|
+
var extendStatics = function (d, b) {
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
6
|
+
return extendStatics(d, b);
|
7
|
+
};
|
8
|
+
return function (d, b) {
|
9
|
+
extendStatics(d, b);
|
10
|
+
function __() { this.constructor = d; }
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
12
|
+
};
|
13
|
+
})();
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
19
|
+
};
|
20
20
|
import { Property, ChildProperty } from '@syncfusion/ej2-base';
|
21
21
|
/**
|
22
22
|
* Specifies the Ajax settings of the File Manager.
|
@@ -124,6 +124,9 @@ var ContextMenu = /** @class */ (function () {
|
|
124
124
|
}
|
125
125
|
else if (closest(target, '#' + this.parent.element.id + CLS.TREE_ID)) {
|
126
126
|
uid = closest(target, 'li').getAttribute('data-uid');
|
127
|
+
if (!isNOU(uid)) {
|
128
|
+
this.parent.navigationpaneModule.treeObj.selectedNodes = [uid];
|
129
|
+
}
|
127
130
|
treeFolder = true;
|
128
131
|
}
|
129
132
|
/* istanbul ignore next */
|