@syncfusion/ej2-filemanager 28.1.39 → 28.2.3
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 +5 -34
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +5 -34
- package/dist/es6/ej2-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-filemanager.min.js +2 -2
- package/dist/global/ej2-filemanager.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +15 -15
- package/src/file-manager/common/operations.js +2 -26
- package/src/file-manager/common/utility.d.ts +2 -4
- package/src/file-manager/common/utility.js +3 -8
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 28.
|
3
|
+
* version : 28.2.3
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
5
5
|
* Use of this code is subject to the terms of our license.
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-filemanager@*",
|
3
|
-
"_id": "@syncfusion/ej2-filemanager@28.1.
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@28.1.39",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-r5Fp4yjgQkH8Mutl2YAfbZ99bK0LNNbIwwkI6Vs6DZHBnLYJqW0cFlyHYkB3DxLAHQsV54dq9cgN5s6GHbqw8g==",
|
6
6
|
"_location": "/@syncfusion/ej2-filemanager",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"/@syncfusion/ej2-richtexteditor",
|
25
25
|
"/@syncfusion/ej2-vue-filemanager"
|
26
26
|
],
|
27
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-28.1.
|
28
|
-
"_shasum": "
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-28.1.39.tgz",
|
28
|
+
"_shasum": "1d307801c7e4dfff6d89db8cbd3b52a98b0cc680",
|
29
29
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
30
30
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
31
31
|
"author": {
|
@@ -36,16 +36,16 @@
|
|
36
36
|
},
|
37
37
|
"bundleDependencies": false,
|
38
38
|
"dependencies": {
|
39
|
-
"@syncfusion/ej2-base": "~28.
|
40
|
-
"@syncfusion/ej2-buttons": "~28.
|
41
|
-
"@syncfusion/ej2-data": "~28.
|
42
|
-
"@syncfusion/ej2-grids": "~28.
|
43
|
-
"@syncfusion/ej2-inputs": "~28.
|
44
|
-
"@syncfusion/ej2-layouts": "~28.
|
45
|
-
"@syncfusion/ej2-lists": "~28.
|
46
|
-
"@syncfusion/ej2-navigations": "~28.
|
47
|
-
"@syncfusion/ej2-popups": "~28.
|
48
|
-
"@syncfusion/ej2-splitbuttons": "~28.
|
39
|
+
"@syncfusion/ej2-base": "~28.2.3",
|
40
|
+
"@syncfusion/ej2-buttons": "~28.2.3",
|
41
|
+
"@syncfusion/ej2-data": "~28.2.3",
|
42
|
+
"@syncfusion/ej2-grids": "~28.2.3",
|
43
|
+
"@syncfusion/ej2-inputs": "~28.2.3",
|
44
|
+
"@syncfusion/ej2-layouts": "~28.2.3",
|
45
|
+
"@syncfusion/ej2-lists": "~28.2.3",
|
46
|
+
"@syncfusion/ej2-navigations": "~28.2.3",
|
47
|
+
"@syncfusion/ej2-popups": "~28.2.3",
|
48
|
+
"@syncfusion/ej2-splitbuttons": "~28.2.3"
|
49
49
|
},
|
50
50
|
"deprecated": false,
|
51
51
|
"description": "Essential JS 2 FileManager Component",
|
@@ -75,6 +75,6 @@
|
|
75
75
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
76
76
|
},
|
77
77
|
"typings": "index.d.ts",
|
78
|
-
"version": "28.
|
78
|
+
"version": "28.2.3",
|
79
79
|
"sideEffects": false
|
80
80
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { Ajax, Fetch, createElement, select, extend
|
1
|
+
import { Ajax, Fetch, createElement, select, extend } from '@syncfusion/ej2-base';
|
2
2
|
import { isNullOrUndefined as isNOU, setValue, getValue } from '@syncfusion/ej2-base';
|
3
3
|
import * as events from '../base/constant';
|
4
4
|
import { createDialog, createExtDialog } from '../pop-up/dialog';
|
@@ -134,29 +134,6 @@ export function GetDetails(parent, names, path, operation) {
|
|
134
134
|
var data = { action: operation, path: path, names: names, data: parent.itemData };
|
135
135
|
createAjax(parent, data, detailsSuccess, path, operation);
|
136
136
|
}
|
137
|
-
/**
|
138
|
-
* Function for getDateFormat in File Manager.
|
139
|
-
*
|
140
|
-
* @param {IFileManager} parent - specifies the parent element.
|
141
|
-
* @returns {void}
|
142
|
-
* @private
|
143
|
-
*/
|
144
|
-
function getDateFormat(parent) {
|
145
|
-
var columns = parent.detailsViewSettings.columns;
|
146
|
-
var dateFormat;
|
147
|
-
if (!columns) {
|
148
|
-
return null;
|
149
|
-
}
|
150
|
-
for (var i = 0; i < columns.length; i++) {
|
151
|
-
if (columns[i].field === '_fm_modified') {
|
152
|
-
if (!isNOU(columns[i].format)) {
|
153
|
-
dateFormat = columns[i].format.toString();
|
154
|
-
}
|
155
|
-
break;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
return dateFormat;
|
159
|
-
}
|
160
137
|
/**
|
161
138
|
* Checks whether fileSystemData is enabled.
|
162
139
|
*
|
@@ -752,9 +729,8 @@ function performReadOperation(parent, result, fn, data, event, operation, target
|
|
752
729
|
}
|
753
730
|
}
|
754
731
|
}
|
755
|
-
var intl = new Internationalization(parent.locale);
|
756
732
|
if (!isNOU(result.files)) {
|
757
|
-
setDateObject(result.files
|
733
|
+
setDateObject(result.files);
|
758
734
|
for (var i = 0, len = result.files.length; i < len; i++) {
|
759
735
|
var item = result.files[i];
|
760
736
|
setValue('_fm_iconClass', fileType(item), item);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IFileManager, ReadArgs, SearchArgs } from '../base/interface';
|
2
|
-
import { Draggable
|
2
|
+
import { Draggable } from '@syncfusion/ej2-base';
|
3
3
|
import { DragEventArgs } from '@syncfusion/ej2-base';
|
4
4
|
import { MenuEventArgs } from '@syncfusion/ej2-navigations';
|
5
5
|
/**
|
@@ -275,12 +275,10 @@ export declare function setNodeId(result: ReadArgs, rootId: string): void;
|
|
275
275
|
* set the date object
|
276
276
|
*
|
277
277
|
* @param {Object[]} args - specifies the file object.
|
278
|
-
* @param {Internationalization} localeString - The internationalization object for formatting dates.
|
279
|
-
* @param {string} dateFormat - The date format string.
|
280
278
|
* @returns {void}
|
281
279
|
* @private
|
282
280
|
*/
|
283
|
-
export declare function setDateObject(args: Object[]
|
281
|
+
export declare function setDateObject(args: Object[]): void;
|
284
282
|
/**
|
285
283
|
* get the locale text
|
286
284
|
*
|
@@ -708,20 +708,15 @@ export function setNodeId(result, rootId) {
|
|
708
708
|
* set the date object
|
709
709
|
*
|
710
710
|
* @param {Object[]} args - specifies the file object.
|
711
|
-
* @param {Internationalization} localeString - The internationalization object for formatting dates.
|
712
|
-
* @param {string} dateFormat - The date format string.
|
713
711
|
* @returns {void}
|
714
712
|
* @private
|
715
713
|
*/
|
716
|
-
export function setDateObject(args
|
714
|
+
export function setDateObject(args) {
|
717
715
|
for (var i = 0; i < args.length; i++) {
|
718
716
|
var createdDate = new Date(getValue('dateCreated', args[i]));
|
719
717
|
var modifiedDate = new Date(getValue('dateModified', args[i]));
|
720
|
-
|
721
|
-
|
722
|
-
}
|
723
|
-
setValue('_fm_created', localeString.formatDate(createdDate, { format: dateFormat }), args[i]);
|
724
|
-
setValue('_fm_modified', localeString.formatDate(modifiedDate, { format: dateFormat }), args[i]);
|
718
|
+
setValue('_fm_created', createdDate, args[i]);
|
719
|
+
setValue('_fm_modified', modifiedDate, args[i]);
|
725
720
|
}
|
726
721
|
}
|
727
722
|
/**
|