@syncfusion/ej2-vue-filemanager 20.4.54 → 21.1.35
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 -44
- package/dist/ej2-vue-filemanager.umd.min.js +2 -2
- package/dist/ej2-vue-filemanager.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-filemanager.es2015.js +121 -142
- package/dist/es6/ej2-vue-filemanager.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-filemanager.es5.js +133 -159
- package/dist/es6/ej2-vue-filemanager.es5.js.map +1 -1
- package/dist/global/ej2-vue-filemanager.min.js +2 -2
- package/package.json +9 -9
- package/src/file-manager/filemanager.component.d.ts +3 -39
- package/src/file-manager/filemanager.component.js +134 -163
- package/styles/bootstrap-dark.css +2 -5
- package/styles/bootstrap.css +1 -4
- package/styles/bootstrap4.css +1 -4
- package/styles/bootstrap5-dark.css +3 -5
- package/styles/bootstrap5.css +3 -5
- package/styles/fabric-dark.css +1 -4
- package/styles/fabric.css +1 -4
- package/styles/file-manager/bootstrap-dark.css +2 -5
- package/styles/file-manager/bootstrap.css +1 -4
- package/styles/file-manager/bootstrap4.css +1 -4
- package/styles/file-manager/bootstrap5-dark.css +3 -5
- package/styles/file-manager/bootstrap5.css +3 -5
- package/styles/file-manager/fabric-dark.css +1 -4
- package/styles/file-manager/fabric.css +1 -4
- package/styles/file-manager/fluent-dark.css +2 -5
- package/styles/file-manager/fluent.css +2 -5
- package/styles/file-manager/highcontrast-light.css +1 -4
- package/styles/file-manager/highcontrast.css +1 -4
- package/styles/file-manager/material-dark.css +2 -6
- package/styles/file-manager/material.css +1 -4
- package/styles/file-manager/tailwind-dark.css +3 -5
- package/styles/file-manager/tailwind.css +3 -5
- package/styles/fluent-dark.css +2 -5
- package/styles/fluent.css +2 -5
- package/styles/highcontrast-light.css +1 -4
- package/styles/highcontrast.css +1 -4
- package/styles/material-dark.css +2 -6
- package/styles/material.css +1 -4
- package/styles/tailwind-dark.css +3 -5
- package/styles/tailwind.css +3 -5
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-vue-filemanager@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-vue-filemanager@20.
|
|
3
|
+
"_id": "@syncfusion/ej2-vue-filemanager@18.20.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-87xPH1Sqg3CT66FBT21If+4Bbj4XHoyBVo12+kFW1AQ1RG5IBBAUz30W5dv0JVqQ4jaMHxXYDZipJMIvEonUgw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-vue-filemanager",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"_requiredBy": [
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-vue-filemanager/-/ej2-vue-filemanager-18.20.1.tgz",
|
|
23
|
+
"_shasum": "7bd4c1e5f5b1a623384463b9293d964aa94e0cfd",
|
|
24
24
|
"_spec": "@syncfusion/ej2-vue-filemanager@*",
|
|
25
|
-
"_where": "/jenkins/workspace/
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-filemanager": "
|
|
36
|
-
"@syncfusion/ej2-vue-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.35",
|
|
35
|
+
"@syncfusion/ej2-filemanager": "21.1.35",
|
|
36
|
+
"@syncfusion/ej2-vue-base": "~21.1.35"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 FileManager Component for Vue",
|
|
@@ -63,6 +63,6 @@
|
|
|
63
63
|
"scripts": {
|
|
64
64
|
"postinstall": "node ../ej2-vue-base/postinstall.js"
|
|
65
65
|
},
|
|
66
|
-
"version": "
|
|
66
|
+
"version": "21.1.35",
|
|
67
67
|
"sideEffects": false
|
|
68
68
|
}
|
|
@@ -1,51 +1,15 @@
|
|
|
1
|
-
import { ComponentBase } from '@syncfusion/ej2-vue-base';
|
|
2
1
|
export declare const properties: string[];
|
|
3
2
|
export declare const modelProps: string[];
|
|
4
3
|
export declare const testProp: any;
|
|
5
|
-
export declare const props: any;
|
|
6
|
-
export declare const watch: any;
|
|
7
|
-
export declare const emitProbs: any;
|
|
4
|
+
export declare const props: any, watch: any, emitProbs: any;
|
|
8
5
|
/**
|
|
9
6
|
* Represents the Essential JS 2 VueJS FileManager Component.
|
|
10
7
|
* ```vue
|
|
11
8
|
* <ejs-filemanager showThumbnail='false'></ejs-filemanager>
|
|
12
9
|
* ```
|
|
13
10
|
*/
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
propKeys: string[];
|
|
17
|
-
models: string[];
|
|
18
|
-
hasChildDirective: boolean;
|
|
19
|
-
protected hasInjectedModules: boolean;
|
|
20
|
-
tagMapper: {
|
|
21
|
-
[key: string]: Object;
|
|
22
|
-
};
|
|
23
|
-
tagNameMapper: Object;
|
|
24
|
-
isVue3: boolean;
|
|
25
|
-
templateCollection: any;
|
|
26
|
-
constructor();
|
|
27
|
-
clearTemplate(templateNames?: string[]): any;
|
|
28
|
-
setProperties(prop: any, muteOnChange: boolean): void;
|
|
29
|
-
render(createElement: any): any;
|
|
30
|
-
custom(): void;
|
|
31
|
-
clearSelection(): void;
|
|
32
|
-
createFolder(name?: string): void;
|
|
33
|
-
deleteFiles(ids?: string[]): void;
|
|
34
|
-
disableMenuItems(items: string[]): void;
|
|
35
|
-
disableToolbarItems(items: string[]): void;
|
|
36
|
-
downloadFiles(ids?: string[]): void;
|
|
37
|
-
enableToolbarItems(items: string[]): void;
|
|
38
|
-
filterFiles(filterData?: Object): void;
|
|
39
|
-
getMenuItemIndex(item: string): number;
|
|
40
|
-
getSelectedFiles(): Object[];
|
|
41
|
-
getToolbarItemIndex(item: string): number;
|
|
42
|
-
openFile(id: string): void;
|
|
43
|
-
refreshFiles(): void;
|
|
44
|
-
refreshLayout(): void;
|
|
45
|
-
renameFile(id?: string, name?: string): void;
|
|
46
|
-
selectAll(): void;
|
|
47
|
-
uploadFiles(): void;
|
|
48
|
-
}
|
|
11
|
+
export declare let FileManagerComponent: any;
|
|
12
|
+
export declare type FileManagerComponent = InstanceType<typeof FileManagerComponent>;
|
|
49
13
|
export declare const FileManagerPlugin: {
|
|
50
14
|
name: string;
|
|
51
15
|
install(Vue: any): void;
|
|
@@ -1,32 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
import { ComponentBase, EJComponentDecorator, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
1
|
+
import { ComponentBase, gh, getProps, isExecute, vueDefineComponent } from '@syncfusion/ej2-vue-base';
|
|
21
2
|
import { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';
|
|
22
3
|
import { FileManager } from '@syncfusion/ej2-filemanager';
|
|
23
|
-
import { Options } from 'vue-class-component';
|
|
24
4
|
export var properties = ['isLazyUpdate', 'plugins', 'ajaxSettings', 'allowDragAndDrop', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'detailsViewSettings', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'height', 'locale', 'navigationPaneSettings', 'path', 'popupTarget', 'rootAliasName', 'searchSettings', 'selectedItems', 'showFileExtension', 'showHiddenItems', 'showThumbnail', 'sortBy', 'sortOrder', 'toolbarSettings', 'uploadSettings', 'view', 'width', 'beforeDownload', 'beforeImageLoad', 'beforePopupClose', 'beforePopupOpen', 'beforeSend', 'created', 'destroyed', 'failure', 'fileDragStart', 'fileDragStop', 'fileDragging', 'fileDropped', 'fileLoad', 'fileOpen', 'fileSelect', 'fileSelection', 'menuClick', 'menuOpen', 'popupClose', 'popupOpen', 'success', 'toolbarClick', 'toolbarCreate', 'uploadListCreate'];
|
|
25
5
|
export var modelProps = [];
|
|
26
6
|
export var testProp = getProps({ props: properties });
|
|
27
|
-
export var props = testProp[0];
|
|
28
|
-
export var watch = testProp[1];
|
|
29
|
-
export var emitProbs = Object.keys(watch);
|
|
7
|
+
export var props = testProp[0], watch = testProp[1], emitProbs = Object.keys(watch);
|
|
30
8
|
emitProbs.push('modelchanged', 'update:modelValue');
|
|
31
9
|
for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
32
10
|
var props_1 = modelProps_1[_i];
|
|
@@ -38,153 +16,146 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
38
16
|
* <ejs-filemanager showThumbnail='false'></ejs-filemanager>
|
|
39
17
|
* ```
|
|
40
18
|
*/
|
|
41
|
-
var FileManagerComponent =
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
19
|
+
export var FileManagerComponent = vueDefineComponent({
|
|
20
|
+
name: 'FileManagerComponent',
|
|
21
|
+
mixins: [ComponentBase],
|
|
22
|
+
props: props,
|
|
23
|
+
watch: watch,
|
|
24
|
+
emits: emitProbs,
|
|
25
|
+
provide: function () { return { custom: this.custom }; },
|
|
26
|
+
data: function () {
|
|
27
|
+
return {
|
|
28
|
+
ej2Instances: new FileManager({}),
|
|
29
|
+
propKeys: properties,
|
|
30
|
+
models: modelProps,
|
|
31
|
+
hasChildDirective: false,
|
|
32
|
+
hasInjectedModules: true,
|
|
33
|
+
tagMapper: {},
|
|
34
|
+
tagNameMapper: {},
|
|
35
|
+
isVue3: !isExecute,
|
|
36
|
+
templateCollection: {},
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
created: function () {
|
|
40
|
+
this.bindProperties();
|
|
41
|
+
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
42
|
+
this.ej2Instances.setProperties = this.setProperties;
|
|
43
|
+
this.ej2Instances.clearTemplate = this.clearTemplate;
|
|
44
|
+
this.updated = this.updated;
|
|
45
|
+
},
|
|
46
|
+
render: function (createElement) {
|
|
47
|
+
var h = !isExecute ? gh : createElement;
|
|
48
|
+
var slots = null;
|
|
49
|
+
if (!isNullOrUndefined(this.$slots.default)) {
|
|
50
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
63
51
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
52
|
+
return h('div', slots);
|
|
53
|
+
},
|
|
54
|
+
methods: {
|
|
55
|
+
clearTemplate: function (templateNames) {
|
|
56
|
+
if (!templateNames) {
|
|
57
|
+
templateNames = Object.keys(this.templateCollection || {});
|
|
58
|
+
}
|
|
59
|
+
if (templateNames.length && this.templateCollection) {
|
|
60
|
+
for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {
|
|
61
|
+
var tempName = templateNames_1[_i];
|
|
62
|
+
var elementCollection = this.templateCollection[tempName];
|
|
63
|
+
if (elementCollection && elementCollection.length) {
|
|
64
|
+
for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {
|
|
65
|
+
var ele = elementCollection_1[_a];
|
|
66
|
+
var destroy = getValue('__vue__.$destroy', ele);
|
|
67
|
+
if (destroy) {
|
|
68
|
+
ele.__vue__.$destroy();
|
|
69
|
+
}
|
|
70
|
+
if (ele.innerHTML) {
|
|
71
|
+
ele.innerHTML = '';
|
|
72
|
+
}
|
|
77
73
|
}
|
|
74
|
+
delete this.templateCollection[tempName];
|
|
78
75
|
}
|
|
79
|
-
delete this.templateCollection[tempName];
|
|
80
76
|
}
|
|
81
77
|
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
78
|
+
},
|
|
79
|
+
setProperties: function (prop, muteOnChange) {
|
|
80
|
+
var _this = this;
|
|
81
|
+
if (this.isVue3) {
|
|
82
|
+
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
83
|
+
}
|
|
84
|
+
if (this.ej2Instances && this.ej2Instances._setProperties) {
|
|
85
|
+
this.ej2Instances._setProperties(prop, muteOnChange);
|
|
86
|
+
}
|
|
87
|
+
if (prop && this.models && this.models.length) {
|
|
88
|
+
Object.keys(prop).map(function (key) {
|
|
89
|
+
_this.models.map(function (model) {
|
|
90
|
+
if ((key === model) && !(/datasource/i.test(key))) {
|
|
91
|
+
if (_this.isVue3) {
|
|
92
|
+
_this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
_this.$emit('update:' + key, prop[key]);
|
|
96
|
+
_this.$emit('modelchanged', prop[key]);
|
|
97
|
+
}
|
|
102
98
|
}
|
|
103
|
-
}
|
|
99
|
+
});
|
|
104
100
|
});
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
FileManagerComponent.prototype.render = function (createElement) {
|
|
109
|
-
var h = !isExecute ? gh : createElement;
|
|
110
|
-
var slots = null;
|
|
111
|
-
if (!isNullOrUndefined(this.$slots.default)) {
|
|
112
|
-
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
113
|
-
}
|
|
114
|
-
return h('div', slots);
|
|
115
|
-
};
|
|
116
|
-
FileManagerComponent.prototype.custom = function () {
|
|
117
|
-
this.updated();
|
|
118
|
-
};
|
|
119
|
-
FileManagerComponent.prototype.clearSelection = function () {
|
|
120
|
-
return this.ej2Instances.clearSelection();
|
|
121
|
-
};
|
|
122
|
-
FileManagerComponent.prototype.createFolder = function (name) {
|
|
123
|
-
return this.ej2Instances.createFolder(name);
|
|
124
|
-
};
|
|
125
|
-
FileManagerComponent.prototype.deleteFiles = function (ids) {
|
|
126
|
-
return this.ej2Instances.deleteFiles(ids);
|
|
127
|
-
};
|
|
128
|
-
FileManagerComponent.prototype.disableMenuItems = function (items) {
|
|
129
|
-
return this.ej2Instances.disableMenuItems(items);
|
|
130
|
-
};
|
|
131
|
-
FileManagerComponent.prototype.disableToolbarItems = function (items) {
|
|
132
|
-
return this.ej2Instances.disableToolbarItems(items);
|
|
133
|
-
};
|
|
134
|
-
FileManagerComponent.prototype.downloadFiles = function (ids) {
|
|
135
|
-
return this.ej2Instances.downloadFiles(ids);
|
|
136
|
-
};
|
|
137
|
-
FileManagerComponent.prototype.enableToolbarItems = function (items) {
|
|
138
|
-
return this.ej2Instances.enableToolbarItems(items);
|
|
139
|
-
};
|
|
140
|
-
FileManagerComponent.prototype.filterFiles = function (filterData) {
|
|
141
|
-
return this.ej2Instances.filterFiles(filterData);
|
|
142
|
-
};
|
|
143
|
-
FileManagerComponent.prototype.getMenuItemIndex = function (item) {
|
|
144
|
-
return this.ej2Instances.getMenuItemIndex(item);
|
|
145
|
-
};
|
|
146
|
-
FileManagerComponent.prototype.getSelectedFiles = function () {
|
|
147
|
-
return this.ej2Instances.getSelectedFiles();
|
|
148
|
-
};
|
|
149
|
-
FileManagerComponent.prototype.getToolbarItemIndex = function (item) {
|
|
150
|
-
return this.ej2Instances.getToolbarItemIndex(item);
|
|
151
|
-
};
|
|
152
|
-
FileManagerComponent.prototype.openFile = function (id) {
|
|
153
|
-
return this.ej2Instances.openFile(id);
|
|
154
|
-
};
|
|
155
|
-
FileManagerComponent.prototype.refreshFiles = function () {
|
|
156
|
-
return this.ej2Instances.refreshFiles();
|
|
157
|
-
};
|
|
158
|
-
FileManagerComponent.prototype.refreshLayout = function () {
|
|
159
|
-
return this.ej2Instances.refreshLayout();
|
|
160
|
-
};
|
|
161
|
-
FileManagerComponent.prototype.renameFile = function (id, name) {
|
|
162
|
-
return this.ej2Instances.renameFile(id, name);
|
|
163
|
-
};
|
|
164
|
-
FileManagerComponent.prototype.selectAll = function () {
|
|
165
|
-
return this.ej2Instances.selectAll();
|
|
166
|
-
};
|
|
167
|
-
FileManagerComponent.prototype.uploadFiles = function () {
|
|
168
|
-
return this.ej2Instances.uploadFiles();
|
|
169
|
-
};
|
|
170
|
-
FileManagerComponent = __decorate([
|
|
171
|
-
EJComponentDecorator({
|
|
172
|
-
props: properties
|
|
173
|
-
}, isExecute)
|
|
174
|
-
,Options({
|
|
175
|
-
props: props,
|
|
176
|
-
watch: watch,
|
|
177
|
-
emits: emitProbs,
|
|
178
|
-
provide: function provide() {
|
|
179
|
-
return {
|
|
180
|
-
custom: this.custom
|
|
181
|
-
};
|
|
182
101
|
}
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
-
|
|
102
|
+
},
|
|
103
|
+
custom: function () {
|
|
104
|
+
this.updated();
|
|
105
|
+
},
|
|
106
|
+
clearSelection: function () {
|
|
107
|
+
return this.ej2Instances.clearSelection();
|
|
108
|
+
},
|
|
109
|
+
createFolder: function (name) {
|
|
110
|
+
return this.ej2Instances.createFolder(name);
|
|
111
|
+
},
|
|
112
|
+
deleteFiles: function (ids) {
|
|
113
|
+
return this.ej2Instances.deleteFiles(ids);
|
|
114
|
+
},
|
|
115
|
+
disableMenuItems: function (items) {
|
|
116
|
+
return this.ej2Instances.disableMenuItems(items);
|
|
117
|
+
},
|
|
118
|
+
disableToolbarItems: function (items) {
|
|
119
|
+
return this.ej2Instances.disableToolbarItems(items);
|
|
120
|
+
},
|
|
121
|
+
downloadFiles: function (ids) {
|
|
122
|
+
return this.ej2Instances.downloadFiles(ids);
|
|
123
|
+
},
|
|
124
|
+
enableToolbarItems: function (items) {
|
|
125
|
+
return this.ej2Instances.enableToolbarItems(items);
|
|
126
|
+
},
|
|
127
|
+
filterFiles: function (filterData) {
|
|
128
|
+
return this.ej2Instances.filterFiles(filterData);
|
|
129
|
+
},
|
|
130
|
+
getMenuItemIndex: function (item) {
|
|
131
|
+
return this.ej2Instances.getMenuItemIndex(item);
|
|
132
|
+
},
|
|
133
|
+
getSelectedFiles: function () {
|
|
134
|
+
return this.ej2Instances.getSelectedFiles();
|
|
135
|
+
},
|
|
136
|
+
getToolbarItemIndex: function (item) {
|
|
137
|
+
return this.ej2Instances.getToolbarItemIndex(item);
|
|
138
|
+
},
|
|
139
|
+
openFile: function (id) {
|
|
140
|
+
return this.ej2Instances.openFile(id);
|
|
141
|
+
},
|
|
142
|
+
refreshFiles: function () {
|
|
143
|
+
return this.ej2Instances.refreshFiles();
|
|
144
|
+
},
|
|
145
|
+
refreshLayout: function () {
|
|
146
|
+
return this.ej2Instances.refreshLayout();
|
|
147
|
+
},
|
|
148
|
+
renameFile: function (id, name) {
|
|
149
|
+
return this.ej2Instances.renameFile(id, name);
|
|
150
|
+
},
|
|
151
|
+
selectAll: function () {
|
|
152
|
+
return this.ej2Instances.selectAll();
|
|
153
|
+
},
|
|
154
|
+
uploadFiles: function () {
|
|
155
|
+
return this.ej2Instances.uploadFiles();
|
|
156
|
+
},
|
|
157
|
+
}
|
|
158
|
+
});
|
|
188
159
|
export var FileManagerPlugin = {
|
|
189
160
|
name: 'ejs-filemanager',
|
|
190
161
|
install: function (Vue) {
|
|
@@ -444,9 +444,6 @@ ejs-filemanager {
|
|
|
444
444
|
border: 0;
|
|
445
445
|
font-size: 12px;
|
|
446
446
|
}
|
|
447
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
448
|
-
font-size: 13px;
|
|
449
|
-
}
|
|
450
447
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
451
448
|
box-shadow: 1px 0 0 1px #0070f0 inset;
|
|
452
449
|
}
|
|
@@ -1492,11 +1489,11 @@ ejs-filemanager {
|
|
|
1492
1489
|
background-color: #1a1a1a;
|
|
1493
1490
|
color: #f0f0f0;
|
|
1494
1491
|
}
|
|
1495
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1492
|
+
.e-filemanager .e-grid.e-gridhover .e-row:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1496
1493
|
background-color: #393939;
|
|
1497
1494
|
color: #acacac;
|
|
1498
1495
|
}
|
|
1499
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1496
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1500
1497
|
background-color: transparent;
|
|
1501
1498
|
}
|
|
1502
1499
|
.e-filemanager .e-large-icons .e-list-img {
|
package/styles/bootstrap.css
CHANGED
|
@@ -445,9 +445,6 @@ ejs-filemanager {
|
|
|
445
445
|
border: 0;
|
|
446
446
|
font-size: 12px;
|
|
447
447
|
}
|
|
448
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
449
|
-
font-size: 13px;
|
|
450
|
-
}
|
|
451
448
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
452
449
|
box-shadow: 1px 0 0 1px #317ab9 inset;
|
|
453
450
|
}
|
|
@@ -1479,7 +1476,7 @@ ejs-filemanager {
|
|
|
1479
1476
|
background-color: #317ab9;
|
|
1480
1477
|
color: #fff;
|
|
1481
1478
|
}
|
|
1482
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1479
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1483
1480
|
background-color: transparent;
|
|
1484
1481
|
}
|
|
1485
1482
|
.e-filemanager .e-large-icons .e-list-img {
|
package/styles/bootstrap4.css
CHANGED
|
@@ -444,9 +444,6 @@ ejs-filemanager {
|
|
|
444
444
|
border: 0;
|
|
445
445
|
font-size: 12px;
|
|
446
446
|
}
|
|
447
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
448
|
-
font-size: 13px;
|
|
449
|
-
}
|
|
450
447
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
451
448
|
box-shadow: 1px 0 0 1px #007bff inset;
|
|
452
449
|
}
|
|
@@ -1504,7 +1501,7 @@ ejs-filemanager {
|
|
|
1504
1501
|
background-color: #fff;
|
|
1505
1502
|
color: #212529;
|
|
1506
1503
|
}
|
|
1507
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1504
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1508
1505
|
background-color: transparent;
|
|
1509
1506
|
}
|
|
1510
1507
|
.e-filemanager .e-large-icons .e-list-img {
|
|
@@ -359,6 +359,7 @@ ejs-filemanager {
|
|
|
359
359
|
margin: 5px;
|
|
360
360
|
margin-right: 4px;
|
|
361
361
|
padding: 3px;
|
|
362
|
+
padding: 5px;
|
|
362
363
|
position: absolute;
|
|
363
364
|
z-index: 1;
|
|
364
365
|
}
|
|
@@ -459,9 +460,6 @@ ejs-filemanager {
|
|
|
459
460
|
border: 0;
|
|
460
461
|
font-size: 12px;
|
|
461
462
|
}
|
|
462
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
463
|
-
font-size: 14px;
|
|
464
|
-
}
|
|
465
463
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
466
464
|
box-shadow: 1px 0 0 1px #0d6efd inset;
|
|
467
465
|
}
|
|
@@ -1167,7 +1165,7 @@ ejs-filemanager {
|
|
|
1167
1165
|
overflow: hidden;
|
|
1168
1166
|
text-overflow: ellipsis;
|
|
1169
1167
|
white-space: nowrap;
|
|
1170
|
-
font-size:
|
|
1168
|
+
font-size: 16px;
|
|
1171
1169
|
max-width: 205px;
|
|
1172
1170
|
min-width: 45px;
|
|
1173
1171
|
padding: 8px 30px 8px 0;
|
|
@@ -1542,7 +1540,7 @@ ejs-filemanager {
|
|
|
1542
1540
|
background-color: #fff;
|
|
1543
1541
|
color: #0d6efd;
|
|
1544
1542
|
}
|
|
1545
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1543
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1546
1544
|
background-color: transparent;
|
|
1547
1545
|
}
|
|
1548
1546
|
.e-filemanager .e-large-icons .e-list-img {
|
package/styles/bootstrap5.css
CHANGED
|
@@ -359,6 +359,7 @@ ejs-filemanager {
|
|
|
359
359
|
margin: 5px;
|
|
360
360
|
margin-right: 4px;
|
|
361
361
|
padding: 3px;
|
|
362
|
+
padding: 5px;
|
|
362
363
|
position: absolute;
|
|
363
364
|
z-index: 1;
|
|
364
365
|
}
|
|
@@ -459,9 +460,6 @@ ejs-filemanager {
|
|
|
459
460
|
border: 0;
|
|
460
461
|
font-size: 12px;
|
|
461
462
|
}
|
|
462
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
463
|
-
font-size: 14px;
|
|
464
|
-
}
|
|
465
463
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
466
464
|
box-shadow: 1px 0 0 1px #0d6efd inset;
|
|
467
465
|
}
|
|
@@ -1167,7 +1165,7 @@ ejs-filemanager {
|
|
|
1167
1165
|
overflow: hidden;
|
|
1168
1166
|
text-overflow: ellipsis;
|
|
1169
1167
|
white-space: nowrap;
|
|
1170
|
-
font-size:
|
|
1168
|
+
font-size: 16px;
|
|
1171
1169
|
max-width: 205px;
|
|
1172
1170
|
min-width: 45px;
|
|
1173
1171
|
padding: 8px 30px 8px 0;
|
|
@@ -1542,7 +1540,7 @@ ejs-filemanager {
|
|
|
1542
1540
|
background-color: #fff;
|
|
1543
1541
|
color: #0d6efd;
|
|
1544
1542
|
}
|
|
1545
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1543
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1546
1544
|
background-color: transparent;
|
|
1547
1545
|
}
|
|
1548
1546
|
.e-filemanager .e-large-icons .e-list-img {
|
package/styles/fabric-dark.css
CHANGED
|
@@ -440,9 +440,6 @@ ejs-filemanager {
|
|
|
440
440
|
border: 0;
|
|
441
441
|
font-size: 12px;
|
|
442
442
|
}
|
|
443
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
444
|
-
font-size: 13px;
|
|
445
|
-
}
|
|
446
443
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
447
444
|
box-shadow: 1px 0 0 1px #0074cc inset;
|
|
448
445
|
}
|
|
@@ -1473,7 +1470,7 @@ ejs-filemanager {
|
|
|
1473
1470
|
background-color: #514f4f;
|
|
1474
1471
|
color: #fff;
|
|
1475
1472
|
}
|
|
1476
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1473
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1477
1474
|
background-color: transparent;
|
|
1478
1475
|
}
|
|
1479
1476
|
.e-filemanager .e-large-icons .e-list-img {
|
package/styles/fabric.css
CHANGED
|
@@ -441,9 +441,6 @@ ejs-filemanager {
|
|
|
441
441
|
border: 0;
|
|
442
442
|
font-size: 12px;
|
|
443
443
|
}
|
|
444
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
445
|
-
font-size: 13px;
|
|
446
|
-
}
|
|
447
444
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
448
445
|
box-shadow: 1px 0 0 1px #0078d6 inset;
|
|
449
446
|
}
|
|
@@ -1474,7 +1471,7 @@ ejs-filemanager {
|
|
|
1474
1471
|
background-color: #d1ebff;
|
|
1475
1472
|
color: #333;
|
|
1476
1473
|
}
|
|
1477
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1474
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1478
1475
|
background-color: transparent;
|
|
1479
1476
|
}
|
|
1480
1477
|
.e-filemanager .e-large-icons .e-list-img {
|
|
@@ -444,9 +444,6 @@ ejs-filemanager {
|
|
|
444
444
|
border: 0;
|
|
445
445
|
font-size: 12px;
|
|
446
446
|
}
|
|
447
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
448
|
-
font-size: 13px;
|
|
449
|
-
}
|
|
450
447
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
451
448
|
box-shadow: 1px 0 0 1px #0070f0 inset;
|
|
452
449
|
}
|
|
@@ -1492,11 +1489,11 @@ ejs-filemanager {
|
|
|
1492
1489
|
background-color: #1a1a1a;
|
|
1493
1490
|
color: #f0f0f0;
|
|
1494
1491
|
}
|
|
1495
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1492
|
+
.e-filemanager .e-grid.e-gridhover .e-row:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1496
1493
|
background-color: #393939;
|
|
1497
1494
|
color: #acacac;
|
|
1498
1495
|
}
|
|
1499
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1496
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1500
1497
|
background-color: transparent;
|
|
1501
1498
|
}
|
|
1502
1499
|
.e-filemanager .e-large-icons .e-list-img {
|
|
@@ -445,9 +445,6 @@ ejs-filemanager {
|
|
|
445
445
|
border: 0;
|
|
446
446
|
font-size: 12px;
|
|
447
447
|
}
|
|
448
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
449
|
-
font-size: 13px;
|
|
450
|
-
}
|
|
451
448
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
452
449
|
box-shadow: 1px 0 0 1px #317ab9 inset;
|
|
453
450
|
}
|
|
@@ -1479,7 +1476,7 @@ ejs-filemanager {
|
|
|
1479
1476
|
background-color: #317ab9;
|
|
1480
1477
|
color: #fff;
|
|
1481
1478
|
}
|
|
1482
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1479
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1483
1480
|
background-color: transparent;
|
|
1484
1481
|
}
|
|
1485
1482
|
.e-filemanager .e-large-icons .e-list-img {
|
|
@@ -444,9 +444,6 @@ ejs-filemanager {
|
|
|
444
444
|
border: 0;
|
|
445
445
|
font-size: 12px;
|
|
446
446
|
}
|
|
447
|
-
.e-filemanager .e-grid .e-content .e-rowcell .e-fe-text {
|
|
448
|
-
font-size: 13px;
|
|
449
|
-
}
|
|
450
447
|
.e-filemanager .e-grid .e-content tr.e-row.e-fe-drop-folder .e-rowcell:first-child {
|
|
451
448
|
box-shadow: 1px 0 0 1px #007bff inset;
|
|
452
449
|
}
|
|
@@ -1504,7 +1501,7 @@ ejs-filemanager {
|
|
|
1504
1501
|
background-color: #fff;
|
|
1505
1502
|
color: #212529;
|
|
1506
1503
|
}
|
|
1507
|
-
.e-filemanager .e-grid.e-gridhover
|
|
1504
|
+
.e-filemanager .e-grid.e-gridhover .e-row.e-fe-drop-file:not(.e-editedrow):hover .e-rowcell:not(.e-cellselectionbackground):not(.e-active):not(.e-updatedtd):not(.e-indentcell) {
|
|
1508
1505
|
background-color: transparent;
|
|
1509
1506
|
}
|
|
1510
1507
|
.e-filemanager .e-large-icons .e-list-img {
|