@syncfusion/ej2-filemanager 19.4.56 → 20.1.47
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 +0 -62
- 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 +19 -6
- package/dist/es6/ej2-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-filemanager.es5.js +18 -5
- 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/actions/toolbar.js +6 -3
- package/src/file-manager/base/file-manager-model.d.ts +7 -0
- package/src/file-manager/base/file-manager.d.ts +6 -1
- package/src/file-manager/base/file-manager.js +10 -1
- package/src/file-manager/layout/details-view.js +1 -0
- package/src/file-manager/layout/navigation-pane.js +1 -1
- package/src/file-manager/models/navigation-pane-settings.d.ts +8 -8
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/file-manager/_bootstrap5-definition.scss +1 -1
- package/styles/file-manager/_fluent-dark-definition.scss +1 -0
- package/styles/file-manager/_fluent-definition.scss +6 -6
- package/styles/file-manager/_layout.scss +18 -3
- package/styles/file-manager/_theme.scss +14 -7
- package/styles/file-manager/bootstrap5-dark.css +1 -1
- package/styles/file-manager/bootstrap5.css +1 -1
- package/styles/file-manager/fluent-dark.css +1898 -0
- package/styles/file-manager/fluent-dark.scss +16 -0
- package/styles/file-manager/fluent.css +1898 -0
- package/styles/file-manager/fluent.scss +16 -0
- package/styles/file-manager/icons/_fluent-dark.scss +1 -0
- package/styles/file-manager/icons/_fluent.scss +19 -19
- package/styles/file-manager/icons/_tailwind.scss +49 -49
- package/styles/file-manager/tailwind-dark.css +49 -49
- package/styles/file-manager/tailwind.css +49 -49
- package/styles/fluent-dark.css +1898 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +1898 -0
- package/styles/fluent.scss +1 -0
- package/styles/tailwind-dark.css +49 -49
- package/styles/tailwind.css +49 -49
package/dist/global/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: index.d.ts
|
3
|
-
* version :
|
3
|
+
* version : 20.1.47
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@
|
3
|
+
"_id": "@syncfusion/ej2-filemanager@18.7.1",
|
4
4
|
"_inBundle": false,
|
5
|
-
"_integrity": "sha512-
|
5
|
+
"_integrity": "sha512-wsnuSB+MYYQpdZG6SYqwEVDP86hvjINtr1XTMQbNCrY/2PRou2aGeuSJvdgDF3BRVVjeWXIKk7AknNunebAbOQ==",
|
6
6
|
"_location": "/@syncfusion/ej2-filemanager",
|
7
7
|
"_phantomChildren": {},
|
8
8
|
"_requested": {
|
@@ -25,8 +25,8 @@
|
|
25
25
|
"/@syncfusion/ej2-richtexteditor",
|
26
26
|
"/@syncfusion/ej2-vue-filemanager"
|
27
27
|
],
|
28
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-
|
29
|
-
"_shasum": "
|
28
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-filemanager/-/ej2-filemanager-18.7.1.tgz",
|
29
|
+
"_shasum": "d5f8ab31e8b86e0c8fe7e8bbec9934c840b3d37c",
|
30
30
|
"_spec": "@syncfusion/ej2-filemanager@*",
|
31
31
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
32
32
|
"author": {
|
@@ -37,16 +37,16 @@
|
|
37
37
|
},
|
38
38
|
"bundleDependencies": false,
|
39
39
|
"dependencies": {
|
40
|
-
"@syncfusion/ej2-base": "~
|
41
|
-
"@syncfusion/ej2-buttons": "~
|
42
|
-
"@syncfusion/ej2-data": "~
|
43
|
-
"@syncfusion/ej2-grids": "~
|
44
|
-
"@syncfusion/ej2-inputs": "~
|
45
|
-
"@syncfusion/ej2-layouts": "~
|
46
|
-
"@syncfusion/ej2-lists": "~
|
47
|
-
"@syncfusion/ej2-navigations": "~
|
48
|
-
"@syncfusion/ej2-popups": "~
|
49
|
-
"@syncfusion/ej2-splitbuttons": "~
|
40
|
+
"@syncfusion/ej2-base": "~20.1.47",
|
41
|
+
"@syncfusion/ej2-buttons": "~20.1.47",
|
42
|
+
"@syncfusion/ej2-data": "~20.1.47",
|
43
|
+
"@syncfusion/ej2-grids": "~20.1.47",
|
44
|
+
"@syncfusion/ej2-inputs": "~20.1.47",
|
45
|
+
"@syncfusion/ej2-layouts": "~20.1.47",
|
46
|
+
"@syncfusion/ej2-lists": "~20.1.47",
|
47
|
+
"@syncfusion/ej2-navigations": "~20.1.47",
|
48
|
+
"@syncfusion/ej2-popups": "~20.1.47",
|
49
|
+
"@syncfusion/ej2-splitbuttons": "~20.1.47"
|
50
50
|
},
|
51
51
|
"deprecated": false,
|
52
52
|
"description": "Essential JS 2 FileManager Component",
|
@@ -67,6 +67,6 @@
|
|
67
67
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
68
68
|
},
|
69
69
|
"typings": "index.d.ts",
|
70
|
-
"version": "
|
70
|
+
"version": "20.1.47",
|
71
71
|
"sideEffects": false
|
72
72
|
}
|
@@ -153,9 +153,12 @@ var Toolbar = /** @class */ (function () {
|
|
153
153
|
Toolbar.prototype.toolbarCreateHandler = function () {
|
154
154
|
if (!isNOU(select('#' + this.getId('SortBy'), this.parent.element))) {
|
155
155
|
var items = [
|
156
|
-
{ id: this.getPupupId('name'), text: getLocaleText(this.parent, 'Name'),
|
157
|
-
|
158
|
-
{ id: this.getPupupId('
|
156
|
+
{ id: this.getPupupId('name'), text: getLocaleText(this.parent, 'Name'),
|
157
|
+
iconCss: this.parent.sortBy === 'name' ? CLS.TB_OPTION_DOT : '' },
|
158
|
+
{ id: this.getPupupId('size'), text: getLocaleText(this.parent, 'Size'),
|
159
|
+
iconCss: this.parent.sortBy === 'size' ? CLS.TB_OPTION_DOT : '' },
|
160
|
+
{ id: this.getPupupId('date'), text: getLocaleText(this.parent, 'DateModified'),
|
161
|
+
iconCss: this.parent.sortBy === '_fm_modified' ? CLS.TB_OPTION_DOT : '' },
|
159
162
|
{ separator: true },
|
160
163
|
{ id: this.getPupupId('ascending'), text: getLocaleText(this.parent, 'Ascending'),
|
161
164
|
iconCss: this.parent.sortOrder === 'Ascending' ? CLS.TB_OPTION_TICK : '' },
|
@@ -183,6 +183,13 @@ export interface FileManagerModel extends ComponentModel{
|
|
183
183
|
*/
|
184
184
|
sortOrder?: SortOrder;
|
185
185
|
|
186
|
+
/**
|
187
|
+
* Specifies the field name being used as the sorting criteria to sort the files of the file manager component.
|
188
|
+
*
|
189
|
+
* @default 'name'
|
190
|
+
*/
|
191
|
+
sortBy?: string;
|
192
|
+
|
186
193
|
/**
|
187
194
|
* Specifies the group of items aligned horizontally in the toolbar.
|
188
195
|
*
|
@@ -94,7 +94,6 @@ export declare class FileManager extends Component<HTMLElement> implements INoti
|
|
94
94
|
isMobile: boolean;
|
95
95
|
isBigger: boolean;
|
96
96
|
isFile: boolean;
|
97
|
-
sortBy: string;
|
98
97
|
actionRecords: Object[];
|
99
98
|
activeRecords: Object[];
|
100
99
|
isCut: boolean;
|
@@ -299,6 +298,12 @@ export declare class FileManager extends Component<HTMLElement> implements INoti
|
|
299
298
|
* @default 'Ascending'
|
300
299
|
*/
|
301
300
|
sortOrder: SortOrder;
|
301
|
+
/**
|
302
|
+
* Specifies the field name being used as the sorting criteria to sort the files of the file manager component.
|
303
|
+
*
|
304
|
+
* @default 'name'
|
305
|
+
*/
|
306
|
+
sortBy: string;
|
302
307
|
/**
|
303
308
|
* Specifies the group of items aligned horizontally in the toolbar.
|
304
309
|
*
|
@@ -69,7 +69,6 @@ var FileManager = /** @class */ (function (_super) {
|
|
69
69
|
_this.uploadItem = [];
|
70
70
|
_this.deleteRecords = [];
|
71
71
|
_this.isFile = false;
|
72
|
-
_this.sortBy = 'name';
|
73
72
|
_this.isCut = false;
|
74
73
|
_this.isSearchCut = false;
|
75
74
|
_this.isSearchDrag = false;
|
@@ -792,6 +791,13 @@ var FileManager = /** @class */ (function (_super) {
|
|
792
791
|
refresh(this);
|
793
792
|
this.notify(events.sortByChange, {});
|
794
793
|
break;
|
794
|
+
case 'sortBy':
|
795
|
+
refresh(this);
|
796
|
+
this.notify(events.sortByChange, {});
|
797
|
+
if (this.view === 'Details') {
|
798
|
+
this.notify(events.sortColumn, {});
|
799
|
+
}
|
800
|
+
break;
|
795
801
|
case 'popupTarget':
|
796
802
|
if (this.uploadDialogObj) {
|
797
803
|
this.uploadDialogObj.target = newProp.popupTarget;
|
@@ -1175,6 +1181,9 @@ var FileManager = /** @class */ (function (_super) {
|
|
1175
1181
|
__decorate([
|
1176
1182
|
Property('Ascending')
|
1177
1183
|
], FileManager.prototype, "sortOrder", void 0);
|
1184
|
+
__decorate([
|
1185
|
+
Property('name')
|
1186
|
+
], FileManager.prototype, "sortBy", void 0);
|
1178
1187
|
__decorate([
|
1179
1188
|
Complex({}, ToolbarSettings)
|
1180
1189
|
], FileManager.prototype, "toolbarSettings", void 0);
|
@@ -196,7 +196,7 @@ var NavigationPane = /** @class */ (function () {
|
|
196
196
|
this.parent.trigger('fileOpen', eventArgs);
|
197
197
|
args.cancel = eventArgs.cancel;
|
198
198
|
if (args.cancel) {
|
199
|
-
this.restrictSelecting = this.isNodeClickCalled ? this.previousSelected[0]
|
199
|
+
this.restrictSelecting = this.isNodeClickCalled ? this.previousSelected[0] !== args.node.getAttribute('data-uid') : false;
|
200
200
|
this.treeObj.selectedNodes = this.isNodeClickCalled ? this.previousSelected : this.treeObj.selectedNodes;
|
201
201
|
this.previousSelected = this.treeObj.selectedNodes;
|
202
202
|
if (!isNOU(this.parent) && !isNOU(this.parent.contextmenuModule)) {
|
@@ -22,13 +22,13 @@ export declare class NavigationPaneSettings extends ChildProperty<NavigationPane
|
|
22
22
|
*/
|
23
23
|
visible: boolean;
|
24
24
|
/**
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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
33
|
sortOrder: 'None' | 'Ascending' | 'Descending';
|
34
34
|
}
|
package/styles/bootstrap5.css
CHANGED
@@ -28,7 +28,7 @@ $fe-search-icon-margin: 5px !default;
|
|
28
28
|
$fe-search-clear-icon-padding: 0 !default;
|
29
29
|
$fe-search-input-margin: 0 0 0 29px !default;
|
30
30
|
$fe-bc-margin: 0 !default;
|
31
|
-
$fe-bc-padding: 8px
|
31
|
+
$fe-bc-padding: 8px 16px 8px !default;
|
32
32
|
$fe-rtl-bc-padding: 8px 18px 8px 12px !default;
|
33
33
|
$fe-bc-text-padding: 4px 4px 5px !default;
|
34
34
|
$fe-bc-text-size: 18px !default;
|
@@ -0,0 +1 @@
|
|
1
|
+
@import './fluent-definition.scss';
|
@@ -50,7 +50,7 @@ $fe-dg-td-padding: 4px 24px 4px 0 !default;
|
|
50
50
|
$fe-dg-rtl-td-padding: 8px 0 8px 24px !default;
|
51
51
|
$fe-grid-header-height: 36px !default;
|
52
52
|
$fe-grid-header-font-size: 14px !default;
|
53
|
-
$fe-grid-header-cb-padding-left:
|
53
|
+
$fe-grid-header-cb-padding-left: 5px !default;
|
54
54
|
$fe-grid-content-font-size: 14px !default;
|
55
55
|
$fe-grid-content-name-font-size: 14px !default;
|
56
56
|
$fe-grid-icon-sort-margin: 0 !default;
|
@@ -68,7 +68,7 @@ $fe-lg-icon-margin: 18px 25px 8px !default;
|
|
68
68
|
$fe-lg-img-height: 40px !default;
|
69
69
|
$fe-lg-text-padding: 2px 0 0 0 !default;
|
70
70
|
$fe-cm-separator-margin: 0 0 !default;
|
71
|
-
$fe-cb-line-height:
|
71
|
+
$fe-cb-line-height: 16px !default;
|
72
72
|
$fe-dd-popup-blank-icon-padding-left: 40px !default;
|
73
73
|
$fe-tv-fullrow-height: 38px !default;
|
74
74
|
$fe-address-height: 40px !default;
|
@@ -97,13 +97,13 @@ $fe-big-lg-item-inner-height: 100px !default;
|
|
97
97
|
$fe-big-lg-item-inner-width: 94px !default;
|
98
98
|
$fe-big-lg-icon-height: 52px !default;
|
99
99
|
$fe-big-lg-icon-width: 52px !default;
|
100
|
-
$fe-big-lg-icon-margin:
|
100
|
+
$fe-big-lg-icon-margin: 0 auto !default;
|
101
101
|
$fe-big-lg-img-height: 79px !default;
|
102
102
|
$fe-big-lg-text-padding: 4px 2px 2px !default;
|
103
103
|
$fe-big-grid-header-font-size: 14px !default;
|
104
104
|
$fe-big-grid-content-font-size: 14px !default;
|
105
105
|
$fe-big-grid-content-name-font-size: 16px !default;
|
106
|
-
$fe-big-cb-line-height:
|
106
|
+
$fe-big-cb-line-height: 21px !default;
|
107
107
|
|
108
108
|
$fe-rtl-grid-icon-margin: 0 0 0 8px !default;
|
109
109
|
|
@@ -233,8 +233,8 @@ $fe-search-bg-color: $content-bg-color !default;
|
|
233
233
|
$fe-tb-hover-border-color: $secondary-border-color-hover !default;
|
234
234
|
$fe-tb-focus-border-color: $fe-tb-hover-border-color !default;
|
235
235
|
$fe-tb-focus-bg: $secondary-bg-color-hover !default;
|
236
|
-
$fe-checkbox-color: $primary !default;
|
237
|
-
$fe-checkbox-bg-color: $primary
|
236
|
+
$fe-checkbox-color: $primary-text-color !default;
|
237
|
+
$fe-checkbox-bg-color: $primary !default;
|
238
238
|
$fe-drop-border-color: $primary !default;
|
239
239
|
$fe-up-list-border-color: $border-light !default;
|
240
240
|
$fe-clone-bg-color: $content-bg-color-alt2 !default;
|
@@ -397,6 +397,12 @@
|
|
397
397
|
}
|
398
398
|
}
|
399
399
|
|
400
|
+
@if $fm-skin-name == 'FluentUI' {
|
401
|
+
.e-checkbox-wrapper:hover .e-frame {
|
402
|
+
font-size: 10px;
|
403
|
+
}
|
404
|
+
}
|
405
|
+
|
400
406
|
.e-content {
|
401
407
|
overflow-y: auto !important; // sass-lint:disable-line no-important
|
402
408
|
|
@@ -530,7 +536,7 @@
|
|
530
536
|
|
531
537
|
&.e-focused {
|
532
538
|
box-shadow: none;
|
533
|
-
@if $fm-skin-name != 'tailwind' and $fm-skin-name != 'bootstrap5' {
|
539
|
+
@if $fm-skin-name != 'tailwind' and $fm-skin-name != 'bootstrap5' and $fm-skin-name != 'FluentUI' {
|
534
540
|
td {
|
535
541
|
box-shadow: $fe-grid-row-ie-box-shadow;
|
536
542
|
}
|
@@ -850,7 +856,7 @@
|
|
850
856
|
.e-grid.e-rtl {
|
851
857
|
|
852
858
|
.e-row.e-focused {
|
853
|
-
@if $fm-skin-name != 'tailwind' and $fm-skin-name != 'bootstrap5' {
|
859
|
+
@if $fm-skin-name != 'tailwind' and $fm-skin-name != 'bootstrap5' and $fm-skin-name != 'FluentUI' {
|
854
860
|
td:first-child {
|
855
861
|
box-shadow: $fe-grid-row-lc-ie-box-shadow;
|
856
862
|
}
|
@@ -1035,6 +1041,12 @@
|
|
1035
1041
|
}
|
1036
1042
|
}
|
1037
1043
|
|
1044
|
+
@if $fm-skin-name == 'FluentUI' {
|
1045
|
+
.e-dlg-content {
|
1046
|
+
padding-top: 2px;
|
1047
|
+
}
|
1048
|
+
}
|
1049
|
+
|
1038
1050
|
&.e-rtl {
|
1039
1051
|
|
1040
1052
|
td {
|
@@ -1556,6 +1568,9 @@
|
|
1556
1568
|
@if ($fm-skin-name == 'material' or $fm-skin-name == 'material-dark') {
|
1557
1569
|
height: 39px;
|
1558
1570
|
}
|
1571
|
+
@if ($fm-skin-name == 'FluentUI') {
|
1572
|
+
height: 30px;
|
1573
|
+
}
|
1559
1574
|
}
|
1560
1575
|
|
1561
1576
|
.e-clear-icon::before {
|
@@ -1573,7 +1588,7 @@
|
|
1573
1588
|
@if $fm-skin-name == 'tailwind' {
|
1574
1589
|
margin: 7px 4px;
|
1575
1590
|
}
|
1576
|
-
@else if $fm-skin-name == 'bootstrap5' {
|
1591
|
+
@else if $fm-skin-name == 'bootstrap5' or $fm-skin-name == 'FluentUI' {
|
1577
1592
|
margin: 4px;
|
1578
1593
|
}
|
1579
1594
|
@else {
|
@@ -158,20 +158,27 @@
|
|
158
158
|
.e-grid {
|
159
159
|
|
160
160
|
.e-gridheader {
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
161
|
+
@if $fm-skin-name != 'FluentUI' {
|
162
|
+
tr:first-child th {
|
163
|
+
background: $fe-grid-header-bg-color;
|
164
|
+
}
|
165
|
+
}
|
165
166
|
|
166
167
|
.e-headercell {
|
167
168
|
|
168
169
|
&:not(.e-fe-grid-icon):hover {
|
169
170
|
background: $fe-hover-bg-color;
|
170
171
|
}
|
171
|
-
|
172
|
-
|
173
|
-
|
172
|
+
@if $fm-skin-name == 'FluentUI' {
|
173
|
+
&.e-fe-checkbox:hover {
|
174
|
+
background: $content-bg-color;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
@else {
|
178
|
+
&.e-fe-checkbox:hover {
|
179
|
+
background: $fe-grid-header-bg-color;
|
174
180
|
}
|
181
|
+
}
|
175
182
|
|
176
183
|
&.e-fe-grid-icon .e-headercelldiv:hover {
|
177
184
|
background: $fe-hover-bg-color;
|