@syncfusion/ej2-angular-filemanager 30.1.37-ngcc → 30.1.38-ngcc
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/@syncfusion/ej2-angular-filemanager.es5.js +306 -306
- package/@syncfusion/ej2-angular-filemanager.js +261 -261
- package/dist/ej2-angular-filemanager.umd.js +297 -297
- package/dist/ej2-angular-filemanager.umd.min.js +1 -1
- package/ej2-angular-filemanager.d.ts +5 -5
- package/{LICENSE → license} +10 -10
- package/package.json +45 -14
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.d.ts +2 -2
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +4 -4
- package/src/file-manager/filemanager-all.module.d.ts +13 -13
- package/src/file-manager/filemanager.component.d.ts +64 -64
- package/src/file-manager/filemanager.module.d.ts +5 -5
- package/src/file-manager/toolbaritems.directive.d.ts +144 -144
- package/src/index.d.ts +5 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: ej2-angular-filemanager.umd.js
|
3
|
-
* version : 30.1.
|
3
|
+
* version : 30.1.38
|
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
|
@@ -13,302 +13,302 @@
|
|
13
13
|
(factory((global['ej2-angular-filemanager'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.filemanager,global.ng.common));
|
14
14
|
}(this, (function (exports,core,ej2AngularBase,ej2Filemanager,common) { 'use strict';
|
15
15
|
|
16
|
-
var __extends = (this && this.__extends) || (function () {
|
17
|
-
var extendStatics = Object.setPrototypeOf ||
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
19
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
20
|
-
return function (d, b) {
|
21
|
-
extendStatics(d, b);
|
22
|
-
function __() { this.constructor = d; }
|
23
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
24
|
-
};
|
25
|
-
})();
|
26
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
27
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
28
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
29
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
30
|
-
else
|
31
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
32
|
-
if (d = decorators[i])
|
33
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
34
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
35
|
-
};
|
36
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
37
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
38
|
-
return Reflect.metadata(k, v);
|
39
|
-
};
|
40
|
-
var input = ['align', 'cssClass', 'disabled', 'htmlAttributes', 'id', 'name', 'overflow', 'prefixIcon', 'showAlwaysInPopup', 'showTextOn', 'suffixIcon', 'tabIndex', 'template', 'text', 'tooltipText', 'type', 'visible', 'width'];
|
41
|
-
var outputs = [];
|
42
|
-
var ToolbarItemDirective = /** @class */ (function (_super) {
|
43
|
-
__extends(ToolbarItemDirective, _super);
|
44
|
-
/**
|
45
|
-
* @param {?} viewContainerRef
|
46
|
-
*/
|
47
|
-
function ToolbarItemDirective(viewContainerRef) {
|
48
|
-
var _this = _super.call(this) || this;
|
49
|
-
_this.viewContainerRef = viewContainerRef;
|
50
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
51
|
-
_this.registerEvents(outputs);
|
52
|
-
_this.directivePropList = input;
|
53
|
-
return _this;
|
54
|
-
}
|
55
|
-
return ToolbarItemDirective;
|
56
|
-
}(ej2AngularBase.ComplexBase));
|
57
|
-
ToolbarItemDirective.decorators = [
|
58
|
-
{ type: core.Directive, args: [{
|
59
|
-
selector: 'e-toolbaritems>e-toolbaritem',
|
60
|
-
inputs: input,
|
61
|
-
outputs: outputs,
|
62
|
-
queries: {}
|
63
|
-
},] },
|
64
|
-
];
|
65
|
-
/**
|
66
|
-
* @nocollapse
|
67
|
-
*/
|
68
|
-
ToolbarItemDirective.ctorParameters = function () { return [
|
69
|
-
{ type: core.ViewContainerRef, },
|
70
|
-
]; };
|
71
|
-
ToolbarItemDirective.propDecorators = {
|
72
|
-
'template': [{ type: core.ContentChild, args: ['template',] },],
|
73
|
-
};
|
74
|
-
__decorate([
|
75
|
-
ej2AngularBase.Template(),
|
76
|
-
__metadata("design:type", Object)
|
77
|
-
], ToolbarItemDirective.prototype, "template", void 0);
|
78
|
-
/**
|
79
|
-
* ToolbarItem Array Directive
|
80
|
-
*/
|
81
|
-
var ToolbarItemsDirective = /** @class */ (function (_super) {
|
82
|
-
__extends(ToolbarItemsDirective, _super);
|
83
|
-
function ToolbarItemsDirective() {
|
84
|
-
return _super.call(this, 'toolbaritems') || this;
|
85
|
-
}
|
86
|
-
return ToolbarItemsDirective;
|
87
|
-
}(ej2AngularBase.ArrayBase));
|
88
|
-
ToolbarItemsDirective.decorators = [
|
89
|
-
{ type: core.Directive, args: [{
|
90
|
-
selector: 'ejs-filemanager>e-toolbaritems',
|
91
|
-
queries: {
|
92
|
-
children: new core.ContentChildren(ToolbarItemDirective)
|
93
|
-
},
|
94
|
-
},] },
|
95
|
-
];
|
96
|
-
/**
|
97
|
-
* @nocollapse
|
98
|
-
*/
|
99
|
-
ToolbarItemsDirective.ctorParameters = function () { return []; };
|
100
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
101
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
102
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
103
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
104
|
-
else
|
105
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
106
|
-
if (d = decorators[i])
|
107
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
108
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
109
|
-
};
|
110
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
111
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
112
|
-
return Reflect.metadata(k, v);
|
113
|
-
};
|
114
|
-
var inputs = ['ajaxSettings', 'allowDragAndDrop', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'detailsViewSettings', 'enableHtmlSanitizer', 'enablePersistence', 'enableRangeSelection', 'enableRtl', 'enableVirtualization', 'fileSystemData', 'height', 'locale', 'navigationPaneSettings', 'path', 'popupTarget', 'rootAliasName', 'searchSettings', 'selectedItems', 'showFileExtension', 'showHiddenItems', 'showItemCheckBoxes', 'showThumbnail', 'sortBy', 'sortComparer', 'sortOrder', 'toolbarItems', 'toolbarSettings', 'uploadSettings', 'view', 'width'];
|
115
|
-
var outputs$1 = ['beforeDelete', 'beforeDownload', 'beforeFolderCreate', 'beforeImageLoad', 'beforeMove', 'beforePopupClose', 'beforePopupOpen', 'beforeRename', 'beforeSend', 'created', 'delete', 'destroyed', 'failure', 'fileDragStart', 'fileDragStop', 'fileDragging', 'fileDropped', 'fileLoad', 'fileOpen', 'fileSelect', 'fileSelection', 'folderCreate', 'menuClick', 'menuClose', 'menuOpen', 'move', 'popupClose', 'popupOpen', 'rename', 'search', 'success', 'toolbarClick', 'toolbarCreate', 'uploadListCreate'];
|
116
|
-
var twoWays = [''];
|
117
|
-
/**
|
118
|
-
* Represents the Essential JS 2 Angular FileManager Component.
|
119
|
-
* ```html
|
120
|
-
* <ejs-filemanager showThumbnail='false'></ejs-filemanager>
|
121
|
-
* ```
|
122
|
-
*/
|
123
|
-
exports.FileManagerComponent = /** @class */ (function (_super) {
|
124
|
-
__extends(FileManagerComponent, _super);
|
125
|
-
/**
|
126
|
-
* @param {?} ngEle
|
127
|
-
* @param {?} srenderer
|
128
|
-
* @param {?} viewContainerRef
|
129
|
-
* @param {?} injector
|
130
|
-
*/
|
131
|
-
function FileManagerComponent(ngEle, srenderer, viewContainerRef, injector) {
|
132
|
-
var _this = _super.call(this) || this;
|
133
|
-
_this.ngEle = ngEle;
|
134
|
-
_this.srenderer = srenderer;
|
135
|
-
_this.viewContainerRef = viewContainerRef;
|
136
|
-
_this.injector = injector;
|
137
|
-
_this.tags = ['toolbarItems'];
|
138
|
-
_this.element = _this.ngEle.nativeElement;
|
139
|
-
_this.injectedModules = _this.injectedModules || [];
|
140
|
-
try {
|
141
|
-
var mod = _this.injector.get('FileManagerDetailsView');
|
142
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
143
|
-
_this.injectedModules.push(mod);
|
144
|
-
}
|
145
|
-
}
|
146
|
-
catch (_a) { }
|
147
|
-
try {
|
148
|
-
var mod = _this.injector.get('FileManagerNavigationPane');
|
149
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
150
|
-
_this.injectedModules.push(mod);
|
151
|
-
}
|
152
|
-
}
|
153
|
-
catch (_b) { }
|
154
|
-
try {
|
155
|
-
var mod = _this.injector.get('FileManagerLargeIconsView');
|
156
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
157
|
-
_this.injectedModules.push(mod);
|
158
|
-
}
|
159
|
-
}
|
160
|
-
catch (_c) { }
|
161
|
-
try {
|
162
|
-
var mod = _this.injector.get('FileManagerToolbar');
|
163
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
164
|
-
_this.injectedModules.push(mod);
|
165
|
-
}
|
166
|
-
}
|
167
|
-
catch (_d) { }
|
168
|
-
try {
|
169
|
-
var mod = _this.injector.get('FileManagerContextMenu');
|
170
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
171
|
-
_this.injectedModules.push(mod);
|
172
|
-
}
|
173
|
-
}
|
174
|
-
catch (_e) { }
|
175
|
-
try {
|
176
|
-
var mod = _this.injector.get('FileManagerBreadCrumbBar');
|
177
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
178
|
-
_this.injectedModules.push(mod);
|
179
|
-
}
|
180
|
-
}
|
181
|
-
catch (_f) { }
|
182
|
-
try {
|
183
|
-
var mod = _this.injector.get('FileManagerVirtualization');
|
184
|
-
if (_this.injectedModules.indexOf(mod) === -1) {
|
185
|
-
_this.injectedModules.push(mod);
|
186
|
-
}
|
187
|
-
}
|
188
|
-
catch (_g) { }
|
189
|
-
_this.registerEvents(outputs$1);
|
190
|
-
_this.addTwoWay.call(_this, twoWays);
|
191
|
-
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
192
|
-
_this.context = new ej2AngularBase.ComponentBase();
|
193
|
-
return _this;
|
194
|
-
}
|
195
|
-
/**
|
196
|
-
* @return {?}
|
197
|
-
*/
|
198
|
-
FileManagerComponent.prototype.ngOnInit = function () {
|
199
|
-
this.context.ngOnInit(this);
|
200
|
-
};
|
201
|
-
/**
|
202
|
-
* @return {?}
|
203
|
-
*/
|
204
|
-
FileManagerComponent.prototype.ngAfterViewInit = function () {
|
205
|
-
this.context.ngAfterViewInit(this);
|
206
|
-
};
|
207
|
-
/**
|
208
|
-
* @return {?}
|
209
|
-
*/
|
210
|
-
FileManagerComponent.prototype.ngOnDestroy = function () {
|
211
|
-
this.context.ngOnDestroy(this);
|
212
|
-
};
|
213
|
-
/**
|
214
|
-
* @return {?}
|
215
|
-
*/
|
216
|
-
FileManagerComponent.prototype.ngAfterContentChecked = function () {
|
217
|
-
this.tagObjects[0].instance = this.childToolbarItems;
|
218
|
-
this.context.ngAfterContentChecked(this);
|
219
|
-
};
|
220
|
-
return FileManagerComponent;
|
221
|
-
}(ej2Filemanager.FileManager));
|
222
|
-
exports.FileManagerComponent.decorators = [
|
223
|
-
{ type: core.Component, args: [{
|
224
|
-
selector: 'ejs-filemanager',
|
225
|
-
inputs: inputs,
|
226
|
-
outputs: outputs$1,
|
227
|
-
template: '',
|
228
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
229
|
-
queries: {
|
230
|
-
childToolbarItems: new core.ContentChild(ToolbarItemsDirective)
|
231
|
-
}
|
232
|
-
},] },
|
233
|
-
];
|
234
|
-
/**
|
235
|
-
* @nocollapse
|
236
|
-
*/
|
237
|
-
exports.FileManagerComponent.ctorParameters = function () { return [
|
238
|
-
{ type: core.ElementRef, },
|
239
|
-
{ type: core.Renderer2, },
|
240
|
-
{ type: core.ViewContainerRef, },
|
241
|
-
{ type: core.Injector, },
|
242
|
-
]; };
|
243
|
-
exports.FileManagerComponent = __decorate$1([
|
244
|
-
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
245
|
-
__metadata$1("design:paramtypes", [core.ElementRef,
|
246
|
-
core.Renderer2,
|
247
|
-
core.ViewContainerRef,
|
248
|
-
core.Injector])
|
249
|
-
], exports.FileManagerComponent);
|
250
|
-
/**
|
251
|
-
* NgModule definition for the FileManager component.
|
252
|
-
*/
|
253
|
-
var FileManagerModule = /** @class */ (function () {
|
254
|
-
function FileManagerModule() {
|
255
|
-
}
|
256
|
-
return FileManagerModule;
|
257
|
-
}());
|
258
|
-
FileManagerModule.decorators = [
|
259
|
-
{ type: core.NgModule, args: [{
|
260
|
-
imports: [common.CommonModule],
|
261
|
-
declarations: [
|
262
|
-
exports.FileManagerComponent,
|
263
|
-
ToolbarItemDirective,
|
264
|
-
ToolbarItemsDirective
|
265
|
-
],
|
266
|
-
exports: [
|
267
|
-
exports.FileManagerComponent,
|
268
|
-
ToolbarItemDirective,
|
269
|
-
ToolbarItemsDirective
|
270
|
-
]
|
271
|
-
},] },
|
272
|
-
];
|
273
|
-
/**
|
274
|
-
* @nocollapse
|
275
|
-
*/
|
276
|
-
FileManagerModule.ctorParameters = function () { return []; };
|
277
|
-
var DetailsViewService = { provide: 'FileManagerDetailsView', useValue: ej2Filemanager.DetailsView };
|
278
|
-
var NavigationPaneService = { provide: 'FileManagerNavigationPane', useValue: ej2Filemanager.NavigationPane };
|
279
|
-
var LargeIconsViewService = { provide: 'FileManagerLargeIconsView', useValue: ej2Filemanager.LargeIconsView };
|
280
|
-
var ToolbarService = { provide: 'FileManagerToolbar', useValue: ej2Filemanager.Toolbar };
|
281
|
-
var ContextMenuService = { provide: 'FileManagerContextMenu', useValue: ej2Filemanager.ContextMenu };
|
282
|
-
var BreadCrumbBarService = { provide: 'FileManagerBreadCrumbBar', useValue: ej2Filemanager.BreadCrumbBar };
|
283
|
-
var VirtualizationService = { provide: 'FileManagerVirtualization', useValue: ej2Filemanager.Virtualization };
|
284
|
-
/**
|
285
|
-
* NgModule definition for the FileManager component with providers.
|
286
|
-
*/
|
287
|
-
var FileManagerAllModule = /** @class */ (function () {
|
288
|
-
function FileManagerAllModule() {
|
289
|
-
}
|
290
|
-
return FileManagerAllModule;
|
291
|
-
}());
|
292
|
-
FileManagerAllModule.decorators = [
|
293
|
-
{ type: core.NgModule, args: [{
|
294
|
-
imports: [common.CommonModule, FileManagerModule],
|
295
|
-
exports: [
|
296
|
-
FileManagerModule
|
297
|
-
],
|
298
|
-
providers: [
|
299
|
-
DetailsViewService,
|
300
|
-
NavigationPaneService,
|
301
|
-
LargeIconsViewService,
|
302
|
-
ToolbarService,
|
303
|
-
ContextMenuService,
|
304
|
-
BreadCrumbBarService,
|
305
|
-
VirtualizationService
|
306
|
-
]
|
307
|
-
},] },
|
308
|
-
];
|
309
|
-
/**
|
310
|
-
* @nocollapse
|
311
|
-
*/
|
16
|
+
var __extends = (this && this.__extends) || (function () {
|
17
|
+
var extendStatics = Object.setPrototypeOf ||
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
19
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
20
|
+
return function (d, b) {
|
21
|
+
extendStatics(d, b);
|
22
|
+
function __() { this.constructor = d; }
|
23
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
24
|
+
};
|
25
|
+
})();
|
26
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
27
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
28
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
29
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
30
|
+
else
|
31
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
32
|
+
if (d = decorators[i])
|
33
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
34
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
35
|
+
};
|
36
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
37
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
38
|
+
return Reflect.metadata(k, v);
|
39
|
+
};
|
40
|
+
var input = ['align', 'cssClass', 'disabled', 'htmlAttributes', 'id', 'name', 'overflow', 'prefixIcon', 'showAlwaysInPopup', 'showTextOn', 'suffixIcon', 'tabIndex', 'template', 'text', 'tooltipText', 'type', 'visible', 'width'];
|
41
|
+
var outputs = [];
|
42
|
+
var ToolbarItemDirective = /** @class */ (function (_super) {
|
43
|
+
__extends(ToolbarItemDirective, _super);
|
44
|
+
/**
|
45
|
+
* @param {?} viewContainerRef
|
46
|
+
*/
|
47
|
+
function ToolbarItemDirective(viewContainerRef) {
|
48
|
+
var _this = _super.call(this) || this;
|
49
|
+
_this.viewContainerRef = viewContainerRef;
|
50
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
51
|
+
_this.registerEvents(outputs);
|
52
|
+
_this.directivePropList = input;
|
53
|
+
return _this;
|
54
|
+
}
|
55
|
+
return ToolbarItemDirective;
|
56
|
+
}(ej2AngularBase.ComplexBase));
|
57
|
+
ToolbarItemDirective.decorators = [
|
58
|
+
{ type: core.Directive, args: [{
|
59
|
+
selector: 'e-toolbaritems>e-toolbaritem',
|
60
|
+
inputs: input,
|
61
|
+
outputs: outputs,
|
62
|
+
queries: {}
|
63
|
+
},] },
|
64
|
+
];
|
65
|
+
/**
|
66
|
+
* @nocollapse
|
67
|
+
*/
|
68
|
+
ToolbarItemDirective.ctorParameters = function () { return [
|
69
|
+
{ type: core.ViewContainerRef, },
|
70
|
+
]; };
|
71
|
+
ToolbarItemDirective.propDecorators = {
|
72
|
+
'template': [{ type: core.ContentChild, args: ['template',] },],
|
73
|
+
};
|
74
|
+
__decorate([
|
75
|
+
ej2AngularBase.Template(),
|
76
|
+
__metadata("design:type", Object)
|
77
|
+
], ToolbarItemDirective.prototype, "template", void 0);
|
78
|
+
/**
|
79
|
+
* ToolbarItem Array Directive
|
80
|
+
*/
|
81
|
+
var ToolbarItemsDirective = /** @class */ (function (_super) {
|
82
|
+
__extends(ToolbarItemsDirective, _super);
|
83
|
+
function ToolbarItemsDirective() {
|
84
|
+
return _super.call(this, 'toolbaritems') || this;
|
85
|
+
}
|
86
|
+
return ToolbarItemsDirective;
|
87
|
+
}(ej2AngularBase.ArrayBase));
|
88
|
+
ToolbarItemsDirective.decorators = [
|
89
|
+
{ type: core.Directive, args: [{
|
90
|
+
selector: 'ejs-filemanager>e-toolbaritems',
|
91
|
+
queries: {
|
92
|
+
children: new core.ContentChildren(ToolbarItemDirective)
|
93
|
+
},
|
94
|
+
},] },
|
95
|
+
];
|
96
|
+
/**
|
97
|
+
* @nocollapse
|
98
|
+
*/
|
99
|
+
ToolbarItemsDirective.ctorParameters = function () { return []; };
|
100
|
+
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
101
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
102
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
103
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
104
|
+
else
|
105
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
106
|
+
if (d = decorators[i])
|
107
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
108
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
109
|
+
};
|
110
|
+
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
111
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
112
|
+
return Reflect.metadata(k, v);
|
113
|
+
};
|
114
|
+
var inputs = ['ajaxSettings', 'allowDragAndDrop', 'allowMultiSelection', 'contextMenuSettings', 'cssClass', 'detailsViewSettings', 'enableHtmlSanitizer', 'enablePersistence', 'enableRangeSelection', 'enableRtl', 'enableVirtualization', 'fileSystemData', 'height', 'locale', 'navigationPaneSettings', 'path', 'popupTarget', 'rootAliasName', 'searchSettings', 'selectedItems', 'showFileExtension', 'showHiddenItems', 'showItemCheckBoxes', 'showThumbnail', 'sortBy', 'sortComparer', 'sortOrder', 'toolbarItems', 'toolbarSettings', 'uploadSettings', 'view', 'width'];
|
115
|
+
var outputs$1 = ['beforeDelete', 'beforeDownload', 'beforeFolderCreate', 'beforeImageLoad', 'beforeMove', 'beforePopupClose', 'beforePopupOpen', 'beforeRename', 'beforeSend', 'created', 'delete', 'destroyed', 'failure', 'fileDragStart', 'fileDragStop', 'fileDragging', 'fileDropped', 'fileLoad', 'fileOpen', 'fileSelect', 'fileSelection', 'folderCreate', 'menuClick', 'menuClose', 'menuOpen', 'move', 'popupClose', 'popupOpen', 'rename', 'search', 'success', 'toolbarClick', 'toolbarCreate', 'uploadListCreate'];
|
116
|
+
var twoWays = [''];
|
117
|
+
/**
|
118
|
+
* Represents the Essential JS 2 Angular FileManager Component.
|
119
|
+
* ```html
|
120
|
+
* <ejs-filemanager showThumbnail='false'></ejs-filemanager>
|
121
|
+
* ```
|
122
|
+
*/
|
123
|
+
exports.FileManagerComponent = /** @class */ (function (_super) {
|
124
|
+
__extends(FileManagerComponent, _super);
|
125
|
+
/**
|
126
|
+
* @param {?} ngEle
|
127
|
+
* @param {?} srenderer
|
128
|
+
* @param {?} viewContainerRef
|
129
|
+
* @param {?} injector
|
130
|
+
*/
|
131
|
+
function FileManagerComponent(ngEle, srenderer, viewContainerRef, injector) {
|
132
|
+
var _this = _super.call(this) || this;
|
133
|
+
_this.ngEle = ngEle;
|
134
|
+
_this.srenderer = srenderer;
|
135
|
+
_this.viewContainerRef = viewContainerRef;
|
136
|
+
_this.injector = injector;
|
137
|
+
_this.tags = ['toolbarItems'];
|
138
|
+
_this.element = _this.ngEle.nativeElement;
|
139
|
+
_this.injectedModules = _this.injectedModules || [];
|
140
|
+
try {
|
141
|
+
var mod = _this.injector.get('FileManagerDetailsView');
|
142
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
143
|
+
_this.injectedModules.push(mod);
|
144
|
+
}
|
145
|
+
}
|
146
|
+
catch (_a) { }
|
147
|
+
try {
|
148
|
+
var mod = _this.injector.get('FileManagerNavigationPane');
|
149
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
150
|
+
_this.injectedModules.push(mod);
|
151
|
+
}
|
152
|
+
}
|
153
|
+
catch (_b) { }
|
154
|
+
try {
|
155
|
+
var mod = _this.injector.get('FileManagerLargeIconsView');
|
156
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
157
|
+
_this.injectedModules.push(mod);
|
158
|
+
}
|
159
|
+
}
|
160
|
+
catch (_c) { }
|
161
|
+
try {
|
162
|
+
var mod = _this.injector.get('FileManagerToolbar');
|
163
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
164
|
+
_this.injectedModules.push(mod);
|
165
|
+
}
|
166
|
+
}
|
167
|
+
catch (_d) { }
|
168
|
+
try {
|
169
|
+
var mod = _this.injector.get('FileManagerContextMenu');
|
170
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
171
|
+
_this.injectedModules.push(mod);
|
172
|
+
}
|
173
|
+
}
|
174
|
+
catch (_e) { }
|
175
|
+
try {
|
176
|
+
var mod = _this.injector.get('FileManagerBreadCrumbBar');
|
177
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
178
|
+
_this.injectedModules.push(mod);
|
179
|
+
}
|
180
|
+
}
|
181
|
+
catch (_f) { }
|
182
|
+
try {
|
183
|
+
var mod = _this.injector.get('FileManagerVirtualization');
|
184
|
+
if (_this.injectedModules.indexOf(mod) === -1) {
|
185
|
+
_this.injectedModules.push(mod);
|
186
|
+
}
|
187
|
+
}
|
188
|
+
catch (_g) { }
|
189
|
+
_this.registerEvents(outputs$1);
|
190
|
+
_this.addTwoWay.call(_this, twoWays);
|
191
|
+
ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
|
192
|
+
_this.context = new ej2AngularBase.ComponentBase();
|
193
|
+
return _this;
|
194
|
+
}
|
195
|
+
/**
|
196
|
+
* @return {?}
|
197
|
+
*/
|
198
|
+
FileManagerComponent.prototype.ngOnInit = function () {
|
199
|
+
this.context.ngOnInit(this);
|
200
|
+
};
|
201
|
+
/**
|
202
|
+
* @return {?}
|
203
|
+
*/
|
204
|
+
FileManagerComponent.prototype.ngAfterViewInit = function () {
|
205
|
+
this.context.ngAfterViewInit(this);
|
206
|
+
};
|
207
|
+
/**
|
208
|
+
* @return {?}
|
209
|
+
*/
|
210
|
+
FileManagerComponent.prototype.ngOnDestroy = function () {
|
211
|
+
this.context.ngOnDestroy(this);
|
212
|
+
};
|
213
|
+
/**
|
214
|
+
* @return {?}
|
215
|
+
*/
|
216
|
+
FileManagerComponent.prototype.ngAfterContentChecked = function () {
|
217
|
+
this.tagObjects[0].instance = this.childToolbarItems;
|
218
|
+
this.context.ngAfterContentChecked(this);
|
219
|
+
};
|
220
|
+
return FileManagerComponent;
|
221
|
+
}(ej2Filemanager.FileManager));
|
222
|
+
exports.FileManagerComponent.decorators = [
|
223
|
+
{ type: core.Component, args: [{
|
224
|
+
selector: 'ejs-filemanager',
|
225
|
+
inputs: inputs,
|
226
|
+
outputs: outputs$1,
|
227
|
+
template: '',
|
228
|
+
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
229
|
+
queries: {
|
230
|
+
childToolbarItems: new core.ContentChild(ToolbarItemsDirective)
|
231
|
+
}
|
232
|
+
},] },
|
233
|
+
];
|
234
|
+
/**
|
235
|
+
* @nocollapse
|
236
|
+
*/
|
237
|
+
exports.FileManagerComponent.ctorParameters = function () { return [
|
238
|
+
{ type: core.ElementRef, },
|
239
|
+
{ type: core.Renderer2, },
|
240
|
+
{ type: core.ViewContainerRef, },
|
241
|
+
{ type: core.Injector, },
|
242
|
+
]; };
|
243
|
+
exports.FileManagerComponent = __decorate$1([
|
244
|
+
ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
|
245
|
+
__metadata$1("design:paramtypes", [core.ElementRef,
|
246
|
+
core.Renderer2,
|
247
|
+
core.ViewContainerRef,
|
248
|
+
core.Injector])
|
249
|
+
], exports.FileManagerComponent);
|
250
|
+
/**
|
251
|
+
* NgModule definition for the FileManager component.
|
252
|
+
*/
|
253
|
+
var FileManagerModule = /** @class */ (function () {
|
254
|
+
function FileManagerModule() {
|
255
|
+
}
|
256
|
+
return FileManagerModule;
|
257
|
+
}());
|
258
|
+
FileManagerModule.decorators = [
|
259
|
+
{ type: core.NgModule, args: [{
|
260
|
+
imports: [common.CommonModule],
|
261
|
+
declarations: [
|
262
|
+
exports.FileManagerComponent,
|
263
|
+
ToolbarItemDirective,
|
264
|
+
ToolbarItemsDirective
|
265
|
+
],
|
266
|
+
exports: [
|
267
|
+
exports.FileManagerComponent,
|
268
|
+
ToolbarItemDirective,
|
269
|
+
ToolbarItemsDirective
|
270
|
+
]
|
271
|
+
},] },
|
272
|
+
];
|
273
|
+
/**
|
274
|
+
* @nocollapse
|
275
|
+
*/
|
276
|
+
FileManagerModule.ctorParameters = function () { return []; };
|
277
|
+
var DetailsViewService = { provide: 'FileManagerDetailsView', useValue: ej2Filemanager.DetailsView };
|
278
|
+
var NavigationPaneService = { provide: 'FileManagerNavigationPane', useValue: ej2Filemanager.NavigationPane };
|
279
|
+
var LargeIconsViewService = { provide: 'FileManagerLargeIconsView', useValue: ej2Filemanager.LargeIconsView };
|
280
|
+
var ToolbarService = { provide: 'FileManagerToolbar', useValue: ej2Filemanager.Toolbar };
|
281
|
+
var ContextMenuService = { provide: 'FileManagerContextMenu', useValue: ej2Filemanager.ContextMenu };
|
282
|
+
var BreadCrumbBarService = { provide: 'FileManagerBreadCrumbBar', useValue: ej2Filemanager.BreadCrumbBar };
|
283
|
+
var VirtualizationService = { provide: 'FileManagerVirtualization', useValue: ej2Filemanager.Virtualization };
|
284
|
+
/**
|
285
|
+
* NgModule definition for the FileManager component with providers.
|
286
|
+
*/
|
287
|
+
var FileManagerAllModule = /** @class */ (function () {
|
288
|
+
function FileManagerAllModule() {
|
289
|
+
}
|
290
|
+
return FileManagerAllModule;
|
291
|
+
}());
|
292
|
+
FileManagerAllModule.decorators = [
|
293
|
+
{ type: core.NgModule, args: [{
|
294
|
+
imports: [common.CommonModule, FileManagerModule],
|
295
|
+
exports: [
|
296
|
+
FileManagerModule
|
297
|
+
],
|
298
|
+
providers: [
|
299
|
+
DetailsViewService,
|
300
|
+
NavigationPaneService,
|
301
|
+
LargeIconsViewService,
|
302
|
+
ToolbarService,
|
303
|
+
ContextMenuService,
|
304
|
+
BreadCrumbBarService,
|
305
|
+
VirtualizationService
|
306
|
+
]
|
307
|
+
},] },
|
308
|
+
];
|
309
|
+
/**
|
310
|
+
* @nocollapse
|
311
|
+
*/
|
312
312
|
FileManagerAllModule.ctorParameters = function () { return []; };
|
313
313
|
|
314
314
|
exports.ToolbarItemDirective = ToolbarItemDirective;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* filename: ej2-angular-filemanager.umd.min.js
|
3
|
-
* version : 30.1.
|
3
|
+
* version : 30.1.38
|
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
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
5
|
-
export { inputs as ɵa, outputs as ɵb } from './src/file-manager/filemanager.component';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
export { inputs as ɵa, outputs as ɵb } from './src/file-manager/filemanager.component';
|
package/{LICENSE → license}
RENAMED
@@ -1,10 +1,10 @@
|
|
1
|
-
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
2
|
-
|
3
|
-
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
4
|
-
|
5
|
-
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
6
|
-
|
7
|
-
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
8
|
-
|
9
|
-
The Syncfusion license that contains the terms and conditions can be found at
|
10
|
-
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|
1
|
+
Essential JS 2 library is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license.
|
2
|
+
|
3
|
+
To be qualified for the Syncfusion Community License Program you must have a gross revenue of less than one (1) million U.S. dollars ($1,000,000.00 USD) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion’s terms and conditions.
|
4
|
+
|
5
|
+
Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options.
|
6
|
+
|
7
|
+
Under no circumstances can you use this product without (1) either a Community License or a commercial license and (2) without agreeing and abiding by Syncfusion’s license containing all terms and conditions.
|
8
|
+
|
9
|
+
The Syncfusion license that contains the terms and conditions can be found at
|
10
|
+
https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
|