@syncfusion/ej2-filemanager 29.2.4 → 30.1.37

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.
Files changed (163) hide show
  1. package/.eslintrc.json +2 -0
  2. package/dist/ej2-filemanager.min.js +2 -2
  3. package/dist/ej2-filemanager.umd.min.js +2 -2
  4. package/dist/ej2-filemanager.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-filemanager.es2015.js +181 -20
  6. package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
  7. package/dist/es6/ej2-filemanager.es5.js +182 -20
  8. package/dist/es6/ej2-filemanager.es5.js.map +1 -1
  9. package/dist/global/ej2-filemanager.min.js +2 -2
  10. package/dist/global/ej2-filemanager.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/dist/ts/file-manager/actions/breadcrumb-bar.d.ts +60 -0
  13. package/dist/ts/file-manager/actions/breadcrumb-bar.ts +423 -0
  14. package/dist/ts/file-manager/actions/index.d.ts +6 -0
  15. package/dist/ts/file-manager/actions/index.ts +6 -0
  16. package/dist/ts/file-manager/actions/toolbar.d.ts +54 -0
  17. package/dist/ts/file-manager/actions/toolbar.ts +609 -0
  18. package/dist/ts/file-manager/actions/virtualization.d.ts +93 -0
  19. package/dist/ts/file-manager/actions/virtualization.ts +324 -0
  20. package/dist/ts/file-manager/base/classes.d.ts +224 -0
  21. package/dist/ts/file-manager/base/classes.ts +225 -0
  22. package/dist/ts/file-manager/base/constant.d.ts +136 -0
  23. package/dist/ts/file-manager/base/constant.ts +137 -0
  24. package/dist/ts/file-manager/base/file-manager-model.d.ts +520 -0
  25. package/dist/ts/file-manager/base/file-manager.d.ts +867 -0
  26. package/dist/ts/file-manager/base/file-manager.ts +2061 -0
  27. package/dist/ts/file-manager/base/index.d.ts +8 -0
  28. package/dist/ts/file-manager/base/index.ts +8 -0
  29. package/dist/ts/file-manager/base/interface.d.ts +952 -0
  30. package/dist/ts/file-manager/base/interface.ts +931 -0
  31. package/dist/ts/file-manager/common/index.d.ts +5 -0
  32. package/dist/ts/file-manager/common/index.ts +5 -0
  33. package/dist/ts/file-manager/common/operations.d.ts +122 -0
  34. package/dist/ts/file-manager/common/operations.ts +1369 -0
  35. package/dist/ts/file-manager/common/utility.d.ts +644 -0
  36. package/dist/ts/file-manager/common/utility.ts +1728 -0
  37. package/dist/ts/file-manager/index.d.ts +9 -0
  38. package/dist/ts/file-manager/index.ts +9 -0
  39. package/dist/ts/file-manager/layout/details-view.d.ts +152 -0
  40. package/dist/ts/file-manager/layout/details-view.ts +1990 -0
  41. package/dist/ts/file-manager/layout/index.d.ts +6 -0
  42. package/dist/ts/file-manager/layout/index.ts +6 -0
  43. package/dist/ts/file-manager/layout/large-icons-view.d.ts +157 -0
  44. package/dist/ts/file-manager/layout/large-icons-view.ts +1684 -0
  45. package/dist/ts/file-manager/layout/navigation-pane.d.ts +104 -0
  46. package/dist/ts/file-manager/layout/navigation-pane.ts +919 -0
  47. package/dist/ts/file-manager/models/ajax-settings-model.d.ts +36 -0
  48. package/dist/ts/file-manager/models/ajax-settings.d.ts +30 -0
  49. package/dist/ts/file-manager/models/ajax-settings.ts +39 -0
  50. package/dist/ts/file-manager/models/column-model.d.ts +155 -0
  51. package/dist/ts/file-manager/models/column.d.ts +179 -0
  52. package/dist/ts/file-manager/models/column.ts +216 -0
  53. package/dist/ts/file-manager/models/contextMenu-settings-model.d.ts +36 -0
  54. package/dist/ts/file-manager/models/contextMenu-settings.d.ts +33 -0
  55. package/dist/ts/file-manager/models/contextMenu-settings.ts +44 -0
  56. package/dist/ts/file-manager/models/default-locale.d.ts +4 -0
  57. package/dist/ts/file-manager/models/default-locale.ts +101 -0
  58. package/dist/ts/file-manager/models/details-view-settings-model.d.ts +30 -0
  59. package/dist/ts/file-manager/models/details-view-settings.d.ts +31 -0
  60. package/dist/ts/file-manager/models/details-view-settings.ts +54 -0
  61. package/dist/ts/file-manager/models/index.d.ts +19 -0
  62. package/dist/ts/file-manager/models/index.ts +19 -0
  63. package/dist/ts/file-manager/models/navigation-pane-settings-model.d.ts +40 -0
  64. package/dist/ts/file-manager/models/navigation-pane-settings.d.ts +34 -0
  65. package/dist/ts/file-manager/models/navigation-pane-settings.ts +42 -0
  66. package/dist/ts/file-manager/models/search-settings-model.d.ts +42 -0
  67. package/dist/ts/file-manager/models/search-settings.d.ts +44 -0
  68. package/dist/ts/file-manager/models/search-settings.ts +53 -0
  69. package/dist/ts/file-manager/models/toolbar-settings-model.d.ts +197 -0
  70. package/dist/ts/file-manager/models/toolbar-settings.d.ts +174 -0
  71. package/dist/ts/file-manager/models/toolbar-settings.ts +198 -0
  72. package/dist/ts/file-manager/models/upload-settings-model.d.ts +70 -0
  73. package/dist/ts/file-manager/models/upload-settings.d.ts +61 -0
  74. package/dist/ts/file-manager/models/upload-settings.ts +75 -0
  75. package/dist/ts/file-manager/pop-up/context-menu.d.ts +64 -0
  76. package/dist/ts/file-manager/pop-up/context-menu.ts +693 -0
  77. package/dist/ts/file-manager/pop-up/dialog.d.ts +31 -0
  78. package/dist/ts/file-manager/pop-up/dialog.ts +1009 -0
  79. package/dist/ts/file-manager/pop-up/index.d.ts +5 -0
  80. package/dist/ts/file-manager/pop-up/index.ts +5 -0
  81. package/dist/ts/index.d.ts +4 -0
  82. package/dist/ts/index.ts +4 -0
  83. package/package.json +16 -17
  84. package/src/file-manager/base/interface.d.ts +10 -0
  85. package/src/file-manager/common/operations.d.ts +18 -1
  86. package/src/file-manager/common/operations.js +59 -0
  87. package/src/file-manager/common/utility.d.ts +3 -3
  88. package/src/file-manager/common/utility.js +20 -6
  89. package/src/file-manager/layout/details-view.js +4 -3
  90. package/src/file-manager/layout/large-icons-view.d.ts +3 -0
  91. package/src/file-manager/layout/large-icons-view.js +67 -9
  92. package/src/file-manager/layout/navigation-pane.js +2 -0
  93. package/src/file-manager/pop-up/dialog.d.ts +3 -3
  94. package/src/file-manager/pop-up/dialog.js +34 -6
  95. package/styles/bds-lite.css +51 -1
  96. package/styles/bds.css +51 -1
  97. package/styles/bootstrap-dark-lite.css +51 -0
  98. package/styles/bootstrap-dark.css +51 -0
  99. package/styles/bootstrap-lite.css +51 -0
  100. package/styles/bootstrap.css +51 -0
  101. package/styles/bootstrap4-lite.css +51 -0
  102. package/styles/bootstrap4.css +51 -0
  103. package/styles/bootstrap5-dark-lite.css +51 -1
  104. package/styles/bootstrap5-dark.css +51 -1
  105. package/styles/bootstrap5-lite.css +51 -1
  106. package/styles/bootstrap5.3-lite.css +51 -0
  107. package/styles/bootstrap5.3.css +51 -0
  108. package/styles/bootstrap5.css +51 -1
  109. package/styles/fabric-dark-lite.css +51 -0
  110. package/styles/fabric-dark.css +51 -0
  111. package/styles/fabric-lite.css +51 -0
  112. package/styles/fabric.css +51 -0
  113. package/styles/file-manager/_bds-definition.scss +1 -0
  114. package/styles/file-manager/_bootstrap5-definition.scss +1 -0
  115. package/styles/file-manager/_layout.scss +46 -4
  116. package/styles/file-manager/_material3-definition.scss +2 -2
  117. package/styles/file-manager/_tailwind-definition.scss +1 -0
  118. package/styles/file-manager/_tailwind3-definition.scss +1 -0
  119. package/styles/file-manager/bds.css +51 -1
  120. package/styles/file-manager/bootstrap-dark.css +51 -0
  121. package/styles/file-manager/bootstrap.css +51 -0
  122. package/styles/file-manager/bootstrap4.css +51 -0
  123. package/styles/file-manager/bootstrap5-dark.css +51 -1
  124. package/styles/file-manager/bootstrap5.3.css +51 -0
  125. package/styles/file-manager/bootstrap5.css +51 -1
  126. package/styles/file-manager/fabric-dark.css +51 -0
  127. package/styles/file-manager/fabric.css +51 -0
  128. package/styles/file-manager/fluent-dark.css +51 -0
  129. package/styles/file-manager/fluent.css +51 -0
  130. package/styles/file-manager/fluent2.css +51 -0
  131. package/styles/file-manager/highcontrast-light.css +51 -0
  132. package/styles/file-manager/highcontrast.css +51 -0
  133. package/styles/file-manager/material-dark.css +51 -0
  134. package/styles/file-manager/material.css +51 -0
  135. package/styles/file-manager/material3-dark.css +53 -2
  136. package/styles/file-manager/material3.css +53 -2
  137. package/styles/file-manager/tailwind-dark.css +51 -1
  138. package/styles/file-manager/tailwind.css +51 -1
  139. package/styles/file-manager/tailwind3.css +51 -0
  140. package/styles/fluent-dark-lite.css +51 -0
  141. package/styles/fluent-dark.css +51 -0
  142. package/styles/fluent-lite.css +51 -0
  143. package/styles/fluent.css +51 -0
  144. package/styles/fluent2-lite.css +51 -0
  145. package/styles/fluent2.css +51 -0
  146. package/styles/highcontrast-light-lite.css +51 -0
  147. package/styles/highcontrast-light.css +51 -0
  148. package/styles/highcontrast-lite.css +51 -0
  149. package/styles/highcontrast.css +51 -0
  150. package/styles/material-dark-lite.css +51 -0
  151. package/styles/material-dark.css +51 -0
  152. package/styles/material-lite.css +51 -0
  153. package/styles/material.css +51 -0
  154. package/styles/material3-dark-lite.css +51 -0
  155. package/styles/material3-dark.css +53 -2
  156. package/styles/material3-lite.css +51 -0
  157. package/styles/material3.css +53 -2
  158. package/styles/tailwind-dark-lite.css +51 -1
  159. package/styles/tailwind-dark.css +51 -1
  160. package/styles/tailwind-lite.css +51 -1
  161. package/styles/tailwind.css +51 -1
  162. package/styles/tailwind3-lite.css +51 -0
  163. package/styles/tailwind3.css +51 -0
@@ -0,0 +1,33 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ export declare const fileItems: string[];
3
+ export declare const folderItems: string[];
4
+ export declare const layoutItems: string[];
5
+ /**
6
+ * Specifies the ContextMenu settings of the File Manager.
7
+ */
8
+ export declare class ContextMenuSettings extends ChildProperty<ContextMenuSettings> {
9
+ /**
10
+ * Specifies the array of string or object that is used to configure file items.
11
+ *
12
+ * @default fileItems
13
+ */
14
+ file: string[];
15
+ /**
16
+ * An array of string or object that is used to configure folder items.
17
+ *
18
+ * @default folderItems
19
+ */
20
+ folder: string[];
21
+ /**
22
+ * An array of string or object that is used to configure layout items.
23
+ *
24
+ * @default layoutItems
25
+ */
26
+ layout: string[];
27
+ /**
28
+ * Enables or disables the ContextMenu.
29
+ *
30
+ * @default true
31
+ */
32
+ visible: boolean;
33
+ }
@@ -0,0 +1,44 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+
3
+ export const fileItems: string[] = ['Open', '|', 'Cut', 'Copy', '|', 'Delete', 'Download', 'Rename', '|', 'Details'];
4
+ export const folderItems: string[] = ['Open', '|', 'Cut', 'Copy', 'Paste', '|', 'Delete', 'Rename', 'Download', '|', 'Details'];
5
+ export const layoutItems: string[] = [
6
+ 'SortBy', 'View', 'Refresh', '|', 'Paste', '|', 'NewFolder', 'Upload', '|', 'Details', '|', 'SelectAll'
7
+ ];
8
+
9
+ /**
10
+ * Specifies the ContextMenu settings of the File Manager.
11
+ */
12
+ export class ContextMenuSettings extends ChildProperty<ContextMenuSettings> {
13
+ /**
14
+ * Specifies the array of string or object that is used to configure file items.
15
+ *
16
+ * @default fileItems
17
+ */
18
+ @Property(fileItems)
19
+ public file: string[];
20
+
21
+ /**
22
+ * An array of string or object that is used to configure folder items.
23
+ *
24
+ * @default folderItems
25
+ */
26
+ @Property(folderItems)
27
+ public folder: string[];
28
+
29
+ /**
30
+ * An array of string or object that is used to configure layout items.
31
+ *
32
+ * @default layoutItems
33
+ */
34
+ @Property(layoutItems)
35
+ public layout: string[];
36
+
37
+ /**
38
+ * Enables or disables the ContextMenu.
39
+ *
40
+ * @default true
41
+ */
42
+ @Property(true)
43
+ public visible: boolean;
44
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Specifies the default locale of FileManager component
3
+ */
4
+ export declare const defaultLocale: Object;
@@ -0,0 +1,101 @@
1
+ /**
2
+ * Specifies the default locale of FileManager component
3
+ */
4
+
5
+ export const defaultLocale: Object = {
6
+ 'NewFolder': 'New folder',
7
+ 'Upload': 'Upload',
8
+ 'Delete': 'Delete',
9
+ 'Rename': 'Rename',
10
+ 'Download': 'Download',
11
+ 'Cut': 'Cut',
12
+ 'Copy': 'Copy',
13
+ 'Paste': 'Paste',
14
+ 'SortBy': 'Sort by',
15
+ 'Refresh': 'Refresh',
16
+ 'Item-Selection': 'item selected',
17
+ 'Items-Selection': 'items selected',
18
+ 'View': 'View',
19
+ 'Details': 'Details',
20
+ 'SelectAll': 'Select all',
21
+ 'Open': 'Open',
22
+ 'Tooltip-NewFolder': 'New folder',
23
+ 'Tooltip-Upload': 'Upload',
24
+ 'Tooltip-Delete': 'Delete',
25
+ 'Tooltip-Rename': 'Rename',
26
+ 'Tooltip-Download': 'Download',
27
+ 'Tooltip-Cut': 'Cut',
28
+ 'Tooltip-Copy': 'Copy',
29
+ 'Tooltip-Paste': 'Paste',
30
+ 'Tooltip-SortBy': 'Sort by',
31
+ 'Tooltip-Refresh': 'Refresh',
32
+ 'Tooltip-Selection': 'Clear selection',
33
+ 'Tooltip-View': 'View',
34
+ 'Tooltip-Details': 'Details',
35
+ 'Tooltip-SelectAll': 'Select all',
36
+ 'Name': 'Name',
37
+ 'Size': 'Size',
38
+ 'DateModified': 'Modified',
39
+ 'DateCreated': 'Date created',
40
+ 'Path': 'Path',
41
+ 'Modified': 'Modified',
42
+ 'Created': 'Created',
43
+ 'Location': 'Location',
44
+ 'Type': 'Type',
45
+ 'Permission': 'Permission',
46
+ 'Ascending': 'Ascending',
47
+ 'Descending': 'Descending',
48
+ 'None': 'None',
49
+ 'View-LargeIcons': 'Large icons',
50
+ 'View-Details': 'Details',
51
+ 'Search': 'Search',
52
+ 'Button-Ok': 'OK',
53
+ 'Button-Cancel': 'Cancel',
54
+ 'Button-Yes': 'Yes',
55
+ 'Button-No': 'No',
56
+ 'Button-Create': 'Create',
57
+ 'Button-Save': 'Save',
58
+ 'Header-NewFolder': 'Folder',
59
+ 'Content-NewFolder': 'Enter your folder name',
60
+ 'Header-Rename': 'Rename',
61
+ 'Content-Rename': 'Enter your new name',
62
+ 'Header-Rename-Confirmation': 'Rename Confirmation',
63
+ 'Content-Rename-Confirmation': 'If you change a file name extension, the file might become unstable. ' +
64
+ 'Are you sure you want to change it?',
65
+ 'Header-Delete': 'Delete File',
66
+ 'Content-Delete': 'Are you sure you want to delete this file?',
67
+ 'Header-Folder-Delete': 'Delete Folder',
68
+ 'Content-Folder-Delete': 'Are you sure you want to delete this folder?',
69
+ 'Header-Multiple-Delete': 'Delete Multiple Items',
70
+ 'Content-Multiple-Delete': 'Are you sure you want to delete these {0} items?',
71
+ 'Header-Duplicate': 'File/Folder exists',
72
+ 'Content-Duplicate': '{0} already exists. Do you want to rename and paste?',
73
+ 'Header-Upload': 'Upload Files',
74
+ 'Error': 'Error',
75
+ 'Validation-Empty': 'The file or folder name cannot be empty.',
76
+ 'Validation-Invalid': 'The file or folder name {0} contains invalid characters. Please use a different name. ' +
77
+ // eslint-disable-next-line no-useless-escape
78
+ 'Valid file or folder names cannot end with a dot or space, and cannot contain any of the following characters: \\/:*?\"<>|',
79
+ 'Validation-NewFolder-Exists': 'A file or folder with the name {0} already exists.',
80
+ 'Validation-Rename-Exists': 'Cannot rename {0} to {1}: destination already exists.',
81
+ 'Folder-Empty': 'This folder is empty',
82
+ 'File-Upload': 'Drag files here to upload',
83
+ 'Search-Empty': 'No results found',
84
+ 'Search-Key': 'Try with different keywords',
85
+ 'Filter-Empty': 'No results found',
86
+ 'Filter-Key': 'Try with different filter',
87
+ 'Sub-Folder-Error': 'The destination folder is the subfolder of the source folder.',
88
+ 'Same-Folder-Error': 'The destination folder is the same as the source folder.',
89
+ 'Access-Denied': 'Access Denied',
90
+ 'Access-Details': 'You don"t have permission to access this folder.',
91
+ 'Header-Retry': 'File Already Exists',
92
+ 'Content-Retry': 'A file with this name already exists in this folder. What would you like to do?',
93
+ 'Button-Keep-Both': 'Keep both',
94
+ 'Button-Replace': 'Replace',
95
+ 'Button-Skip': 'Skip',
96
+ 'ApplyAll-Label': 'Do this for all current items',
97
+ 'KB': 'KB',
98
+ 'Access-Message': '{0} is not accessible. You need permission to perform the {1} action.',
99
+ 'Network-Error': 'NetworkError: Failed to send on XMLHTTPRequest: Failed to load',
100
+ 'Server-Error': 'ServerError: Invalid response from'
101
+ };
@@ -0,0 +1,30 @@
1
+ import { Property, ChildProperty, initializeCSPTemplate } from '@syncfusion/ej2-base';import { ColumnModel } from './index';
2
+
3
+ /**
4
+ * Interface for a class DetailsViewSettings
5
+ */
6
+ export interface DetailsViewSettingsModel {
7
+
8
+ /**
9
+ * If `columnResizing` is set to true, Grid columns can be resized.
10
+ *
11
+ * @default true
12
+ */
13
+ columnResizing?: boolean;
14
+
15
+ /**
16
+ * Specifies the customizable details view.
17
+ *
18
+ * @default {
19
+ * columns: [{
20
+ * field: 'name', headerText: 'Name', minWidth: 120, customAttributes: { class: 'e-fe-grid-name' },
21
+ * template: '\<span class="e-fe-text">${name}\</span>'},{field: 'size', headerText: 'Size',
22
+ * minWidth: 50, width: '110', template: '\<span class="e-fe-size">${size}\</span>'},
23
+ * { field: '_fm_modified', headerText: 'DateModified',
24
+ * minWidth: 50, width: '190'}
25
+ * ]
26
+ * }
27
+ */
28
+ columns?: ColumnModel[];
29
+
30
+ }
@@ -0,0 +1,31 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ import { ColumnModel } from './index';
3
+ /**
4
+ * Specifies the columns in the details view of the file manager.
5
+ */
6
+ export declare const columnArray: ColumnModel[];
7
+ /**
8
+ * Specifies the grid settings of the File Manager.
9
+ */
10
+ export declare class DetailsViewSettings extends ChildProperty<DetailsViewSettings> {
11
+ /**
12
+ * If `columnResizing` is set to true, Grid columns can be resized.
13
+ *
14
+ * @default true
15
+ */
16
+ columnResizing: boolean;
17
+ /**
18
+ * Specifies the customizable details view.
19
+ *
20
+ * @default {
21
+ * columns: [{
22
+ * field: 'name', headerText: 'Name', minWidth: 120, customAttributes: { class: 'e-fe-grid-name' },
23
+ * template: '\<span class="e-fe-text">${name}\</span>'},{field: 'size', headerText: 'Size',
24
+ * minWidth: 50, width: '110', template: '\<span class="e-fe-size">${size}\</span>'},
25
+ * { field: '_fm_modified', headerText: 'DateModified',
26
+ * minWidth: 50, width: '190'}
27
+ * ]
28
+ * }
29
+ */
30
+ columns: ColumnModel[];
31
+ }
@@ -0,0 +1,54 @@
1
+ import { Property, ChildProperty, initializeCSPTemplate } from '@syncfusion/ej2-base';
2
+ import { ColumnModel } from './index';
3
+ /**
4
+ * Specifies the columns in the details view of the file manager.
5
+ */
6
+ export const columnArray: ColumnModel[] = [
7
+ {
8
+ field: 'name', headerText: 'Name', minWidth: 120,
9
+ template: '<span class="e-fe-text">${name}</span>',
10
+ customAttributes: { class: 'e-fe-grid-name'}
11
+ },
12
+ {
13
+ field: '_fm_modified', headerText: 'DateModified', type: 'dateTime',
14
+ format: 'MMMM dd, yyyy HH:mm', minWidth: 120, width: '190'
15
+ },
16
+ {
17
+ field: 'size', headerText: 'Size', minWidth: 90, width: '110',
18
+
19
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
20
+ template: initializeCSPTemplate(function(data: any): string | Function {
21
+ return `<span class="e-fe-size">${data.size}</span>`;
22
+ }) as string | Function, format: 'n2'
23
+ }
24
+ ];
25
+ /**
26
+ * Specifies the grid settings of the File Manager.
27
+ */
28
+ export class DetailsViewSettings extends ChildProperty<DetailsViewSettings> {
29
+
30
+ /**
31
+ * If `columnResizing` is set to true, Grid columns can be resized.
32
+ *
33
+ * @default true
34
+ */
35
+ @Property(true)
36
+ public columnResizing: boolean;
37
+
38
+ /**
39
+ * Specifies the customizable details view.
40
+ *
41
+ * @default {
42
+ * columns: [{
43
+ * field: 'name', headerText: 'Name', minWidth: 120, customAttributes: { class: 'e-fe-grid-name' },
44
+ * template: '\<span class="e-fe-text">${name}\</span>'},{field: 'size', headerText: 'Size',
45
+ * minWidth: 50, width: '110', template: '\<span class="e-fe-size">${size}\</span>'},
46
+ * { field: '_fm_modified', headerText: 'DateModified',
47
+ * minWidth: 50, width: '190'}
48
+ * ]
49
+ * }
50
+ */
51
+ @Property(columnArray)
52
+ public columns: ColumnModel[];
53
+
54
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * FileExplorer common modules
3
+ */
4
+ export * from './ajax-settings';
5
+ export * from './ajax-settings-model';
6
+ export * from './toolbar-settings';
7
+ export * from './toolbar-settings-model';
8
+ export * from './search-settings';
9
+ export * from './search-settings-model';
10
+ export * from './details-view-settings-model';
11
+ export * from './details-view-settings';
12
+ export * from './contextMenu-settings';
13
+ export * from './contextMenu-settings-model';
14
+ export * from './navigation-pane-settings-model';
15
+ export * from './navigation-pane-settings';
16
+ export * from './upload-settings';
17
+ export * from './upload-settings-model';
18
+ export * from './column';
19
+ export * from './column-model';
@@ -0,0 +1,19 @@
1
+ /**
2
+ * FileExplorer common modules
3
+ */
4
+ export * from './ajax-settings';
5
+ export * from './ajax-settings-model';
6
+ export * from './toolbar-settings';
7
+ export * from './toolbar-settings-model';
8
+ export * from './search-settings';
9
+ export * from './search-settings-model';
10
+ export * from './details-view-settings-model';
11
+ export * from './details-view-settings';
12
+ export * from './contextMenu-settings';
13
+ export * from './contextMenu-settings-model';
14
+ export * from './navigation-pane-settings-model';
15
+ export * from './navigation-pane-settings';
16
+ export * from './upload-settings';
17
+ export * from './upload-settings-model';
18
+ export * from './column';
19
+ export * from './column-model';
@@ -0,0 +1,40 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+
3
+ /**
4
+ * Interface for a class NavigationPaneSettings
5
+ */
6
+ export interface NavigationPaneSettingsModel {
7
+
8
+ /**
9
+ * Specifies the maximum width of navigationpane.
10
+ *
11
+ * @default '650px'
12
+ */
13
+ maxWidth?: string | number;
14
+
15
+ /**
16
+ * Specifies the minimum width of navigationpane.
17
+ *
18
+ * @default '240px'
19
+ */
20
+ minWidth?: string | number;
21
+
22
+ /**
23
+ * Enables or disables the navigation pane.
24
+ *
25
+ * @default true
26
+ */
27
+ visible?: boolean;
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
+
40
+ }
@@ -0,0 +1,34 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ /**
3
+ * Specifies the navigationpane settings of the File Manager.
4
+ */
5
+ export declare class NavigationPaneSettings extends ChildProperty<NavigationPaneSettings> {
6
+ /**
7
+ * Specifies the maximum width of navigationpane.
8
+ *
9
+ * @default '650px'
10
+ */
11
+ maxWidth: string | number;
12
+ /**
13
+ * Specifies the minimum width of navigationpane.
14
+ *
15
+ * @default '240px'
16
+ */
17
+ minWidth: string | number;
18
+ /**
19
+ * Enables or disables the navigation pane.
20
+ *
21
+ * @default true
22
+ */
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';
34
+ }
@@ -0,0 +1,42 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+
3
+ /**
4
+ * Specifies the navigationpane settings of the File Manager.
5
+ */
6
+ export class NavigationPaneSettings extends ChildProperty<NavigationPaneSettings> {
7
+ /**
8
+ * Specifies the maximum width of navigationpane.
9
+ *
10
+ * @default '650px'
11
+ */
12
+ @Property('650px')
13
+ public maxWidth: string | number;
14
+
15
+ /**
16
+ * Specifies the minimum width of navigationpane.
17
+ *
18
+ * @default '240px'
19
+ */
20
+ @Property('240px')
21
+ public minWidth: string | number;
22
+
23
+ /**
24
+ * Enables or disables the navigation pane.
25
+ *
26
+ * @default true
27
+ */
28
+ @Property(true)
29
+ public visible: boolean;
30
+
31
+ /**
32
+ * Specifies a value that indicates how to sort the folders in the navigation pane of the file manager component.
33
+ *
34
+ * If the sortOrder is Ascending, the folders are sorted in ascending order.
35
+ * If the sortOrder is Descending, the folders are sorted in descending order.
36
+ * If the sortOrder is None, the folders are not sorted.
37
+ *
38
+ * @default 'None'
39
+ */
40
+ @Property('None')
41
+ public sortOrder: 'None' | 'Ascending' | 'Descending';
42
+ }
@@ -0,0 +1,42 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+ import {FilterType} from "./search-settings";
3
+
4
+ /**
5
+ * Interface for a class SearchSettings
6
+ */
7
+ export interface SearchSettingsModel {
8
+
9
+ /**
10
+ * Enables or disables the allowSearchOnTyping.
11
+ *
12
+ * @default true
13
+ */
14
+ allowSearchOnTyping?: boolean;
15
+
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;
25
+
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;
33
+
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;
41
+
42
+ }
@@ -0,0 +1,44 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ /**
3
+ * Specifies the filter type for Search settings of the File Manager.
4
+ * ```props
5
+ * contains :- It will only show files and folders whose names contain the entered word.
6
+ * startsWith :- It will only show files and folders whose names start with entered word.
7
+ * endsWith :- It will only show files and folders whose names end with entered word.
8
+ * ```
9
+ */
10
+ export declare type FilterType = 'contains' | 'startsWith' | 'endsWith';
11
+ /**
12
+ * Specifies the Search settings of the File Manager.
13
+ */
14
+ export declare class SearchSettings extends ChildProperty<SearchSettings> {
15
+ /**
16
+ * Enables or disables the allowSearchOnTyping.
17
+ *
18
+ * @default true
19
+ */
20
+ allowSearchOnTyping: boolean;
21
+ /**
22
+ * Specifies the filter type while searching the content. The available filter types are:
23
+ * * `contains`
24
+ * * `startsWith`
25
+ * * `endsWith`
26
+ *
27
+ * @default 'contains'
28
+ */
29
+ filterType: FilterType;
30
+ /**
31
+ * If ignoreCase is set to false, searches files that match exactly,
32
+ * else searches files that are case insensitive(uppercase and lowercase letters treated the same).
33
+ *
34
+ * @default true
35
+ */
36
+ ignoreCase: boolean;
37
+ /**
38
+ * Specifies the placeholder value to the search input of the File Manager component.
39
+ * It accepts string.
40
+ *
41
+ * @default null
42
+ */
43
+ placeholder: string;
44
+ }
@@ -0,0 +1,53 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+ /**
3
+ * Specifies the filter type for Search settings of the File Manager.
4
+ * ```props
5
+ * contains :- It will only show files and folders whose names contain the entered word.
6
+ * startsWith :- It will only show files and folders whose names start with entered word.
7
+ * endsWith :- It will only show files and folders whose names end with entered word.
8
+ * ```
9
+ */
10
+ export type FilterType = 'contains' | 'startsWith' | 'endsWith';
11
+
12
+ /**
13
+ * Specifies the Search settings of the File Manager.
14
+ */
15
+ export class SearchSettings extends ChildProperty<SearchSettings> {
16
+ /**
17
+ * Enables or disables the allowSearchOnTyping.
18
+ *
19
+ * @default true
20
+ */
21
+ @Property(true)
22
+ public allowSearchOnTyping: boolean;
23
+
24
+ /**
25
+ * Specifies the filter type while searching the content. The available filter types are:
26
+ * * `contains`
27
+ * * `startsWith`
28
+ * * `endsWith`
29
+ *
30
+ * @default 'contains'
31
+ */
32
+ @Property('contains')
33
+ public filterType: FilterType;
34
+
35
+ /**
36
+ * If ignoreCase is set to false, searches files that match exactly,
37
+ * else searches files that are case insensitive(uppercase and lowercase letters treated the same).
38
+ *
39
+ * @default true
40
+ */
41
+ @Property(true)
42
+ public ignoreCase: boolean;
43
+
44
+ /**
45
+ * Specifies the placeholder value to the search input of the File Manager component.
46
+ * It accepts string.
47
+ *
48
+ * @default null
49
+ */
50
+ @Property(null)
51
+ public placeholder: string;
52
+ }
53
+