@volo/abp.ng.file-management 10.3.0-rc.1 → 10.3.0
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.
|
@@ -76,11 +76,11 @@ class FileManagementConfigModule {
|
|
|
76
76
|
providers: [provideFileManagementChildConfig(withUppyOptions(options))],
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
80
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
81
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementConfigModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
80
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: FileManagementConfigModule }); }
|
|
81
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementConfigModule }); }
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementConfigModule, decorators: [{
|
|
84
84
|
type: NgModule
|
|
85
85
|
}] });
|
|
86
86
|
|
|
@@ -46,10 +46,10 @@ class DirectoryDescriptorService {
|
|
|
46
46
|
body: input,
|
|
47
47
|
}, { apiName: this.apiName, ...config });
|
|
48
48
|
}
|
|
49
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
50
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
49
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DirectoryDescriptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
50
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DirectoryDescriptorService, providedIn: 'root' }); }
|
|
51
51
|
}
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DirectoryDescriptorService, decorators: [{
|
|
53
53
|
type: Injectable,
|
|
54
54
|
args: [{
|
|
55
55
|
providedIn: 'root',
|
|
@@ -130,10 +130,10 @@ class FileDescriptorService {
|
|
|
130
130
|
params: { enable },
|
|
131
131
|
}, { apiName: this.apiName, ...config });
|
|
132
132
|
}
|
|
133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
134
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileDescriptorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
134
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileDescriptorService, providedIn: 'root' }); }
|
|
135
135
|
}
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileDescriptorService, decorators: [{
|
|
137
137
|
type: Injectable,
|
|
138
138
|
args: [{
|
|
139
139
|
providedIn: 'root',
|
|
@@ -36,10 +36,10 @@ class FileManagementBreadcrumbComponent {
|
|
|
36
36
|
onClick(item) {
|
|
37
37
|
this.breadcrumbClick.emit(item);
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: FileManagementBreadcrumbComponent, isStandalone: true, selector: "abp-file-management-breadcrumb", inputs: { rootBreadcrumbName: { classPropertyName: "rootBreadcrumbName", publicName: "rootBreadcrumbName", isSignal: true, isRequired: false, transformFunction: null }, navigatedFolders: { classPropertyName: "navigatedFolders", publicName: "navigatedFolders", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { breadcrumbClick: "breadcrumbClick" }, ngImport: i0, template: "<ol class=\"breadcrumb\">\r\n @for (folder of navigatedFolders(); track folder.id; let last = $last; let first = $first) {\r\n <li\r\n (click)=\"onClick(folder)\"\r\n class=\"breadcrumb-item\"\r\n [class.root]=\"first\"\r\n [class.active]=\"last && !first\"\r\n [class.pe-none]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <span class=\"breadcrumb-item-text\">\r\n @if (first) {\r\n <i class=\"fa fa-home me-1\" aria-hidden=\"true\"></i>\r\n <span>{{ rootBreadcrumbName() | abpLocalization }}</span>\r\n }\r\n @if (!first) {\r\n <span>{{ folder.name }}</span>\r\n }\r\n </span>\r\n </li>\r\n }\r\n</ol>\r\n", styles: [".breadcrumb{padding:3px 0 0;opacity:1;font-size:1em}.breadcrumb-item{padding:0}.breadcrumb-item.active .breadcrumb-item-text{opacity:.5}.breadcrumb-item-text{padding:3px 8px;border-radius:3px}.breadcrumb-item-text:hover{cursor:pointer;background:var(--background)}.breadcrumb-item+.breadcrumb-item:before{content:\">\";opacity:.3;margin:3px 0 0 3px}\n"], dependencies: [{ kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
41
41
|
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementBreadcrumbComponent, decorators: [{
|
|
43
43
|
type: Component,
|
|
44
44
|
args: [{ selector: 'abp-file-management-breadcrumb', changeDetection: ChangeDetectionStrategy.OnPush, imports: [LocalizationPipe], template: "<ol class=\"breadcrumb\">\r\n @for (folder of navigatedFolders(); track folder.id; let last = $last; let first = $first) {\r\n <li\r\n (click)=\"onClick(folder)\"\r\n class=\"breadcrumb-item\"\r\n [class.root]=\"first\"\r\n [class.active]=\"last && !first\"\r\n [class.pe-none]=\"last\"\r\n aria-current=\"page\"\r\n >\r\n <span class=\"breadcrumb-item-text\">\r\n @if (first) {\r\n <i class=\"fa fa-home me-1\" aria-hidden=\"true\"></i>\r\n <span>{{ rootBreadcrumbName() | abpLocalization }}</span>\r\n }\r\n @if (!first) {\r\n <span>{{ folder.name }}</span>\r\n }\r\n </span>\r\n </li>\r\n }\r\n</ol>\r\n", styles: [".breadcrumb{padding:3px 0 0;opacity:1;font-size:1em}.breadcrumb-item{padding:0}.breadcrumb-item.active .breadcrumb-item-text{opacity:.5}.breadcrumb-item-text{padding:3px 8px;border-radius:3px}.breadcrumb-item-text:hover{cursor:pointer;background:var(--background)}.breadcrumb-item+.breadcrumb-item:before{content:\">\";opacity:.3;margin:3px 0 0 3px}\n"] }]
|
|
45
45
|
}], propDecorators: { rootBreadcrumbName: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootBreadcrumbName", required: false }] }], navigatedFolders: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigatedFolders", required: false }] }], breadcrumbClick: [{ type: i0.Output, args: ["breadcrumbClick"] }] } });
|
|
@@ -72,10 +72,10 @@ class UpdateStreamService {
|
|
|
72
72
|
// skip initial empty values
|
|
73
73
|
return this.store.sliceState(fn).pipe(skip(1));
|
|
74
74
|
}
|
|
75
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
76
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: UpdateStreamService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
76
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: UpdateStreamService }); }
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: UpdateStreamService, decorators: [{
|
|
79
79
|
type: Injectable
|
|
80
80
|
}], ctorParameters: () => [] });
|
|
81
81
|
|
|
@@ -205,10 +205,10 @@ class DirectoryTreeService {
|
|
|
205
205
|
bindInitialListToRoot(list) {
|
|
206
206
|
return list.map(l => ({ ...l, parentId: l.parentId || ROOT_ID }));
|
|
207
207
|
}
|
|
208
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
209
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
208
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DirectoryTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
209
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DirectoryTreeService }); }
|
|
210
210
|
}
|
|
211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DirectoryTreeService, decorators: [{
|
|
212
212
|
type: Injectable
|
|
213
213
|
}], ctorParameters: () => [] });
|
|
214
214
|
|
|
@@ -228,10 +228,10 @@ class CreateFolderModalService {
|
|
|
228
228
|
this.directoryService.refreshNode({ newParentId: parentId });
|
|
229
229
|
}));
|
|
230
230
|
}
|
|
231
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
232
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CreateFolderModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
232
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CreateFolderModalService }); }
|
|
233
233
|
}
|
|
234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CreateFolderModalService, decorators: [{
|
|
235
235
|
type: Injectable
|
|
236
236
|
}] });
|
|
237
237
|
|
|
@@ -280,8 +280,8 @@ class BaseModalComponent {
|
|
|
280
280
|
saveAction() {
|
|
281
281
|
return of({});
|
|
282
282
|
}
|
|
283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
284
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: BaseModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
284
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: BaseModalComponent, isStandalone: true, selector: "abp-file-management-modal", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, titleLocalizationParams: { classPropertyName: "titleLocalizationParams", publicName: "titleLocalizationParams", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, formName: { classPropertyName: "formName", publicName: "formName", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, parent: { classPropertyName: "parent", publicName: "parent", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visibleChange: "visibleChange", contentSaved: "contentSaved" }, ngImport: i0, template: `
|
|
285
285
|
@if (parent()) {
|
|
286
286
|
<abp-modal
|
|
287
287
|
[options]="{ size: parent().size() }"
|
|
@@ -324,7 +324,7 @@ class BaseModalComponent {
|
|
|
324
324
|
}
|
|
325
325
|
`, isInline: true, dependencies: [{ kind: "component", type: ModalComponent, selector: "abp-modal", inputs: ["visible", "busy", "options", "suppressUnsavedChangesWarning"], outputs: ["visibleChange", "init", "appear", "disappear"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
326
326
|
}
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: BaseModalComponent, decorators: [{
|
|
328
328
|
type: Component,
|
|
329
329
|
args: [{
|
|
330
330
|
selector: 'abp-file-management-modal',
|
|
@@ -406,10 +406,10 @@ class CreateFolderModalComponent extends BaseModalComponent {
|
|
|
406
406
|
clear() {
|
|
407
407
|
this.form.reset();
|
|
408
408
|
}
|
|
409
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
410
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
409
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CreateFolderModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
410
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.8", type: CreateFolderModalComponent, isStandalone: true, selector: "abp-create-folder-modal", inputs: { parentId: { classPropertyName: "parentId", publicName: "parentId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [CreateFolderModalService], viewQueries: [{ propertyName: "createFolderInputRef", first: true, predicate: ["createFolderInput"], descendants: true, isSignal: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"CreateFolder\" [parent]=\"self\" formName=\"createFolderForm\">\r\n <form id=\"createFolderForm\" [formGroup]=\"form\" validateOnSubmit>\r\n <div class=\"form-group\">\r\n <label for=\"createFolderInput\">{{ 'FileManagement::Name' | abpLocalization }} *</label>\r\n <input #createFolderInput formControlName=\"name\" type=\"text\" class=\"form-control\" id=\"createFolderInput\" />\r\n </div>\r\n </form>\r\n</abp-file-management-modal>", 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],[formArray],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: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
411
411
|
}
|
|
412
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CreateFolderModalComponent, decorators: [{
|
|
413
413
|
type: Component,
|
|
414
414
|
args: [{ selector: 'abp-create-folder-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [CreateFolderModalService], imports: [
|
|
415
415
|
FormsModule,
|
|
@@ -439,10 +439,10 @@ class DeleteService {
|
|
|
439
439
|
this.toasterService.success('AbpUi::DeletedSuccessfully');
|
|
440
440
|
}));
|
|
441
441
|
}
|
|
442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
443
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
442
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DeleteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
443
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DeleteService }); }
|
|
444
444
|
}
|
|
445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DeleteService, decorators: [{
|
|
446
446
|
type: Injectable
|
|
447
447
|
}] });
|
|
448
448
|
|
|
@@ -477,10 +477,10 @@ class CurrentDirectoryCanAddService {
|
|
|
477
477
|
}), tap(canAdd => this.cache.set(cacheKey, canAdd)));
|
|
478
478
|
}));
|
|
479
479
|
}
|
|
480
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
481
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
480
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CurrentDirectoryCanAddService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
481
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CurrentDirectoryCanAddService, providedIn: 'root' }); }
|
|
482
482
|
}
|
|
483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CurrentDirectoryCanAddService, decorators: [{
|
|
484
484
|
type: Injectable,
|
|
485
485
|
args: [{ providedIn: 'root' }]
|
|
486
486
|
}] });
|
|
@@ -499,10 +499,10 @@ class DownloadService {
|
|
|
499
499
|
window.open(`${this.apiUrl}/api/file-management/file-descriptor/download/${file.id}?token=${res.token}`, '_self');
|
|
500
500
|
}));
|
|
501
501
|
}
|
|
502
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
503
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
502
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DownloadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
503
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DownloadService }); }
|
|
504
504
|
}
|
|
505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DownloadService, decorators: [{
|
|
506
506
|
type: Injectable
|
|
507
507
|
}] });
|
|
508
508
|
|
|
@@ -529,10 +529,10 @@ class MoveService {
|
|
|
529
529
|
this.toaster.success('FileManagement::SuccessfullyMoved');
|
|
530
530
|
}));
|
|
531
531
|
}
|
|
532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
533
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
532
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
533
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveService }); }
|
|
534
534
|
}
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveService, decorators: [{
|
|
536
536
|
type: Injectable
|
|
537
537
|
}] });
|
|
538
538
|
|
|
@@ -629,10 +629,10 @@ class NavigatorService {
|
|
|
629
629
|
findIndexOf(folderId) {
|
|
630
630
|
return this.navigatedFolders.findIndex(folder => folder.id === folderId);
|
|
631
631
|
}
|
|
632
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
633
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
632
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NavigatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
633
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NavigatorService }); }
|
|
634
634
|
}
|
|
635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: NavigatorService, decorators: [{
|
|
636
636
|
type: Injectable
|
|
637
637
|
}], ctorParameters: () => [] });
|
|
638
638
|
|
|
@@ -695,10 +695,10 @@ class MoveFileModalService {
|
|
|
695
695
|
getNavigatedFolders() {
|
|
696
696
|
return this.breadcrumbStore.state;
|
|
697
697
|
}
|
|
698
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
699
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
698
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveFileModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
699
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveFileModalService }); }
|
|
700
700
|
}
|
|
701
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveFileModalService, decorators: [{
|
|
702
702
|
type: Injectable
|
|
703
703
|
}] });
|
|
704
704
|
|
|
@@ -747,10 +747,10 @@ class MoveFileModalComponent extends BaseModalComponent {
|
|
|
747
747
|
shouldSave() {
|
|
748
748
|
return this.canMoveToCurrentDirectory;
|
|
749
749
|
}
|
|
750
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
751
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
750
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
751
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: MoveFileModalComponent, isStandalone: true, selector: "abp-move-file-modal", inputs: { fileToMove: { classPropertyName: "fileToMove", publicName: "fileToMove", isSignal: true, isRequired: false, transformFunction: null }, oldParentId: { classPropertyName: "oldParentId", publicName: "oldParentId", isSignal: true, isRequired: false, transformFunction: null } }, providers: [MoveFileModalService, ListService, SubscriptionService], 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: "component", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
752
752
|
}
|
|
753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: MoveFileModalComponent, decorators: [{
|
|
754
754
|
type: Component,
|
|
755
755
|
args: [{ selector: 'abp-move-file-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [MoveFileModalService, ListService, SubscriptionService], imports: [
|
|
756
756
|
NgxDatatableModule,
|
|
@@ -783,10 +783,10 @@ class RenameModalService {
|
|
|
783
783
|
callService(service, id, name) {
|
|
784
784
|
return service.rename(id, { name }).pipe(map(() => true));
|
|
785
785
|
}
|
|
786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
787
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
786
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: RenameModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
787
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: RenameModalService }); }
|
|
788
788
|
}
|
|
789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: RenameModalService, decorators: [{
|
|
790
790
|
type: Injectable
|
|
791
791
|
}] });
|
|
792
792
|
|
|
@@ -831,10 +831,10 @@ class RenameModalComponent extends BaseModalComponent {
|
|
|
831
831
|
this.form.reset();
|
|
832
832
|
this.contentToRename.set(null);
|
|
833
833
|
}
|
|
834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
835
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.
|
|
834
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: RenameModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
835
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.8", type: RenameModalComponent, isStandalone: true, selector: "abp-rename-modal", inputs: { contentToRename: { classPropertyName: "contentToRename", publicName: "contentToRename", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { contentToRename: "contentToRenameChange", contentRenamed: "contentRenamed", contentToRenameChange: "contentToRenameChange" }, providers: [RenameModalService], viewQueries: [{ propertyName: "renameFileInputRef", first: true, predicate: ["renameFileInput"], descendants: true, isSignal: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<abp-file-management-modal title=\"Rename\" formName=\"renameForm\" [parent]=\"self\">\r\n <form [formGroup]=\"form\" (keyup.enter)=\"save()\" validateOnSubmit>\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],[formArray],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: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
836
836
|
}
|
|
837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: RenameModalComponent, decorators: [{
|
|
838
838
|
type: Component,
|
|
839
839
|
args: [{ selector: 'abp-rename-modal', changeDetection: ChangeDetectionStrategy.OnPush, providers: [RenameModalService], imports: [
|
|
840
840
|
FormsModule,
|
|
@@ -872,8 +872,8 @@ class ShareFileModalComponent extends BaseModalComponent {
|
|
|
872
872
|
const { shared } = this.contentToShare();
|
|
873
873
|
this.form.patchValue({ enableFileShare: shared });
|
|
874
874
|
}
|
|
875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
876
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
875
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ShareFileModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
876
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: ShareFileModalComponent, isStandalone: true, selector: "abp-share-file-modal", inputs: { contentToShare: { classPropertyName: "contentToShare", publicName: "contentToShare", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
877
877
|
<abp-file-management-modal
|
|
878
878
|
title="ShareFile"
|
|
879
879
|
[parent]="self"
|
|
@@ -902,7 +902,7 @@ class ShareFileModalComponent extends BaseModalComponent {
|
|
|
902
902
|
</abp-file-management-modal>
|
|
903
903
|
`, isInline: true, dependencies: [{ kind: "component", type: BaseModalComponent, selector: "abp-file-management-modal", inputs: ["title", "titleLocalizationParams", "size", "formName", "visible", "parent"], outputs: ["visibleChange", "contentSaved"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],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" }] }); }
|
|
904
904
|
}
|
|
905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
905
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ShareFileModalComponent, decorators: [{
|
|
906
906
|
type: Component,
|
|
907
907
|
args: [{
|
|
908
908
|
selector: 'abp-share-file-modal',
|
|
@@ -1034,15 +1034,15 @@ class FileManagementFolderContentComponent {
|
|
|
1034
1034
|
this.shareModalOpen = true;
|
|
1035
1035
|
this.contentToShare = withContent;
|
|
1036
1036
|
}
|
|
1037
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1038
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1037
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementFolderContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1038
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: FileManagementFolderContentComponent, isStandalone: true, selector: "abp-file-management-folder-content", outputs: { contentUpdate: "contentUpdate" }, providers: [
|
|
1039
1039
|
{
|
|
1040
1040
|
provide: EXTENSIONS_IDENTIFIER,
|
|
1041
1041
|
useValue: "FileManagement.FolderContentComponent" /* eFileManagementComponents.FolderContent */,
|
|
1042
1042
|
},
|
|
1043
1043
|
], ngImport: i0, template: "@if (content$ | async; as data) {\r\n <abp-extensible-table [list]=\"list\" [data]=\"data.items\" [recordsTotal]=\"data.totalCount\" />\r\n\r\n <abp-rename-modal\r\n [(visible)]=\"renameModalOpen\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentSaved)=\"onContentSaved()\"\r\n />\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 />\r\n\r\n @defer (when contentToShare) {\r\n <abp-share-file-modal\r\n [(visible)]=\"shareModalOpen\"\r\n (contentSaved)=\"onContentSaved()\"\r\n [contentToShare]=\"contentToShare\"\r\n />\r\n }\r\n\r\n @if (permissionsModalVisible && permissionTarget) {\r\n <abp-resource-permission-management\r\n [(visible)]=\"permissionsModalVisible\"\r\n [resourceName]=\"permissionTarget.resourceName\"\r\n [resourceKey]=\"permissionTarget.id\"\r\n [resourceDisplayName]=\"permissionTarget.name\"\r\n />\r\n }\r\n}\r\n", dependencies: [{ kind: "ngmodule", type: NgbTooltipModule }, { kind: "component", type: ExtensibleTableComponent, selector: "abp-extensible-table", inputs: ["actionsText", "data", "list", "recordsTotal", "actionsColumnWidth", "actionsTemplate", "selectable", "selectionType", "selected", "infiniteScroll", "isLoading", "scrollThreshold", "tableHeight", "rowDetailTemplate", "rowDetailHeight"], outputs: ["tableActivate", "selectionChange", "loadMore", "rowDetailToggle"], exportAs: ["abpExtensibleTable"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange", "contentRenamed"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "component", type: ResourcePermissionManagementComponent, selector: "abp-resource-permission-management", inputs: ["resourceName", "resourceKey", "resourceDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpResourcePermissionManagement"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, deferBlockDependencies: [() => [ShareFileModalComponent]] }); }
|
|
1044
1044
|
}
|
|
1045
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementFolderContentComponent, decorators: [{
|
|
1046
1046
|
type: Component,
|
|
1047
1047
|
args: [{ selector: 'abp-file-management-folder-content', providers: [
|
|
1048
1048
|
{
|
|
@@ -1244,8 +1244,8 @@ class FileNameValueResolverComponent {
|
|
|
1244
1244
|
hasViewPermission(value) {
|
|
1245
1245
|
return this.hasFilePermission || Boolean(value.record.canView);
|
|
1246
1246
|
}
|
|
1247
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1248
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileNameValueResolverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1248
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: FileNameValueResolverComponent, isStandalone: true, selector: "abp-file-name-value-resolver", ngImport: i0, template: `
|
|
1249
1249
|
@if (value$ | async; as value) {
|
|
1250
1250
|
<span [class.pointer]="canInteract(value)" (click)="handleClick(value)">
|
|
1251
1251
|
<span [innerHTML]="value.iconHtml"></span>
|
|
@@ -1262,7 +1262,7 @@ class FileNameValueResolverComponent {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }] }); }
|
|
1264
1264
|
}
|
|
1265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileNameValueResolverComponent, decorators: [{
|
|
1266
1266
|
type: Component,
|
|
1267
1267
|
args: [{
|
|
1268
1268
|
selector: 'abp-file-name-value-resolver',
|
|
@@ -1621,10 +1621,10 @@ class UploadService {
|
|
|
1621
1621
|
this.uppy?.close();
|
|
1622
1622
|
this.subscriptionService.closeAll();
|
|
1623
1623
|
}
|
|
1624
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1625
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1624
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1625
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: UploadService }); }
|
|
1626
1626
|
}
|
|
1627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: UploadService, decorators: [{
|
|
1628
1628
|
type: Injectable
|
|
1629
1629
|
}] });
|
|
1630
1630
|
|
|
@@ -1685,10 +1685,10 @@ class FileManagementButtonsComponent {
|
|
|
1685
1685
|
}));
|
|
1686
1686
|
this.subscriptionService.addOne(canAddToCurrentDirectory$);
|
|
1687
1687
|
}
|
|
1688
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1689
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1688
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1689
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: FileManagementButtonsComponent, isStandalone: true, selector: "abp-file-management-buttons", ngImport: i0, template: "<abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateFile\"\r\n [buttonId]=\"buttonId\"\r\n iconClass=\"fa fa-upload me-2\"\r\n buttonClass=\"btn btn-primary mb-2\"\r\n>\r\n {{ 'FileManagement::UploadFiles' | abpLocalization }}\r\n</abp-button>\r\n\r\n@if (canCreateDirectory) {\r\n <abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateDirectory\"\r\n iconClass=\"fa fa-folder-plus me-2\"\r\n buttonClass=\"btn btn-outline-primary mb-4\"\r\n (click)=\"folderCreateModal = true\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </abp-button>\r\n}\r\n\r\n<abp-create-folder-modal [(visible)]=\"folderCreateModal\" />\r\n", dependencies: [{ kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1690
1690
|
}
|
|
1691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementButtonsComponent, decorators: [{
|
|
1692
1692
|
type: Component,
|
|
1693
1693
|
args: [{ selector: 'abp-file-management-buttons', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [LocalizationPipe, CreateFolderModalComponent, ButtonComponent], template: "<abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateFile\"\r\n [buttonId]=\"buttonId\"\r\n iconClass=\"fa fa-upload me-2\"\r\n buttonClass=\"btn btn-primary mb-2\"\r\n>\r\n {{ 'FileManagement::UploadFiles' | abpLocalization }}\r\n</abp-button>\r\n\r\n@if (canCreateDirectory) {\r\n <abp-button\r\n class=\"d-grid\"\r\n [class.d-none]=\"!canCreateDirectory\"\r\n iconClass=\"fa fa-folder-plus me-2\"\r\n buttonClass=\"btn btn-outline-primary mb-4\"\r\n (click)=\"folderCreateModal = true\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </abp-button>\r\n}\r\n\r\n<abp-create-folder-modal [(visible)]=\"folderCreateModal\" />\r\n" }]
|
|
1694
1694
|
}] });
|
|
@@ -1812,10 +1812,10 @@ class FileManagementDirectoryTreeComponent {
|
|
|
1812
1812
|
canDelete(folder) {
|
|
1813
1813
|
return this.hasDirectoryDeletePermission || Boolean(folder?.canDelete);
|
|
1814
1814
|
}
|
|
1815
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1816
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1816
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: FileManagementDirectoryTreeComponent, isStandalone: true, selector: "abp-file-management-directory-tree", providers: [SubscriptionService], viewQueries: [{ propertyName: "tree", first: true, predicate: TreeComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div>\r\n @if (directories) {\r\n <abp-tree\r\n [(nodes)]=\"directories\"\r\n [(expandedKeys)]=\"service.extendedKeys\"\r\n [draggable]=\"true\"\r\n (dropOver)=\"onDrop($event)\"\r\n (selectedNodeChange)=\"onNodeClick($event)\"\r\n (nzExpandChange)=\"onExpandedKeysChange($event)\"\r\n [selectedNode]=\"selectedNode\"\r\n >\r\n <ng-template abp-tree-expanded-icon-template let-node let-origin=\"origin\">\r\n <i\r\n class=\"far\"\r\n [class.fa-plus-square]=\"!node.isExpanded && origin?.entity?.hasChildren\"\r\n [class.fa-minus-square]=\"node.isExpanded && node.children.length\"\r\n ></i>\r\n </ng-template>\r\n\r\n <ng-template abp-tree-node-template let-node>\r\n <i class=\"fa fa-folder text-primary me-2\" aria-hidden=\"true\"></i>\r\n @if (node.origin.entity.isRoot) {\r\n {{ 'FileManagement::AllFiles' | abpLocalization }}\r\n } @else {\r\n {{ node.title }}\r\n }\r\n </ng-template>\r\n\r\n <ng-template #menu let-node>\r\n @if (canCreate(node.origin.entity)) {\r\n <li\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onCreate(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::CreateFolder' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && canRename(node.origin.entity)) {\r\n <li\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onRename(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Rename' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && canMove(node.origin.entity)) {\r\n <li\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onMove(node)\"\r\n >\r\n {{ 'FileManagement::Move' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && canDelete(node.origin.entity)) {\r\n <li\r\n class=\"pointer\"\r\n ngbDropdownItem\r\n (click)=\"onDelete(node.origin.entity)\"\r\n >\r\n {{ 'FileManagement::Delete' | abpLocalization }}\r\n </li>\r\n }\r\n @if (node.origin.entity.id !== rootId && hasDirectoryManagePermissionsPermission) {\r\n <li class=\"pointer\" ngbDropdownItem (click)=\"onManagePermissions(node.origin.entity)\">\r\n {{ 'FileManagement::Permissions' | abpLocalization }}\r\n </li>\r\n }\r\n </ng-template>\r\n </abp-tree>\r\n }\r\n</div>\r\n\r\n<abp-create-folder-modal [(visible)]=\"createModalVisible\" [parentId]=\"createModalParentId\" />\r\n\r\n<abp-rename-modal\r\n [(visible)]=\"renameModalVisible\"\r\n [(contentToRename)]=\"contentToRename\"\r\n (contentRenamed)=\"onContentRenamed($event)\"\r\n/>\r\n\r\n<abp-move-file-modal\r\n [(visible)]=\"moveModalVisible\"\r\n (contentSaved)=\"afterFolderMoved()\"\r\n [fileToMove]=\"folderToMove\"\r\n [oldParentId]=\"parentOfFolderToMove\"\r\n/>\r\n\r\n@if (permissionsModalVisible && permissionTarget) {\r\n <abp-resource-permission-management\r\n [(visible)]=\"permissionsModalVisible\"\r\n resourceName=\"Volo.FileManagement.DirectoryDescriptor\"\r\n [resourceKey]=\"permissionTarget.id\"\r\n [resourceDisplayName]=\"permissionTarget.name\"\r\n />\r\n}\r\n", dependencies: [{ kind: "directive", type: ExpandedIconTemplateDirective, selector: "[abpTreeExpandedIconTemplate],[abp-tree-expanded-icon-template]" }, { kind: "directive", type: TreeNodeTemplateDirective, selector: "[abpTreeNodeTemplate],[abp-tree-node-template]" }, { kind: "directive", type: NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["tabindex", "disabled"] }, { kind: "component", type: CreateFolderModalComponent, selector: "abp-create-folder-modal", inputs: ["parentId"] }, { kind: "component", type: RenameModalComponent, selector: "abp-rename-modal", inputs: ["contentToRename"], outputs: ["contentToRenameChange", "contentRenamed"] }, { kind: "component", type: MoveFileModalComponent, selector: "abp-move-file-modal", inputs: ["fileToMove", "oldParentId"] }, { kind: "component", type: ResourcePermissionManagementComponent, selector: "abp-resource-permission-management", inputs: ["resourceName", "resourceKey", "resourceDisplayName", "visible"], outputs: ["visibleChange"], exportAs: ["abpResourcePermissionManagement"] }, { kind: "component", type: TreeComponent, selector: "abp-tree", inputs: ["noAnimation", "draggable", "checkable", "checkStrictly", "checkedKeys", "nodes", "expandedKeys", "selectedNode", "changeCheckboxWithNode", "isNodeSelected", "beforeDrop"], outputs: ["checkedKeysChange", "expandedKeysChange", "selectedNodeChange", "dropOver", "nzExpandChange"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1817
1817
|
}
|
|
1818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementDirectoryTreeComponent, decorators: [{
|
|
1819
1819
|
type: Component,
|
|
1820
1820
|
args: [{ selector: 'abp-file-management-directory-tree', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SubscriptionService], imports: [
|
|
1821
1821
|
ExpandedIconTemplateDirective,
|
|
@@ -1841,10 +1841,10 @@ class FileManagementFolderFilterComponent {
|
|
|
1841
1841
|
this.navigator.goUpFolder();
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1845
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1844
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementFolderFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1845
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", 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: "component", type: ButtonComponent, selector: "abp-button", inputs: ["buttonId", "buttonClass", "buttonType", "formName", "iconClass", "loading", "disabled", "attributes"], outputs: ["click", "focus", "blur", "abpClick", "abpFocus", "abpBlur"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1846
1846
|
}
|
|
1847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1847
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementFolderFilterComponent, decorators: [{
|
|
1848
1848
|
type: Component,
|
|
1849
1849
|
args: [{ selector: 'abp-file-management-folder-filter', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, LocalizationPipe, ButtonComponent], 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" }]
|
|
1850
1850
|
}] });
|
|
@@ -1857,10 +1857,10 @@ class FileManagementFolderPanelComponent {
|
|
|
1857
1857
|
this.contentUpdate = output();
|
|
1858
1858
|
this.updateStream.requestStorageSizeRefresh();
|
|
1859
1859
|
}
|
|
1860
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1861
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1860
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementFolderPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1861
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: FileManagementFolderPanelComponent, isStandalone: true, selector: "abp-file-management-folder-panel", outputs: { contentUpdate: "contentUpdate" }, providers: [ListService], ngImport: i0, template: "<div class=\"row mb-3\">\r\n <div class=\"col\">\r\n <abp-file-management-breadcrumb\r\n [navigatedFolders]=\"navigator.navigatedFolderPath$ | async\"\r\n (breadcrumbClick)=\"navigator.goToFolder($event)\"\r\n />\r\n </div>\r\n</div>\r\n\r\n<abp-file-management-folder-filter />\r\n<abp-file-management-folder-content (contentUpdate)=\"contentUpdate.emit($event)\" />\r\n\r\n@let storageSizeInfo = updateStream.storageSizeInfo$ | async;\r\n@if (storageSizeInfo) {\r\n @let percentage = (storageSizeInfo.totalUsedSize / storageSizeInfo.maxStorageSize) * 100;\r\n @let clampedPercentage = percentage > 100 ? 100 : percentage;\r\n\r\n <div class=\"storage-info-card\">\r\n <div class=\"storage-text\">\r\n <i class=\"fas fa-hdd\"></i>\r\n <span>{{\r\n 'FileManagement::StorageSizeUsage'\r\n | abpLocalization: [storageSizeInfo.formattedUsedSize, storageSizeInfo.formattedMaxSize]\r\n }}</span>\r\n </div>\r\n <div class=\"storage-progress-bar\">\r\n <div\r\n class=\"storage-progress-fill\"\r\n [class]=\"{ 'storage-warning': percentage >= 75, 'storage-danger': percentage >= 90 }\"\r\n [style.width.%]=\"clampedPercentage\"\r\n ></div>\r\n </div>\r\n <div class=\"storage-details\">\r\n <span class=\"storage-percentage\">{{ clampedPercentage.toFixed(1) }}%</span>\r\n <span>\r\n @if (storageSizeInfo.availableSize > 0) {\r\n {{\r\n 'FileManagement::Available' | abpLocalization\r\n }}: {{ storageSizeInfo.formattedAvailableSize }}\r\n } @else {\r\n {{ 'FileManagement::Full' | abpLocalization }}\r\n }\r\n </span>\r\n </div>\r\n </div>\r\n}\r\n", styles: [".storage-info-card{background-color:rgba(var(--bs-light-rgb),.5);border-radius:8px;padding:12px 16px;border:1px solid rgba(var(--bs-border-color),.8)}.storage-info-card .storage-text{font-weight:600;font-size:.875rem;color:var(--bs-dark);margin-bottom:8px;display:flex;align-items:center;gap:8px}.storage-info-card .storage-text i{color:var(--bs-primary)}.storage-info-card .storage-text .storage-usage{font-weight:500;color:var(--bs-dark)}.storage-info-card .storage-progress-bar{height:8px;background-color:var(--bs-gray-300);border-radius:4px;overflow:hidden;position:relative}.storage-info-card .storage-progress-bar .storage-progress-fill{height:100%;background:linear-gradient(90deg,var(--bs-primary) 0%,var(--bs-info) 100%);border-radius:4px;transition:width .3s ease}.storage-info-card .storage-progress-bar .storage-progress-fill.storage-warning{background:linear-gradient(90deg,var(--bs-warning) 0%,var(--bs-orange) 100%)}.storage-info-card .storage-progress-bar .storage-progress-fill.storage-danger{background:linear-gradient(90deg,var(--bs-danger) 0%,var(--bs-danger) 100%)}.storage-info-card .storage-details{font-size:.75rem;color:var(--bs-dark);margin-top:6px;display:flex;justify-content:space-between;letter-spacing:.02em}.storage-info-card .storage-details .storage-percentage{font-weight:500}.storage-info-simple{font-size:.875rem;color:var(--bs-dark);display:flex;align-items:center;gap:8px;padding:8px 12px;background-color:var(--bs-light);border-radius:6px;border:1px solid var(--bs-border-color)}.storage-info-simple i{color:var(--bs-info)}.storage-info-simple .storage-size{font-weight:500;color:var(--bs-dark)}\n"], dependencies: [{ kind: "component", type: FileManagementBreadcrumbComponent, selector: "abp-file-management-breadcrumb", inputs: ["rootBreadcrumbName", "navigatedFolders"], outputs: ["breadcrumbClick"] }, { kind: "component", type: FileManagementFolderFilterComponent, selector: "abp-file-management-folder-filter" }, { kind: "component", type: FileManagementFolderContentComponent, selector: "abp-file-management-folder-content", outputs: ["contentUpdate"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1862
1862
|
}
|
|
1863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementFolderPanelComponent, decorators: [{
|
|
1864
1864
|
type: Component,
|
|
1865
1865
|
args: [{ selector: 'abp-file-management-folder-panel', changeDetection: ChangeDetectionStrategy.OnPush, providers: [ListService], imports: [
|
|
1866
1866
|
FileManagementBreadcrumbComponent,
|
|
@@ -1879,8 +1879,8 @@ class FileManagementComponent {
|
|
|
1879
1879
|
ngOnInit() {
|
|
1880
1880
|
this.directory.updateDirectories(null);
|
|
1881
1881
|
}
|
|
1882
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1883
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1883
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: FileManagementComponent, isStandalone: true, selector: "abp-file-management", providers: [
|
|
1884
1884
|
DeleteService,
|
|
1885
1885
|
DownloadService,
|
|
1886
1886
|
DirectoryTreeService,
|
|
@@ -1894,7 +1894,7 @@ class FileManagementComponent {
|
|
|
1894
1894
|
},
|
|
1895
1895
|
], ngImport: i0, template: "<abp-page\r\n [title]=\"'FileManagement::Menu:FileManagement' | abpLocalization\"\r\n [toolbar]=\"currentContent\"\r\n>\r\n <div class=\"card\">\r\n <div class=\"card-body z-index-0\">\r\n <div class=\"row\">\r\n <div class=\"col-12 col-md-4 col-lg-3 col\">\r\n <div class=\"p-lg-3 p-md-0 mb-4\">\r\n <abp-file-management-buttons></abp-file-management-buttons>\r\n <abp-file-management-directory-tree></abp-file-management-directory-tree>\r\n </div>\r\n </div>\r\n <div class=\"col-12 col-md-8 col-lg-9 col\">\r\n <div class=\"p-lg-3 p-md-0\">\r\n <abp-file-management-folder-panel\r\n (contentUpdate)=\"currentContent = $event\"\r\n ></abp-file-management-folder-panel>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</abp-page>\r\n", dependencies: [{ kind: "component", type: PageComponent, selector: "abp-page", inputs: ["title", "toolbar", "breadcrumb"] }, { kind: "component", type: FileManagementButtonsComponent, selector: "abp-file-management-buttons" }, { kind: "component", type: FileManagementDirectoryTreeComponent, selector: "abp-file-management-directory-tree" }, { kind: "component", type: FileManagementFolderPanelComponent, selector: "abp-file-management-folder-panel", outputs: ["contentUpdate"] }, { kind: "pipe", type: LocalizationPipe, name: "abpLocalization" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1896
1896
|
}
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementComponent, decorators: [{
|
|
1898
1898
|
type: Component,
|
|
1899
1899
|
args: [{ selector: 'abp-file-management', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
1900
1900
|
DeleteService,
|
|
@@ -1927,10 +1927,10 @@ class FileManagementGuard {
|
|
|
1927
1927
|
canActivate() {
|
|
1928
1928
|
return this.fileManagementFeatures.pipe(map(features => features.enable));
|
|
1929
1929
|
}
|
|
1930
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1931
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1931
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementGuard }); }
|
|
1932
1932
|
}
|
|
1933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementGuard, decorators: [{
|
|
1934
1934
|
type: Injectable
|
|
1935
1935
|
}] });
|
|
1936
1936
|
const fileManagementGuard = () => {
|
|
@@ -1969,11 +1969,11 @@ const routes = [
|
|
|
1969
1969
|
},
|
|
1970
1970
|
];
|
|
1971
1971
|
class FileManagementRoutingModule {
|
|
1972
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1973
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
1974
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
1972
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1973
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: FileManagementRoutingModule, imports: [i1$2.RouterModule], exports: [RouterModule] }); }
|
|
1974
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] }); }
|
|
1975
1975
|
}
|
|
1976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementRoutingModule, decorators: [{
|
|
1977
1977
|
type: NgModule,
|
|
1978
1978
|
args: [{
|
|
1979
1979
|
imports: [RouterModule.forChild(routes)],
|
|
@@ -2006,10 +2006,10 @@ class FileManagementInitializer {
|
|
|
2006
2006
|
mergeWithDefaultProps(extensions.entityProps, DEFAULT_FILE_MANAGEMENT_ENTITY_PROPS, objectExtensionContributors.prop, propContributors);
|
|
2007
2007
|
}), map(() => true));
|
|
2008
2008
|
}
|
|
2009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2010
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2009
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementInitializer, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2010
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementInitializer }); }
|
|
2011
2011
|
}
|
|
2012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementInitializer, decorators: [{
|
|
2013
2013
|
type: Injectable
|
|
2014
2014
|
}] });
|
|
2015
2015
|
|
|
@@ -2060,8 +2060,8 @@ class FileManagementModule {
|
|
|
2060
2060
|
static forLazy(options = {}) {
|
|
2061
2061
|
return new LazyModuleFactory(FileManagementModule.forChild(options));
|
|
2062
2062
|
}
|
|
2063
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2064
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2063
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2064
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
|
|
2065
2065
|
ThemeSharedModule,
|
|
2066
2066
|
TreeModule,
|
|
2067
2067
|
FileManagementRoutingModule,
|
|
@@ -2087,7 +2087,7 @@ class FileManagementModule {
|
|
|
2087
2087
|
FileManagementFolderFilterComponent,
|
|
2088
2088
|
FileManagementFolderPanelComponent,
|
|
2089
2089
|
FileNameValueResolverComponent] }); }
|
|
2090
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2090
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementModule, imports: [CoreModule,
|
|
2091
2091
|
ThemeSharedModule,
|
|
2092
2092
|
TreeModule,
|
|
2093
2093
|
FileManagementRoutingModule,
|
|
@@ -2101,7 +2101,7 @@ class FileManagementModule {
|
|
|
2101
2101
|
FileManagementFolderFilterComponent,
|
|
2102
2102
|
FileManagementFolderPanelComponent, modals] }); }
|
|
2103
2103
|
}
|
|
2104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FileManagementModule, decorators: [{
|
|
2105
2105
|
type: NgModule,
|
|
2106
2106
|
args: [{
|
|
2107
2107
|
imports: [
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volo/abp.ng.file-management",
|
|
3
|
-
"version": "10.3.0
|
|
3
|
+
"version": "10.3.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@abp/ng.components": "~10.3.0
|
|
6
|
-
"@abp/ng.permission-management": "~10.3.0
|
|
5
|
+
"@abp/ng.components": "~10.3.0",
|
|
6
|
+
"@abp/ng.permission-management": "~10.3.0",
|
|
7
7
|
"@uppy/core": "^3.0.0",
|
|
8
8
|
"@uppy/dashboard": "^3.0.0",
|
|
9
9
|
"@uppy/xhr-upload": "^3.0.0",
|
|
10
10
|
"tslib": "^2.0.0"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@abp/ng.core": ">=10.3.0
|
|
14
|
-
"@abp/ng.theme.shared": ">=10.3.0
|
|
13
|
+
"@abp/ng.core": ">=10.3.0",
|
|
14
|
+
"@abp/ng.theme.shared": ">=10.3.0"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|