@volo/abp.ng.file-management 9.3.5 → 10.0.0-rc.1
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/fesm2022/volo-abp.ng.file-management-proxy.mjs +10 -11
- package/fesm2022/volo-abp.ng.file-management-proxy.mjs.map +1 -1
- package/fesm2022/volo-abp.ng.file-management.mjs +64 -73
- package/fesm2022/volo-abp.ng.file-management.mjs.map +1 -1
- package/index.d.ts +56 -66
- package/package.json +4 -4
- package/proxy/index.d.ts +1 -3
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Output, Input, ChangeDetectionStrategy, Component, Injectable, inject, ViewChild, InjectionToken, Renderer2, ElementRef, DOCUMENT, ViewEncapsulation, ChangeDetectorRef,
|
|
3
|
-
import
|
|
4
|
-
import { LocalizationPipe, InternalStore, ListService, SubscriptionService, LocalizationService, ApiInterceptor, EnvironmentService, PermissionService, PermissionDirective, authGuard, permissionGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
|
|
2
|
+
import { EventEmitter, Output, Input, ChangeDetectionStrategy, Component, Injectable, inject, ViewChild, InjectionToken, Renderer2, ElementRef, DOCUMENT, ViewEncapsulation, ChangeDetectorRef, Injector, NgModule } from '@angular/core';
|
|
3
|
+
import { LocalizationPipe, InternalStore, EnvironmentService, ListService, SubscriptionService, LocalizationService, ApiInterceptor, PermissionService, PermissionDirective, authGuard, permissionGuard, LazyModuleFactory, CoreModule } from '@abp/ng.core';
|
|
5
4
|
import { filter, skip, map, tap, finalize, take, switchMap, bufferTime, distinctUntilChanged } from 'rxjs/operators';
|
|
6
|
-
import * as i2$1 from '@abp/ng.theme.shared';
|
|
7
5
|
import { ModalComponent, ButtonComponent, ConfirmationService, ToasterService, Confirmation, NgxDatatableDefaultDirective, ThemeSharedModule } from '@abp/ng.theme.shared';
|
|
8
6
|
import { UPPY_OPTIONS, FILE_MANAGEMENT_FEATURES } from '@volo/abp.ng.file-management/common';
|
|
9
|
-
import * as i1
|
|
7
|
+
import * as i1 from '@angular/forms';
|
|
10
8
|
import { UntypedFormBuilder, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
11
9
|
import * as i2 from '@ngx-validate/core';
|
|
12
10
|
import { NgxValidateCoreModule } from '@ngx-validate/core';
|
|
13
|
-
import * as i1 from '@volo/abp.ng.file-management/proxy';
|
|
14
11
|
import { DirectoryDescriptorService, FileDescriptorService } from '@volo/abp.ng.file-management/proxy';
|
|
15
12
|
import { TreeAdapter, ExpandedIconTemplateDirective, TreeNodeTemplateDirective, TreeComponent, TreeModule } from '@abp/ng.components/tree';
|
|
16
|
-
import * as i1$4 from 'rxjs';
|
|
17
13
|
import { merge, Subscription, forkJoin, of, BehaviorSubject, tap as tap$1, fromEvent, map as map$1 } from 'rxjs';
|
|
18
14
|
import { HttpXsrfTokenExtractor } from '@angular/common/http';
|
|
19
15
|
import { Uppy } from '@uppy/core';
|
|
@@ -21,11 +17,11 @@ import Dashboard from '@uppy/dashboard';
|
|
|
21
17
|
import XHRUpload from '@uppy/xhr-upload';
|
|
22
18
|
import { ExtensibleTableComponent, EXTENSIONS_IDENTIFIER, EntityAction, EntityProp, ToolbarAction, ExtensionsService, getObjectExtensionEntitiesFromStore, mapEntitiesToContributors, mergeWithDefaultActions, mergeWithDefaultProps, ExtensibleModule } from '@abp/ng.components/extensible';
|
|
23
19
|
import { AsyncPipe } from '@angular/common';
|
|
24
|
-
import * as i1$
|
|
20
|
+
import * as i1$1 from '@swimlane/ngx-datatable';
|
|
25
21
|
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
|
|
26
22
|
import { NgbDropdownItem, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
|
|
27
23
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
28
|
-
import * as i1$
|
|
24
|
+
import * as i1$2 from '@angular/router';
|
|
29
25
|
import { RouterModule } from '@angular/router';
|
|
30
26
|
import { PageComponent, PageModule } from '@abp/ng.components/page';
|
|
31
27
|
|
|
@@ -93,9 +89,9 @@ function mapRootIdToEmpty(id) {
|
|
|
93
89
|
return id === ROOT_ID ? null : id;
|
|
94
90
|
}
|
|
95
91
|
class DirectoryTreeService {
|
|
96
|
-
constructor(
|
|
97
|
-
this.directoryService =
|
|
98
|
-
this.updateStream =
|
|
92
|
+
constructor() {
|
|
93
|
+
this.directoryService = inject(DirectoryDescriptorService);
|
|
94
|
+
this.updateStream = inject(UpdateStreamService);
|
|
99
95
|
this.store = new InternalStore([]);
|
|
100
96
|
this.directoryTree$ = this.store.sliceState(state => state);
|
|
101
97
|
this.subscription = new Subscription();
|
|
@@ -207,18 +203,18 @@ class DirectoryTreeService {
|
|
|
207
203
|
bindInitialListToRoot(list) {
|
|
208
204
|
return list.map(l => ({ ...l, parentId: l.parentId || ROOT_ID }));
|
|
209
205
|
}
|
|
210
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DirectoryTreeService, deps: [
|
|
206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DirectoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
211
207
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DirectoryTreeService }); }
|
|
212
208
|
}
|
|
213
209
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DirectoryTreeService, decorators: [{
|
|
214
210
|
type: Injectable
|
|
215
|
-
}], ctorParameters: () => [
|
|
211
|
+
}], ctorParameters: () => [] });
|
|
216
212
|
|
|
217
213
|
class CreateFolderModalService {
|
|
218
|
-
constructor(
|
|
219
|
-
this.service =
|
|
220
|
-
this.updateStream =
|
|
221
|
-
this.directoryService =
|
|
214
|
+
constructor() {
|
|
215
|
+
this.service = inject(DirectoryDescriptorService);
|
|
216
|
+
this.updateStream = inject(UpdateStreamService);
|
|
217
|
+
this.directoryService = inject(DirectoryTreeService);
|
|
222
218
|
}
|
|
223
219
|
create(name, parent) {
|
|
224
220
|
const parentId = mapRootIdToEmpty(parent || this.updateStream.currentDirectory);
|
|
@@ -230,12 +226,12 @@ class CreateFolderModalService {
|
|
|
230
226
|
this.directoryService.refreshNode({ newParentId: parentId });
|
|
231
227
|
}));
|
|
232
228
|
}
|
|
233
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalService, deps: [
|
|
229
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
234
230
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalService }); }
|
|
235
231
|
}
|
|
236
232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalService, decorators: [{
|
|
237
233
|
type: Injectable
|
|
238
|
-
}]
|
|
234
|
+
}] });
|
|
239
235
|
|
|
240
236
|
class BaseModalComponent {
|
|
241
237
|
constructor() {
|
|
@@ -402,7 +398,7 @@ class CreateFolderModalComponent extends BaseModalComponent {
|
|
|
402
398
|
this.form.reset();
|
|
403
399
|
}
|
|
404
400
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
405
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: CreateFolderModalComponent, isStandalone: true, selector: "abp-create-folder-modal", inputs: { parentId: "parentId" }, providers: [CreateFolderModalService], viewQueries: [{ propertyName: "createFolderInputRef", first: true, predicate: ["createFolderInput"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"createFolderInput\">{{ 'FileManagement::Name' | abpLocalization }} *</label>\r\n <input\r\n #createFolderInput\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"createFolderInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1
|
|
401
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: CreateFolderModalComponent, isStandalone: true, selector: "abp-create-folder-modal", inputs: { parentId: "parentId" }, providers: [CreateFolderModalService], viewQueries: [{ propertyName: "createFolderInputRef", first: true, predicate: ["createFolderInput"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"createFolderInput\">{{ 'FileManagement::Name' | abpLocalization }} *</label>\r\n <input\r\n #createFolderInput\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"createFolderInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
406
402
|
}
|
|
407
403
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
|
|
408
404
|
type: Component,
|
|
@@ -447,33 +443,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
447
443
|
}] });
|
|
448
444
|
|
|
449
445
|
class DownloadService {
|
|
446
|
+
constructor() {
|
|
447
|
+
this.fileDescriptorService = inject(FileDescriptorService);
|
|
448
|
+
this.environment = inject(EnvironmentService);
|
|
449
|
+
this.apiName = 'FileManagement';
|
|
450
|
+
}
|
|
450
451
|
get apiUrl() {
|
|
451
452
|
return this.environment.getApiUrl(this.apiName);
|
|
452
453
|
}
|
|
453
|
-
constructor(restService, fileDescriptorService, environment) {
|
|
454
|
-
this.restService = restService;
|
|
455
|
-
this.fileDescriptorService = fileDescriptorService;
|
|
456
|
-
this.environment = environment;
|
|
457
|
-
this.apiName = 'FileManagement';
|
|
458
|
-
}
|
|
459
454
|
downloadFile(file) {
|
|
460
455
|
return this.fileDescriptorService.getDownloadToken(file.id).pipe(tap((res) => {
|
|
461
456
|
window.open(`${this.apiUrl}/api/file-management/file-descriptor/download/${file.id}?token=${res.token}`, '_self');
|
|
462
457
|
}));
|
|
463
458
|
}
|
|
464
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DownloadService, deps: [
|
|
459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
465
460
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DownloadService }); }
|
|
466
461
|
}
|
|
467
462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: DownloadService, decorators: [{
|
|
468
463
|
type: Injectable
|
|
469
|
-
}]
|
|
464
|
+
}] });
|
|
470
465
|
|
|
471
466
|
class MoveService {
|
|
472
|
-
constructor(
|
|
473
|
-
this.service =
|
|
474
|
-
this.confirmation =
|
|
475
|
-
this.updateStream =
|
|
476
|
-
this.toaster =
|
|
467
|
+
constructor() {
|
|
468
|
+
this.service = inject(DirectoryDescriptorService);
|
|
469
|
+
this.confirmation = inject(ConfirmationService);
|
|
470
|
+
this.updateStream = inject(UpdateStreamService);
|
|
471
|
+
this.toaster = inject(ToasterService);
|
|
477
472
|
}
|
|
478
473
|
moveTo(source, target, oldParentId) {
|
|
479
474
|
const id = source.id;
|
|
@@ -491,17 +486,17 @@ class MoveService {
|
|
|
491
486
|
this.toaster.success('FileManagement::SuccessfullyMoved');
|
|
492
487
|
}));
|
|
493
488
|
}
|
|
494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveService, deps: [
|
|
489
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
495
490
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveService }); }
|
|
496
491
|
}
|
|
497
492
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveService, decorators: [{
|
|
498
493
|
type: Injectable
|
|
499
|
-
}]
|
|
494
|
+
}] });
|
|
500
495
|
|
|
501
496
|
class NavigatorService {
|
|
502
|
-
constructor(
|
|
503
|
-
this.directory =
|
|
504
|
-
this.updateStream =
|
|
497
|
+
constructor() {
|
|
498
|
+
this.directory = inject(DirectoryTreeService);
|
|
499
|
+
this.updateStream = inject(UpdateStreamService);
|
|
505
500
|
this.navigatedFolders = [ROOT_NODE];
|
|
506
501
|
this.store = new InternalStore(this.navigatedFolders);
|
|
507
502
|
this.navigatedFolderPath$ = this.store.sliceState(state => state, (s1, s2) => s1 === s2);
|
|
@@ -591,25 +586,24 @@ class NavigatorService {
|
|
|
591
586
|
findIndexOf(folderId) {
|
|
592
587
|
return this.navigatedFolders.findIndex(folder => folder.id === folderId);
|
|
593
588
|
}
|
|
594
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigatorService, deps: [
|
|
589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
595
590
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigatorService }); }
|
|
596
591
|
}
|
|
597
592
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: NavigatorService, decorators: [{
|
|
598
593
|
type: Injectable
|
|
599
|
-
}], ctorParameters: () => [
|
|
594
|
+
}], ctorParameters: () => [] });
|
|
600
595
|
|
|
601
596
|
class MoveFileModalService {
|
|
602
|
-
constructor(
|
|
603
|
-
this.service =
|
|
604
|
-
this.fileService =
|
|
605
|
-
this.updateStream =
|
|
606
|
-
this.toaster =
|
|
607
|
-
this.moveService =
|
|
608
|
-
this.navigatorService = navigatorService;
|
|
597
|
+
constructor() {
|
|
598
|
+
this.service = inject(DirectoryDescriptorService);
|
|
599
|
+
this.fileService = inject(FileDescriptorService);
|
|
600
|
+
this.updateStream = inject(UpdateStreamService);
|
|
601
|
+
this.toaster = inject(ToasterService);
|
|
602
|
+
this.moveService = inject(MoveService);
|
|
609
603
|
this.directoryContentStore = new InternalStore([]);
|
|
610
|
-
this.directoryContent$ = this.directoryContentStore.sliceState(
|
|
604
|
+
this.directoryContent$ = this.directoryContentStore.sliceState(state => state);
|
|
611
605
|
this.breadcrumbStore = new InternalStore([ROOT_NODE]);
|
|
612
|
-
this.breadcrumbs$ = this.breadcrumbStore.sliceState(
|
|
606
|
+
this.breadcrumbs$ = this.breadcrumbStore.sliceState(state => state);
|
|
613
607
|
}
|
|
614
608
|
reset() {
|
|
615
609
|
this.breadcrumbStore.reset();
|
|
@@ -619,11 +613,11 @@ class MoveFileModalService {
|
|
|
619
613
|
updateContent() {
|
|
620
614
|
return this.service
|
|
621
615
|
.getList(this.getCurrentFolderIdForRequest())
|
|
622
|
-
.pipe(tap(
|
|
616
|
+
.pipe(tap(content => this.directoryContentStore.patch(content.items)));
|
|
623
617
|
}
|
|
624
618
|
goTo(folder) {
|
|
625
619
|
let navigatedFolders = this.getNavigatedFolders();
|
|
626
|
-
const index = navigatedFolders.findIndex(
|
|
620
|
+
const index = navigatedFolders.findIndex(f => f.id === folder.id);
|
|
627
621
|
if (index < 0) {
|
|
628
622
|
navigatedFolders = [...navigatedFolders, folder];
|
|
629
623
|
}
|
|
@@ -639,7 +633,7 @@ class MoveFileModalService {
|
|
|
639
633
|
id: fileToMove.id,
|
|
640
634
|
newDirectoryId: this.getCurrentFolderIdForRequest(),
|
|
641
635
|
})
|
|
642
|
-
.pipe(tap(
|
|
636
|
+
.pipe(tap(_ => {
|
|
643
637
|
this.updateStream.refreshContent();
|
|
644
638
|
this.toaster.success('FileManagement::SuccessfullyMoved');
|
|
645
639
|
}));
|
|
@@ -658,12 +652,12 @@ class MoveFileModalService {
|
|
|
658
652
|
getNavigatedFolders() {
|
|
659
653
|
return this.breadcrumbStore.state;
|
|
660
654
|
}
|
|
661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalService, deps: [
|
|
655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
662
656
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalService }); }
|
|
663
657
|
}
|
|
664
658
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalService, decorators: [{
|
|
665
659
|
type: Injectable
|
|
666
|
-
}]
|
|
660
|
+
}] });
|
|
667
661
|
|
|
668
662
|
class MoveFileModalComponent extends BaseModalComponent {
|
|
669
663
|
constructor() {
|
|
@@ -688,7 +682,7 @@ class MoveFileModalComponent extends BaseModalComponent {
|
|
|
688
682
|
}
|
|
689
683
|
}
|
|
690
684
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
691
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: MoveFileModalComponent, isStandalone: true, selector: "abp-move-file-modal", inputs: { fileToMove: "fileToMove", oldParentId: "oldParentId" }, providers: [MoveFileModalService, ListService], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"Move\" [parent]=\"self\">\r\n <span class=\"d-block p-2\">{{ 'FileManagement::MoveToUnder' | abpLocalization }}</span>\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"service.breadcrumbs$ | async\"\r\n rootBreadcrumbName=\"FileManagement::Root\"\r\n (breadcrumbClick)=\"onBreadcrumbClick($event)\"\r\n />\r\n\r\n <ngx-datatable\r\n [rows]=\"directoryContent$ | async\"\r\n default\r\n [messages]=\"{ emptyMessage: 'FileManagement::MoveHere' | abpLocalization }\"\r\n >\r\n <ngx-datatable-column [sortable]=\"true\" [name]=\"'FileManagement::Name' | abpLocalization\">\r\n <ng-template let-row=\"row\" let-i=\"index\" ngx-datatable-cell-template>\r\n <div (click)=\"service.goTo(row)\" class=\"pointer\">\r\n <i class=\"fa fa-folder text-primary me-1\" aria-hidden=\"true\"></i> {{ row.name }}\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: NgxDatatableModule }, { kind: "component", type: i1$
|
|
685
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: MoveFileModalComponent, isStandalone: true, selector: "abp-move-file-modal", inputs: { fileToMove: "fileToMove", oldParentId: "oldParentId" }, providers: [MoveFileModalService, ListService], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"Move\" [parent]=\"self\">\r\n <span class=\"d-block p-2\">{{ 'FileManagement::MoveToUnder' | abpLocalization }}</span>\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"service.breadcrumbs$ | async\"\r\n rootBreadcrumbName=\"FileManagement::Root\"\r\n (breadcrumbClick)=\"onBreadcrumbClick($event)\"\r\n />\r\n\r\n <ngx-datatable\r\n [rows]=\"directoryContent$ | async\"\r\n default\r\n [messages]=\"{ emptyMessage: 'FileManagement::MoveHere' | abpLocalization }\"\r\n >\r\n <ngx-datatable-column [sortable]=\"true\" [name]=\"'FileManagement::Name' | abpLocalization\">\r\n <ng-template let-row=\"row\" let-i=\"index\" ngx-datatable-cell-template>\r\n <div (click)=\"service.goTo(row)\" class=\"pointer\">\r\n <i class=\"fa fa-folder text-primary me-1\" aria-hidden=\"true\"></i> {{ row.name }}\r\n </div>\r\n </ng-template>\r\n </ngx-datatable-column>\r\n </ngx-datatable>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: NgxDatatableModule }, { kind: "component", type: i1$1.DatatableComponent, selector: "ngx-datatable", inputs: ["targetMarkerTemplate", "rows", "groupRowsBy", "groupedRows", "columns", "selected", "scrollbarV", "scrollbarVDynamic", "scrollbarH", "rowHeight", "columnMode", "headerHeight", "footerHeight", "externalPaging", "externalSorting", "limit", "count", "offset", "loadingIndicator", "ghostLoadingIndicator", "selectionType", "reorderable", "swapColumns", "sortType", "sorts", "cssClasses", "messages", "rowClass", "selectCheck", "displayCheck", "groupExpansionDefault", "trackByProp", "selectAllRowsOnPage", "virtualization", "treeFromRelation", "treeToRelation", "summaryRow", "summaryHeight", "summaryPosition", "disableRowCheck", "rowDraggable", "enableClearingSortState", "rowIdentity"], outputs: ["scroll", "activate", "select", "sort", "page", "reorder", "resize", "tableContextmenu", "treeAction", "rowDragEvents"] }, { kind: "directive", type: i1$1.DataTableColumnDirective, selector: "ngx-datatable-column", inputs: ["name", "prop", "bindAsUnsafeHtml", "frozenLeft", "frozenRight", "flexGrow", "resizeable", "comparator", "pipe", "sortable", "draggable", "canAutoResize", "minWidth", "width", "maxWidth", "checkboxable", "headerCheckboxable", "headerClass", "cellClass", "isTreeColumn", "treeLevelIndent", "summaryFunc", "summaryTemplate", "cellTemplate", "headerTemplate", "treeToggleTemplate", "ghostCellTemplate"] }, { kind: "directive", type: i1$1.DataTableColumnCellDirective, selector: "[ngx-datatable-cell-template]" }, { kind: "directive", type: NgxDatatableDefaultDirective, selector: "ngx-datatable[default]", inputs: ["class"], exportAs: ["ngxDatatableDefault"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
692
686
|
}
|
|
693
687
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: MoveFileModalComponent, decorators: [{
|
|
694
688
|
type: Component,
|
|
@@ -707,10 +701,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
707
701
|
}] } });
|
|
708
702
|
|
|
709
703
|
class RenameModalService {
|
|
710
|
-
constructor(
|
|
711
|
-
this.directoryDescriptorService =
|
|
712
|
-
this.fileService =
|
|
713
|
-
this.updateStream =
|
|
704
|
+
constructor() {
|
|
705
|
+
this.directoryDescriptorService = inject(DirectoryDescriptorService);
|
|
706
|
+
this.fileService = inject(FileDescriptorService);
|
|
707
|
+
this.updateStream = inject(UpdateStreamService);
|
|
714
708
|
}
|
|
715
709
|
rename(contentToRename) {
|
|
716
710
|
const id = contentToRename.id;
|
|
@@ -727,12 +721,12 @@ class RenameModalService {
|
|
|
727
721
|
callService(service, id, name) {
|
|
728
722
|
return service.rename(id, { name }).pipe(map(() => true));
|
|
729
723
|
}
|
|
730
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalService, deps: [
|
|
724
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
731
725
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalService }); }
|
|
732
726
|
}
|
|
733
727
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalService, decorators: [{
|
|
734
728
|
type: Injectable
|
|
735
|
-
}]
|
|
729
|
+
}] });
|
|
736
730
|
|
|
737
731
|
class RenameModalComponent extends BaseModalComponent {
|
|
738
732
|
set contentToRename(val) {
|
|
@@ -778,7 +772,7 @@ class RenameModalComponent extends BaseModalComponent {
|
|
|
778
772
|
this.contentToRenameChange.emit(this.contentToRename);
|
|
779
773
|
}
|
|
780
774
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
781
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: RenameModalComponent, isStandalone: true, selector: "abp-rename-modal", inputs: { contentToRename: "contentToRename" }, outputs: { contentRenamed: "contentRenamed", contentToRenameChange: "contentToRenameChange" }, providers: [RenameModalService], viewQueries: [{ propertyName: "renameFileInputRef", first: true, predicate: ["renameFileInput"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"Rename\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"renameFileInput\">{{ 'FileManagement::Name' | abpLocalization }} *</label>\r\n <input\r\n #renameFileInput\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"renameFileInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1
|
|
775
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: RenameModalComponent, isStandalone: true, selector: "abp-rename-modal", inputs: { contentToRename: "contentToRename" }, outputs: { contentRenamed: "contentRenamed", contentToRenameChange: "contentToRenameChange" }, providers: [RenameModalService], viewQueries: [{ propertyName: "renameFileInputRef", first: true, predicate: ["renameFileInput"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"Rename\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\">\r\n <div class=\"form-group\">\r\n <label for=\"renameFileInput\">{{ 'FileManagement::Name' | abpLocalization }} *</label>\r\n <input\r\n #renameFileInput\r\n formControlName=\"name\"\r\n type=\"text\"\r\n class=\"form-control\"\r\n id=\"renameFileInput\"\r\n />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgxValidateCoreModule }, { kind: "directive", type: i2.ValidationGroupDirective, selector: "[formGroup],[formGroupName]", exportAs: ["validationGroup"] }, { kind: "directive", type: i2.ValidationDirective, selector: "[formControl],[formControlName]", exportAs: ["validationDirective"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "size", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
782
776
|
}
|
|
783
777
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: RenameModalComponent, decorators: [{
|
|
784
778
|
type: Component,
|
|
@@ -875,7 +869,7 @@ class FileManagementFolderContentComponent {
|
|
|
875
869
|
provide: EXTENSIONS_IDENTIFIER,
|
|
876
870
|
useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
|
|
877
871
|
},
|
|
878
|
-
], ngImport: i0, template: "@if (content$ | async; as data) {\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n}\r\n", dependencies: [{ kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected"], outputs: ["tableActivate", "selectionChange"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentRenamed", "contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
872
|
+
], ngImport: i0, template: "@if (content$ | async; as data) {\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\">\r\n </abp-extensible-table>\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n ></abp-rename-modal>\r\n\r\n <abp-move-file-modal\r\n [(visible)]=\"moveModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [fileToMove]=\"fileToMove\"\r\n [oldParentId]=\"parentOfFileToMove\"\r\n ></abp-move-file-modal>\r\n}\r\n", dependencies: [{ kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight"], outputs: ["tableActivate", "selectionChange", "loadMore"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentRenamed", "contentToRenameChange"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
879
873
|
}
|
|
880
874
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
|
|
881
875
|
type: Component,
|
|
@@ -1453,7 +1447,7 @@ class FileManagementFolderFilterComponent {
|
|
|
1453
1447
|
}
|
|
1454
1448
|
}
|
|
1455
1449
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1456
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: FileManagementFolderFilterComponent, isStandalone: true, selector: "abp-file-management-folder-filter", ngImport: i0, template: "<div class=\"row mb-3\">\r\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\r\n <abp-button\r\n type=\"button\"\r\n (click)=\"goUpFolder()\"\r\n [disabled]=\"isAtRoot()\"\r\n [attr.aria-disabled]=\"isAtRoot()\"\r\n [class.disabled]=\"isAtRoot()\"\r\n [style.cursor]=\"isAtRoot() ? 'default' : 'pointer'\"\r\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal me-2\"\r\n buttonClass=\"w-100 mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\r\n >{{ 'FileManagement::GoUpFolder' | abpLocalization }}</abp-button\r\n >\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"input-group\">\r\n <input\r\n class=\"form-control page-search-filter-text\"\r\n [(ngModel)]=\"list.filter\"\r\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\r\n />\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1
|
|
1450
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.7", type: FileManagementFolderFilterComponent, isStandalone: true, selector: "abp-file-management-folder-filter", ngImport: i0, template: "<div class=\"row mb-3\">\r\n <div class=\"col-sm-12 col-md-auto col-lg-auto col-xl-auto\">\r\n <abp-button\r\n type=\"button\"\r\n (click)=\"goUpFolder()\"\r\n [disabled]=\"isAtRoot()\"\r\n [attr.aria-disabled]=\"isAtRoot()\"\r\n [class.disabled]=\"isAtRoot()\"\r\n [style.cursor]=\"isAtRoot() ? 'default' : 'pointer'\"\r\n iconClass=\"fa fa-level-up-alt fa-flip-horizontal me-2\"\r\n buttonClass=\"w-100 mb-2 mb-md-0 shadow-none btn-block btn btn-outline-secondary\"\r\n >{{ 'FileManagement::GoUpFolder' | abpLocalization }}</abp-button\r\n >\r\n </div>\r\n <div class=\"col\">\r\n <div class=\"input-group\">\r\n <input\r\n class=\"form-control page-search-filter-text\"\r\n [(ngModel)]=\"list.filter\"\r\n [placeholder]=\"'FileManagement::Filter' | abpLocalization\"\r\n />\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1457
1451
|
}
|
|
1458
1452
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
|
|
1459
1453
|
type: Component,
|
|
@@ -1530,21 +1524,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
1530
1524
|
* @deprecated Use `fileManagementGuard` *function* instead.
|
|
1531
1525
|
*/
|
|
1532
1526
|
class FileManagementGuard {
|
|
1533
|
-
constructor(
|
|
1534
|
-
this.fileManagementFeatures =
|
|
1527
|
+
constructor() {
|
|
1528
|
+
this.fileManagementFeatures = inject(FILE_MANAGEMENT_FEATURES);
|
|
1535
1529
|
}
|
|
1536
1530
|
canActivate() {
|
|
1537
1531
|
return this.fileManagementFeatures.pipe(map(features => features.enable));
|
|
1538
1532
|
}
|
|
1539
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementGuard, deps: [
|
|
1533
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1540
1534
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementGuard }); }
|
|
1541
1535
|
}
|
|
1542
1536
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementGuard, decorators: [{
|
|
1543
1537
|
type: Injectable
|
|
1544
|
-
}]
|
|
1545
|
-
type: Inject,
|
|
1546
|
-
args: [FILE_MANAGEMENT_FEATURES]
|
|
1547
|
-
}] }] });
|
|
1538
|
+
}] });
|
|
1548
1539
|
const fileManagementGuard = () => {
|
|
1549
1540
|
const fileManagementFeatures = inject(FILE_MANAGEMENT_FEATURES);
|
|
1550
1541
|
return fileManagementFeatures.pipe(map(features => features.enable));
|
|
@@ -1582,7 +1573,7 @@ const routes = [
|
|
|
1582
1573
|
];
|
|
1583
1574
|
class FileManagementRoutingModule {
|
|
1584
1575
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1585
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$
|
|
1576
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
|
|
1586
1577
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
1587
1578
|
}
|
|
1588
1579
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
|