@syncfusion/ej2-filemanager 26.2.5 → 26.2.7
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 +12 -8
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +12 -8
- 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/hotfix/26.1.35_Vol2.txt +1 -0
- package/package.json +8 -8
- package/src/file-manager/common/operations.js +8 -2
- package/src/file-manager/pop-up/context-menu.js +4 -6
- package/styles/file-manager/fluent2.css +10 -10
- package/styles/fluent2.css +10 -10
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version : 26.2.
|
3
|
+
* version : 26.2.7
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
hotfix/26.1.35_Vol2
|
package/package.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"_from": "@syncfusion/ej2-filemanager@*",
|
3
|
-
"_id": "@syncfusion/ej2-filemanager@26.
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@26.2.5",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-rF1OJvlaqEm3NDC92w6pIWd29hUVdpp4BNtPDIMcUBH5XxZQKwquofefB+MqmudYqNO0fik9XnO38msrAtQT4w==",
|
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-26.
|
28
|
-
"_shasum": "
|
27
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-filemanager/-/ej2-filemanager-26.2.5.tgz",
|
28
|
+
"_shasum": "445f96ffff1bdec47e1379845dd94fdf08ab79a7",
|
29
29
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
30
30
|
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
|
31
31
|
"author": {
|
@@ -37,13 +37,13 @@
|
|
37
37
|
"bundleDependencies": false,
|
38
38
|
"dependencies": {
|
39
39
|
"@syncfusion/ej2-base": "~26.2.5",
|
40
|
-
"@syncfusion/ej2-buttons": "~26.2.
|
40
|
+
"@syncfusion/ej2-buttons": "~26.2.7",
|
41
41
|
"@syncfusion/ej2-data": "~26.2.5",
|
42
|
-
"@syncfusion/ej2-grids": "~26.2.
|
42
|
+
"@syncfusion/ej2-grids": "~26.2.7",
|
43
43
|
"@syncfusion/ej2-inputs": "~26.2.5",
|
44
44
|
"@syncfusion/ej2-layouts": "~26.2.5",
|
45
45
|
"@syncfusion/ej2-lists": "~26.2.5",
|
46
|
-
"@syncfusion/ej2-navigations": "~26.2.
|
46
|
+
"@syncfusion/ej2-navigations": "~26.2.7",
|
47
47
|
"@syncfusion/ej2-popups": "~26.2.5",
|
48
48
|
"@syncfusion/ej2-splitbuttons": "~26.2.5"
|
49
49
|
},
|
@@ -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": "26.2.
|
78
|
+
"version": "26.2.7",
|
79
79
|
"sideEffects": false
|
80
80
|
}
|
@@ -569,11 +569,17 @@ function createAjax(parent, data, fn, event, operation, targetPath) {
|
|
569
569
|
var action = getValue('action', data);
|
570
570
|
var isFileOperation = (action === 'move' || action === 'rename' || action === 'copy' || action === 'delete' || action === 'search') && event !== 'rename-end';
|
571
571
|
if (action === 'read' || action === 'create' || event === 'rename-end') {
|
572
|
+
var rootId = parent.fileSystemData
|
573
|
+
.filter(function (item) { return isNOU(item.parentId); })
|
574
|
+
.length > 0
|
575
|
+
? parent.fileSystemData
|
576
|
+
.filter(function (item) { return isNOU(item.parentId); })[0].id
|
577
|
+
: 0;
|
572
578
|
parent.responseData = {
|
573
|
-
cwd: filterById(parent, parent.path === '/' && event !== 'node-expand' && event !== 'rename-end-parent' ?
|
579
|
+
cwd: filterById(parent, parent.path === '/' && event !== 'node-expand' && event !== 'rename-end-parent' ? rootId : idValue),
|
574
580
|
details: null,
|
575
581
|
error: null,
|
576
|
-
files: filterByParent(parent, parent.path === '/' && event !== 'node-expand' && event !== 'rename-end-parent' ?
|
582
|
+
files: filterByParent(parent, parent.path === '/' && event !== 'node-expand' && event !== 'rename-end-parent' ? rootId : idValue)
|
577
583
|
};
|
578
584
|
if (isNOU(parent.responseData.cwd)) {
|
579
585
|
var message = 'Cannot load empty data within the File Manager.';
|
@@ -137,6 +137,9 @@ var ContextMenu = /** @class */ (function () {
|
|
137
137
|
}
|
138
138
|
else if (closest(target, '#' + this.parent.element.id + CLS.TREE_ID)) {
|
139
139
|
uid = closest(target, 'li').getAttribute('data-uid');
|
140
|
+
if (!isNOU(uid)) {
|
141
|
+
this.parent.navigationpaneModule.treeObj.selectedNodes = [uid];
|
142
|
+
}
|
140
143
|
treeFolder = true;
|
141
144
|
}
|
142
145
|
/* istanbul ignore next */
|
@@ -395,12 +398,7 @@ var ContextMenu = /** @class */ (function () {
|
|
395
398
|
break;
|
396
399
|
case 'paste':
|
397
400
|
if (_this.menuType === 'folder') {
|
398
|
-
|
399
|
-
_this.parent.folderPath = getFullPath(_this.parent, _this.menuItemData, _this.parent.path);
|
400
|
-
}
|
401
|
-
else {
|
402
|
-
_this.parent.folderPath = '';
|
403
|
-
}
|
401
|
+
_this.parent.folderPath = getFullPath(_this.parent, _this.menuItemData, _this.parent.path);
|
404
402
|
}
|
405
403
|
else {
|
406
404
|
_this.parent.folderPath = '';
|
@@ -47,7 +47,7 @@
|
|
47
47
|
--color-sf-flyout-bg-color-pressed: #e0e0e0;
|
48
48
|
--color-sf-flyout-bg-color-selected: #ebebeb;
|
49
49
|
--color-sf-flyout-bg-color-focus: #f5f5f5;
|
50
|
-
--color-sf-overlay-bg-color:
|
50
|
+
--color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
|
51
51
|
--color-sf-table-bg-color-hover: #f5f5f5;
|
52
52
|
--color-sf-table-bg-color-pressed: #e0e0e0;
|
53
53
|
--color-sf-table-bg-color-selected: #ebf3fc;
|
@@ -369,7 +369,7 @@
|
|
369
369
|
--color-sf-flyout-bg-color-pressed: var(--color-sf-black);
|
370
370
|
--color-sf-flyout-bg-color-selected: #383838;
|
371
371
|
--color-sf-flyout-bg-color-focus: var(--color-sf-flyout-bg-color-hover);
|
372
|
-
--color-sf-overlay-bg-color: rgba(
|
372
|
+
--color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
|
373
373
|
--color-sf-table-bg-color-hover: #383838;
|
374
374
|
--color-sf-table-bg-color-pressed: #2e2e2e;
|
375
375
|
--color-sf-table-bg-color-selected: #082338;
|
@@ -711,9 +711,9 @@
|
|
711
711
|
--color-sf-flyout-bg-color-pressed: var(--color-sf-content-bg-color-hover);
|
712
712
|
--color-sf-flyout-bg-color-selected: var(--color-sf-content-bg-color-hover);
|
713
713
|
--color-sf-flyout-bg-color-focus: var(--color-sf-content-bg-color-hover);
|
714
|
-
--color-sf-overlay-bg-color: rgba(
|
715
|
-
--color-sf-table-bg-color-hover:
|
716
|
-
--color-sf-table-bg-color-pressed:
|
714
|
+
--color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
|
715
|
+
--color-sf-table-bg-color-hover: #1a3bff;
|
716
|
+
--color-sf-table-bg-color-pressed: #1a3bff;
|
717
717
|
--color-sf-table-bg-color-selected: #1a3bff;
|
718
718
|
--color-sf-content-text-color: #fff;
|
719
719
|
--color-sf-content-text-color-alt1: var(--color-sf-content-text-color);
|
@@ -732,12 +732,12 @@
|
|
732
732
|
--color-sf-flyout-text-color-selected: var(--color-sf-content-text-color-hover);
|
733
733
|
--color-sf-flyout-text-color-focus: var(--color-sf-content-text-color-hover);
|
734
734
|
--color-sf-flyout-text-color-disabled: var(--color-sf-content-text-color-disabled);
|
735
|
-
--color-sf-table-text-color-hover:
|
736
|
-
--color-sf-table-text-color-pressed:
|
737
|
-
--color-sf-table-text-color-selected:
|
735
|
+
--color-sf-table-text-color-hover: #000;
|
736
|
+
--color-sf-table-text-color-pressed: #000;
|
737
|
+
--color-sf-table-text-color-selected: #000;
|
738
738
|
--color-sf-icon-color: #fff;
|
739
|
-
--color-sf-icon-color-hover:
|
740
|
-
--color-sf-icon-color-pressed:
|
739
|
+
--color-sf-icon-color-hover: #000;
|
740
|
+
--color-sf-icon-color-pressed: #000;
|
741
741
|
--color-sf-icon-color-disabled: var(--color-sf-content-text-color-disabled);
|
742
742
|
--color-sf-border-light: #fff;
|
743
743
|
--color-sf-border: var(--color-sf-border-light);
|
package/styles/fluent2.css
CHANGED
@@ -47,7 +47,7 @@
|
|
47
47
|
--color-sf-flyout-bg-color-pressed: #e0e0e0;
|
48
48
|
--color-sf-flyout-bg-color-selected: #ebebeb;
|
49
49
|
--color-sf-flyout-bg-color-focus: #f5f5f5;
|
50
|
-
--color-sf-overlay-bg-color:
|
50
|
+
--color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
|
51
51
|
--color-sf-table-bg-color-hover: #f5f5f5;
|
52
52
|
--color-sf-table-bg-color-pressed: #e0e0e0;
|
53
53
|
--color-sf-table-bg-color-selected: #ebf3fc;
|
@@ -369,7 +369,7 @@
|
|
369
369
|
--color-sf-flyout-bg-color-pressed: var(--color-sf-black);
|
370
370
|
--color-sf-flyout-bg-color-selected: #383838;
|
371
371
|
--color-sf-flyout-bg-color-focus: var(--color-sf-flyout-bg-color-hover);
|
372
|
-
--color-sf-overlay-bg-color: rgba(
|
372
|
+
--color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
|
373
373
|
--color-sf-table-bg-color-hover: #383838;
|
374
374
|
--color-sf-table-bg-color-pressed: #2e2e2e;
|
375
375
|
--color-sf-table-bg-color-selected: #082338;
|
@@ -711,9 +711,9 @@
|
|
711
711
|
--color-sf-flyout-bg-color-pressed: var(--color-sf-content-bg-color-hover);
|
712
712
|
--color-sf-flyout-bg-color-selected: var(--color-sf-content-bg-color-hover);
|
713
713
|
--color-sf-flyout-bg-color-focus: var(--color-sf-content-bg-color-hover);
|
714
|
-
--color-sf-overlay-bg-color: rgba(
|
715
|
-
--color-sf-table-bg-color-hover:
|
716
|
-
--color-sf-table-bg-color-pressed:
|
714
|
+
--color-sf-overlay-bg-color: rgba(0, 0, 0, .4);
|
715
|
+
--color-sf-table-bg-color-hover: #1a3bff;
|
716
|
+
--color-sf-table-bg-color-pressed: #1a3bff;
|
717
717
|
--color-sf-table-bg-color-selected: #1a3bff;
|
718
718
|
--color-sf-content-text-color: #fff;
|
719
719
|
--color-sf-content-text-color-alt1: var(--color-sf-content-text-color);
|
@@ -732,12 +732,12 @@
|
|
732
732
|
--color-sf-flyout-text-color-selected: var(--color-sf-content-text-color-hover);
|
733
733
|
--color-sf-flyout-text-color-focus: var(--color-sf-content-text-color-hover);
|
734
734
|
--color-sf-flyout-text-color-disabled: var(--color-sf-content-text-color-disabled);
|
735
|
-
--color-sf-table-text-color-hover:
|
736
|
-
--color-sf-table-text-color-pressed:
|
737
|
-
--color-sf-table-text-color-selected:
|
735
|
+
--color-sf-table-text-color-hover: #000;
|
736
|
+
--color-sf-table-text-color-pressed: #000;
|
737
|
+
--color-sf-table-text-color-selected: #000;
|
738
738
|
--color-sf-icon-color: #fff;
|
739
|
-
--color-sf-icon-color-hover:
|
740
|
-
--color-sf-icon-color-pressed:
|
739
|
+
--color-sf-icon-color-hover: #000;
|
740
|
+
--color-sf-icon-color-pressed: #000;
|
741
741
|
--color-sf-icon-color-disabled: var(--color-sf-content-text-color-disabled);
|
742
742
|
--color-sf-border-light: #fff;
|
743
743
|
--color-sf-border: var(--color-sf-border-light);
|