@syncfusion/ej2-filemanager 25.2.3 → 25.2.6
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 +8 -0
- 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 +18 -3
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +18 -3
- 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 +12 -12
- package/src/file-manager/actions/virtualization.js +1 -0
- package/src/file-manager/pop-up/context-menu.js +17 -3
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 25.2.
|
3
|
+
* version : 25.2.6
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@25.
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@25.2.3",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-wbhlKTpkiOC2S6h43jyWCRIeq9fJAfDQA8+FkPVQ8+rmnsXQtLy4NK4GDPf33e5IjHvXOm4gaUscBfvLOzzyTg==",
|
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-25.
|
28
|
-
"_shasum": "
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-25.2.3.tgz",
|
28
|
+
"_shasum": "6fb5c7d751cf143bdafc5fbe5444a73931041097",
|
29
29
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
30
30
|
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
|
31
31
|
"author": {
|
@@ -36,16 +36,16 @@
|
|
36
36
|
},
|
37
37
|
"bundleDependencies": false,
|
38
38
|
"dependencies": {
|
39
|
-
"@syncfusion/ej2-base": "~25.2.
|
40
|
-
"@syncfusion/ej2-buttons": "~25.2.
|
39
|
+
"@syncfusion/ej2-base": "~25.2.5",
|
40
|
+
"@syncfusion/ej2-buttons": "~25.2.6",
|
41
41
|
"@syncfusion/ej2-data": "~25.2.3",
|
42
|
-
"@syncfusion/ej2-grids": "~25.2.
|
43
|
-
"@syncfusion/ej2-inputs": "~25.2.
|
42
|
+
"@syncfusion/ej2-grids": "~25.2.6",
|
43
|
+
"@syncfusion/ej2-inputs": "~25.2.6",
|
44
44
|
"@syncfusion/ej2-layouts": "~25.2.3",
|
45
45
|
"@syncfusion/ej2-lists": "~25.2.3",
|
46
|
-
"@syncfusion/ej2-navigations": "~25.2.
|
47
|
-
"@syncfusion/ej2-popups": "~25.2.
|
48
|
-
"@syncfusion/ej2-splitbuttons": "~25.2.
|
46
|
+
"@syncfusion/ej2-navigations": "~25.2.6",
|
47
|
+
"@syncfusion/ej2-popups": "~25.2.6",
|
48
|
+
"@syncfusion/ej2-splitbuttons": "~25.2.4"
|
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": "25.2.
|
78
|
+
"version": "25.2.6",
|
79
79
|
"sideEffects": false
|
80
80
|
}
|
@@ -137,6 +137,7 @@ var Virtualization = /** @class */ (function () {
|
|
137
137
|
this.scrollPosition = scroll;
|
138
138
|
// Update the list of items and the items property of the largeIconInstance
|
139
139
|
this.largeIconInstance.itemList = Array.prototype.slice.call(selectAll('.' + CLS.LIST_ITEM, this.largeIconInstance.element));
|
140
|
+
this.itemCount = this.itemCount != this.largeIconInstance.itemList.length ? this.largeIconInstance.itemList.length : this.itemCount;
|
140
141
|
this.largeIconInstance.items = this.largeIconInstance.allItems.slice(this.renderedCount -
|
141
142
|
this.itemCount, this.renderedCount);
|
142
143
|
};
|
@@ -272,15 +272,29 @@ var ContextMenu = /** @class */ (function () {
|
|
272
272
|
this.disabledItems.push('Open');
|
273
273
|
}
|
274
274
|
}
|
275
|
-
else if (this.parent.
|
276
|
-
this.
|
275
|
+
else if (this.parent.activeModule !== 'navigationpane') {
|
276
|
+
if (this.parent.selectedItems.length === 1) {
|
277
|
+
var renameIndex = this.disabledItems.indexOf('Rename');
|
278
|
+
if (renameIndex !== -1) {
|
279
|
+
this.disabledItems.splice(renameIndex, 1);
|
280
|
+
}
|
281
|
+
}
|
282
|
+
else {
|
283
|
+
this.disabledItems.push('Rename', 'Paste');
|
284
|
+
}
|
277
285
|
}
|
278
286
|
};
|
279
287
|
ContextMenu.prototype.setFileItem = function () {
|
280
288
|
this.menuType = 'file';
|
281
289
|
this.contextMenu.items = this.getItemData(this.parent.contextMenuSettings.file.map(function (item) { return item.trim(); }));
|
282
290
|
this.contextMenu.dataBind();
|
283
|
-
if (this.parent.selectedItems.length
|
291
|
+
if (this.parent.selectedItems.length === 1) {
|
292
|
+
var renameIndex = this.disabledItems.indexOf('Rename');
|
293
|
+
if (renameIndex !== -1) {
|
294
|
+
this.disabledItems.splice(renameIndex, 1);
|
295
|
+
}
|
296
|
+
}
|
297
|
+
else {
|
284
298
|
this.disabledItems.push('Rename');
|
285
299
|
}
|
286
300
|
};
|