@syncfusion/ej2-filemanager 30.1.37 → 30.1.39
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/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 +8 -3
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +7 -2
- 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 +17 -52
- package/src/file-manager/common/utility.js +3 -0
- package/src/file-manager/layout/navigation-pane.js +4 -2
- package/styles/bds-lite.css +11 -12
- package/styles/bds.css +11 -12
- package/styles/bootstrap-dark-lite.css +11 -12
- package/styles/bootstrap-dark.css +11 -12
- package/styles/bootstrap-lite.css +11 -12
- package/styles/bootstrap.css +11 -12
- package/styles/bootstrap4-lite.css +11 -12
- package/styles/bootstrap4.css +11 -12
- package/styles/bootstrap5-dark-lite.css +11 -12
- package/styles/bootstrap5-dark.css +11 -12
- package/styles/bootstrap5-lite.css +11 -12
- package/styles/bootstrap5.3-lite.css +11 -12
- package/styles/bootstrap5.3.css +11 -12
- package/styles/bootstrap5.css +11 -12
- package/styles/fabric-dark-lite.css +11 -12
- package/styles/fabric-dark.css +11 -12
- package/styles/fabric-lite.css +11 -12
- package/styles/fabric.css +11 -12
- package/styles/file-manager/_layout.scss +7 -7
- package/styles/file-manager/bds.css +11 -12
- package/styles/file-manager/bootstrap-dark.css +11 -12
- package/styles/file-manager/bootstrap.css +11 -12
- package/styles/file-manager/bootstrap4.css +11 -12
- package/styles/file-manager/bootstrap5-dark.css +11 -12
- package/styles/file-manager/bootstrap5.3.css +11 -12
- package/styles/file-manager/bootstrap5.css +11 -12
- package/styles/file-manager/fabric-dark.css +11 -12
- package/styles/file-manager/fabric.css +11 -12
- package/styles/file-manager/fluent-dark.css +11 -12
- package/styles/file-manager/fluent.css +11 -12
- package/styles/file-manager/fluent2.css +11 -12
- package/styles/file-manager/highcontrast-light.css +11 -12
- package/styles/file-manager/highcontrast.css +11 -12
- package/styles/file-manager/material-dark.css +11 -12
- package/styles/file-manager/material.css +11 -12
- package/styles/file-manager/material3-dark.css +11 -12
- package/styles/file-manager/material3.css +11 -12
- package/styles/file-manager/tailwind-dark.css +11 -12
- package/styles/file-manager/tailwind.css +11 -12
- package/styles/file-manager/tailwind3.css +11 -12
- package/styles/fluent-dark-lite.css +11 -12
- package/styles/fluent-dark.css +11 -12
- package/styles/fluent-lite.css +11 -12
- package/styles/fluent.css +11 -12
- package/styles/fluent2-lite.css +11 -12
- package/styles/fluent2.css +11 -12
- package/styles/highcontrast-light-lite.css +11 -12
- package/styles/highcontrast-light.css +11 -12
- package/styles/highcontrast-lite.css +11 -12
- package/styles/highcontrast.css +11 -12
- package/styles/material-dark-lite.css +11 -12
- package/styles/material-dark.css +11 -12
- package/styles/material-lite.css +11 -12
- package/styles/material.css +11 -12
- package/styles/material3-dark-lite.css +11 -12
- package/styles/material3-dark.css +11 -12
- package/styles/material3-lite.css +11 -12
- package/styles/material3.css +11 -12
- package/styles/tailwind-dark-lite.css +11 -12
- package/styles/tailwind-dark.css +11 -12
- package/styles/tailwind-lite.css +11 -12
- package/styles/tailwind.css +11 -12
- package/styles/tailwind3-lite.css +11 -12
- package/styles/tailwind3.css +11 -12
- package/dist/ts/file-manager/actions/breadcrumb-bar.d.ts +0 -60
- package/dist/ts/file-manager/actions/breadcrumb-bar.ts +0 -423
- package/dist/ts/file-manager/actions/index.d.ts +0 -6
- package/dist/ts/file-manager/actions/index.ts +0 -6
- package/dist/ts/file-manager/actions/toolbar.d.ts +0 -54
- package/dist/ts/file-manager/actions/toolbar.ts +0 -609
- package/dist/ts/file-manager/actions/virtualization.d.ts +0 -93
- package/dist/ts/file-manager/actions/virtualization.ts +0 -324
- package/dist/ts/file-manager/base/classes.d.ts +0 -224
- package/dist/ts/file-manager/base/classes.ts +0 -225
- package/dist/ts/file-manager/base/constant.d.ts +0 -136
- package/dist/ts/file-manager/base/constant.ts +0 -137
- package/dist/ts/file-manager/base/file-manager-model.d.ts +0 -520
- package/dist/ts/file-manager/base/file-manager.d.ts +0 -867
- package/dist/ts/file-manager/base/file-manager.ts +0 -2061
- package/dist/ts/file-manager/base/index.d.ts +0 -8
- package/dist/ts/file-manager/base/index.ts +0 -8
- package/dist/ts/file-manager/base/interface.d.ts +0 -952
- package/dist/ts/file-manager/base/interface.ts +0 -931
- package/dist/ts/file-manager/common/index.d.ts +0 -5
- package/dist/ts/file-manager/common/index.ts +0 -5
- package/dist/ts/file-manager/common/operations.d.ts +0 -122
- package/dist/ts/file-manager/common/operations.ts +0 -1369
- package/dist/ts/file-manager/common/utility.d.ts +0 -644
- package/dist/ts/file-manager/common/utility.ts +0 -1728
- package/dist/ts/file-manager/index.d.ts +0 -9
- package/dist/ts/file-manager/index.ts +0 -9
- package/dist/ts/file-manager/layout/details-view.d.ts +0 -152
- package/dist/ts/file-manager/layout/details-view.ts +0 -1990
- package/dist/ts/file-manager/layout/index.d.ts +0 -6
- package/dist/ts/file-manager/layout/index.ts +0 -6
- package/dist/ts/file-manager/layout/large-icons-view.d.ts +0 -157
- package/dist/ts/file-manager/layout/large-icons-view.ts +0 -1684
- package/dist/ts/file-manager/layout/navigation-pane.d.ts +0 -104
- package/dist/ts/file-manager/layout/navigation-pane.ts +0 -919
- package/dist/ts/file-manager/models/ajax-settings-model.d.ts +0 -36
- package/dist/ts/file-manager/models/ajax-settings.d.ts +0 -30
- package/dist/ts/file-manager/models/ajax-settings.ts +0 -39
- package/dist/ts/file-manager/models/column-model.d.ts +0 -155
- package/dist/ts/file-manager/models/column.d.ts +0 -179
- package/dist/ts/file-manager/models/column.ts +0 -216
- package/dist/ts/file-manager/models/contextMenu-settings-model.d.ts +0 -36
- package/dist/ts/file-manager/models/contextMenu-settings.d.ts +0 -33
- package/dist/ts/file-manager/models/contextMenu-settings.ts +0 -44
- package/dist/ts/file-manager/models/default-locale.d.ts +0 -4
- package/dist/ts/file-manager/models/default-locale.ts +0 -101
- package/dist/ts/file-manager/models/details-view-settings-model.d.ts +0 -30
- package/dist/ts/file-manager/models/details-view-settings.d.ts +0 -31
- package/dist/ts/file-manager/models/details-view-settings.ts +0 -54
- package/dist/ts/file-manager/models/index.d.ts +0 -19
- package/dist/ts/file-manager/models/index.ts +0 -19
- package/dist/ts/file-manager/models/navigation-pane-settings-model.d.ts +0 -40
- package/dist/ts/file-manager/models/navigation-pane-settings.d.ts +0 -34
- package/dist/ts/file-manager/models/navigation-pane-settings.ts +0 -42
- package/dist/ts/file-manager/models/search-settings-model.d.ts +0 -42
- package/dist/ts/file-manager/models/search-settings.d.ts +0 -44
- package/dist/ts/file-manager/models/search-settings.ts +0 -53
- package/dist/ts/file-manager/models/toolbar-settings-model.d.ts +0 -197
- package/dist/ts/file-manager/models/toolbar-settings.d.ts +0 -174
- package/dist/ts/file-manager/models/toolbar-settings.ts +0 -198
- package/dist/ts/file-manager/models/upload-settings-model.d.ts +0 -70
- package/dist/ts/file-manager/models/upload-settings.d.ts +0 -61
- package/dist/ts/file-manager/models/upload-settings.ts +0 -75
- package/dist/ts/file-manager/pop-up/context-menu.d.ts +0 -64
- package/dist/ts/file-manager/pop-up/context-menu.ts +0 -693
- package/dist/ts/file-manager/pop-up/dialog.d.ts +0 -31
- package/dist/ts/file-manager/pop-up/dialog.ts +0 -1009
- package/dist/ts/file-manager/pop-up/index.d.ts +0 -5
- package/dist/ts/file-manager/pop-up/index.ts +0 -5
- package/dist/ts/index.d.ts +0 -4
- package/dist/ts/index.ts +0 -4
@@ -1,644 +0,0 @@
|
|
1
|
-
import { IFileManager, ReadArgs, SearchArgs, BeforeImageLoadEventArgs } from '../base/interface';
|
2
|
-
import { Draggable } from '@syncfusion/ej2-base';
|
3
|
-
import { DragEventArgs } from '@syncfusion/ej2-base';
|
4
|
-
import { MenuEventArgs } from '@syncfusion/ej2-navigations';
|
5
|
-
/**
|
6
|
-
* Utility function to compare two strings in a way similar to Windows Explorer.
|
7
|
-
* Files and folders are sorted separately, with folders coming before files.
|
8
|
-
*
|
9
|
-
* @param {string} reference - The first string to compare. This could be a file or folder name.
|
10
|
-
* @param {string} comparer - The second string to compare. This could be a file or folder name.
|
11
|
-
* @returns {number} - A negative number if `reference` should come before `comparer`, a positive number if `comparer` should come before `reference`, and 0 if they are considered equal.
|
12
|
-
*/
|
13
|
-
export declare function sortComparer(reference: string, comparer: string): number;
|
14
|
-
/**
|
15
|
-
* Utility file for common actions
|
16
|
-
*
|
17
|
-
* @param {HTMLLIElement} node - specifies the node.
|
18
|
-
* @param {Object} data - specifies the data.
|
19
|
-
* @param {IFileManager} instance - specifies the control instance.
|
20
|
-
* @returns {void}
|
21
|
-
* @private
|
22
|
-
*/
|
23
|
-
export declare function updatePath(node: HTMLLIElement, data: Object, instance: IFileManager): void;
|
24
|
-
/**
|
25
|
-
* Functions for get path in FileManager
|
26
|
-
*
|
27
|
-
* @param {Element | Node} element - specifies the element.
|
28
|
-
* @param {string} text - specifies the text.
|
29
|
-
* @param {boolean} hasId - specifies the id.
|
30
|
-
* @returns {string} returns the path.
|
31
|
-
* @private
|
32
|
-
*/
|
33
|
-
export declare function getPath(element: Element | Node, text: string, hasId: boolean): string;
|
34
|
-
/**
|
35
|
-
* Functions for get path id in FileManager
|
36
|
-
*
|
37
|
-
* @param {Element} node - specifies the node element.
|
38
|
-
* @returns {string[]} returns the path ids.
|
39
|
-
* @private
|
40
|
-
*/
|
41
|
-
export declare function getPathId(node: Element): string[];
|
42
|
-
/**
|
43
|
-
* Functions for get path names in FileManager
|
44
|
-
*
|
45
|
-
* @param {Element} element - specifies the node element.
|
46
|
-
* @param {string} text - specifies the text.
|
47
|
-
* @returns {string[]} returns the path names.
|
48
|
-
* @private
|
49
|
-
*/
|
50
|
-
export declare function getPathNames(element: Element, text: string): string[];
|
51
|
-
/**
|
52
|
-
* Functions for get path id in FileManager
|
53
|
-
*
|
54
|
-
* @param {Element} element - specifies the node element.
|
55
|
-
* @param {string} text - specifies the text.
|
56
|
-
* @param {boolean} isId - specifies the id.
|
57
|
-
* @param {boolean} hasId - checks the id exists.
|
58
|
-
* @returns {string[]} returns parent element.
|
59
|
-
* @private
|
60
|
-
*/
|
61
|
-
export declare function getParents(element: Element, text: string, isId: boolean, hasId?: boolean): string[];
|
62
|
-
/**
|
63
|
-
* Functions for generate path
|
64
|
-
*
|
65
|
-
* @param {IFileManager} parent - specifies the parent element.
|
66
|
-
* @returns {void}
|
67
|
-
* @private
|
68
|
-
*/
|
69
|
-
export declare function generatePath(parent: IFileManager): void;
|
70
|
-
/**
|
71
|
-
* Functions for remove active element
|
72
|
-
*
|
73
|
-
* @param {IFileManager} parent - specifies the parent element.
|
74
|
-
* @returns {void}
|
75
|
-
* @private
|
76
|
-
*/
|
77
|
-
export declare function removeActive(parent: IFileManager): void;
|
78
|
-
/**
|
79
|
-
* Selects active element in File Manager
|
80
|
-
*
|
81
|
-
* @param {string} action - specifies the action.
|
82
|
-
* @param {IFileManager} parent - specifies the parent element.
|
83
|
-
* @returns {boolean} - returns active element.
|
84
|
-
* @private
|
85
|
-
*/
|
86
|
-
export declare function activeElement(action: string, parent: IFileManager): boolean;
|
87
|
-
/**
|
88
|
-
* Adds blur to the elements
|
89
|
-
*
|
90
|
-
* @param {Element} nodes - specifies the nodes.
|
91
|
-
* @returns {void}
|
92
|
-
* @private
|
93
|
-
*/
|
94
|
-
export declare function addBlur(nodes: Element): void;
|
95
|
-
/**
|
96
|
-
* Removes blur from elements
|
97
|
-
*
|
98
|
-
* @param {IFileManager} parent - specifies the parent element.
|
99
|
-
* @param {string} hover - specifies the hover string.
|
100
|
-
* @returns {void}
|
101
|
-
* @private
|
102
|
-
*/
|
103
|
-
export declare function removeBlur(parent?: IFileManager, hover?: string): void;
|
104
|
-
/**
|
105
|
-
* Gets module name
|
106
|
-
*
|
107
|
-
* @param {IFileManager} parent - specifies the parent element.
|
108
|
-
* @param {Element} element - specifies the element.
|
109
|
-
* @returns {void}
|
110
|
-
* @private
|
111
|
-
*/
|
112
|
-
export declare function getModule(parent: IFileManager, element: Element): void;
|
113
|
-
/**
|
114
|
-
* Get all child items
|
115
|
-
*
|
116
|
-
* @param {IFileManager} parent - specifies the parent element.
|
117
|
-
* @param {string | number} parentId - specifies the parent ID.
|
118
|
-
* @returns {Object[]} An array of child items
|
119
|
-
* @private
|
120
|
-
*/
|
121
|
-
export declare function getAllChildItems(parent: IFileManager, parentId: number | string): {
|
122
|
-
[key: string]: Object;
|
123
|
-
}[];
|
124
|
-
/**
|
125
|
-
* Gets module name
|
126
|
-
*
|
127
|
-
* @param {IFileManager} parent - specifies the parent element.
|
128
|
-
* @param {string} value - specifies the value.
|
129
|
-
* @param {boolean} isLayoutChange - specifies the layout change.
|
130
|
-
* @returns {void}
|
131
|
-
* @private
|
132
|
-
*/
|
133
|
-
export declare function searchWordHandler(parent: IFileManager, value: string, isLayoutChange: boolean): void;
|
134
|
-
/**
|
135
|
-
* Gets updated layout
|
136
|
-
*
|
137
|
-
* @param {IFileManager} parent - specifies the parent element.
|
138
|
-
* @param {string} view - specifies the view.
|
139
|
-
* @returns {void}
|
140
|
-
* @private
|
141
|
-
*/
|
142
|
-
export declare function updateLayout(parent: IFileManager, view: string): void;
|
143
|
-
/**
|
144
|
-
* Gets updated layout
|
145
|
-
*
|
146
|
-
* @param {IFileManager} parent - specifies the parent element.
|
147
|
-
* @param {Element} element - specifies the element.
|
148
|
-
* @returns {void}
|
149
|
-
* @private
|
150
|
-
*/
|
151
|
-
export declare function getTargetModule(parent: IFileManager, element: Element): void;
|
152
|
-
/**
|
153
|
-
* refresh the layout
|
154
|
-
*
|
155
|
-
* @param {IFileManager} parent - specifies the parent element.
|
156
|
-
* @returns {void}
|
157
|
-
* @private
|
158
|
-
*/
|
159
|
-
export declare function refresh(parent: IFileManager): void;
|
160
|
-
/**
|
161
|
-
* open action in the layout
|
162
|
-
*
|
163
|
-
* @param {IFileManager} parent - specifies the parent element.
|
164
|
-
* @returns {void}
|
165
|
-
* @private
|
166
|
-
*/
|
167
|
-
export declare function openAction(parent: IFileManager): void;
|
168
|
-
/**
|
169
|
-
* open action in the layout
|
170
|
-
*
|
171
|
-
* @param {IFileManager} parent - specifies the parent element.
|
172
|
-
* @returns {Object} - returns the path data.
|
173
|
-
* @private
|
174
|
-
*/
|
175
|
-
export declare function getPathObject(parent: IFileManager): Object;
|
176
|
-
/**
|
177
|
-
* Copy files
|
178
|
-
*
|
179
|
-
* @param {IFileManager} parent - specifies the parent element.
|
180
|
-
* @returns {void}
|
181
|
-
* @private
|
182
|
-
*/
|
183
|
-
export declare function copyFiles(parent: IFileManager): void;
|
184
|
-
/**
|
185
|
-
* Cut files
|
186
|
-
*
|
187
|
-
* @param {IFileManager} parent - specifies the parent element.
|
188
|
-
* @returns {void}
|
189
|
-
* @private
|
190
|
-
*/
|
191
|
-
export declare function cutFiles(parent: IFileManager): void;
|
192
|
-
/**
|
193
|
-
* To add class for fileType
|
194
|
-
*
|
195
|
-
* @param {Object} file - specifies the file.
|
196
|
-
* @returns {string} - returns the file type.
|
197
|
-
* @private
|
198
|
-
*/
|
199
|
-
export declare function fileType(file: Object): string;
|
200
|
-
/**
|
201
|
-
* To get the image URL
|
202
|
-
*
|
203
|
-
* @param {IFileManager} parent - specifies the parent element.
|
204
|
-
* @param {Object} item - specifies the item.
|
205
|
-
* @returns {BeforeImageLoadEventArgs} - returns the eventargs.
|
206
|
-
* @private
|
207
|
-
*/
|
208
|
-
export declare function getImageUrl(parent: IFileManager, item: Object): BeforeImageLoadEventArgs;
|
209
|
-
/**
|
210
|
-
* Gets the full path
|
211
|
-
*
|
212
|
-
* @param {IFileManager} parent - specifies the parent element.
|
213
|
-
* @param {Object} data - specifies the data.
|
214
|
-
* @param {string} path - specifies the path.
|
215
|
-
* @returns {string} - returns the image url.
|
216
|
-
* @private
|
217
|
-
*/
|
218
|
-
export declare function getFullPath(parent: IFileManager, data: Object, path: string): string;
|
219
|
-
/**
|
220
|
-
* Gets the name
|
221
|
-
*
|
222
|
-
* @param {IFileManager} parent - specifies the parent element.
|
223
|
-
* @param {Object} data - specifies the data.
|
224
|
-
* @returns {string} - returns the name.
|
225
|
-
* @private
|
226
|
-
*/
|
227
|
-
export declare function getName(parent: IFileManager, data: Object): string;
|
228
|
-
/**
|
229
|
-
* Gets the name
|
230
|
-
*
|
231
|
-
* @param {IFileManager} parent - specifies the parent element.
|
232
|
-
* @param {Object[]} items - specifies the item elements.
|
233
|
-
* @returns {Object[]} - returns the sorted data.
|
234
|
-
* @private
|
235
|
-
*/
|
236
|
-
export declare function getSortedData(parent: IFileManager, items: Object[]): Object[];
|
237
|
-
/**
|
238
|
-
* Gets the data object
|
239
|
-
*
|
240
|
-
* @param {IFileManager} parent - specifies the parent element.
|
241
|
-
* @param {string} key - specifies the key.
|
242
|
-
* @param {string} value - specifies the value.
|
243
|
-
* @returns {Object} - returns the sorted data.
|
244
|
-
* @private
|
245
|
-
*/
|
246
|
-
export declare function getObject(parent: IFileManager, key: string, value: string): Object;
|
247
|
-
/**
|
248
|
-
* Creates empty element
|
249
|
-
*
|
250
|
-
* @param {IFileManager} parent - specifies the parent element.
|
251
|
-
* @param {HTMLElement} element - specifies the element.
|
252
|
-
* @param {ReadArgs | SearchArgs} args - specifies the args.
|
253
|
-
* @returns {void}
|
254
|
-
* @private
|
255
|
-
*/
|
256
|
-
export declare function createEmptyElement(parent: IFileManager, element: HTMLElement, args: ReadArgs | SearchArgs): void;
|
257
|
-
/**
|
258
|
-
* Gets the directories
|
259
|
-
*
|
260
|
-
* @param {Object[]} files - specifies the file object.
|
261
|
-
* @returns {Object[]} - returns the sorted data.
|
262
|
-
* @private
|
263
|
-
*/
|
264
|
-
export declare function getDirectories(files: Object[]): Object[];
|
265
|
-
/**
|
266
|
-
* set the Node ID
|
267
|
-
*
|
268
|
-
* @param {ReadArgs} result - specifies the result.
|
269
|
-
* @param {string} rootId - specifies the rootId.
|
270
|
-
* @returns {void}
|
271
|
-
* @private
|
272
|
-
*/
|
273
|
-
export declare function setNodeId(result: ReadArgs, rootId: string): void;
|
274
|
-
/**
|
275
|
-
* set the date object
|
276
|
-
*
|
277
|
-
* @param {Object[]} args - specifies the file object.
|
278
|
-
* @returns {void}
|
279
|
-
* @private
|
280
|
-
*/
|
281
|
-
export declare function setDateObject(args: Object[]): void;
|
282
|
-
/**
|
283
|
-
* get the locale text
|
284
|
-
*
|
285
|
-
* @param {IFileManager} parent - specifies the parent element.
|
286
|
-
* @param {string} text - specifies the text.
|
287
|
-
* @returns {string} - returns the locale text.
|
288
|
-
* @private
|
289
|
-
*/
|
290
|
-
export declare function getLocaleText(parent: IFileManager, text: string): string;
|
291
|
-
/**
|
292
|
-
* get the CSS class
|
293
|
-
*
|
294
|
-
* @param {IFileManager} parent - specifies the parent element.
|
295
|
-
* @param {string} css - specifies the css.
|
296
|
-
* @returns {string} - returns the css classes.
|
297
|
-
* @private
|
298
|
-
*/
|
299
|
-
export declare function getCssClass(parent: IFileManager, css: string): string;
|
300
|
-
/**
|
301
|
-
* sort on click
|
302
|
-
*
|
303
|
-
* @param {IFileManager} parent - specifies the parent element.
|
304
|
-
* @param {MenuEventArgs} args - specifies the menu event arguements.
|
305
|
-
* @returns {void}
|
306
|
-
* @private
|
307
|
-
*/
|
308
|
-
export declare function sortbyClickHandler(parent: IFileManager, args: MenuEventArgs): void;
|
309
|
-
/**
|
310
|
-
* Gets the sorted fields
|
311
|
-
*
|
312
|
-
* @param {string} id - specifies the id.
|
313
|
-
* @param {IFileManager} [parent] - optional parameter representing the parent IFileManager.
|
314
|
-
* @returns {string} - returns the sorted fields
|
315
|
-
* @private
|
316
|
-
*/
|
317
|
-
export declare function getSortField(id: string, parent?: IFileManager): string;
|
318
|
-
/**
|
319
|
-
* Sets the next path
|
320
|
-
*
|
321
|
-
* @param {IFileManager} parent - specifies the parent element.
|
322
|
-
* @param {string} path - specifies the path.
|
323
|
-
* @returns {void}
|
324
|
-
* @private
|
325
|
-
*/
|
326
|
-
export declare function setNextPath(parent: IFileManager, path: string): void;
|
327
|
-
/**
|
328
|
-
* Opens the searched folder
|
329
|
-
*
|
330
|
-
* @param {IFileManager} parent - specifies the parent element.
|
331
|
-
* @param {Object} data - specifies the data
|
332
|
-
* @returns {void}
|
333
|
-
* @private
|
334
|
-
*/
|
335
|
-
export declare function openSearchFolder(parent: IFileManager, data: Object): void;
|
336
|
-
/**
|
337
|
-
* Paste handling function
|
338
|
-
*
|
339
|
-
* @param {IFileManager} parent - specifies the parent element.
|
340
|
-
* @returns {void}
|
341
|
-
* @private
|
342
|
-
*/
|
343
|
-
export declare function pasteHandler(parent: IFileManager): void;
|
344
|
-
/**
|
345
|
-
* Validates the sub folders
|
346
|
-
*
|
347
|
-
* @param {IFileManager} parent - specifies the parent element.
|
348
|
-
* @param {'{ [key: string]: Object; }[]'} data - specifies the data.
|
349
|
-
* @param {string} dropPath - specifies the drop path.
|
350
|
-
* @param {string} dragPath - specifies the drag path.
|
351
|
-
* @returns {boolean} - returns the validated sub folder.
|
352
|
-
* @private
|
353
|
-
*/
|
354
|
-
export declare function validateSubFolder(parent: IFileManager, data: {
|
355
|
-
[key: string]: Object;
|
356
|
-
}[], dropPath: string, dragPath: string): boolean;
|
357
|
-
/**
|
358
|
-
* Validates the drop handler
|
359
|
-
*
|
360
|
-
* @param {IFileManager} parent - specifies the parent element.
|
361
|
-
* @returns {void}
|
362
|
-
* @private
|
363
|
-
*/
|
364
|
-
export declare function dropHandler(parent: IFileManager): void;
|
365
|
-
/**
|
366
|
-
* Gets the parent path
|
367
|
-
*
|
368
|
-
* @param {string} oldPath - specifies the old path.
|
369
|
-
* @returns {string} - returns the parent path.
|
370
|
-
* @private
|
371
|
-
*/
|
372
|
-
export declare function getParentPath(oldPath: string): string;
|
373
|
-
/**
|
374
|
-
* Gets the directory path
|
375
|
-
*
|
376
|
-
* @param {IFileManager} parent - specifies the parent.
|
377
|
-
* @param {ReadArgs} args - returns the read arguements.
|
378
|
-
* @returns {string} - returns the directory path
|
379
|
-
* @private
|
380
|
-
*/
|
381
|
-
export declare function getDirectoryPath(parent: IFileManager, args: ReadArgs): string;
|
382
|
-
/**
|
383
|
-
* Gets the do paste path
|
384
|
-
*
|
385
|
-
* @param {IFileManager} parent - specifies the parent.
|
386
|
-
* @param {string} operation - specifies the operations.
|
387
|
-
* @param {ReadArgs} result - returns the result.
|
388
|
-
* @returns {void}
|
389
|
-
* @private
|
390
|
-
*/
|
391
|
-
export declare function doPasteUpdate(parent: IFileManager, operation: string, result: ReadArgs): void;
|
392
|
-
/**
|
393
|
-
* Reads the drop path
|
394
|
-
*
|
395
|
-
* @param {IFileManager} parent - specifies the parent.
|
396
|
-
* @returns {void}
|
397
|
-
* @private
|
398
|
-
*/
|
399
|
-
export declare function readDropPath(parent: IFileManager): void;
|
400
|
-
/**
|
401
|
-
* Gets the duplicated path
|
402
|
-
*
|
403
|
-
* @param {IFileManager} parent - specifies the parent.
|
404
|
-
* @param {string} name - specifies the name.
|
405
|
-
* @returns {object} - returns the duplicated path.
|
406
|
-
* @private
|
407
|
-
*/
|
408
|
-
export declare function getDuplicateData(parent: IFileManager, name: string): object;
|
409
|
-
/**
|
410
|
-
* Gets the create the virtual drag element
|
411
|
-
*
|
412
|
-
* @param {IFileManager} parent - specifies the parent.
|
413
|
-
* @returns {void}
|
414
|
-
* @private
|
415
|
-
*/
|
416
|
-
export declare function createVirtualDragElement(parent: IFileManager): void;
|
417
|
-
/**
|
418
|
-
* Drops the stop handler
|
419
|
-
*
|
420
|
-
* @param {IFileManager} parent - specifies the parent.
|
421
|
-
* @param {DragEventArgs} args - specifies the drag event arguements.
|
422
|
-
* @returns {void}
|
423
|
-
* @private
|
424
|
-
*/
|
425
|
-
export declare function dragStopHandler(parent: IFileManager, args: DragEventArgs): void;
|
426
|
-
/**
|
427
|
-
* Drag the start handler
|
428
|
-
*
|
429
|
-
* @param {IFileManager} parent - specifies the parent.
|
430
|
-
* @param {'DragEventArgs'} args - specifies the drag event arguements.
|
431
|
-
* @param {Draggable} dragObj - specifies the drag event arguements.
|
432
|
-
* @returns {void}
|
433
|
-
* @private
|
434
|
-
*/
|
435
|
-
export declare function dragStartHandler(parent: IFileManager, args: DragEventArgs, dragObj: Draggable): void;
|
436
|
-
/**
|
437
|
-
* Drag the cancel handler
|
438
|
-
*
|
439
|
-
* @param {IFileManager} parent - specifies the parent.
|
440
|
-
* @returns {void}
|
441
|
-
* @private
|
442
|
-
*/
|
443
|
-
export declare function dragCancel(parent: IFileManager): void;
|
444
|
-
/**
|
445
|
-
* Remove drop target handler
|
446
|
-
*
|
447
|
-
* @param {IFileManager} parent - specifies the parent.
|
448
|
-
* @returns {void}
|
449
|
-
* @private
|
450
|
-
*/
|
451
|
-
export declare function removeDropTarget(parent: IFileManager): void;
|
452
|
-
/**
|
453
|
-
* Remove item class handler
|
454
|
-
*
|
455
|
-
* @param {IFileManager} parent - specifies the parent.
|
456
|
-
* @param {string} value - specifies the value.
|
457
|
-
* @returns {void}
|
458
|
-
* @private
|
459
|
-
*/
|
460
|
-
export declare function removeItemClass(parent: IFileManager, value: string): void;
|
461
|
-
/**
|
462
|
-
* Remove item class handler
|
463
|
-
*
|
464
|
-
* @param {Element} scrollParent - specifies the scrolling target.
|
465
|
-
* @param {IFileManager} parent - specifies the parent.
|
466
|
-
* @param {string} nodeClass - specifies the node class.
|
467
|
-
* @param {number} clientY - specifies the vertical (Y) coordinate of the mouse cursor position relative to the target element.
|
468
|
-
* @returns {void}
|
469
|
-
* @private
|
470
|
-
*/
|
471
|
-
export declare function scrollHandler(scrollParent: Element, parent: IFileManager, nodeClass: string, clientY: number): void;
|
472
|
-
/**
|
473
|
-
* Dragging handler
|
474
|
-
*
|
475
|
-
* @param {IFileManager} parent - specifies the parent.
|
476
|
-
* @param {DragEventArgs} args - specifies the arguements.
|
477
|
-
* @returns {void}
|
478
|
-
* @private
|
479
|
-
*/
|
480
|
-
export declare function draggingHandler(parent: IFileManager, args: DragEventArgs): void;
|
481
|
-
/**
|
482
|
-
* Object to string handler
|
483
|
-
*
|
484
|
-
* @param {Object} data - specifies the data.
|
485
|
-
* @returns {string} returns string converted from Object.
|
486
|
-
* @private
|
487
|
-
*/
|
488
|
-
export declare function objectToString(data: Object): string;
|
489
|
-
/**
|
490
|
-
* Get item name handler
|
491
|
-
*
|
492
|
-
* @param {IFileManager} parent - specifies the parent.
|
493
|
-
* @param {Object} data - specifies the data.
|
494
|
-
* @returns {string} returns the item name.
|
495
|
-
* @private
|
496
|
-
*/
|
497
|
-
export declare function getItemName(parent: IFileManager, data: Object): string;
|
498
|
-
/**
|
499
|
-
* Get item name handler
|
500
|
-
*
|
501
|
-
* @param {IFileManager} parent - specifies the parent.
|
502
|
-
* @param {Object} data - specifies the data.
|
503
|
-
* @returns {void}
|
504
|
-
* @private
|
505
|
-
*/
|
506
|
-
export declare function updateRenamingData(parent: IFileManager, data: Object): void;
|
507
|
-
/**
|
508
|
-
* Get item name handler
|
509
|
-
*
|
510
|
-
* @param {IFileManager} parent - specifies the parent.
|
511
|
-
* @returns {void}
|
512
|
-
* @private
|
513
|
-
*/
|
514
|
-
export declare function doRename(parent: IFileManager): void;
|
515
|
-
/**
|
516
|
-
* Download handler
|
517
|
-
*
|
518
|
-
* @param {IFileManager} parent - specifies the parent.
|
519
|
-
* @returns {void}
|
520
|
-
* @private
|
521
|
-
*/
|
522
|
-
export declare function doDownload(parent: IFileManager): void;
|
523
|
-
/**
|
524
|
-
* Delete Files handler
|
525
|
-
*
|
526
|
-
* @param {IFileManager} parent - specifies the parent.
|
527
|
-
* @param {Object[]} data - specifies the data.
|
528
|
-
* @param {string[]} newIds - specifies the new Ids.
|
529
|
-
* @returns {void}
|
530
|
-
* @private
|
531
|
-
*/
|
532
|
-
export declare function doDeleteFiles(parent: IFileManager, data: Object[], newIds: string[]): void;
|
533
|
-
/**
|
534
|
-
* Download files handler
|
535
|
-
*
|
536
|
-
* @param {IFileManager} parent - specifies the parent.
|
537
|
-
* @param {Object[]} data - specifies the data.
|
538
|
-
* @param {string[]} newIds - specifies the new Ids.
|
539
|
-
* @returns {void}
|
540
|
-
* @private
|
541
|
-
*/
|
542
|
-
export declare function doDownloadFiles(parent: IFileManager, data: Object[], newIds: string[]): void;
|
543
|
-
/**
|
544
|
-
* Download files handler
|
545
|
-
*
|
546
|
-
* @param {IFileManager} parent - specifies the parent.
|
547
|
-
* @param {Object} data - specifies the data.
|
548
|
-
* @param {string} action - specifies the actions.
|
549
|
-
* @returns {void}
|
550
|
-
* @private
|
551
|
-
*/
|
552
|
-
export declare function createDeniedDialog(parent: IFileManager, data: Object, action: string): void;
|
553
|
-
/**
|
554
|
-
* Get Access Classes
|
555
|
-
*
|
556
|
-
* @param {Object} data - specifies the data.
|
557
|
-
* @returns {string} - returns accesses classes.
|
558
|
-
* @private
|
559
|
-
*/
|
560
|
-
export declare function getAccessClass(data: Object): string;
|
561
|
-
/**
|
562
|
-
* Check read access handler
|
563
|
-
*
|
564
|
-
* @param {Object} data - specifies the data.
|
565
|
-
* @returns {boolean} - returns read access.
|
566
|
-
* @private
|
567
|
-
*/
|
568
|
-
export declare function hasReadAccess(data: Object): boolean;
|
569
|
-
/**
|
570
|
-
* Check edit access handler
|
571
|
-
*
|
572
|
-
* @param {Object} data - specifies the data.
|
573
|
-
* @returns {boolean} - returns edit access.
|
574
|
-
* @private
|
575
|
-
*/
|
576
|
-
export declare function hasEditAccess(data: Object): boolean;
|
577
|
-
/**
|
578
|
-
* Check content access handler
|
579
|
-
*
|
580
|
-
* @param {Object} data - specifies the data.
|
581
|
-
* @returns {boolean} - returns content access.
|
582
|
-
* @private
|
583
|
-
*/
|
584
|
-
export declare function hasContentAccess(data: Object): boolean;
|
585
|
-
/**
|
586
|
-
* Check upload access handler
|
587
|
-
*
|
588
|
-
* @param {Object} data - specifies the data.
|
589
|
-
* @returns {boolean} - returns upload access.
|
590
|
-
* @private
|
591
|
-
*/
|
592
|
-
export declare function hasUploadAccess(data: Object): boolean;
|
593
|
-
/**
|
594
|
-
* Check download access handler
|
595
|
-
*
|
596
|
-
* @param {Object} data - specifies the data.
|
597
|
-
* @returns {boolean} - returns download access.
|
598
|
-
* @private
|
599
|
-
*/
|
600
|
-
export declare function hasDownloadAccess(data: Object): boolean;
|
601
|
-
/**
|
602
|
-
* Create new folder handler
|
603
|
-
*
|
604
|
-
* @param {IFileManager} parent - specifies the parent.
|
605
|
-
* @returns {void}
|
606
|
-
* @private
|
607
|
-
*/
|
608
|
-
export declare function createNewFolder(parent: IFileManager): void;
|
609
|
-
/**
|
610
|
-
* Upload item handler
|
611
|
-
*
|
612
|
-
* @param {IFileManager} parent - specifies the parent.
|
613
|
-
* @returns {void}
|
614
|
-
* @private
|
615
|
-
*/
|
616
|
-
export declare function uploadItem(parent: IFileManager): void;
|
617
|
-
/**
|
618
|
-
* Close dialog popup handler
|
619
|
-
*
|
620
|
-
* @param {IFileManager} parent - specifies the parent.
|
621
|
-
* @returns {void}
|
622
|
-
* @private
|
623
|
-
*/
|
624
|
-
export declare function closePopup(parent: IFileManager): void;
|
625
|
-
/**
|
626
|
-
* Get target path from item data.
|
627
|
-
*
|
628
|
-
* @param {IFileManager} parent - specifies the parent.
|
629
|
-
* @param {Object} itemData - specifies the item elements.
|
630
|
-
* @returns {string} returns the path.
|
631
|
-
* @private
|
632
|
-
*/
|
633
|
-
export declare function getTargetPath(parent: IFileManager, itemData: Object): string;
|
634
|
-
/**
|
635
|
-
* Access control handler
|
636
|
-
*
|
637
|
-
* @param {IFileManager} parent - specifies the parent.
|
638
|
-
* @param {Object[]} itemData - specifies the item elements.
|
639
|
-
* @param {string} action - specifies the action.
|
640
|
-
* @param {boolean} isPathPermision - specifies the path permission.
|
641
|
-
* @returns {string} returns the path.
|
642
|
-
* @private
|
643
|
-
*/
|
644
|
-
export declare function getAccessDetails(parent: IFileManager, itemData: Object[], action: string, isPathPermision: boolean): string;
|