@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.
@@ -1,307 +1,307 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = Object.setPrototypeOf ||
3
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
- return function (d, b) {
6
- extendStatics(d, b);
7
- function __() { this.constructor = d; }
8
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
- };
10
- })();
11
- import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
- import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
- import { BreadCrumbBar, ContextMenu, DetailsView, FileManager, LargeIconsView, NavigationPane, Toolbar, Virtualization } from '@syncfusion/ej2-filemanager';
14
- import { CommonModule } from '@angular/common';
15
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
16
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
- r = Reflect.decorate(decorators, target, key, desc);
19
- else
20
- for (var i = decorators.length - 1; i >= 0; i--)
21
- if (d = decorators[i])
22
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
- return c > 3 && r && Object.defineProperty(target, key, r), r;
24
- };
25
- var __metadata = (this && this.__metadata) || function (k, v) {
26
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
27
- return Reflect.metadata(k, v);
28
- };
29
- var input = ['align', 'cssClass', 'disabled', 'htmlAttributes', 'id', 'name', 'overflow', 'prefixIcon', 'showAlwaysInPopup', 'showTextOn', 'suffixIcon', 'tabIndex', 'template', 'text', 'tooltipText', 'type', 'visible', 'width'];
30
- var outputs = [];
31
- var ToolbarItemDirective = /** @class */ (function (_super) {
32
- __extends(ToolbarItemDirective, _super);
33
- /**
34
- * @param {?} viewContainerRef
35
- */
36
- function ToolbarItemDirective(viewContainerRef) {
37
- var _this = _super.call(this) || this;
38
- _this.viewContainerRef = viewContainerRef;
39
- setValue('currentInstance', _this, _this.viewContainerRef);
40
- _this.registerEvents(outputs);
41
- _this.directivePropList = input;
42
- return _this;
43
- }
44
- return ToolbarItemDirective;
45
- }(ComplexBase));
46
- ToolbarItemDirective.decorators = [
47
- { type: Directive, args: [{
48
- selector: 'e-toolbaritems>e-toolbaritem',
49
- inputs: input,
50
- outputs: outputs,
51
- queries: {}
52
- },] },
53
- ];
54
- /**
55
- * @nocollapse
56
- */
57
- ToolbarItemDirective.ctorParameters = function () { return [
58
- { type: ViewContainerRef, },
59
- ]; };
60
- ToolbarItemDirective.propDecorators = {
61
- 'template': [{ type: ContentChild, args: ['template',] },],
62
- };
63
- __decorate([
64
- Template(),
65
- __metadata("design:type", Object)
66
- ], ToolbarItemDirective.prototype, "template", void 0);
67
- /**
68
- * ToolbarItem Array Directive
69
- */
70
- var ToolbarItemsDirective = /** @class */ (function (_super) {
71
- __extends(ToolbarItemsDirective, _super);
72
- function ToolbarItemsDirective() {
73
- return _super.call(this, 'toolbaritems') || this;
74
- }
75
- return ToolbarItemsDirective;
76
- }(ArrayBase));
77
- ToolbarItemsDirective.decorators = [
78
- { type: Directive, args: [{
79
- selector: 'ejs-filemanager>e-toolbaritems',
80
- queries: {
81
- children: new ContentChildren(ToolbarItemDirective)
82
- },
83
- },] },
84
- ];
85
- /**
86
- * @nocollapse
87
- */
88
- ToolbarItemsDirective.ctorParameters = function () { return []; };
89
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
90
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
92
- r = Reflect.decorate(decorators, target, key, desc);
93
- else
94
- for (var i = decorators.length - 1; i >= 0; i--)
95
- if (d = decorators[i])
96
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
97
- return c > 3 && r && Object.defineProperty(target, key, r), r;
98
- };
99
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
100
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
101
- return Reflect.metadata(k, v);
102
- };
103
- 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'];
104
- 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'];
105
- var twoWays = [''];
106
- /**
107
- * Represents the Essential JS 2 Angular FileManager Component.
108
- * ```html
109
- * <ejs-filemanager showThumbnail='false'></ejs-filemanager>
110
- * ```
111
- */
112
- var FileManagerComponent = /** @class */ (function (_super) {
113
- __extends(FileManagerComponent, _super);
114
- /**
115
- * @param {?} ngEle
116
- * @param {?} srenderer
117
- * @param {?} viewContainerRef
118
- * @param {?} injector
119
- */
120
- function FileManagerComponent(ngEle, srenderer, viewContainerRef, injector) {
121
- var _this = _super.call(this) || this;
122
- _this.ngEle = ngEle;
123
- _this.srenderer = srenderer;
124
- _this.viewContainerRef = viewContainerRef;
125
- _this.injector = injector;
126
- _this.tags = ['toolbarItems'];
127
- _this.element = _this.ngEle.nativeElement;
128
- _this.injectedModules = _this.injectedModules || [];
129
- try {
130
- var mod = _this.injector.get('FileManagerDetailsView');
131
- if (_this.injectedModules.indexOf(mod) === -1) {
132
- _this.injectedModules.push(mod);
133
- }
134
- }
135
- catch (_a) { }
136
- try {
137
- var mod = _this.injector.get('FileManagerNavigationPane');
138
- if (_this.injectedModules.indexOf(mod) === -1) {
139
- _this.injectedModules.push(mod);
140
- }
141
- }
142
- catch (_b) { }
143
- try {
144
- var mod = _this.injector.get('FileManagerLargeIconsView');
145
- if (_this.injectedModules.indexOf(mod) === -1) {
146
- _this.injectedModules.push(mod);
147
- }
148
- }
149
- catch (_c) { }
150
- try {
151
- var mod = _this.injector.get('FileManagerToolbar');
152
- if (_this.injectedModules.indexOf(mod) === -1) {
153
- _this.injectedModules.push(mod);
154
- }
155
- }
156
- catch (_d) { }
157
- try {
158
- var mod = _this.injector.get('FileManagerContextMenu');
159
- if (_this.injectedModules.indexOf(mod) === -1) {
160
- _this.injectedModules.push(mod);
161
- }
162
- }
163
- catch (_e) { }
164
- try {
165
- var mod = _this.injector.get('FileManagerBreadCrumbBar');
166
- if (_this.injectedModules.indexOf(mod) === -1) {
167
- _this.injectedModules.push(mod);
168
- }
169
- }
170
- catch (_f) { }
171
- try {
172
- var mod = _this.injector.get('FileManagerVirtualization');
173
- if (_this.injectedModules.indexOf(mod) === -1) {
174
- _this.injectedModules.push(mod);
175
- }
176
- }
177
- catch (_g) { }
178
- _this.registerEvents(outputs$1);
179
- _this.addTwoWay.call(_this, twoWays);
180
- setValue('currentInstance', _this, _this.viewContainerRef);
181
- _this.context = new ComponentBase();
182
- return _this;
183
- }
184
- /**
185
- * @return {?}
186
- */
187
- FileManagerComponent.prototype.ngOnInit = function () {
188
- this.context.ngOnInit(this);
189
- };
190
- /**
191
- * @return {?}
192
- */
193
- FileManagerComponent.prototype.ngAfterViewInit = function () {
194
- this.context.ngAfterViewInit(this);
195
- };
196
- /**
197
- * @return {?}
198
- */
199
- FileManagerComponent.prototype.ngOnDestroy = function () {
200
- this.context.ngOnDestroy(this);
201
- };
202
- /**
203
- * @return {?}
204
- */
205
- FileManagerComponent.prototype.ngAfterContentChecked = function () {
206
- this.tagObjects[0].instance = this.childToolbarItems;
207
- this.context.ngAfterContentChecked(this);
208
- };
209
- return FileManagerComponent;
210
- }(FileManager));
211
- FileManagerComponent.decorators = [
212
- { type: Component, args: [{
213
- selector: 'ejs-filemanager',
214
- inputs: inputs,
215
- outputs: outputs$1,
216
- template: '',
217
- changeDetection: ChangeDetectionStrategy.OnPush,
218
- queries: {
219
- childToolbarItems: new ContentChild(ToolbarItemsDirective)
220
- }
221
- },] },
222
- ];
223
- /**
224
- * @nocollapse
225
- */
226
- FileManagerComponent.ctorParameters = function () { return [
227
- { type: ElementRef, },
228
- { type: Renderer2, },
229
- { type: ViewContainerRef, },
230
- { type: Injector, },
231
- ]; };
232
- FileManagerComponent = __decorate$1([
233
- ComponentMixins([ComponentBase]),
234
- __metadata$1("design:paramtypes", [ElementRef,
235
- Renderer2,
236
- ViewContainerRef,
237
- Injector])
238
- ], FileManagerComponent);
239
- /**
240
- * NgModule definition for the FileManager component.
241
- */
242
- var FileManagerModule = /** @class */ (function () {
243
- function FileManagerModule() {
244
- }
245
- return FileManagerModule;
246
- }());
247
- FileManagerModule.decorators = [
248
- { type: NgModule, args: [{
249
- imports: [CommonModule],
250
- declarations: [
251
- FileManagerComponent,
252
- ToolbarItemDirective,
253
- ToolbarItemsDirective
254
- ],
255
- exports: [
256
- FileManagerComponent,
257
- ToolbarItemDirective,
258
- ToolbarItemsDirective
259
- ]
260
- },] },
261
- ];
262
- /**
263
- * @nocollapse
264
- */
265
- FileManagerModule.ctorParameters = function () { return []; };
266
- var DetailsViewService = { provide: 'FileManagerDetailsView', useValue: DetailsView };
267
- var NavigationPaneService = { provide: 'FileManagerNavigationPane', useValue: NavigationPane };
268
- var LargeIconsViewService = { provide: 'FileManagerLargeIconsView', useValue: LargeIconsView };
269
- var ToolbarService = { provide: 'FileManagerToolbar', useValue: Toolbar };
270
- var ContextMenuService = { provide: 'FileManagerContextMenu', useValue: ContextMenu };
271
- var BreadCrumbBarService = { provide: 'FileManagerBreadCrumbBar', useValue: BreadCrumbBar };
272
- var VirtualizationService = { provide: 'FileManagerVirtualization', useValue: Virtualization };
273
- /**
274
- * NgModule definition for the FileManager component with providers.
275
- */
276
- var FileManagerAllModule = /** @class */ (function () {
277
- function FileManagerAllModule() {
278
- }
279
- return FileManagerAllModule;
280
- }());
281
- FileManagerAllModule.decorators = [
282
- { type: NgModule, args: [{
283
- imports: [CommonModule, FileManagerModule],
284
- exports: [
285
- FileManagerModule
286
- ],
287
- providers: [
288
- DetailsViewService,
289
- NavigationPaneService,
290
- LargeIconsViewService,
291
- ToolbarService,
292
- ContextMenuService,
293
- BreadCrumbBarService,
294
- VirtualizationService
295
- ]
296
- },] },
297
- ];
298
- /**
299
- * @nocollapse
300
- */
301
- FileManagerAllModule.ctorParameters = function () { return []; };
302
- /**
303
- * Generated bundle index. Do not edit.
304
- */
305
- export { ToolbarItemDirective, ToolbarItemsDirective, FileManagerComponent, FileManagerModule, FileManagerAllModule, DetailsViewService, NavigationPaneService, LargeIconsViewService, ToolbarService, ContextMenuService, BreadCrumbBarService, VirtualizationService, inputs as ɵa, outputs$1 as ɵb };
306
- export { AjaxSettings, defaultToolbarItems, ToolbarSettings, ToolbarItem, SearchSettings, columnArray, DetailsViewSettings, fileItems, folderItems, layoutItems, ContextMenuSettings, NavigationPaneSettings, UploadSettings, Column, TOOLBAR_ID, LAYOUT_ID, NAVIGATION_ID, TREE_ID, GRID_ID, LARGEICON_ID, DIALOG_ID, ALT_DIALOG_ID, IMG_DIALOG_ID, EXTN_DIALOG_ID, UPLOAD_DIALOG_ID, RETRY_DIALOG_ID, CONTEXT_MENU_ID, SORTBY_ID, VIEW_ID, SPLITTER_ID, CONTENT_ID, BREADCRUMBBAR_ID, UPLOAD_ID, RETRY_ID, SEARCH_ID, ROOT, CONTROL, CHECK_SELECT, ROOT_POPUP, MOBILE, MOB_POPUP, MULTI_SELECT, FILTER, LAYOUT, NAVIGATION, LAYOUT_CONTENT, LARGE_ICONS, TB_ITEM, LIST_ITEM, LIST_TEXT, LIST_PARENT, TB_OPTION_TICK, TB_OPTION_DOT, BLUR, ACTIVE, HOVER, FOCUS, FOCUSED, CHECK, FRAME, CB_WRAP, ROW, ROWCELL, EMPTY, EMPTY_CONTENT, EMPTY_INNER_CONTENT, CLONE, DROP_FOLDER, DROP_FILE, FOLDER, ICON_IMAGE, ICON_MUSIC, ICON_VIDEO, LARGE_ICON, LARGE_EMPTY_FOLDER, LARGE_EMPTY_FOLDER_TWO, LARGE_ICON_FOLDER, SELECTED_ITEMS, TEXT_CONTENT, GRID_HEADER, TEMPLATE_CELL, TREE_VIEW, MENU_ITEM, MENU_ICON, SUBMENU_ICON, GRID_VIEW, GRID_CONTENT, ICON_VIEW, ICON_OPEN, ICON_UPLOAD, ICON_CUT, ICON_COPY, ICON_PASTE, ICON_DELETE, ICON_RENAME, ICON_NEWFOLDER, ICON_DETAILS, ICON_SHORTBY, ICON_REFRESH, ICON_SELECTALL, ICON_DOWNLOAD, ICON_OPTIONS, ICON_GRID, ICON_LARGE, ICON_BREADCRUMB, ICON_CLEAR, ICON_DROP_IN, ICON_DROP_OUT, ICON_NO_DROP, ICONS, DETAILS_LABEL, ERROR_CONTENT, STATUS, BREADCRUMBS, RTL, DISPLAY_NONE, COLLAPSED, FULLROW, ICON_COLLAPSIBLE, SPLIT_BAR, HEADER_CHECK, OVERLAY, VALUE, isFile, modelChanged, initialEnd, finalizeEnd, createEnd, filterEnd, beforeDelete, pathDrag, deleteInit, deleteEnd, refreshEnd, resizeEnd, splitterResize, pathChanged, destroy, beforeRequest, upload, skipUpload, afterRequest, download, layoutRefresh, actionFailure, search, openInit, openEnd, selectionChanged, selectAllInit, clearAllInit, clearPathInit, layoutChange, sortByChange, nodeExpand, detailsInit, menuItemData, renameInit, renameEndParent, renameEnd, showPaste, hidePaste, selectedData, cutCopyInit, pasteInit, pasteEnd, cutEnd, hideLayout, updateTreeSelection, treeSelect, sortColumn, pathColumn, searchTextChange, beforeDownload, downloadInit, dropInit, dragEnd, dropPath, dragHelper, dragging, updateSelectionData, methodCall, permissionRead, permissionEdit, permissionEditContents, permissionCopy, permissionUpload, permissionDownload, FileManager, Toolbar, BreadCrumbBar, Virtualization, NavigationPane, DetailsView, LargeIconsView, createDialog, createExtDialog, createImageDialog, ContextMenu, read, createFolder, filter, rename, paste, Delete, GetDetails, isFileSystemData, Search, Download, triggerFetchSuccess, triggerFetchFailure, sortComparer, updatePath, getPath, getPathId, getPathNames, getParents, generatePath, removeActive, activeElement, addBlur, removeBlur, getModule, getAllChildItems, searchWordHandler, updateLayout, getTargetModule, refresh, openAction, getPathObject, copyFiles, cutFiles, fileType, getImageUrl, getFullPath, getName, getSortedData, getObject, createEmptyElement, getDirectories, setNodeId, setDateObject, getLocaleText, getCssClass, sortbyClickHandler, getSortField, setNextPath, openSearchFolder, pasteHandler, validateSubFolder, dropHandler, getParentPath, getDirectoryPath, doPasteUpdate, readDropPath, getDuplicateData, createVirtualDragElement, dragStopHandler, dragStartHandler, dragCancel, removeDropTarget, removeItemClass, scrollHandler, draggingHandler, objectToString, getItemName, updateRenamingData, doRename, doDownload, doDeleteFiles, doDownloadFiles, createDeniedDialog, getAccessClass, hasReadAccess, hasEditAccess, hasContentAccess, hasUploadAccess, hasDownloadAccess, createNewFolder, uploadItem, closePopup, getTargetPath, getAccessDetails } from '@syncfusion/ej2-filemanager';
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = Object.setPrototypeOf ||
3
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
+ return function (d, b) {
6
+ extendStatics(d, b);
7
+ function __() { this.constructor = d; }
8
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
+ };
10
+ })();
11
+ import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
+ import { BreadCrumbBar, ContextMenu, DetailsView, FileManager, LargeIconsView, NavigationPane, Toolbar, Virtualization } from '@syncfusion/ej2-filemanager';
14
+ import { CommonModule } from '@angular/common';
15
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
16
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
17
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
18
+ r = Reflect.decorate(decorators, target, key, desc);
19
+ else
20
+ for (var i = decorators.length - 1; i >= 0; i--)
21
+ if (d = decorators[i])
22
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
23
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
24
+ };
25
+ var __metadata = (this && this.__metadata) || function (k, v) {
26
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
27
+ return Reflect.metadata(k, v);
28
+ };
29
+ var input = ['align', 'cssClass', 'disabled', 'htmlAttributes', 'id', 'name', 'overflow', 'prefixIcon', 'showAlwaysInPopup', 'showTextOn', 'suffixIcon', 'tabIndex', 'template', 'text', 'tooltipText', 'type', 'visible', 'width'];
30
+ var outputs = [];
31
+ var ToolbarItemDirective = /** @class */ (function (_super) {
32
+ __extends(ToolbarItemDirective, _super);
33
+ /**
34
+ * @param {?} viewContainerRef
35
+ */
36
+ function ToolbarItemDirective(viewContainerRef) {
37
+ var _this = _super.call(this) || this;
38
+ _this.viewContainerRef = viewContainerRef;
39
+ setValue('currentInstance', _this, _this.viewContainerRef);
40
+ _this.registerEvents(outputs);
41
+ _this.directivePropList = input;
42
+ return _this;
43
+ }
44
+ return ToolbarItemDirective;
45
+ }(ComplexBase));
46
+ ToolbarItemDirective.decorators = [
47
+ { type: Directive, args: [{
48
+ selector: 'e-toolbaritems>e-toolbaritem',
49
+ inputs: input,
50
+ outputs: outputs,
51
+ queries: {}
52
+ },] },
53
+ ];
54
+ /**
55
+ * @nocollapse
56
+ */
57
+ ToolbarItemDirective.ctorParameters = function () { return [
58
+ { type: ViewContainerRef, },
59
+ ]; };
60
+ ToolbarItemDirective.propDecorators = {
61
+ 'template': [{ type: ContentChild, args: ['template',] },],
62
+ };
63
+ __decorate([
64
+ Template(),
65
+ __metadata("design:type", Object)
66
+ ], ToolbarItemDirective.prototype, "template", void 0);
67
+ /**
68
+ * ToolbarItem Array Directive
69
+ */
70
+ var ToolbarItemsDirective = /** @class */ (function (_super) {
71
+ __extends(ToolbarItemsDirective, _super);
72
+ function ToolbarItemsDirective() {
73
+ return _super.call(this, 'toolbaritems') || this;
74
+ }
75
+ return ToolbarItemsDirective;
76
+ }(ArrayBase));
77
+ ToolbarItemsDirective.decorators = [
78
+ { type: Directive, args: [{
79
+ selector: 'ejs-filemanager>e-toolbaritems',
80
+ queries: {
81
+ children: new ContentChildren(ToolbarItemDirective)
82
+ },
83
+ },] },
84
+ ];
85
+ /**
86
+ * @nocollapse
87
+ */
88
+ ToolbarItemsDirective.ctorParameters = function () { return []; };
89
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
90
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
92
+ r = Reflect.decorate(decorators, target, key, desc);
93
+ else
94
+ for (var i = decorators.length - 1; i >= 0; i--)
95
+ if (d = decorators[i])
96
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
97
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
98
+ };
99
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
100
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
101
+ return Reflect.metadata(k, v);
102
+ };
103
+ 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'];
104
+ 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'];
105
+ var twoWays = [''];
106
+ /**
107
+ * Represents the Essential JS 2 Angular FileManager Component.
108
+ * ```html
109
+ * <ejs-filemanager showThumbnail='false'></ejs-filemanager>
110
+ * ```
111
+ */
112
+ var FileManagerComponent = /** @class */ (function (_super) {
113
+ __extends(FileManagerComponent, _super);
114
+ /**
115
+ * @param {?} ngEle
116
+ * @param {?} srenderer
117
+ * @param {?} viewContainerRef
118
+ * @param {?} injector
119
+ */
120
+ function FileManagerComponent(ngEle, srenderer, viewContainerRef, injector) {
121
+ var _this = _super.call(this) || this;
122
+ _this.ngEle = ngEle;
123
+ _this.srenderer = srenderer;
124
+ _this.viewContainerRef = viewContainerRef;
125
+ _this.injector = injector;
126
+ _this.tags = ['toolbarItems'];
127
+ _this.element = _this.ngEle.nativeElement;
128
+ _this.injectedModules = _this.injectedModules || [];
129
+ try {
130
+ var mod = _this.injector.get('FileManagerDetailsView');
131
+ if (_this.injectedModules.indexOf(mod) === -1) {
132
+ _this.injectedModules.push(mod);
133
+ }
134
+ }
135
+ catch (_a) { }
136
+ try {
137
+ var mod = _this.injector.get('FileManagerNavigationPane');
138
+ if (_this.injectedModules.indexOf(mod) === -1) {
139
+ _this.injectedModules.push(mod);
140
+ }
141
+ }
142
+ catch (_b) { }
143
+ try {
144
+ var mod = _this.injector.get('FileManagerLargeIconsView');
145
+ if (_this.injectedModules.indexOf(mod) === -1) {
146
+ _this.injectedModules.push(mod);
147
+ }
148
+ }
149
+ catch (_c) { }
150
+ try {
151
+ var mod = _this.injector.get('FileManagerToolbar');
152
+ if (_this.injectedModules.indexOf(mod) === -1) {
153
+ _this.injectedModules.push(mod);
154
+ }
155
+ }
156
+ catch (_d) { }
157
+ try {
158
+ var mod = _this.injector.get('FileManagerContextMenu');
159
+ if (_this.injectedModules.indexOf(mod) === -1) {
160
+ _this.injectedModules.push(mod);
161
+ }
162
+ }
163
+ catch (_e) { }
164
+ try {
165
+ var mod = _this.injector.get('FileManagerBreadCrumbBar');
166
+ if (_this.injectedModules.indexOf(mod) === -1) {
167
+ _this.injectedModules.push(mod);
168
+ }
169
+ }
170
+ catch (_f) { }
171
+ try {
172
+ var mod = _this.injector.get('FileManagerVirtualization');
173
+ if (_this.injectedModules.indexOf(mod) === -1) {
174
+ _this.injectedModules.push(mod);
175
+ }
176
+ }
177
+ catch (_g) { }
178
+ _this.registerEvents(outputs$1);
179
+ _this.addTwoWay.call(_this, twoWays);
180
+ setValue('currentInstance', _this, _this.viewContainerRef);
181
+ _this.context = new ComponentBase();
182
+ return _this;
183
+ }
184
+ /**
185
+ * @return {?}
186
+ */
187
+ FileManagerComponent.prototype.ngOnInit = function () {
188
+ this.context.ngOnInit(this);
189
+ };
190
+ /**
191
+ * @return {?}
192
+ */
193
+ FileManagerComponent.prototype.ngAfterViewInit = function () {
194
+ this.context.ngAfterViewInit(this);
195
+ };
196
+ /**
197
+ * @return {?}
198
+ */
199
+ FileManagerComponent.prototype.ngOnDestroy = function () {
200
+ this.context.ngOnDestroy(this);
201
+ };
202
+ /**
203
+ * @return {?}
204
+ */
205
+ FileManagerComponent.prototype.ngAfterContentChecked = function () {
206
+ this.tagObjects[0].instance = this.childToolbarItems;
207
+ this.context.ngAfterContentChecked(this);
208
+ };
209
+ return FileManagerComponent;
210
+ }(FileManager));
211
+ FileManagerComponent.decorators = [
212
+ { type: Component, args: [{
213
+ selector: 'ejs-filemanager',
214
+ inputs: inputs,
215
+ outputs: outputs$1,
216
+ template: '',
217
+ changeDetection: ChangeDetectionStrategy.OnPush,
218
+ queries: {
219
+ childToolbarItems: new ContentChild(ToolbarItemsDirective)
220
+ }
221
+ },] },
222
+ ];
223
+ /**
224
+ * @nocollapse
225
+ */
226
+ FileManagerComponent.ctorParameters = function () { return [
227
+ { type: ElementRef, },
228
+ { type: Renderer2, },
229
+ { type: ViewContainerRef, },
230
+ { type: Injector, },
231
+ ]; };
232
+ FileManagerComponent = __decorate$1([
233
+ ComponentMixins([ComponentBase]),
234
+ __metadata$1("design:paramtypes", [ElementRef,
235
+ Renderer2,
236
+ ViewContainerRef,
237
+ Injector])
238
+ ], FileManagerComponent);
239
+ /**
240
+ * NgModule definition for the FileManager component.
241
+ */
242
+ var FileManagerModule = /** @class */ (function () {
243
+ function FileManagerModule() {
244
+ }
245
+ return FileManagerModule;
246
+ }());
247
+ FileManagerModule.decorators = [
248
+ { type: NgModule, args: [{
249
+ imports: [CommonModule],
250
+ declarations: [
251
+ FileManagerComponent,
252
+ ToolbarItemDirective,
253
+ ToolbarItemsDirective
254
+ ],
255
+ exports: [
256
+ FileManagerComponent,
257
+ ToolbarItemDirective,
258
+ ToolbarItemsDirective
259
+ ]
260
+ },] },
261
+ ];
262
+ /**
263
+ * @nocollapse
264
+ */
265
+ FileManagerModule.ctorParameters = function () { return []; };
266
+ var DetailsViewService = { provide: 'FileManagerDetailsView', useValue: DetailsView };
267
+ var NavigationPaneService = { provide: 'FileManagerNavigationPane', useValue: NavigationPane };
268
+ var LargeIconsViewService = { provide: 'FileManagerLargeIconsView', useValue: LargeIconsView };
269
+ var ToolbarService = { provide: 'FileManagerToolbar', useValue: Toolbar };
270
+ var ContextMenuService = { provide: 'FileManagerContextMenu', useValue: ContextMenu };
271
+ var BreadCrumbBarService = { provide: 'FileManagerBreadCrumbBar', useValue: BreadCrumbBar };
272
+ var VirtualizationService = { provide: 'FileManagerVirtualization', useValue: Virtualization };
273
+ /**
274
+ * NgModule definition for the FileManager component with providers.
275
+ */
276
+ var FileManagerAllModule = /** @class */ (function () {
277
+ function FileManagerAllModule() {
278
+ }
279
+ return FileManagerAllModule;
280
+ }());
281
+ FileManagerAllModule.decorators = [
282
+ { type: NgModule, args: [{
283
+ imports: [CommonModule, FileManagerModule],
284
+ exports: [
285
+ FileManagerModule
286
+ ],
287
+ providers: [
288
+ DetailsViewService,
289
+ NavigationPaneService,
290
+ LargeIconsViewService,
291
+ ToolbarService,
292
+ ContextMenuService,
293
+ BreadCrumbBarService,
294
+ VirtualizationService
295
+ ]
296
+ },] },
297
+ ];
298
+ /**
299
+ * @nocollapse
300
+ */
301
+ FileManagerAllModule.ctorParameters = function () { return []; };
302
+ /**
303
+ * Generated bundle index. Do not edit.
304
+ */
305
+ export { ToolbarItemDirective, ToolbarItemsDirective, FileManagerComponent, FileManagerModule, FileManagerAllModule, DetailsViewService, NavigationPaneService, LargeIconsViewService, ToolbarService, ContextMenuService, BreadCrumbBarService, VirtualizationService, inputs as ɵa, outputs$1 as ɵb };
306
+ export { AjaxSettings, defaultToolbarItems, ToolbarSettings, ToolbarItem, SearchSettings, columnArray, DetailsViewSettings, fileItems, folderItems, layoutItems, ContextMenuSettings, NavigationPaneSettings, UploadSettings, Column, TOOLBAR_ID, LAYOUT_ID, NAVIGATION_ID, TREE_ID, GRID_ID, LARGEICON_ID, DIALOG_ID, ALT_DIALOG_ID, IMG_DIALOG_ID, EXTN_DIALOG_ID, UPLOAD_DIALOG_ID, RETRY_DIALOG_ID, CONTEXT_MENU_ID, SORTBY_ID, VIEW_ID, SPLITTER_ID, CONTENT_ID, BREADCRUMBBAR_ID, UPLOAD_ID, RETRY_ID, SEARCH_ID, ROOT, CONTROL, CHECK_SELECT, ROOT_POPUP, MOBILE, MOB_POPUP, MULTI_SELECT, FILTER, LAYOUT, NAVIGATION, LAYOUT_CONTENT, LARGE_ICONS, TB_ITEM, LIST_ITEM, LIST_TEXT, LIST_PARENT, TB_OPTION_TICK, TB_OPTION_DOT, BLUR, ACTIVE, HOVER, FOCUS, FOCUSED, CHECK, FRAME, CB_WRAP, ROW, ROWCELL, EMPTY, EMPTY_CONTENT, EMPTY_INNER_CONTENT, CLONE, DROP_FOLDER, DROP_FILE, FOLDER, ICON_IMAGE, ICON_MUSIC, ICON_VIDEO, LARGE_ICON, LARGE_EMPTY_FOLDER, LARGE_EMPTY_FOLDER_TWO, LARGE_ICON_FOLDER, SELECTED_ITEMS, TEXT_CONTENT, GRID_HEADER, TEMPLATE_CELL, TREE_VIEW, MENU_ITEM, MENU_ICON, SUBMENU_ICON, GRID_VIEW, GRID_CONTENT, ICON_VIEW, ICON_OPEN, ICON_UPLOAD, ICON_CUT, ICON_COPY, ICON_PASTE, ICON_DELETE, ICON_RENAME, ICON_NEWFOLDER, ICON_DETAILS, ICON_SHORTBY, ICON_REFRESH, ICON_SELECTALL, ICON_DOWNLOAD, ICON_OPTIONS, ICON_GRID, ICON_LARGE, ICON_BREADCRUMB, ICON_CLEAR, ICON_DROP_IN, ICON_DROP_OUT, ICON_NO_DROP, ICONS, DETAILS_LABEL, ERROR_CONTENT, STATUS, BREADCRUMBS, RTL, DISPLAY_NONE, COLLAPSED, FULLROW, ICON_COLLAPSIBLE, SPLIT_BAR, HEADER_CHECK, OVERLAY, VALUE, isFile, modelChanged, initialEnd, finalizeEnd, createEnd, filterEnd, beforeDelete, pathDrag, deleteInit, deleteEnd, refreshEnd, resizeEnd, splitterResize, pathChanged, destroy, beforeRequest, upload, skipUpload, afterRequest, download, layoutRefresh, actionFailure, search, openInit, openEnd, selectionChanged, selectAllInit, clearAllInit, clearPathInit, layoutChange, sortByChange, nodeExpand, detailsInit, menuItemData, renameInit, renameEndParent, renameEnd, showPaste, hidePaste, selectedData, cutCopyInit, pasteInit, pasteEnd, cutEnd, hideLayout, updateTreeSelection, treeSelect, sortColumn, pathColumn, searchTextChange, beforeDownload, downloadInit, dropInit, dragEnd, dropPath, dragHelper, dragging, updateSelectionData, methodCall, permissionRead, permissionEdit, permissionEditContents, permissionCopy, permissionUpload, permissionDownload, FileManager, Toolbar, BreadCrumbBar, Virtualization, NavigationPane, DetailsView, LargeIconsView, createDialog, createExtDialog, createImageDialog, ContextMenu, read, createFolder, filter, rename, paste, Delete, GetDetails, isFileSystemData, Search, Download, triggerFetchSuccess, triggerFetchFailure, sortComparer, updatePath, getPath, getPathId, getPathNames, getParents, generatePath, removeActive, activeElement, addBlur, removeBlur, getModule, getAllChildItems, searchWordHandler, updateLayout, getTargetModule, refresh, openAction, getPathObject, copyFiles, cutFiles, fileType, getImageUrl, getFullPath, getName, getSortedData, getObject, createEmptyElement, getDirectories, setNodeId, setDateObject, getLocaleText, getCssClass, sortbyClickHandler, getSortField, setNextPath, openSearchFolder, pasteHandler, validateSubFolder, dropHandler, getParentPath, getDirectoryPath, doPasteUpdate, readDropPath, getDuplicateData, createVirtualDragElement, dragStopHandler, dragStartHandler, dragCancel, removeDropTarget, removeItemClass, scrollHandler, draggingHandler, objectToString, getItemName, updateRenamingData, doRename, doDownload, doDeleteFiles, doDownloadFiles, createDeniedDialog, getAccessClass, hasReadAccess, hasEditAccess, hasContentAccess, hasUploadAccess, hasDownloadAccess, createNewFolder, uploadItem, closePopup, getTargetPath, getAccessDetails } from '@syncfusion/ej2-filemanager';
307
307
  //# sourceMappingURL=ej2-angular-filemanager.es5.js.map